ch-admin-api-client-typescript 2.2.4 → 2.2.12
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 +1854 -177
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1938 -143
- package/package.json +1 -1
- package/src/api.ts +2750 -267
package/src/api.ts
CHANGED
|
@@ -1652,6 +1652,19 @@ export interface BookingsModel {
|
|
|
1652
1652
|
*/
|
|
1653
1653
|
'metaData'?: PagedListMetaData;
|
|
1654
1654
|
}
|
|
1655
|
+
/**
|
|
1656
|
+
*
|
|
1657
|
+
* @export
|
|
1658
|
+
* @interface ChangeEmailCommand
|
|
1659
|
+
*/
|
|
1660
|
+
export interface ChangeEmailCommand {
|
|
1661
|
+
/**
|
|
1662
|
+
*
|
|
1663
|
+
* @type {string}
|
|
1664
|
+
* @memberof ChangeEmailCommand
|
|
1665
|
+
*/
|
|
1666
|
+
'email'?: string | null;
|
|
1667
|
+
}
|
|
1655
1668
|
/**
|
|
1656
1669
|
*
|
|
1657
1670
|
* @export
|
|
@@ -1825,6 +1838,19 @@ export interface CommunicationUserTokenModel {
|
|
|
1825
1838
|
*/
|
|
1826
1839
|
'gateway'?: string | null;
|
|
1827
1840
|
}
|
|
1841
|
+
/**
|
|
1842
|
+
*
|
|
1843
|
+
* @export
|
|
1844
|
+
* @interface ConfirmEmailCommand
|
|
1845
|
+
*/
|
|
1846
|
+
export interface ConfirmEmailCommand {
|
|
1847
|
+
/**
|
|
1848
|
+
*
|
|
1849
|
+
* @type {string}
|
|
1850
|
+
* @memberof ConfirmEmailCommand
|
|
1851
|
+
*/
|
|
1852
|
+
'code'?: string | null;
|
|
1853
|
+
}
|
|
1828
1854
|
/**
|
|
1829
1855
|
*
|
|
1830
1856
|
* @export
|
|
@@ -4085,6 +4111,91 @@ export interface CreateHospitalSpecialtyCommand {
|
|
|
4085
4111
|
*/
|
|
4086
4112
|
'order'?: number;
|
|
4087
4113
|
}
|
|
4114
|
+
/**
|
|
4115
|
+
*
|
|
4116
|
+
* @export
|
|
4117
|
+
* @interface CreateManagerCommand
|
|
4118
|
+
*/
|
|
4119
|
+
export interface CreateManagerCommand {
|
|
4120
|
+
/**
|
|
4121
|
+
*
|
|
4122
|
+
* @type {string}
|
|
4123
|
+
* @memberof CreateManagerCommand
|
|
4124
|
+
*/
|
|
4125
|
+
'firstName'?: string | null;
|
|
4126
|
+
/**
|
|
4127
|
+
*
|
|
4128
|
+
* @type {string}
|
|
4129
|
+
* @memberof CreateManagerCommand
|
|
4130
|
+
*/
|
|
4131
|
+
'lastName'?: string | null;
|
|
4132
|
+
/**
|
|
4133
|
+
*
|
|
4134
|
+
* @type {string}
|
|
4135
|
+
* @memberof CreateManagerCommand
|
|
4136
|
+
*/
|
|
4137
|
+
'phone'?: string | null;
|
|
4138
|
+
/**
|
|
4139
|
+
*
|
|
4140
|
+
* @type {string}
|
|
4141
|
+
* @memberof CreateManagerCommand
|
|
4142
|
+
*/
|
|
4143
|
+
'photo'?: string | null;
|
|
4144
|
+
/**
|
|
4145
|
+
*
|
|
4146
|
+
* @type {string}
|
|
4147
|
+
* @memberof CreateManagerCommand
|
|
4148
|
+
*/
|
|
4149
|
+
'photoThumbnail'?: string | null;
|
|
4150
|
+
/**
|
|
4151
|
+
*
|
|
4152
|
+
* @type {Gender}
|
|
4153
|
+
* @memberof CreateManagerCommand
|
|
4154
|
+
*/
|
|
4155
|
+
'gender'?: Gender;
|
|
4156
|
+
/**
|
|
4157
|
+
*
|
|
4158
|
+
* @type {Date}
|
|
4159
|
+
* @memberof CreateManagerCommand
|
|
4160
|
+
*/
|
|
4161
|
+
'dateOfBirth'?: Date | null;
|
|
4162
|
+
/**
|
|
4163
|
+
*
|
|
4164
|
+
* @type {Array<MediaModel>}
|
|
4165
|
+
* @memberof CreateManagerCommand
|
|
4166
|
+
*/
|
|
4167
|
+
'medias'?: Array<MediaModel> | null;
|
|
4168
|
+
/**
|
|
4169
|
+
*
|
|
4170
|
+
* @type {Array<UserLanguageModel>}
|
|
4171
|
+
* @memberof CreateManagerCommand
|
|
4172
|
+
*/
|
|
4173
|
+
'languages'?: Array<UserLanguageModel> | null;
|
|
4174
|
+
/**
|
|
4175
|
+
*
|
|
4176
|
+
* @type {Array<UserLocationModel>}
|
|
4177
|
+
* @memberof CreateManagerCommand
|
|
4178
|
+
*/
|
|
4179
|
+
'locations'?: Array<UserLocationModel> | null;
|
|
4180
|
+
/**
|
|
4181
|
+
*
|
|
4182
|
+
* @type {string}
|
|
4183
|
+
* @memberof CreateManagerCommand
|
|
4184
|
+
*/
|
|
4185
|
+
'userName'?: string | null;
|
|
4186
|
+
/**
|
|
4187
|
+
*
|
|
4188
|
+
* @type {string}
|
|
4189
|
+
* @memberof CreateManagerCommand
|
|
4190
|
+
*/
|
|
4191
|
+
'email'?: string | null;
|
|
4192
|
+
/**
|
|
4193
|
+
*
|
|
4194
|
+
* @type {string}
|
|
4195
|
+
* @memberof CreateManagerCommand
|
|
4196
|
+
*/
|
|
4197
|
+
'hospitalId'?: string;
|
|
4198
|
+
}
|
|
4088
4199
|
/**
|
|
4089
4200
|
*
|
|
4090
4201
|
* @export
|
|
@@ -4122,6 +4233,74 @@ export interface CreateMediaCommand {
|
|
|
4122
4233
|
*/
|
|
4123
4234
|
'order'?: number;
|
|
4124
4235
|
}
|
|
4236
|
+
/**
|
|
4237
|
+
*
|
|
4238
|
+
* @export
|
|
4239
|
+
* @interface CreatePlanCommand
|
|
4240
|
+
*/
|
|
4241
|
+
export interface CreatePlanCommand {
|
|
4242
|
+
/**
|
|
4243
|
+
*
|
|
4244
|
+
* @type {string}
|
|
4245
|
+
* @memberof CreatePlanCommand
|
|
4246
|
+
*/
|
|
4247
|
+
'name'?: string | null;
|
|
4248
|
+
/**
|
|
4249
|
+
*
|
|
4250
|
+
* @type {number}
|
|
4251
|
+
* @memberof CreatePlanCommand
|
|
4252
|
+
*/
|
|
4253
|
+
'memberLimit'?: number;
|
|
4254
|
+
/**
|
|
4255
|
+
*
|
|
4256
|
+
* @type {number}
|
|
4257
|
+
* @memberof CreatePlanCommand
|
|
4258
|
+
*/
|
|
4259
|
+
'unitPrice'?: number;
|
|
4260
|
+
/**
|
|
4261
|
+
*
|
|
4262
|
+
* @type {string}
|
|
4263
|
+
* @memberof CreatePlanCommand
|
|
4264
|
+
*/
|
|
4265
|
+
'stripePriceId'?: string | null;
|
|
4266
|
+
/**
|
|
4267
|
+
*
|
|
4268
|
+
* @type {RecurringInterval}
|
|
4269
|
+
* @memberof CreatePlanCommand
|
|
4270
|
+
*/
|
|
4271
|
+
'interval'?: RecurringInterval;
|
|
4272
|
+
/**
|
|
4273
|
+
*
|
|
4274
|
+
* @type {boolean}
|
|
4275
|
+
* @memberof CreatePlanCommand
|
|
4276
|
+
*/
|
|
4277
|
+
'isActive'?: boolean;
|
|
4278
|
+
/**
|
|
4279
|
+
*
|
|
4280
|
+
* @type {number}
|
|
4281
|
+
* @memberof CreatePlanCommand
|
|
4282
|
+
*/
|
|
4283
|
+
'order'?: number;
|
|
4284
|
+
}
|
|
4285
|
+
/**
|
|
4286
|
+
*
|
|
4287
|
+
* @export
|
|
4288
|
+
* @interface CreatePlanHospitalCommand
|
|
4289
|
+
*/
|
|
4290
|
+
export interface CreatePlanHospitalCommand {
|
|
4291
|
+
/**
|
|
4292
|
+
*
|
|
4293
|
+
* @type {string}
|
|
4294
|
+
* @memberof CreatePlanHospitalCommand
|
|
4295
|
+
*/
|
|
4296
|
+
'hospitalId'?: string;
|
|
4297
|
+
/**
|
|
4298
|
+
*
|
|
4299
|
+
* @type {number}
|
|
4300
|
+
* @memberof CreatePlanHospitalCommand
|
|
4301
|
+
*/
|
|
4302
|
+
'order'?: number;
|
|
4303
|
+
}
|
|
4125
4304
|
/**
|
|
4126
4305
|
*
|
|
4127
4306
|
* @export
|
|
@@ -8747,157 +8926,358 @@ export interface ManagerAffiliation {
|
|
|
8747
8926
|
/**
|
|
8748
8927
|
*
|
|
8749
8928
|
* @export
|
|
8750
|
-
* @
|
|
8751
|
-
*/
|
|
8752
|
-
|
|
8753
|
-
export enum MarketingType {
|
|
8754
|
-
Both = 'Both',
|
|
8755
|
-
GeneralHealth = 'GeneralHealth',
|
|
8756
|
-
Beauty = 'Beauty'
|
|
8757
|
-
}
|
|
8758
|
-
|
|
8759
|
-
/**
|
|
8760
|
-
*
|
|
8761
|
-
* @export
|
|
8762
|
-
* @interface Media
|
|
8929
|
+
* @interface ManagerAffiliationModel
|
|
8763
8930
|
*/
|
|
8764
|
-
export interface
|
|
8931
|
+
export interface ManagerAffiliationModel {
|
|
8765
8932
|
/**
|
|
8766
8933
|
*
|
|
8767
8934
|
* @type {string}
|
|
8768
|
-
* @memberof
|
|
8935
|
+
* @memberof ManagerAffiliationModel
|
|
8769
8936
|
*/
|
|
8770
|
-
'
|
|
8937
|
+
'hospitalId'?: string;
|
|
8771
8938
|
/**
|
|
8772
8939
|
*
|
|
8773
|
-
* @type {
|
|
8774
|
-
* @memberof
|
|
8940
|
+
* @type {string}
|
|
8941
|
+
* @memberof ManagerAffiliationModel
|
|
8775
8942
|
*/
|
|
8776
|
-
'
|
|
8943
|
+
'hospitalName'?: string | null;
|
|
8777
8944
|
/**
|
|
8778
8945
|
*
|
|
8779
8946
|
* @type {string}
|
|
8780
|
-
* @memberof
|
|
8947
|
+
* @memberof ManagerAffiliationModel
|
|
8781
8948
|
*/
|
|
8782
|
-
'
|
|
8949
|
+
'hospitalSlug'?: string | null;
|
|
8783
8950
|
/**
|
|
8784
8951
|
*
|
|
8785
8952
|
* @type {string}
|
|
8786
|
-
* @memberof
|
|
8953
|
+
* @memberof ManagerAffiliationModel
|
|
8787
8954
|
*/
|
|
8788
|
-
'
|
|
8955
|
+
'countryId'?: string;
|
|
8789
8956
|
/**
|
|
8790
8957
|
*
|
|
8791
8958
|
* @type {string}
|
|
8792
|
-
* @memberof
|
|
8959
|
+
* @memberof ManagerAffiliationModel
|
|
8793
8960
|
*/
|
|
8794
|
-
'
|
|
8961
|
+
'countryName'?: string | null;
|
|
8795
8962
|
/**
|
|
8796
8963
|
*
|
|
8797
|
-
* @type {
|
|
8798
|
-
* @memberof
|
|
8964
|
+
* @type {string}
|
|
8965
|
+
* @memberof ManagerAffiliationModel
|
|
8799
8966
|
*/
|
|
8800
|
-
'
|
|
8967
|
+
'stateName'?: string | null;
|
|
8801
8968
|
/**
|
|
8802
8969
|
*
|
|
8803
|
-
* @type {
|
|
8804
|
-
* @memberof
|
|
8970
|
+
* @type {string}
|
|
8971
|
+
* @memberof ManagerAffiliationModel
|
|
8805
8972
|
*/
|
|
8806
|
-
'
|
|
8973
|
+
'cityName'?: string | null;
|
|
8807
8974
|
/**
|
|
8808
8975
|
*
|
|
8809
|
-
* @type {
|
|
8810
|
-
* @memberof
|
|
8976
|
+
* @type {string}
|
|
8977
|
+
* @memberof ManagerAffiliationModel
|
|
8811
8978
|
*/
|
|
8812
|
-
'
|
|
8979
|
+
'managerId'?: string;
|
|
8980
|
+
/**
|
|
8981
|
+
*
|
|
8982
|
+
* @type {string}
|
|
8983
|
+
* @memberof ManagerAffiliationModel
|
|
8984
|
+
*/
|
|
8985
|
+
'managerName'?: string | null;
|
|
8813
8986
|
}
|
|
8814
8987
|
/**
|
|
8815
8988
|
*
|
|
8816
8989
|
* @export
|
|
8817
|
-
* @interface
|
|
8990
|
+
* @interface ManagerModel
|
|
8818
8991
|
*/
|
|
8819
|
-
export interface
|
|
8992
|
+
export interface ManagerModel {
|
|
8820
8993
|
/**
|
|
8821
8994
|
*
|
|
8822
8995
|
* @type {string}
|
|
8823
|
-
* @memberof
|
|
8996
|
+
* @memberof ManagerModel
|
|
8824
8997
|
*/
|
|
8825
8998
|
'id'?: string;
|
|
8826
8999
|
/**
|
|
8827
9000
|
*
|
|
8828
|
-
* @type {
|
|
8829
|
-
* @memberof
|
|
9001
|
+
* @type {string}
|
|
9002
|
+
* @memberof ManagerModel
|
|
8830
9003
|
*/
|
|
8831
|
-
'
|
|
9004
|
+
'userName'?: string | null;
|
|
8832
9005
|
/**
|
|
8833
9006
|
*
|
|
8834
9007
|
* @type {string}
|
|
8835
|
-
* @memberof
|
|
9008
|
+
* @memberof ManagerModel
|
|
8836
9009
|
*/
|
|
8837
|
-
'
|
|
9010
|
+
'firstName'?: string | null;
|
|
8838
9011
|
/**
|
|
8839
9012
|
*
|
|
8840
9013
|
* @type {string}
|
|
8841
|
-
* @memberof
|
|
9014
|
+
* @memberof ManagerModel
|
|
8842
9015
|
*/
|
|
8843
|
-
'
|
|
9016
|
+
'lastName'?: string | null;
|
|
8844
9017
|
/**
|
|
8845
9018
|
*
|
|
8846
9019
|
* @type {string}
|
|
8847
|
-
* @memberof
|
|
9020
|
+
* @memberof ManagerModel
|
|
8848
9021
|
*/
|
|
8849
|
-
'
|
|
9022
|
+
'fullname'?: string | null;
|
|
8850
9023
|
/**
|
|
8851
9024
|
*
|
|
8852
|
-
* @type {
|
|
8853
|
-
* @memberof
|
|
9025
|
+
* @type {string}
|
|
9026
|
+
* @memberof ManagerModel
|
|
8854
9027
|
*/
|
|
8855
|
-
'
|
|
8856
|
-
}
|
|
8857
|
-
/**
|
|
8858
|
-
*
|
|
8859
|
-
* @export
|
|
8860
|
-
* @enum {string}
|
|
8861
|
-
*/
|
|
8862
|
-
|
|
8863
|
-
export enum MediaType {
|
|
8864
|
-
Photo = 'Photo',
|
|
8865
|
-
Video = 'Video',
|
|
8866
|
-
Youtube = 'Youtube',
|
|
8867
|
-
Document = 'Document'
|
|
8868
|
-
}
|
|
8869
|
-
|
|
8870
|
-
/**
|
|
8871
|
-
*
|
|
8872
|
-
* @export
|
|
8873
|
-
* @interface MediasModel
|
|
8874
|
-
*/
|
|
8875
|
-
export interface MediasModel {
|
|
9028
|
+
'phone'?: string | null;
|
|
8876
9029
|
/**
|
|
8877
9030
|
*
|
|
8878
|
-
* @type {
|
|
8879
|
-
* @memberof
|
|
9031
|
+
* @type {string}
|
|
9032
|
+
* @memberof ManagerModel
|
|
8880
9033
|
*/
|
|
8881
|
-
'
|
|
9034
|
+
'email'?: string | null;
|
|
8882
9035
|
/**
|
|
8883
9036
|
*
|
|
8884
|
-
* @type {
|
|
8885
|
-
* @memberof
|
|
9037
|
+
* @type {string}
|
|
9038
|
+
* @memberof ManagerModel
|
|
8886
9039
|
*/
|
|
8887
|
-
'
|
|
8888
|
-
}
|
|
8889
|
-
/**
|
|
8890
|
-
*
|
|
8891
|
-
* @export
|
|
8892
|
-
* @interface Membership
|
|
8893
|
-
*/
|
|
8894
|
-
export interface Membership {
|
|
9040
|
+
'photo'?: string | null;
|
|
8895
9041
|
/**
|
|
8896
9042
|
*
|
|
8897
9043
|
* @type {string}
|
|
8898
|
-
* @memberof
|
|
9044
|
+
* @memberof ManagerModel
|
|
8899
9045
|
*/
|
|
8900
|
-
'
|
|
9046
|
+
'photoThumbnail'?: string | null;
|
|
9047
|
+
/**
|
|
9048
|
+
*
|
|
9049
|
+
* @type {Gender}
|
|
9050
|
+
* @memberof ManagerModel
|
|
9051
|
+
*/
|
|
9052
|
+
'gender'?: Gender;
|
|
9053
|
+
/**
|
|
9054
|
+
*
|
|
9055
|
+
* @type {Date}
|
|
9056
|
+
* @memberof ManagerModel
|
|
9057
|
+
*/
|
|
9058
|
+
'dateOfBirth'?: Date | null;
|
|
9059
|
+
/**
|
|
9060
|
+
*
|
|
9061
|
+
* @type {string}
|
|
9062
|
+
* @memberof ManagerModel
|
|
9063
|
+
*/
|
|
9064
|
+
'timeZone'?: string | null;
|
|
9065
|
+
/**
|
|
9066
|
+
*
|
|
9067
|
+
* @type {string}
|
|
9068
|
+
* @memberof ManagerModel
|
|
9069
|
+
*/
|
|
9070
|
+
'communicationUserId'?: string | null;
|
|
9071
|
+
/**
|
|
9072
|
+
*
|
|
9073
|
+
* @type {AuditableEntity}
|
|
9074
|
+
* @memberof ManagerModel
|
|
9075
|
+
*/
|
|
9076
|
+
'auditableEntity'?: AuditableEntity;
|
|
9077
|
+
/**
|
|
9078
|
+
*
|
|
9079
|
+
* @type {string}
|
|
9080
|
+
* @memberof ManagerModel
|
|
9081
|
+
*/
|
|
9082
|
+
'userType'?: string | null;
|
|
9083
|
+
/**
|
|
9084
|
+
*
|
|
9085
|
+
* @type {Array<UserLanguageModel>}
|
|
9086
|
+
* @memberof ManagerModel
|
|
9087
|
+
*/
|
|
9088
|
+
'languages'?: Array<UserLanguageModel> | null;
|
|
9089
|
+
/**
|
|
9090
|
+
*
|
|
9091
|
+
* @type {Array<UserLocationModel>}
|
|
9092
|
+
* @memberof ManagerModel
|
|
9093
|
+
*/
|
|
9094
|
+
'locations'?: Array<UserLocationModel> | null;
|
|
9095
|
+
/**
|
|
9096
|
+
*
|
|
9097
|
+
* @type {string}
|
|
9098
|
+
* @memberof ManagerModel
|
|
9099
|
+
*/
|
|
9100
|
+
'hospitalId'?: string;
|
|
9101
|
+
/**
|
|
9102
|
+
*
|
|
9103
|
+
* @type {Array<ManagerAffiliationModel>}
|
|
9104
|
+
* @memberof ManagerModel
|
|
9105
|
+
*/
|
|
9106
|
+
'affiliations'?: Array<ManagerAffiliationModel> | null;
|
|
9107
|
+
}
|
|
9108
|
+
/**
|
|
9109
|
+
*
|
|
9110
|
+
* @export
|
|
9111
|
+
* @interface ManagersModel
|
|
9112
|
+
*/
|
|
9113
|
+
export interface ManagersModel {
|
|
9114
|
+
/**
|
|
9115
|
+
*
|
|
9116
|
+
* @type {Array<UserItemModel>}
|
|
9117
|
+
* @memberof ManagersModel
|
|
9118
|
+
*/
|
|
9119
|
+
'items'?: Array<UserItemModel> | null;
|
|
9120
|
+
/**
|
|
9121
|
+
*
|
|
9122
|
+
* @type {PagedListMetaData}
|
|
9123
|
+
* @memberof ManagersModel
|
|
9124
|
+
*/
|
|
9125
|
+
'metaData'?: PagedListMetaData;
|
|
9126
|
+
}
|
|
9127
|
+
/**
|
|
9128
|
+
*
|
|
9129
|
+
* @export
|
|
9130
|
+
* @enum {string}
|
|
9131
|
+
*/
|
|
9132
|
+
|
|
9133
|
+
export enum MarketingType {
|
|
9134
|
+
Both = 'Both',
|
|
9135
|
+
GeneralHealth = 'GeneralHealth',
|
|
9136
|
+
Beauty = 'Beauty'
|
|
9137
|
+
}
|
|
9138
|
+
|
|
9139
|
+
/**
|
|
9140
|
+
*
|
|
9141
|
+
* @export
|
|
9142
|
+
* @interface Media
|
|
9143
|
+
*/
|
|
9144
|
+
export interface Media {
|
|
9145
|
+
/**
|
|
9146
|
+
*
|
|
9147
|
+
* @type {string}
|
|
9148
|
+
* @memberof Media
|
|
9149
|
+
*/
|
|
9150
|
+
'id'?: string;
|
|
9151
|
+
/**
|
|
9152
|
+
*
|
|
9153
|
+
* @type {MediaType}
|
|
9154
|
+
* @memberof Media
|
|
9155
|
+
*/
|
|
9156
|
+
'mediaType'?: MediaType;
|
|
9157
|
+
/**
|
|
9158
|
+
*
|
|
9159
|
+
* @type {string}
|
|
9160
|
+
* @memberof Media
|
|
9161
|
+
*/
|
|
9162
|
+
'url'?: string | null;
|
|
9163
|
+
/**
|
|
9164
|
+
*
|
|
9165
|
+
* @type {string}
|
|
9166
|
+
* @memberof Media
|
|
9167
|
+
*/
|
|
9168
|
+
'thumbnailUrl'?: string | null;
|
|
9169
|
+
/**
|
|
9170
|
+
*
|
|
9171
|
+
* @type {string}
|
|
9172
|
+
* @memberof Media
|
|
9173
|
+
*/
|
|
9174
|
+
'description'?: string | null;
|
|
9175
|
+
/**
|
|
9176
|
+
*
|
|
9177
|
+
* @type {number}
|
|
9178
|
+
* @memberof Media
|
|
9179
|
+
*/
|
|
9180
|
+
'height'?: number;
|
|
9181
|
+
/**
|
|
9182
|
+
*
|
|
9183
|
+
* @type {number}
|
|
9184
|
+
* @memberof Media
|
|
9185
|
+
*/
|
|
9186
|
+
'width'?: number;
|
|
9187
|
+
/**
|
|
9188
|
+
*
|
|
9189
|
+
* @type {number}
|
|
9190
|
+
* @memberof Media
|
|
9191
|
+
*/
|
|
9192
|
+
'order'?: number;
|
|
9193
|
+
}
|
|
9194
|
+
/**
|
|
9195
|
+
*
|
|
9196
|
+
* @export
|
|
9197
|
+
* @interface MediaModel
|
|
9198
|
+
*/
|
|
9199
|
+
export interface MediaModel {
|
|
9200
|
+
/**
|
|
9201
|
+
*
|
|
9202
|
+
* @type {string}
|
|
9203
|
+
* @memberof MediaModel
|
|
9204
|
+
*/
|
|
9205
|
+
'id'?: string;
|
|
9206
|
+
/**
|
|
9207
|
+
*
|
|
9208
|
+
* @type {MediaType}
|
|
9209
|
+
* @memberof MediaModel
|
|
9210
|
+
*/
|
|
9211
|
+
'mediaType'?: MediaType;
|
|
9212
|
+
/**
|
|
9213
|
+
*
|
|
9214
|
+
* @type {string}
|
|
9215
|
+
* @memberof MediaModel
|
|
9216
|
+
*/
|
|
9217
|
+
'url'?: string | null;
|
|
9218
|
+
/**
|
|
9219
|
+
*
|
|
9220
|
+
* @type {string}
|
|
9221
|
+
* @memberof MediaModel
|
|
9222
|
+
*/
|
|
9223
|
+
'thumbnailUrl'?: string | null;
|
|
9224
|
+
/**
|
|
9225
|
+
*
|
|
9226
|
+
* @type {string}
|
|
9227
|
+
* @memberof MediaModel
|
|
9228
|
+
*/
|
|
9229
|
+
'description'?: string | null;
|
|
9230
|
+
/**
|
|
9231
|
+
*
|
|
9232
|
+
* @type {number}
|
|
9233
|
+
* @memberof MediaModel
|
|
9234
|
+
*/
|
|
9235
|
+
'order'?: number;
|
|
9236
|
+
}
|
|
9237
|
+
/**
|
|
9238
|
+
*
|
|
9239
|
+
* @export
|
|
9240
|
+
* @enum {string}
|
|
9241
|
+
*/
|
|
9242
|
+
|
|
9243
|
+
export enum MediaType {
|
|
9244
|
+
Photo = 'Photo',
|
|
9245
|
+
Video = 'Video',
|
|
9246
|
+
Youtube = 'Youtube',
|
|
9247
|
+
Document = 'Document'
|
|
9248
|
+
}
|
|
9249
|
+
|
|
9250
|
+
/**
|
|
9251
|
+
*
|
|
9252
|
+
* @export
|
|
9253
|
+
* @interface MediasModel
|
|
9254
|
+
*/
|
|
9255
|
+
export interface MediasModel {
|
|
9256
|
+
/**
|
|
9257
|
+
*
|
|
9258
|
+
* @type {Array<MediaModel>}
|
|
9259
|
+
* @memberof MediasModel
|
|
9260
|
+
*/
|
|
9261
|
+
'items'?: Array<MediaModel> | null;
|
|
9262
|
+
/**
|
|
9263
|
+
*
|
|
9264
|
+
* @type {PagedListMetaData}
|
|
9265
|
+
* @memberof MediasModel
|
|
9266
|
+
*/
|
|
9267
|
+
'metaData'?: PagedListMetaData;
|
|
9268
|
+
}
|
|
9269
|
+
/**
|
|
9270
|
+
*
|
|
9271
|
+
* @export
|
|
9272
|
+
* @interface Membership
|
|
9273
|
+
*/
|
|
9274
|
+
export interface Membership {
|
|
9275
|
+
/**
|
|
9276
|
+
*
|
|
9277
|
+
* @type {string}
|
|
9278
|
+
* @memberof Membership
|
|
9279
|
+
*/
|
|
9280
|
+
'id'?: string;
|
|
8901
9281
|
/**
|
|
8902
9282
|
*
|
|
8903
9283
|
* @type {string}
|
|
@@ -9592,63 +9972,285 @@ export interface Plan {
|
|
|
9592
9972
|
/**
|
|
9593
9973
|
*
|
|
9594
9974
|
* @export
|
|
9595
|
-
* @
|
|
9596
|
-
*/
|
|
9597
|
-
|
|
9598
|
-
export enum Platform {
|
|
9599
|
-
Web = 'Web',
|
|
9600
|
-
IOs = 'iOS',
|
|
9601
|
-
Android = 'Android'
|
|
9602
|
-
}
|
|
9603
|
-
|
|
9604
|
-
/**
|
|
9605
|
-
*
|
|
9606
|
-
* @export
|
|
9607
|
-
* @interface ProblemDetails
|
|
9975
|
+
* @interface PlanHospitalItemModel
|
|
9608
9976
|
*/
|
|
9609
|
-
export interface
|
|
9610
|
-
[key: string]: any | any;
|
|
9611
|
-
|
|
9977
|
+
export interface PlanHospitalItemModel {
|
|
9612
9978
|
/**
|
|
9613
9979
|
*
|
|
9614
9980
|
* @type {string}
|
|
9615
|
-
* @memberof
|
|
9981
|
+
* @memberof PlanHospitalItemModel
|
|
9616
9982
|
*/
|
|
9617
|
-
'
|
|
9983
|
+
'planId'?: string;
|
|
9618
9984
|
/**
|
|
9619
9985
|
*
|
|
9620
9986
|
* @type {string}
|
|
9621
|
-
* @memberof
|
|
9987
|
+
* @memberof PlanHospitalItemModel
|
|
9622
9988
|
*/
|
|
9623
|
-
'
|
|
9989
|
+
'planName'?: string | null;
|
|
9624
9990
|
/**
|
|
9625
9991
|
*
|
|
9626
|
-
* @type {
|
|
9627
|
-
* @memberof
|
|
9992
|
+
* @type {string}
|
|
9993
|
+
* @memberof PlanHospitalItemModel
|
|
9628
9994
|
*/
|
|
9629
|
-
'
|
|
9995
|
+
'hospitalId'?: string;
|
|
9630
9996
|
/**
|
|
9631
9997
|
*
|
|
9632
9998
|
* @type {string}
|
|
9633
|
-
* @memberof
|
|
9999
|
+
* @memberof PlanHospitalItemModel
|
|
9634
10000
|
*/
|
|
9635
|
-
'
|
|
10001
|
+
'hospitalName'?: string | null;
|
|
9636
10002
|
/**
|
|
9637
10003
|
*
|
|
9638
|
-
* @type {
|
|
9639
|
-
* @memberof
|
|
10004
|
+
* @type {number}
|
|
10005
|
+
* @memberof PlanHospitalItemModel
|
|
9640
10006
|
*/
|
|
9641
|
-
'
|
|
10007
|
+
'order'?: number;
|
|
9642
10008
|
}
|
|
9643
10009
|
/**
|
|
9644
10010
|
*
|
|
9645
10011
|
* @export
|
|
9646
|
-
* @
|
|
10012
|
+
* @interface PlanHospitalModel
|
|
9647
10013
|
*/
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
|
-
|
|
9651
|
-
|
|
10014
|
+
export interface PlanHospitalModel {
|
|
10015
|
+
/**
|
|
10016
|
+
*
|
|
10017
|
+
* @type {string}
|
|
10018
|
+
* @memberof PlanHospitalModel
|
|
10019
|
+
*/
|
|
10020
|
+
'planId'?: string;
|
|
10021
|
+
/**
|
|
10022
|
+
*
|
|
10023
|
+
* @type {string}
|
|
10024
|
+
* @memberof PlanHospitalModel
|
|
10025
|
+
*/
|
|
10026
|
+
'planName'?: string | null;
|
|
10027
|
+
/**
|
|
10028
|
+
*
|
|
10029
|
+
* @type {string}
|
|
10030
|
+
* @memberof PlanHospitalModel
|
|
10031
|
+
*/
|
|
10032
|
+
'hospitalId'?: string;
|
|
10033
|
+
/**
|
|
10034
|
+
*
|
|
10035
|
+
* @type {string}
|
|
10036
|
+
* @memberof PlanHospitalModel
|
|
10037
|
+
*/
|
|
10038
|
+
'hospitalName'?: string | null;
|
|
10039
|
+
/**
|
|
10040
|
+
*
|
|
10041
|
+
* @type {number}
|
|
10042
|
+
* @memberof PlanHospitalModel
|
|
10043
|
+
*/
|
|
10044
|
+
'order'?: number;
|
|
10045
|
+
}
|
|
10046
|
+
/**
|
|
10047
|
+
*
|
|
10048
|
+
* @export
|
|
10049
|
+
* @interface PlanHospitalsModel
|
|
10050
|
+
*/
|
|
10051
|
+
export interface PlanHospitalsModel {
|
|
10052
|
+
/**
|
|
10053
|
+
*
|
|
10054
|
+
* @type {Array<PlanHospitalItemModel>}
|
|
10055
|
+
* @memberof PlanHospitalsModel
|
|
10056
|
+
*/
|
|
10057
|
+
'items'?: Array<PlanHospitalItemModel> | null;
|
|
10058
|
+
/**
|
|
10059
|
+
*
|
|
10060
|
+
* @type {PagedListMetaData}
|
|
10061
|
+
* @memberof PlanHospitalsModel
|
|
10062
|
+
*/
|
|
10063
|
+
'metaData'?: PagedListMetaData;
|
|
10064
|
+
}
|
|
10065
|
+
/**
|
|
10066
|
+
*
|
|
10067
|
+
* @export
|
|
10068
|
+
* @interface PlanItemModel
|
|
10069
|
+
*/
|
|
10070
|
+
export interface PlanItemModel {
|
|
10071
|
+
/**
|
|
10072
|
+
*
|
|
10073
|
+
* @type {string}
|
|
10074
|
+
* @memberof PlanItemModel
|
|
10075
|
+
*/
|
|
10076
|
+
'id'?: string;
|
|
10077
|
+
/**
|
|
10078
|
+
*
|
|
10079
|
+
* @type {string}
|
|
10080
|
+
* @memberof PlanItemModel
|
|
10081
|
+
*/
|
|
10082
|
+
'name'?: string | null;
|
|
10083
|
+
/**
|
|
10084
|
+
*
|
|
10085
|
+
* @type {number}
|
|
10086
|
+
* @memberof PlanItemModel
|
|
10087
|
+
*/
|
|
10088
|
+
'memberLimit'?: number;
|
|
10089
|
+
/**
|
|
10090
|
+
*
|
|
10091
|
+
* @type {number}
|
|
10092
|
+
* @memberof PlanItemModel
|
|
10093
|
+
*/
|
|
10094
|
+
'unitPrice'?: number;
|
|
10095
|
+
/**
|
|
10096
|
+
*
|
|
10097
|
+
* @type {string}
|
|
10098
|
+
* @memberof PlanItemModel
|
|
10099
|
+
*/
|
|
10100
|
+
'stripePriceId'?: string | null;
|
|
10101
|
+
/**
|
|
10102
|
+
*
|
|
10103
|
+
* @type {RecurringInterval}
|
|
10104
|
+
* @memberof PlanItemModel
|
|
10105
|
+
*/
|
|
10106
|
+
'interval'?: RecurringInterval;
|
|
10107
|
+
/**
|
|
10108
|
+
*
|
|
10109
|
+
* @type {boolean}
|
|
10110
|
+
* @memberof PlanItemModel
|
|
10111
|
+
*/
|
|
10112
|
+
'isActive'?: boolean;
|
|
10113
|
+
/**
|
|
10114
|
+
*
|
|
10115
|
+
* @type {number}
|
|
10116
|
+
* @memberof PlanItemModel
|
|
10117
|
+
*/
|
|
10118
|
+
'order'?: number;
|
|
10119
|
+
}
|
|
10120
|
+
/**
|
|
10121
|
+
*
|
|
10122
|
+
* @export
|
|
10123
|
+
* @interface PlanModel
|
|
10124
|
+
*/
|
|
10125
|
+
export interface PlanModel {
|
|
10126
|
+
/**
|
|
10127
|
+
*
|
|
10128
|
+
* @type {string}
|
|
10129
|
+
* @memberof PlanModel
|
|
10130
|
+
*/
|
|
10131
|
+
'id'?: string;
|
|
10132
|
+
/**
|
|
10133
|
+
*
|
|
10134
|
+
* @type {string}
|
|
10135
|
+
* @memberof PlanModel
|
|
10136
|
+
*/
|
|
10137
|
+
'name'?: string | null;
|
|
10138
|
+
/**
|
|
10139
|
+
*
|
|
10140
|
+
* @type {number}
|
|
10141
|
+
* @memberof PlanModel
|
|
10142
|
+
*/
|
|
10143
|
+
'memberLimit'?: number;
|
|
10144
|
+
/**
|
|
10145
|
+
*
|
|
10146
|
+
* @type {number}
|
|
10147
|
+
* @memberof PlanModel
|
|
10148
|
+
*/
|
|
10149
|
+
'unitPrice'?: number;
|
|
10150
|
+
/**
|
|
10151
|
+
*
|
|
10152
|
+
* @type {string}
|
|
10153
|
+
* @memberof PlanModel
|
|
10154
|
+
*/
|
|
10155
|
+
'stripePriceId'?: string | null;
|
|
10156
|
+
/**
|
|
10157
|
+
*
|
|
10158
|
+
* @type {RecurringInterval}
|
|
10159
|
+
* @memberof PlanModel
|
|
10160
|
+
*/
|
|
10161
|
+
'interval'?: RecurringInterval;
|
|
10162
|
+
/**
|
|
10163
|
+
*
|
|
10164
|
+
* @type {boolean}
|
|
10165
|
+
* @memberof PlanModel
|
|
10166
|
+
*/
|
|
10167
|
+
'isActive'?: boolean;
|
|
10168
|
+
/**
|
|
10169
|
+
*
|
|
10170
|
+
* @type {number}
|
|
10171
|
+
* @memberof PlanModel
|
|
10172
|
+
*/
|
|
10173
|
+
'order'?: number;
|
|
10174
|
+
}
|
|
10175
|
+
/**
|
|
10176
|
+
*
|
|
10177
|
+
* @export
|
|
10178
|
+
* @interface PlansModel
|
|
10179
|
+
*/
|
|
10180
|
+
export interface PlansModel {
|
|
10181
|
+
/**
|
|
10182
|
+
*
|
|
10183
|
+
* @type {Array<PlanItemModel>}
|
|
10184
|
+
* @memberof PlansModel
|
|
10185
|
+
*/
|
|
10186
|
+
'items'?: Array<PlanItemModel> | null;
|
|
10187
|
+
/**
|
|
10188
|
+
*
|
|
10189
|
+
* @type {PagedListMetaData}
|
|
10190
|
+
* @memberof PlansModel
|
|
10191
|
+
*/
|
|
10192
|
+
'metaData'?: PagedListMetaData;
|
|
10193
|
+
}
|
|
10194
|
+
/**
|
|
10195
|
+
*
|
|
10196
|
+
* @export
|
|
10197
|
+
* @enum {string}
|
|
10198
|
+
*/
|
|
10199
|
+
|
|
10200
|
+
export enum Platform {
|
|
10201
|
+
Web = 'Web',
|
|
10202
|
+
IOs = 'iOS',
|
|
10203
|
+
Android = 'Android'
|
|
10204
|
+
}
|
|
10205
|
+
|
|
10206
|
+
/**
|
|
10207
|
+
*
|
|
10208
|
+
* @export
|
|
10209
|
+
* @interface ProblemDetails
|
|
10210
|
+
*/
|
|
10211
|
+
export interface ProblemDetails {
|
|
10212
|
+
[key: string]: any | any;
|
|
10213
|
+
|
|
10214
|
+
/**
|
|
10215
|
+
*
|
|
10216
|
+
* @type {string}
|
|
10217
|
+
* @memberof ProblemDetails
|
|
10218
|
+
*/
|
|
10219
|
+
'type'?: string | null;
|
|
10220
|
+
/**
|
|
10221
|
+
*
|
|
10222
|
+
* @type {string}
|
|
10223
|
+
* @memberof ProblemDetails
|
|
10224
|
+
*/
|
|
10225
|
+
'title'?: string | null;
|
|
10226
|
+
/**
|
|
10227
|
+
*
|
|
10228
|
+
* @type {number}
|
|
10229
|
+
* @memberof ProblemDetails
|
|
10230
|
+
*/
|
|
10231
|
+
'status'?: number | null;
|
|
10232
|
+
/**
|
|
10233
|
+
*
|
|
10234
|
+
* @type {string}
|
|
10235
|
+
* @memberof ProblemDetails
|
|
10236
|
+
*/
|
|
10237
|
+
'detail'?: string | null;
|
|
10238
|
+
/**
|
|
10239
|
+
*
|
|
10240
|
+
* @type {string}
|
|
10241
|
+
* @memberof ProblemDetails
|
|
10242
|
+
*/
|
|
10243
|
+
'instance'?: string | null;
|
|
10244
|
+
}
|
|
10245
|
+
/**
|
|
10246
|
+
*
|
|
10247
|
+
* @export
|
|
10248
|
+
* @enum {string}
|
|
10249
|
+
*/
|
|
10250
|
+
|
|
10251
|
+
export enum Procedure {
|
|
10252
|
+
Treatment = 'Treatment',
|
|
10253
|
+
Diagnostic = 'Diagnostic'
|
|
9652
10254
|
}
|
|
9653
10255
|
|
|
9654
10256
|
/**
|
|
@@ -11905,6 +12507,67 @@ export interface UpdateHospitalSpecialtyCommand {
|
|
|
11905
12507
|
*/
|
|
11906
12508
|
'order'?: number;
|
|
11907
12509
|
}
|
|
12510
|
+
/**
|
|
12511
|
+
*
|
|
12512
|
+
* @export
|
|
12513
|
+
* @interface UpdateManagerCommand
|
|
12514
|
+
*/
|
|
12515
|
+
export interface UpdateManagerCommand {
|
|
12516
|
+
/**
|
|
12517
|
+
*
|
|
12518
|
+
* @type {string}
|
|
12519
|
+
* @memberof UpdateManagerCommand
|
|
12520
|
+
*/
|
|
12521
|
+
'firstName'?: string | null;
|
|
12522
|
+
/**
|
|
12523
|
+
*
|
|
12524
|
+
* @type {string}
|
|
12525
|
+
* @memberof UpdateManagerCommand
|
|
12526
|
+
*/
|
|
12527
|
+
'lastName'?: string | null;
|
|
12528
|
+
/**
|
|
12529
|
+
*
|
|
12530
|
+
* @type {string}
|
|
12531
|
+
* @memberof UpdateManagerCommand
|
|
12532
|
+
*/
|
|
12533
|
+
'phone'?: string | null;
|
|
12534
|
+
/**
|
|
12535
|
+
*
|
|
12536
|
+
* @type {string}
|
|
12537
|
+
* @memberof UpdateManagerCommand
|
|
12538
|
+
*/
|
|
12539
|
+
'photo'?: string | null;
|
|
12540
|
+
/**
|
|
12541
|
+
*
|
|
12542
|
+
* @type {string}
|
|
12543
|
+
* @memberof UpdateManagerCommand
|
|
12544
|
+
*/
|
|
12545
|
+
'photoThumbnail'?: string | null;
|
|
12546
|
+
/**
|
|
12547
|
+
*
|
|
12548
|
+
* @type {Gender}
|
|
12549
|
+
* @memberof UpdateManagerCommand
|
|
12550
|
+
*/
|
|
12551
|
+
'gender'?: Gender;
|
|
12552
|
+
/**
|
|
12553
|
+
*
|
|
12554
|
+
* @type {Date}
|
|
12555
|
+
* @memberof UpdateManagerCommand
|
|
12556
|
+
*/
|
|
12557
|
+
'dateOfBirth'?: Date | null;
|
|
12558
|
+
/**
|
|
12559
|
+
*
|
|
12560
|
+
* @type {Array<UserLanguageModel>}
|
|
12561
|
+
* @memberof UpdateManagerCommand
|
|
12562
|
+
*/
|
|
12563
|
+
'languages'?: Array<UserLanguageModel> | null;
|
|
12564
|
+
/**
|
|
12565
|
+
*
|
|
12566
|
+
* @type {Array<UserLocationModel>}
|
|
12567
|
+
* @memberof UpdateManagerCommand
|
|
12568
|
+
*/
|
|
12569
|
+
'locations'?: Array<UserLocationModel> | null;
|
|
12570
|
+
}
|
|
11908
12571
|
/**
|
|
11909
12572
|
*
|
|
11910
12573
|
* @export
|
|
@@ -11945,15 +12608,77 @@ export interface UpdateMediaCommand {
|
|
|
11945
12608
|
/**
|
|
11946
12609
|
*
|
|
11947
12610
|
* @export
|
|
11948
|
-
* @interface
|
|
12611
|
+
* @interface UpdatePlanCommand
|
|
11949
12612
|
*/
|
|
11950
|
-
export interface
|
|
12613
|
+
export interface UpdatePlanCommand {
|
|
11951
12614
|
/**
|
|
11952
12615
|
*
|
|
11953
12616
|
* @type {string}
|
|
11954
|
-
* @memberof
|
|
12617
|
+
* @memberof UpdatePlanCommand
|
|
11955
12618
|
*/
|
|
11956
|
-
'
|
|
12619
|
+
'name'?: string | null;
|
|
12620
|
+
/**
|
|
12621
|
+
*
|
|
12622
|
+
* @type {number}
|
|
12623
|
+
* @memberof UpdatePlanCommand
|
|
12624
|
+
*/
|
|
12625
|
+
'memberLimit'?: number;
|
|
12626
|
+
/**
|
|
12627
|
+
*
|
|
12628
|
+
* @type {number}
|
|
12629
|
+
* @memberof UpdatePlanCommand
|
|
12630
|
+
*/
|
|
12631
|
+
'unitPrice'?: number;
|
|
12632
|
+
/**
|
|
12633
|
+
*
|
|
12634
|
+
* @type {string}
|
|
12635
|
+
* @memberof UpdatePlanCommand
|
|
12636
|
+
*/
|
|
12637
|
+
'stripePriceId'?: string | null;
|
|
12638
|
+
/**
|
|
12639
|
+
*
|
|
12640
|
+
* @type {RecurringInterval}
|
|
12641
|
+
* @memberof UpdatePlanCommand
|
|
12642
|
+
*/
|
|
12643
|
+
'interval'?: RecurringInterval;
|
|
12644
|
+
/**
|
|
12645
|
+
*
|
|
12646
|
+
* @type {boolean}
|
|
12647
|
+
* @memberof UpdatePlanCommand
|
|
12648
|
+
*/
|
|
12649
|
+
'isActive'?: boolean;
|
|
12650
|
+
/**
|
|
12651
|
+
*
|
|
12652
|
+
* @type {number}
|
|
12653
|
+
* @memberof UpdatePlanCommand
|
|
12654
|
+
*/
|
|
12655
|
+
'order'?: number;
|
|
12656
|
+
}
|
|
12657
|
+
/**
|
|
12658
|
+
*
|
|
12659
|
+
* @export
|
|
12660
|
+
* @interface UpdatePlanHospitalCommand
|
|
12661
|
+
*/
|
|
12662
|
+
export interface UpdatePlanHospitalCommand {
|
|
12663
|
+
/**
|
|
12664
|
+
*
|
|
12665
|
+
* @type {number}
|
|
12666
|
+
* @memberof UpdatePlanHospitalCommand
|
|
12667
|
+
*/
|
|
12668
|
+
'order'?: number;
|
|
12669
|
+
}
|
|
12670
|
+
/**
|
|
12671
|
+
*
|
|
12672
|
+
* @export
|
|
12673
|
+
* @interface UpdateServiceCategoryCommand
|
|
12674
|
+
*/
|
|
12675
|
+
export interface UpdateServiceCategoryCommand {
|
|
12676
|
+
/**
|
|
12677
|
+
*
|
|
12678
|
+
* @type {string}
|
|
12679
|
+
* @memberof UpdateServiceCategoryCommand
|
|
12680
|
+
*/
|
|
12681
|
+
'id'?: string;
|
|
11957
12682
|
/**
|
|
11958
12683
|
*
|
|
11959
12684
|
* @type {string}
|
|
@@ -12258,6 +12983,97 @@ export interface User {
|
|
|
12258
12983
|
*/
|
|
12259
12984
|
'auditableEntity'?: AuditableEntity;
|
|
12260
12985
|
}
|
|
12986
|
+
/**
|
|
12987
|
+
*
|
|
12988
|
+
* @export
|
|
12989
|
+
* @interface UserItemModel
|
|
12990
|
+
*/
|
|
12991
|
+
export interface UserItemModel {
|
|
12992
|
+
/**
|
|
12993
|
+
*
|
|
12994
|
+
* @type {string}
|
|
12995
|
+
* @memberof UserItemModel
|
|
12996
|
+
*/
|
|
12997
|
+
'id'?: string;
|
|
12998
|
+
/**
|
|
12999
|
+
*
|
|
13000
|
+
* @type {string}
|
|
13001
|
+
* @memberof UserItemModel
|
|
13002
|
+
*/
|
|
13003
|
+
'userName'?: string | null;
|
|
13004
|
+
/**
|
|
13005
|
+
*
|
|
13006
|
+
* @type {string}
|
|
13007
|
+
* @memberof UserItemModel
|
|
13008
|
+
*/
|
|
13009
|
+
'firstName'?: string | null;
|
|
13010
|
+
/**
|
|
13011
|
+
*
|
|
13012
|
+
* @type {string}
|
|
13013
|
+
* @memberof UserItemModel
|
|
13014
|
+
*/
|
|
13015
|
+
'lastName'?: string | null;
|
|
13016
|
+
/**
|
|
13017
|
+
*
|
|
13018
|
+
* @type {string}
|
|
13019
|
+
* @memberof UserItemModel
|
|
13020
|
+
*/
|
|
13021
|
+
'fullname'?: string | null;
|
|
13022
|
+
/**
|
|
13023
|
+
*
|
|
13024
|
+
* @type {string}
|
|
13025
|
+
* @memberof UserItemModel
|
|
13026
|
+
*/
|
|
13027
|
+
'phone'?: string | null;
|
|
13028
|
+
/**
|
|
13029
|
+
*
|
|
13030
|
+
* @type {string}
|
|
13031
|
+
* @memberof UserItemModel
|
|
13032
|
+
*/
|
|
13033
|
+
'email'?: string | null;
|
|
13034
|
+
/**
|
|
13035
|
+
*
|
|
13036
|
+
* @type {string}
|
|
13037
|
+
* @memberof UserItemModel
|
|
13038
|
+
*/
|
|
13039
|
+
'photo'?: string | null;
|
|
13040
|
+
/**
|
|
13041
|
+
*
|
|
13042
|
+
* @type {string}
|
|
13043
|
+
* @memberof UserItemModel
|
|
13044
|
+
*/
|
|
13045
|
+
'photoThumbnail'?: string | null;
|
|
13046
|
+
/**
|
|
13047
|
+
*
|
|
13048
|
+
* @type {Gender}
|
|
13049
|
+
* @memberof UserItemModel
|
|
13050
|
+
*/
|
|
13051
|
+
'gender'?: Gender;
|
|
13052
|
+
/**
|
|
13053
|
+
*
|
|
13054
|
+
* @type {Date}
|
|
13055
|
+
* @memberof UserItemModel
|
|
13056
|
+
*/
|
|
13057
|
+
'dateOfBirth'?: Date | null;
|
|
13058
|
+
/**
|
|
13059
|
+
*
|
|
13060
|
+
* @type {string}
|
|
13061
|
+
* @memberof UserItemModel
|
|
13062
|
+
*/
|
|
13063
|
+
'timeZone'?: string | null;
|
|
13064
|
+
/**
|
|
13065
|
+
*
|
|
13066
|
+
* @type {string}
|
|
13067
|
+
* @memberof UserItemModel
|
|
13068
|
+
*/
|
|
13069
|
+
'communicationUserId'?: string | null;
|
|
13070
|
+
/**
|
|
13071
|
+
*
|
|
13072
|
+
* @type {AuditableEntity}
|
|
13073
|
+
* @memberof UserItemModel
|
|
13074
|
+
*/
|
|
13075
|
+
'auditableEntity'?: AuditableEntity;
|
|
13076
|
+
}
|
|
12261
13077
|
/**
|
|
12262
13078
|
*
|
|
12263
13079
|
* @export
|
|
@@ -12429,6 +13245,115 @@ export enum UserLocationType {
|
|
|
12429
13245
|
BirthPlace = 'BirthPlace'
|
|
12430
13246
|
}
|
|
12431
13247
|
|
|
13248
|
+
/**
|
|
13249
|
+
*
|
|
13250
|
+
* @export
|
|
13251
|
+
* @interface UserModel
|
|
13252
|
+
*/
|
|
13253
|
+
export interface UserModel {
|
|
13254
|
+
/**
|
|
13255
|
+
*
|
|
13256
|
+
* @type {string}
|
|
13257
|
+
* @memberof UserModel
|
|
13258
|
+
*/
|
|
13259
|
+
'id'?: string;
|
|
13260
|
+
/**
|
|
13261
|
+
*
|
|
13262
|
+
* @type {string}
|
|
13263
|
+
* @memberof UserModel
|
|
13264
|
+
*/
|
|
13265
|
+
'userName'?: string | null;
|
|
13266
|
+
/**
|
|
13267
|
+
*
|
|
13268
|
+
* @type {string}
|
|
13269
|
+
* @memberof UserModel
|
|
13270
|
+
*/
|
|
13271
|
+
'firstName'?: string | null;
|
|
13272
|
+
/**
|
|
13273
|
+
*
|
|
13274
|
+
* @type {string}
|
|
13275
|
+
* @memberof UserModel
|
|
13276
|
+
*/
|
|
13277
|
+
'lastName'?: string | null;
|
|
13278
|
+
/**
|
|
13279
|
+
*
|
|
13280
|
+
* @type {string}
|
|
13281
|
+
* @memberof UserModel
|
|
13282
|
+
*/
|
|
13283
|
+
'fullname'?: string | null;
|
|
13284
|
+
/**
|
|
13285
|
+
*
|
|
13286
|
+
* @type {string}
|
|
13287
|
+
* @memberof UserModel
|
|
13288
|
+
*/
|
|
13289
|
+
'phone'?: string | null;
|
|
13290
|
+
/**
|
|
13291
|
+
*
|
|
13292
|
+
* @type {string}
|
|
13293
|
+
* @memberof UserModel
|
|
13294
|
+
*/
|
|
13295
|
+
'email'?: string | null;
|
|
13296
|
+
/**
|
|
13297
|
+
*
|
|
13298
|
+
* @type {string}
|
|
13299
|
+
* @memberof UserModel
|
|
13300
|
+
*/
|
|
13301
|
+
'photo'?: string | null;
|
|
13302
|
+
/**
|
|
13303
|
+
*
|
|
13304
|
+
* @type {string}
|
|
13305
|
+
* @memberof UserModel
|
|
13306
|
+
*/
|
|
13307
|
+
'photoThumbnail'?: string | null;
|
|
13308
|
+
/**
|
|
13309
|
+
*
|
|
13310
|
+
* @type {Gender}
|
|
13311
|
+
* @memberof UserModel
|
|
13312
|
+
*/
|
|
13313
|
+
'gender'?: Gender;
|
|
13314
|
+
/**
|
|
13315
|
+
*
|
|
13316
|
+
* @type {Date}
|
|
13317
|
+
* @memberof UserModel
|
|
13318
|
+
*/
|
|
13319
|
+
'dateOfBirth'?: Date | null;
|
|
13320
|
+
/**
|
|
13321
|
+
*
|
|
13322
|
+
* @type {string}
|
|
13323
|
+
* @memberof UserModel
|
|
13324
|
+
*/
|
|
13325
|
+
'timeZone'?: string | null;
|
|
13326
|
+
/**
|
|
13327
|
+
*
|
|
13328
|
+
* @type {string}
|
|
13329
|
+
* @memberof UserModel
|
|
13330
|
+
*/
|
|
13331
|
+
'communicationUserId'?: string | null;
|
|
13332
|
+
/**
|
|
13333
|
+
*
|
|
13334
|
+
* @type {AuditableEntity}
|
|
13335
|
+
* @memberof UserModel
|
|
13336
|
+
*/
|
|
13337
|
+
'auditableEntity'?: AuditableEntity;
|
|
13338
|
+
/**
|
|
13339
|
+
*
|
|
13340
|
+
* @type {string}
|
|
13341
|
+
* @memberof UserModel
|
|
13342
|
+
*/
|
|
13343
|
+
'userType'?: string | null;
|
|
13344
|
+
/**
|
|
13345
|
+
*
|
|
13346
|
+
* @type {Array<UserLanguageModel>}
|
|
13347
|
+
* @memberof UserModel
|
|
13348
|
+
*/
|
|
13349
|
+
'languages'?: Array<UserLanguageModel> | null;
|
|
13350
|
+
/**
|
|
13351
|
+
*
|
|
13352
|
+
* @type {Array<UserLocationModel>}
|
|
13353
|
+
* @memberof UserModel
|
|
13354
|
+
*/
|
|
13355
|
+
'locations'?: Array<UserLocationModel> | null;
|
|
13356
|
+
}
|
|
12432
13357
|
/**
|
|
12433
13358
|
*
|
|
12434
13359
|
* @export
|
|
@@ -20767,9 +21692,8 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20767
21692
|
*
|
|
20768
21693
|
* @summary Delete DoctorCertificate.
|
|
20769
21694
|
* @param {string} doctorId
|
|
20770
|
-
* @param {string} [doctorId2]
|
|
20771
|
-
* @param {string} [id]
|
|
20772
21695
|
* @param {string} [doctorName]
|
|
21696
|
+
* @param {string} [certificateId]
|
|
20773
21697
|
* @param {string} [certificate]
|
|
20774
21698
|
* @param {Date} [activeFrom]
|
|
20775
21699
|
* @param {Date} [activeTo]
|
|
@@ -20779,7 +21703,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20779
21703
|
* @param {*} [options] Override http request option.
|
|
20780
21704
|
* @throws {RequiredError}
|
|
20781
21705
|
*/
|
|
20782
|
-
apiV1DoctorsDoctorIdCertificatesGet: async (doctorId: string,
|
|
21706
|
+
apiV1DoctorsDoctorIdCertificatesGet: async (doctorId: string, doctorName?: string, certificateId?: string, certificate?: string, activeFrom?: Date, activeTo?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20783
21707
|
// verify required parameter 'doctorId' is not null or undefined
|
|
20784
21708
|
assertParamExists('apiV1DoctorsDoctorIdCertificatesGet', 'doctorId', doctorId)
|
|
20785
21709
|
const localVarPath = `/api/v1/doctors/{doctorId}/certificates`
|
|
@@ -20799,18 +21723,14 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20799
21723
|
// oauth required
|
|
20800
21724
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
20801
21725
|
|
|
20802
|
-
if (doctorId2 !== undefined) {
|
|
20803
|
-
localVarQueryParameter['DoctorId'] = doctorId2;
|
|
20804
|
-
}
|
|
20805
|
-
|
|
20806
|
-
if (id !== undefined) {
|
|
20807
|
-
localVarQueryParameter['Id'] = id;
|
|
20808
|
-
}
|
|
20809
|
-
|
|
20810
21726
|
if (doctorName !== undefined) {
|
|
20811
21727
|
localVarQueryParameter['DoctorName'] = doctorName;
|
|
20812
21728
|
}
|
|
20813
21729
|
|
|
21730
|
+
if (certificateId !== undefined) {
|
|
21731
|
+
localVarQueryParameter['CertificateId'] = certificateId;
|
|
21732
|
+
}
|
|
21733
|
+
|
|
20814
21734
|
if (certificate !== undefined) {
|
|
20815
21735
|
localVarQueryParameter['Certificate'] = certificate;
|
|
20816
21736
|
}
|
|
@@ -21066,8 +21986,8 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21066
21986
|
*
|
|
21067
21987
|
* @summary Get all DoctorEducations.
|
|
21068
21988
|
* @param {string} doctorId
|
|
21069
|
-
* @param {string} [doctorId2]
|
|
21070
21989
|
* @param {string} [doctorName]
|
|
21990
|
+
* @param {string} [educationId]
|
|
21071
21991
|
* @param {string} [institution]
|
|
21072
21992
|
* @param {string} [qualification]
|
|
21073
21993
|
* @param {Date} [graduationDate]
|
|
@@ -21077,7 +21997,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21077
21997
|
* @param {*} [options] Override http request option.
|
|
21078
21998
|
* @throws {RequiredError}
|
|
21079
21999
|
*/
|
|
21080
|
-
apiV1DoctorsDoctorIdEducationsGet: async (doctorId: string,
|
|
22000
|
+
apiV1DoctorsDoctorIdEducationsGet: async (doctorId: string, doctorName?: string, educationId?: string, institution?: string, qualification?: string, graduationDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21081
22001
|
// verify required parameter 'doctorId' is not null or undefined
|
|
21082
22002
|
assertParamExists('apiV1DoctorsDoctorIdEducationsGet', 'doctorId', doctorId)
|
|
21083
22003
|
const localVarPath = `/api/v1/doctors/{doctorId}/educations`
|
|
@@ -21097,14 +22017,14 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21097
22017
|
// oauth required
|
|
21098
22018
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
21099
22019
|
|
|
21100
|
-
if (doctorId2 !== undefined) {
|
|
21101
|
-
localVarQueryParameter['DoctorId'] = doctorId2;
|
|
21102
|
-
}
|
|
21103
|
-
|
|
21104
22020
|
if (doctorName !== undefined) {
|
|
21105
22021
|
localVarQueryParameter['DoctorName'] = doctorName;
|
|
21106
22022
|
}
|
|
21107
22023
|
|
|
22024
|
+
if (educationId !== undefined) {
|
|
22025
|
+
localVarQueryParameter['EducationId'] = educationId;
|
|
22026
|
+
}
|
|
22027
|
+
|
|
21108
22028
|
if (institution !== undefined) {
|
|
21109
22029
|
localVarQueryParameter['Institution'] = institution;
|
|
21110
22030
|
}
|
|
@@ -21470,9 +22390,8 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21470
22390
|
*
|
|
21471
22391
|
* @summary Get All DoctorPortfolios
|
|
21472
22392
|
* @param {string} doctorId
|
|
21473
|
-
* @param {string} [id]
|
|
21474
|
-
* @param {string} [doctorId2]
|
|
21475
22393
|
* @param {string} [doctorName]
|
|
22394
|
+
* @param {string} [portfolioId]
|
|
21476
22395
|
* @param {string} [name]
|
|
21477
22396
|
* @param {number} [page]
|
|
21478
22397
|
* @param {number} [limit]
|
|
@@ -21480,7 +22399,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21480
22399
|
* @param {*} [options] Override http request option.
|
|
21481
22400
|
* @throws {RequiredError}
|
|
21482
22401
|
*/
|
|
21483
|
-
apiV1DoctorsDoctorIdPortfoliosGet: async (doctorId: string,
|
|
22402
|
+
apiV1DoctorsDoctorIdPortfoliosGet: async (doctorId: string, doctorName?: string, portfolioId?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21484
22403
|
// verify required parameter 'doctorId' is not null or undefined
|
|
21485
22404
|
assertParamExists('apiV1DoctorsDoctorIdPortfoliosGet', 'doctorId', doctorId)
|
|
21486
22405
|
const localVarPath = `/api/v1/doctors/{doctorId}/portfolios`
|
|
@@ -21500,18 +22419,14 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21500
22419
|
// oauth required
|
|
21501
22420
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
21502
22421
|
|
|
21503
|
-
if (id !== undefined) {
|
|
21504
|
-
localVarQueryParameter['Id'] = id;
|
|
21505
|
-
}
|
|
21506
|
-
|
|
21507
|
-
if (doctorId2 !== undefined) {
|
|
21508
|
-
localVarQueryParameter['DoctorId'] = doctorId2;
|
|
21509
|
-
}
|
|
21510
|
-
|
|
21511
22422
|
if (doctorName !== undefined) {
|
|
21512
22423
|
localVarQueryParameter['DoctorName'] = doctorName;
|
|
21513
22424
|
}
|
|
21514
22425
|
|
|
22426
|
+
if (portfolioId !== undefined) {
|
|
22427
|
+
localVarQueryParameter['PortfolioId'] = portfolioId;
|
|
22428
|
+
}
|
|
22429
|
+
|
|
21515
22430
|
if (name !== undefined) {
|
|
21516
22431
|
localVarQueryParameter['Name'] = name;
|
|
21517
22432
|
}
|
|
@@ -22288,9 +23203,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22288
23203
|
*
|
|
22289
23204
|
* @summary Delete DoctorCertificate.
|
|
22290
23205
|
* @param {string} doctorId
|
|
22291
|
-
* @param {string} [doctorId2]
|
|
22292
|
-
* @param {string} [id]
|
|
22293
23206
|
* @param {string} [doctorName]
|
|
23207
|
+
* @param {string} [certificateId]
|
|
22294
23208
|
* @param {string} [certificate]
|
|
22295
23209
|
* @param {Date} [activeFrom]
|
|
22296
23210
|
* @param {Date} [activeTo]
|
|
@@ -22300,8 +23214,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22300
23214
|
* @param {*} [options] Override http request option.
|
|
22301
23215
|
* @throws {RequiredError}
|
|
22302
23216
|
*/
|
|
22303
|
-
async apiV1DoctorsDoctorIdCertificatesGet(doctorId: string,
|
|
22304
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdCertificatesGet(doctorId,
|
|
23217
|
+
async apiV1DoctorsDoctorIdCertificatesGet(doctorId: string, doctorName?: string, certificateId?: string, certificate?: string, activeFrom?: Date, activeTo?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorCertificatesModel>> {
|
|
23218
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options);
|
|
22305
23219
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22306
23220
|
},
|
|
22307
23221
|
/**
|
|
@@ -22368,8 +23282,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22368
23282
|
*
|
|
22369
23283
|
* @summary Get all DoctorEducations.
|
|
22370
23284
|
* @param {string} doctorId
|
|
22371
|
-
* @param {string} [doctorId2]
|
|
22372
23285
|
* @param {string} [doctorName]
|
|
23286
|
+
* @param {string} [educationId]
|
|
22373
23287
|
* @param {string} [institution]
|
|
22374
23288
|
* @param {string} [qualification]
|
|
22375
23289
|
* @param {Date} [graduationDate]
|
|
@@ -22379,8 +23293,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22379
23293
|
* @param {*} [options] Override http request option.
|
|
22380
23294
|
* @throws {RequiredError}
|
|
22381
23295
|
*/
|
|
22382
|
-
async apiV1DoctorsDoctorIdEducationsGet(doctorId: string,
|
|
22383
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdEducationsGet(doctorId,
|
|
23296
|
+
async apiV1DoctorsDoctorIdEducationsGet(doctorId: string, doctorName?: string, educationId?: string, institution?: string, qualification?: string, graduationDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorEducationsModel>> {
|
|
23297
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options);
|
|
22384
23298
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22385
23299
|
},
|
|
22386
23300
|
/**
|
|
@@ -22476,9 +23390,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22476
23390
|
*
|
|
22477
23391
|
* @summary Get All DoctorPortfolios
|
|
22478
23392
|
* @param {string} doctorId
|
|
22479
|
-
* @param {string} [id]
|
|
22480
|
-
* @param {string} [doctorId2]
|
|
22481
23393
|
* @param {string} [doctorName]
|
|
23394
|
+
* @param {string} [portfolioId]
|
|
22482
23395
|
* @param {string} [name]
|
|
22483
23396
|
* @param {number} [page]
|
|
22484
23397
|
* @param {number} [limit]
|
|
@@ -22486,8 +23399,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22486
23399
|
* @param {*} [options] Override http request option.
|
|
22487
23400
|
* @throws {RequiredError}
|
|
22488
23401
|
*/
|
|
22489
|
-
async apiV1DoctorsDoctorIdPortfoliosGet(doctorId: string,
|
|
22490
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdPortfoliosGet(doctorId,
|
|
23402
|
+
async apiV1DoctorsDoctorIdPortfoliosGet(doctorId: string, doctorName?: string, portfolioId?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorPortfoliosModel>> {
|
|
23403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdPortfoliosGet(doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options);
|
|
22491
23404
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22492
23405
|
},
|
|
22493
23406
|
/**
|
|
@@ -22653,7 +23566,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22653
23566
|
* @param {*} [options] Override http request option.
|
|
22654
23567
|
* @throws {RequiredError}
|
|
22655
23568
|
*/
|
|
22656
|
-
async apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
23569
|
+
async apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
22657
23570
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsPost(createDoctorCommand, options);
|
|
22658
23571
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22659
23572
|
},
|
|
@@ -22739,9 +23652,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22739
23652
|
*
|
|
22740
23653
|
* @summary Delete DoctorCertificate.
|
|
22741
23654
|
* @param {string} doctorId
|
|
22742
|
-
* @param {string} [doctorId2]
|
|
22743
|
-
* @param {string} [id]
|
|
22744
23655
|
* @param {string} [doctorName]
|
|
23656
|
+
* @param {string} [certificateId]
|
|
22745
23657
|
* @param {string} [certificate]
|
|
22746
23658
|
* @param {Date} [activeFrom]
|
|
22747
23659
|
* @param {Date} [activeTo]
|
|
@@ -22751,8 +23663,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22751
23663
|
* @param {*} [options] Override http request option.
|
|
22752
23664
|
* @throws {RequiredError}
|
|
22753
23665
|
*/
|
|
22754
|
-
apiV1DoctorsDoctorIdCertificatesGet(doctorId: string,
|
|
22755
|
-
return localVarFp.apiV1DoctorsDoctorIdCertificatesGet(doctorId,
|
|
23666
|
+
apiV1DoctorsDoctorIdCertificatesGet(doctorId: string, doctorName?: string, certificateId?: string, certificate?: string, activeFrom?: Date, activeTo?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorCertificatesModel> {
|
|
23667
|
+
return localVarFp.apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
22756
23668
|
},
|
|
22757
23669
|
/**
|
|
22758
23670
|
*
|
|
@@ -22813,8 +23725,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22813
23725
|
*
|
|
22814
23726
|
* @summary Get all DoctorEducations.
|
|
22815
23727
|
* @param {string} doctorId
|
|
22816
|
-
* @param {string} [doctorId2]
|
|
22817
23728
|
* @param {string} [doctorName]
|
|
23729
|
+
* @param {string} [educationId]
|
|
22818
23730
|
* @param {string} [institution]
|
|
22819
23731
|
* @param {string} [qualification]
|
|
22820
23732
|
* @param {Date} [graduationDate]
|
|
@@ -22824,8 +23736,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22824
23736
|
* @param {*} [options] Override http request option.
|
|
22825
23737
|
* @throws {RequiredError}
|
|
22826
23738
|
*/
|
|
22827
|
-
apiV1DoctorsDoctorIdEducationsGet(doctorId: string,
|
|
22828
|
-
return localVarFp.apiV1DoctorsDoctorIdEducationsGet(doctorId,
|
|
23739
|
+
apiV1DoctorsDoctorIdEducationsGet(doctorId: string, doctorName?: string, educationId?: string, institution?: string, qualification?: string, graduationDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorEducationsModel> {
|
|
23740
|
+
return localVarFp.apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
22829
23741
|
},
|
|
22830
23742
|
/**
|
|
22831
23743
|
*
|
|
@@ -22913,9 +23825,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22913
23825
|
*
|
|
22914
23826
|
* @summary Get All DoctorPortfolios
|
|
22915
23827
|
* @param {string} doctorId
|
|
22916
|
-
* @param {string} [id]
|
|
22917
|
-
* @param {string} [doctorId2]
|
|
22918
23828
|
* @param {string} [doctorName]
|
|
23829
|
+
* @param {string} [portfolioId]
|
|
22919
23830
|
* @param {string} [name]
|
|
22920
23831
|
* @param {number} [page]
|
|
22921
23832
|
* @param {number} [limit]
|
|
@@ -22923,8 +23834,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22923
23834
|
* @param {*} [options] Override http request option.
|
|
22924
23835
|
* @throws {RequiredError}
|
|
22925
23836
|
*/
|
|
22926
|
-
apiV1DoctorsDoctorIdPortfoliosGet(doctorId: string,
|
|
22927
|
-
return localVarFp.apiV1DoctorsDoctorIdPortfoliosGet(doctorId,
|
|
23837
|
+
apiV1DoctorsDoctorIdPortfoliosGet(doctorId: string, doctorName?: string, portfolioId?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorPortfoliosModel> {
|
|
23838
|
+
return localVarFp.apiV1DoctorsDoctorIdPortfoliosGet(doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
22928
23839
|
},
|
|
22929
23840
|
/**
|
|
22930
23841
|
*
|
|
@@ -23078,7 +23989,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
23078
23989
|
* @param {*} [options] Override http request option.
|
|
23079
23990
|
* @throws {RequiredError}
|
|
23080
23991
|
*/
|
|
23081
|
-
apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: any): AxiosPromise<
|
|
23992
|
+
apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: any): AxiosPromise<DoctorModel> {
|
|
23082
23993
|
return localVarFp.apiV1DoctorsPost(createDoctorCommand, options).then((request) => request(axios, basePath));
|
|
23083
23994
|
},
|
|
23084
23995
|
/**
|
|
@@ -23172,9 +24083,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23172
24083
|
*
|
|
23173
24084
|
* @summary Delete DoctorCertificate.
|
|
23174
24085
|
* @param {string} doctorId
|
|
23175
|
-
* @param {string} [doctorId2]
|
|
23176
|
-
* @param {string} [id]
|
|
23177
24086
|
* @param {string} [doctorName]
|
|
24087
|
+
* @param {string} [certificateId]
|
|
23178
24088
|
* @param {string} [certificate]
|
|
23179
24089
|
* @param {Date} [activeFrom]
|
|
23180
24090
|
* @param {Date} [activeTo]
|
|
@@ -23185,8 +24095,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23185
24095
|
* @throws {RequiredError}
|
|
23186
24096
|
* @memberof DoctorsApi
|
|
23187
24097
|
*/
|
|
23188
|
-
public apiV1DoctorsDoctorIdCertificatesGet(doctorId: string,
|
|
23189
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdCertificatesGet(doctorId,
|
|
24098
|
+
public apiV1DoctorsDoctorIdCertificatesGet(doctorId: string, doctorName?: string, certificateId?: string, certificate?: string, activeFrom?: Date, activeTo?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24099
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
23190
24100
|
}
|
|
23191
24101
|
|
|
23192
24102
|
/**
|
|
@@ -23258,8 +24168,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23258
24168
|
*
|
|
23259
24169
|
* @summary Get all DoctorEducations.
|
|
23260
24170
|
* @param {string} doctorId
|
|
23261
|
-
* @param {string} [doctorId2]
|
|
23262
24171
|
* @param {string} [doctorName]
|
|
24172
|
+
* @param {string} [educationId]
|
|
23263
24173
|
* @param {string} [institution]
|
|
23264
24174
|
* @param {string} [qualification]
|
|
23265
24175
|
* @param {Date} [graduationDate]
|
|
@@ -23270,8 +24180,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23270
24180
|
* @throws {RequiredError}
|
|
23271
24181
|
* @memberof DoctorsApi
|
|
23272
24182
|
*/
|
|
23273
|
-
public apiV1DoctorsDoctorIdEducationsGet(doctorId: string,
|
|
23274
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdEducationsGet(doctorId,
|
|
24183
|
+
public apiV1DoctorsDoctorIdEducationsGet(doctorId: string, doctorName?: string, educationId?: string, institution?: string, qualification?: string, graduationDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24184
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
23275
24185
|
}
|
|
23276
24186
|
|
|
23277
24187
|
/**
|
|
@@ -23374,9 +24284,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23374
24284
|
*
|
|
23375
24285
|
* @summary Get All DoctorPortfolios
|
|
23376
24286
|
* @param {string} doctorId
|
|
23377
|
-
* @param {string} [id]
|
|
23378
|
-
* @param {string} [doctorId2]
|
|
23379
24287
|
* @param {string} [doctorName]
|
|
24288
|
+
* @param {string} [portfolioId]
|
|
23380
24289
|
* @param {string} [name]
|
|
23381
24290
|
* @param {number} [page]
|
|
23382
24291
|
* @param {number} [limit]
|
|
@@ -23385,8 +24294,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23385
24294
|
* @throws {RequiredError}
|
|
23386
24295
|
* @memberof DoctorsApi
|
|
23387
24296
|
*/
|
|
23388
|
-
public apiV1DoctorsDoctorIdPortfoliosGet(doctorId: string,
|
|
23389
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdPortfoliosGet(doctorId,
|
|
24297
|
+
public apiV1DoctorsDoctorIdPortfoliosGet(doctorId: string, doctorName?: string, portfolioId?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24298
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdPortfoliosGet(doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
23390
24299
|
}
|
|
23391
24300
|
|
|
23392
24301
|
/**
|
|
@@ -28212,21 +29121,1566 @@ export class LanguagesApi extends BaseAPI {
|
|
|
28212
29121
|
|
|
28213
29122
|
|
|
28214
29123
|
/**
|
|
28215
|
-
*
|
|
29124
|
+
* ManagersApi - axios parameter creator
|
|
28216
29125
|
* @export
|
|
28217
29126
|
*/
|
|
28218
|
-
export const
|
|
29127
|
+
export const ManagersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
28219
29128
|
return {
|
|
28220
29129
|
/**
|
|
28221
29130
|
*
|
|
28222
|
-
* @summary
|
|
28223
|
-
* @param {
|
|
28224
|
-
* @param {
|
|
28225
|
-
* @
|
|
28226
|
-
|
|
28227
|
-
|
|
28228
|
-
|
|
28229
|
-
|
|
29131
|
+
* @summary Get all Managers.
|
|
29132
|
+
* @param {string} [hospitalId]
|
|
29133
|
+
* @param {string} [id]
|
|
29134
|
+
* @param {string} [fullname]
|
|
29135
|
+
* @param {string} [email]
|
|
29136
|
+
* @param {Gender} [gender]
|
|
29137
|
+
* @param {Date} [dateOfBirth]
|
|
29138
|
+
* @param {Date} [created]
|
|
29139
|
+
* @param {number} [page]
|
|
29140
|
+
* @param {number} [limit]
|
|
29141
|
+
* @param {Date} [lastRetrieved]
|
|
29142
|
+
* @param {*} [options] Override http request option.
|
|
29143
|
+
* @throws {RequiredError}
|
|
29144
|
+
*/
|
|
29145
|
+
apiV1ManagersGet: async (hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29146
|
+
const localVarPath = `/api/v1/managers`;
|
|
29147
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29148
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29149
|
+
let baseOptions;
|
|
29150
|
+
if (configuration) {
|
|
29151
|
+
baseOptions = configuration.baseOptions;
|
|
29152
|
+
}
|
|
29153
|
+
|
|
29154
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29155
|
+
const localVarHeaderParameter = {} as any;
|
|
29156
|
+
const localVarQueryParameter = {} as any;
|
|
29157
|
+
|
|
29158
|
+
// authentication oauth2 required
|
|
29159
|
+
// oauth required
|
|
29160
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29161
|
+
|
|
29162
|
+
if (hospitalId !== undefined) {
|
|
29163
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
29164
|
+
}
|
|
29165
|
+
|
|
29166
|
+
if (id !== undefined) {
|
|
29167
|
+
localVarQueryParameter['Id'] = id;
|
|
29168
|
+
}
|
|
29169
|
+
|
|
29170
|
+
if (fullname !== undefined) {
|
|
29171
|
+
localVarQueryParameter['Fullname'] = fullname;
|
|
29172
|
+
}
|
|
29173
|
+
|
|
29174
|
+
if (email !== undefined) {
|
|
29175
|
+
localVarQueryParameter['Email'] = email;
|
|
29176
|
+
}
|
|
29177
|
+
|
|
29178
|
+
if (gender !== undefined) {
|
|
29179
|
+
localVarQueryParameter['Gender'] = gender;
|
|
29180
|
+
}
|
|
29181
|
+
|
|
29182
|
+
if (dateOfBirth !== undefined) {
|
|
29183
|
+
localVarQueryParameter['DateOfBirth'] = (dateOfBirth as any instanceof Date) ?
|
|
29184
|
+
(dateOfBirth as any).toISOString() :
|
|
29185
|
+
dateOfBirth;
|
|
29186
|
+
}
|
|
29187
|
+
|
|
29188
|
+
if (created !== undefined) {
|
|
29189
|
+
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
29190
|
+
(created as any).toISOString() :
|
|
29191
|
+
created;
|
|
29192
|
+
}
|
|
29193
|
+
|
|
29194
|
+
if (page !== undefined) {
|
|
29195
|
+
localVarQueryParameter['page'] = page;
|
|
29196
|
+
}
|
|
29197
|
+
|
|
29198
|
+
if (limit !== undefined) {
|
|
29199
|
+
localVarQueryParameter['limit'] = limit;
|
|
29200
|
+
}
|
|
29201
|
+
|
|
29202
|
+
if (lastRetrieved !== undefined) {
|
|
29203
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
29204
|
+
(lastRetrieved as any).toISOString() :
|
|
29205
|
+
lastRetrieved;
|
|
29206
|
+
}
|
|
29207
|
+
|
|
29208
|
+
|
|
29209
|
+
|
|
29210
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29211
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29212
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29213
|
+
|
|
29214
|
+
return {
|
|
29215
|
+
url: toPathString(localVarUrlObj),
|
|
29216
|
+
options: localVarRequestOptions,
|
|
29217
|
+
};
|
|
29218
|
+
},
|
|
29219
|
+
/**
|
|
29220
|
+
*
|
|
29221
|
+
* @summary Delete Manager.
|
|
29222
|
+
* @param {string} managerId
|
|
29223
|
+
* @param {*} [options] Override http request option.
|
|
29224
|
+
* @throws {RequiredError}
|
|
29225
|
+
*/
|
|
29226
|
+
apiV1ManagersManagerIdDelete: async (managerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29227
|
+
// verify required parameter 'managerId' is not null or undefined
|
|
29228
|
+
assertParamExists('apiV1ManagersManagerIdDelete', 'managerId', managerId)
|
|
29229
|
+
const localVarPath = `/api/v1/managers/{managerId}`
|
|
29230
|
+
.replace(`{${"managerId"}}`, encodeURIComponent(String(managerId)));
|
|
29231
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29232
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29233
|
+
let baseOptions;
|
|
29234
|
+
if (configuration) {
|
|
29235
|
+
baseOptions = configuration.baseOptions;
|
|
29236
|
+
}
|
|
29237
|
+
|
|
29238
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
29239
|
+
const localVarHeaderParameter = {} as any;
|
|
29240
|
+
const localVarQueryParameter = {} as any;
|
|
29241
|
+
|
|
29242
|
+
// authentication oauth2 required
|
|
29243
|
+
// oauth required
|
|
29244
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29245
|
+
|
|
29246
|
+
|
|
29247
|
+
|
|
29248
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29249
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29250
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29251
|
+
|
|
29252
|
+
return {
|
|
29253
|
+
url: toPathString(localVarUrlObj),
|
|
29254
|
+
options: localVarRequestOptions,
|
|
29255
|
+
};
|
|
29256
|
+
},
|
|
29257
|
+
/**
|
|
29258
|
+
*
|
|
29259
|
+
* @summary Get Manager.
|
|
29260
|
+
* @param {string} managerId
|
|
29261
|
+
* @param {*} [options] Override http request option.
|
|
29262
|
+
* @throws {RequiredError}
|
|
29263
|
+
*/
|
|
29264
|
+
apiV1ManagersManagerIdGet: async (managerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29265
|
+
// verify required parameter 'managerId' is not null or undefined
|
|
29266
|
+
assertParamExists('apiV1ManagersManagerIdGet', 'managerId', managerId)
|
|
29267
|
+
const localVarPath = `/api/v1/managers/{managerId}`
|
|
29268
|
+
.replace(`{${"managerId"}}`, encodeURIComponent(String(managerId)));
|
|
29269
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29270
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29271
|
+
let baseOptions;
|
|
29272
|
+
if (configuration) {
|
|
29273
|
+
baseOptions = configuration.baseOptions;
|
|
29274
|
+
}
|
|
29275
|
+
|
|
29276
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29277
|
+
const localVarHeaderParameter = {} as any;
|
|
29278
|
+
const localVarQueryParameter = {} as any;
|
|
29279
|
+
|
|
29280
|
+
// authentication oauth2 required
|
|
29281
|
+
// oauth required
|
|
29282
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29283
|
+
|
|
29284
|
+
|
|
29285
|
+
|
|
29286
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29287
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29288
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29289
|
+
|
|
29290
|
+
return {
|
|
29291
|
+
url: toPathString(localVarUrlObj),
|
|
29292
|
+
options: localVarRequestOptions,
|
|
29293
|
+
};
|
|
29294
|
+
},
|
|
29295
|
+
/**
|
|
29296
|
+
*
|
|
29297
|
+
* @summary Update Manager.
|
|
29298
|
+
* @param {string} managerId
|
|
29299
|
+
* @param {UpdateManagerCommand} [updateManagerCommand]
|
|
29300
|
+
* @param {*} [options] Override http request option.
|
|
29301
|
+
* @throws {RequiredError}
|
|
29302
|
+
*/
|
|
29303
|
+
apiV1ManagersManagerIdPut: async (managerId: string, updateManagerCommand?: UpdateManagerCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29304
|
+
// verify required parameter 'managerId' is not null or undefined
|
|
29305
|
+
assertParamExists('apiV1ManagersManagerIdPut', 'managerId', managerId)
|
|
29306
|
+
const localVarPath = `/api/v1/managers/{managerId}`
|
|
29307
|
+
.replace(`{${"managerId"}}`, encodeURIComponent(String(managerId)));
|
|
29308
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29309
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29310
|
+
let baseOptions;
|
|
29311
|
+
if (configuration) {
|
|
29312
|
+
baseOptions = configuration.baseOptions;
|
|
29313
|
+
}
|
|
29314
|
+
|
|
29315
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
29316
|
+
const localVarHeaderParameter = {} as any;
|
|
29317
|
+
const localVarQueryParameter = {} as any;
|
|
29318
|
+
|
|
29319
|
+
// authentication oauth2 required
|
|
29320
|
+
// oauth required
|
|
29321
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29322
|
+
|
|
29323
|
+
|
|
29324
|
+
|
|
29325
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29326
|
+
|
|
29327
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29328
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29329
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29330
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateManagerCommand, localVarRequestOptions, configuration)
|
|
29331
|
+
|
|
29332
|
+
return {
|
|
29333
|
+
url: toPathString(localVarUrlObj),
|
|
29334
|
+
options: localVarRequestOptions,
|
|
29335
|
+
};
|
|
29336
|
+
},
|
|
29337
|
+
/**
|
|
29338
|
+
*
|
|
29339
|
+
* @summary Create a Manager.
|
|
29340
|
+
* @param {CreateManagerCommand} [createManagerCommand]
|
|
29341
|
+
* @param {*} [options] Override http request option.
|
|
29342
|
+
* @throws {RequiredError}
|
|
29343
|
+
*/
|
|
29344
|
+
apiV1ManagersPost: async (createManagerCommand?: CreateManagerCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29345
|
+
const localVarPath = `/api/v1/managers`;
|
|
29346
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29347
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29348
|
+
let baseOptions;
|
|
29349
|
+
if (configuration) {
|
|
29350
|
+
baseOptions = configuration.baseOptions;
|
|
29351
|
+
}
|
|
29352
|
+
|
|
29353
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29354
|
+
const localVarHeaderParameter = {} as any;
|
|
29355
|
+
const localVarQueryParameter = {} as any;
|
|
29356
|
+
|
|
29357
|
+
// authentication oauth2 required
|
|
29358
|
+
// oauth required
|
|
29359
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29360
|
+
|
|
29361
|
+
|
|
29362
|
+
|
|
29363
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29364
|
+
|
|
29365
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29366
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29367
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29368
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createManagerCommand, localVarRequestOptions, configuration)
|
|
29369
|
+
|
|
29370
|
+
return {
|
|
29371
|
+
url: toPathString(localVarUrlObj),
|
|
29372
|
+
options: localVarRequestOptions,
|
|
29373
|
+
};
|
|
29374
|
+
},
|
|
29375
|
+
}
|
|
29376
|
+
};
|
|
29377
|
+
|
|
29378
|
+
/**
|
|
29379
|
+
* ManagersApi - functional programming interface
|
|
29380
|
+
* @export
|
|
29381
|
+
*/
|
|
29382
|
+
export const ManagersApiFp = function(configuration?: Configuration) {
|
|
29383
|
+
const localVarAxiosParamCreator = ManagersApiAxiosParamCreator(configuration)
|
|
29384
|
+
return {
|
|
29385
|
+
/**
|
|
29386
|
+
*
|
|
29387
|
+
* @summary Get all Managers.
|
|
29388
|
+
* @param {string} [hospitalId]
|
|
29389
|
+
* @param {string} [id]
|
|
29390
|
+
* @param {string} [fullname]
|
|
29391
|
+
* @param {string} [email]
|
|
29392
|
+
* @param {Gender} [gender]
|
|
29393
|
+
* @param {Date} [dateOfBirth]
|
|
29394
|
+
* @param {Date} [created]
|
|
29395
|
+
* @param {number} [page]
|
|
29396
|
+
* @param {number} [limit]
|
|
29397
|
+
* @param {Date} [lastRetrieved]
|
|
29398
|
+
* @param {*} [options] Override http request option.
|
|
29399
|
+
* @throws {RequiredError}
|
|
29400
|
+
*/
|
|
29401
|
+
async apiV1ManagersGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagersModel>> {
|
|
29402
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options);
|
|
29403
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29404
|
+
},
|
|
29405
|
+
/**
|
|
29406
|
+
*
|
|
29407
|
+
* @summary Delete Manager.
|
|
29408
|
+
* @param {string} managerId
|
|
29409
|
+
* @param {*} [options] Override http request option.
|
|
29410
|
+
* @throws {RequiredError}
|
|
29411
|
+
*/
|
|
29412
|
+
async apiV1ManagersManagerIdDelete(managerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
29413
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersManagerIdDelete(managerId, options);
|
|
29414
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29415
|
+
},
|
|
29416
|
+
/**
|
|
29417
|
+
*
|
|
29418
|
+
* @summary Get Manager.
|
|
29419
|
+
* @param {string} managerId
|
|
29420
|
+
* @param {*} [options] Override http request option.
|
|
29421
|
+
* @throws {RequiredError}
|
|
29422
|
+
*/
|
|
29423
|
+
async apiV1ManagersManagerIdGet(managerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerModel>> {
|
|
29424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersManagerIdGet(managerId, options);
|
|
29425
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29426
|
+
},
|
|
29427
|
+
/**
|
|
29428
|
+
*
|
|
29429
|
+
* @summary Update Manager.
|
|
29430
|
+
* @param {string} managerId
|
|
29431
|
+
* @param {UpdateManagerCommand} [updateManagerCommand]
|
|
29432
|
+
* @param {*} [options] Override http request option.
|
|
29433
|
+
* @throws {RequiredError}
|
|
29434
|
+
*/
|
|
29435
|
+
async apiV1ManagersManagerIdPut(managerId: string, updateManagerCommand?: UpdateManagerCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
29436
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersManagerIdPut(managerId, updateManagerCommand, options);
|
|
29437
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29438
|
+
},
|
|
29439
|
+
/**
|
|
29440
|
+
*
|
|
29441
|
+
* @summary Create a Manager.
|
|
29442
|
+
* @param {CreateManagerCommand} [createManagerCommand]
|
|
29443
|
+
* @param {*} [options] Override http request option.
|
|
29444
|
+
* @throws {RequiredError}
|
|
29445
|
+
*/
|
|
29446
|
+
async apiV1ManagersPost(createManagerCommand?: CreateManagerCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerModel>> {
|
|
29447
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersPost(createManagerCommand, options);
|
|
29448
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29449
|
+
},
|
|
29450
|
+
}
|
|
29451
|
+
};
|
|
29452
|
+
|
|
29453
|
+
/**
|
|
29454
|
+
* ManagersApi - factory interface
|
|
29455
|
+
* @export
|
|
29456
|
+
*/
|
|
29457
|
+
export const ManagersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
29458
|
+
const localVarFp = ManagersApiFp(configuration)
|
|
29459
|
+
return {
|
|
29460
|
+
/**
|
|
29461
|
+
*
|
|
29462
|
+
* @summary Get all Managers.
|
|
29463
|
+
* @param {string} [hospitalId]
|
|
29464
|
+
* @param {string} [id]
|
|
29465
|
+
* @param {string} [fullname]
|
|
29466
|
+
* @param {string} [email]
|
|
29467
|
+
* @param {Gender} [gender]
|
|
29468
|
+
* @param {Date} [dateOfBirth]
|
|
29469
|
+
* @param {Date} [created]
|
|
29470
|
+
* @param {number} [page]
|
|
29471
|
+
* @param {number} [limit]
|
|
29472
|
+
* @param {Date} [lastRetrieved]
|
|
29473
|
+
* @param {*} [options] Override http request option.
|
|
29474
|
+
* @throws {RequiredError}
|
|
29475
|
+
*/
|
|
29476
|
+
apiV1ManagersGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ManagersModel> {
|
|
29477
|
+
return localVarFp.apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29478
|
+
},
|
|
29479
|
+
/**
|
|
29480
|
+
*
|
|
29481
|
+
* @summary Delete Manager.
|
|
29482
|
+
* @param {string} managerId
|
|
29483
|
+
* @param {*} [options] Override http request option.
|
|
29484
|
+
* @throws {RequiredError}
|
|
29485
|
+
*/
|
|
29486
|
+
apiV1ManagersManagerIdDelete(managerId: string, options?: any): AxiosPromise<boolean> {
|
|
29487
|
+
return localVarFp.apiV1ManagersManagerIdDelete(managerId, options).then((request) => request(axios, basePath));
|
|
29488
|
+
},
|
|
29489
|
+
/**
|
|
29490
|
+
*
|
|
29491
|
+
* @summary Get Manager.
|
|
29492
|
+
* @param {string} managerId
|
|
29493
|
+
* @param {*} [options] Override http request option.
|
|
29494
|
+
* @throws {RequiredError}
|
|
29495
|
+
*/
|
|
29496
|
+
apiV1ManagersManagerIdGet(managerId: string, options?: any): AxiosPromise<ManagerModel> {
|
|
29497
|
+
return localVarFp.apiV1ManagersManagerIdGet(managerId, options).then((request) => request(axios, basePath));
|
|
29498
|
+
},
|
|
29499
|
+
/**
|
|
29500
|
+
*
|
|
29501
|
+
* @summary Update Manager.
|
|
29502
|
+
* @param {string} managerId
|
|
29503
|
+
* @param {UpdateManagerCommand} [updateManagerCommand]
|
|
29504
|
+
* @param {*} [options] Override http request option.
|
|
29505
|
+
* @throws {RequiredError}
|
|
29506
|
+
*/
|
|
29507
|
+
apiV1ManagersManagerIdPut(managerId: string, updateManagerCommand?: UpdateManagerCommand, options?: any): AxiosPromise<boolean> {
|
|
29508
|
+
return localVarFp.apiV1ManagersManagerIdPut(managerId, updateManagerCommand, options).then((request) => request(axios, basePath));
|
|
29509
|
+
},
|
|
29510
|
+
/**
|
|
29511
|
+
*
|
|
29512
|
+
* @summary Create a Manager.
|
|
29513
|
+
* @param {CreateManagerCommand} [createManagerCommand]
|
|
29514
|
+
* @param {*} [options] Override http request option.
|
|
29515
|
+
* @throws {RequiredError}
|
|
29516
|
+
*/
|
|
29517
|
+
apiV1ManagersPost(createManagerCommand?: CreateManagerCommand, options?: any): AxiosPromise<ManagerModel> {
|
|
29518
|
+
return localVarFp.apiV1ManagersPost(createManagerCommand, options).then((request) => request(axios, basePath));
|
|
29519
|
+
},
|
|
29520
|
+
};
|
|
29521
|
+
};
|
|
29522
|
+
|
|
29523
|
+
/**
|
|
29524
|
+
* ManagersApi - object-oriented interface
|
|
29525
|
+
* @export
|
|
29526
|
+
* @class ManagersApi
|
|
29527
|
+
* @extends {BaseAPI}
|
|
29528
|
+
*/
|
|
29529
|
+
export class ManagersApi extends BaseAPI {
|
|
29530
|
+
/**
|
|
29531
|
+
*
|
|
29532
|
+
* @summary Get all Managers.
|
|
29533
|
+
* @param {string} [hospitalId]
|
|
29534
|
+
* @param {string} [id]
|
|
29535
|
+
* @param {string} [fullname]
|
|
29536
|
+
* @param {string} [email]
|
|
29537
|
+
* @param {Gender} [gender]
|
|
29538
|
+
* @param {Date} [dateOfBirth]
|
|
29539
|
+
* @param {Date} [created]
|
|
29540
|
+
* @param {number} [page]
|
|
29541
|
+
* @param {number} [limit]
|
|
29542
|
+
* @param {Date} [lastRetrieved]
|
|
29543
|
+
* @param {*} [options] Override http request option.
|
|
29544
|
+
* @throws {RequiredError}
|
|
29545
|
+
* @memberof ManagersApi
|
|
29546
|
+
*/
|
|
29547
|
+
public apiV1ManagersGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
29548
|
+
return ManagersApiFp(this.configuration).apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
29549
|
+
}
|
|
29550
|
+
|
|
29551
|
+
/**
|
|
29552
|
+
*
|
|
29553
|
+
* @summary Delete Manager.
|
|
29554
|
+
* @param {string} managerId
|
|
29555
|
+
* @param {*} [options] Override http request option.
|
|
29556
|
+
* @throws {RequiredError}
|
|
29557
|
+
* @memberof ManagersApi
|
|
29558
|
+
*/
|
|
29559
|
+
public apiV1ManagersManagerIdDelete(managerId: string, options?: AxiosRequestConfig) {
|
|
29560
|
+
return ManagersApiFp(this.configuration).apiV1ManagersManagerIdDelete(managerId, options).then((request) => request(this.axios, this.basePath));
|
|
29561
|
+
}
|
|
29562
|
+
|
|
29563
|
+
/**
|
|
29564
|
+
*
|
|
29565
|
+
* @summary Get Manager.
|
|
29566
|
+
* @param {string} managerId
|
|
29567
|
+
* @param {*} [options] Override http request option.
|
|
29568
|
+
* @throws {RequiredError}
|
|
29569
|
+
* @memberof ManagersApi
|
|
29570
|
+
*/
|
|
29571
|
+
public apiV1ManagersManagerIdGet(managerId: string, options?: AxiosRequestConfig) {
|
|
29572
|
+
return ManagersApiFp(this.configuration).apiV1ManagersManagerIdGet(managerId, options).then((request) => request(this.axios, this.basePath));
|
|
29573
|
+
}
|
|
29574
|
+
|
|
29575
|
+
/**
|
|
29576
|
+
*
|
|
29577
|
+
* @summary Update Manager.
|
|
29578
|
+
* @param {string} managerId
|
|
29579
|
+
* @param {UpdateManagerCommand} [updateManagerCommand]
|
|
29580
|
+
* @param {*} [options] Override http request option.
|
|
29581
|
+
* @throws {RequiredError}
|
|
29582
|
+
* @memberof ManagersApi
|
|
29583
|
+
*/
|
|
29584
|
+
public apiV1ManagersManagerIdPut(managerId: string, updateManagerCommand?: UpdateManagerCommand, options?: AxiosRequestConfig) {
|
|
29585
|
+
return ManagersApiFp(this.configuration).apiV1ManagersManagerIdPut(managerId, updateManagerCommand, options).then((request) => request(this.axios, this.basePath));
|
|
29586
|
+
}
|
|
29587
|
+
|
|
29588
|
+
/**
|
|
29589
|
+
*
|
|
29590
|
+
* @summary Create a Manager.
|
|
29591
|
+
* @param {CreateManagerCommand} [createManagerCommand]
|
|
29592
|
+
* @param {*} [options] Override http request option.
|
|
29593
|
+
* @throws {RequiredError}
|
|
29594
|
+
* @memberof ManagersApi
|
|
29595
|
+
*/
|
|
29596
|
+
public apiV1ManagersPost(createManagerCommand?: CreateManagerCommand, options?: AxiosRequestConfig) {
|
|
29597
|
+
return ManagersApiFp(this.configuration).apiV1ManagersPost(createManagerCommand, options).then((request) => request(this.axios, this.basePath));
|
|
29598
|
+
}
|
|
29599
|
+
}
|
|
29600
|
+
|
|
29601
|
+
|
|
29602
|
+
/**
|
|
29603
|
+
* NotificationsApi - axios parameter creator
|
|
29604
|
+
* @export
|
|
29605
|
+
*/
|
|
29606
|
+
export const NotificationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29607
|
+
return {
|
|
29608
|
+
/**
|
|
29609
|
+
*
|
|
29610
|
+
* @summary Check notification.
|
|
29611
|
+
* @param {CheckNotificationsCommand} [checkNotificationsCommand]
|
|
29612
|
+
* @param {*} [options] Override http request option.
|
|
29613
|
+
* @throws {RequiredError}
|
|
29614
|
+
*/
|
|
29615
|
+
apiV1NotificationsCheckPost: async (checkNotificationsCommand?: CheckNotificationsCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29616
|
+
const localVarPath = `/api/v1/notifications/check`;
|
|
29617
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29618
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29619
|
+
let baseOptions;
|
|
29620
|
+
if (configuration) {
|
|
29621
|
+
baseOptions = configuration.baseOptions;
|
|
29622
|
+
}
|
|
29623
|
+
|
|
29624
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29625
|
+
const localVarHeaderParameter = {} as any;
|
|
29626
|
+
const localVarQueryParameter = {} as any;
|
|
29627
|
+
|
|
29628
|
+
// authentication oauth2 required
|
|
29629
|
+
// oauth required
|
|
29630
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29631
|
+
|
|
29632
|
+
|
|
29633
|
+
|
|
29634
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29635
|
+
|
|
29636
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29637
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29638
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29639
|
+
localVarRequestOptions.data = serializeDataIfNeeded(checkNotificationsCommand, localVarRequestOptions, configuration)
|
|
29640
|
+
|
|
29641
|
+
return {
|
|
29642
|
+
url: toPathString(localVarUrlObj),
|
|
29643
|
+
options: localVarRequestOptions,
|
|
29644
|
+
};
|
|
29645
|
+
},
|
|
29646
|
+
/**
|
|
29647
|
+
*
|
|
29648
|
+
* @summary Get all notifications.
|
|
29649
|
+
* @param {NotificationCode} [notificationCode]
|
|
29650
|
+
* @param {boolean} [unreadCountOnly]
|
|
29651
|
+
* @param {number} [page]
|
|
29652
|
+
* @param {number} [limit]
|
|
29653
|
+
* @param {Date} [lastRetrieved]
|
|
29654
|
+
* @param {*} [options] Override http request option.
|
|
29655
|
+
* @throws {RequiredError}
|
|
29656
|
+
*/
|
|
29657
|
+
apiV1NotificationsGet: async (notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29658
|
+
const localVarPath = `/api/v1/notifications`;
|
|
29659
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29660
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29661
|
+
let baseOptions;
|
|
29662
|
+
if (configuration) {
|
|
29663
|
+
baseOptions = configuration.baseOptions;
|
|
29664
|
+
}
|
|
29665
|
+
|
|
29666
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29667
|
+
const localVarHeaderParameter = {} as any;
|
|
29668
|
+
const localVarQueryParameter = {} as any;
|
|
29669
|
+
|
|
29670
|
+
// authentication oauth2 required
|
|
29671
|
+
// oauth required
|
|
29672
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29673
|
+
|
|
29674
|
+
if (notificationCode !== undefined) {
|
|
29675
|
+
localVarQueryParameter['NotificationCode'] = notificationCode;
|
|
29676
|
+
}
|
|
29677
|
+
|
|
29678
|
+
if (unreadCountOnly !== undefined) {
|
|
29679
|
+
localVarQueryParameter['UnreadCountOnly'] = unreadCountOnly;
|
|
29680
|
+
}
|
|
29681
|
+
|
|
29682
|
+
if (page !== undefined) {
|
|
29683
|
+
localVarQueryParameter['page'] = page;
|
|
29684
|
+
}
|
|
29685
|
+
|
|
29686
|
+
if (limit !== undefined) {
|
|
29687
|
+
localVarQueryParameter['limit'] = limit;
|
|
29688
|
+
}
|
|
29689
|
+
|
|
29690
|
+
if (lastRetrieved !== undefined) {
|
|
29691
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
29692
|
+
(lastRetrieved as any).toISOString() :
|
|
29693
|
+
lastRetrieved;
|
|
29694
|
+
}
|
|
29695
|
+
|
|
29696
|
+
|
|
29697
|
+
|
|
29698
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29699
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29700
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29701
|
+
|
|
29702
|
+
return {
|
|
29703
|
+
url: toPathString(localVarUrlObj),
|
|
29704
|
+
options: localVarRequestOptions,
|
|
29705
|
+
};
|
|
29706
|
+
},
|
|
29707
|
+
}
|
|
29708
|
+
};
|
|
29709
|
+
|
|
29710
|
+
/**
|
|
29711
|
+
* NotificationsApi - functional programming interface
|
|
29712
|
+
* @export
|
|
29713
|
+
*/
|
|
29714
|
+
export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
29715
|
+
const localVarAxiosParamCreator = NotificationsApiAxiosParamCreator(configuration)
|
|
29716
|
+
return {
|
|
29717
|
+
/**
|
|
29718
|
+
*
|
|
29719
|
+
* @summary Check notification.
|
|
29720
|
+
* @param {CheckNotificationsCommand} [checkNotificationsCommand]
|
|
29721
|
+
* @param {*} [options] Override http request option.
|
|
29722
|
+
* @throws {RequiredError}
|
|
29723
|
+
*/
|
|
29724
|
+
async apiV1NotificationsCheckPost(checkNotificationsCommand?: CheckNotificationsCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
29725
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1NotificationsCheckPost(checkNotificationsCommand, options);
|
|
29726
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29727
|
+
},
|
|
29728
|
+
/**
|
|
29729
|
+
*
|
|
29730
|
+
* @summary Get all notifications.
|
|
29731
|
+
* @param {NotificationCode} [notificationCode]
|
|
29732
|
+
* @param {boolean} [unreadCountOnly]
|
|
29733
|
+
* @param {number} [page]
|
|
29734
|
+
* @param {number} [limit]
|
|
29735
|
+
* @param {Date} [lastRetrieved]
|
|
29736
|
+
* @param {*} [options] Override http request option.
|
|
29737
|
+
* @throws {RequiredError}
|
|
29738
|
+
*/
|
|
29739
|
+
async apiV1NotificationsGet(notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationsModel>> {
|
|
29740
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1NotificationsGet(notificationCode, unreadCountOnly, page, limit, lastRetrieved, options);
|
|
29741
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29742
|
+
},
|
|
29743
|
+
}
|
|
29744
|
+
};
|
|
29745
|
+
|
|
29746
|
+
/**
|
|
29747
|
+
* NotificationsApi - factory interface
|
|
29748
|
+
* @export
|
|
29749
|
+
*/
|
|
29750
|
+
export const NotificationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
29751
|
+
const localVarFp = NotificationsApiFp(configuration)
|
|
29752
|
+
return {
|
|
29753
|
+
/**
|
|
29754
|
+
*
|
|
29755
|
+
* @summary Check notification.
|
|
29756
|
+
* @param {CheckNotificationsCommand} [checkNotificationsCommand]
|
|
29757
|
+
* @param {*} [options] Override http request option.
|
|
29758
|
+
* @throws {RequiredError}
|
|
29759
|
+
*/
|
|
29760
|
+
apiV1NotificationsCheckPost(checkNotificationsCommand?: CheckNotificationsCommand, options?: any): AxiosPromise<boolean> {
|
|
29761
|
+
return localVarFp.apiV1NotificationsCheckPost(checkNotificationsCommand, options).then((request) => request(axios, basePath));
|
|
29762
|
+
},
|
|
29763
|
+
/**
|
|
29764
|
+
*
|
|
29765
|
+
* @summary Get all notifications.
|
|
29766
|
+
* @param {NotificationCode} [notificationCode]
|
|
29767
|
+
* @param {boolean} [unreadCountOnly]
|
|
29768
|
+
* @param {number} [page]
|
|
29769
|
+
* @param {number} [limit]
|
|
29770
|
+
* @param {Date} [lastRetrieved]
|
|
29771
|
+
* @param {*} [options] Override http request option.
|
|
29772
|
+
* @throws {RequiredError}
|
|
29773
|
+
*/
|
|
29774
|
+
apiV1NotificationsGet(notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<NotificationsModel> {
|
|
29775
|
+
return localVarFp.apiV1NotificationsGet(notificationCode, unreadCountOnly, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29776
|
+
},
|
|
29777
|
+
};
|
|
29778
|
+
};
|
|
29779
|
+
|
|
29780
|
+
/**
|
|
29781
|
+
* NotificationsApi - object-oriented interface
|
|
29782
|
+
* @export
|
|
29783
|
+
* @class NotificationsApi
|
|
29784
|
+
* @extends {BaseAPI}
|
|
29785
|
+
*/
|
|
29786
|
+
export class NotificationsApi extends BaseAPI {
|
|
29787
|
+
/**
|
|
29788
|
+
*
|
|
29789
|
+
* @summary Check notification.
|
|
29790
|
+
* @param {CheckNotificationsCommand} [checkNotificationsCommand]
|
|
29791
|
+
* @param {*} [options] Override http request option.
|
|
29792
|
+
* @throws {RequiredError}
|
|
29793
|
+
* @memberof NotificationsApi
|
|
29794
|
+
*/
|
|
29795
|
+
public apiV1NotificationsCheckPost(checkNotificationsCommand?: CheckNotificationsCommand, options?: AxiosRequestConfig) {
|
|
29796
|
+
return NotificationsApiFp(this.configuration).apiV1NotificationsCheckPost(checkNotificationsCommand, options).then((request) => request(this.axios, this.basePath));
|
|
29797
|
+
}
|
|
29798
|
+
|
|
29799
|
+
/**
|
|
29800
|
+
*
|
|
29801
|
+
* @summary Get all notifications.
|
|
29802
|
+
* @param {NotificationCode} [notificationCode]
|
|
29803
|
+
* @param {boolean} [unreadCountOnly]
|
|
29804
|
+
* @param {number} [page]
|
|
29805
|
+
* @param {number} [limit]
|
|
29806
|
+
* @param {Date} [lastRetrieved]
|
|
29807
|
+
* @param {*} [options] Override http request option.
|
|
29808
|
+
* @throws {RequiredError}
|
|
29809
|
+
* @memberof NotificationsApi
|
|
29810
|
+
*/
|
|
29811
|
+
public apiV1NotificationsGet(notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
29812
|
+
return NotificationsApiFp(this.configuration).apiV1NotificationsGet(notificationCode, unreadCountOnly, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
29813
|
+
}
|
|
29814
|
+
}
|
|
29815
|
+
|
|
29816
|
+
|
|
29817
|
+
/**
|
|
29818
|
+
* PlansApi - axios parameter creator
|
|
29819
|
+
* @export
|
|
29820
|
+
*/
|
|
29821
|
+
export const PlansApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29822
|
+
return {
|
|
29823
|
+
/**
|
|
29824
|
+
*
|
|
29825
|
+
* @summary Get all plans.
|
|
29826
|
+
* @param {string} [id]
|
|
29827
|
+
* @param {string} [name]
|
|
29828
|
+
* @param {number} [page]
|
|
29829
|
+
* @param {number} [limit]
|
|
29830
|
+
* @param {Date} [lastRetrieved]
|
|
29831
|
+
* @param {*} [options] Override http request option.
|
|
29832
|
+
* @throws {RequiredError}
|
|
29833
|
+
*/
|
|
29834
|
+
apiV1PlansGet: async (id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29835
|
+
const localVarPath = `/api/v1/plans`;
|
|
29836
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29837
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29838
|
+
let baseOptions;
|
|
29839
|
+
if (configuration) {
|
|
29840
|
+
baseOptions = configuration.baseOptions;
|
|
29841
|
+
}
|
|
29842
|
+
|
|
29843
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29844
|
+
const localVarHeaderParameter = {} as any;
|
|
29845
|
+
const localVarQueryParameter = {} as any;
|
|
29846
|
+
|
|
29847
|
+
// authentication oauth2 required
|
|
29848
|
+
// oauth required
|
|
29849
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29850
|
+
|
|
29851
|
+
if (id !== undefined) {
|
|
29852
|
+
localVarQueryParameter['Id'] = id;
|
|
29853
|
+
}
|
|
29854
|
+
|
|
29855
|
+
if (name !== undefined) {
|
|
29856
|
+
localVarQueryParameter['Name'] = name;
|
|
29857
|
+
}
|
|
29858
|
+
|
|
29859
|
+
if (page !== undefined) {
|
|
29860
|
+
localVarQueryParameter['page'] = page;
|
|
29861
|
+
}
|
|
29862
|
+
|
|
29863
|
+
if (limit !== undefined) {
|
|
29864
|
+
localVarQueryParameter['limit'] = limit;
|
|
29865
|
+
}
|
|
29866
|
+
|
|
29867
|
+
if (lastRetrieved !== undefined) {
|
|
29868
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
29869
|
+
(lastRetrieved as any).toISOString() :
|
|
29870
|
+
lastRetrieved;
|
|
29871
|
+
}
|
|
29872
|
+
|
|
29873
|
+
|
|
29874
|
+
|
|
29875
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29876
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29877
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29878
|
+
|
|
29879
|
+
return {
|
|
29880
|
+
url: toPathString(localVarUrlObj),
|
|
29881
|
+
options: localVarRequestOptions,
|
|
29882
|
+
};
|
|
29883
|
+
},
|
|
29884
|
+
/**
|
|
29885
|
+
*
|
|
29886
|
+
* @summary Delete plan.
|
|
29887
|
+
* @param {string} planId
|
|
29888
|
+
* @param {*} [options] Override http request option.
|
|
29889
|
+
* @throws {RequiredError}
|
|
29890
|
+
*/
|
|
29891
|
+
apiV1PlansPlanIdDelete: async (planId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29892
|
+
// verify required parameter 'planId' is not null or undefined
|
|
29893
|
+
assertParamExists('apiV1PlansPlanIdDelete', 'planId', planId)
|
|
29894
|
+
const localVarPath = `/api/v1/plans/{planId}`
|
|
29895
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)));
|
|
29896
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29897
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29898
|
+
let baseOptions;
|
|
29899
|
+
if (configuration) {
|
|
29900
|
+
baseOptions = configuration.baseOptions;
|
|
29901
|
+
}
|
|
29902
|
+
|
|
29903
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
29904
|
+
const localVarHeaderParameter = {} as any;
|
|
29905
|
+
const localVarQueryParameter = {} as any;
|
|
29906
|
+
|
|
29907
|
+
// authentication oauth2 required
|
|
29908
|
+
// oauth required
|
|
29909
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29910
|
+
|
|
29911
|
+
|
|
29912
|
+
|
|
29913
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29914
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29915
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29916
|
+
|
|
29917
|
+
return {
|
|
29918
|
+
url: toPathString(localVarUrlObj),
|
|
29919
|
+
options: localVarRequestOptions,
|
|
29920
|
+
};
|
|
29921
|
+
},
|
|
29922
|
+
/**
|
|
29923
|
+
*
|
|
29924
|
+
* @summary Get plan.
|
|
29925
|
+
* @param {string} planId
|
|
29926
|
+
* @param {*} [options] Override http request option.
|
|
29927
|
+
* @throws {RequiredError}
|
|
29928
|
+
*/
|
|
29929
|
+
apiV1PlansPlanIdGet: async (planId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29930
|
+
// verify required parameter 'planId' is not null or undefined
|
|
29931
|
+
assertParamExists('apiV1PlansPlanIdGet', 'planId', planId)
|
|
29932
|
+
const localVarPath = `/api/v1/plans/{planId}`
|
|
29933
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)));
|
|
29934
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29935
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29936
|
+
let baseOptions;
|
|
29937
|
+
if (configuration) {
|
|
29938
|
+
baseOptions = configuration.baseOptions;
|
|
29939
|
+
}
|
|
29940
|
+
|
|
29941
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29942
|
+
const localVarHeaderParameter = {} as any;
|
|
29943
|
+
const localVarQueryParameter = {} as any;
|
|
29944
|
+
|
|
29945
|
+
// authentication oauth2 required
|
|
29946
|
+
// oauth required
|
|
29947
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29948
|
+
|
|
29949
|
+
|
|
29950
|
+
|
|
29951
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29952
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29953
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29954
|
+
|
|
29955
|
+
return {
|
|
29956
|
+
url: toPathString(localVarUrlObj),
|
|
29957
|
+
options: localVarRequestOptions,
|
|
29958
|
+
};
|
|
29959
|
+
},
|
|
29960
|
+
/**
|
|
29961
|
+
*
|
|
29962
|
+
* @summary Get all plan hospital.
|
|
29963
|
+
* @param {string} planId
|
|
29964
|
+
* @param {number} [page]
|
|
29965
|
+
* @param {number} [limit]
|
|
29966
|
+
* @param {Date} [lastRetrieved]
|
|
29967
|
+
* @param {*} [options] Override http request option.
|
|
29968
|
+
* @throws {RequiredError}
|
|
29969
|
+
*/
|
|
29970
|
+
apiV1PlansPlanIdHospitalsGet: async (planId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29971
|
+
// verify required parameter 'planId' is not null or undefined
|
|
29972
|
+
assertParamExists('apiV1PlansPlanIdHospitalsGet', 'planId', planId)
|
|
29973
|
+
const localVarPath = `/api/v1/plans/{planId}/hospitals`
|
|
29974
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)));
|
|
29975
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29976
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29977
|
+
let baseOptions;
|
|
29978
|
+
if (configuration) {
|
|
29979
|
+
baseOptions = configuration.baseOptions;
|
|
29980
|
+
}
|
|
29981
|
+
|
|
29982
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29983
|
+
const localVarHeaderParameter = {} as any;
|
|
29984
|
+
const localVarQueryParameter = {} as any;
|
|
29985
|
+
|
|
29986
|
+
// authentication oauth2 required
|
|
29987
|
+
// oauth required
|
|
29988
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29989
|
+
|
|
29990
|
+
if (page !== undefined) {
|
|
29991
|
+
localVarQueryParameter['page'] = page;
|
|
29992
|
+
}
|
|
29993
|
+
|
|
29994
|
+
if (limit !== undefined) {
|
|
29995
|
+
localVarQueryParameter['limit'] = limit;
|
|
29996
|
+
}
|
|
29997
|
+
|
|
29998
|
+
if (lastRetrieved !== undefined) {
|
|
29999
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
30000
|
+
(lastRetrieved as any).toISOString() :
|
|
30001
|
+
lastRetrieved;
|
|
30002
|
+
}
|
|
30003
|
+
|
|
30004
|
+
|
|
30005
|
+
|
|
30006
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30007
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30008
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30009
|
+
|
|
30010
|
+
return {
|
|
30011
|
+
url: toPathString(localVarUrlObj),
|
|
30012
|
+
options: localVarRequestOptions,
|
|
30013
|
+
};
|
|
30014
|
+
},
|
|
30015
|
+
/**
|
|
30016
|
+
*
|
|
30017
|
+
* @summary Delete plan hospital.
|
|
30018
|
+
* @param {string} planId
|
|
30019
|
+
* @param {string} hospitalId
|
|
30020
|
+
* @param {*} [options] Override http request option.
|
|
30021
|
+
* @throws {RequiredError}
|
|
30022
|
+
*/
|
|
30023
|
+
apiV1PlansPlanIdHospitalsHospitalIdDelete: async (planId: string, hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30024
|
+
// verify required parameter 'planId' is not null or undefined
|
|
30025
|
+
assertParamExists('apiV1PlansPlanIdHospitalsHospitalIdDelete', 'planId', planId)
|
|
30026
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
30027
|
+
assertParamExists('apiV1PlansPlanIdHospitalsHospitalIdDelete', 'hospitalId', hospitalId)
|
|
30028
|
+
const localVarPath = `/api/v1/plans/{planId}/hospitals/{hospitalId}`
|
|
30029
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)))
|
|
30030
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
30031
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30032
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30033
|
+
let baseOptions;
|
|
30034
|
+
if (configuration) {
|
|
30035
|
+
baseOptions = configuration.baseOptions;
|
|
30036
|
+
}
|
|
30037
|
+
|
|
30038
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
30039
|
+
const localVarHeaderParameter = {} as any;
|
|
30040
|
+
const localVarQueryParameter = {} as any;
|
|
30041
|
+
|
|
30042
|
+
// authentication oauth2 required
|
|
30043
|
+
// oauth required
|
|
30044
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30045
|
+
|
|
30046
|
+
|
|
30047
|
+
|
|
30048
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30049
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30050
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30051
|
+
|
|
30052
|
+
return {
|
|
30053
|
+
url: toPathString(localVarUrlObj),
|
|
30054
|
+
options: localVarRequestOptions,
|
|
30055
|
+
};
|
|
30056
|
+
},
|
|
30057
|
+
/**
|
|
30058
|
+
*
|
|
30059
|
+
* @summary Get plan hospital.
|
|
30060
|
+
* @param {string} planId
|
|
30061
|
+
* @param {string} hospitalId
|
|
30062
|
+
* @param {*} [options] Override http request option.
|
|
30063
|
+
* @throws {RequiredError}
|
|
30064
|
+
*/
|
|
30065
|
+
apiV1PlansPlanIdHospitalsHospitalIdGet: async (planId: string, hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30066
|
+
// verify required parameter 'planId' is not null or undefined
|
|
30067
|
+
assertParamExists('apiV1PlansPlanIdHospitalsHospitalIdGet', 'planId', planId)
|
|
30068
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
30069
|
+
assertParamExists('apiV1PlansPlanIdHospitalsHospitalIdGet', 'hospitalId', hospitalId)
|
|
30070
|
+
const localVarPath = `/api/v1/plans/{planId}/hospitals/{hospitalId}`
|
|
30071
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)))
|
|
30072
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
30073
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30074
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30075
|
+
let baseOptions;
|
|
30076
|
+
if (configuration) {
|
|
30077
|
+
baseOptions = configuration.baseOptions;
|
|
30078
|
+
}
|
|
30079
|
+
|
|
30080
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30081
|
+
const localVarHeaderParameter = {} as any;
|
|
30082
|
+
const localVarQueryParameter = {} as any;
|
|
30083
|
+
|
|
30084
|
+
// authentication oauth2 required
|
|
30085
|
+
// oauth required
|
|
30086
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30087
|
+
|
|
30088
|
+
|
|
30089
|
+
|
|
30090
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30091
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30092
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30093
|
+
|
|
30094
|
+
return {
|
|
30095
|
+
url: toPathString(localVarUrlObj),
|
|
30096
|
+
options: localVarRequestOptions,
|
|
30097
|
+
};
|
|
30098
|
+
},
|
|
30099
|
+
/**
|
|
30100
|
+
*
|
|
30101
|
+
* @summary Update plan hospital.
|
|
30102
|
+
* @param {string} planId
|
|
30103
|
+
* @param {string} hospitalId
|
|
30104
|
+
* @param {UpdatePlanHospitalCommand} [updatePlanHospitalCommand]
|
|
30105
|
+
* @param {*} [options] Override http request option.
|
|
30106
|
+
* @throws {RequiredError}
|
|
30107
|
+
*/
|
|
30108
|
+
apiV1PlansPlanIdHospitalsHospitalIdPut: async (planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30109
|
+
// verify required parameter 'planId' is not null or undefined
|
|
30110
|
+
assertParamExists('apiV1PlansPlanIdHospitalsHospitalIdPut', 'planId', planId)
|
|
30111
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
30112
|
+
assertParamExists('apiV1PlansPlanIdHospitalsHospitalIdPut', 'hospitalId', hospitalId)
|
|
30113
|
+
const localVarPath = `/api/v1/plans/{planId}/hospitals/{hospitalId}`
|
|
30114
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)))
|
|
30115
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
30116
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30117
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30118
|
+
let baseOptions;
|
|
30119
|
+
if (configuration) {
|
|
30120
|
+
baseOptions = configuration.baseOptions;
|
|
30121
|
+
}
|
|
30122
|
+
|
|
30123
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
30124
|
+
const localVarHeaderParameter = {} as any;
|
|
30125
|
+
const localVarQueryParameter = {} as any;
|
|
30126
|
+
|
|
30127
|
+
// authentication oauth2 required
|
|
30128
|
+
// oauth required
|
|
30129
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30130
|
+
|
|
30131
|
+
|
|
30132
|
+
|
|
30133
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30134
|
+
|
|
30135
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30136
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30137
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30138
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updatePlanHospitalCommand, localVarRequestOptions, configuration)
|
|
30139
|
+
|
|
30140
|
+
return {
|
|
30141
|
+
url: toPathString(localVarUrlObj),
|
|
30142
|
+
options: localVarRequestOptions,
|
|
30143
|
+
};
|
|
30144
|
+
},
|
|
30145
|
+
/**
|
|
30146
|
+
*
|
|
30147
|
+
* @summary Create plan hospital.
|
|
30148
|
+
* @param {string} planId
|
|
30149
|
+
* @param {CreatePlanHospitalCommand} [createPlanHospitalCommand]
|
|
30150
|
+
* @param {*} [options] Override http request option.
|
|
30151
|
+
* @throws {RequiredError}
|
|
30152
|
+
*/
|
|
30153
|
+
apiV1PlansPlanIdHospitalsPost: async (planId: string, createPlanHospitalCommand?: CreatePlanHospitalCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30154
|
+
// verify required parameter 'planId' is not null or undefined
|
|
30155
|
+
assertParamExists('apiV1PlansPlanIdHospitalsPost', 'planId', planId)
|
|
30156
|
+
const localVarPath = `/api/v1/plans/{planId}/hospitals`
|
|
30157
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)));
|
|
30158
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30159
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30160
|
+
let baseOptions;
|
|
30161
|
+
if (configuration) {
|
|
30162
|
+
baseOptions = configuration.baseOptions;
|
|
30163
|
+
}
|
|
30164
|
+
|
|
30165
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30166
|
+
const localVarHeaderParameter = {} as any;
|
|
30167
|
+
const localVarQueryParameter = {} as any;
|
|
30168
|
+
|
|
30169
|
+
// authentication oauth2 required
|
|
30170
|
+
// oauth required
|
|
30171
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30172
|
+
|
|
30173
|
+
|
|
30174
|
+
|
|
30175
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30176
|
+
|
|
30177
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30178
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30179
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30180
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createPlanHospitalCommand, localVarRequestOptions, configuration)
|
|
30181
|
+
|
|
30182
|
+
return {
|
|
30183
|
+
url: toPathString(localVarUrlObj),
|
|
30184
|
+
options: localVarRequestOptions,
|
|
30185
|
+
};
|
|
30186
|
+
},
|
|
30187
|
+
/**
|
|
30188
|
+
*
|
|
30189
|
+
* @summary Update plan.
|
|
30190
|
+
* @param {string} planId
|
|
30191
|
+
* @param {UpdatePlanCommand} [updatePlanCommand]
|
|
30192
|
+
* @param {*} [options] Override http request option.
|
|
30193
|
+
* @throws {RequiredError}
|
|
30194
|
+
*/
|
|
30195
|
+
apiV1PlansPlanIdPut: async (planId: string, updatePlanCommand?: UpdatePlanCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30196
|
+
// verify required parameter 'planId' is not null or undefined
|
|
30197
|
+
assertParamExists('apiV1PlansPlanIdPut', 'planId', planId)
|
|
30198
|
+
const localVarPath = `/api/v1/plans/{planId}`
|
|
30199
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)));
|
|
30200
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30201
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30202
|
+
let baseOptions;
|
|
30203
|
+
if (configuration) {
|
|
30204
|
+
baseOptions = configuration.baseOptions;
|
|
30205
|
+
}
|
|
30206
|
+
|
|
30207
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
30208
|
+
const localVarHeaderParameter = {} as any;
|
|
30209
|
+
const localVarQueryParameter = {} as any;
|
|
30210
|
+
|
|
30211
|
+
// authentication oauth2 required
|
|
30212
|
+
// oauth required
|
|
30213
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30214
|
+
|
|
30215
|
+
|
|
30216
|
+
|
|
30217
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30218
|
+
|
|
30219
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30220
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30221
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30222
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updatePlanCommand, localVarRequestOptions, configuration)
|
|
30223
|
+
|
|
30224
|
+
return {
|
|
30225
|
+
url: toPathString(localVarUrlObj),
|
|
30226
|
+
options: localVarRequestOptions,
|
|
30227
|
+
};
|
|
30228
|
+
},
|
|
30229
|
+
/**
|
|
30230
|
+
*
|
|
30231
|
+
* @summary Create a plan.
|
|
30232
|
+
* @param {CreatePlanCommand} [createPlanCommand]
|
|
30233
|
+
* @param {*} [options] Override http request option.
|
|
30234
|
+
* @throws {RequiredError}
|
|
30235
|
+
*/
|
|
30236
|
+
apiV1PlansPost: async (createPlanCommand?: CreatePlanCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30237
|
+
const localVarPath = `/api/v1/plans`;
|
|
30238
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30239
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30240
|
+
let baseOptions;
|
|
30241
|
+
if (configuration) {
|
|
30242
|
+
baseOptions = configuration.baseOptions;
|
|
30243
|
+
}
|
|
30244
|
+
|
|
30245
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30246
|
+
const localVarHeaderParameter = {} as any;
|
|
30247
|
+
const localVarQueryParameter = {} as any;
|
|
30248
|
+
|
|
30249
|
+
// authentication oauth2 required
|
|
30250
|
+
// oauth required
|
|
30251
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30252
|
+
|
|
30253
|
+
|
|
30254
|
+
|
|
30255
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30256
|
+
|
|
30257
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30258
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30259
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30260
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createPlanCommand, localVarRequestOptions, configuration)
|
|
30261
|
+
|
|
30262
|
+
return {
|
|
30263
|
+
url: toPathString(localVarUrlObj),
|
|
30264
|
+
options: localVarRequestOptions,
|
|
30265
|
+
};
|
|
30266
|
+
},
|
|
30267
|
+
}
|
|
30268
|
+
};
|
|
30269
|
+
|
|
30270
|
+
/**
|
|
30271
|
+
* PlansApi - functional programming interface
|
|
30272
|
+
* @export
|
|
30273
|
+
*/
|
|
30274
|
+
export const PlansApiFp = function(configuration?: Configuration) {
|
|
30275
|
+
const localVarAxiosParamCreator = PlansApiAxiosParamCreator(configuration)
|
|
30276
|
+
return {
|
|
30277
|
+
/**
|
|
30278
|
+
*
|
|
30279
|
+
* @summary Get all plans.
|
|
30280
|
+
* @param {string} [id]
|
|
30281
|
+
* @param {string} [name]
|
|
30282
|
+
* @param {number} [page]
|
|
30283
|
+
* @param {number} [limit]
|
|
30284
|
+
* @param {Date} [lastRetrieved]
|
|
30285
|
+
* @param {*} [options] Override http request option.
|
|
30286
|
+
* @throws {RequiredError}
|
|
30287
|
+
*/
|
|
30288
|
+
async apiV1PlansGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlansModel>> {
|
|
30289
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansGet(id, name, page, limit, lastRetrieved, options);
|
|
30290
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30291
|
+
},
|
|
30292
|
+
/**
|
|
30293
|
+
*
|
|
30294
|
+
* @summary Delete plan.
|
|
30295
|
+
* @param {string} planId
|
|
30296
|
+
* @param {*} [options] Override http request option.
|
|
30297
|
+
* @throws {RequiredError}
|
|
30298
|
+
*/
|
|
30299
|
+
async apiV1PlansPlanIdDelete(planId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
30300
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdDelete(planId, options);
|
|
30301
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30302
|
+
},
|
|
30303
|
+
/**
|
|
30304
|
+
*
|
|
30305
|
+
* @summary Get plan.
|
|
30306
|
+
* @param {string} planId
|
|
30307
|
+
* @param {*} [options] Override http request option.
|
|
30308
|
+
* @throws {RequiredError}
|
|
30309
|
+
*/
|
|
30310
|
+
async apiV1PlansPlanIdGet(planId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanModel>> {
|
|
30311
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdGet(planId, options);
|
|
30312
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30313
|
+
},
|
|
30314
|
+
/**
|
|
30315
|
+
*
|
|
30316
|
+
* @summary Get all plan hospital.
|
|
30317
|
+
* @param {string} planId
|
|
30318
|
+
* @param {number} [page]
|
|
30319
|
+
* @param {number} [limit]
|
|
30320
|
+
* @param {Date} [lastRetrieved]
|
|
30321
|
+
* @param {*} [options] Override http request option.
|
|
30322
|
+
* @throws {RequiredError}
|
|
30323
|
+
*/
|
|
30324
|
+
async apiV1PlansPlanIdHospitalsGet(planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanHospitalsModel>> {
|
|
30325
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdHospitalsGet(planId, page, limit, lastRetrieved, options);
|
|
30326
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30327
|
+
},
|
|
30328
|
+
/**
|
|
30329
|
+
*
|
|
30330
|
+
* @summary Delete plan hospital.
|
|
30331
|
+
* @param {string} planId
|
|
30332
|
+
* @param {string} hospitalId
|
|
30333
|
+
* @param {*} [options] Override http request option.
|
|
30334
|
+
* @throws {RequiredError}
|
|
30335
|
+
*/
|
|
30336
|
+
async apiV1PlansPlanIdHospitalsHospitalIdDelete(planId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
30337
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdHospitalsHospitalIdDelete(planId, hospitalId, options);
|
|
30338
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30339
|
+
},
|
|
30340
|
+
/**
|
|
30341
|
+
*
|
|
30342
|
+
* @summary Get plan hospital.
|
|
30343
|
+
* @param {string} planId
|
|
30344
|
+
* @param {string} hospitalId
|
|
30345
|
+
* @param {*} [options] Override http request option.
|
|
30346
|
+
* @throws {RequiredError}
|
|
30347
|
+
*/
|
|
30348
|
+
async apiV1PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanHospitalModel>> {
|
|
30349
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdHospitalsHospitalIdGet(planId, hospitalId, options);
|
|
30350
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30351
|
+
},
|
|
30352
|
+
/**
|
|
30353
|
+
*
|
|
30354
|
+
* @summary Update plan hospital.
|
|
30355
|
+
* @param {string} planId
|
|
30356
|
+
* @param {string} hospitalId
|
|
30357
|
+
* @param {UpdatePlanHospitalCommand} [updatePlanHospitalCommand]
|
|
30358
|
+
* @param {*} [options] Override http request option.
|
|
30359
|
+
* @throws {RequiredError}
|
|
30360
|
+
*/
|
|
30361
|
+
async apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
30362
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdHospitalsHospitalIdPut(planId, hospitalId, updatePlanHospitalCommand, options);
|
|
30363
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30364
|
+
},
|
|
30365
|
+
/**
|
|
30366
|
+
*
|
|
30367
|
+
* @summary Create plan hospital.
|
|
30368
|
+
* @param {string} planId
|
|
30369
|
+
* @param {CreatePlanHospitalCommand} [createPlanHospitalCommand]
|
|
30370
|
+
* @param {*} [options] Override http request option.
|
|
30371
|
+
* @throws {RequiredError}
|
|
30372
|
+
*/
|
|
30373
|
+
async apiV1PlansPlanIdHospitalsPost(planId: string, createPlanHospitalCommand?: CreatePlanHospitalCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanHospitalModel>> {
|
|
30374
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdHospitalsPost(planId, createPlanHospitalCommand, options);
|
|
30375
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30376
|
+
},
|
|
30377
|
+
/**
|
|
30378
|
+
*
|
|
30379
|
+
* @summary Update plan.
|
|
30380
|
+
* @param {string} planId
|
|
30381
|
+
* @param {UpdatePlanCommand} [updatePlanCommand]
|
|
30382
|
+
* @param {*} [options] Override http request option.
|
|
30383
|
+
* @throws {RequiredError}
|
|
30384
|
+
*/
|
|
30385
|
+
async apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
30386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdPut(planId, updatePlanCommand, options);
|
|
30387
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30388
|
+
},
|
|
30389
|
+
/**
|
|
30390
|
+
*
|
|
30391
|
+
* @summary Create a plan.
|
|
30392
|
+
* @param {CreatePlanCommand} [createPlanCommand]
|
|
30393
|
+
* @param {*} [options] Override http request option.
|
|
30394
|
+
* @throws {RequiredError}
|
|
30395
|
+
*/
|
|
30396
|
+
async apiV1PlansPost(createPlanCommand?: CreatePlanCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanModel>> {
|
|
30397
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPost(createPlanCommand, options);
|
|
30398
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30399
|
+
},
|
|
30400
|
+
}
|
|
30401
|
+
};
|
|
30402
|
+
|
|
30403
|
+
/**
|
|
30404
|
+
* PlansApi - factory interface
|
|
30405
|
+
* @export
|
|
30406
|
+
*/
|
|
30407
|
+
export const PlansApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
30408
|
+
const localVarFp = PlansApiFp(configuration)
|
|
30409
|
+
return {
|
|
30410
|
+
/**
|
|
30411
|
+
*
|
|
30412
|
+
* @summary Get all plans.
|
|
30413
|
+
* @param {string} [id]
|
|
30414
|
+
* @param {string} [name]
|
|
30415
|
+
* @param {number} [page]
|
|
30416
|
+
* @param {number} [limit]
|
|
30417
|
+
* @param {Date} [lastRetrieved]
|
|
30418
|
+
* @param {*} [options] Override http request option.
|
|
30419
|
+
* @throws {RequiredError}
|
|
30420
|
+
*/
|
|
30421
|
+
apiV1PlansGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PlansModel> {
|
|
30422
|
+
return localVarFp.apiV1PlansGet(id, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
30423
|
+
},
|
|
30424
|
+
/**
|
|
30425
|
+
*
|
|
30426
|
+
* @summary Delete plan.
|
|
30427
|
+
* @param {string} planId
|
|
30428
|
+
* @param {*} [options] Override http request option.
|
|
30429
|
+
* @throws {RequiredError}
|
|
30430
|
+
*/
|
|
30431
|
+
apiV1PlansPlanIdDelete(planId: string, options?: any): AxiosPromise<boolean> {
|
|
30432
|
+
return localVarFp.apiV1PlansPlanIdDelete(planId, options).then((request) => request(axios, basePath));
|
|
30433
|
+
},
|
|
30434
|
+
/**
|
|
30435
|
+
*
|
|
30436
|
+
* @summary Get plan.
|
|
30437
|
+
* @param {string} planId
|
|
30438
|
+
* @param {*} [options] Override http request option.
|
|
30439
|
+
* @throws {RequiredError}
|
|
30440
|
+
*/
|
|
30441
|
+
apiV1PlansPlanIdGet(planId: string, options?: any): AxiosPromise<PlanModel> {
|
|
30442
|
+
return localVarFp.apiV1PlansPlanIdGet(planId, options).then((request) => request(axios, basePath));
|
|
30443
|
+
},
|
|
30444
|
+
/**
|
|
30445
|
+
*
|
|
30446
|
+
* @summary Get all plan hospital.
|
|
30447
|
+
* @param {string} planId
|
|
30448
|
+
* @param {number} [page]
|
|
30449
|
+
* @param {number} [limit]
|
|
30450
|
+
* @param {Date} [lastRetrieved]
|
|
30451
|
+
* @param {*} [options] Override http request option.
|
|
30452
|
+
* @throws {RequiredError}
|
|
30453
|
+
*/
|
|
30454
|
+
apiV1PlansPlanIdHospitalsGet(planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PlanHospitalsModel> {
|
|
30455
|
+
return localVarFp.apiV1PlansPlanIdHospitalsGet(planId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
30456
|
+
},
|
|
30457
|
+
/**
|
|
30458
|
+
*
|
|
30459
|
+
* @summary Delete plan hospital.
|
|
30460
|
+
* @param {string} planId
|
|
30461
|
+
* @param {string} hospitalId
|
|
30462
|
+
* @param {*} [options] Override http request option.
|
|
30463
|
+
* @throws {RequiredError}
|
|
30464
|
+
*/
|
|
30465
|
+
apiV1PlansPlanIdHospitalsHospitalIdDelete(planId: string, hospitalId: string, options?: any): AxiosPromise<boolean> {
|
|
30466
|
+
return localVarFp.apiV1PlansPlanIdHospitalsHospitalIdDelete(planId, hospitalId, options).then((request) => request(axios, basePath));
|
|
30467
|
+
},
|
|
30468
|
+
/**
|
|
30469
|
+
*
|
|
30470
|
+
* @summary Get plan hospital.
|
|
30471
|
+
* @param {string} planId
|
|
30472
|
+
* @param {string} hospitalId
|
|
30473
|
+
* @param {*} [options] Override http request option.
|
|
30474
|
+
* @throws {RequiredError}
|
|
30475
|
+
*/
|
|
30476
|
+
apiV1PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: any): AxiosPromise<PlanHospitalModel> {
|
|
30477
|
+
return localVarFp.apiV1PlansPlanIdHospitalsHospitalIdGet(planId, hospitalId, options).then((request) => request(axios, basePath));
|
|
30478
|
+
},
|
|
30479
|
+
/**
|
|
30480
|
+
*
|
|
30481
|
+
* @summary Update plan hospital.
|
|
30482
|
+
* @param {string} planId
|
|
30483
|
+
* @param {string} hospitalId
|
|
30484
|
+
* @param {UpdatePlanHospitalCommand} [updatePlanHospitalCommand]
|
|
30485
|
+
* @param {*} [options] Override http request option.
|
|
30486
|
+
* @throws {RequiredError}
|
|
30487
|
+
*/
|
|
30488
|
+
apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options?: any): AxiosPromise<boolean> {
|
|
30489
|
+
return localVarFp.apiV1PlansPlanIdHospitalsHospitalIdPut(planId, hospitalId, updatePlanHospitalCommand, options).then((request) => request(axios, basePath));
|
|
30490
|
+
},
|
|
30491
|
+
/**
|
|
30492
|
+
*
|
|
30493
|
+
* @summary Create plan hospital.
|
|
30494
|
+
* @param {string} planId
|
|
30495
|
+
* @param {CreatePlanHospitalCommand} [createPlanHospitalCommand]
|
|
30496
|
+
* @param {*} [options] Override http request option.
|
|
30497
|
+
* @throws {RequiredError}
|
|
30498
|
+
*/
|
|
30499
|
+
apiV1PlansPlanIdHospitalsPost(planId: string, createPlanHospitalCommand?: CreatePlanHospitalCommand, options?: any): AxiosPromise<PlanHospitalModel> {
|
|
30500
|
+
return localVarFp.apiV1PlansPlanIdHospitalsPost(planId, createPlanHospitalCommand, options).then((request) => request(axios, basePath));
|
|
30501
|
+
},
|
|
30502
|
+
/**
|
|
30503
|
+
*
|
|
30504
|
+
* @summary Update plan.
|
|
30505
|
+
* @param {string} planId
|
|
30506
|
+
* @param {UpdatePlanCommand} [updatePlanCommand]
|
|
30507
|
+
* @param {*} [options] Override http request option.
|
|
30508
|
+
* @throws {RequiredError}
|
|
30509
|
+
*/
|
|
30510
|
+
apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand, options?: any): AxiosPromise<boolean> {
|
|
30511
|
+
return localVarFp.apiV1PlansPlanIdPut(planId, updatePlanCommand, options).then((request) => request(axios, basePath));
|
|
30512
|
+
},
|
|
30513
|
+
/**
|
|
30514
|
+
*
|
|
30515
|
+
* @summary Create a plan.
|
|
30516
|
+
* @param {CreatePlanCommand} [createPlanCommand]
|
|
30517
|
+
* @param {*} [options] Override http request option.
|
|
30518
|
+
* @throws {RequiredError}
|
|
30519
|
+
*/
|
|
30520
|
+
apiV1PlansPost(createPlanCommand?: CreatePlanCommand, options?: any): AxiosPromise<PlanModel> {
|
|
30521
|
+
return localVarFp.apiV1PlansPost(createPlanCommand, options).then((request) => request(axios, basePath));
|
|
30522
|
+
},
|
|
30523
|
+
};
|
|
30524
|
+
};
|
|
30525
|
+
|
|
30526
|
+
/**
|
|
30527
|
+
* PlansApi - object-oriented interface
|
|
30528
|
+
* @export
|
|
30529
|
+
* @class PlansApi
|
|
30530
|
+
* @extends {BaseAPI}
|
|
30531
|
+
*/
|
|
30532
|
+
export class PlansApi extends BaseAPI {
|
|
30533
|
+
/**
|
|
30534
|
+
*
|
|
30535
|
+
* @summary Get all plans.
|
|
30536
|
+
* @param {string} [id]
|
|
30537
|
+
* @param {string} [name]
|
|
30538
|
+
* @param {number} [page]
|
|
30539
|
+
* @param {number} [limit]
|
|
30540
|
+
* @param {Date} [lastRetrieved]
|
|
30541
|
+
* @param {*} [options] Override http request option.
|
|
30542
|
+
* @throws {RequiredError}
|
|
30543
|
+
* @memberof PlansApi
|
|
30544
|
+
*/
|
|
30545
|
+
public apiV1PlansGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
30546
|
+
return PlansApiFp(this.configuration).apiV1PlansGet(id, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30547
|
+
}
|
|
30548
|
+
|
|
30549
|
+
/**
|
|
30550
|
+
*
|
|
30551
|
+
* @summary Delete plan.
|
|
30552
|
+
* @param {string} planId
|
|
30553
|
+
* @param {*} [options] Override http request option.
|
|
30554
|
+
* @throws {RequiredError}
|
|
30555
|
+
* @memberof PlansApi
|
|
30556
|
+
*/
|
|
30557
|
+
public apiV1PlansPlanIdDelete(planId: string, options?: AxiosRequestConfig) {
|
|
30558
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdDelete(planId, options).then((request) => request(this.axios, this.basePath));
|
|
30559
|
+
}
|
|
30560
|
+
|
|
30561
|
+
/**
|
|
30562
|
+
*
|
|
30563
|
+
* @summary Get plan.
|
|
30564
|
+
* @param {string} planId
|
|
30565
|
+
* @param {*} [options] Override http request option.
|
|
30566
|
+
* @throws {RequiredError}
|
|
30567
|
+
* @memberof PlansApi
|
|
30568
|
+
*/
|
|
30569
|
+
public apiV1PlansPlanIdGet(planId: string, options?: AxiosRequestConfig) {
|
|
30570
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdGet(planId, options).then((request) => request(this.axios, this.basePath));
|
|
30571
|
+
}
|
|
30572
|
+
|
|
30573
|
+
/**
|
|
30574
|
+
*
|
|
30575
|
+
* @summary Get all plan hospital.
|
|
30576
|
+
* @param {string} planId
|
|
30577
|
+
* @param {number} [page]
|
|
30578
|
+
* @param {number} [limit]
|
|
30579
|
+
* @param {Date} [lastRetrieved]
|
|
30580
|
+
* @param {*} [options] Override http request option.
|
|
30581
|
+
* @throws {RequiredError}
|
|
30582
|
+
* @memberof PlansApi
|
|
30583
|
+
*/
|
|
30584
|
+
public apiV1PlansPlanIdHospitalsGet(planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
30585
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsGet(planId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30586
|
+
}
|
|
30587
|
+
|
|
30588
|
+
/**
|
|
30589
|
+
*
|
|
30590
|
+
* @summary Delete plan hospital.
|
|
30591
|
+
* @param {string} planId
|
|
30592
|
+
* @param {string} hospitalId
|
|
30593
|
+
* @param {*} [options] Override http request option.
|
|
30594
|
+
* @throws {RequiredError}
|
|
30595
|
+
* @memberof PlansApi
|
|
30596
|
+
*/
|
|
30597
|
+
public apiV1PlansPlanIdHospitalsHospitalIdDelete(planId: string, hospitalId: string, options?: AxiosRequestConfig) {
|
|
30598
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsHospitalIdDelete(planId, hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
30599
|
+
}
|
|
30600
|
+
|
|
30601
|
+
/**
|
|
30602
|
+
*
|
|
30603
|
+
* @summary Get plan hospital.
|
|
30604
|
+
* @param {string} planId
|
|
30605
|
+
* @param {string} hospitalId
|
|
30606
|
+
* @param {*} [options] Override http request option.
|
|
30607
|
+
* @throws {RequiredError}
|
|
30608
|
+
* @memberof PlansApi
|
|
30609
|
+
*/
|
|
30610
|
+
public apiV1PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: AxiosRequestConfig) {
|
|
30611
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsHospitalIdGet(planId, hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
30612
|
+
}
|
|
30613
|
+
|
|
30614
|
+
/**
|
|
30615
|
+
*
|
|
30616
|
+
* @summary Update plan hospital.
|
|
30617
|
+
* @param {string} planId
|
|
30618
|
+
* @param {string} hospitalId
|
|
30619
|
+
* @param {UpdatePlanHospitalCommand} [updatePlanHospitalCommand]
|
|
30620
|
+
* @param {*} [options] Override http request option.
|
|
30621
|
+
* @throws {RequiredError}
|
|
30622
|
+
* @memberof PlansApi
|
|
30623
|
+
*/
|
|
30624
|
+
public apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options?: AxiosRequestConfig) {
|
|
30625
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsHospitalIdPut(planId, hospitalId, updatePlanHospitalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
30626
|
+
}
|
|
30627
|
+
|
|
30628
|
+
/**
|
|
30629
|
+
*
|
|
30630
|
+
* @summary Create plan hospital.
|
|
30631
|
+
* @param {string} planId
|
|
30632
|
+
* @param {CreatePlanHospitalCommand} [createPlanHospitalCommand]
|
|
30633
|
+
* @param {*} [options] Override http request option.
|
|
30634
|
+
* @throws {RequiredError}
|
|
30635
|
+
* @memberof PlansApi
|
|
30636
|
+
*/
|
|
30637
|
+
public apiV1PlansPlanIdHospitalsPost(planId: string, createPlanHospitalCommand?: CreatePlanHospitalCommand, options?: AxiosRequestConfig) {
|
|
30638
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsPost(planId, createPlanHospitalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
30639
|
+
}
|
|
30640
|
+
|
|
30641
|
+
/**
|
|
30642
|
+
*
|
|
30643
|
+
* @summary Update plan.
|
|
30644
|
+
* @param {string} planId
|
|
30645
|
+
* @param {UpdatePlanCommand} [updatePlanCommand]
|
|
30646
|
+
* @param {*} [options] Override http request option.
|
|
30647
|
+
* @throws {RequiredError}
|
|
30648
|
+
* @memberof PlansApi
|
|
30649
|
+
*/
|
|
30650
|
+
public apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand, options?: AxiosRequestConfig) {
|
|
30651
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdPut(planId, updatePlanCommand, options).then((request) => request(this.axios, this.basePath));
|
|
30652
|
+
}
|
|
30653
|
+
|
|
30654
|
+
/**
|
|
30655
|
+
*
|
|
30656
|
+
* @summary Create a plan.
|
|
30657
|
+
* @param {CreatePlanCommand} [createPlanCommand]
|
|
30658
|
+
* @param {*} [options] Override http request option.
|
|
30659
|
+
* @throws {RequiredError}
|
|
30660
|
+
* @memberof PlansApi
|
|
30661
|
+
*/
|
|
30662
|
+
public apiV1PlansPost(createPlanCommand?: CreatePlanCommand, options?: AxiosRequestConfig) {
|
|
30663
|
+
return PlansApiFp(this.configuration).apiV1PlansPost(createPlanCommand, options).then((request) => request(this.axios, this.basePath));
|
|
30664
|
+
}
|
|
30665
|
+
}
|
|
30666
|
+
|
|
30667
|
+
|
|
30668
|
+
/**
|
|
30669
|
+
* ProfilesApi - axios parameter creator
|
|
30670
|
+
* @export
|
|
30671
|
+
*/
|
|
30672
|
+
export const ProfilesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30673
|
+
return {
|
|
30674
|
+
/**
|
|
30675
|
+
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
30676
|
+
* @summary Change user\'s email on both Identity and Api.
|
|
30677
|
+
* @param {ChangeEmailCommand} [changeEmailCommand]
|
|
30678
|
+
* @param {*} [options] Override http request option.
|
|
30679
|
+
* @throws {RequiredError}
|
|
30680
|
+
*/
|
|
30681
|
+
apiV1ProfilesChangeemailPost: async (changeEmailCommand?: ChangeEmailCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30682
|
+
const localVarPath = `/api/v1/profiles/changeemail`;
|
|
30683
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28230
30684
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28231
30685
|
let baseOptions;
|
|
28232
30686
|
if (configuration) {
|
|
@@ -28248,7 +30702,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
28248
30702
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28249
30703
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28250
30704
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28251
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
30705
|
+
localVarRequestOptions.data = serializeDataIfNeeded(changeEmailCommand, localVarRequestOptions, configuration)
|
|
28252
30706
|
|
|
28253
30707
|
return {
|
|
28254
30708
|
url: toPathString(localVarUrlObj),
|
|
@@ -28257,17 +30711,13 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
28257
30711
|
},
|
|
28258
30712
|
/**
|
|
28259
30713
|
*
|
|
28260
|
-
* @summary
|
|
28261
|
-
* @param {
|
|
28262
|
-
* @param {boolean} [unreadCountOnly]
|
|
28263
|
-
* @param {number} [page]
|
|
28264
|
-
* @param {number} [limit]
|
|
28265
|
-
* @param {Date} [lastRetrieved]
|
|
30714
|
+
* @summary Configm email.
|
|
30715
|
+
* @param {ConfirmEmailCommand} [confirmEmailCommand]
|
|
28266
30716
|
* @param {*} [options] Override http request option.
|
|
28267
30717
|
* @throws {RequiredError}
|
|
28268
30718
|
*/
|
|
28269
|
-
|
|
28270
|
-
const localVarPath = `/api/v1/
|
|
30719
|
+
apiV1ProfilesConfirmemailPost: async (confirmEmailCommand?: ConfirmEmailCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30720
|
+
const localVarPath = `/api/v1/profiles/confirmemail`;
|
|
28271
30721
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28272
30722
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28273
30723
|
let baseOptions;
|
|
@@ -28275,7 +30725,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
28275
30725
|
baseOptions = configuration.baseOptions;
|
|
28276
30726
|
}
|
|
28277
30727
|
|
|
28278
|
-
const localVarRequestOptions = { method: '
|
|
30728
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
28279
30729
|
const localVarHeaderParameter = {} as any;
|
|
28280
30730
|
const localVarQueryParameter = {} as any;
|
|
28281
30731
|
|
|
@@ -28283,27 +30733,42 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
28283
30733
|
// oauth required
|
|
28284
30734
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
28285
30735
|
|
|
28286
|
-
if (notificationCode !== undefined) {
|
|
28287
|
-
localVarQueryParameter['NotificationCode'] = notificationCode;
|
|
28288
|
-
}
|
|
28289
30736
|
|
|
28290
|
-
|
|
28291
|
-
|
|
28292
|
-
}
|
|
30737
|
+
|
|
30738
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28293
30739
|
|
|
28294
|
-
|
|
28295
|
-
|
|
28296
|
-
}
|
|
30740
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30741
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30742
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30743
|
+
localVarRequestOptions.data = serializeDataIfNeeded(confirmEmailCommand, localVarRequestOptions, configuration)
|
|
28297
30744
|
|
|
28298
|
-
|
|
28299
|
-
|
|
30745
|
+
return {
|
|
30746
|
+
url: toPathString(localVarUrlObj),
|
|
30747
|
+
options: localVarRequestOptions,
|
|
30748
|
+
};
|
|
30749
|
+
},
|
|
30750
|
+
/**
|
|
30751
|
+
*
|
|
30752
|
+
* @summary Get Profile.
|
|
30753
|
+
* @param {*} [options] Override http request option.
|
|
30754
|
+
* @throws {RequiredError}
|
|
30755
|
+
*/
|
|
30756
|
+
apiV1ProfilesGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30757
|
+
const localVarPath = `/api/v1/profiles`;
|
|
30758
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30759
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30760
|
+
let baseOptions;
|
|
30761
|
+
if (configuration) {
|
|
30762
|
+
baseOptions = configuration.baseOptions;
|
|
28300
30763
|
}
|
|
28301
30764
|
|
|
28302
|
-
|
|
28303
|
-
|
|
28304
|
-
|
|
28305
|
-
|
|
28306
|
-
|
|
30765
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30766
|
+
const localVarHeaderParameter = {} as any;
|
|
30767
|
+
const localVarQueryParameter = {} as any;
|
|
30768
|
+
|
|
30769
|
+
// authentication oauth2 required
|
|
30770
|
+
// oauth required
|
|
30771
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
28307
30772
|
|
|
28308
30773
|
|
|
28309
30774
|
|
|
@@ -28320,108 +30785,126 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
28320
30785
|
};
|
|
28321
30786
|
|
|
28322
30787
|
/**
|
|
28323
|
-
*
|
|
30788
|
+
* ProfilesApi - functional programming interface
|
|
28324
30789
|
* @export
|
|
28325
30790
|
*/
|
|
28326
|
-
export const
|
|
28327
|
-
const localVarAxiosParamCreator =
|
|
30791
|
+
export const ProfilesApiFp = function(configuration?: Configuration) {
|
|
30792
|
+
const localVarAxiosParamCreator = ProfilesApiAxiosParamCreator(configuration)
|
|
28328
30793
|
return {
|
|
30794
|
+
/**
|
|
30795
|
+
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
30796
|
+
* @summary Change user\'s email on both Identity and Api.
|
|
30797
|
+
* @param {ChangeEmailCommand} [changeEmailCommand]
|
|
30798
|
+
* @param {*} [options] Override http request option.
|
|
30799
|
+
* @throws {RequiredError}
|
|
30800
|
+
*/
|
|
30801
|
+
async apiV1ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
30802
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ProfilesChangeemailPost(changeEmailCommand, options);
|
|
30803
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30804
|
+
},
|
|
28329
30805
|
/**
|
|
28330
30806
|
*
|
|
28331
|
-
* @summary
|
|
28332
|
-
* @param {
|
|
30807
|
+
* @summary Configm email.
|
|
30808
|
+
* @param {ConfirmEmailCommand} [confirmEmailCommand]
|
|
28333
30809
|
* @param {*} [options] Override http request option.
|
|
28334
30810
|
* @throws {RequiredError}
|
|
28335
30811
|
*/
|
|
28336
|
-
async
|
|
28337
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30812
|
+
async apiV1ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
30813
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ProfilesConfirmemailPost(confirmEmailCommand, options);
|
|
28338
30814
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28339
30815
|
},
|
|
28340
30816
|
/**
|
|
28341
30817
|
*
|
|
28342
|
-
* @summary Get
|
|
28343
|
-
* @param {NotificationCode} [notificationCode]
|
|
28344
|
-
* @param {boolean} [unreadCountOnly]
|
|
28345
|
-
* @param {number} [page]
|
|
28346
|
-
* @param {number} [limit]
|
|
28347
|
-
* @param {Date} [lastRetrieved]
|
|
30818
|
+
* @summary Get Profile.
|
|
28348
30819
|
* @param {*} [options] Override http request option.
|
|
28349
30820
|
* @throws {RequiredError}
|
|
28350
30821
|
*/
|
|
28351
|
-
async
|
|
28352
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30822
|
+
async apiV1ProfilesGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>> {
|
|
30823
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ProfilesGet(options);
|
|
28353
30824
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28354
30825
|
},
|
|
28355
30826
|
}
|
|
28356
30827
|
};
|
|
28357
30828
|
|
|
28358
30829
|
/**
|
|
28359
|
-
*
|
|
30830
|
+
* ProfilesApi - factory interface
|
|
28360
30831
|
* @export
|
|
28361
30832
|
*/
|
|
28362
|
-
export const
|
|
28363
|
-
const localVarFp =
|
|
30833
|
+
export const ProfilesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
30834
|
+
const localVarFp = ProfilesApiFp(configuration)
|
|
28364
30835
|
return {
|
|
30836
|
+
/**
|
|
30837
|
+
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
30838
|
+
* @summary Change user\'s email on both Identity and Api.
|
|
30839
|
+
* @param {ChangeEmailCommand} [changeEmailCommand]
|
|
30840
|
+
* @param {*} [options] Override http request option.
|
|
30841
|
+
* @throws {RequiredError}
|
|
30842
|
+
*/
|
|
30843
|
+
apiV1ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: any): AxiosPromise<boolean> {
|
|
30844
|
+
return localVarFp.apiV1ProfilesChangeemailPost(changeEmailCommand, options).then((request) => request(axios, basePath));
|
|
30845
|
+
},
|
|
28365
30846
|
/**
|
|
28366
30847
|
*
|
|
28367
|
-
* @summary
|
|
28368
|
-
* @param {
|
|
30848
|
+
* @summary Configm email.
|
|
30849
|
+
* @param {ConfirmEmailCommand} [confirmEmailCommand]
|
|
28369
30850
|
* @param {*} [options] Override http request option.
|
|
28370
30851
|
* @throws {RequiredError}
|
|
28371
30852
|
*/
|
|
28372
|
-
|
|
28373
|
-
return localVarFp.
|
|
30853
|
+
apiV1ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: any): AxiosPromise<boolean> {
|
|
30854
|
+
return localVarFp.apiV1ProfilesConfirmemailPost(confirmEmailCommand, options).then((request) => request(axios, basePath));
|
|
28374
30855
|
},
|
|
28375
30856
|
/**
|
|
28376
30857
|
*
|
|
28377
|
-
* @summary Get
|
|
28378
|
-
* @param {NotificationCode} [notificationCode]
|
|
28379
|
-
* @param {boolean} [unreadCountOnly]
|
|
28380
|
-
* @param {number} [page]
|
|
28381
|
-
* @param {number} [limit]
|
|
28382
|
-
* @param {Date} [lastRetrieved]
|
|
30858
|
+
* @summary Get Profile.
|
|
28383
30859
|
* @param {*} [options] Override http request option.
|
|
28384
30860
|
* @throws {RequiredError}
|
|
28385
30861
|
*/
|
|
28386
|
-
|
|
28387
|
-
return localVarFp.
|
|
30862
|
+
apiV1ProfilesGet(options?: any): AxiosPromise<UserModel> {
|
|
30863
|
+
return localVarFp.apiV1ProfilesGet(options).then((request) => request(axios, basePath));
|
|
28388
30864
|
},
|
|
28389
30865
|
};
|
|
28390
30866
|
};
|
|
28391
30867
|
|
|
28392
30868
|
/**
|
|
28393
|
-
*
|
|
30869
|
+
* ProfilesApi - object-oriented interface
|
|
28394
30870
|
* @export
|
|
28395
|
-
* @class
|
|
30871
|
+
* @class ProfilesApi
|
|
28396
30872
|
* @extends {BaseAPI}
|
|
28397
30873
|
*/
|
|
28398
|
-
export class
|
|
30874
|
+
export class ProfilesApi extends BaseAPI {
|
|
30875
|
+
/**
|
|
30876
|
+
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
30877
|
+
* @summary Change user\'s email on both Identity and Api.
|
|
30878
|
+
* @param {ChangeEmailCommand} [changeEmailCommand]
|
|
30879
|
+
* @param {*} [options] Override http request option.
|
|
30880
|
+
* @throws {RequiredError}
|
|
30881
|
+
* @memberof ProfilesApi
|
|
30882
|
+
*/
|
|
30883
|
+
public apiV1ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: AxiosRequestConfig) {
|
|
30884
|
+
return ProfilesApiFp(this.configuration).apiV1ProfilesChangeemailPost(changeEmailCommand, options).then((request) => request(this.axios, this.basePath));
|
|
30885
|
+
}
|
|
30886
|
+
|
|
28399
30887
|
/**
|
|
28400
30888
|
*
|
|
28401
|
-
* @summary
|
|
28402
|
-
* @param {
|
|
30889
|
+
* @summary Configm email.
|
|
30890
|
+
* @param {ConfirmEmailCommand} [confirmEmailCommand]
|
|
28403
30891
|
* @param {*} [options] Override http request option.
|
|
28404
30892
|
* @throws {RequiredError}
|
|
28405
|
-
* @memberof
|
|
30893
|
+
* @memberof ProfilesApi
|
|
28406
30894
|
*/
|
|
28407
|
-
public
|
|
28408
|
-
return
|
|
30895
|
+
public apiV1ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: AxiosRequestConfig) {
|
|
30896
|
+
return ProfilesApiFp(this.configuration).apiV1ProfilesConfirmemailPost(confirmEmailCommand, options).then((request) => request(this.axios, this.basePath));
|
|
28409
30897
|
}
|
|
28410
30898
|
|
|
28411
30899
|
/**
|
|
28412
30900
|
*
|
|
28413
|
-
* @summary Get
|
|
28414
|
-
* @param {NotificationCode} [notificationCode]
|
|
28415
|
-
* @param {boolean} [unreadCountOnly]
|
|
28416
|
-
* @param {number} [page]
|
|
28417
|
-
* @param {number} [limit]
|
|
28418
|
-
* @param {Date} [lastRetrieved]
|
|
30901
|
+
* @summary Get Profile.
|
|
28419
30902
|
* @param {*} [options] Override http request option.
|
|
28420
30903
|
* @throws {RequiredError}
|
|
28421
|
-
* @memberof
|
|
30904
|
+
* @memberof ProfilesApi
|
|
28422
30905
|
*/
|
|
28423
|
-
public
|
|
28424
|
-
return
|
|
30906
|
+
public apiV1ProfilesGet(options?: AxiosRequestConfig) {
|
|
30907
|
+
return ProfilesApiFp(this.configuration).apiV1ProfilesGet(options).then((request) => request(this.axios, this.basePath));
|
|
28425
30908
|
}
|
|
28426
30909
|
}
|
|
28427
30910
|
|