ch-admin-api-client-typescript 2.2.6 → 2.2.14
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 +1923 -194
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +2012 -263
- package/package.json +1 -1
- package/src/api.ts +2934 -426
package/src/api.ts
CHANGED
|
@@ -890,6 +890,50 @@ export interface ArticleTagItemModel {
|
|
|
890
890
|
*/
|
|
891
891
|
'order'?: number;
|
|
892
892
|
}
|
|
893
|
+
/**
|
|
894
|
+
*
|
|
895
|
+
* @export
|
|
896
|
+
* @interface ArticleTagModel
|
|
897
|
+
*/
|
|
898
|
+
export interface ArticleTagModel {
|
|
899
|
+
/**
|
|
900
|
+
*
|
|
901
|
+
* @type {string}
|
|
902
|
+
* @memberof ArticleTagModel
|
|
903
|
+
*/
|
|
904
|
+
'articleId'?: string;
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @type {string}
|
|
908
|
+
* @memberof ArticleTagModel
|
|
909
|
+
*/
|
|
910
|
+
'tagId'?: string | null;
|
|
911
|
+
/**
|
|
912
|
+
*
|
|
913
|
+
* @type {number}
|
|
914
|
+
* @memberof ArticleTagModel
|
|
915
|
+
*/
|
|
916
|
+
'order'?: number;
|
|
917
|
+
}
|
|
918
|
+
/**
|
|
919
|
+
*
|
|
920
|
+
* @export
|
|
921
|
+
* @interface ArticleTagsModel
|
|
922
|
+
*/
|
|
923
|
+
export interface ArticleTagsModel {
|
|
924
|
+
/**
|
|
925
|
+
*
|
|
926
|
+
* @type {Array<ArticleTagItemModel>}
|
|
927
|
+
* @memberof ArticleTagsModel
|
|
928
|
+
*/
|
|
929
|
+
'items'?: Array<ArticleTagItemModel> | null;
|
|
930
|
+
/**
|
|
931
|
+
*
|
|
932
|
+
* @type {PagedListMetaData}
|
|
933
|
+
* @memberof ArticleTagsModel
|
|
934
|
+
*/
|
|
935
|
+
'metaData'?: PagedListMetaData;
|
|
936
|
+
}
|
|
893
937
|
/**
|
|
894
938
|
*
|
|
895
939
|
* @export
|
|
@@ -1652,6 +1696,19 @@ export interface BookingsModel {
|
|
|
1652
1696
|
*/
|
|
1653
1697
|
'metaData'?: PagedListMetaData;
|
|
1654
1698
|
}
|
|
1699
|
+
/**
|
|
1700
|
+
*
|
|
1701
|
+
* @export
|
|
1702
|
+
* @interface ChangeEmailCommand
|
|
1703
|
+
*/
|
|
1704
|
+
export interface ChangeEmailCommand {
|
|
1705
|
+
/**
|
|
1706
|
+
*
|
|
1707
|
+
* @type {string}
|
|
1708
|
+
* @memberof ChangeEmailCommand
|
|
1709
|
+
*/
|
|
1710
|
+
'email'?: string | null;
|
|
1711
|
+
}
|
|
1655
1712
|
/**
|
|
1656
1713
|
*
|
|
1657
1714
|
* @export
|
|
@@ -1825,6 +1882,19 @@ export interface CommunicationUserTokenModel {
|
|
|
1825
1882
|
*/
|
|
1826
1883
|
'gateway'?: string | null;
|
|
1827
1884
|
}
|
|
1885
|
+
/**
|
|
1886
|
+
*
|
|
1887
|
+
* @export
|
|
1888
|
+
* @interface ConfirmEmailCommand
|
|
1889
|
+
*/
|
|
1890
|
+
export interface ConfirmEmailCommand {
|
|
1891
|
+
/**
|
|
1892
|
+
*
|
|
1893
|
+
* @type {string}
|
|
1894
|
+
* @memberof ConfirmEmailCommand
|
|
1895
|
+
*/
|
|
1896
|
+
'code'?: string | null;
|
|
1897
|
+
}
|
|
1828
1898
|
/**
|
|
1829
1899
|
*
|
|
1830
1900
|
* @export
|
|
@@ -3322,6 +3392,25 @@ export interface CreateArticleSourceCommand {
|
|
|
3322
3392
|
*/
|
|
3323
3393
|
'order'?: number;
|
|
3324
3394
|
}
|
|
3395
|
+
/**
|
|
3396
|
+
*
|
|
3397
|
+
* @export
|
|
3398
|
+
* @interface CreateArticleTagCommand
|
|
3399
|
+
*/
|
|
3400
|
+
export interface CreateArticleTagCommand {
|
|
3401
|
+
/**
|
|
3402
|
+
*
|
|
3403
|
+
* @type {string}
|
|
3404
|
+
* @memberof CreateArticleTagCommand
|
|
3405
|
+
*/
|
|
3406
|
+
'articleId'?: string;
|
|
3407
|
+
/**
|
|
3408
|
+
*
|
|
3409
|
+
* @type {string}
|
|
3410
|
+
* @memberof CreateArticleTagCommand
|
|
3411
|
+
*/
|
|
3412
|
+
'tagId'?: string | null;
|
|
3413
|
+
}
|
|
3325
3414
|
/**
|
|
3326
3415
|
*
|
|
3327
3416
|
* @export
|
|
@@ -4085,6 +4174,91 @@ export interface CreateHospitalSpecialtyCommand {
|
|
|
4085
4174
|
*/
|
|
4086
4175
|
'order'?: number;
|
|
4087
4176
|
}
|
|
4177
|
+
/**
|
|
4178
|
+
*
|
|
4179
|
+
* @export
|
|
4180
|
+
* @interface CreateManagerCommand
|
|
4181
|
+
*/
|
|
4182
|
+
export interface CreateManagerCommand {
|
|
4183
|
+
/**
|
|
4184
|
+
*
|
|
4185
|
+
* @type {string}
|
|
4186
|
+
* @memberof CreateManagerCommand
|
|
4187
|
+
*/
|
|
4188
|
+
'firstName'?: string | null;
|
|
4189
|
+
/**
|
|
4190
|
+
*
|
|
4191
|
+
* @type {string}
|
|
4192
|
+
* @memberof CreateManagerCommand
|
|
4193
|
+
*/
|
|
4194
|
+
'lastName'?: string | null;
|
|
4195
|
+
/**
|
|
4196
|
+
*
|
|
4197
|
+
* @type {string}
|
|
4198
|
+
* @memberof CreateManagerCommand
|
|
4199
|
+
*/
|
|
4200
|
+
'phone'?: string | null;
|
|
4201
|
+
/**
|
|
4202
|
+
*
|
|
4203
|
+
* @type {string}
|
|
4204
|
+
* @memberof CreateManagerCommand
|
|
4205
|
+
*/
|
|
4206
|
+
'photo'?: string | null;
|
|
4207
|
+
/**
|
|
4208
|
+
*
|
|
4209
|
+
* @type {string}
|
|
4210
|
+
* @memberof CreateManagerCommand
|
|
4211
|
+
*/
|
|
4212
|
+
'photoThumbnail'?: string | null;
|
|
4213
|
+
/**
|
|
4214
|
+
*
|
|
4215
|
+
* @type {Gender}
|
|
4216
|
+
* @memberof CreateManagerCommand
|
|
4217
|
+
*/
|
|
4218
|
+
'gender'?: Gender;
|
|
4219
|
+
/**
|
|
4220
|
+
*
|
|
4221
|
+
* @type {Date}
|
|
4222
|
+
* @memberof CreateManagerCommand
|
|
4223
|
+
*/
|
|
4224
|
+
'dateOfBirth'?: Date | null;
|
|
4225
|
+
/**
|
|
4226
|
+
*
|
|
4227
|
+
* @type {Array<MediaModel>}
|
|
4228
|
+
* @memberof CreateManagerCommand
|
|
4229
|
+
*/
|
|
4230
|
+
'medias'?: Array<MediaModel> | null;
|
|
4231
|
+
/**
|
|
4232
|
+
*
|
|
4233
|
+
* @type {Array<UserLanguageModel>}
|
|
4234
|
+
* @memberof CreateManagerCommand
|
|
4235
|
+
*/
|
|
4236
|
+
'languages'?: Array<UserLanguageModel> | null;
|
|
4237
|
+
/**
|
|
4238
|
+
*
|
|
4239
|
+
* @type {Array<UserLocationModel>}
|
|
4240
|
+
* @memberof CreateManagerCommand
|
|
4241
|
+
*/
|
|
4242
|
+
'locations'?: Array<UserLocationModel> | null;
|
|
4243
|
+
/**
|
|
4244
|
+
*
|
|
4245
|
+
* @type {string}
|
|
4246
|
+
* @memberof CreateManagerCommand
|
|
4247
|
+
*/
|
|
4248
|
+
'userName'?: string | null;
|
|
4249
|
+
/**
|
|
4250
|
+
*
|
|
4251
|
+
* @type {string}
|
|
4252
|
+
* @memberof CreateManagerCommand
|
|
4253
|
+
*/
|
|
4254
|
+
'email'?: string | null;
|
|
4255
|
+
/**
|
|
4256
|
+
*
|
|
4257
|
+
* @type {string}
|
|
4258
|
+
* @memberof CreateManagerCommand
|
|
4259
|
+
*/
|
|
4260
|
+
'hospitalId'?: string;
|
|
4261
|
+
}
|
|
4088
4262
|
/**
|
|
4089
4263
|
*
|
|
4090
4264
|
* @export
|
|
@@ -4122,6 +4296,74 @@ export interface CreateMediaCommand {
|
|
|
4122
4296
|
*/
|
|
4123
4297
|
'order'?: number;
|
|
4124
4298
|
}
|
|
4299
|
+
/**
|
|
4300
|
+
*
|
|
4301
|
+
* @export
|
|
4302
|
+
* @interface CreatePlanCommand
|
|
4303
|
+
*/
|
|
4304
|
+
export interface CreatePlanCommand {
|
|
4305
|
+
/**
|
|
4306
|
+
*
|
|
4307
|
+
* @type {string}
|
|
4308
|
+
* @memberof CreatePlanCommand
|
|
4309
|
+
*/
|
|
4310
|
+
'name'?: string | null;
|
|
4311
|
+
/**
|
|
4312
|
+
*
|
|
4313
|
+
* @type {number}
|
|
4314
|
+
* @memberof CreatePlanCommand
|
|
4315
|
+
*/
|
|
4316
|
+
'memberLimit'?: number;
|
|
4317
|
+
/**
|
|
4318
|
+
*
|
|
4319
|
+
* @type {number}
|
|
4320
|
+
* @memberof CreatePlanCommand
|
|
4321
|
+
*/
|
|
4322
|
+
'unitPrice'?: number;
|
|
4323
|
+
/**
|
|
4324
|
+
*
|
|
4325
|
+
* @type {string}
|
|
4326
|
+
* @memberof CreatePlanCommand
|
|
4327
|
+
*/
|
|
4328
|
+
'stripePriceId'?: string | null;
|
|
4329
|
+
/**
|
|
4330
|
+
*
|
|
4331
|
+
* @type {RecurringInterval}
|
|
4332
|
+
* @memberof CreatePlanCommand
|
|
4333
|
+
*/
|
|
4334
|
+
'interval'?: RecurringInterval;
|
|
4335
|
+
/**
|
|
4336
|
+
*
|
|
4337
|
+
* @type {boolean}
|
|
4338
|
+
* @memberof CreatePlanCommand
|
|
4339
|
+
*/
|
|
4340
|
+
'isActive'?: boolean;
|
|
4341
|
+
/**
|
|
4342
|
+
*
|
|
4343
|
+
* @type {number}
|
|
4344
|
+
* @memberof CreatePlanCommand
|
|
4345
|
+
*/
|
|
4346
|
+
'order'?: number;
|
|
4347
|
+
}
|
|
4348
|
+
/**
|
|
4349
|
+
*
|
|
4350
|
+
* @export
|
|
4351
|
+
* @interface CreatePlanHospitalCommand
|
|
4352
|
+
*/
|
|
4353
|
+
export interface CreatePlanHospitalCommand {
|
|
4354
|
+
/**
|
|
4355
|
+
*
|
|
4356
|
+
* @type {string}
|
|
4357
|
+
* @memberof CreatePlanHospitalCommand
|
|
4358
|
+
*/
|
|
4359
|
+
'hospitalId'?: string;
|
|
4360
|
+
/**
|
|
4361
|
+
*
|
|
4362
|
+
* @type {number}
|
|
4363
|
+
* @memberof CreatePlanHospitalCommand
|
|
4364
|
+
*/
|
|
4365
|
+
'order'?: number;
|
|
4366
|
+
}
|
|
4125
4367
|
/**
|
|
4126
4368
|
*
|
|
4127
4369
|
* @export
|
|
@@ -4937,6 +5179,19 @@ export interface DealsModel {
|
|
|
4937
5179
|
*/
|
|
4938
5180
|
'metaData'?: PagedListMetaData;
|
|
4939
5181
|
}
|
|
5182
|
+
/**
|
|
5183
|
+
*
|
|
5184
|
+
* @export
|
|
5185
|
+
* @interface DeleteArticleTagCommand
|
|
5186
|
+
*/
|
|
5187
|
+
export interface DeleteArticleTagCommand {
|
|
5188
|
+
/**
|
|
5189
|
+
*
|
|
5190
|
+
* @type {string}
|
|
5191
|
+
* @memberof DeleteArticleTagCommand
|
|
5192
|
+
*/
|
|
5193
|
+
'tagId'?: string | null;
|
|
5194
|
+
}
|
|
4940
5195
|
/**
|
|
4941
5196
|
*
|
|
4942
5197
|
* @export
|
|
@@ -8747,76 +9002,277 @@ export interface ManagerAffiliation {
|
|
|
8747
9002
|
/**
|
|
8748
9003
|
*
|
|
8749
9004
|
* @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
|
|
9005
|
+
* @interface ManagerAffiliationModel
|
|
8763
9006
|
*/
|
|
8764
|
-
export interface
|
|
9007
|
+
export interface ManagerAffiliationModel {
|
|
8765
9008
|
/**
|
|
8766
9009
|
*
|
|
8767
9010
|
* @type {string}
|
|
8768
|
-
* @memberof
|
|
9011
|
+
* @memberof ManagerAffiliationModel
|
|
8769
9012
|
*/
|
|
8770
|
-
'
|
|
9013
|
+
'hospitalId'?: string;
|
|
8771
9014
|
/**
|
|
8772
9015
|
*
|
|
8773
|
-
* @type {
|
|
8774
|
-
* @memberof
|
|
9016
|
+
* @type {string}
|
|
9017
|
+
* @memberof ManagerAffiliationModel
|
|
8775
9018
|
*/
|
|
8776
|
-
'
|
|
9019
|
+
'hospitalName'?: string | null;
|
|
8777
9020
|
/**
|
|
8778
9021
|
*
|
|
8779
9022
|
* @type {string}
|
|
8780
|
-
* @memberof
|
|
9023
|
+
* @memberof ManagerAffiliationModel
|
|
8781
9024
|
*/
|
|
8782
|
-
'
|
|
9025
|
+
'hospitalSlug'?: string | null;
|
|
8783
9026
|
/**
|
|
8784
9027
|
*
|
|
8785
9028
|
* @type {string}
|
|
8786
|
-
* @memberof
|
|
9029
|
+
* @memberof ManagerAffiliationModel
|
|
8787
9030
|
*/
|
|
8788
|
-
'
|
|
9031
|
+
'countryId'?: string;
|
|
8789
9032
|
/**
|
|
8790
9033
|
*
|
|
8791
9034
|
* @type {string}
|
|
8792
|
-
* @memberof
|
|
9035
|
+
* @memberof ManagerAffiliationModel
|
|
8793
9036
|
*/
|
|
8794
|
-
'
|
|
9037
|
+
'countryName'?: string | null;
|
|
8795
9038
|
/**
|
|
8796
9039
|
*
|
|
8797
|
-
* @type {
|
|
8798
|
-
* @memberof
|
|
9040
|
+
* @type {string}
|
|
9041
|
+
* @memberof ManagerAffiliationModel
|
|
8799
9042
|
*/
|
|
8800
|
-
'
|
|
9043
|
+
'stateName'?: string | null;
|
|
8801
9044
|
/**
|
|
8802
9045
|
*
|
|
8803
|
-
* @type {
|
|
8804
|
-
* @memberof
|
|
9046
|
+
* @type {string}
|
|
9047
|
+
* @memberof ManagerAffiliationModel
|
|
8805
9048
|
*/
|
|
8806
|
-
'
|
|
9049
|
+
'cityName'?: string | null;
|
|
8807
9050
|
/**
|
|
8808
9051
|
*
|
|
8809
|
-
* @type {
|
|
8810
|
-
* @memberof
|
|
9052
|
+
* @type {string}
|
|
9053
|
+
* @memberof ManagerAffiliationModel
|
|
8811
9054
|
*/
|
|
8812
|
-
'
|
|
9055
|
+
'managerId'?: string;
|
|
9056
|
+
/**
|
|
9057
|
+
*
|
|
9058
|
+
* @type {string}
|
|
9059
|
+
* @memberof ManagerAffiliationModel
|
|
9060
|
+
*/
|
|
9061
|
+
'managerName'?: string | null;
|
|
8813
9062
|
}
|
|
8814
9063
|
/**
|
|
8815
9064
|
*
|
|
8816
9065
|
* @export
|
|
8817
|
-
* @interface
|
|
9066
|
+
* @interface ManagerModel
|
|
8818
9067
|
*/
|
|
8819
|
-
export interface
|
|
9068
|
+
export interface ManagerModel {
|
|
9069
|
+
/**
|
|
9070
|
+
*
|
|
9071
|
+
* @type {string}
|
|
9072
|
+
* @memberof ManagerModel
|
|
9073
|
+
*/
|
|
9074
|
+
'id'?: string;
|
|
9075
|
+
/**
|
|
9076
|
+
*
|
|
9077
|
+
* @type {string}
|
|
9078
|
+
* @memberof ManagerModel
|
|
9079
|
+
*/
|
|
9080
|
+
'userName'?: string | null;
|
|
9081
|
+
/**
|
|
9082
|
+
*
|
|
9083
|
+
* @type {string}
|
|
9084
|
+
* @memberof ManagerModel
|
|
9085
|
+
*/
|
|
9086
|
+
'firstName'?: string | null;
|
|
9087
|
+
/**
|
|
9088
|
+
*
|
|
9089
|
+
* @type {string}
|
|
9090
|
+
* @memberof ManagerModel
|
|
9091
|
+
*/
|
|
9092
|
+
'lastName'?: string | null;
|
|
9093
|
+
/**
|
|
9094
|
+
*
|
|
9095
|
+
* @type {string}
|
|
9096
|
+
* @memberof ManagerModel
|
|
9097
|
+
*/
|
|
9098
|
+
'fullname'?: string | null;
|
|
9099
|
+
/**
|
|
9100
|
+
*
|
|
9101
|
+
* @type {string}
|
|
9102
|
+
* @memberof ManagerModel
|
|
9103
|
+
*/
|
|
9104
|
+
'phone'?: string | null;
|
|
9105
|
+
/**
|
|
9106
|
+
*
|
|
9107
|
+
* @type {string}
|
|
9108
|
+
* @memberof ManagerModel
|
|
9109
|
+
*/
|
|
9110
|
+
'email'?: string | null;
|
|
9111
|
+
/**
|
|
9112
|
+
*
|
|
9113
|
+
* @type {string}
|
|
9114
|
+
* @memberof ManagerModel
|
|
9115
|
+
*/
|
|
9116
|
+
'photo'?: string | null;
|
|
9117
|
+
/**
|
|
9118
|
+
*
|
|
9119
|
+
* @type {string}
|
|
9120
|
+
* @memberof ManagerModel
|
|
9121
|
+
*/
|
|
9122
|
+
'photoThumbnail'?: string | null;
|
|
9123
|
+
/**
|
|
9124
|
+
*
|
|
9125
|
+
* @type {Gender}
|
|
9126
|
+
* @memberof ManagerModel
|
|
9127
|
+
*/
|
|
9128
|
+
'gender'?: Gender;
|
|
9129
|
+
/**
|
|
9130
|
+
*
|
|
9131
|
+
* @type {Date}
|
|
9132
|
+
* @memberof ManagerModel
|
|
9133
|
+
*/
|
|
9134
|
+
'dateOfBirth'?: Date | null;
|
|
9135
|
+
/**
|
|
9136
|
+
*
|
|
9137
|
+
* @type {string}
|
|
9138
|
+
* @memberof ManagerModel
|
|
9139
|
+
*/
|
|
9140
|
+
'timeZone'?: string | null;
|
|
9141
|
+
/**
|
|
9142
|
+
*
|
|
9143
|
+
* @type {string}
|
|
9144
|
+
* @memberof ManagerModel
|
|
9145
|
+
*/
|
|
9146
|
+
'communicationUserId'?: string | null;
|
|
9147
|
+
/**
|
|
9148
|
+
*
|
|
9149
|
+
* @type {AuditableEntity}
|
|
9150
|
+
* @memberof ManagerModel
|
|
9151
|
+
*/
|
|
9152
|
+
'auditableEntity'?: AuditableEntity;
|
|
9153
|
+
/**
|
|
9154
|
+
*
|
|
9155
|
+
* @type {string}
|
|
9156
|
+
* @memberof ManagerModel
|
|
9157
|
+
*/
|
|
9158
|
+
'userType'?: string | null;
|
|
9159
|
+
/**
|
|
9160
|
+
*
|
|
9161
|
+
* @type {Array<UserLanguageModel>}
|
|
9162
|
+
* @memberof ManagerModel
|
|
9163
|
+
*/
|
|
9164
|
+
'languages'?: Array<UserLanguageModel> | null;
|
|
9165
|
+
/**
|
|
9166
|
+
*
|
|
9167
|
+
* @type {Array<UserLocationModel>}
|
|
9168
|
+
* @memberof ManagerModel
|
|
9169
|
+
*/
|
|
9170
|
+
'locations'?: Array<UserLocationModel> | null;
|
|
9171
|
+
/**
|
|
9172
|
+
*
|
|
9173
|
+
* @type {string}
|
|
9174
|
+
* @memberof ManagerModel
|
|
9175
|
+
*/
|
|
9176
|
+
'hospitalId'?: string;
|
|
9177
|
+
/**
|
|
9178
|
+
*
|
|
9179
|
+
* @type {Array<ManagerAffiliationModel>}
|
|
9180
|
+
* @memberof ManagerModel
|
|
9181
|
+
*/
|
|
9182
|
+
'affiliations'?: Array<ManagerAffiliationModel> | null;
|
|
9183
|
+
}
|
|
9184
|
+
/**
|
|
9185
|
+
*
|
|
9186
|
+
* @export
|
|
9187
|
+
* @interface ManagersModel
|
|
9188
|
+
*/
|
|
9189
|
+
export interface ManagersModel {
|
|
9190
|
+
/**
|
|
9191
|
+
*
|
|
9192
|
+
* @type {Array<UserItemModel>}
|
|
9193
|
+
* @memberof ManagersModel
|
|
9194
|
+
*/
|
|
9195
|
+
'items'?: Array<UserItemModel> | null;
|
|
9196
|
+
/**
|
|
9197
|
+
*
|
|
9198
|
+
* @type {PagedListMetaData}
|
|
9199
|
+
* @memberof ManagersModel
|
|
9200
|
+
*/
|
|
9201
|
+
'metaData'?: PagedListMetaData;
|
|
9202
|
+
}
|
|
9203
|
+
/**
|
|
9204
|
+
*
|
|
9205
|
+
* @export
|
|
9206
|
+
* @enum {string}
|
|
9207
|
+
*/
|
|
9208
|
+
|
|
9209
|
+
export enum MarketingType {
|
|
9210
|
+
Both = 'Both',
|
|
9211
|
+
GeneralHealth = 'GeneralHealth',
|
|
9212
|
+
Beauty = 'Beauty'
|
|
9213
|
+
}
|
|
9214
|
+
|
|
9215
|
+
/**
|
|
9216
|
+
*
|
|
9217
|
+
* @export
|
|
9218
|
+
* @interface Media
|
|
9219
|
+
*/
|
|
9220
|
+
export interface Media {
|
|
9221
|
+
/**
|
|
9222
|
+
*
|
|
9223
|
+
* @type {string}
|
|
9224
|
+
* @memberof Media
|
|
9225
|
+
*/
|
|
9226
|
+
'id'?: string;
|
|
9227
|
+
/**
|
|
9228
|
+
*
|
|
9229
|
+
* @type {MediaType}
|
|
9230
|
+
* @memberof Media
|
|
9231
|
+
*/
|
|
9232
|
+
'mediaType'?: MediaType;
|
|
9233
|
+
/**
|
|
9234
|
+
*
|
|
9235
|
+
* @type {string}
|
|
9236
|
+
* @memberof Media
|
|
9237
|
+
*/
|
|
9238
|
+
'url'?: string | null;
|
|
9239
|
+
/**
|
|
9240
|
+
*
|
|
9241
|
+
* @type {string}
|
|
9242
|
+
* @memberof Media
|
|
9243
|
+
*/
|
|
9244
|
+
'thumbnailUrl'?: string | null;
|
|
9245
|
+
/**
|
|
9246
|
+
*
|
|
9247
|
+
* @type {string}
|
|
9248
|
+
* @memberof Media
|
|
9249
|
+
*/
|
|
9250
|
+
'description'?: string | null;
|
|
9251
|
+
/**
|
|
9252
|
+
*
|
|
9253
|
+
* @type {number}
|
|
9254
|
+
* @memberof Media
|
|
9255
|
+
*/
|
|
9256
|
+
'height'?: number;
|
|
9257
|
+
/**
|
|
9258
|
+
*
|
|
9259
|
+
* @type {number}
|
|
9260
|
+
* @memberof Media
|
|
9261
|
+
*/
|
|
9262
|
+
'width'?: number;
|
|
9263
|
+
/**
|
|
9264
|
+
*
|
|
9265
|
+
* @type {number}
|
|
9266
|
+
* @memberof Media
|
|
9267
|
+
*/
|
|
9268
|
+
'order'?: number;
|
|
9269
|
+
}
|
|
9270
|
+
/**
|
|
9271
|
+
*
|
|
9272
|
+
* @export
|
|
9273
|
+
* @interface MediaModel
|
|
9274
|
+
*/
|
|
9275
|
+
export interface MediaModel {
|
|
8820
9276
|
/**
|
|
8821
9277
|
*
|
|
8822
9278
|
* @type {string}
|
|
@@ -9592,114 +10048,336 @@ export interface Plan {
|
|
|
9592
10048
|
/**
|
|
9593
10049
|
*
|
|
9594
10050
|
* @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
|
|
10051
|
+
* @interface PlanHospitalItemModel
|
|
9608
10052
|
*/
|
|
9609
|
-
export interface
|
|
9610
|
-
[key: string]: any | any;
|
|
9611
|
-
|
|
10053
|
+
export interface PlanHospitalItemModel {
|
|
9612
10054
|
/**
|
|
9613
10055
|
*
|
|
9614
10056
|
* @type {string}
|
|
9615
|
-
* @memberof
|
|
10057
|
+
* @memberof PlanHospitalItemModel
|
|
9616
10058
|
*/
|
|
9617
|
-
'
|
|
10059
|
+
'planId'?: string;
|
|
9618
10060
|
/**
|
|
9619
10061
|
*
|
|
9620
10062
|
* @type {string}
|
|
9621
|
-
* @memberof
|
|
10063
|
+
* @memberof PlanHospitalItemModel
|
|
9622
10064
|
*/
|
|
9623
|
-
'
|
|
10065
|
+
'planName'?: string | null;
|
|
9624
10066
|
/**
|
|
9625
10067
|
*
|
|
9626
|
-
* @type {
|
|
9627
|
-
* @memberof
|
|
10068
|
+
* @type {string}
|
|
10069
|
+
* @memberof PlanHospitalItemModel
|
|
9628
10070
|
*/
|
|
9629
|
-
'
|
|
10071
|
+
'hospitalId'?: string;
|
|
9630
10072
|
/**
|
|
9631
10073
|
*
|
|
9632
10074
|
* @type {string}
|
|
9633
|
-
* @memberof
|
|
10075
|
+
* @memberof PlanHospitalItemModel
|
|
9634
10076
|
*/
|
|
9635
|
-
'
|
|
10077
|
+
'hospitalName'?: string | null;
|
|
9636
10078
|
/**
|
|
9637
10079
|
*
|
|
9638
|
-
* @type {
|
|
9639
|
-
* @memberof
|
|
10080
|
+
* @type {number}
|
|
10081
|
+
* @memberof PlanHospitalItemModel
|
|
9640
10082
|
*/
|
|
9641
|
-
'
|
|
9642
|
-
}
|
|
9643
|
-
/**
|
|
9644
|
-
*
|
|
9645
|
-
* @export
|
|
9646
|
-
* @enum {string}
|
|
9647
|
-
*/
|
|
9648
|
-
|
|
9649
|
-
export enum Procedure {
|
|
9650
|
-
Treatment = 'Treatment',
|
|
9651
|
-
Diagnostic = 'Diagnostic'
|
|
10083
|
+
'order'?: number;
|
|
9652
10084
|
}
|
|
9653
|
-
|
|
9654
10085
|
/**
|
|
9655
10086
|
*
|
|
9656
10087
|
* @export
|
|
9657
|
-
* @interface
|
|
10088
|
+
* @interface PlanHospitalModel
|
|
9658
10089
|
*/
|
|
9659
|
-
export interface
|
|
10090
|
+
export interface PlanHospitalModel {
|
|
9660
10091
|
/**
|
|
9661
10092
|
*
|
|
9662
10093
|
* @type {string}
|
|
9663
|
-
* @memberof
|
|
10094
|
+
* @memberof PlanHospitalModel
|
|
9664
10095
|
*/
|
|
9665
|
-
'
|
|
10096
|
+
'planId'?: string;
|
|
9666
10097
|
/**
|
|
9667
10098
|
*
|
|
9668
10099
|
* @type {string}
|
|
9669
|
-
* @memberof
|
|
10100
|
+
* @memberof PlanHospitalModel
|
|
9670
10101
|
*/
|
|
9671
|
-
'
|
|
10102
|
+
'planName'?: string | null;
|
|
9672
10103
|
/**
|
|
9673
10104
|
*
|
|
9674
10105
|
* @type {string}
|
|
9675
|
-
* @memberof
|
|
10106
|
+
* @memberof PlanHospitalModel
|
|
9676
10107
|
*/
|
|
9677
|
-
'
|
|
10108
|
+
'hospitalId'?: string;
|
|
9678
10109
|
/**
|
|
9679
10110
|
*
|
|
9680
10111
|
* @type {string}
|
|
9681
|
-
* @memberof
|
|
10112
|
+
* @memberof PlanHospitalModel
|
|
9682
10113
|
*/
|
|
9683
|
-
'
|
|
10114
|
+
'hospitalName'?: string | null;
|
|
9684
10115
|
/**
|
|
9685
10116
|
*
|
|
9686
|
-
* @type {
|
|
9687
|
-
* @memberof
|
|
10117
|
+
* @type {number}
|
|
10118
|
+
* @memberof PlanHospitalModel
|
|
9688
10119
|
*/
|
|
9689
|
-
'
|
|
10120
|
+
'order'?: number;
|
|
10121
|
+
}
|
|
10122
|
+
/**
|
|
10123
|
+
*
|
|
10124
|
+
* @export
|
|
10125
|
+
* @interface PlanHospitalsModel
|
|
10126
|
+
*/
|
|
10127
|
+
export interface PlanHospitalsModel {
|
|
9690
10128
|
/**
|
|
9691
10129
|
*
|
|
9692
|
-
* @type {
|
|
9693
|
-
* @memberof
|
|
10130
|
+
* @type {Array<PlanHospitalItemModel>}
|
|
10131
|
+
* @memberof PlanHospitalsModel
|
|
9694
10132
|
*/
|
|
9695
|
-
'
|
|
10133
|
+
'items'?: Array<PlanHospitalItemModel> | null;
|
|
9696
10134
|
/**
|
|
9697
10135
|
*
|
|
9698
|
-
* @type {
|
|
9699
|
-
* @memberof
|
|
10136
|
+
* @type {PagedListMetaData}
|
|
10137
|
+
* @memberof PlanHospitalsModel
|
|
9700
10138
|
*/
|
|
9701
|
-
'
|
|
9702
|
-
|
|
10139
|
+
'metaData'?: PagedListMetaData;
|
|
10140
|
+
}
|
|
10141
|
+
/**
|
|
10142
|
+
*
|
|
10143
|
+
* @export
|
|
10144
|
+
* @interface PlanItemModel
|
|
10145
|
+
*/
|
|
10146
|
+
export interface PlanItemModel {
|
|
10147
|
+
/**
|
|
10148
|
+
*
|
|
10149
|
+
* @type {string}
|
|
10150
|
+
* @memberof PlanItemModel
|
|
10151
|
+
*/
|
|
10152
|
+
'id'?: string;
|
|
10153
|
+
/**
|
|
10154
|
+
*
|
|
10155
|
+
* @type {string}
|
|
10156
|
+
* @memberof PlanItemModel
|
|
10157
|
+
*/
|
|
10158
|
+
'name'?: string | null;
|
|
10159
|
+
/**
|
|
10160
|
+
*
|
|
10161
|
+
* @type {number}
|
|
10162
|
+
* @memberof PlanItemModel
|
|
10163
|
+
*/
|
|
10164
|
+
'memberLimit'?: number;
|
|
10165
|
+
/**
|
|
10166
|
+
*
|
|
10167
|
+
* @type {number}
|
|
10168
|
+
* @memberof PlanItemModel
|
|
10169
|
+
*/
|
|
10170
|
+
'unitPrice'?: number;
|
|
10171
|
+
/**
|
|
10172
|
+
*
|
|
10173
|
+
* @type {string}
|
|
10174
|
+
* @memberof PlanItemModel
|
|
10175
|
+
*/
|
|
10176
|
+
'stripePriceId'?: string | null;
|
|
10177
|
+
/**
|
|
10178
|
+
*
|
|
10179
|
+
* @type {RecurringInterval}
|
|
10180
|
+
* @memberof PlanItemModel
|
|
10181
|
+
*/
|
|
10182
|
+
'interval'?: RecurringInterval;
|
|
10183
|
+
/**
|
|
10184
|
+
*
|
|
10185
|
+
* @type {boolean}
|
|
10186
|
+
* @memberof PlanItemModel
|
|
10187
|
+
*/
|
|
10188
|
+
'isActive'?: boolean;
|
|
10189
|
+
/**
|
|
10190
|
+
*
|
|
10191
|
+
* @type {number}
|
|
10192
|
+
* @memberof PlanItemModel
|
|
10193
|
+
*/
|
|
10194
|
+
'order'?: number;
|
|
10195
|
+
}
|
|
10196
|
+
/**
|
|
10197
|
+
*
|
|
10198
|
+
* @export
|
|
10199
|
+
* @interface PlanModel
|
|
10200
|
+
*/
|
|
10201
|
+
export interface PlanModel {
|
|
10202
|
+
/**
|
|
10203
|
+
*
|
|
10204
|
+
* @type {string}
|
|
10205
|
+
* @memberof PlanModel
|
|
10206
|
+
*/
|
|
10207
|
+
'id'?: string;
|
|
10208
|
+
/**
|
|
10209
|
+
*
|
|
10210
|
+
* @type {string}
|
|
10211
|
+
* @memberof PlanModel
|
|
10212
|
+
*/
|
|
10213
|
+
'name'?: string | null;
|
|
10214
|
+
/**
|
|
10215
|
+
*
|
|
10216
|
+
* @type {number}
|
|
10217
|
+
* @memberof PlanModel
|
|
10218
|
+
*/
|
|
10219
|
+
'memberLimit'?: number;
|
|
10220
|
+
/**
|
|
10221
|
+
*
|
|
10222
|
+
* @type {number}
|
|
10223
|
+
* @memberof PlanModel
|
|
10224
|
+
*/
|
|
10225
|
+
'unitPrice'?: number;
|
|
10226
|
+
/**
|
|
10227
|
+
*
|
|
10228
|
+
* @type {string}
|
|
10229
|
+
* @memberof PlanModel
|
|
10230
|
+
*/
|
|
10231
|
+
'stripePriceId'?: string | null;
|
|
10232
|
+
/**
|
|
10233
|
+
*
|
|
10234
|
+
* @type {RecurringInterval}
|
|
10235
|
+
* @memberof PlanModel
|
|
10236
|
+
*/
|
|
10237
|
+
'interval'?: RecurringInterval;
|
|
10238
|
+
/**
|
|
10239
|
+
*
|
|
10240
|
+
* @type {boolean}
|
|
10241
|
+
* @memberof PlanModel
|
|
10242
|
+
*/
|
|
10243
|
+
'isActive'?: boolean;
|
|
10244
|
+
/**
|
|
10245
|
+
*
|
|
10246
|
+
* @type {number}
|
|
10247
|
+
* @memberof PlanModel
|
|
10248
|
+
*/
|
|
10249
|
+
'order'?: number;
|
|
10250
|
+
}
|
|
10251
|
+
/**
|
|
10252
|
+
*
|
|
10253
|
+
* @export
|
|
10254
|
+
* @interface PlansModel
|
|
10255
|
+
*/
|
|
10256
|
+
export interface PlansModel {
|
|
10257
|
+
/**
|
|
10258
|
+
*
|
|
10259
|
+
* @type {Array<PlanItemModel>}
|
|
10260
|
+
* @memberof PlansModel
|
|
10261
|
+
*/
|
|
10262
|
+
'items'?: Array<PlanItemModel> | null;
|
|
10263
|
+
/**
|
|
10264
|
+
*
|
|
10265
|
+
* @type {PagedListMetaData}
|
|
10266
|
+
* @memberof PlansModel
|
|
10267
|
+
*/
|
|
10268
|
+
'metaData'?: PagedListMetaData;
|
|
10269
|
+
}
|
|
10270
|
+
/**
|
|
10271
|
+
*
|
|
10272
|
+
* @export
|
|
10273
|
+
* @enum {string}
|
|
10274
|
+
*/
|
|
10275
|
+
|
|
10276
|
+
export enum Platform {
|
|
10277
|
+
Web = 'Web',
|
|
10278
|
+
IOs = 'iOS',
|
|
10279
|
+
Android = 'Android'
|
|
10280
|
+
}
|
|
10281
|
+
|
|
10282
|
+
/**
|
|
10283
|
+
*
|
|
10284
|
+
* @export
|
|
10285
|
+
* @interface ProblemDetails
|
|
10286
|
+
*/
|
|
10287
|
+
export interface ProblemDetails {
|
|
10288
|
+
[key: string]: any | any;
|
|
10289
|
+
|
|
10290
|
+
/**
|
|
10291
|
+
*
|
|
10292
|
+
* @type {string}
|
|
10293
|
+
* @memberof ProblemDetails
|
|
10294
|
+
*/
|
|
10295
|
+
'type'?: string | null;
|
|
10296
|
+
/**
|
|
10297
|
+
*
|
|
10298
|
+
* @type {string}
|
|
10299
|
+
* @memberof ProblemDetails
|
|
10300
|
+
*/
|
|
10301
|
+
'title'?: string | null;
|
|
10302
|
+
/**
|
|
10303
|
+
*
|
|
10304
|
+
* @type {number}
|
|
10305
|
+
* @memberof ProblemDetails
|
|
10306
|
+
*/
|
|
10307
|
+
'status'?: number | null;
|
|
10308
|
+
/**
|
|
10309
|
+
*
|
|
10310
|
+
* @type {string}
|
|
10311
|
+
* @memberof ProblemDetails
|
|
10312
|
+
*/
|
|
10313
|
+
'detail'?: string | null;
|
|
10314
|
+
/**
|
|
10315
|
+
*
|
|
10316
|
+
* @type {string}
|
|
10317
|
+
* @memberof ProblemDetails
|
|
10318
|
+
*/
|
|
10319
|
+
'instance'?: string | null;
|
|
10320
|
+
}
|
|
10321
|
+
/**
|
|
10322
|
+
*
|
|
10323
|
+
* @export
|
|
10324
|
+
* @enum {string}
|
|
10325
|
+
*/
|
|
10326
|
+
|
|
10327
|
+
export enum Procedure {
|
|
10328
|
+
Treatment = 'Treatment',
|
|
10329
|
+
Diagnostic = 'Diagnostic'
|
|
10330
|
+
}
|
|
10331
|
+
|
|
10332
|
+
/**
|
|
10333
|
+
*
|
|
10334
|
+
* @export
|
|
10335
|
+
* @interface Question
|
|
10336
|
+
*/
|
|
10337
|
+
export interface Question {
|
|
10338
|
+
/**
|
|
10339
|
+
*
|
|
10340
|
+
* @type {string}
|
|
10341
|
+
* @memberof Question
|
|
10342
|
+
*/
|
|
10343
|
+
'id'?: string;
|
|
10344
|
+
/**
|
|
10345
|
+
*
|
|
10346
|
+
* @type {string}
|
|
10347
|
+
* @memberof Question
|
|
10348
|
+
*/
|
|
10349
|
+
'title'?: string | null;
|
|
10350
|
+
/**
|
|
10351
|
+
*
|
|
10352
|
+
* @type {string}
|
|
10353
|
+
* @memberof Question
|
|
10354
|
+
*/
|
|
10355
|
+
'normalizedTitle'?: string | null;
|
|
10356
|
+
/**
|
|
10357
|
+
*
|
|
10358
|
+
* @type {string}
|
|
10359
|
+
* @memberof Question
|
|
10360
|
+
*/
|
|
10361
|
+
'body'?: string | null;
|
|
10362
|
+
/**
|
|
10363
|
+
*
|
|
10364
|
+
* @type {QuestionType}
|
|
10365
|
+
* @memberof Question
|
|
10366
|
+
*/
|
|
10367
|
+
'questionType'?: QuestionType;
|
|
10368
|
+
/**
|
|
10369
|
+
*
|
|
10370
|
+
* @type {QuestionStatus}
|
|
10371
|
+
* @memberof Question
|
|
10372
|
+
*/
|
|
10373
|
+
'questionStatus'?: QuestionStatus;
|
|
10374
|
+
/**
|
|
10375
|
+
*
|
|
10376
|
+
* @type {string}
|
|
10377
|
+
* @memberof Question
|
|
10378
|
+
*/
|
|
10379
|
+
'patientId'?: string;
|
|
10380
|
+
/**
|
|
9703
10381
|
*
|
|
9704
10382
|
* @type {Patient}
|
|
9705
10383
|
* @memberof Question
|
|
@@ -11908,62 +12586,185 @@ export interface UpdateHospitalSpecialtyCommand {
|
|
|
11908
12586
|
/**
|
|
11909
12587
|
*
|
|
11910
12588
|
* @export
|
|
11911
|
-
* @interface
|
|
12589
|
+
* @interface UpdateManagerCommand
|
|
11912
12590
|
*/
|
|
11913
|
-
export interface
|
|
12591
|
+
export interface UpdateManagerCommand {
|
|
11914
12592
|
/**
|
|
11915
12593
|
*
|
|
11916
|
-
* @type {
|
|
11917
|
-
* @memberof
|
|
12594
|
+
* @type {string}
|
|
12595
|
+
* @memberof UpdateManagerCommand
|
|
11918
12596
|
*/
|
|
11919
|
-
'
|
|
12597
|
+
'firstName'?: string | null;
|
|
11920
12598
|
/**
|
|
11921
12599
|
*
|
|
11922
12600
|
* @type {string}
|
|
11923
|
-
* @memberof
|
|
12601
|
+
* @memberof UpdateManagerCommand
|
|
11924
12602
|
*/
|
|
11925
|
-
'
|
|
12603
|
+
'lastName'?: string | null;
|
|
11926
12604
|
/**
|
|
11927
12605
|
*
|
|
11928
12606
|
* @type {string}
|
|
11929
|
-
* @memberof
|
|
12607
|
+
* @memberof UpdateManagerCommand
|
|
11930
12608
|
*/
|
|
11931
|
-
'
|
|
12609
|
+
'phone'?: string | null;
|
|
11932
12610
|
/**
|
|
11933
12611
|
*
|
|
11934
12612
|
* @type {string}
|
|
11935
|
-
* @memberof
|
|
12613
|
+
* @memberof UpdateManagerCommand
|
|
11936
12614
|
*/
|
|
11937
|
-
'
|
|
12615
|
+
'photo'?: string | null;
|
|
11938
12616
|
/**
|
|
11939
12617
|
*
|
|
11940
|
-
* @type {
|
|
11941
|
-
* @memberof
|
|
12618
|
+
* @type {string}
|
|
12619
|
+
* @memberof UpdateManagerCommand
|
|
11942
12620
|
*/
|
|
11943
|
-
'
|
|
11944
|
-
}
|
|
11945
|
-
/**
|
|
11946
|
-
*
|
|
11947
|
-
* @export
|
|
11948
|
-
* @interface UpdateServiceCategoryCommand
|
|
11949
|
-
*/
|
|
11950
|
-
export interface UpdateServiceCategoryCommand {
|
|
12621
|
+
'photoThumbnail'?: string | null;
|
|
11951
12622
|
/**
|
|
11952
12623
|
*
|
|
11953
|
-
* @type {
|
|
11954
|
-
* @memberof
|
|
12624
|
+
* @type {Gender}
|
|
12625
|
+
* @memberof UpdateManagerCommand
|
|
11955
12626
|
*/
|
|
11956
|
-
'
|
|
12627
|
+
'gender'?: Gender;
|
|
11957
12628
|
/**
|
|
11958
12629
|
*
|
|
11959
|
-
* @type {
|
|
11960
|
-
* @memberof
|
|
12630
|
+
* @type {Date}
|
|
12631
|
+
* @memberof UpdateManagerCommand
|
|
11961
12632
|
*/
|
|
11962
|
-
'
|
|
12633
|
+
'dateOfBirth'?: Date | null;
|
|
11963
12634
|
/**
|
|
11964
12635
|
*
|
|
11965
|
-
* @type {
|
|
11966
|
-
* @memberof
|
|
12636
|
+
* @type {Array<UserLanguageModel>}
|
|
12637
|
+
* @memberof UpdateManagerCommand
|
|
12638
|
+
*/
|
|
12639
|
+
'languages'?: Array<UserLanguageModel> | null;
|
|
12640
|
+
/**
|
|
12641
|
+
*
|
|
12642
|
+
* @type {Array<UserLocationModel>}
|
|
12643
|
+
* @memberof UpdateManagerCommand
|
|
12644
|
+
*/
|
|
12645
|
+
'locations'?: Array<UserLocationModel> | null;
|
|
12646
|
+
}
|
|
12647
|
+
/**
|
|
12648
|
+
*
|
|
12649
|
+
* @export
|
|
12650
|
+
* @interface UpdateMediaCommand
|
|
12651
|
+
*/
|
|
12652
|
+
export interface UpdateMediaCommand {
|
|
12653
|
+
/**
|
|
12654
|
+
*
|
|
12655
|
+
* @type {MediaType}
|
|
12656
|
+
* @memberof UpdateMediaCommand
|
|
12657
|
+
*/
|
|
12658
|
+
'mediaType'?: MediaType;
|
|
12659
|
+
/**
|
|
12660
|
+
*
|
|
12661
|
+
* @type {string}
|
|
12662
|
+
* @memberof UpdateMediaCommand
|
|
12663
|
+
*/
|
|
12664
|
+
'url'?: string | null;
|
|
12665
|
+
/**
|
|
12666
|
+
*
|
|
12667
|
+
* @type {string}
|
|
12668
|
+
* @memberof UpdateMediaCommand
|
|
12669
|
+
*/
|
|
12670
|
+
'thumbnailUrl'?: string | null;
|
|
12671
|
+
/**
|
|
12672
|
+
*
|
|
12673
|
+
* @type {string}
|
|
12674
|
+
* @memberof UpdateMediaCommand
|
|
12675
|
+
*/
|
|
12676
|
+
'description'?: string | null;
|
|
12677
|
+
/**
|
|
12678
|
+
*
|
|
12679
|
+
* @type {number}
|
|
12680
|
+
* @memberof UpdateMediaCommand
|
|
12681
|
+
*/
|
|
12682
|
+
'order'?: number;
|
|
12683
|
+
}
|
|
12684
|
+
/**
|
|
12685
|
+
*
|
|
12686
|
+
* @export
|
|
12687
|
+
* @interface UpdatePlanCommand
|
|
12688
|
+
*/
|
|
12689
|
+
export interface UpdatePlanCommand {
|
|
12690
|
+
/**
|
|
12691
|
+
*
|
|
12692
|
+
* @type {string}
|
|
12693
|
+
* @memberof UpdatePlanCommand
|
|
12694
|
+
*/
|
|
12695
|
+
'name'?: string | null;
|
|
12696
|
+
/**
|
|
12697
|
+
*
|
|
12698
|
+
* @type {number}
|
|
12699
|
+
* @memberof UpdatePlanCommand
|
|
12700
|
+
*/
|
|
12701
|
+
'memberLimit'?: number;
|
|
12702
|
+
/**
|
|
12703
|
+
*
|
|
12704
|
+
* @type {number}
|
|
12705
|
+
* @memberof UpdatePlanCommand
|
|
12706
|
+
*/
|
|
12707
|
+
'unitPrice'?: number;
|
|
12708
|
+
/**
|
|
12709
|
+
*
|
|
12710
|
+
* @type {string}
|
|
12711
|
+
* @memberof UpdatePlanCommand
|
|
12712
|
+
*/
|
|
12713
|
+
'stripePriceId'?: string | null;
|
|
12714
|
+
/**
|
|
12715
|
+
*
|
|
12716
|
+
* @type {RecurringInterval}
|
|
12717
|
+
* @memberof UpdatePlanCommand
|
|
12718
|
+
*/
|
|
12719
|
+
'interval'?: RecurringInterval;
|
|
12720
|
+
/**
|
|
12721
|
+
*
|
|
12722
|
+
* @type {boolean}
|
|
12723
|
+
* @memberof UpdatePlanCommand
|
|
12724
|
+
*/
|
|
12725
|
+
'isActive'?: boolean;
|
|
12726
|
+
/**
|
|
12727
|
+
*
|
|
12728
|
+
* @type {number}
|
|
12729
|
+
* @memberof UpdatePlanCommand
|
|
12730
|
+
*/
|
|
12731
|
+
'order'?: number;
|
|
12732
|
+
}
|
|
12733
|
+
/**
|
|
12734
|
+
*
|
|
12735
|
+
* @export
|
|
12736
|
+
* @interface UpdatePlanHospitalCommand
|
|
12737
|
+
*/
|
|
12738
|
+
export interface UpdatePlanHospitalCommand {
|
|
12739
|
+
/**
|
|
12740
|
+
*
|
|
12741
|
+
* @type {number}
|
|
12742
|
+
* @memberof UpdatePlanHospitalCommand
|
|
12743
|
+
*/
|
|
12744
|
+
'order'?: number;
|
|
12745
|
+
}
|
|
12746
|
+
/**
|
|
12747
|
+
*
|
|
12748
|
+
* @export
|
|
12749
|
+
* @interface UpdateServiceCategoryCommand
|
|
12750
|
+
*/
|
|
12751
|
+
export interface UpdateServiceCategoryCommand {
|
|
12752
|
+
/**
|
|
12753
|
+
*
|
|
12754
|
+
* @type {string}
|
|
12755
|
+
* @memberof UpdateServiceCategoryCommand
|
|
12756
|
+
*/
|
|
12757
|
+
'id'?: string;
|
|
12758
|
+
/**
|
|
12759
|
+
*
|
|
12760
|
+
* @type {string}
|
|
12761
|
+
* @memberof UpdateServiceCategoryCommand
|
|
12762
|
+
*/
|
|
12763
|
+
'name'?: string | null;
|
|
12764
|
+
/**
|
|
12765
|
+
*
|
|
12766
|
+
* @type {string}
|
|
12767
|
+
* @memberof UpdateServiceCategoryCommand
|
|
11967
12768
|
*/
|
|
11968
12769
|
'normalizedName'?: string | null;
|
|
11969
12770
|
/**
|
|
@@ -12258,6 +13059,97 @@ export interface User {
|
|
|
12258
13059
|
*/
|
|
12259
13060
|
'auditableEntity'?: AuditableEntity;
|
|
12260
13061
|
}
|
|
13062
|
+
/**
|
|
13063
|
+
*
|
|
13064
|
+
* @export
|
|
13065
|
+
* @interface UserItemModel
|
|
13066
|
+
*/
|
|
13067
|
+
export interface UserItemModel {
|
|
13068
|
+
/**
|
|
13069
|
+
*
|
|
13070
|
+
* @type {string}
|
|
13071
|
+
* @memberof UserItemModel
|
|
13072
|
+
*/
|
|
13073
|
+
'id'?: string;
|
|
13074
|
+
/**
|
|
13075
|
+
*
|
|
13076
|
+
* @type {string}
|
|
13077
|
+
* @memberof UserItemModel
|
|
13078
|
+
*/
|
|
13079
|
+
'userName'?: string | null;
|
|
13080
|
+
/**
|
|
13081
|
+
*
|
|
13082
|
+
* @type {string}
|
|
13083
|
+
* @memberof UserItemModel
|
|
13084
|
+
*/
|
|
13085
|
+
'firstName'?: string | null;
|
|
13086
|
+
/**
|
|
13087
|
+
*
|
|
13088
|
+
* @type {string}
|
|
13089
|
+
* @memberof UserItemModel
|
|
13090
|
+
*/
|
|
13091
|
+
'lastName'?: string | null;
|
|
13092
|
+
/**
|
|
13093
|
+
*
|
|
13094
|
+
* @type {string}
|
|
13095
|
+
* @memberof UserItemModel
|
|
13096
|
+
*/
|
|
13097
|
+
'fullname'?: string | null;
|
|
13098
|
+
/**
|
|
13099
|
+
*
|
|
13100
|
+
* @type {string}
|
|
13101
|
+
* @memberof UserItemModel
|
|
13102
|
+
*/
|
|
13103
|
+
'phone'?: string | null;
|
|
13104
|
+
/**
|
|
13105
|
+
*
|
|
13106
|
+
* @type {string}
|
|
13107
|
+
* @memberof UserItemModel
|
|
13108
|
+
*/
|
|
13109
|
+
'email'?: string | null;
|
|
13110
|
+
/**
|
|
13111
|
+
*
|
|
13112
|
+
* @type {string}
|
|
13113
|
+
* @memberof UserItemModel
|
|
13114
|
+
*/
|
|
13115
|
+
'photo'?: string | null;
|
|
13116
|
+
/**
|
|
13117
|
+
*
|
|
13118
|
+
* @type {string}
|
|
13119
|
+
* @memberof UserItemModel
|
|
13120
|
+
*/
|
|
13121
|
+
'photoThumbnail'?: string | null;
|
|
13122
|
+
/**
|
|
13123
|
+
*
|
|
13124
|
+
* @type {Gender}
|
|
13125
|
+
* @memberof UserItemModel
|
|
13126
|
+
*/
|
|
13127
|
+
'gender'?: Gender;
|
|
13128
|
+
/**
|
|
13129
|
+
*
|
|
13130
|
+
* @type {Date}
|
|
13131
|
+
* @memberof UserItemModel
|
|
13132
|
+
*/
|
|
13133
|
+
'dateOfBirth'?: Date | null;
|
|
13134
|
+
/**
|
|
13135
|
+
*
|
|
13136
|
+
* @type {string}
|
|
13137
|
+
* @memberof UserItemModel
|
|
13138
|
+
*/
|
|
13139
|
+
'timeZone'?: string | null;
|
|
13140
|
+
/**
|
|
13141
|
+
*
|
|
13142
|
+
* @type {string}
|
|
13143
|
+
* @memberof UserItemModel
|
|
13144
|
+
*/
|
|
13145
|
+
'communicationUserId'?: string | null;
|
|
13146
|
+
/**
|
|
13147
|
+
*
|
|
13148
|
+
* @type {AuditableEntity}
|
|
13149
|
+
* @memberof UserItemModel
|
|
13150
|
+
*/
|
|
13151
|
+
'auditableEntity'?: AuditableEntity;
|
|
13152
|
+
}
|
|
12261
13153
|
/**
|
|
12262
13154
|
*
|
|
12263
13155
|
* @export
|
|
@@ -12432,93 +13324,202 @@ export enum UserLocationType {
|
|
|
12432
13324
|
/**
|
|
12433
13325
|
*
|
|
12434
13326
|
* @export
|
|
12435
|
-
* @
|
|
12436
|
-
*/
|
|
12437
|
-
|
|
12438
|
-
export enum VendorType {
|
|
12439
|
-
Stripe = 'Stripe',
|
|
12440
|
-
WeChat = 'WeChat'
|
|
12441
|
-
}
|
|
12442
|
-
|
|
12443
|
-
/**
|
|
12444
|
-
*
|
|
12445
|
-
* @export
|
|
12446
|
-
* @interface WeatherForecast
|
|
13327
|
+
* @interface UserModel
|
|
12447
13328
|
*/
|
|
12448
|
-
export interface
|
|
13329
|
+
export interface UserModel {
|
|
12449
13330
|
/**
|
|
12450
13331
|
*
|
|
12451
|
-
* @type {
|
|
12452
|
-
* @memberof
|
|
13332
|
+
* @type {string}
|
|
13333
|
+
* @memberof UserModel
|
|
12453
13334
|
*/
|
|
12454
|
-
'
|
|
13335
|
+
'id'?: string;
|
|
12455
13336
|
/**
|
|
12456
13337
|
*
|
|
12457
|
-
* @type {
|
|
12458
|
-
* @memberof
|
|
13338
|
+
* @type {string}
|
|
13339
|
+
* @memberof UserModel
|
|
12459
13340
|
*/
|
|
12460
|
-
'
|
|
13341
|
+
'userName'?: string | null;
|
|
12461
13342
|
/**
|
|
12462
13343
|
*
|
|
12463
|
-
* @type {
|
|
12464
|
-
* @memberof
|
|
13344
|
+
* @type {string}
|
|
13345
|
+
* @memberof UserModel
|
|
12465
13346
|
*/
|
|
12466
|
-
'
|
|
13347
|
+
'firstName'?: string | null;
|
|
12467
13348
|
/**
|
|
12468
13349
|
*
|
|
12469
13350
|
* @type {string}
|
|
12470
|
-
* @memberof
|
|
13351
|
+
* @memberof UserModel
|
|
12471
13352
|
*/
|
|
12472
|
-
'
|
|
12473
|
-
}
|
|
12474
|
-
/**
|
|
12475
|
-
*
|
|
12476
|
-
* @export
|
|
12477
|
-
* @interface Youtube
|
|
12478
|
-
*/
|
|
12479
|
-
export interface Youtube {
|
|
13353
|
+
'lastName'?: string | null;
|
|
12480
13354
|
/**
|
|
12481
13355
|
*
|
|
12482
13356
|
* @type {string}
|
|
12483
|
-
* @memberof
|
|
13357
|
+
* @memberof UserModel
|
|
12484
13358
|
*/
|
|
12485
|
-
'
|
|
13359
|
+
'fullname'?: string | null;
|
|
12486
13360
|
/**
|
|
12487
13361
|
*
|
|
12488
13362
|
* @type {string}
|
|
12489
|
-
* @memberof
|
|
13363
|
+
* @memberof UserModel
|
|
12490
13364
|
*/
|
|
12491
|
-
'
|
|
13365
|
+
'phone'?: string | null;
|
|
12492
13366
|
/**
|
|
12493
13367
|
*
|
|
12494
13368
|
* @type {string}
|
|
12495
|
-
* @memberof
|
|
13369
|
+
* @memberof UserModel
|
|
12496
13370
|
*/
|
|
12497
|
-
'
|
|
13371
|
+
'email'?: string | null;
|
|
12498
13372
|
/**
|
|
12499
13373
|
*
|
|
12500
13374
|
* @type {string}
|
|
12501
|
-
* @memberof
|
|
13375
|
+
* @memberof UserModel
|
|
12502
13376
|
*/
|
|
12503
|
-
'
|
|
13377
|
+
'photo'?: string | null;
|
|
12504
13378
|
/**
|
|
12505
13379
|
*
|
|
12506
13380
|
* @type {string}
|
|
12507
|
-
* @memberof
|
|
13381
|
+
* @memberof UserModel
|
|
12508
13382
|
*/
|
|
12509
|
-
'
|
|
13383
|
+
'photoThumbnail'?: string | null;
|
|
12510
13384
|
/**
|
|
12511
13385
|
*
|
|
12512
|
-
* @type {
|
|
12513
|
-
* @memberof
|
|
13386
|
+
* @type {Gender}
|
|
13387
|
+
* @memberof UserModel
|
|
12514
13388
|
*/
|
|
12515
|
-
'
|
|
13389
|
+
'gender'?: Gender;
|
|
12516
13390
|
/**
|
|
12517
13391
|
*
|
|
12518
|
-
* @type {
|
|
12519
|
-
* @memberof
|
|
13392
|
+
* @type {Date}
|
|
13393
|
+
* @memberof UserModel
|
|
12520
13394
|
*/
|
|
12521
|
-
'
|
|
13395
|
+
'dateOfBirth'?: Date | null;
|
|
13396
|
+
/**
|
|
13397
|
+
*
|
|
13398
|
+
* @type {string}
|
|
13399
|
+
* @memberof UserModel
|
|
13400
|
+
*/
|
|
13401
|
+
'timeZone'?: string | null;
|
|
13402
|
+
/**
|
|
13403
|
+
*
|
|
13404
|
+
* @type {string}
|
|
13405
|
+
* @memberof UserModel
|
|
13406
|
+
*/
|
|
13407
|
+
'communicationUserId'?: string | null;
|
|
13408
|
+
/**
|
|
13409
|
+
*
|
|
13410
|
+
* @type {AuditableEntity}
|
|
13411
|
+
* @memberof UserModel
|
|
13412
|
+
*/
|
|
13413
|
+
'auditableEntity'?: AuditableEntity;
|
|
13414
|
+
/**
|
|
13415
|
+
*
|
|
13416
|
+
* @type {string}
|
|
13417
|
+
* @memberof UserModel
|
|
13418
|
+
*/
|
|
13419
|
+
'userType'?: string | null;
|
|
13420
|
+
/**
|
|
13421
|
+
*
|
|
13422
|
+
* @type {Array<UserLanguageModel>}
|
|
13423
|
+
* @memberof UserModel
|
|
13424
|
+
*/
|
|
13425
|
+
'languages'?: Array<UserLanguageModel> | null;
|
|
13426
|
+
/**
|
|
13427
|
+
*
|
|
13428
|
+
* @type {Array<UserLocationModel>}
|
|
13429
|
+
* @memberof UserModel
|
|
13430
|
+
*/
|
|
13431
|
+
'locations'?: Array<UserLocationModel> | null;
|
|
13432
|
+
}
|
|
13433
|
+
/**
|
|
13434
|
+
*
|
|
13435
|
+
* @export
|
|
13436
|
+
* @enum {string}
|
|
13437
|
+
*/
|
|
13438
|
+
|
|
13439
|
+
export enum VendorType {
|
|
13440
|
+
Stripe = 'Stripe',
|
|
13441
|
+
WeChat = 'WeChat'
|
|
13442
|
+
}
|
|
13443
|
+
|
|
13444
|
+
/**
|
|
13445
|
+
*
|
|
13446
|
+
* @export
|
|
13447
|
+
* @interface WeatherForecast
|
|
13448
|
+
*/
|
|
13449
|
+
export interface WeatherForecast {
|
|
13450
|
+
/**
|
|
13451
|
+
*
|
|
13452
|
+
* @type {Date}
|
|
13453
|
+
* @memberof WeatherForecast
|
|
13454
|
+
*/
|
|
13455
|
+
'date'?: Date;
|
|
13456
|
+
/**
|
|
13457
|
+
*
|
|
13458
|
+
* @type {number}
|
|
13459
|
+
* @memberof WeatherForecast
|
|
13460
|
+
*/
|
|
13461
|
+
'temperatureC'?: number;
|
|
13462
|
+
/**
|
|
13463
|
+
*
|
|
13464
|
+
* @type {number}
|
|
13465
|
+
* @memberof WeatherForecast
|
|
13466
|
+
*/
|
|
13467
|
+
'temperatureF'?: number;
|
|
13468
|
+
/**
|
|
13469
|
+
*
|
|
13470
|
+
* @type {string}
|
|
13471
|
+
* @memberof WeatherForecast
|
|
13472
|
+
*/
|
|
13473
|
+
'summary'?: string | null;
|
|
13474
|
+
}
|
|
13475
|
+
/**
|
|
13476
|
+
*
|
|
13477
|
+
* @export
|
|
13478
|
+
* @interface Youtube
|
|
13479
|
+
*/
|
|
13480
|
+
export interface Youtube {
|
|
13481
|
+
/**
|
|
13482
|
+
*
|
|
13483
|
+
* @type {string}
|
|
13484
|
+
* @memberof Youtube
|
|
13485
|
+
*/
|
|
13486
|
+
'id'?: string;
|
|
13487
|
+
/**
|
|
13488
|
+
*
|
|
13489
|
+
* @type {string}
|
|
13490
|
+
* @memberof Youtube
|
|
13491
|
+
*/
|
|
13492
|
+
'title'?: string | null;
|
|
13493
|
+
/**
|
|
13494
|
+
*
|
|
13495
|
+
* @type {string}
|
|
13496
|
+
* @memberof Youtube
|
|
13497
|
+
*/
|
|
13498
|
+
'normalizedTitle'?: string | null;
|
|
13499
|
+
/**
|
|
13500
|
+
*
|
|
13501
|
+
* @type {string}
|
|
13502
|
+
* @memberof Youtube
|
|
13503
|
+
*/
|
|
13504
|
+
'description'?: string | null;
|
|
13505
|
+
/**
|
|
13506
|
+
*
|
|
13507
|
+
* @type {string}
|
|
13508
|
+
* @memberof Youtube
|
|
13509
|
+
*/
|
|
13510
|
+
'url'?: string | null;
|
|
13511
|
+
/**
|
|
13512
|
+
*
|
|
13513
|
+
* @type {Array<YoutubeTag>}
|
|
13514
|
+
* @memberof Youtube
|
|
13515
|
+
*/
|
|
13516
|
+
'youtubeTags'?: Array<YoutubeTag> | null;
|
|
13517
|
+
/**
|
|
13518
|
+
*
|
|
13519
|
+
* @type {MarketingType}
|
|
13520
|
+
* @memberof Youtube
|
|
13521
|
+
*/
|
|
13522
|
+
'marketingType'?: MarketingType;
|
|
12522
13523
|
/**
|
|
12523
13524
|
*
|
|
12524
13525
|
* @type {AuditableEntity}
|
|
@@ -13864,22 +14865,16 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13864
14865
|
},
|
|
13865
14866
|
/**
|
|
13866
14867
|
*
|
|
13867
|
-
* @summary GetAll
|
|
14868
|
+
* @summary GetAll ArticleTags.
|
|
13868
14869
|
* @param {string} articleId
|
|
13869
|
-
* @param {string} [
|
|
13870
|
-
* @param {string} [contributorId]
|
|
13871
|
-
* @param {string} [contributorName]
|
|
13872
|
-
* @param {string} [email]
|
|
13873
|
-
* @param {string} [description]
|
|
13874
|
-
* @param {string} [website]
|
|
13875
|
-
* @param {ContributionType} [contributionType]
|
|
14870
|
+
* @param {string} [tagId]
|
|
13876
14871
|
* @param {number} [page]
|
|
13877
14872
|
* @param {number} [limit]
|
|
13878
14873
|
* @param {Date} [lastRetrieved]
|
|
13879
14874
|
* @param {*} [options] Override http request option.
|
|
13880
14875
|
* @throws {RequiredError}
|
|
13881
14876
|
*/
|
|
13882
|
-
apiV1ArticlesArticleIdTagsGet: async (articleId: string,
|
|
14877
|
+
apiV1ArticlesArticleIdTagsGet: async (articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13883
14878
|
// verify required parameter 'articleId' is not null or undefined
|
|
13884
14879
|
assertParamExists('apiV1ArticlesArticleIdTagsGet', 'articleId', articleId)
|
|
13885
14880
|
const localVarPath = `/api/v1/articles/{articleId}/tags`
|
|
@@ -13899,32 +14894,8 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13899
14894
|
// oauth required
|
|
13900
14895
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
13901
14896
|
|
|
13902
|
-
if (
|
|
13903
|
-
localVarQueryParameter['
|
|
13904
|
-
}
|
|
13905
|
-
|
|
13906
|
-
if (contributorId !== undefined) {
|
|
13907
|
-
localVarQueryParameter['ContributorId'] = contributorId;
|
|
13908
|
-
}
|
|
13909
|
-
|
|
13910
|
-
if (contributorName !== undefined) {
|
|
13911
|
-
localVarQueryParameter['ContributorName'] = contributorName;
|
|
13912
|
-
}
|
|
13913
|
-
|
|
13914
|
-
if (email !== undefined) {
|
|
13915
|
-
localVarQueryParameter['Email'] = email;
|
|
13916
|
-
}
|
|
13917
|
-
|
|
13918
|
-
if (description !== undefined) {
|
|
13919
|
-
localVarQueryParameter['Description'] = description;
|
|
13920
|
-
}
|
|
13921
|
-
|
|
13922
|
-
if (website !== undefined) {
|
|
13923
|
-
localVarQueryParameter['Website'] = website;
|
|
13924
|
-
}
|
|
13925
|
-
|
|
13926
|
-
if (contributionType !== undefined) {
|
|
13927
|
-
localVarQueryParameter['ContributionType'] = contributionType;
|
|
14897
|
+
if (tagId !== undefined) {
|
|
14898
|
+
localVarQueryParameter['TagId'] = tagId;
|
|
13928
14899
|
}
|
|
13929
14900
|
|
|
13930
14901
|
if (page !== undefined) {
|
|
@@ -13954,12 +14925,13 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13954
14925
|
},
|
|
13955
14926
|
/**
|
|
13956
14927
|
*
|
|
14928
|
+
* @summary Create ArticleTag.
|
|
13957
14929
|
* @param {string} articleId
|
|
13958
|
-
* @param {
|
|
14930
|
+
* @param {CreateArticleTagCommand} [createArticleTagCommand]
|
|
13959
14931
|
* @param {*} [options] Override http request option.
|
|
13960
14932
|
* @throws {RequiredError}
|
|
13961
14933
|
*/
|
|
13962
|
-
apiV1ArticlesArticleIdTagsPost: async (articleId: string,
|
|
14934
|
+
apiV1ArticlesArticleIdTagsPost: async (articleId: string, createArticleTagCommand?: CreateArticleTagCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13963
14935
|
// verify required parameter 'articleId' is not null or undefined
|
|
13964
14936
|
assertParamExists('apiV1ArticlesArticleIdTagsPost', 'articleId', articleId)
|
|
13965
14937
|
const localVarPath = `/api/v1/articles/{articleId}/tags`
|
|
@@ -13986,7 +14958,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13986
14958
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13987
14959
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13988
14960
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13989
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
14961
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createArticleTagCommand, localVarRequestOptions, configuration)
|
|
13990
14962
|
|
|
13991
14963
|
return {
|
|
13992
14964
|
url: toPathString(localVarUrlObj),
|
|
@@ -13995,23 +14967,20 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13995
14967
|
},
|
|
13996
14968
|
/**
|
|
13997
14969
|
*
|
|
13998
|
-
* @summary Delete
|
|
14970
|
+
* @summary Delete ArticleTag.
|
|
13999
14971
|
* @param {string} articleId
|
|
14000
|
-
* @param {string} contributorId
|
|
14001
14972
|
* @param {string} tagId
|
|
14973
|
+
* @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
|
|
14002
14974
|
* @param {*} [options] Override http request option.
|
|
14003
14975
|
* @throws {RequiredError}
|
|
14004
14976
|
*/
|
|
14005
|
-
apiV1ArticlesArticleIdTagsTagIdDelete: async (articleId: string,
|
|
14977
|
+
apiV1ArticlesArticleIdTagsTagIdDelete: async (articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14006
14978
|
// verify required parameter 'articleId' is not null or undefined
|
|
14007
14979
|
assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'articleId', articleId)
|
|
14008
|
-
// verify required parameter 'contributorId' is not null or undefined
|
|
14009
|
-
assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'contributorId', contributorId)
|
|
14010
14980
|
// verify required parameter 'tagId' is not null or undefined
|
|
14011
14981
|
assertParamExists('apiV1ArticlesArticleIdTagsTagIdDelete', 'tagId', tagId)
|
|
14012
14982
|
const localVarPath = `/api/v1/articles/{articleId}/tags/{tagId}`
|
|
14013
14983
|
.replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)))
|
|
14014
|
-
.replace(`{${"contributorId"}}`, encodeURIComponent(String(contributorId)))
|
|
14015
14984
|
.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
14016
14985
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14017
14986
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -14030,9 +14999,12 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14030
14999
|
|
|
14031
15000
|
|
|
14032
15001
|
|
|
15002
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15003
|
+
|
|
14033
15004
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14034
15005
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14035
15006
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15007
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deleteArticleTagCommand, localVarRequestOptions, configuration)
|
|
14036
15008
|
|
|
14037
15009
|
return {
|
|
14038
15010
|
url: toPathString(localVarUrlObj),
|
|
@@ -14041,23 +15013,19 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14041
15013
|
},
|
|
14042
15014
|
/**
|
|
14043
15015
|
*
|
|
14044
|
-
* @summary Get
|
|
15016
|
+
* @summary Get ArticleTag.
|
|
14045
15017
|
* @param {string} articleId
|
|
14046
|
-
* @param {string} contributorId
|
|
14047
15018
|
* @param {string} tagId
|
|
14048
15019
|
* @param {*} [options] Override http request option.
|
|
14049
15020
|
* @throws {RequiredError}
|
|
14050
15021
|
*/
|
|
14051
|
-
apiV1ArticlesArticleIdTagsTagIdGet: async (articleId: string,
|
|
15022
|
+
apiV1ArticlesArticleIdTagsTagIdGet: async (articleId: string, tagId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14052
15023
|
// verify required parameter 'articleId' is not null or undefined
|
|
14053
15024
|
assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'articleId', articleId)
|
|
14054
|
-
// verify required parameter 'contributorId' is not null or undefined
|
|
14055
|
-
assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'contributorId', contributorId)
|
|
14056
15025
|
// verify required parameter 'tagId' is not null or undefined
|
|
14057
15026
|
assertParamExists('apiV1ArticlesArticleIdTagsTagIdGet', 'tagId', tagId)
|
|
14058
15027
|
const localVarPath = `/api/v1/articles/{articleId}/tags/{tagId}`
|
|
14059
15028
|
.replace(`{${"articleId"}}`, encodeURIComponent(String(articleId)))
|
|
14060
|
-
.replace(`{${"contributorId"}}`, encodeURIComponent(String(contributorId)))
|
|
14061
15029
|
.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
14062
15030
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14063
15031
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -14537,60 +15505,54 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
14537
15505
|
},
|
|
14538
15506
|
/**
|
|
14539
15507
|
*
|
|
14540
|
-
* @summary GetAll
|
|
15508
|
+
* @summary GetAll ArticleTags.
|
|
14541
15509
|
* @param {string} articleId
|
|
14542
|
-
* @param {string} [
|
|
14543
|
-
* @param {string} [contributorId]
|
|
14544
|
-
* @param {string} [contributorName]
|
|
14545
|
-
* @param {string} [email]
|
|
14546
|
-
* @param {string} [description]
|
|
14547
|
-
* @param {string} [website]
|
|
14548
|
-
* @param {ContributionType} [contributionType]
|
|
15510
|
+
* @param {string} [tagId]
|
|
14549
15511
|
* @param {number} [page]
|
|
14550
15512
|
* @param {number} [limit]
|
|
14551
15513
|
* @param {Date} [lastRetrieved]
|
|
14552
15514
|
* @param {*} [options] Override http request option.
|
|
14553
15515
|
* @throws {RequiredError}
|
|
14554
15516
|
*/
|
|
14555
|
-
async apiV1ArticlesArticleIdTagsGet(articleId: string,
|
|
14556
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsGet(articleId,
|
|
15517
|
+
async apiV1ArticlesArticleIdTagsGet(articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleTagsModel>> {
|
|
15518
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options);
|
|
14557
15519
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14558
15520
|
},
|
|
14559
15521
|
/**
|
|
14560
15522
|
*
|
|
15523
|
+
* @summary Create ArticleTag.
|
|
14561
15524
|
* @param {string} articleId
|
|
14562
|
-
* @param {
|
|
15525
|
+
* @param {CreateArticleTagCommand} [createArticleTagCommand]
|
|
14563
15526
|
* @param {*} [options] Override http request option.
|
|
14564
15527
|
* @throws {RequiredError}
|
|
14565
15528
|
*/
|
|
14566
|
-
async apiV1ArticlesArticleIdTagsPost(articleId: string,
|
|
14567
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsPost(articleId,
|
|
15529
|
+
async apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleTagCommand?: CreateArticleTagCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleTagModel>> {
|
|
15530
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options);
|
|
14568
15531
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14569
15532
|
},
|
|
14570
15533
|
/**
|
|
14571
15534
|
*
|
|
14572
|
-
* @summary Delete
|
|
15535
|
+
* @summary Delete ArticleTag.
|
|
14573
15536
|
* @param {string} articleId
|
|
14574
|
-
* @param {string} contributorId
|
|
14575
15537
|
* @param {string} tagId
|
|
15538
|
+
* @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
|
|
14576
15539
|
* @param {*} [options] Override http request option.
|
|
14577
15540
|
* @throws {RequiredError}
|
|
14578
15541
|
*/
|
|
14579
|
-
async apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string,
|
|
14580
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdDelete(articleId,
|
|
15542
|
+
async apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
15543
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options);
|
|
14581
15544
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14582
15545
|
},
|
|
14583
15546
|
/**
|
|
14584
15547
|
*
|
|
14585
|
-
* @summary Get
|
|
15548
|
+
* @summary Get ArticleTag.
|
|
14586
15549
|
* @param {string} articleId
|
|
14587
|
-
* @param {string} contributorId
|
|
14588
15550
|
* @param {string} tagId
|
|
14589
15551
|
* @param {*} [options] Override http request option.
|
|
14590
15552
|
* @throws {RequiredError}
|
|
14591
15553
|
*/
|
|
14592
|
-
async apiV1ArticlesArticleIdTagsTagIdGet(articleId: string,
|
|
14593
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdGet(articleId,
|
|
15554
|
+
async apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, tagId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleTagModel>> {
|
|
15555
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options);
|
|
14594
15556
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14595
15557
|
},
|
|
14596
15558
|
/**
|
|
@@ -14871,57 +15833,51 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
14871
15833
|
},
|
|
14872
15834
|
/**
|
|
14873
15835
|
*
|
|
14874
|
-
* @summary GetAll
|
|
15836
|
+
* @summary GetAll ArticleTags.
|
|
14875
15837
|
* @param {string} articleId
|
|
14876
|
-
* @param {string} [
|
|
14877
|
-
* @param {string} [contributorId]
|
|
14878
|
-
* @param {string} [contributorName]
|
|
14879
|
-
* @param {string} [email]
|
|
14880
|
-
* @param {string} [description]
|
|
14881
|
-
* @param {string} [website]
|
|
14882
|
-
* @param {ContributionType} [contributionType]
|
|
15838
|
+
* @param {string} [tagId]
|
|
14883
15839
|
* @param {number} [page]
|
|
14884
15840
|
* @param {number} [limit]
|
|
14885
15841
|
* @param {Date} [lastRetrieved]
|
|
14886
15842
|
* @param {*} [options] Override http request option.
|
|
14887
15843
|
* @throws {RequiredError}
|
|
14888
15844
|
*/
|
|
14889
|
-
apiV1ArticlesArticleIdTagsGet(articleId: string,
|
|
14890
|
-
return localVarFp.apiV1ArticlesArticleIdTagsGet(articleId,
|
|
15845
|
+
apiV1ArticlesArticleIdTagsGet(articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticleTagsModel> {
|
|
15846
|
+
return localVarFp.apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
14891
15847
|
},
|
|
14892
15848
|
/**
|
|
14893
15849
|
*
|
|
15850
|
+
* @summary Create ArticleTag.
|
|
14894
15851
|
* @param {string} articleId
|
|
14895
|
-
* @param {
|
|
15852
|
+
* @param {CreateArticleTagCommand} [createArticleTagCommand]
|
|
14896
15853
|
* @param {*} [options] Override http request option.
|
|
14897
15854
|
* @throws {RequiredError}
|
|
14898
15855
|
*/
|
|
14899
|
-
apiV1ArticlesArticleIdTagsPost(articleId: string,
|
|
14900
|
-
return localVarFp.apiV1ArticlesArticleIdTagsPost(articleId,
|
|
15856
|
+
apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleTagCommand?: CreateArticleTagCommand, options?: any): AxiosPromise<ArticleTagModel> {
|
|
15857
|
+
return localVarFp.apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options).then((request) => request(axios, basePath));
|
|
14901
15858
|
},
|
|
14902
15859
|
/**
|
|
14903
15860
|
*
|
|
14904
|
-
* @summary Delete
|
|
15861
|
+
* @summary Delete ArticleTag.
|
|
14905
15862
|
* @param {string} articleId
|
|
14906
|
-
* @param {string} contributorId
|
|
14907
15863
|
* @param {string} tagId
|
|
15864
|
+
* @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
|
|
14908
15865
|
* @param {*} [options] Override http request option.
|
|
14909
15866
|
* @throws {RequiredError}
|
|
14910
15867
|
*/
|
|
14911
|
-
apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string,
|
|
14912
|
-
return localVarFp.apiV1ArticlesArticleIdTagsTagIdDelete(articleId,
|
|
15868
|
+
apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand, options?: any): AxiosPromise<boolean> {
|
|
15869
|
+
return localVarFp.apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options).then((request) => request(axios, basePath));
|
|
14913
15870
|
},
|
|
14914
15871
|
/**
|
|
14915
15872
|
*
|
|
14916
|
-
* @summary Get
|
|
15873
|
+
* @summary Get ArticleTag.
|
|
14917
15874
|
* @param {string} articleId
|
|
14918
|
-
* @param {string} contributorId
|
|
14919
15875
|
* @param {string} tagId
|
|
14920
15876
|
* @param {*} [options] Override http request option.
|
|
14921
15877
|
* @throws {RequiredError}
|
|
14922
15878
|
*/
|
|
14923
|
-
apiV1ArticlesArticleIdTagsTagIdGet(articleId: string,
|
|
14924
|
-
return localVarFp.apiV1ArticlesArticleIdTagsTagIdGet(articleId,
|
|
15879
|
+
apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, tagId: string, options?: any): AxiosPromise<ArticleTagModel> {
|
|
15880
|
+
return localVarFp.apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options).then((request) => request(axios, basePath));
|
|
14925
15881
|
},
|
|
14926
15882
|
/**
|
|
14927
15883
|
*
|
|
@@ -15234,15 +16190,9 @@ export class ArticlesApi extends BaseAPI {
|
|
|
15234
16190
|
|
|
15235
16191
|
/**
|
|
15236
16192
|
*
|
|
15237
|
-
* @summary GetAll
|
|
16193
|
+
* @summary GetAll ArticleTags.
|
|
15238
16194
|
* @param {string} articleId
|
|
15239
|
-
* @param {string} [
|
|
15240
|
-
* @param {string} [contributorId]
|
|
15241
|
-
* @param {string} [contributorName]
|
|
15242
|
-
* @param {string} [email]
|
|
15243
|
-
* @param {string} [description]
|
|
15244
|
-
* @param {string} [website]
|
|
15245
|
-
* @param {ContributionType} [contributionType]
|
|
16195
|
+
* @param {string} [tagId]
|
|
15246
16196
|
* @param {number} [page]
|
|
15247
16197
|
* @param {number} [limit]
|
|
15248
16198
|
* @param {Date} [lastRetrieved]
|
|
@@ -15250,48 +16200,48 @@ export class ArticlesApi extends BaseAPI {
|
|
|
15250
16200
|
* @throws {RequiredError}
|
|
15251
16201
|
* @memberof ArticlesApi
|
|
15252
16202
|
*/
|
|
15253
|
-
public apiV1ArticlesArticleIdTagsGet(articleId: string,
|
|
15254
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsGet(articleId,
|
|
16203
|
+
public apiV1ArticlesArticleIdTagsGet(articleId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
16204
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15255
16205
|
}
|
|
15256
16206
|
|
|
15257
16207
|
/**
|
|
15258
16208
|
*
|
|
16209
|
+
* @summary Create ArticleTag.
|
|
15259
16210
|
* @param {string} articleId
|
|
15260
|
-
* @param {
|
|
16211
|
+
* @param {CreateArticleTagCommand} [createArticleTagCommand]
|
|
15261
16212
|
* @param {*} [options] Override http request option.
|
|
15262
16213
|
* @throws {RequiredError}
|
|
15263
16214
|
* @memberof ArticlesApi
|
|
15264
16215
|
*/
|
|
15265
|
-
public apiV1ArticlesArticleIdTagsPost(articleId: string,
|
|
15266
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsPost(articleId,
|
|
16216
|
+
public apiV1ArticlesArticleIdTagsPost(articleId: string, createArticleTagCommand?: CreateArticleTagCommand, options?: AxiosRequestConfig) {
|
|
16217
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsPost(articleId, createArticleTagCommand, options).then((request) => request(this.axios, this.basePath));
|
|
15267
16218
|
}
|
|
15268
16219
|
|
|
15269
16220
|
/**
|
|
15270
16221
|
*
|
|
15271
|
-
* @summary Delete
|
|
16222
|
+
* @summary Delete ArticleTag.
|
|
15272
16223
|
* @param {string} articleId
|
|
15273
|
-
* @param {string} contributorId
|
|
15274
16224
|
* @param {string} tagId
|
|
16225
|
+
* @param {DeleteArticleTagCommand} [deleteArticleTagCommand]
|
|
15275
16226
|
* @param {*} [options] Override http request option.
|
|
15276
16227
|
* @throws {RequiredError}
|
|
15277
16228
|
* @memberof ArticlesApi
|
|
15278
16229
|
*/
|
|
15279
|
-
public apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string,
|
|
15280
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdDelete(articleId,
|
|
16230
|
+
public apiV1ArticlesArticleIdTagsTagIdDelete(articleId: string, tagId: string, deleteArticleTagCommand?: DeleteArticleTagCommand, options?: AxiosRequestConfig) {
|
|
16231
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdDelete(articleId, tagId, deleteArticleTagCommand, options).then((request) => request(this.axios, this.basePath));
|
|
15281
16232
|
}
|
|
15282
16233
|
|
|
15283
16234
|
/**
|
|
15284
16235
|
*
|
|
15285
|
-
* @summary Get
|
|
16236
|
+
* @summary Get ArticleTag.
|
|
15286
16237
|
* @param {string} articleId
|
|
15287
|
-
* @param {string} contributorId
|
|
15288
16238
|
* @param {string} tagId
|
|
15289
16239
|
* @param {*} [options] Override http request option.
|
|
15290
16240
|
* @throws {RequiredError}
|
|
15291
16241
|
* @memberof ArticlesApi
|
|
15292
16242
|
*/
|
|
15293
|
-
public apiV1ArticlesArticleIdTagsTagIdGet(articleId: string,
|
|
15294
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdGet(articleId,
|
|
16243
|
+
public apiV1ArticlesArticleIdTagsTagIdGet(articleId: string, tagId: string, options?: AxiosRequestConfig) {
|
|
16244
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsTagIdGet(articleId, tagId, options).then((request) => request(this.axios, this.basePath));
|
|
15295
16245
|
}
|
|
15296
16246
|
|
|
15297
16247
|
/**
|
|
@@ -20767,9 +21717,8 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20767
21717
|
*
|
|
20768
21718
|
* @summary Delete DoctorCertificate.
|
|
20769
21719
|
* @param {string} doctorId
|
|
20770
|
-
* @param {string} [doctorId2]
|
|
20771
|
-
* @param {string} [id]
|
|
20772
21720
|
* @param {string} [doctorName]
|
|
21721
|
+
* @param {string} [certificateId]
|
|
20773
21722
|
* @param {string} [certificate]
|
|
20774
21723
|
* @param {Date} [activeFrom]
|
|
20775
21724
|
* @param {Date} [activeTo]
|
|
@@ -20779,7 +21728,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20779
21728
|
* @param {*} [options] Override http request option.
|
|
20780
21729
|
* @throws {RequiredError}
|
|
20781
21730
|
*/
|
|
20782
|
-
apiV1DoctorsDoctorIdCertificatesGet: async (doctorId: string,
|
|
21731
|
+
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
21732
|
// verify required parameter 'doctorId' is not null or undefined
|
|
20784
21733
|
assertParamExists('apiV1DoctorsDoctorIdCertificatesGet', 'doctorId', doctorId)
|
|
20785
21734
|
const localVarPath = `/api/v1/doctors/{doctorId}/certificates`
|
|
@@ -20799,18 +21748,14 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20799
21748
|
// oauth required
|
|
20800
21749
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
20801
21750
|
|
|
20802
|
-
if (doctorId2 !== undefined) {
|
|
20803
|
-
localVarQueryParameter['DoctorId'] = doctorId2;
|
|
20804
|
-
}
|
|
20805
|
-
|
|
20806
|
-
if (id !== undefined) {
|
|
20807
|
-
localVarQueryParameter['Id'] = id;
|
|
20808
|
-
}
|
|
20809
|
-
|
|
20810
21751
|
if (doctorName !== undefined) {
|
|
20811
21752
|
localVarQueryParameter['DoctorName'] = doctorName;
|
|
20812
21753
|
}
|
|
20813
21754
|
|
|
21755
|
+
if (certificateId !== undefined) {
|
|
21756
|
+
localVarQueryParameter['CertificateId'] = certificateId;
|
|
21757
|
+
}
|
|
21758
|
+
|
|
20814
21759
|
if (certificate !== undefined) {
|
|
20815
21760
|
localVarQueryParameter['Certificate'] = certificate;
|
|
20816
21761
|
}
|
|
@@ -21066,8 +22011,8 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21066
22011
|
*
|
|
21067
22012
|
* @summary Get all DoctorEducations.
|
|
21068
22013
|
* @param {string} doctorId
|
|
21069
|
-
* @param {string} [doctorId2]
|
|
21070
22014
|
* @param {string} [doctorName]
|
|
22015
|
+
* @param {string} [educationId]
|
|
21071
22016
|
* @param {string} [institution]
|
|
21072
22017
|
* @param {string} [qualification]
|
|
21073
22018
|
* @param {Date} [graduationDate]
|
|
@@ -21077,7 +22022,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21077
22022
|
* @param {*} [options] Override http request option.
|
|
21078
22023
|
* @throws {RequiredError}
|
|
21079
22024
|
*/
|
|
21080
|
-
apiV1DoctorsDoctorIdEducationsGet: async (doctorId: string,
|
|
22025
|
+
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
22026
|
// verify required parameter 'doctorId' is not null or undefined
|
|
21082
22027
|
assertParamExists('apiV1DoctorsDoctorIdEducationsGet', 'doctorId', doctorId)
|
|
21083
22028
|
const localVarPath = `/api/v1/doctors/{doctorId}/educations`
|
|
@@ -21097,14 +22042,14 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21097
22042
|
// oauth required
|
|
21098
22043
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
21099
22044
|
|
|
21100
|
-
if (doctorId2 !== undefined) {
|
|
21101
|
-
localVarQueryParameter['DoctorId'] = doctorId2;
|
|
21102
|
-
}
|
|
21103
|
-
|
|
21104
22045
|
if (doctorName !== undefined) {
|
|
21105
22046
|
localVarQueryParameter['DoctorName'] = doctorName;
|
|
21106
22047
|
}
|
|
21107
22048
|
|
|
22049
|
+
if (educationId !== undefined) {
|
|
22050
|
+
localVarQueryParameter['EducationId'] = educationId;
|
|
22051
|
+
}
|
|
22052
|
+
|
|
21108
22053
|
if (institution !== undefined) {
|
|
21109
22054
|
localVarQueryParameter['Institution'] = institution;
|
|
21110
22055
|
}
|
|
@@ -21470,9 +22415,8 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21470
22415
|
*
|
|
21471
22416
|
* @summary Get All DoctorPortfolios
|
|
21472
22417
|
* @param {string} doctorId
|
|
21473
|
-
* @param {string} [id]
|
|
21474
|
-
* @param {string} [doctorId2]
|
|
21475
22418
|
* @param {string} [doctorName]
|
|
22419
|
+
* @param {string} [portfolioId]
|
|
21476
22420
|
* @param {string} [name]
|
|
21477
22421
|
* @param {number} [page]
|
|
21478
22422
|
* @param {number} [limit]
|
|
@@ -21480,7 +22424,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21480
22424
|
* @param {*} [options] Override http request option.
|
|
21481
22425
|
* @throws {RequiredError}
|
|
21482
22426
|
*/
|
|
21483
|
-
apiV1DoctorsDoctorIdPortfoliosGet: async (doctorId: string,
|
|
22427
|
+
apiV1DoctorsDoctorIdPortfoliosGet: async (doctorId: string, doctorName?: string, portfolioId?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21484
22428
|
// verify required parameter 'doctorId' is not null or undefined
|
|
21485
22429
|
assertParamExists('apiV1DoctorsDoctorIdPortfoliosGet', 'doctorId', doctorId)
|
|
21486
22430
|
const localVarPath = `/api/v1/doctors/{doctorId}/portfolios`
|
|
@@ -21500,18 +22444,14 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21500
22444
|
// oauth required
|
|
21501
22445
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
21502
22446
|
|
|
21503
|
-
if (id !== undefined) {
|
|
21504
|
-
localVarQueryParameter['Id'] = id;
|
|
21505
|
-
}
|
|
21506
|
-
|
|
21507
|
-
if (doctorId2 !== undefined) {
|
|
21508
|
-
localVarQueryParameter['DoctorId'] = doctorId2;
|
|
21509
|
-
}
|
|
21510
|
-
|
|
21511
22447
|
if (doctorName !== undefined) {
|
|
21512
22448
|
localVarQueryParameter['DoctorName'] = doctorName;
|
|
21513
22449
|
}
|
|
21514
22450
|
|
|
22451
|
+
if (portfolioId !== undefined) {
|
|
22452
|
+
localVarQueryParameter['PortfolioId'] = portfolioId;
|
|
22453
|
+
}
|
|
22454
|
+
|
|
21515
22455
|
if (name !== undefined) {
|
|
21516
22456
|
localVarQueryParameter['Name'] = name;
|
|
21517
22457
|
}
|
|
@@ -22288,9 +23228,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22288
23228
|
*
|
|
22289
23229
|
* @summary Delete DoctorCertificate.
|
|
22290
23230
|
* @param {string} doctorId
|
|
22291
|
-
* @param {string} [doctorId2]
|
|
22292
|
-
* @param {string} [id]
|
|
22293
23231
|
* @param {string} [doctorName]
|
|
23232
|
+
* @param {string} [certificateId]
|
|
22294
23233
|
* @param {string} [certificate]
|
|
22295
23234
|
* @param {Date} [activeFrom]
|
|
22296
23235
|
* @param {Date} [activeTo]
|
|
@@ -22300,8 +23239,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22300
23239
|
* @param {*} [options] Override http request option.
|
|
22301
23240
|
* @throws {RequiredError}
|
|
22302
23241
|
*/
|
|
22303
|
-
async apiV1DoctorsDoctorIdCertificatesGet(doctorId: string,
|
|
22304
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdCertificatesGet(doctorId,
|
|
23242
|
+
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>> {
|
|
23243
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options);
|
|
22305
23244
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22306
23245
|
},
|
|
22307
23246
|
/**
|
|
@@ -22368,8 +23307,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22368
23307
|
*
|
|
22369
23308
|
* @summary Get all DoctorEducations.
|
|
22370
23309
|
* @param {string} doctorId
|
|
22371
|
-
* @param {string} [doctorId2]
|
|
22372
23310
|
* @param {string} [doctorName]
|
|
23311
|
+
* @param {string} [educationId]
|
|
22373
23312
|
* @param {string} [institution]
|
|
22374
23313
|
* @param {string} [qualification]
|
|
22375
23314
|
* @param {Date} [graduationDate]
|
|
@@ -22379,8 +23318,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22379
23318
|
* @param {*} [options] Override http request option.
|
|
22380
23319
|
* @throws {RequiredError}
|
|
22381
23320
|
*/
|
|
22382
|
-
async apiV1DoctorsDoctorIdEducationsGet(doctorId: string,
|
|
22383
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdEducationsGet(doctorId,
|
|
23321
|
+
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>> {
|
|
23322
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options);
|
|
22384
23323
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22385
23324
|
},
|
|
22386
23325
|
/**
|
|
@@ -22476,9 +23415,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22476
23415
|
*
|
|
22477
23416
|
* @summary Get All DoctorPortfolios
|
|
22478
23417
|
* @param {string} doctorId
|
|
22479
|
-
* @param {string} [id]
|
|
22480
|
-
* @param {string} [doctorId2]
|
|
22481
23418
|
* @param {string} [doctorName]
|
|
23419
|
+
* @param {string} [portfolioId]
|
|
22482
23420
|
* @param {string} [name]
|
|
22483
23421
|
* @param {number} [page]
|
|
22484
23422
|
* @param {number} [limit]
|
|
@@ -22486,8 +23424,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22486
23424
|
* @param {*} [options] Override http request option.
|
|
22487
23425
|
* @throws {RequiredError}
|
|
22488
23426
|
*/
|
|
22489
|
-
async apiV1DoctorsDoctorIdPortfoliosGet(doctorId: string,
|
|
22490
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdPortfoliosGet(doctorId,
|
|
23427
|
+
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>> {
|
|
23428
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdPortfoliosGet(doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options);
|
|
22491
23429
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22492
23430
|
},
|
|
22493
23431
|
/**
|
|
@@ -22653,7 +23591,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22653
23591
|
* @param {*} [options] Override http request option.
|
|
22654
23592
|
* @throws {RequiredError}
|
|
22655
23593
|
*/
|
|
22656
|
-
async apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
23594
|
+
async apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
|
|
22657
23595
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsPost(createDoctorCommand, options);
|
|
22658
23596
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22659
23597
|
},
|
|
@@ -22739,9 +23677,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22739
23677
|
*
|
|
22740
23678
|
* @summary Delete DoctorCertificate.
|
|
22741
23679
|
* @param {string} doctorId
|
|
22742
|
-
* @param {string} [doctorId2]
|
|
22743
|
-
* @param {string} [id]
|
|
22744
23680
|
* @param {string} [doctorName]
|
|
23681
|
+
* @param {string} [certificateId]
|
|
22745
23682
|
* @param {string} [certificate]
|
|
22746
23683
|
* @param {Date} [activeFrom]
|
|
22747
23684
|
* @param {Date} [activeTo]
|
|
@@ -22751,8 +23688,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22751
23688
|
* @param {*} [options] Override http request option.
|
|
22752
23689
|
* @throws {RequiredError}
|
|
22753
23690
|
*/
|
|
22754
|
-
apiV1DoctorsDoctorIdCertificatesGet(doctorId: string,
|
|
22755
|
-
return localVarFp.apiV1DoctorsDoctorIdCertificatesGet(doctorId,
|
|
23691
|
+
apiV1DoctorsDoctorIdCertificatesGet(doctorId: string, doctorName?: string, certificateId?: string, certificate?: string, activeFrom?: Date, activeTo?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorCertificatesModel> {
|
|
23692
|
+
return localVarFp.apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
22756
23693
|
},
|
|
22757
23694
|
/**
|
|
22758
23695
|
*
|
|
@@ -22813,8 +23750,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22813
23750
|
*
|
|
22814
23751
|
* @summary Get all DoctorEducations.
|
|
22815
23752
|
* @param {string} doctorId
|
|
22816
|
-
* @param {string} [doctorId2]
|
|
22817
23753
|
* @param {string} [doctorName]
|
|
23754
|
+
* @param {string} [educationId]
|
|
22818
23755
|
* @param {string} [institution]
|
|
22819
23756
|
* @param {string} [qualification]
|
|
22820
23757
|
* @param {Date} [graduationDate]
|
|
@@ -22824,8 +23761,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22824
23761
|
* @param {*} [options] Override http request option.
|
|
22825
23762
|
* @throws {RequiredError}
|
|
22826
23763
|
*/
|
|
22827
|
-
apiV1DoctorsDoctorIdEducationsGet(doctorId: string,
|
|
22828
|
-
return localVarFp.apiV1DoctorsDoctorIdEducationsGet(doctorId,
|
|
23764
|
+
apiV1DoctorsDoctorIdEducationsGet(doctorId: string, doctorName?: string, educationId?: string, institution?: string, qualification?: string, graduationDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorEducationsModel> {
|
|
23765
|
+
return localVarFp.apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
22829
23766
|
},
|
|
22830
23767
|
/**
|
|
22831
23768
|
*
|
|
@@ -22913,9 +23850,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22913
23850
|
*
|
|
22914
23851
|
* @summary Get All DoctorPortfolios
|
|
22915
23852
|
* @param {string} doctorId
|
|
22916
|
-
* @param {string} [id]
|
|
22917
|
-
* @param {string} [doctorId2]
|
|
22918
23853
|
* @param {string} [doctorName]
|
|
23854
|
+
* @param {string} [portfolioId]
|
|
22919
23855
|
* @param {string} [name]
|
|
22920
23856
|
* @param {number} [page]
|
|
22921
23857
|
* @param {number} [limit]
|
|
@@ -22923,8 +23859,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
22923
23859
|
* @param {*} [options] Override http request option.
|
|
22924
23860
|
* @throws {RequiredError}
|
|
22925
23861
|
*/
|
|
22926
|
-
apiV1DoctorsDoctorIdPortfoliosGet(doctorId: string,
|
|
22927
|
-
return localVarFp.apiV1DoctorsDoctorIdPortfoliosGet(doctorId,
|
|
23862
|
+
apiV1DoctorsDoctorIdPortfoliosGet(doctorId: string, doctorName?: string, portfolioId?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorPortfoliosModel> {
|
|
23863
|
+
return localVarFp.apiV1DoctorsDoctorIdPortfoliosGet(doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
22928
23864
|
},
|
|
22929
23865
|
/**
|
|
22930
23866
|
*
|
|
@@ -23078,7 +24014,7 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
23078
24014
|
* @param {*} [options] Override http request option.
|
|
23079
24015
|
* @throws {RequiredError}
|
|
23080
24016
|
*/
|
|
23081
|
-
apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: any): AxiosPromise<
|
|
24017
|
+
apiV1DoctorsPost(createDoctorCommand?: CreateDoctorCommand, options?: any): AxiosPromise<DoctorModel> {
|
|
23082
24018
|
return localVarFp.apiV1DoctorsPost(createDoctorCommand, options).then((request) => request(axios, basePath));
|
|
23083
24019
|
},
|
|
23084
24020
|
/**
|
|
@@ -23172,9 +24108,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23172
24108
|
*
|
|
23173
24109
|
* @summary Delete DoctorCertificate.
|
|
23174
24110
|
* @param {string} doctorId
|
|
23175
|
-
* @param {string} [doctorId2]
|
|
23176
|
-
* @param {string} [id]
|
|
23177
24111
|
* @param {string} [doctorName]
|
|
24112
|
+
* @param {string} [certificateId]
|
|
23178
24113
|
* @param {string} [certificate]
|
|
23179
24114
|
* @param {Date} [activeFrom]
|
|
23180
24115
|
* @param {Date} [activeTo]
|
|
@@ -23185,8 +24120,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23185
24120
|
* @throws {RequiredError}
|
|
23186
24121
|
* @memberof DoctorsApi
|
|
23187
24122
|
*/
|
|
23188
|
-
public apiV1DoctorsDoctorIdCertificatesGet(doctorId: string,
|
|
23189
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdCertificatesGet(doctorId,
|
|
24123
|
+
public apiV1DoctorsDoctorIdCertificatesGet(doctorId: string, doctorName?: string, certificateId?: string, certificate?: string, activeFrom?: Date, activeTo?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24124
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
23190
24125
|
}
|
|
23191
24126
|
|
|
23192
24127
|
/**
|
|
@@ -23258,8 +24193,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23258
24193
|
*
|
|
23259
24194
|
* @summary Get all DoctorEducations.
|
|
23260
24195
|
* @param {string} doctorId
|
|
23261
|
-
* @param {string} [doctorId2]
|
|
23262
24196
|
* @param {string} [doctorName]
|
|
24197
|
+
* @param {string} [educationId]
|
|
23263
24198
|
* @param {string} [institution]
|
|
23264
24199
|
* @param {string} [qualification]
|
|
23265
24200
|
* @param {Date} [graduationDate]
|
|
@@ -23270,8 +24205,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23270
24205
|
* @throws {RequiredError}
|
|
23271
24206
|
* @memberof DoctorsApi
|
|
23272
24207
|
*/
|
|
23273
|
-
public apiV1DoctorsDoctorIdEducationsGet(doctorId: string,
|
|
23274
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdEducationsGet(doctorId,
|
|
24208
|
+
public apiV1DoctorsDoctorIdEducationsGet(doctorId: string, doctorName?: string, educationId?: string, institution?: string, qualification?: string, graduationDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24209
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
23275
24210
|
}
|
|
23276
24211
|
|
|
23277
24212
|
/**
|
|
@@ -23374,9 +24309,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23374
24309
|
*
|
|
23375
24310
|
* @summary Get All DoctorPortfolios
|
|
23376
24311
|
* @param {string} doctorId
|
|
23377
|
-
* @param {string} [id]
|
|
23378
|
-
* @param {string} [doctorId2]
|
|
23379
24312
|
* @param {string} [doctorName]
|
|
24313
|
+
* @param {string} [portfolioId]
|
|
23380
24314
|
* @param {string} [name]
|
|
23381
24315
|
* @param {number} [page]
|
|
23382
24316
|
* @param {number} [limit]
|
|
@@ -23385,8 +24319,8 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23385
24319
|
* @throws {RequiredError}
|
|
23386
24320
|
* @memberof DoctorsApi
|
|
23387
24321
|
*/
|
|
23388
|
-
public apiV1DoctorsDoctorIdPortfoliosGet(doctorId: string,
|
|
23389
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdPortfoliosGet(doctorId,
|
|
24322
|
+
public apiV1DoctorsDoctorIdPortfoliosGet(doctorId: string, doctorName?: string, portfolioId?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24323
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdPortfoliosGet(doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
23390
24324
|
}
|
|
23391
24325
|
|
|
23392
24326
|
/**
|
|
@@ -28212,20 +29146,1565 @@ export class LanguagesApi extends BaseAPI {
|
|
|
28212
29146
|
|
|
28213
29147
|
|
|
28214
29148
|
/**
|
|
28215
|
-
*
|
|
29149
|
+
* ManagersApi - axios parameter creator
|
|
28216
29150
|
* @export
|
|
28217
29151
|
*/
|
|
28218
|
-
export const
|
|
29152
|
+
export const ManagersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
28219
29153
|
return {
|
|
28220
29154
|
/**
|
|
28221
29155
|
*
|
|
28222
|
-
* @summary
|
|
28223
|
-
* @param {
|
|
29156
|
+
* @summary Get all Managers.
|
|
29157
|
+
* @param {string} [hospitalId]
|
|
29158
|
+
* @param {string} [id]
|
|
29159
|
+
* @param {string} [fullname]
|
|
29160
|
+
* @param {string} [email]
|
|
29161
|
+
* @param {Gender} [gender]
|
|
29162
|
+
* @param {Date} [dateOfBirth]
|
|
29163
|
+
* @param {Date} [created]
|
|
29164
|
+
* @param {number} [page]
|
|
29165
|
+
* @param {number} [limit]
|
|
29166
|
+
* @param {Date} [lastRetrieved]
|
|
28224
29167
|
* @param {*} [options] Override http request option.
|
|
28225
29168
|
* @throws {RequiredError}
|
|
28226
29169
|
*/
|
|
28227
|
-
|
|
28228
|
-
const localVarPath = `/api/v1/
|
|
29170
|
+
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> => {
|
|
29171
|
+
const localVarPath = `/api/v1/managers`;
|
|
29172
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29173
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29174
|
+
let baseOptions;
|
|
29175
|
+
if (configuration) {
|
|
29176
|
+
baseOptions = configuration.baseOptions;
|
|
29177
|
+
}
|
|
29178
|
+
|
|
29179
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29180
|
+
const localVarHeaderParameter = {} as any;
|
|
29181
|
+
const localVarQueryParameter = {} as any;
|
|
29182
|
+
|
|
29183
|
+
// authentication oauth2 required
|
|
29184
|
+
// oauth required
|
|
29185
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29186
|
+
|
|
29187
|
+
if (hospitalId !== undefined) {
|
|
29188
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
29189
|
+
}
|
|
29190
|
+
|
|
29191
|
+
if (id !== undefined) {
|
|
29192
|
+
localVarQueryParameter['Id'] = id;
|
|
29193
|
+
}
|
|
29194
|
+
|
|
29195
|
+
if (fullname !== undefined) {
|
|
29196
|
+
localVarQueryParameter['Fullname'] = fullname;
|
|
29197
|
+
}
|
|
29198
|
+
|
|
29199
|
+
if (email !== undefined) {
|
|
29200
|
+
localVarQueryParameter['Email'] = email;
|
|
29201
|
+
}
|
|
29202
|
+
|
|
29203
|
+
if (gender !== undefined) {
|
|
29204
|
+
localVarQueryParameter['Gender'] = gender;
|
|
29205
|
+
}
|
|
29206
|
+
|
|
29207
|
+
if (dateOfBirth !== undefined) {
|
|
29208
|
+
localVarQueryParameter['DateOfBirth'] = (dateOfBirth as any instanceof Date) ?
|
|
29209
|
+
(dateOfBirth as any).toISOString() :
|
|
29210
|
+
dateOfBirth;
|
|
29211
|
+
}
|
|
29212
|
+
|
|
29213
|
+
if (created !== undefined) {
|
|
29214
|
+
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
29215
|
+
(created as any).toISOString() :
|
|
29216
|
+
created;
|
|
29217
|
+
}
|
|
29218
|
+
|
|
29219
|
+
if (page !== undefined) {
|
|
29220
|
+
localVarQueryParameter['page'] = page;
|
|
29221
|
+
}
|
|
29222
|
+
|
|
29223
|
+
if (limit !== undefined) {
|
|
29224
|
+
localVarQueryParameter['limit'] = limit;
|
|
29225
|
+
}
|
|
29226
|
+
|
|
29227
|
+
if (lastRetrieved !== undefined) {
|
|
29228
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
29229
|
+
(lastRetrieved as any).toISOString() :
|
|
29230
|
+
lastRetrieved;
|
|
29231
|
+
}
|
|
29232
|
+
|
|
29233
|
+
|
|
29234
|
+
|
|
29235
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29236
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29237
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29238
|
+
|
|
29239
|
+
return {
|
|
29240
|
+
url: toPathString(localVarUrlObj),
|
|
29241
|
+
options: localVarRequestOptions,
|
|
29242
|
+
};
|
|
29243
|
+
},
|
|
29244
|
+
/**
|
|
29245
|
+
*
|
|
29246
|
+
* @summary Delete Manager.
|
|
29247
|
+
* @param {string} managerId
|
|
29248
|
+
* @param {*} [options] Override http request option.
|
|
29249
|
+
* @throws {RequiredError}
|
|
29250
|
+
*/
|
|
29251
|
+
apiV1ManagersManagerIdDelete: async (managerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29252
|
+
// verify required parameter 'managerId' is not null or undefined
|
|
29253
|
+
assertParamExists('apiV1ManagersManagerIdDelete', 'managerId', managerId)
|
|
29254
|
+
const localVarPath = `/api/v1/managers/{managerId}`
|
|
29255
|
+
.replace(`{${"managerId"}}`, encodeURIComponent(String(managerId)));
|
|
29256
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29257
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29258
|
+
let baseOptions;
|
|
29259
|
+
if (configuration) {
|
|
29260
|
+
baseOptions = configuration.baseOptions;
|
|
29261
|
+
}
|
|
29262
|
+
|
|
29263
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
29264
|
+
const localVarHeaderParameter = {} as any;
|
|
29265
|
+
const localVarQueryParameter = {} as any;
|
|
29266
|
+
|
|
29267
|
+
// authentication oauth2 required
|
|
29268
|
+
// oauth required
|
|
29269
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29270
|
+
|
|
29271
|
+
|
|
29272
|
+
|
|
29273
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29274
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29275
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29276
|
+
|
|
29277
|
+
return {
|
|
29278
|
+
url: toPathString(localVarUrlObj),
|
|
29279
|
+
options: localVarRequestOptions,
|
|
29280
|
+
};
|
|
29281
|
+
},
|
|
29282
|
+
/**
|
|
29283
|
+
*
|
|
29284
|
+
* @summary Get Manager.
|
|
29285
|
+
* @param {string} managerId
|
|
29286
|
+
* @param {*} [options] Override http request option.
|
|
29287
|
+
* @throws {RequiredError}
|
|
29288
|
+
*/
|
|
29289
|
+
apiV1ManagersManagerIdGet: async (managerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29290
|
+
// verify required parameter 'managerId' is not null or undefined
|
|
29291
|
+
assertParamExists('apiV1ManagersManagerIdGet', 'managerId', managerId)
|
|
29292
|
+
const localVarPath = `/api/v1/managers/{managerId}`
|
|
29293
|
+
.replace(`{${"managerId"}}`, encodeURIComponent(String(managerId)));
|
|
29294
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29295
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29296
|
+
let baseOptions;
|
|
29297
|
+
if (configuration) {
|
|
29298
|
+
baseOptions = configuration.baseOptions;
|
|
29299
|
+
}
|
|
29300
|
+
|
|
29301
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29302
|
+
const localVarHeaderParameter = {} as any;
|
|
29303
|
+
const localVarQueryParameter = {} as any;
|
|
29304
|
+
|
|
29305
|
+
// authentication oauth2 required
|
|
29306
|
+
// oauth required
|
|
29307
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29308
|
+
|
|
29309
|
+
|
|
29310
|
+
|
|
29311
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29312
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29313
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29314
|
+
|
|
29315
|
+
return {
|
|
29316
|
+
url: toPathString(localVarUrlObj),
|
|
29317
|
+
options: localVarRequestOptions,
|
|
29318
|
+
};
|
|
29319
|
+
},
|
|
29320
|
+
/**
|
|
29321
|
+
*
|
|
29322
|
+
* @summary Update Manager.
|
|
29323
|
+
* @param {string} managerId
|
|
29324
|
+
* @param {UpdateManagerCommand} [updateManagerCommand]
|
|
29325
|
+
* @param {*} [options] Override http request option.
|
|
29326
|
+
* @throws {RequiredError}
|
|
29327
|
+
*/
|
|
29328
|
+
apiV1ManagersManagerIdPut: async (managerId: string, updateManagerCommand?: UpdateManagerCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29329
|
+
// verify required parameter 'managerId' is not null or undefined
|
|
29330
|
+
assertParamExists('apiV1ManagersManagerIdPut', 'managerId', managerId)
|
|
29331
|
+
const localVarPath = `/api/v1/managers/{managerId}`
|
|
29332
|
+
.replace(`{${"managerId"}}`, encodeURIComponent(String(managerId)));
|
|
29333
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29334
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29335
|
+
let baseOptions;
|
|
29336
|
+
if (configuration) {
|
|
29337
|
+
baseOptions = configuration.baseOptions;
|
|
29338
|
+
}
|
|
29339
|
+
|
|
29340
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
29341
|
+
const localVarHeaderParameter = {} as any;
|
|
29342
|
+
const localVarQueryParameter = {} as any;
|
|
29343
|
+
|
|
29344
|
+
// authentication oauth2 required
|
|
29345
|
+
// oauth required
|
|
29346
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29347
|
+
|
|
29348
|
+
|
|
29349
|
+
|
|
29350
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29351
|
+
|
|
29352
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29353
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29354
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29355
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateManagerCommand, localVarRequestOptions, configuration)
|
|
29356
|
+
|
|
29357
|
+
return {
|
|
29358
|
+
url: toPathString(localVarUrlObj),
|
|
29359
|
+
options: localVarRequestOptions,
|
|
29360
|
+
};
|
|
29361
|
+
},
|
|
29362
|
+
/**
|
|
29363
|
+
*
|
|
29364
|
+
* @summary Create a Manager.
|
|
29365
|
+
* @param {CreateManagerCommand} [createManagerCommand]
|
|
29366
|
+
* @param {*} [options] Override http request option.
|
|
29367
|
+
* @throws {RequiredError}
|
|
29368
|
+
*/
|
|
29369
|
+
apiV1ManagersPost: async (createManagerCommand?: CreateManagerCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29370
|
+
const localVarPath = `/api/v1/managers`;
|
|
29371
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29372
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29373
|
+
let baseOptions;
|
|
29374
|
+
if (configuration) {
|
|
29375
|
+
baseOptions = configuration.baseOptions;
|
|
29376
|
+
}
|
|
29377
|
+
|
|
29378
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29379
|
+
const localVarHeaderParameter = {} as any;
|
|
29380
|
+
const localVarQueryParameter = {} as any;
|
|
29381
|
+
|
|
29382
|
+
// authentication oauth2 required
|
|
29383
|
+
// oauth required
|
|
29384
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29385
|
+
|
|
29386
|
+
|
|
29387
|
+
|
|
29388
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29389
|
+
|
|
29390
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29391
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29392
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29393
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createManagerCommand, localVarRequestOptions, configuration)
|
|
29394
|
+
|
|
29395
|
+
return {
|
|
29396
|
+
url: toPathString(localVarUrlObj),
|
|
29397
|
+
options: localVarRequestOptions,
|
|
29398
|
+
};
|
|
29399
|
+
},
|
|
29400
|
+
}
|
|
29401
|
+
};
|
|
29402
|
+
|
|
29403
|
+
/**
|
|
29404
|
+
* ManagersApi - functional programming interface
|
|
29405
|
+
* @export
|
|
29406
|
+
*/
|
|
29407
|
+
export const ManagersApiFp = function(configuration?: Configuration) {
|
|
29408
|
+
const localVarAxiosParamCreator = ManagersApiAxiosParamCreator(configuration)
|
|
29409
|
+
return {
|
|
29410
|
+
/**
|
|
29411
|
+
*
|
|
29412
|
+
* @summary Get all Managers.
|
|
29413
|
+
* @param {string} [hospitalId]
|
|
29414
|
+
* @param {string} [id]
|
|
29415
|
+
* @param {string} [fullname]
|
|
29416
|
+
* @param {string} [email]
|
|
29417
|
+
* @param {Gender} [gender]
|
|
29418
|
+
* @param {Date} [dateOfBirth]
|
|
29419
|
+
* @param {Date} [created]
|
|
29420
|
+
* @param {number} [page]
|
|
29421
|
+
* @param {number} [limit]
|
|
29422
|
+
* @param {Date} [lastRetrieved]
|
|
29423
|
+
* @param {*} [options] Override http request option.
|
|
29424
|
+
* @throws {RequiredError}
|
|
29425
|
+
*/
|
|
29426
|
+
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>> {
|
|
29427
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options);
|
|
29428
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29429
|
+
},
|
|
29430
|
+
/**
|
|
29431
|
+
*
|
|
29432
|
+
* @summary Delete Manager.
|
|
29433
|
+
* @param {string} managerId
|
|
29434
|
+
* @param {*} [options] Override http request option.
|
|
29435
|
+
* @throws {RequiredError}
|
|
29436
|
+
*/
|
|
29437
|
+
async apiV1ManagersManagerIdDelete(managerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
29438
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersManagerIdDelete(managerId, options);
|
|
29439
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29440
|
+
},
|
|
29441
|
+
/**
|
|
29442
|
+
*
|
|
29443
|
+
* @summary Get Manager.
|
|
29444
|
+
* @param {string} managerId
|
|
29445
|
+
* @param {*} [options] Override http request option.
|
|
29446
|
+
* @throws {RequiredError}
|
|
29447
|
+
*/
|
|
29448
|
+
async apiV1ManagersManagerIdGet(managerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerModel>> {
|
|
29449
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersManagerIdGet(managerId, options);
|
|
29450
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29451
|
+
},
|
|
29452
|
+
/**
|
|
29453
|
+
*
|
|
29454
|
+
* @summary Update Manager.
|
|
29455
|
+
* @param {string} managerId
|
|
29456
|
+
* @param {UpdateManagerCommand} [updateManagerCommand]
|
|
29457
|
+
* @param {*} [options] Override http request option.
|
|
29458
|
+
* @throws {RequiredError}
|
|
29459
|
+
*/
|
|
29460
|
+
async apiV1ManagersManagerIdPut(managerId: string, updateManagerCommand?: UpdateManagerCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
29461
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersManagerIdPut(managerId, updateManagerCommand, options);
|
|
29462
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29463
|
+
},
|
|
29464
|
+
/**
|
|
29465
|
+
*
|
|
29466
|
+
* @summary Create a Manager.
|
|
29467
|
+
* @param {CreateManagerCommand} [createManagerCommand]
|
|
29468
|
+
* @param {*} [options] Override http request option.
|
|
29469
|
+
* @throws {RequiredError}
|
|
29470
|
+
*/
|
|
29471
|
+
async apiV1ManagersPost(createManagerCommand?: CreateManagerCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagerModel>> {
|
|
29472
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ManagersPost(createManagerCommand, options);
|
|
29473
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29474
|
+
},
|
|
29475
|
+
}
|
|
29476
|
+
};
|
|
29477
|
+
|
|
29478
|
+
/**
|
|
29479
|
+
* ManagersApi - factory interface
|
|
29480
|
+
* @export
|
|
29481
|
+
*/
|
|
29482
|
+
export const ManagersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
29483
|
+
const localVarFp = ManagersApiFp(configuration)
|
|
29484
|
+
return {
|
|
29485
|
+
/**
|
|
29486
|
+
*
|
|
29487
|
+
* @summary Get all Managers.
|
|
29488
|
+
* @param {string} [hospitalId]
|
|
29489
|
+
* @param {string} [id]
|
|
29490
|
+
* @param {string} [fullname]
|
|
29491
|
+
* @param {string} [email]
|
|
29492
|
+
* @param {Gender} [gender]
|
|
29493
|
+
* @param {Date} [dateOfBirth]
|
|
29494
|
+
* @param {Date} [created]
|
|
29495
|
+
* @param {number} [page]
|
|
29496
|
+
* @param {number} [limit]
|
|
29497
|
+
* @param {Date} [lastRetrieved]
|
|
29498
|
+
* @param {*} [options] Override http request option.
|
|
29499
|
+
* @throws {RequiredError}
|
|
29500
|
+
*/
|
|
29501
|
+
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> {
|
|
29502
|
+
return localVarFp.apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29503
|
+
},
|
|
29504
|
+
/**
|
|
29505
|
+
*
|
|
29506
|
+
* @summary Delete Manager.
|
|
29507
|
+
* @param {string} managerId
|
|
29508
|
+
* @param {*} [options] Override http request option.
|
|
29509
|
+
* @throws {RequiredError}
|
|
29510
|
+
*/
|
|
29511
|
+
apiV1ManagersManagerIdDelete(managerId: string, options?: any): AxiosPromise<boolean> {
|
|
29512
|
+
return localVarFp.apiV1ManagersManagerIdDelete(managerId, options).then((request) => request(axios, basePath));
|
|
29513
|
+
},
|
|
29514
|
+
/**
|
|
29515
|
+
*
|
|
29516
|
+
* @summary Get Manager.
|
|
29517
|
+
* @param {string} managerId
|
|
29518
|
+
* @param {*} [options] Override http request option.
|
|
29519
|
+
* @throws {RequiredError}
|
|
29520
|
+
*/
|
|
29521
|
+
apiV1ManagersManagerIdGet(managerId: string, options?: any): AxiosPromise<ManagerModel> {
|
|
29522
|
+
return localVarFp.apiV1ManagersManagerIdGet(managerId, options).then((request) => request(axios, basePath));
|
|
29523
|
+
},
|
|
29524
|
+
/**
|
|
29525
|
+
*
|
|
29526
|
+
* @summary Update Manager.
|
|
29527
|
+
* @param {string} managerId
|
|
29528
|
+
* @param {UpdateManagerCommand} [updateManagerCommand]
|
|
29529
|
+
* @param {*} [options] Override http request option.
|
|
29530
|
+
* @throws {RequiredError}
|
|
29531
|
+
*/
|
|
29532
|
+
apiV1ManagersManagerIdPut(managerId: string, updateManagerCommand?: UpdateManagerCommand, options?: any): AxiosPromise<boolean> {
|
|
29533
|
+
return localVarFp.apiV1ManagersManagerIdPut(managerId, updateManagerCommand, options).then((request) => request(axios, basePath));
|
|
29534
|
+
},
|
|
29535
|
+
/**
|
|
29536
|
+
*
|
|
29537
|
+
* @summary Create a Manager.
|
|
29538
|
+
* @param {CreateManagerCommand} [createManagerCommand]
|
|
29539
|
+
* @param {*} [options] Override http request option.
|
|
29540
|
+
* @throws {RequiredError}
|
|
29541
|
+
*/
|
|
29542
|
+
apiV1ManagersPost(createManagerCommand?: CreateManagerCommand, options?: any): AxiosPromise<ManagerModel> {
|
|
29543
|
+
return localVarFp.apiV1ManagersPost(createManagerCommand, options).then((request) => request(axios, basePath));
|
|
29544
|
+
},
|
|
29545
|
+
};
|
|
29546
|
+
};
|
|
29547
|
+
|
|
29548
|
+
/**
|
|
29549
|
+
* ManagersApi - object-oriented interface
|
|
29550
|
+
* @export
|
|
29551
|
+
* @class ManagersApi
|
|
29552
|
+
* @extends {BaseAPI}
|
|
29553
|
+
*/
|
|
29554
|
+
export class ManagersApi extends BaseAPI {
|
|
29555
|
+
/**
|
|
29556
|
+
*
|
|
29557
|
+
* @summary Get all Managers.
|
|
29558
|
+
* @param {string} [hospitalId]
|
|
29559
|
+
* @param {string} [id]
|
|
29560
|
+
* @param {string} [fullname]
|
|
29561
|
+
* @param {string} [email]
|
|
29562
|
+
* @param {Gender} [gender]
|
|
29563
|
+
* @param {Date} [dateOfBirth]
|
|
29564
|
+
* @param {Date} [created]
|
|
29565
|
+
* @param {number} [page]
|
|
29566
|
+
* @param {number} [limit]
|
|
29567
|
+
* @param {Date} [lastRetrieved]
|
|
29568
|
+
* @param {*} [options] Override http request option.
|
|
29569
|
+
* @throws {RequiredError}
|
|
29570
|
+
* @memberof ManagersApi
|
|
29571
|
+
*/
|
|
29572
|
+
public apiV1ManagersGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
29573
|
+
return ManagersApiFp(this.configuration).apiV1ManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
29574
|
+
}
|
|
29575
|
+
|
|
29576
|
+
/**
|
|
29577
|
+
*
|
|
29578
|
+
* @summary Delete Manager.
|
|
29579
|
+
* @param {string} managerId
|
|
29580
|
+
* @param {*} [options] Override http request option.
|
|
29581
|
+
* @throws {RequiredError}
|
|
29582
|
+
* @memberof ManagersApi
|
|
29583
|
+
*/
|
|
29584
|
+
public apiV1ManagersManagerIdDelete(managerId: string, options?: AxiosRequestConfig) {
|
|
29585
|
+
return ManagersApiFp(this.configuration).apiV1ManagersManagerIdDelete(managerId, options).then((request) => request(this.axios, this.basePath));
|
|
29586
|
+
}
|
|
29587
|
+
|
|
29588
|
+
/**
|
|
29589
|
+
*
|
|
29590
|
+
* @summary Get Manager.
|
|
29591
|
+
* @param {string} managerId
|
|
29592
|
+
* @param {*} [options] Override http request option.
|
|
29593
|
+
* @throws {RequiredError}
|
|
29594
|
+
* @memberof ManagersApi
|
|
29595
|
+
*/
|
|
29596
|
+
public apiV1ManagersManagerIdGet(managerId: string, options?: AxiosRequestConfig) {
|
|
29597
|
+
return ManagersApiFp(this.configuration).apiV1ManagersManagerIdGet(managerId, options).then((request) => request(this.axios, this.basePath));
|
|
29598
|
+
}
|
|
29599
|
+
|
|
29600
|
+
/**
|
|
29601
|
+
*
|
|
29602
|
+
* @summary Update Manager.
|
|
29603
|
+
* @param {string} managerId
|
|
29604
|
+
* @param {UpdateManagerCommand} [updateManagerCommand]
|
|
29605
|
+
* @param {*} [options] Override http request option.
|
|
29606
|
+
* @throws {RequiredError}
|
|
29607
|
+
* @memberof ManagersApi
|
|
29608
|
+
*/
|
|
29609
|
+
public apiV1ManagersManagerIdPut(managerId: string, updateManagerCommand?: UpdateManagerCommand, options?: AxiosRequestConfig) {
|
|
29610
|
+
return ManagersApiFp(this.configuration).apiV1ManagersManagerIdPut(managerId, updateManagerCommand, options).then((request) => request(this.axios, this.basePath));
|
|
29611
|
+
}
|
|
29612
|
+
|
|
29613
|
+
/**
|
|
29614
|
+
*
|
|
29615
|
+
* @summary Create a Manager.
|
|
29616
|
+
* @param {CreateManagerCommand} [createManagerCommand]
|
|
29617
|
+
* @param {*} [options] Override http request option.
|
|
29618
|
+
* @throws {RequiredError}
|
|
29619
|
+
* @memberof ManagersApi
|
|
29620
|
+
*/
|
|
29621
|
+
public apiV1ManagersPost(createManagerCommand?: CreateManagerCommand, options?: AxiosRequestConfig) {
|
|
29622
|
+
return ManagersApiFp(this.configuration).apiV1ManagersPost(createManagerCommand, options).then((request) => request(this.axios, this.basePath));
|
|
29623
|
+
}
|
|
29624
|
+
}
|
|
29625
|
+
|
|
29626
|
+
|
|
29627
|
+
/**
|
|
29628
|
+
* NotificationsApi - axios parameter creator
|
|
29629
|
+
* @export
|
|
29630
|
+
*/
|
|
29631
|
+
export const NotificationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29632
|
+
return {
|
|
29633
|
+
/**
|
|
29634
|
+
*
|
|
29635
|
+
* @summary Check notification.
|
|
29636
|
+
* @param {CheckNotificationsCommand} [checkNotificationsCommand]
|
|
29637
|
+
* @param {*} [options] Override http request option.
|
|
29638
|
+
* @throws {RequiredError}
|
|
29639
|
+
*/
|
|
29640
|
+
apiV1NotificationsCheckPost: async (checkNotificationsCommand?: CheckNotificationsCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29641
|
+
const localVarPath = `/api/v1/notifications/check`;
|
|
29642
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29643
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29644
|
+
let baseOptions;
|
|
29645
|
+
if (configuration) {
|
|
29646
|
+
baseOptions = configuration.baseOptions;
|
|
29647
|
+
}
|
|
29648
|
+
|
|
29649
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29650
|
+
const localVarHeaderParameter = {} as any;
|
|
29651
|
+
const localVarQueryParameter = {} as any;
|
|
29652
|
+
|
|
29653
|
+
// authentication oauth2 required
|
|
29654
|
+
// oauth required
|
|
29655
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29656
|
+
|
|
29657
|
+
|
|
29658
|
+
|
|
29659
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29660
|
+
|
|
29661
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29662
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29663
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29664
|
+
localVarRequestOptions.data = serializeDataIfNeeded(checkNotificationsCommand, localVarRequestOptions, configuration)
|
|
29665
|
+
|
|
29666
|
+
return {
|
|
29667
|
+
url: toPathString(localVarUrlObj),
|
|
29668
|
+
options: localVarRequestOptions,
|
|
29669
|
+
};
|
|
29670
|
+
},
|
|
29671
|
+
/**
|
|
29672
|
+
*
|
|
29673
|
+
* @summary Get all notifications.
|
|
29674
|
+
* @param {NotificationCode} [notificationCode]
|
|
29675
|
+
* @param {boolean} [unreadCountOnly]
|
|
29676
|
+
* @param {number} [page]
|
|
29677
|
+
* @param {number} [limit]
|
|
29678
|
+
* @param {Date} [lastRetrieved]
|
|
29679
|
+
* @param {*} [options] Override http request option.
|
|
29680
|
+
* @throws {RequiredError}
|
|
29681
|
+
*/
|
|
29682
|
+
apiV1NotificationsGet: async (notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29683
|
+
const localVarPath = `/api/v1/notifications`;
|
|
29684
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29685
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29686
|
+
let baseOptions;
|
|
29687
|
+
if (configuration) {
|
|
29688
|
+
baseOptions = configuration.baseOptions;
|
|
29689
|
+
}
|
|
29690
|
+
|
|
29691
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29692
|
+
const localVarHeaderParameter = {} as any;
|
|
29693
|
+
const localVarQueryParameter = {} as any;
|
|
29694
|
+
|
|
29695
|
+
// authentication oauth2 required
|
|
29696
|
+
// oauth required
|
|
29697
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29698
|
+
|
|
29699
|
+
if (notificationCode !== undefined) {
|
|
29700
|
+
localVarQueryParameter['NotificationCode'] = notificationCode;
|
|
29701
|
+
}
|
|
29702
|
+
|
|
29703
|
+
if (unreadCountOnly !== undefined) {
|
|
29704
|
+
localVarQueryParameter['UnreadCountOnly'] = unreadCountOnly;
|
|
29705
|
+
}
|
|
29706
|
+
|
|
29707
|
+
if (page !== undefined) {
|
|
29708
|
+
localVarQueryParameter['page'] = page;
|
|
29709
|
+
}
|
|
29710
|
+
|
|
29711
|
+
if (limit !== undefined) {
|
|
29712
|
+
localVarQueryParameter['limit'] = limit;
|
|
29713
|
+
}
|
|
29714
|
+
|
|
29715
|
+
if (lastRetrieved !== undefined) {
|
|
29716
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
29717
|
+
(lastRetrieved as any).toISOString() :
|
|
29718
|
+
lastRetrieved;
|
|
29719
|
+
}
|
|
29720
|
+
|
|
29721
|
+
|
|
29722
|
+
|
|
29723
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29724
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29725
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29726
|
+
|
|
29727
|
+
return {
|
|
29728
|
+
url: toPathString(localVarUrlObj),
|
|
29729
|
+
options: localVarRequestOptions,
|
|
29730
|
+
};
|
|
29731
|
+
},
|
|
29732
|
+
}
|
|
29733
|
+
};
|
|
29734
|
+
|
|
29735
|
+
/**
|
|
29736
|
+
* NotificationsApi - functional programming interface
|
|
29737
|
+
* @export
|
|
29738
|
+
*/
|
|
29739
|
+
export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
29740
|
+
const localVarAxiosParamCreator = NotificationsApiAxiosParamCreator(configuration)
|
|
29741
|
+
return {
|
|
29742
|
+
/**
|
|
29743
|
+
*
|
|
29744
|
+
* @summary Check notification.
|
|
29745
|
+
* @param {CheckNotificationsCommand} [checkNotificationsCommand]
|
|
29746
|
+
* @param {*} [options] Override http request option.
|
|
29747
|
+
* @throws {RequiredError}
|
|
29748
|
+
*/
|
|
29749
|
+
async apiV1NotificationsCheckPost(checkNotificationsCommand?: CheckNotificationsCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
29750
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1NotificationsCheckPost(checkNotificationsCommand, options);
|
|
29751
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29752
|
+
},
|
|
29753
|
+
/**
|
|
29754
|
+
*
|
|
29755
|
+
* @summary Get all notifications.
|
|
29756
|
+
* @param {NotificationCode} [notificationCode]
|
|
29757
|
+
* @param {boolean} [unreadCountOnly]
|
|
29758
|
+
* @param {number} [page]
|
|
29759
|
+
* @param {number} [limit]
|
|
29760
|
+
* @param {Date} [lastRetrieved]
|
|
29761
|
+
* @param {*} [options] Override http request option.
|
|
29762
|
+
* @throws {RequiredError}
|
|
29763
|
+
*/
|
|
29764
|
+
async apiV1NotificationsGet(notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationsModel>> {
|
|
29765
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1NotificationsGet(notificationCode, unreadCountOnly, page, limit, lastRetrieved, options);
|
|
29766
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29767
|
+
},
|
|
29768
|
+
}
|
|
29769
|
+
};
|
|
29770
|
+
|
|
29771
|
+
/**
|
|
29772
|
+
* NotificationsApi - factory interface
|
|
29773
|
+
* @export
|
|
29774
|
+
*/
|
|
29775
|
+
export const NotificationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
29776
|
+
const localVarFp = NotificationsApiFp(configuration)
|
|
29777
|
+
return {
|
|
29778
|
+
/**
|
|
29779
|
+
*
|
|
29780
|
+
* @summary Check notification.
|
|
29781
|
+
* @param {CheckNotificationsCommand} [checkNotificationsCommand]
|
|
29782
|
+
* @param {*} [options] Override http request option.
|
|
29783
|
+
* @throws {RequiredError}
|
|
29784
|
+
*/
|
|
29785
|
+
apiV1NotificationsCheckPost(checkNotificationsCommand?: CheckNotificationsCommand, options?: any): AxiosPromise<boolean> {
|
|
29786
|
+
return localVarFp.apiV1NotificationsCheckPost(checkNotificationsCommand, options).then((request) => request(axios, basePath));
|
|
29787
|
+
},
|
|
29788
|
+
/**
|
|
29789
|
+
*
|
|
29790
|
+
* @summary Get all notifications.
|
|
29791
|
+
* @param {NotificationCode} [notificationCode]
|
|
29792
|
+
* @param {boolean} [unreadCountOnly]
|
|
29793
|
+
* @param {number} [page]
|
|
29794
|
+
* @param {number} [limit]
|
|
29795
|
+
* @param {Date} [lastRetrieved]
|
|
29796
|
+
* @param {*} [options] Override http request option.
|
|
29797
|
+
* @throws {RequiredError}
|
|
29798
|
+
*/
|
|
29799
|
+
apiV1NotificationsGet(notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<NotificationsModel> {
|
|
29800
|
+
return localVarFp.apiV1NotificationsGet(notificationCode, unreadCountOnly, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
29801
|
+
},
|
|
29802
|
+
};
|
|
29803
|
+
};
|
|
29804
|
+
|
|
29805
|
+
/**
|
|
29806
|
+
* NotificationsApi - object-oriented interface
|
|
29807
|
+
* @export
|
|
29808
|
+
* @class NotificationsApi
|
|
29809
|
+
* @extends {BaseAPI}
|
|
29810
|
+
*/
|
|
29811
|
+
export class NotificationsApi extends BaseAPI {
|
|
29812
|
+
/**
|
|
29813
|
+
*
|
|
29814
|
+
* @summary Check notification.
|
|
29815
|
+
* @param {CheckNotificationsCommand} [checkNotificationsCommand]
|
|
29816
|
+
* @param {*} [options] Override http request option.
|
|
29817
|
+
* @throws {RequiredError}
|
|
29818
|
+
* @memberof NotificationsApi
|
|
29819
|
+
*/
|
|
29820
|
+
public apiV1NotificationsCheckPost(checkNotificationsCommand?: CheckNotificationsCommand, options?: AxiosRequestConfig) {
|
|
29821
|
+
return NotificationsApiFp(this.configuration).apiV1NotificationsCheckPost(checkNotificationsCommand, options).then((request) => request(this.axios, this.basePath));
|
|
29822
|
+
}
|
|
29823
|
+
|
|
29824
|
+
/**
|
|
29825
|
+
*
|
|
29826
|
+
* @summary Get all notifications.
|
|
29827
|
+
* @param {NotificationCode} [notificationCode]
|
|
29828
|
+
* @param {boolean} [unreadCountOnly]
|
|
29829
|
+
* @param {number} [page]
|
|
29830
|
+
* @param {number} [limit]
|
|
29831
|
+
* @param {Date} [lastRetrieved]
|
|
29832
|
+
* @param {*} [options] Override http request option.
|
|
29833
|
+
* @throws {RequiredError}
|
|
29834
|
+
* @memberof NotificationsApi
|
|
29835
|
+
*/
|
|
29836
|
+
public apiV1NotificationsGet(notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
29837
|
+
return NotificationsApiFp(this.configuration).apiV1NotificationsGet(notificationCode, unreadCountOnly, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
29838
|
+
}
|
|
29839
|
+
}
|
|
29840
|
+
|
|
29841
|
+
|
|
29842
|
+
/**
|
|
29843
|
+
* PlansApi - axios parameter creator
|
|
29844
|
+
* @export
|
|
29845
|
+
*/
|
|
29846
|
+
export const PlansApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29847
|
+
return {
|
|
29848
|
+
/**
|
|
29849
|
+
*
|
|
29850
|
+
* @summary Get all plans.
|
|
29851
|
+
* @param {string} [id]
|
|
29852
|
+
* @param {string} [name]
|
|
29853
|
+
* @param {number} [page]
|
|
29854
|
+
* @param {number} [limit]
|
|
29855
|
+
* @param {Date} [lastRetrieved]
|
|
29856
|
+
* @param {*} [options] Override http request option.
|
|
29857
|
+
* @throws {RequiredError}
|
|
29858
|
+
*/
|
|
29859
|
+
apiV1PlansGet: async (id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29860
|
+
const localVarPath = `/api/v1/plans`;
|
|
29861
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29862
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29863
|
+
let baseOptions;
|
|
29864
|
+
if (configuration) {
|
|
29865
|
+
baseOptions = configuration.baseOptions;
|
|
29866
|
+
}
|
|
29867
|
+
|
|
29868
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29869
|
+
const localVarHeaderParameter = {} as any;
|
|
29870
|
+
const localVarQueryParameter = {} as any;
|
|
29871
|
+
|
|
29872
|
+
// authentication oauth2 required
|
|
29873
|
+
// oauth required
|
|
29874
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29875
|
+
|
|
29876
|
+
if (id !== undefined) {
|
|
29877
|
+
localVarQueryParameter['Id'] = id;
|
|
29878
|
+
}
|
|
29879
|
+
|
|
29880
|
+
if (name !== undefined) {
|
|
29881
|
+
localVarQueryParameter['Name'] = name;
|
|
29882
|
+
}
|
|
29883
|
+
|
|
29884
|
+
if (page !== undefined) {
|
|
29885
|
+
localVarQueryParameter['page'] = page;
|
|
29886
|
+
}
|
|
29887
|
+
|
|
29888
|
+
if (limit !== undefined) {
|
|
29889
|
+
localVarQueryParameter['limit'] = limit;
|
|
29890
|
+
}
|
|
29891
|
+
|
|
29892
|
+
if (lastRetrieved !== undefined) {
|
|
29893
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
29894
|
+
(lastRetrieved as any).toISOString() :
|
|
29895
|
+
lastRetrieved;
|
|
29896
|
+
}
|
|
29897
|
+
|
|
29898
|
+
|
|
29899
|
+
|
|
29900
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29901
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29902
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29903
|
+
|
|
29904
|
+
return {
|
|
29905
|
+
url: toPathString(localVarUrlObj),
|
|
29906
|
+
options: localVarRequestOptions,
|
|
29907
|
+
};
|
|
29908
|
+
},
|
|
29909
|
+
/**
|
|
29910
|
+
*
|
|
29911
|
+
* @summary Delete plan.
|
|
29912
|
+
* @param {string} planId
|
|
29913
|
+
* @param {*} [options] Override http request option.
|
|
29914
|
+
* @throws {RequiredError}
|
|
29915
|
+
*/
|
|
29916
|
+
apiV1PlansPlanIdDelete: async (planId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29917
|
+
// verify required parameter 'planId' is not null or undefined
|
|
29918
|
+
assertParamExists('apiV1PlansPlanIdDelete', 'planId', planId)
|
|
29919
|
+
const localVarPath = `/api/v1/plans/{planId}`
|
|
29920
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)));
|
|
29921
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29922
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29923
|
+
let baseOptions;
|
|
29924
|
+
if (configuration) {
|
|
29925
|
+
baseOptions = configuration.baseOptions;
|
|
29926
|
+
}
|
|
29927
|
+
|
|
29928
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
29929
|
+
const localVarHeaderParameter = {} as any;
|
|
29930
|
+
const localVarQueryParameter = {} as any;
|
|
29931
|
+
|
|
29932
|
+
// authentication oauth2 required
|
|
29933
|
+
// oauth required
|
|
29934
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29935
|
+
|
|
29936
|
+
|
|
29937
|
+
|
|
29938
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29939
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29940
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29941
|
+
|
|
29942
|
+
return {
|
|
29943
|
+
url: toPathString(localVarUrlObj),
|
|
29944
|
+
options: localVarRequestOptions,
|
|
29945
|
+
};
|
|
29946
|
+
},
|
|
29947
|
+
/**
|
|
29948
|
+
*
|
|
29949
|
+
* @summary Get plan.
|
|
29950
|
+
* @param {string} planId
|
|
29951
|
+
* @param {*} [options] Override http request option.
|
|
29952
|
+
* @throws {RequiredError}
|
|
29953
|
+
*/
|
|
29954
|
+
apiV1PlansPlanIdGet: async (planId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29955
|
+
// verify required parameter 'planId' is not null or undefined
|
|
29956
|
+
assertParamExists('apiV1PlansPlanIdGet', 'planId', planId)
|
|
29957
|
+
const localVarPath = `/api/v1/plans/{planId}`
|
|
29958
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)));
|
|
29959
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29960
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29961
|
+
let baseOptions;
|
|
29962
|
+
if (configuration) {
|
|
29963
|
+
baseOptions = configuration.baseOptions;
|
|
29964
|
+
}
|
|
29965
|
+
|
|
29966
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29967
|
+
const localVarHeaderParameter = {} as any;
|
|
29968
|
+
const localVarQueryParameter = {} as any;
|
|
29969
|
+
|
|
29970
|
+
// authentication oauth2 required
|
|
29971
|
+
// oauth required
|
|
29972
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
29973
|
+
|
|
29974
|
+
|
|
29975
|
+
|
|
29976
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29977
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29978
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29979
|
+
|
|
29980
|
+
return {
|
|
29981
|
+
url: toPathString(localVarUrlObj),
|
|
29982
|
+
options: localVarRequestOptions,
|
|
29983
|
+
};
|
|
29984
|
+
},
|
|
29985
|
+
/**
|
|
29986
|
+
*
|
|
29987
|
+
* @summary Get all plan hospital.
|
|
29988
|
+
* @param {string} planId
|
|
29989
|
+
* @param {number} [page]
|
|
29990
|
+
* @param {number} [limit]
|
|
29991
|
+
* @param {Date} [lastRetrieved]
|
|
29992
|
+
* @param {*} [options] Override http request option.
|
|
29993
|
+
* @throws {RequiredError}
|
|
29994
|
+
*/
|
|
29995
|
+
apiV1PlansPlanIdHospitalsGet: async (planId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29996
|
+
// verify required parameter 'planId' is not null or undefined
|
|
29997
|
+
assertParamExists('apiV1PlansPlanIdHospitalsGet', 'planId', planId)
|
|
29998
|
+
const localVarPath = `/api/v1/plans/{planId}/hospitals`
|
|
29999
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)));
|
|
30000
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30001
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30002
|
+
let baseOptions;
|
|
30003
|
+
if (configuration) {
|
|
30004
|
+
baseOptions = configuration.baseOptions;
|
|
30005
|
+
}
|
|
30006
|
+
|
|
30007
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30008
|
+
const localVarHeaderParameter = {} as any;
|
|
30009
|
+
const localVarQueryParameter = {} as any;
|
|
30010
|
+
|
|
30011
|
+
// authentication oauth2 required
|
|
30012
|
+
// oauth required
|
|
30013
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30014
|
+
|
|
30015
|
+
if (page !== undefined) {
|
|
30016
|
+
localVarQueryParameter['page'] = page;
|
|
30017
|
+
}
|
|
30018
|
+
|
|
30019
|
+
if (limit !== undefined) {
|
|
30020
|
+
localVarQueryParameter['limit'] = limit;
|
|
30021
|
+
}
|
|
30022
|
+
|
|
30023
|
+
if (lastRetrieved !== undefined) {
|
|
30024
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
30025
|
+
(lastRetrieved as any).toISOString() :
|
|
30026
|
+
lastRetrieved;
|
|
30027
|
+
}
|
|
30028
|
+
|
|
30029
|
+
|
|
30030
|
+
|
|
30031
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30032
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30033
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30034
|
+
|
|
30035
|
+
return {
|
|
30036
|
+
url: toPathString(localVarUrlObj),
|
|
30037
|
+
options: localVarRequestOptions,
|
|
30038
|
+
};
|
|
30039
|
+
},
|
|
30040
|
+
/**
|
|
30041
|
+
*
|
|
30042
|
+
* @summary Delete plan hospital.
|
|
30043
|
+
* @param {string} planId
|
|
30044
|
+
* @param {string} hospitalId
|
|
30045
|
+
* @param {*} [options] Override http request option.
|
|
30046
|
+
* @throws {RequiredError}
|
|
30047
|
+
*/
|
|
30048
|
+
apiV1PlansPlanIdHospitalsHospitalIdDelete: async (planId: string, hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30049
|
+
// verify required parameter 'planId' is not null or undefined
|
|
30050
|
+
assertParamExists('apiV1PlansPlanIdHospitalsHospitalIdDelete', 'planId', planId)
|
|
30051
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
30052
|
+
assertParamExists('apiV1PlansPlanIdHospitalsHospitalIdDelete', 'hospitalId', hospitalId)
|
|
30053
|
+
const localVarPath = `/api/v1/plans/{planId}/hospitals/{hospitalId}`
|
|
30054
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)))
|
|
30055
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
30056
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30057
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30058
|
+
let baseOptions;
|
|
30059
|
+
if (configuration) {
|
|
30060
|
+
baseOptions = configuration.baseOptions;
|
|
30061
|
+
}
|
|
30062
|
+
|
|
30063
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
30064
|
+
const localVarHeaderParameter = {} as any;
|
|
30065
|
+
const localVarQueryParameter = {} as any;
|
|
30066
|
+
|
|
30067
|
+
// authentication oauth2 required
|
|
30068
|
+
// oauth required
|
|
30069
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30070
|
+
|
|
30071
|
+
|
|
30072
|
+
|
|
30073
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30074
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30075
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30076
|
+
|
|
30077
|
+
return {
|
|
30078
|
+
url: toPathString(localVarUrlObj),
|
|
30079
|
+
options: localVarRequestOptions,
|
|
30080
|
+
};
|
|
30081
|
+
},
|
|
30082
|
+
/**
|
|
30083
|
+
*
|
|
30084
|
+
* @summary Get plan hospital.
|
|
30085
|
+
* @param {string} planId
|
|
30086
|
+
* @param {string} hospitalId
|
|
30087
|
+
* @param {*} [options] Override http request option.
|
|
30088
|
+
* @throws {RequiredError}
|
|
30089
|
+
*/
|
|
30090
|
+
apiV1PlansPlanIdHospitalsHospitalIdGet: async (planId: string, hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30091
|
+
// verify required parameter 'planId' is not null or undefined
|
|
30092
|
+
assertParamExists('apiV1PlansPlanIdHospitalsHospitalIdGet', 'planId', planId)
|
|
30093
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
30094
|
+
assertParamExists('apiV1PlansPlanIdHospitalsHospitalIdGet', 'hospitalId', hospitalId)
|
|
30095
|
+
const localVarPath = `/api/v1/plans/{planId}/hospitals/{hospitalId}`
|
|
30096
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)))
|
|
30097
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
30098
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30099
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30100
|
+
let baseOptions;
|
|
30101
|
+
if (configuration) {
|
|
30102
|
+
baseOptions = configuration.baseOptions;
|
|
30103
|
+
}
|
|
30104
|
+
|
|
30105
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30106
|
+
const localVarHeaderParameter = {} as any;
|
|
30107
|
+
const localVarQueryParameter = {} as any;
|
|
30108
|
+
|
|
30109
|
+
// authentication oauth2 required
|
|
30110
|
+
// oauth required
|
|
30111
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30112
|
+
|
|
30113
|
+
|
|
30114
|
+
|
|
30115
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30116
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30117
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30118
|
+
|
|
30119
|
+
return {
|
|
30120
|
+
url: toPathString(localVarUrlObj),
|
|
30121
|
+
options: localVarRequestOptions,
|
|
30122
|
+
};
|
|
30123
|
+
},
|
|
30124
|
+
/**
|
|
30125
|
+
*
|
|
30126
|
+
* @summary Update plan hospital.
|
|
30127
|
+
* @param {string} planId
|
|
30128
|
+
* @param {string} hospitalId
|
|
30129
|
+
* @param {UpdatePlanHospitalCommand} [updatePlanHospitalCommand]
|
|
30130
|
+
* @param {*} [options] Override http request option.
|
|
30131
|
+
* @throws {RequiredError}
|
|
30132
|
+
*/
|
|
30133
|
+
apiV1PlansPlanIdHospitalsHospitalIdPut: async (planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30134
|
+
// verify required parameter 'planId' is not null or undefined
|
|
30135
|
+
assertParamExists('apiV1PlansPlanIdHospitalsHospitalIdPut', 'planId', planId)
|
|
30136
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
30137
|
+
assertParamExists('apiV1PlansPlanIdHospitalsHospitalIdPut', 'hospitalId', hospitalId)
|
|
30138
|
+
const localVarPath = `/api/v1/plans/{planId}/hospitals/{hospitalId}`
|
|
30139
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)))
|
|
30140
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
30141
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30142
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30143
|
+
let baseOptions;
|
|
30144
|
+
if (configuration) {
|
|
30145
|
+
baseOptions = configuration.baseOptions;
|
|
30146
|
+
}
|
|
30147
|
+
|
|
30148
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
30149
|
+
const localVarHeaderParameter = {} as any;
|
|
30150
|
+
const localVarQueryParameter = {} as any;
|
|
30151
|
+
|
|
30152
|
+
// authentication oauth2 required
|
|
30153
|
+
// oauth required
|
|
30154
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30155
|
+
|
|
30156
|
+
|
|
30157
|
+
|
|
30158
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30159
|
+
|
|
30160
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30161
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30162
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30163
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updatePlanHospitalCommand, localVarRequestOptions, configuration)
|
|
30164
|
+
|
|
30165
|
+
return {
|
|
30166
|
+
url: toPathString(localVarUrlObj),
|
|
30167
|
+
options: localVarRequestOptions,
|
|
30168
|
+
};
|
|
30169
|
+
},
|
|
30170
|
+
/**
|
|
30171
|
+
*
|
|
30172
|
+
* @summary Create plan hospital.
|
|
30173
|
+
* @param {string} planId
|
|
30174
|
+
* @param {CreatePlanHospitalCommand} [createPlanHospitalCommand]
|
|
30175
|
+
* @param {*} [options] Override http request option.
|
|
30176
|
+
* @throws {RequiredError}
|
|
30177
|
+
*/
|
|
30178
|
+
apiV1PlansPlanIdHospitalsPost: async (planId: string, createPlanHospitalCommand?: CreatePlanHospitalCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30179
|
+
// verify required parameter 'planId' is not null or undefined
|
|
30180
|
+
assertParamExists('apiV1PlansPlanIdHospitalsPost', 'planId', planId)
|
|
30181
|
+
const localVarPath = `/api/v1/plans/{planId}/hospitals`
|
|
30182
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)));
|
|
30183
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30184
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30185
|
+
let baseOptions;
|
|
30186
|
+
if (configuration) {
|
|
30187
|
+
baseOptions = configuration.baseOptions;
|
|
30188
|
+
}
|
|
30189
|
+
|
|
30190
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30191
|
+
const localVarHeaderParameter = {} as any;
|
|
30192
|
+
const localVarQueryParameter = {} as any;
|
|
30193
|
+
|
|
30194
|
+
// authentication oauth2 required
|
|
30195
|
+
// oauth required
|
|
30196
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30197
|
+
|
|
30198
|
+
|
|
30199
|
+
|
|
30200
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30201
|
+
|
|
30202
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30203
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30204
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30205
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createPlanHospitalCommand, localVarRequestOptions, configuration)
|
|
30206
|
+
|
|
30207
|
+
return {
|
|
30208
|
+
url: toPathString(localVarUrlObj),
|
|
30209
|
+
options: localVarRequestOptions,
|
|
30210
|
+
};
|
|
30211
|
+
},
|
|
30212
|
+
/**
|
|
30213
|
+
*
|
|
30214
|
+
* @summary Update plan.
|
|
30215
|
+
* @param {string} planId
|
|
30216
|
+
* @param {UpdatePlanCommand} [updatePlanCommand]
|
|
30217
|
+
* @param {*} [options] Override http request option.
|
|
30218
|
+
* @throws {RequiredError}
|
|
30219
|
+
*/
|
|
30220
|
+
apiV1PlansPlanIdPut: async (planId: string, updatePlanCommand?: UpdatePlanCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30221
|
+
// verify required parameter 'planId' is not null or undefined
|
|
30222
|
+
assertParamExists('apiV1PlansPlanIdPut', 'planId', planId)
|
|
30223
|
+
const localVarPath = `/api/v1/plans/{planId}`
|
|
30224
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)));
|
|
30225
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30226
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30227
|
+
let baseOptions;
|
|
30228
|
+
if (configuration) {
|
|
30229
|
+
baseOptions = configuration.baseOptions;
|
|
30230
|
+
}
|
|
30231
|
+
|
|
30232
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
30233
|
+
const localVarHeaderParameter = {} as any;
|
|
30234
|
+
const localVarQueryParameter = {} as any;
|
|
30235
|
+
|
|
30236
|
+
// authentication oauth2 required
|
|
30237
|
+
// oauth required
|
|
30238
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30239
|
+
|
|
30240
|
+
|
|
30241
|
+
|
|
30242
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30243
|
+
|
|
30244
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30246
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30247
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updatePlanCommand, localVarRequestOptions, configuration)
|
|
30248
|
+
|
|
30249
|
+
return {
|
|
30250
|
+
url: toPathString(localVarUrlObj),
|
|
30251
|
+
options: localVarRequestOptions,
|
|
30252
|
+
};
|
|
30253
|
+
},
|
|
30254
|
+
/**
|
|
30255
|
+
*
|
|
30256
|
+
* @summary Create a plan.
|
|
30257
|
+
* @param {CreatePlanCommand} [createPlanCommand]
|
|
30258
|
+
* @param {*} [options] Override http request option.
|
|
30259
|
+
* @throws {RequiredError}
|
|
30260
|
+
*/
|
|
30261
|
+
apiV1PlansPost: async (createPlanCommand?: CreatePlanCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30262
|
+
const localVarPath = `/api/v1/plans`;
|
|
30263
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30264
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30265
|
+
let baseOptions;
|
|
30266
|
+
if (configuration) {
|
|
30267
|
+
baseOptions = configuration.baseOptions;
|
|
30268
|
+
}
|
|
30269
|
+
|
|
30270
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30271
|
+
const localVarHeaderParameter = {} as any;
|
|
30272
|
+
const localVarQueryParameter = {} as any;
|
|
30273
|
+
|
|
30274
|
+
// authentication oauth2 required
|
|
30275
|
+
// oauth required
|
|
30276
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
30277
|
+
|
|
30278
|
+
|
|
30279
|
+
|
|
30280
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30281
|
+
|
|
30282
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30283
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30284
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30285
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createPlanCommand, localVarRequestOptions, configuration)
|
|
30286
|
+
|
|
30287
|
+
return {
|
|
30288
|
+
url: toPathString(localVarUrlObj),
|
|
30289
|
+
options: localVarRequestOptions,
|
|
30290
|
+
};
|
|
30291
|
+
},
|
|
30292
|
+
}
|
|
30293
|
+
};
|
|
30294
|
+
|
|
30295
|
+
/**
|
|
30296
|
+
* PlansApi - functional programming interface
|
|
30297
|
+
* @export
|
|
30298
|
+
*/
|
|
30299
|
+
export const PlansApiFp = function(configuration?: Configuration) {
|
|
30300
|
+
const localVarAxiosParamCreator = PlansApiAxiosParamCreator(configuration)
|
|
30301
|
+
return {
|
|
30302
|
+
/**
|
|
30303
|
+
*
|
|
30304
|
+
* @summary Get all plans.
|
|
30305
|
+
* @param {string} [id]
|
|
30306
|
+
* @param {string} [name]
|
|
30307
|
+
* @param {number} [page]
|
|
30308
|
+
* @param {number} [limit]
|
|
30309
|
+
* @param {Date} [lastRetrieved]
|
|
30310
|
+
* @param {*} [options] Override http request option.
|
|
30311
|
+
* @throws {RequiredError}
|
|
30312
|
+
*/
|
|
30313
|
+
async apiV1PlansGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlansModel>> {
|
|
30314
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansGet(id, name, page, limit, lastRetrieved, options);
|
|
30315
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30316
|
+
},
|
|
30317
|
+
/**
|
|
30318
|
+
*
|
|
30319
|
+
* @summary Delete plan.
|
|
30320
|
+
* @param {string} planId
|
|
30321
|
+
* @param {*} [options] Override http request option.
|
|
30322
|
+
* @throws {RequiredError}
|
|
30323
|
+
*/
|
|
30324
|
+
async apiV1PlansPlanIdDelete(planId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
30325
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdDelete(planId, options);
|
|
30326
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30327
|
+
},
|
|
30328
|
+
/**
|
|
30329
|
+
*
|
|
30330
|
+
* @summary Get plan.
|
|
30331
|
+
* @param {string} planId
|
|
30332
|
+
* @param {*} [options] Override http request option.
|
|
30333
|
+
* @throws {RequiredError}
|
|
30334
|
+
*/
|
|
30335
|
+
async apiV1PlansPlanIdGet(planId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanModel>> {
|
|
30336
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdGet(planId, options);
|
|
30337
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30338
|
+
},
|
|
30339
|
+
/**
|
|
30340
|
+
*
|
|
30341
|
+
* @summary Get all plan hospital.
|
|
30342
|
+
* @param {string} planId
|
|
30343
|
+
* @param {number} [page]
|
|
30344
|
+
* @param {number} [limit]
|
|
30345
|
+
* @param {Date} [lastRetrieved]
|
|
30346
|
+
* @param {*} [options] Override http request option.
|
|
30347
|
+
* @throws {RequiredError}
|
|
30348
|
+
*/
|
|
30349
|
+
async apiV1PlansPlanIdHospitalsGet(planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanHospitalsModel>> {
|
|
30350
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdHospitalsGet(planId, page, limit, lastRetrieved, options);
|
|
30351
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30352
|
+
},
|
|
30353
|
+
/**
|
|
30354
|
+
*
|
|
30355
|
+
* @summary Delete plan hospital.
|
|
30356
|
+
* @param {string} planId
|
|
30357
|
+
* @param {string} hospitalId
|
|
30358
|
+
* @param {*} [options] Override http request option.
|
|
30359
|
+
* @throws {RequiredError}
|
|
30360
|
+
*/
|
|
30361
|
+
async apiV1PlansPlanIdHospitalsHospitalIdDelete(planId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
30362
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdHospitalsHospitalIdDelete(planId, hospitalId, options);
|
|
30363
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30364
|
+
},
|
|
30365
|
+
/**
|
|
30366
|
+
*
|
|
30367
|
+
* @summary Get plan hospital.
|
|
30368
|
+
* @param {string} planId
|
|
30369
|
+
* @param {string} hospitalId
|
|
30370
|
+
* @param {*} [options] Override http request option.
|
|
30371
|
+
* @throws {RequiredError}
|
|
30372
|
+
*/
|
|
30373
|
+
async apiV1PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanHospitalModel>> {
|
|
30374
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdHospitalsHospitalIdGet(planId, hospitalId, options);
|
|
30375
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30376
|
+
},
|
|
30377
|
+
/**
|
|
30378
|
+
*
|
|
30379
|
+
* @summary Update plan hospital.
|
|
30380
|
+
* @param {string} planId
|
|
30381
|
+
* @param {string} hospitalId
|
|
30382
|
+
* @param {UpdatePlanHospitalCommand} [updatePlanHospitalCommand]
|
|
30383
|
+
* @param {*} [options] Override http request option.
|
|
30384
|
+
* @throws {RequiredError}
|
|
30385
|
+
*/
|
|
30386
|
+
async apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
30387
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdHospitalsHospitalIdPut(planId, hospitalId, updatePlanHospitalCommand, options);
|
|
30388
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30389
|
+
},
|
|
30390
|
+
/**
|
|
30391
|
+
*
|
|
30392
|
+
* @summary Create plan hospital.
|
|
30393
|
+
* @param {string} planId
|
|
30394
|
+
* @param {CreatePlanHospitalCommand} [createPlanHospitalCommand]
|
|
30395
|
+
* @param {*} [options] Override http request option.
|
|
30396
|
+
* @throws {RequiredError}
|
|
30397
|
+
*/
|
|
30398
|
+
async apiV1PlansPlanIdHospitalsPost(planId: string, createPlanHospitalCommand?: CreatePlanHospitalCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanHospitalModel>> {
|
|
30399
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdHospitalsPost(planId, createPlanHospitalCommand, options);
|
|
30400
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30401
|
+
},
|
|
30402
|
+
/**
|
|
30403
|
+
*
|
|
30404
|
+
* @summary Update plan.
|
|
30405
|
+
* @param {string} planId
|
|
30406
|
+
* @param {UpdatePlanCommand} [updatePlanCommand]
|
|
30407
|
+
* @param {*} [options] Override http request option.
|
|
30408
|
+
* @throws {RequiredError}
|
|
30409
|
+
*/
|
|
30410
|
+
async apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
30411
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPlanIdPut(planId, updatePlanCommand, options);
|
|
30412
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30413
|
+
},
|
|
30414
|
+
/**
|
|
30415
|
+
*
|
|
30416
|
+
* @summary Create a plan.
|
|
30417
|
+
* @param {CreatePlanCommand} [createPlanCommand]
|
|
30418
|
+
* @param {*} [options] Override http request option.
|
|
30419
|
+
* @throws {RequiredError}
|
|
30420
|
+
*/
|
|
30421
|
+
async apiV1PlansPost(createPlanCommand?: CreatePlanCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanModel>> {
|
|
30422
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PlansPost(createPlanCommand, options);
|
|
30423
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30424
|
+
},
|
|
30425
|
+
}
|
|
30426
|
+
};
|
|
30427
|
+
|
|
30428
|
+
/**
|
|
30429
|
+
* PlansApi - factory interface
|
|
30430
|
+
* @export
|
|
30431
|
+
*/
|
|
30432
|
+
export const PlansApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
30433
|
+
const localVarFp = PlansApiFp(configuration)
|
|
30434
|
+
return {
|
|
30435
|
+
/**
|
|
30436
|
+
*
|
|
30437
|
+
* @summary Get all plans.
|
|
30438
|
+
* @param {string} [id]
|
|
30439
|
+
* @param {string} [name]
|
|
30440
|
+
* @param {number} [page]
|
|
30441
|
+
* @param {number} [limit]
|
|
30442
|
+
* @param {Date} [lastRetrieved]
|
|
30443
|
+
* @param {*} [options] Override http request option.
|
|
30444
|
+
* @throws {RequiredError}
|
|
30445
|
+
*/
|
|
30446
|
+
apiV1PlansGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PlansModel> {
|
|
30447
|
+
return localVarFp.apiV1PlansGet(id, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
30448
|
+
},
|
|
30449
|
+
/**
|
|
30450
|
+
*
|
|
30451
|
+
* @summary Delete plan.
|
|
30452
|
+
* @param {string} planId
|
|
30453
|
+
* @param {*} [options] Override http request option.
|
|
30454
|
+
* @throws {RequiredError}
|
|
30455
|
+
*/
|
|
30456
|
+
apiV1PlansPlanIdDelete(planId: string, options?: any): AxiosPromise<boolean> {
|
|
30457
|
+
return localVarFp.apiV1PlansPlanIdDelete(planId, options).then((request) => request(axios, basePath));
|
|
30458
|
+
},
|
|
30459
|
+
/**
|
|
30460
|
+
*
|
|
30461
|
+
* @summary Get plan.
|
|
30462
|
+
* @param {string} planId
|
|
30463
|
+
* @param {*} [options] Override http request option.
|
|
30464
|
+
* @throws {RequiredError}
|
|
30465
|
+
*/
|
|
30466
|
+
apiV1PlansPlanIdGet(planId: string, options?: any): AxiosPromise<PlanModel> {
|
|
30467
|
+
return localVarFp.apiV1PlansPlanIdGet(planId, options).then((request) => request(axios, basePath));
|
|
30468
|
+
},
|
|
30469
|
+
/**
|
|
30470
|
+
*
|
|
30471
|
+
* @summary Get all plan hospital.
|
|
30472
|
+
* @param {string} planId
|
|
30473
|
+
* @param {number} [page]
|
|
30474
|
+
* @param {number} [limit]
|
|
30475
|
+
* @param {Date} [lastRetrieved]
|
|
30476
|
+
* @param {*} [options] Override http request option.
|
|
30477
|
+
* @throws {RequiredError}
|
|
30478
|
+
*/
|
|
30479
|
+
apiV1PlansPlanIdHospitalsGet(planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PlanHospitalsModel> {
|
|
30480
|
+
return localVarFp.apiV1PlansPlanIdHospitalsGet(planId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
30481
|
+
},
|
|
30482
|
+
/**
|
|
30483
|
+
*
|
|
30484
|
+
* @summary Delete plan hospital.
|
|
30485
|
+
* @param {string} planId
|
|
30486
|
+
* @param {string} hospitalId
|
|
30487
|
+
* @param {*} [options] Override http request option.
|
|
30488
|
+
* @throws {RequiredError}
|
|
30489
|
+
*/
|
|
30490
|
+
apiV1PlansPlanIdHospitalsHospitalIdDelete(planId: string, hospitalId: string, options?: any): AxiosPromise<boolean> {
|
|
30491
|
+
return localVarFp.apiV1PlansPlanIdHospitalsHospitalIdDelete(planId, hospitalId, options).then((request) => request(axios, basePath));
|
|
30492
|
+
},
|
|
30493
|
+
/**
|
|
30494
|
+
*
|
|
30495
|
+
* @summary Get plan hospital.
|
|
30496
|
+
* @param {string} planId
|
|
30497
|
+
* @param {string} hospitalId
|
|
30498
|
+
* @param {*} [options] Override http request option.
|
|
30499
|
+
* @throws {RequiredError}
|
|
30500
|
+
*/
|
|
30501
|
+
apiV1PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: any): AxiosPromise<PlanHospitalModel> {
|
|
30502
|
+
return localVarFp.apiV1PlansPlanIdHospitalsHospitalIdGet(planId, hospitalId, options).then((request) => request(axios, basePath));
|
|
30503
|
+
},
|
|
30504
|
+
/**
|
|
30505
|
+
*
|
|
30506
|
+
* @summary Update plan hospital.
|
|
30507
|
+
* @param {string} planId
|
|
30508
|
+
* @param {string} hospitalId
|
|
30509
|
+
* @param {UpdatePlanHospitalCommand} [updatePlanHospitalCommand]
|
|
30510
|
+
* @param {*} [options] Override http request option.
|
|
30511
|
+
* @throws {RequiredError}
|
|
30512
|
+
*/
|
|
30513
|
+
apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options?: any): AxiosPromise<boolean> {
|
|
30514
|
+
return localVarFp.apiV1PlansPlanIdHospitalsHospitalIdPut(planId, hospitalId, updatePlanHospitalCommand, options).then((request) => request(axios, basePath));
|
|
30515
|
+
},
|
|
30516
|
+
/**
|
|
30517
|
+
*
|
|
30518
|
+
* @summary Create plan hospital.
|
|
30519
|
+
* @param {string} planId
|
|
30520
|
+
* @param {CreatePlanHospitalCommand} [createPlanHospitalCommand]
|
|
30521
|
+
* @param {*} [options] Override http request option.
|
|
30522
|
+
* @throws {RequiredError}
|
|
30523
|
+
*/
|
|
30524
|
+
apiV1PlansPlanIdHospitalsPost(planId: string, createPlanHospitalCommand?: CreatePlanHospitalCommand, options?: any): AxiosPromise<PlanHospitalModel> {
|
|
30525
|
+
return localVarFp.apiV1PlansPlanIdHospitalsPost(planId, createPlanHospitalCommand, options).then((request) => request(axios, basePath));
|
|
30526
|
+
},
|
|
30527
|
+
/**
|
|
30528
|
+
*
|
|
30529
|
+
* @summary Update plan.
|
|
30530
|
+
* @param {string} planId
|
|
30531
|
+
* @param {UpdatePlanCommand} [updatePlanCommand]
|
|
30532
|
+
* @param {*} [options] Override http request option.
|
|
30533
|
+
* @throws {RequiredError}
|
|
30534
|
+
*/
|
|
30535
|
+
apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand, options?: any): AxiosPromise<boolean> {
|
|
30536
|
+
return localVarFp.apiV1PlansPlanIdPut(planId, updatePlanCommand, options).then((request) => request(axios, basePath));
|
|
30537
|
+
},
|
|
30538
|
+
/**
|
|
30539
|
+
*
|
|
30540
|
+
* @summary Create a plan.
|
|
30541
|
+
* @param {CreatePlanCommand} [createPlanCommand]
|
|
30542
|
+
* @param {*} [options] Override http request option.
|
|
30543
|
+
* @throws {RequiredError}
|
|
30544
|
+
*/
|
|
30545
|
+
apiV1PlansPost(createPlanCommand?: CreatePlanCommand, options?: any): AxiosPromise<PlanModel> {
|
|
30546
|
+
return localVarFp.apiV1PlansPost(createPlanCommand, options).then((request) => request(axios, basePath));
|
|
30547
|
+
},
|
|
30548
|
+
};
|
|
30549
|
+
};
|
|
30550
|
+
|
|
30551
|
+
/**
|
|
30552
|
+
* PlansApi - object-oriented interface
|
|
30553
|
+
* @export
|
|
30554
|
+
* @class PlansApi
|
|
30555
|
+
* @extends {BaseAPI}
|
|
30556
|
+
*/
|
|
30557
|
+
export class PlansApi extends BaseAPI {
|
|
30558
|
+
/**
|
|
30559
|
+
*
|
|
30560
|
+
* @summary Get all plans.
|
|
30561
|
+
* @param {string} [id]
|
|
30562
|
+
* @param {string} [name]
|
|
30563
|
+
* @param {number} [page]
|
|
30564
|
+
* @param {number} [limit]
|
|
30565
|
+
* @param {Date} [lastRetrieved]
|
|
30566
|
+
* @param {*} [options] Override http request option.
|
|
30567
|
+
* @throws {RequiredError}
|
|
30568
|
+
* @memberof PlansApi
|
|
30569
|
+
*/
|
|
30570
|
+
public apiV1PlansGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
30571
|
+
return PlansApiFp(this.configuration).apiV1PlansGet(id, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30572
|
+
}
|
|
30573
|
+
|
|
30574
|
+
/**
|
|
30575
|
+
*
|
|
30576
|
+
* @summary Delete plan.
|
|
30577
|
+
* @param {string} planId
|
|
30578
|
+
* @param {*} [options] Override http request option.
|
|
30579
|
+
* @throws {RequiredError}
|
|
30580
|
+
* @memberof PlansApi
|
|
30581
|
+
*/
|
|
30582
|
+
public apiV1PlansPlanIdDelete(planId: string, options?: AxiosRequestConfig) {
|
|
30583
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdDelete(planId, options).then((request) => request(this.axios, this.basePath));
|
|
30584
|
+
}
|
|
30585
|
+
|
|
30586
|
+
/**
|
|
30587
|
+
*
|
|
30588
|
+
* @summary Get plan.
|
|
30589
|
+
* @param {string} planId
|
|
30590
|
+
* @param {*} [options] Override http request option.
|
|
30591
|
+
* @throws {RequiredError}
|
|
30592
|
+
* @memberof PlansApi
|
|
30593
|
+
*/
|
|
30594
|
+
public apiV1PlansPlanIdGet(planId: string, options?: AxiosRequestConfig) {
|
|
30595
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdGet(planId, options).then((request) => request(this.axios, this.basePath));
|
|
30596
|
+
}
|
|
30597
|
+
|
|
30598
|
+
/**
|
|
30599
|
+
*
|
|
30600
|
+
* @summary Get all plan hospital.
|
|
30601
|
+
* @param {string} planId
|
|
30602
|
+
* @param {number} [page]
|
|
30603
|
+
* @param {number} [limit]
|
|
30604
|
+
* @param {Date} [lastRetrieved]
|
|
30605
|
+
* @param {*} [options] Override http request option.
|
|
30606
|
+
* @throws {RequiredError}
|
|
30607
|
+
* @memberof PlansApi
|
|
30608
|
+
*/
|
|
30609
|
+
public apiV1PlansPlanIdHospitalsGet(planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
30610
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsGet(planId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
30611
|
+
}
|
|
30612
|
+
|
|
30613
|
+
/**
|
|
30614
|
+
*
|
|
30615
|
+
* @summary Delete plan hospital.
|
|
30616
|
+
* @param {string} planId
|
|
30617
|
+
* @param {string} hospitalId
|
|
30618
|
+
* @param {*} [options] Override http request option.
|
|
30619
|
+
* @throws {RequiredError}
|
|
30620
|
+
* @memberof PlansApi
|
|
30621
|
+
*/
|
|
30622
|
+
public apiV1PlansPlanIdHospitalsHospitalIdDelete(planId: string, hospitalId: string, options?: AxiosRequestConfig) {
|
|
30623
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsHospitalIdDelete(planId, hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
30624
|
+
}
|
|
30625
|
+
|
|
30626
|
+
/**
|
|
30627
|
+
*
|
|
30628
|
+
* @summary Get plan hospital.
|
|
30629
|
+
* @param {string} planId
|
|
30630
|
+
* @param {string} hospitalId
|
|
30631
|
+
* @param {*} [options] Override http request option.
|
|
30632
|
+
* @throws {RequiredError}
|
|
30633
|
+
* @memberof PlansApi
|
|
30634
|
+
*/
|
|
30635
|
+
public apiV1PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: AxiosRequestConfig) {
|
|
30636
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsHospitalIdGet(planId, hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
30637
|
+
}
|
|
30638
|
+
|
|
30639
|
+
/**
|
|
30640
|
+
*
|
|
30641
|
+
* @summary Update plan hospital.
|
|
30642
|
+
* @param {string} planId
|
|
30643
|
+
* @param {string} hospitalId
|
|
30644
|
+
* @param {UpdatePlanHospitalCommand} [updatePlanHospitalCommand]
|
|
30645
|
+
* @param {*} [options] Override http request option.
|
|
30646
|
+
* @throws {RequiredError}
|
|
30647
|
+
* @memberof PlansApi
|
|
30648
|
+
*/
|
|
30649
|
+
public apiV1PlansPlanIdHospitalsHospitalIdPut(planId: string, hospitalId: string, updatePlanHospitalCommand?: UpdatePlanHospitalCommand, options?: AxiosRequestConfig) {
|
|
30650
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsHospitalIdPut(planId, hospitalId, updatePlanHospitalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
30651
|
+
}
|
|
30652
|
+
|
|
30653
|
+
/**
|
|
30654
|
+
*
|
|
30655
|
+
* @summary Create plan hospital.
|
|
30656
|
+
* @param {string} planId
|
|
30657
|
+
* @param {CreatePlanHospitalCommand} [createPlanHospitalCommand]
|
|
30658
|
+
* @param {*} [options] Override http request option.
|
|
30659
|
+
* @throws {RequiredError}
|
|
30660
|
+
* @memberof PlansApi
|
|
30661
|
+
*/
|
|
30662
|
+
public apiV1PlansPlanIdHospitalsPost(planId: string, createPlanHospitalCommand?: CreatePlanHospitalCommand, options?: AxiosRequestConfig) {
|
|
30663
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdHospitalsPost(planId, createPlanHospitalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
30664
|
+
}
|
|
30665
|
+
|
|
30666
|
+
/**
|
|
30667
|
+
*
|
|
30668
|
+
* @summary Update plan.
|
|
30669
|
+
* @param {string} planId
|
|
30670
|
+
* @param {UpdatePlanCommand} [updatePlanCommand]
|
|
30671
|
+
* @param {*} [options] Override http request option.
|
|
30672
|
+
* @throws {RequiredError}
|
|
30673
|
+
* @memberof PlansApi
|
|
30674
|
+
*/
|
|
30675
|
+
public apiV1PlansPlanIdPut(planId: string, updatePlanCommand?: UpdatePlanCommand, options?: AxiosRequestConfig) {
|
|
30676
|
+
return PlansApiFp(this.configuration).apiV1PlansPlanIdPut(planId, updatePlanCommand, options).then((request) => request(this.axios, this.basePath));
|
|
30677
|
+
}
|
|
30678
|
+
|
|
30679
|
+
/**
|
|
30680
|
+
*
|
|
30681
|
+
* @summary Create a plan.
|
|
30682
|
+
* @param {CreatePlanCommand} [createPlanCommand]
|
|
30683
|
+
* @param {*} [options] Override http request option.
|
|
30684
|
+
* @throws {RequiredError}
|
|
30685
|
+
* @memberof PlansApi
|
|
30686
|
+
*/
|
|
30687
|
+
public apiV1PlansPost(createPlanCommand?: CreatePlanCommand, options?: AxiosRequestConfig) {
|
|
30688
|
+
return PlansApiFp(this.configuration).apiV1PlansPost(createPlanCommand, options).then((request) => request(this.axios, this.basePath));
|
|
30689
|
+
}
|
|
30690
|
+
}
|
|
30691
|
+
|
|
30692
|
+
|
|
30693
|
+
/**
|
|
30694
|
+
* ProfilesApi - axios parameter creator
|
|
30695
|
+
* @export
|
|
30696
|
+
*/
|
|
30697
|
+
export const ProfilesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30698
|
+
return {
|
|
30699
|
+
/**
|
|
30700
|
+
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
30701
|
+
* @summary Change user\'s email on both Identity and Api.
|
|
30702
|
+
* @param {ChangeEmailCommand} [changeEmailCommand]
|
|
30703
|
+
* @param {*} [options] Override http request option.
|
|
30704
|
+
* @throws {RequiredError}
|
|
30705
|
+
*/
|
|
30706
|
+
apiV1ProfilesChangeemailPost: async (changeEmailCommand?: ChangeEmailCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30707
|
+
const localVarPath = `/api/v1/profiles/changeemail`;
|
|
28229
30708
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28230
30709
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28231
30710
|
let baseOptions;
|
|
@@ -28248,7 +30727,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
28248
30727
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28249
30728
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28250
30729
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28251
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
30730
|
+
localVarRequestOptions.data = serializeDataIfNeeded(changeEmailCommand, localVarRequestOptions, configuration)
|
|
28252
30731
|
|
|
28253
30732
|
return {
|
|
28254
30733
|
url: toPathString(localVarUrlObj),
|
|
@@ -28257,17 +30736,13 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
28257
30736
|
},
|
|
28258
30737
|
/**
|
|
28259
30738
|
*
|
|
28260
|
-
* @summary
|
|
28261
|
-
* @param {
|
|
28262
|
-
* @param {boolean} [unreadCountOnly]
|
|
28263
|
-
* @param {number} [page]
|
|
28264
|
-
* @param {number} [limit]
|
|
28265
|
-
* @param {Date} [lastRetrieved]
|
|
30739
|
+
* @summary Configm email.
|
|
30740
|
+
* @param {ConfirmEmailCommand} [confirmEmailCommand]
|
|
28266
30741
|
* @param {*} [options] Override http request option.
|
|
28267
30742
|
* @throws {RequiredError}
|
|
28268
30743
|
*/
|
|
28269
|
-
|
|
28270
|
-
const localVarPath = `/api/v1/
|
|
30744
|
+
apiV1ProfilesConfirmemailPost: async (confirmEmailCommand?: ConfirmEmailCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30745
|
+
const localVarPath = `/api/v1/profiles/confirmemail`;
|
|
28271
30746
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28272
30747
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28273
30748
|
let baseOptions;
|
|
@@ -28275,7 +30750,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
28275
30750
|
baseOptions = configuration.baseOptions;
|
|
28276
30751
|
}
|
|
28277
30752
|
|
|
28278
|
-
const localVarRequestOptions = { method: '
|
|
30753
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
28279
30754
|
const localVarHeaderParameter = {} as any;
|
|
28280
30755
|
const localVarQueryParameter = {} as any;
|
|
28281
30756
|
|
|
@@ -28283,27 +30758,42 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
28283
30758
|
// oauth required
|
|
28284
30759
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
28285
30760
|
|
|
28286
|
-
if (notificationCode !== undefined) {
|
|
28287
|
-
localVarQueryParameter['NotificationCode'] = notificationCode;
|
|
28288
|
-
}
|
|
28289
30761
|
|
|
28290
|
-
|
|
28291
|
-
|
|
28292
|
-
}
|
|
30762
|
+
|
|
30763
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28293
30764
|
|
|
28294
|
-
|
|
28295
|
-
|
|
28296
|
-
}
|
|
30765
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30766
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30767
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30768
|
+
localVarRequestOptions.data = serializeDataIfNeeded(confirmEmailCommand, localVarRequestOptions, configuration)
|
|
28297
30769
|
|
|
28298
|
-
|
|
28299
|
-
|
|
30770
|
+
return {
|
|
30771
|
+
url: toPathString(localVarUrlObj),
|
|
30772
|
+
options: localVarRequestOptions,
|
|
30773
|
+
};
|
|
30774
|
+
},
|
|
30775
|
+
/**
|
|
30776
|
+
*
|
|
30777
|
+
* @summary Get Profile.
|
|
30778
|
+
* @param {*} [options] Override http request option.
|
|
30779
|
+
* @throws {RequiredError}
|
|
30780
|
+
*/
|
|
30781
|
+
apiV1ProfilesGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30782
|
+
const localVarPath = `/api/v1/profiles`;
|
|
30783
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30784
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30785
|
+
let baseOptions;
|
|
30786
|
+
if (configuration) {
|
|
30787
|
+
baseOptions = configuration.baseOptions;
|
|
28300
30788
|
}
|
|
28301
30789
|
|
|
28302
|
-
|
|
28303
|
-
|
|
28304
|
-
|
|
28305
|
-
|
|
28306
|
-
|
|
30790
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30791
|
+
const localVarHeaderParameter = {} as any;
|
|
30792
|
+
const localVarQueryParameter = {} as any;
|
|
30793
|
+
|
|
30794
|
+
// authentication oauth2 required
|
|
30795
|
+
// oauth required
|
|
30796
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
28307
30797
|
|
|
28308
30798
|
|
|
28309
30799
|
|
|
@@ -28320,108 +30810,126 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
28320
30810
|
};
|
|
28321
30811
|
|
|
28322
30812
|
/**
|
|
28323
|
-
*
|
|
30813
|
+
* ProfilesApi - functional programming interface
|
|
28324
30814
|
* @export
|
|
28325
30815
|
*/
|
|
28326
|
-
export const
|
|
28327
|
-
const localVarAxiosParamCreator =
|
|
30816
|
+
export const ProfilesApiFp = function(configuration?: Configuration) {
|
|
30817
|
+
const localVarAxiosParamCreator = ProfilesApiAxiosParamCreator(configuration)
|
|
28328
30818
|
return {
|
|
30819
|
+
/**
|
|
30820
|
+
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
30821
|
+
* @summary Change user\'s email on both Identity and Api.
|
|
30822
|
+
* @param {ChangeEmailCommand} [changeEmailCommand]
|
|
30823
|
+
* @param {*} [options] Override http request option.
|
|
30824
|
+
* @throws {RequiredError}
|
|
30825
|
+
*/
|
|
30826
|
+
async apiV1ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
30827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ProfilesChangeemailPost(changeEmailCommand, options);
|
|
30828
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30829
|
+
},
|
|
28329
30830
|
/**
|
|
28330
30831
|
*
|
|
28331
|
-
* @summary
|
|
28332
|
-
* @param {
|
|
30832
|
+
* @summary Configm email.
|
|
30833
|
+
* @param {ConfirmEmailCommand} [confirmEmailCommand]
|
|
28333
30834
|
* @param {*} [options] Override http request option.
|
|
28334
30835
|
* @throws {RequiredError}
|
|
28335
30836
|
*/
|
|
28336
|
-
async
|
|
28337
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30837
|
+
async apiV1ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
30838
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ProfilesConfirmemailPost(confirmEmailCommand, options);
|
|
28338
30839
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28339
30840
|
},
|
|
28340
30841
|
/**
|
|
28341
30842
|
*
|
|
28342
|
-
* @summary Get
|
|
28343
|
-
* @param {NotificationCode} [notificationCode]
|
|
28344
|
-
* @param {boolean} [unreadCountOnly]
|
|
28345
|
-
* @param {number} [page]
|
|
28346
|
-
* @param {number} [limit]
|
|
28347
|
-
* @param {Date} [lastRetrieved]
|
|
30843
|
+
* @summary Get Profile.
|
|
28348
30844
|
* @param {*} [options] Override http request option.
|
|
28349
30845
|
* @throws {RequiredError}
|
|
28350
30846
|
*/
|
|
28351
|
-
async
|
|
28352
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30847
|
+
async apiV1ProfilesGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>> {
|
|
30848
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ProfilesGet(options);
|
|
28353
30849
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28354
30850
|
},
|
|
28355
30851
|
}
|
|
28356
30852
|
};
|
|
28357
30853
|
|
|
28358
30854
|
/**
|
|
28359
|
-
*
|
|
30855
|
+
* ProfilesApi - factory interface
|
|
28360
30856
|
* @export
|
|
28361
30857
|
*/
|
|
28362
|
-
export const
|
|
28363
|
-
const localVarFp =
|
|
30858
|
+
export const ProfilesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
30859
|
+
const localVarFp = ProfilesApiFp(configuration)
|
|
28364
30860
|
return {
|
|
30861
|
+
/**
|
|
30862
|
+
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
30863
|
+
* @summary Change user\'s email on both Identity and Api.
|
|
30864
|
+
* @param {ChangeEmailCommand} [changeEmailCommand]
|
|
30865
|
+
* @param {*} [options] Override http request option.
|
|
30866
|
+
* @throws {RequiredError}
|
|
30867
|
+
*/
|
|
30868
|
+
apiV1ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: any): AxiosPromise<boolean> {
|
|
30869
|
+
return localVarFp.apiV1ProfilesChangeemailPost(changeEmailCommand, options).then((request) => request(axios, basePath));
|
|
30870
|
+
},
|
|
28365
30871
|
/**
|
|
28366
30872
|
*
|
|
28367
|
-
* @summary
|
|
28368
|
-
* @param {
|
|
30873
|
+
* @summary Configm email.
|
|
30874
|
+
* @param {ConfirmEmailCommand} [confirmEmailCommand]
|
|
28369
30875
|
* @param {*} [options] Override http request option.
|
|
28370
30876
|
* @throws {RequiredError}
|
|
28371
30877
|
*/
|
|
28372
|
-
|
|
28373
|
-
return localVarFp.
|
|
30878
|
+
apiV1ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: any): AxiosPromise<boolean> {
|
|
30879
|
+
return localVarFp.apiV1ProfilesConfirmemailPost(confirmEmailCommand, options).then((request) => request(axios, basePath));
|
|
28374
30880
|
},
|
|
28375
30881
|
/**
|
|
28376
30882
|
*
|
|
28377
|
-
* @summary Get
|
|
28378
|
-
* @param {NotificationCode} [notificationCode]
|
|
28379
|
-
* @param {boolean} [unreadCountOnly]
|
|
28380
|
-
* @param {number} [page]
|
|
28381
|
-
* @param {number} [limit]
|
|
28382
|
-
* @param {Date} [lastRetrieved]
|
|
30883
|
+
* @summary Get Profile.
|
|
28383
30884
|
* @param {*} [options] Override http request option.
|
|
28384
30885
|
* @throws {RequiredError}
|
|
28385
30886
|
*/
|
|
28386
|
-
|
|
28387
|
-
return localVarFp.
|
|
30887
|
+
apiV1ProfilesGet(options?: any): AxiosPromise<UserModel> {
|
|
30888
|
+
return localVarFp.apiV1ProfilesGet(options).then((request) => request(axios, basePath));
|
|
28388
30889
|
},
|
|
28389
30890
|
};
|
|
28390
30891
|
};
|
|
28391
30892
|
|
|
28392
30893
|
/**
|
|
28393
|
-
*
|
|
30894
|
+
* ProfilesApi - object-oriented interface
|
|
28394
30895
|
* @export
|
|
28395
|
-
* @class
|
|
30896
|
+
* @class ProfilesApi
|
|
28396
30897
|
* @extends {BaseAPI}
|
|
28397
30898
|
*/
|
|
28398
|
-
export class
|
|
30899
|
+
export class ProfilesApi extends BaseAPI {
|
|
30900
|
+
/**
|
|
30901
|
+
* Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
|
|
30902
|
+
* @summary Change user\'s email on both Identity and Api.
|
|
30903
|
+
* @param {ChangeEmailCommand} [changeEmailCommand]
|
|
30904
|
+
* @param {*} [options] Override http request option.
|
|
30905
|
+
* @throws {RequiredError}
|
|
30906
|
+
* @memberof ProfilesApi
|
|
30907
|
+
*/
|
|
30908
|
+
public apiV1ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: AxiosRequestConfig) {
|
|
30909
|
+
return ProfilesApiFp(this.configuration).apiV1ProfilesChangeemailPost(changeEmailCommand, options).then((request) => request(this.axios, this.basePath));
|
|
30910
|
+
}
|
|
30911
|
+
|
|
28399
30912
|
/**
|
|
28400
30913
|
*
|
|
28401
|
-
* @summary
|
|
28402
|
-
* @param {
|
|
30914
|
+
* @summary Configm email.
|
|
30915
|
+
* @param {ConfirmEmailCommand} [confirmEmailCommand]
|
|
28403
30916
|
* @param {*} [options] Override http request option.
|
|
28404
30917
|
* @throws {RequiredError}
|
|
28405
|
-
* @memberof
|
|
30918
|
+
* @memberof ProfilesApi
|
|
28406
30919
|
*/
|
|
28407
|
-
public
|
|
28408
|
-
return
|
|
30920
|
+
public apiV1ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: AxiosRequestConfig) {
|
|
30921
|
+
return ProfilesApiFp(this.configuration).apiV1ProfilesConfirmemailPost(confirmEmailCommand, options).then((request) => request(this.axios, this.basePath));
|
|
28409
30922
|
}
|
|
28410
30923
|
|
|
28411
30924
|
/**
|
|
28412
30925
|
*
|
|
28413
|
-
* @summary Get
|
|
28414
|
-
* @param {NotificationCode} [notificationCode]
|
|
28415
|
-
* @param {boolean} [unreadCountOnly]
|
|
28416
|
-
* @param {number} [page]
|
|
28417
|
-
* @param {number} [limit]
|
|
28418
|
-
* @param {Date} [lastRetrieved]
|
|
30926
|
+
* @summary Get Profile.
|
|
28419
30927
|
* @param {*} [options] Override http request option.
|
|
28420
30928
|
* @throws {RequiredError}
|
|
28421
|
-
* @memberof
|
|
30929
|
+
* @memberof ProfilesApi
|
|
28422
30930
|
*/
|
|
28423
|
-
public
|
|
28424
|
-
return
|
|
30931
|
+
public apiV1ProfilesGet(options?: AxiosRequestConfig) {
|
|
30932
|
+
return ProfilesApiFp(this.configuration).apiV1ProfilesGet(options).then((request) => request(this.axios, this.basePath));
|
|
28425
30933
|
}
|
|
28426
30934
|
}
|
|
28427
30935
|
|