ch-admin-api-client-typescript 2.9.2 → 2.9.5
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 +833 -40
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +740 -15
- package/package.json +1 -1
- package/src/api.ts +1304 -171
package/src/api.ts
CHANGED
|
@@ -21,6 +21,201 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AboutUsPageItemModel
|
|
28
|
+
*/
|
|
29
|
+
export interface AboutUsPageItemModel {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AboutUsPageItemModel
|
|
34
|
+
*/
|
|
35
|
+
'id'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AboutUsPageItemModel
|
|
40
|
+
*/
|
|
41
|
+
'hospitalId'?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AboutUsPageItemModel
|
|
46
|
+
*/
|
|
47
|
+
'hospitalName'?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AboutUsPageItemModel
|
|
52
|
+
*/
|
|
53
|
+
'hospitalSlug'?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AboutUsPageItemModel
|
|
58
|
+
*/
|
|
59
|
+
'overviewTitle'?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof AboutUsPageItemModel
|
|
64
|
+
*/
|
|
65
|
+
'overview'?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AboutUsPageItemModel
|
|
70
|
+
*/
|
|
71
|
+
'content'?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof AboutUsPageItemModel
|
|
76
|
+
*/
|
|
77
|
+
'customStyle'?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof AboutUsPageItemModel
|
|
82
|
+
*/
|
|
83
|
+
'background'?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof AboutUsPageItemModel
|
|
88
|
+
*/
|
|
89
|
+
'backgroundThumbnail'?: string | null;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof AboutUsPageItemModel
|
|
94
|
+
*/
|
|
95
|
+
'confirmed'?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {Array<MediaModel>}
|
|
99
|
+
* @memberof AboutUsPageItemModel
|
|
100
|
+
*/
|
|
101
|
+
'medias'?: Array<MediaModel> | null;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {AuditableEntity}
|
|
105
|
+
* @memberof AboutUsPageItemModel
|
|
106
|
+
*/
|
|
107
|
+
'auditableEntity'?: AuditableEntity;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @export
|
|
112
|
+
* @interface AboutUsPageModel
|
|
113
|
+
*/
|
|
114
|
+
export interface AboutUsPageModel {
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof AboutUsPageModel
|
|
119
|
+
*/
|
|
120
|
+
'id'?: string;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof AboutUsPageModel
|
|
125
|
+
*/
|
|
126
|
+
'hospitalId'?: string;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof AboutUsPageModel
|
|
131
|
+
*/
|
|
132
|
+
'hospitalName'?: string | null;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof AboutUsPageModel
|
|
137
|
+
*/
|
|
138
|
+
'hospitalSlug'?: string | null;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof AboutUsPageModel
|
|
143
|
+
*/
|
|
144
|
+
'overviewTitle'?: string | null;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof AboutUsPageModel
|
|
149
|
+
*/
|
|
150
|
+
'overview'?: string | null;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof AboutUsPageModel
|
|
155
|
+
*/
|
|
156
|
+
'content'?: string | null;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof AboutUsPageModel
|
|
161
|
+
*/
|
|
162
|
+
'customStyle'?: string | null;
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof AboutUsPageModel
|
|
167
|
+
*/
|
|
168
|
+
'background'?: string | null;
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof AboutUsPageModel
|
|
173
|
+
*/
|
|
174
|
+
'backgroundThumbnail'?: string | null;
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @type {boolean}
|
|
178
|
+
* @memberof AboutUsPageModel
|
|
179
|
+
*/
|
|
180
|
+
'confirmed'?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {Array<MediaModel>}
|
|
184
|
+
* @memberof AboutUsPageModel
|
|
185
|
+
*/
|
|
186
|
+
'medias'?: Array<MediaModel> | null;
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @type {AuditableEntity}
|
|
190
|
+
* @memberof AboutUsPageModel
|
|
191
|
+
*/
|
|
192
|
+
'auditableEntity'?: AuditableEntity;
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @type {string}
|
|
196
|
+
* @memberof AboutUsPageModel
|
|
197
|
+
*/
|
|
198
|
+
'languageCode'?: string | null;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @export
|
|
203
|
+
* @interface AboutUsPagesModel
|
|
204
|
+
*/
|
|
205
|
+
export interface AboutUsPagesModel {
|
|
206
|
+
/**
|
|
207
|
+
*
|
|
208
|
+
* @type {Array<AboutUsPageItemModel>}
|
|
209
|
+
* @memberof AboutUsPagesModel
|
|
210
|
+
*/
|
|
211
|
+
'items'?: Array<AboutUsPageItemModel> | null;
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @type {PagedListMetaData}
|
|
215
|
+
* @memberof AboutUsPagesModel
|
|
216
|
+
*/
|
|
217
|
+
'metaData'?: PagedListMetaData;
|
|
218
|
+
}
|
|
24
219
|
/**
|
|
25
220
|
*
|
|
26
221
|
* @export
|
|
@@ -898,6 +1093,12 @@ export interface BookingItemModel {
|
|
|
898
1093
|
* @memberof BookingItemModel
|
|
899
1094
|
*/
|
|
900
1095
|
'hospitalSlug'?: string | null;
|
|
1096
|
+
/**
|
|
1097
|
+
*
|
|
1098
|
+
* @type {string}
|
|
1099
|
+
* @memberof BookingItemModel
|
|
1100
|
+
*/
|
|
1101
|
+
'hospitalTimeZone'?: string | null;
|
|
901
1102
|
/**
|
|
902
1103
|
*
|
|
903
1104
|
* @type {string}
|
|
@@ -1018,6 +1219,18 @@ export interface BookingItemModel {
|
|
|
1018
1219
|
* @memberof BookingItemModel
|
|
1019
1220
|
*/
|
|
1020
1221
|
'timeZone'?: string | null;
|
|
1222
|
+
/**
|
|
1223
|
+
*
|
|
1224
|
+
* @type {Date}
|
|
1225
|
+
* @memberof BookingItemModel
|
|
1226
|
+
*/
|
|
1227
|
+
'requestDate'?: Date;
|
|
1228
|
+
/**
|
|
1229
|
+
*
|
|
1230
|
+
* @type {string}
|
|
1231
|
+
* @memberof BookingItemModel
|
|
1232
|
+
*/
|
|
1233
|
+
'domain'?: string | null;
|
|
1021
1234
|
/**
|
|
1022
1235
|
*
|
|
1023
1236
|
* @type {BookingStatus}
|
|
@@ -1097,6 +1310,12 @@ export interface BookingModel {
|
|
|
1097
1310
|
* @memberof BookingModel
|
|
1098
1311
|
*/
|
|
1099
1312
|
'hospitalSlug'?: string | null;
|
|
1313
|
+
/**
|
|
1314
|
+
*
|
|
1315
|
+
* @type {string}
|
|
1316
|
+
* @memberof BookingModel
|
|
1317
|
+
*/
|
|
1318
|
+
'hospitalTimeZone'?: string | null;
|
|
1100
1319
|
/**
|
|
1101
1320
|
*
|
|
1102
1321
|
* @type {string}
|
|
@@ -1217,6 +1436,18 @@ export interface BookingModel {
|
|
|
1217
1436
|
* @memberof BookingModel
|
|
1218
1437
|
*/
|
|
1219
1438
|
'timeZone'?: string | null;
|
|
1439
|
+
/**
|
|
1440
|
+
*
|
|
1441
|
+
* @type {Date}
|
|
1442
|
+
* @memberof BookingModel
|
|
1443
|
+
*/
|
|
1444
|
+
'requestDate'?: Date;
|
|
1445
|
+
/**
|
|
1446
|
+
*
|
|
1447
|
+
* @type {string}
|
|
1448
|
+
* @memberof BookingModel
|
|
1449
|
+
*/
|
|
1450
|
+
'domain'?: string | null;
|
|
1220
1451
|
/**
|
|
1221
1452
|
*
|
|
1222
1453
|
* @type {BookingStatus}
|
|
@@ -1974,6 +2205,12 @@ export interface ConsultationItemModel {
|
|
|
1974
2205
|
* @memberof ConsultationItemModel
|
|
1975
2206
|
*/
|
|
1976
2207
|
'hospitalSlug'?: string | null;
|
|
2208
|
+
/**
|
|
2209
|
+
*
|
|
2210
|
+
* @type {string}
|
|
2211
|
+
* @memberof ConsultationItemModel
|
|
2212
|
+
*/
|
|
2213
|
+
'hospitalTimeZone'?: string | null;
|
|
1977
2214
|
/**
|
|
1978
2215
|
*
|
|
1979
2216
|
* @type {string}
|
|
@@ -2142,6 +2379,18 @@ export interface ConsultationItemModel {
|
|
|
2142
2379
|
* @memberof ConsultationItemModel
|
|
2143
2380
|
*/
|
|
2144
2381
|
'timeZone'?: string | null;
|
|
2382
|
+
/**
|
|
2383
|
+
*
|
|
2384
|
+
* @type {Date}
|
|
2385
|
+
* @memberof ConsultationItemModel
|
|
2386
|
+
*/
|
|
2387
|
+
'requestDate'?: Date;
|
|
2388
|
+
/**
|
|
2389
|
+
*
|
|
2390
|
+
* @type {string}
|
|
2391
|
+
* @memberof ConsultationItemModel
|
|
2392
|
+
*/
|
|
2393
|
+
'domain'?: string | null;
|
|
2145
2394
|
/**
|
|
2146
2395
|
*
|
|
2147
2396
|
* @type {ConsultationStatus}
|
|
@@ -2233,6 +2482,12 @@ export interface ConsultationModel {
|
|
|
2233
2482
|
* @memberof ConsultationModel
|
|
2234
2483
|
*/
|
|
2235
2484
|
'hospitalSlug'?: string | null;
|
|
2485
|
+
/**
|
|
2486
|
+
*
|
|
2487
|
+
* @type {string}
|
|
2488
|
+
* @memberof ConsultationModel
|
|
2489
|
+
*/
|
|
2490
|
+
'hospitalTimeZone'?: string | null;
|
|
2236
2491
|
/**
|
|
2237
2492
|
*
|
|
2238
2493
|
* @type {string}
|
|
@@ -2401,6 +2656,18 @@ export interface ConsultationModel {
|
|
|
2401
2656
|
* @memberof ConsultationModel
|
|
2402
2657
|
*/
|
|
2403
2658
|
'timeZone'?: string | null;
|
|
2659
|
+
/**
|
|
2660
|
+
*
|
|
2661
|
+
* @type {Date}
|
|
2662
|
+
* @memberof ConsultationModel
|
|
2663
|
+
*/
|
|
2664
|
+
'requestDate'?: Date;
|
|
2665
|
+
/**
|
|
2666
|
+
*
|
|
2667
|
+
* @type {string}
|
|
2668
|
+
* @memberof ConsultationModel
|
|
2669
|
+
*/
|
|
2670
|
+
'domain'?: string | null;
|
|
2404
2671
|
/**
|
|
2405
2672
|
*
|
|
2406
2673
|
* @type {ConsultationStatus}
|
|
@@ -2933,72 +3200,133 @@ export interface CountryModel {
|
|
|
2933
3200
|
/**
|
|
2934
3201
|
*
|
|
2935
3202
|
* @export
|
|
2936
|
-
* @interface
|
|
3203
|
+
* @interface CreateAboutUsPageCommand
|
|
2937
3204
|
*/
|
|
2938
|
-
export interface
|
|
3205
|
+
export interface CreateAboutUsPageCommand {
|
|
2939
3206
|
/**
|
|
2940
3207
|
*
|
|
2941
3208
|
* @type {string}
|
|
2942
|
-
* @memberof
|
|
3209
|
+
* @memberof CreateAboutUsPageCommand
|
|
2943
3210
|
*/
|
|
2944
|
-
'
|
|
3211
|
+
'hospitalId'?: string;
|
|
2945
3212
|
/**
|
|
2946
3213
|
*
|
|
2947
3214
|
* @type {string}
|
|
2948
|
-
* @memberof
|
|
3215
|
+
* @memberof CreateAboutUsPageCommand
|
|
2949
3216
|
*/
|
|
2950
|
-
'
|
|
3217
|
+
'overviewTitle'?: string | null;
|
|
2951
3218
|
/**
|
|
2952
3219
|
*
|
|
2953
3220
|
* @type {string}
|
|
2954
|
-
* @memberof
|
|
3221
|
+
* @memberof CreateAboutUsPageCommand
|
|
2955
3222
|
*/
|
|
2956
|
-
'
|
|
2957
|
-
}
|
|
2958
|
-
/**
|
|
2959
|
-
*
|
|
2960
|
-
* @export
|
|
2961
|
-
* @interface CreateArticleCommand
|
|
2962
|
-
*/
|
|
2963
|
-
export interface CreateArticleCommand {
|
|
3223
|
+
'overview'?: string | null;
|
|
2964
3224
|
/**
|
|
2965
3225
|
*
|
|
2966
3226
|
* @type {string}
|
|
2967
|
-
* @memberof
|
|
3227
|
+
* @memberof CreateAboutUsPageCommand
|
|
2968
3228
|
*/
|
|
2969
|
-
'
|
|
3229
|
+
'content'?: string | null;
|
|
2970
3230
|
/**
|
|
2971
3231
|
*
|
|
2972
3232
|
* @type {string}
|
|
2973
|
-
* @memberof
|
|
3233
|
+
* @memberof CreateAboutUsPageCommand
|
|
2974
3234
|
*/
|
|
2975
|
-
'
|
|
3235
|
+
'customStyle'?: string | null;
|
|
2976
3236
|
/**
|
|
2977
3237
|
*
|
|
2978
3238
|
* @type {string}
|
|
2979
|
-
* @memberof
|
|
3239
|
+
* @memberof CreateAboutUsPageCommand
|
|
2980
3240
|
*/
|
|
2981
|
-
'
|
|
3241
|
+
'background'?: string | null;
|
|
2982
3242
|
/**
|
|
2983
3243
|
*
|
|
2984
|
-
* @type {
|
|
2985
|
-
* @memberof
|
|
3244
|
+
* @type {string}
|
|
3245
|
+
* @memberof CreateAboutUsPageCommand
|
|
2986
3246
|
*/
|
|
2987
|
-
'
|
|
3247
|
+
'backgroundThumbnail'?: string | null;
|
|
2988
3248
|
/**
|
|
2989
3249
|
*
|
|
2990
|
-
* @type {
|
|
2991
|
-
* @memberof
|
|
3250
|
+
* @type {Array<Media>}
|
|
3251
|
+
* @memberof CreateAboutUsPageCommand
|
|
2992
3252
|
*/
|
|
2993
|
-
'
|
|
3253
|
+
'medias'?: Array<Media> | null;
|
|
2994
3254
|
/**
|
|
2995
3255
|
*
|
|
2996
|
-
* @type {
|
|
2997
|
-
* @memberof
|
|
3256
|
+
* @type {AuditableEntity}
|
|
3257
|
+
* @memberof CreateAboutUsPageCommand
|
|
2998
3258
|
*/
|
|
2999
|
-
'
|
|
3000
|
-
|
|
3001
|
-
|
|
3259
|
+
'auditableEntity'?: AuditableEntity;
|
|
3260
|
+
}
|
|
3261
|
+
/**
|
|
3262
|
+
*
|
|
3263
|
+
* @export
|
|
3264
|
+
* @interface CreateAccreditationCommand
|
|
3265
|
+
*/
|
|
3266
|
+
export interface CreateAccreditationCommand {
|
|
3267
|
+
/**
|
|
3268
|
+
*
|
|
3269
|
+
* @type {string}
|
|
3270
|
+
* @memberof CreateAccreditationCommand
|
|
3271
|
+
*/
|
|
3272
|
+
'name'?: string | null;
|
|
3273
|
+
/**
|
|
3274
|
+
*
|
|
3275
|
+
* @type {string}
|
|
3276
|
+
* @memberof CreateAccreditationCommand
|
|
3277
|
+
*/
|
|
3278
|
+
'logo'?: string | null;
|
|
3279
|
+
/**
|
|
3280
|
+
*
|
|
3281
|
+
* @type {string}
|
|
3282
|
+
* @memberof CreateAccreditationCommand
|
|
3283
|
+
*/
|
|
3284
|
+
'country'?: string | null;
|
|
3285
|
+
}
|
|
3286
|
+
/**
|
|
3287
|
+
*
|
|
3288
|
+
* @export
|
|
3289
|
+
* @interface CreateArticleCommand
|
|
3290
|
+
*/
|
|
3291
|
+
export interface CreateArticleCommand {
|
|
3292
|
+
/**
|
|
3293
|
+
*
|
|
3294
|
+
* @type {string}
|
|
3295
|
+
* @memberof CreateArticleCommand
|
|
3296
|
+
*/
|
|
3297
|
+
'title'?: string | null;
|
|
3298
|
+
/**
|
|
3299
|
+
*
|
|
3300
|
+
* @type {string}
|
|
3301
|
+
* @memberof CreateArticleCommand
|
|
3302
|
+
*/
|
|
3303
|
+
'description'?: string | null;
|
|
3304
|
+
/**
|
|
3305
|
+
*
|
|
3306
|
+
* @type {string}
|
|
3307
|
+
* @memberof CreateArticleCommand
|
|
3308
|
+
*/
|
|
3309
|
+
'body'?: string | null;
|
|
3310
|
+
/**
|
|
3311
|
+
*
|
|
3312
|
+
* @type {ArticleStatus}
|
|
3313
|
+
* @memberof CreateArticleCommand
|
|
3314
|
+
*/
|
|
3315
|
+
'status'?: ArticleStatus;
|
|
3316
|
+
/**
|
|
3317
|
+
*
|
|
3318
|
+
* @type {MarketingType}
|
|
3319
|
+
* @memberof CreateArticleCommand
|
|
3320
|
+
*/
|
|
3321
|
+
'marketingType'?: MarketingType;
|
|
3322
|
+
/**
|
|
3323
|
+
*
|
|
3324
|
+
* @type {string}
|
|
3325
|
+
* @memberof CreateArticleCommand
|
|
3326
|
+
*/
|
|
3327
|
+
'youtubeUrl'?: string | null;
|
|
3328
|
+
/**
|
|
3329
|
+
*
|
|
3002
3330
|
* @type {string}
|
|
3003
3331
|
* @memberof CreateArticleCommand
|
|
3004
3332
|
*/
|
|
@@ -8747,6 +9075,61 @@ export enum MarketingType {
|
|
|
8747
9075
|
Beauty = 'Beauty'
|
|
8748
9076
|
}
|
|
8749
9077
|
|
|
9078
|
+
/**
|
|
9079
|
+
*
|
|
9080
|
+
* @export
|
|
9081
|
+
* @interface Media
|
|
9082
|
+
*/
|
|
9083
|
+
export interface Media {
|
|
9084
|
+
/**
|
|
9085
|
+
*
|
|
9086
|
+
* @type {string}
|
|
9087
|
+
* @memberof Media
|
|
9088
|
+
*/
|
|
9089
|
+
'id'?: string;
|
|
9090
|
+
/**
|
|
9091
|
+
*
|
|
9092
|
+
* @type {MediaType}
|
|
9093
|
+
* @memberof Media
|
|
9094
|
+
*/
|
|
9095
|
+
'mediaType'?: MediaType;
|
|
9096
|
+
/**
|
|
9097
|
+
*
|
|
9098
|
+
* @type {string}
|
|
9099
|
+
* @memberof Media
|
|
9100
|
+
*/
|
|
9101
|
+
'url'?: string | null;
|
|
9102
|
+
/**
|
|
9103
|
+
*
|
|
9104
|
+
* @type {string}
|
|
9105
|
+
* @memberof Media
|
|
9106
|
+
*/
|
|
9107
|
+
'thumbnailUrl'?: string | null;
|
|
9108
|
+
/**
|
|
9109
|
+
*
|
|
9110
|
+
* @type {string}
|
|
9111
|
+
* @memberof Media
|
|
9112
|
+
*/
|
|
9113
|
+
'description'?: string | null;
|
|
9114
|
+
/**
|
|
9115
|
+
*
|
|
9116
|
+
* @type {number}
|
|
9117
|
+
* @memberof Media
|
|
9118
|
+
*/
|
|
9119
|
+
'height'?: number;
|
|
9120
|
+
/**
|
|
9121
|
+
*
|
|
9122
|
+
* @type {number}
|
|
9123
|
+
* @memberof Media
|
|
9124
|
+
*/
|
|
9125
|
+
'width'?: number;
|
|
9126
|
+
/**
|
|
9127
|
+
*
|
|
9128
|
+
* @type {number}
|
|
9129
|
+
* @memberof Media
|
|
9130
|
+
*/
|
|
9131
|
+
'order'?: number;
|
|
9132
|
+
}
|
|
8750
9133
|
/**
|
|
8751
9134
|
*
|
|
8752
9135
|
* @export
|
|
@@ -10114,6 +10497,17 @@ export enum SnsType {
|
|
|
10114
10497
|
Instagram = 'Instagram'
|
|
10115
10498
|
}
|
|
10116
10499
|
|
|
10500
|
+
/**
|
|
10501
|
+
*
|
|
10502
|
+
* @export
|
|
10503
|
+
* @enum {string}
|
|
10504
|
+
*/
|
|
10505
|
+
|
|
10506
|
+
export enum SortingOrder {
|
|
10507
|
+
Ascending = 'Ascending',
|
|
10508
|
+
Descending = 'Descending'
|
|
10509
|
+
}
|
|
10510
|
+
|
|
10117
10511
|
/**
|
|
10118
10512
|
*
|
|
10119
10513
|
* @export
|
|
@@ -10809,6 +11203,91 @@ export interface TranslateCommand {
|
|
|
10809
11203
|
*/
|
|
10810
11204
|
'isHtml'?: boolean;
|
|
10811
11205
|
}
|
|
11206
|
+
/**
|
|
11207
|
+
*
|
|
11208
|
+
* @export
|
|
11209
|
+
* @interface UpdateAboutUsPageCommand
|
|
11210
|
+
*/
|
|
11211
|
+
export interface UpdateAboutUsPageCommand {
|
|
11212
|
+
/**
|
|
11213
|
+
*
|
|
11214
|
+
* @type {string}
|
|
11215
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11216
|
+
*/
|
|
11217
|
+
'hospitalId'?: string;
|
|
11218
|
+
/**
|
|
11219
|
+
*
|
|
11220
|
+
* @type {string}
|
|
11221
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11222
|
+
*/
|
|
11223
|
+
'hospitalName'?: string | null;
|
|
11224
|
+
/**
|
|
11225
|
+
*
|
|
11226
|
+
* @type {string}
|
|
11227
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11228
|
+
*/
|
|
11229
|
+
'hospitalSlug'?: string | null;
|
|
11230
|
+
/**
|
|
11231
|
+
*
|
|
11232
|
+
* @type {string}
|
|
11233
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11234
|
+
*/
|
|
11235
|
+
'overviewTitle'?: string | null;
|
|
11236
|
+
/**
|
|
11237
|
+
*
|
|
11238
|
+
* @type {string}
|
|
11239
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11240
|
+
*/
|
|
11241
|
+
'overview'?: string | null;
|
|
11242
|
+
/**
|
|
11243
|
+
*
|
|
11244
|
+
* @type {string}
|
|
11245
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11246
|
+
*/
|
|
11247
|
+
'content'?: string | null;
|
|
11248
|
+
/**
|
|
11249
|
+
*
|
|
11250
|
+
* @type {string}
|
|
11251
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11252
|
+
*/
|
|
11253
|
+
'customStyle'?: string | null;
|
|
11254
|
+
/**
|
|
11255
|
+
*
|
|
11256
|
+
* @type {string}
|
|
11257
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11258
|
+
*/
|
|
11259
|
+
'background'?: string | null;
|
|
11260
|
+
/**
|
|
11261
|
+
*
|
|
11262
|
+
* @type {string}
|
|
11263
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11264
|
+
*/
|
|
11265
|
+
'backgroundThumbnail'?: string | null;
|
|
11266
|
+
/**
|
|
11267
|
+
*
|
|
11268
|
+
* @type {string}
|
|
11269
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11270
|
+
*/
|
|
11271
|
+
'languageCode'?: string | null;
|
|
11272
|
+
/**
|
|
11273
|
+
*
|
|
11274
|
+
* @type {boolean}
|
|
11275
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11276
|
+
*/
|
|
11277
|
+
'confirmed'?: boolean;
|
|
11278
|
+
/**
|
|
11279
|
+
*
|
|
11280
|
+
* @type {Array<Media>}
|
|
11281
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11282
|
+
*/
|
|
11283
|
+
'medias'?: Array<Media> | null;
|
|
11284
|
+
/**
|
|
11285
|
+
*
|
|
11286
|
+
* @type {AuditableEntity}
|
|
11287
|
+
* @memberof UpdateAboutUsPageCommand
|
|
11288
|
+
*/
|
|
11289
|
+
'auditableEntity'?: AuditableEntity;
|
|
11290
|
+
}
|
|
10812
11291
|
/**
|
|
10813
11292
|
*
|
|
10814
11293
|
* @export
|
|
@@ -12755,157 +13234,779 @@ export interface UserLocationModel {
|
|
|
12755
13234
|
'locationType'?: UserLocationType;
|
|
12756
13235
|
}
|
|
12757
13236
|
/**
|
|
12758
|
-
*
|
|
13237
|
+
*
|
|
13238
|
+
* @export
|
|
13239
|
+
* @enum {string}
|
|
13240
|
+
*/
|
|
13241
|
+
|
|
13242
|
+
export enum UserLocationType {
|
|
13243
|
+
LivesIn = 'LivesIn',
|
|
13244
|
+
BirthPlace = 'BirthPlace'
|
|
13245
|
+
}
|
|
13246
|
+
|
|
13247
|
+
/**
|
|
13248
|
+
*
|
|
13249
|
+
* @export
|
|
13250
|
+
* @interface UserModel
|
|
13251
|
+
*/
|
|
13252
|
+
export interface UserModel {
|
|
13253
|
+
/**
|
|
13254
|
+
*
|
|
13255
|
+
* @type {string}
|
|
13256
|
+
* @memberof UserModel
|
|
13257
|
+
*/
|
|
13258
|
+
'id'?: string;
|
|
13259
|
+
/**
|
|
13260
|
+
*
|
|
13261
|
+
* @type {string}
|
|
13262
|
+
* @memberof UserModel
|
|
13263
|
+
*/
|
|
13264
|
+
'userName'?: string | null;
|
|
13265
|
+
/**
|
|
13266
|
+
*
|
|
13267
|
+
* @type {string}
|
|
13268
|
+
* @memberof UserModel
|
|
13269
|
+
*/
|
|
13270
|
+
'firstName'?: string | null;
|
|
13271
|
+
/**
|
|
13272
|
+
*
|
|
13273
|
+
* @type {string}
|
|
13274
|
+
* @memberof UserModel
|
|
13275
|
+
*/
|
|
13276
|
+
'lastName'?: string | null;
|
|
13277
|
+
/**
|
|
13278
|
+
*
|
|
13279
|
+
* @type {string}
|
|
13280
|
+
* @memberof UserModel
|
|
13281
|
+
*/
|
|
13282
|
+
'fullname'?: string | null;
|
|
13283
|
+
/**
|
|
13284
|
+
*
|
|
13285
|
+
* @type {string}
|
|
13286
|
+
* @memberof UserModel
|
|
13287
|
+
*/
|
|
13288
|
+
'phone'?: string | null;
|
|
13289
|
+
/**
|
|
13290
|
+
*
|
|
13291
|
+
* @type {string}
|
|
13292
|
+
* @memberof UserModel
|
|
13293
|
+
*/
|
|
13294
|
+
'email'?: string | null;
|
|
13295
|
+
/**
|
|
13296
|
+
*
|
|
13297
|
+
* @type {string}
|
|
13298
|
+
* @memberof UserModel
|
|
13299
|
+
*/
|
|
13300
|
+
'photo'?: string | null;
|
|
13301
|
+
/**
|
|
13302
|
+
*
|
|
13303
|
+
* @type {string}
|
|
13304
|
+
* @memberof UserModel
|
|
13305
|
+
*/
|
|
13306
|
+
'photoThumbnail'?: string | null;
|
|
13307
|
+
/**
|
|
13308
|
+
*
|
|
13309
|
+
* @type {Gender}
|
|
13310
|
+
* @memberof UserModel
|
|
13311
|
+
*/
|
|
13312
|
+
'gender'?: Gender;
|
|
13313
|
+
/**
|
|
13314
|
+
*
|
|
13315
|
+
* @type {Date}
|
|
13316
|
+
* @memberof UserModel
|
|
13317
|
+
*/
|
|
13318
|
+
'dateOfBirth'?: Date | null;
|
|
13319
|
+
/**
|
|
13320
|
+
*
|
|
13321
|
+
* @type {string}
|
|
13322
|
+
* @memberof UserModel
|
|
13323
|
+
*/
|
|
13324
|
+
'timeZone'?: string | null;
|
|
13325
|
+
/**
|
|
13326
|
+
*
|
|
13327
|
+
* @type {string}
|
|
13328
|
+
* @memberof UserModel
|
|
13329
|
+
*/
|
|
13330
|
+
'communicationUserId'?: string | null;
|
|
13331
|
+
/**
|
|
13332
|
+
*
|
|
13333
|
+
* @type {AuditableEntity}
|
|
13334
|
+
* @memberof UserModel
|
|
13335
|
+
*/
|
|
13336
|
+
'auditableEntity'?: AuditableEntity;
|
|
13337
|
+
/**
|
|
13338
|
+
*
|
|
13339
|
+
* @type {string}
|
|
13340
|
+
* @memberof UserModel
|
|
13341
|
+
*/
|
|
13342
|
+
'userType'?: string | null;
|
|
13343
|
+
/**
|
|
13344
|
+
*
|
|
13345
|
+
* @type {Array<UserLanguageModel>}
|
|
13346
|
+
* @memberof UserModel
|
|
13347
|
+
*/
|
|
13348
|
+
'languages'?: Array<UserLanguageModel> | null;
|
|
13349
|
+
/**
|
|
13350
|
+
*
|
|
13351
|
+
* @type {Array<UserLocationModel>}
|
|
13352
|
+
* @memberof UserModel
|
|
13353
|
+
*/
|
|
13354
|
+
'locations'?: Array<UserLocationModel> | null;
|
|
13355
|
+
}
|
|
13356
|
+
/**
|
|
13357
|
+
*
|
|
13358
|
+
* @export
|
|
13359
|
+
* @interface WeatherForecast
|
|
13360
|
+
*/
|
|
13361
|
+
export interface WeatherForecast {
|
|
13362
|
+
/**
|
|
13363
|
+
*
|
|
13364
|
+
* @type {Date}
|
|
13365
|
+
* @memberof WeatherForecast
|
|
13366
|
+
*/
|
|
13367
|
+
'date'?: Date;
|
|
13368
|
+
/**
|
|
13369
|
+
*
|
|
13370
|
+
* @type {number}
|
|
13371
|
+
* @memberof WeatherForecast
|
|
13372
|
+
*/
|
|
13373
|
+
'temperatureC'?: number;
|
|
13374
|
+
/**
|
|
13375
|
+
*
|
|
13376
|
+
* @type {number}
|
|
13377
|
+
* @memberof WeatherForecast
|
|
13378
|
+
*/
|
|
13379
|
+
'temperatureF'?: number;
|
|
13380
|
+
/**
|
|
13381
|
+
*
|
|
13382
|
+
* @type {string}
|
|
13383
|
+
* @memberof WeatherForecast
|
|
13384
|
+
*/
|
|
13385
|
+
'summary'?: string | null;
|
|
13386
|
+
}
|
|
13387
|
+
|
|
13388
|
+
/**
|
|
13389
|
+
* AboutUsApi - axios parameter creator
|
|
13390
|
+
* @export
|
|
13391
|
+
*/
|
|
13392
|
+
export const AboutUsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
13393
|
+
return {
|
|
13394
|
+
/**
|
|
13395
|
+
*
|
|
13396
|
+
* @summary Delete AboutUs.
|
|
13397
|
+
* @param {string} aboutUsId
|
|
13398
|
+
* @param {*} [options] Override http request option.
|
|
13399
|
+
* @throws {RequiredError}
|
|
13400
|
+
*/
|
|
13401
|
+
apiV1AboutusAboutUsIdDelete: async (aboutUsId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13402
|
+
// verify required parameter 'aboutUsId' is not null or undefined
|
|
13403
|
+
assertParamExists('apiV1AboutusAboutUsIdDelete', 'aboutUsId', aboutUsId)
|
|
13404
|
+
const localVarPath = `/api/v1/aboutus/{aboutUsId}`
|
|
13405
|
+
.replace(`{${"aboutUsId"}}`, encodeURIComponent(String(aboutUsId)));
|
|
13406
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13407
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13408
|
+
let baseOptions;
|
|
13409
|
+
if (configuration) {
|
|
13410
|
+
baseOptions = configuration.baseOptions;
|
|
13411
|
+
}
|
|
13412
|
+
|
|
13413
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
13414
|
+
const localVarHeaderParameter = {} as any;
|
|
13415
|
+
const localVarQueryParameter = {} as any;
|
|
13416
|
+
|
|
13417
|
+
// authentication oauth2 required
|
|
13418
|
+
// oauth required
|
|
13419
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
13420
|
+
|
|
13421
|
+
|
|
13422
|
+
|
|
13423
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13424
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13425
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13426
|
+
|
|
13427
|
+
return {
|
|
13428
|
+
url: toPathString(localVarUrlObj),
|
|
13429
|
+
options: localVarRequestOptions,
|
|
13430
|
+
};
|
|
13431
|
+
},
|
|
13432
|
+
/**
|
|
13433
|
+
*
|
|
13434
|
+
* @summary Get AboutUs.
|
|
13435
|
+
* @param {string} aboutUsId
|
|
13436
|
+
* @param {string} [languageCode]
|
|
13437
|
+
* @param {boolean} [returnDefaultValue]
|
|
13438
|
+
* @param {*} [options] Override http request option.
|
|
13439
|
+
* @throws {RequiredError}
|
|
13440
|
+
*/
|
|
13441
|
+
apiV1AboutusAboutUsIdGet: async (aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13442
|
+
// verify required parameter 'aboutUsId' is not null or undefined
|
|
13443
|
+
assertParamExists('apiV1AboutusAboutUsIdGet', 'aboutUsId', aboutUsId)
|
|
13444
|
+
const localVarPath = `/api/v1/aboutus/{aboutUsId}`
|
|
13445
|
+
.replace(`{${"aboutUsId"}}`, encodeURIComponent(String(aboutUsId)));
|
|
13446
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13447
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13448
|
+
let baseOptions;
|
|
13449
|
+
if (configuration) {
|
|
13450
|
+
baseOptions = configuration.baseOptions;
|
|
13451
|
+
}
|
|
13452
|
+
|
|
13453
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13454
|
+
const localVarHeaderParameter = {} as any;
|
|
13455
|
+
const localVarQueryParameter = {} as any;
|
|
13456
|
+
|
|
13457
|
+
// authentication oauth2 required
|
|
13458
|
+
// oauth required
|
|
13459
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
13460
|
+
|
|
13461
|
+
if (languageCode !== undefined) {
|
|
13462
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
13463
|
+
}
|
|
13464
|
+
|
|
13465
|
+
if (returnDefaultValue !== undefined) {
|
|
13466
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
13467
|
+
}
|
|
13468
|
+
|
|
13469
|
+
|
|
13470
|
+
|
|
13471
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13472
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13473
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13474
|
+
|
|
13475
|
+
return {
|
|
13476
|
+
url: toPathString(localVarUrlObj),
|
|
13477
|
+
options: localVarRequestOptions,
|
|
13478
|
+
};
|
|
13479
|
+
},
|
|
13480
|
+
/**
|
|
13481
|
+
*
|
|
13482
|
+
* @summary Update AboutUs.
|
|
13483
|
+
* @param {string} aboutUsId
|
|
13484
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
13485
|
+
* @param {*} [options] Override http request option.
|
|
13486
|
+
* @throws {RequiredError}
|
|
13487
|
+
*/
|
|
13488
|
+
apiV1AboutusAboutUsIdPut: async (aboutUsId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13489
|
+
// verify required parameter 'aboutUsId' is not null or undefined
|
|
13490
|
+
assertParamExists('apiV1AboutusAboutUsIdPut', 'aboutUsId', aboutUsId)
|
|
13491
|
+
const localVarPath = `/api/v1/aboutus/{aboutUsId}`
|
|
13492
|
+
.replace(`{${"aboutUsId"}}`, encodeURIComponent(String(aboutUsId)));
|
|
13493
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13494
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13495
|
+
let baseOptions;
|
|
13496
|
+
if (configuration) {
|
|
13497
|
+
baseOptions = configuration.baseOptions;
|
|
13498
|
+
}
|
|
13499
|
+
|
|
13500
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
13501
|
+
const localVarHeaderParameter = {} as any;
|
|
13502
|
+
const localVarQueryParameter = {} as any;
|
|
13503
|
+
|
|
13504
|
+
// authentication oauth2 required
|
|
13505
|
+
// oauth required
|
|
13506
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
13507
|
+
|
|
13508
|
+
|
|
13509
|
+
|
|
13510
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13511
|
+
|
|
13512
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13513
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13514
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13515
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateAboutUsPageCommand, localVarRequestOptions, configuration)
|
|
13516
|
+
|
|
13517
|
+
return {
|
|
13518
|
+
url: toPathString(localVarUrlObj),
|
|
13519
|
+
options: localVarRequestOptions,
|
|
13520
|
+
};
|
|
13521
|
+
},
|
|
13522
|
+
/**
|
|
13523
|
+
*
|
|
13524
|
+
* @summary Get all AboutUsList.
|
|
13525
|
+
* @param {string} [hospitalId]
|
|
13526
|
+
* @param {string} [hospitalName]
|
|
13527
|
+
* @param {string} [hospitalSlug]
|
|
13528
|
+
* @param {string} [overviewTitle]
|
|
13529
|
+
* @param {string} [normalizedOverviewTitle]
|
|
13530
|
+
* @param {string} [overview]
|
|
13531
|
+
* @param {string} [content]
|
|
13532
|
+
* @param {string} [customStyle]
|
|
13533
|
+
* @param {string} [background]
|
|
13534
|
+
* @param {string} [backgroundThumbnail]
|
|
13535
|
+
* @param {string} [languageCode]
|
|
13536
|
+
* @param {boolean} [returnDefaultValue]
|
|
13537
|
+
* @param {boolean} [confirmed]
|
|
13538
|
+
* @param {number} [page]
|
|
13539
|
+
* @param {number} [limit]
|
|
13540
|
+
* @param {Date} [lastRetrieved]
|
|
13541
|
+
* @param {*} [options] Override http request option.
|
|
13542
|
+
* @throws {RequiredError}
|
|
13543
|
+
*/
|
|
13544
|
+
apiV1AboutusGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13545
|
+
const localVarPath = `/api/v1/aboutus`;
|
|
13546
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13547
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13548
|
+
let baseOptions;
|
|
13549
|
+
if (configuration) {
|
|
13550
|
+
baseOptions = configuration.baseOptions;
|
|
13551
|
+
}
|
|
13552
|
+
|
|
13553
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13554
|
+
const localVarHeaderParameter = {} as any;
|
|
13555
|
+
const localVarQueryParameter = {} as any;
|
|
13556
|
+
|
|
13557
|
+
// authentication oauth2 required
|
|
13558
|
+
// oauth required
|
|
13559
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
13560
|
+
|
|
13561
|
+
if (hospitalId !== undefined) {
|
|
13562
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
13563
|
+
}
|
|
13564
|
+
|
|
13565
|
+
if (hospitalName !== undefined) {
|
|
13566
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
13567
|
+
}
|
|
13568
|
+
|
|
13569
|
+
if (hospitalSlug !== undefined) {
|
|
13570
|
+
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
13571
|
+
}
|
|
13572
|
+
|
|
13573
|
+
if (overviewTitle !== undefined) {
|
|
13574
|
+
localVarQueryParameter['OverviewTitle'] = overviewTitle;
|
|
13575
|
+
}
|
|
13576
|
+
|
|
13577
|
+
if (normalizedOverviewTitle !== undefined) {
|
|
13578
|
+
localVarQueryParameter['NormalizedOverviewTitle'] = normalizedOverviewTitle;
|
|
13579
|
+
}
|
|
13580
|
+
|
|
13581
|
+
if (overview !== undefined) {
|
|
13582
|
+
localVarQueryParameter['Overview'] = overview;
|
|
13583
|
+
}
|
|
13584
|
+
|
|
13585
|
+
if (content !== undefined) {
|
|
13586
|
+
localVarQueryParameter['Content'] = content;
|
|
13587
|
+
}
|
|
13588
|
+
|
|
13589
|
+
if (customStyle !== undefined) {
|
|
13590
|
+
localVarQueryParameter['CustomStyle'] = customStyle;
|
|
13591
|
+
}
|
|
13592
|
+
|
|
13593
|
+
if (background !== undefined) {
|
|
13594
|
+
localVarQueryParameter['Background'] = background;
|
|
13595
|
+
}
|
|
13596
|
+
|
|
13597
|
+
if (backgroundThumbnail !== undefined) {
|
|
13598
|
+
localVarQueryParameter['BackgroundThumbnail'] = backgroundThumbnail;
|
|
13599
|
+
}
|
|
13600
|
+
|
|
13601
|
+
if (languageCode !== undefined) {
|
|
13602
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
13603
|
+
}
|
|
13604
|
+
|
|
13605
|
+
if (returnDefaultValue !== undefined) {
|
|
13606
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
13607
|
+
}
|
|
13608
|
+
|
|
13609
|
+
if (confirmed !== undefined) {
|
|
13610
|
+
localVarQueryParameter['Confirmed'] = confirmed;
|
|
13611
|
+
}
|
|
13612
|
+
|
|
13613
|
+
if (page !== undefined) {
|
|
13614
|
+
localVarQueryParameter['page'] = page;
|
|
13615
|
+
}
|
|
13616
|
+
|
|
13617
|
+
if (limit !== undefined) {
|
|
13618
|
+
localVarQueryParameter['limit'] = limit;
|
|
13619
|
+
}
|
|
13620
|
+
|
|
13621
|
+
if (lastRetrieved !== undefined) {
|
|
13622
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
13623
|
+
(lastRetrieved as any).toISOString() :
|
|
13624
|
+
lastRetrieved;
|
|
13625
|
+
}
|
|
13626
|
+
|
|
13627
|
+
|
|
13628
|
+
|
|
13629
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13630
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13631
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13632
|
+
|
|
13633
|
+
return {
|
|
13634
|
+
url: toPathString(localVarUrlObj),
|
|
13635
|
+
options: localVarRequestOptions,
|
|
13636
|
+
};
|
|
13637
|
+
},
|
|
13638
|
+
/**
|
|
13639
|
+
*
|
|
13640
|
+
* @summary Create AboutUs.
|
|
13641
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
13642
|
+
* @param {*} [options] Override http request option.
|
|
13643
|
+
* @throws {RequiredError}
|
|
13644
|
+
*/
|
|
13645
|
+
apiV1AboutusPost: async (createAboutUsPageCommand?: CreateAboutUsPageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13646
|
+
const localVarPath = `/api/v1/aboutus`;
|
|
13647
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13648
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13649
|
+
let baseOptions;
|
|
13650
|
+
if (configuration) {
|
|
13651
|
+
baseOptions = configuration.baseOptions;
|
|
13652
|
+
}
|
|
13653
|
+
|
|
13654
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
13655
|
+
const localVarHeaderParameter = {} as any;
|
|
13656
|
+
const localVarQueryParameter = {} as any;
|
|
13657
|
+
|
|
13658
|
+
// authentication oauth2 required
|
|
13659
|
+
// oauth required
|
|
13660
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
13661
|
+
|
|
13662
|
+
|
|
13663
|
+
|
|
13664
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13665
|
+
|
|
13666
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13667
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13668
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13669
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createAboutUsPageCommand, localVarRequestOptions, configuration)
|
|
13670
|
+
|
|
13671
|
+
return {
|
|
13672
|
+
url: toPathString(localVarUrlObj),
|
|
13673
|
+
options: localVarRequestOptions,
|
|
13674
|
+
};
|
|
13675
|
+
},
|
|
13676
|
+
/**
|
|
13677
|
+
*
|
|
13678
|
+
* @param {string} slug
|
|
13679
|
+
* @param {string} [languageCode]
|
|
13680
|
+
* @param {boolean} [returnDefaultValue]
|
|
13681
|
+
* @param {*} [options] Override http request option.
|
|
13682
|
+
* @throws {RequiredError}
|
|
13683
|
+
*/
|
|
13684
|
+
apiV1AboutusSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13685
|
+
// verify required parameter 'slug' is not null or undefined
|
|
13686
|
+
assertParamExists('apiV1AboutusSlugGet', 'slug', slug)
|
|
13687
|
+
const localVarPath = `/api/v1/aboutus/{slug}`
|
|
13688
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
13689
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13690
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13691
|
+
let baseOptions;
|
|
13692
|
+
if (configuration) {
|
|
13693
|
+
baseOptions = configuration.baseOptions;
|
|
13694
|
+
}
|
|
13695
|
+
|
|
13696
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13697
|
+
const localVarHeaderParameter = {} as any;
|
|
13698
|
+
const localVarQueryParameter = {} as any;
|
|
13699
|
+
|
|
13700
|
+
// authentication oauth2 required
|
|
13701
|
+
// oauth required
|
|
13702
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
13703
|
+
|
|
13704
|
+
if (languageCode !== undefined) {
|
|
13705
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
13706
|
+
}
|
|
13707
|
+
|
|
13708
|
+
if (returnDefaultValue !== undefined) {
|
|
13709
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
13710
|
+
}
|
|
13711
|
+
|
|
13712
|
+
|
|
13713
|
+
|
|
13714
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13715
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13716
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13717
|
+
|
|
13718
|
+
return {
|
|
13719
|
+
url: toPathString(localVarUrlObj),
|
|
13720
|
+
options: localVarRequestOptions,
|
|
13721
|
+
};
|
|
13722
|
+
},
|
|
13723
|
+
}
|
|
13724
|
+
};
|
|
13725
|
+
|
|
13726
|
+
/**
|
|
13727
|
+
* AboutUsApi - functional programming interface
|
|
13728
|
+
* @export
|
|
13729
|
+
*/
|
|
13730
|
+
export const AboutUsApiFp = function(configuration?: Configuration) {
|
|
13731
|
+
const localVarAxiosParamCreator = AboutUsApiAxiosParamCreator(configuration)
|
|
13732
|
+
return {
|
|
13733
|
+
/**
|
|
13734
|
+
*
|
|
13735
|
+
* @summary Delete AboutUs.
|
|
13736
|
+
* @param {string} aboutUsId
|
|
13737
|
+
* @param {*} [options] Override http request option.
|
|
13738
|
+
* @throws {RequiredError}
|
|
13739
|
+
*/
|
|
13740
|
+
async apiV1AboutusAboutUsIdDelete(aboutUsId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
13741
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusAboutUsIdDelete(aboutUsId, options);
|
|
13742
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13743
|
+
},
|
|
13744
|
+
/**
|
|
13745
|
+
*
|
|
13746
|
+
* @summary Get AboutUs.
|
|
13747
|
+
* @param {string} aboutUsId
|
|
13748
|
+
* @param {string} [languageCode]
|
|
13749
|
+
* @param {boolean} [returnDefaultValue]
|
|
13750
|
+
* @param {*} [options] Override http request option.
|
|
13751
|
+
* @throws {RequiredError}
|
|
13752
|
+
*/
|
|
13753
|
+
async apiV1AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
|
|
13754
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options);
|
|
13755
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13756
|
+
},
|
|
13757
|
+
/**
|
|
13758
|
+
*
|
|
13759
|
+
* @summary Update AboutUs.
|
|
13760
|
+
* @param {string} aboutUsId
|
|
13761
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
13762
|
+
* @param {*} [options] Override http request option.
|
|
13763
|
+
* @throws {RequiredError}
|
|
13764
|
+
*/
|
|
13765
|
+
async apiV1AboutusAboutUsIdPut(aboutUsId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
|
|
13766
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusAboutUsIdPut(aboutUsId, updateAboutUsPageCommand, options);
|
|
13767
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13768
|
+
},
|
|
13769
|
+
/**
|
|
13770
|
+
*
|
|
13771
|
+
* @summary Get all AboutUsList.
|
|
13772
|
+
* @param {string} [hospitalId]
|
|
13773
|
+
* @param {string} [hospitalName]
|
|
13774
|
+
* @param {string} [hospitalSlug]
|
|
13775
|
+
* @param {string} [overviewTitle]
|
|
13776
|
+
* @param {string} [normalizedOverviewTitle]
|
|
13777
|
+
* @param {string} [overview]
|
|
13778
|
+
* @param {string} [content]
|
|
13779
|
+
* @param {string} [customStyle]
|
|
13780
|
+
* @param {string} [background]
|
|
13781
|
+
* @param {string} [backgroundThumbnail]
|
|
13782
|
+
* @param {string} [languageCode]
|
|
13783
|
+
* @param {boolean} [returnDefaultValue]
|
|
13784
|
+
* @param {boolean} [confirmed]
|
|
13785
|
+
* @param {number} [page]
|
|
13786
|
+
* @param {number} [limit]
|
|
13787
|
+
* @param {Date} [lastRetrieved]
|
|
13788
|
+
* @param {*} [options] Override http request option.
|
|
13789
|
+
* @throws {RequiredError}
|
|
13790
|
+
*/
|
|
13791
|
+
async apiV1AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPagesModel>> {
|
|
13792
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options);
|
|
13793
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13794
|
+
},
|
|
13795
|
+
/**
|
|
13796
|
+
*
|
|
13797
|
+
* @summary Create AboutUs.
|
|
13798
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
13799
|
+
* @param {*} [options] Override http request option.
|
|
13800
|
+
* @throws {RequiredError}
|
|
13801
|
+
*/
|
|
13802
|
+
async apiV1AboutusPost(createAboutUsPageCommand?: CreateAboutUsPageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
|
|
13803
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusPost(createAboutUsPageCommand, options);
|
|
13804
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13805
|
+
},
|
|
13806
|
+
/**
|
|
13807
|
+
*
|
|
13808
|
+
* @param {string} slug
|
|
13809
|
+
* @param {string} [languageCode]
|
|
13810
|
+
* @param {boolean} [returnDefaultValue]
|
|
13811
|
+
* @param {*} [options] Override http request option.
|
|
13812
|
+
* @throws {RequiredError}
|
|
13813
|
+
*/
|
|
13814
|
+
async apiV1AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
|
|
13815
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
13816
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13817
|
+
},
|
|
13818
|
+
}
|
|
13819
|
+
};
|
|
13820
|
+
|
|
13821
|
+
/**
|
|
13822
|
+
* AboutUsApi - factory interface
|
|
12759
13823
|
* @export
|
|
12760
|
-
* @enum {string}
|
|
12761
13824
|
*/
|
|
12762
|
-
|
|
12763
|
-
|
|
12764
|
-
|
|
12765
|
-
|
|
12766
|
-
|
|
13825
|
+
export const AboutUsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
13826
|
+
const localVarFp = AboutUsApiFp(configuration)
|
|
13827
|
+
return {
|
|
13828
|
+
/**
|
|
13829
|
+
*
|
|
13830
|
+
* @summary Delete AboutUs.
|
|
13831
|
+
* @param {string} aboutUsId
|
|
13832
|
+
* @param {*} [options] Override http request option.
|
|
13833
|
+
* @throws {RequiredError}
|
|
13834
|
+
*/
|
|
13835
|
+
apiV1AboutusAboutUsIdDelete(aboutUsId: string, options?: any): AxiosPromise<boolean> {
|
|
13836
|
+
return localVarFp.apiV1AboutusAboutUsIdDelete(aboutUsId, options).then((request) => request(axios, basePath));
|
|
13837
|
+
},
|
|
13838
|
+
/**
|
|
13839
|
+
*
|
|
13840
|
+
* @summary Get AboutUs.
|
|
13841
|
+
* @param {string} aboutUsId
|
|
13842
|
+
* @param {string} [languageCode]
|
|
13843
|
+
* @param {boolean} [returnDefaultValue]
|
|
13844
|
+
* @param {*} [options] Override http request option.
|
|
13845
|
+
* @throws {RequiredError}
|
|
13846
|
+
*/
|
|
13847
|
+
apiV1AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
|
|
13848
|
+
return localVarFp.apiV1AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
13849
|
+
},
|
|
13850
|
+
/**
|
|
13851
|
+
*
|
|
13852
|
+
* @summary Update AboutUs.
|
|
13853
|
+
* @param {string} aboutUsId
|
|
13854
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
13855
|
+
* @param {*} [options] Override http request option.
|
|
13856
|
+
* @throws {RequiredError}
|
|
13857
|
+
*/
|
|
13858
|
+
apiV1AboutusAboutUsIdPut(aboutUsId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: any): AxiosPromise<AboutUsPageModel> {
|
|
13859
|
+
return localVarFp.apiV1AboutusAboutUsIdPut(aboutUsId, updateAboutUsPageCommand, options).then((request) => request(axios, basePath));
|
|
13860
|
+
},
|
|
13861
|
+
/**
|
|
13862
|
+
*
|
|
13863
|
+
* @summary Get all AboutUsList.
|
|
13864
|
+
* @param {string} [hospitalId]
|
|
13865
|
+
* @param {string} [hospitalName]
|
|
13866
|
+
* @param {string} [hospitalSlug]
|
|
13867
|
+
* @param {string} [overviewTitle]
|
|
13868
|
+
* @param {string} [normalizedOverviewTitle]
|
|
13869
|
+
* @param {string} [overview]
|
|
13870
|
+
* @param {string} [content]
|
|
13871
|
+
* @param {string} [customStyle]
|
|
13872
|
+
* @param {string} [background]
|
|
13873
|
+
* @param {string} [backgroundThumbnail]
|
|
13874
|
+
* @param {string} [languageCode]
|
|
13875
|
+
* @param {boolean} [returnDefaultValue]
|
|
13876
|
+
* @param {boolean} [confirmed]
|
|
13877
|
+
* @param {number} [page]
|
|
13878
|
+
* @param {number} [limit]
|
|
13879
|
+
* @param {Date} [lastRetrieved]
|
|
13880
|
+
* @param {*} [options] Override http request option.
|
|
13881
|
+
* @throws {RequiredError}
|
|
13882
|
+
*/
|
|
13883
|
+
apiV1AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AboutUsPagesModel> {
|
|
13884
|
+
return localVarFp.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
13885
|
+
},
|
|
13886
|
+
/**
|
|
13887
|
+
*
|
|
13888
|
+
* @summary Create AboutUs.
|
|
13889
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
13890
|
+
* @param {*} [options] Override http request option.
|
|
13891
|
+
* @throws {RequiredError}
|
|
13892
|
+
*/
|
|
13893
|
+
apiV1AboutusPost(createAboutUsPageCommand?: CreateAboutUsPageCommand, options?: any): AxiosPromise<AboutUsPageModel> {
|
|
13894
|
+
return localVarFp.apiV1AboutusPost(createAboutUsPageCommand, options).then((request) => request(axios, basePath));
|
|
13895
|
+
},
|
|
13896
|
+
/**
|
|
13897
|
+
*
|
|
13898
|
+
* @param {string} slug
|
|
13899
|
+
* @param {string} [languageCode]
|
|
13900
|
+
* @param {boolean} [returnDefaultValue]
|
|
13901
|
+
* @param {*} [options] Override http request option.
|
|
13902
|
+
* @throws {RequiredError}
|
|
13903
|
+
*/
|
|
13904
|
+
apiV1AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
|
|
13905
|
+
return localVarFp.apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
13906
|
+
},
|
|
13907
|
+
};
|
|
13908
|
+
};
|
|
12767
13909
|
|
|
12768
13910
|
/**
|
|
12769
|
-
*
|
|
13911
|
+
* AboutUsApi - object-oriented interface
|
|
12770
13912
|
* @export
|
|
12771
|
-
* @
|
|
13913
|
+
* @class AboutUsApi
|
|
13914
|
+
* @extends {BaseAPI}
|
|
12772
13915
|
*/
|
|
12773
|
-
export
|
|
12774
|
-
/**
|
|
12775
|
-
*
|
|
12776
|
-
* @type {string}
|
|
12777
|
-
* @memberof UserModel
|
|
12778
|
-
*/
|
|
12779
|
-
'id'?: string;
|
|
12780
|
-
/**
|
|
12781
|
-
*
|
|
12782
|
-
* @type {string}
|
|
12783
|
-
* @memberof UserModel
|
|
12784
|
-
*/
|
|
12785
|
-
'userName'?: string | null;
|
|
12786
|
-
/**
|
|
12787
|
-
*
|
|
12788
|
-
* @type {string}
|
|
12789
|
-
* @memberof UserModel
|
|
12790
|
-
*/
|
|
12791
|
-
'firstName'?: string | null;
|
|
12792
|
-
/**
|
|
12793
|
-
*
|
|
12794
|
-
* @type {string}
|
|
12795
|
-
* @memberof UserModel
|
|
12796
|
-
*/
|
|
12797
|
-
'lastName'?: string | null;
|
|
12798
|
-
/**
|
|
12799
|
-
*
|
|
12800
|
-
* @type {string}
|
|
12801
|
-
* @memberof UserModel
|
|
12802
|
-
*/
|
|
12803
|
-
'fullname'?: string | null;
|
|
12804
|
-
/**
|
|
12805
|
-
*
|
|
12806
|
-
* @type {string}
|
|
12807
|
-
* @memberof UserModel
|
|
12808
|
-
*/
|
|
12809
|
-
'phone'?: string | null;
|
|
12810
|
-
/**
|
|
12811
|
-
*
|
|
12812
|
-
* @type {string}
|
|
12813
|
-
* @memberof UserModel
|
|
12814
|
-
*/
|
|
12815
|
-
'email'?: string | null;
|
|
12816
|
-
/**
|
|
12817
|
-
*
|
|
12818
|
-
* @type {string}
|
|
12819
|
-
* @memberof UserModel
|
|
12820
|
-
*/
|
|
12821
|
-
'photo'?: string | null;
|
|
12822
|
-
/**
|
|
12823
|
-
*
|
|
12824
|
-
* @type {string}
|
|
12825
|
-
* @memberof UserModel
|
|
12826
|
-
*/
|
|
12827
|
-
'photoThumbnail'?: string | null;
|
|
12828
|
-
/**
|
|
12829
|
-
*
|
|
12830
|
-
* @type {Gender}
|
|
12831
|
-
* @memberof UserModel
|
|
12832
|
-
*/
|
|
12833
|
-
'gender'?: Gender;
|
|
12834
|
-
/**
|
|
12835
|
-
*
|
|
12836
|
-
* @type {Date}
|
|
12837
|
-
* @memberof UserModel
|
|
12838
|
-
*/
|
|
12839
|
-
'dateOfBirth'?: Date | null;
|
|
12840
|
-
/**
|
|
12841
|
-
*
|
|
12842
|
-
* @type {string}
|
|
12843
|
-
* @memberof UserModel
|
|
12844
|
-
*/
|
|
12845
|
-
'timeZone'?: string | null;
|
|
12846
|
-
/**
|
|
12847
|
-
*
|
|
12848
|
-
* @type {string}
|
|
12849
|
-
* @memberof UserModel
|
|
12850
|
-
*/
|
|
12851
|
-
'communicationUserId'?: string | null;
|
|
12852
|
-
/**
|
|
12853
|
-
*
|
|
12854
|
-
* @type {AuditableEntity}
|
|
12855
|
-
* @memberof UserModel
|
|
12856
|
-
*/
|
|
12857
|
-
'auditableEntity'?: AuditableEntity;
|
|
12858
|
-
/**
|
|
12859
|
-
*
|
|
12860
|
-
* @type {string}
|
|
12861
|
-
* @memberof UserModel
|
|
12862
|
-
*/
|
|
12863
|
-
'userType'?: string | null;
|
|
13916
|
+
export class AboutUsApi extends BaseAPI {
|
|
12864
13917
|
/**
|
|
12865
13918
|
*
|
|
12866
|
-
* @
|
|
12867
|
-
* @
|
|
13919
|
+
* @summary Delete AboutUs.
|
|
13920
|
+
* @param {string} aboutUsId
|
|
13921
|
+
* @param {*} [options] Override http request option.
|
|
13922
|
+
* @throws {RequiredError}
|
|
13923
|
+
* @memberof AboutUsApi
|
|
12868
13924
|
*/
|
|
12869
|
-
|
|
13925
|
+
public apiV1AboutusAboutUsIdDelete(aboutUsId: string, options?: AxiosRequestConfig) {
|
|
13926
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdDelete(aboutUsId, options).then((request) => request(this.axios, this.basePath));
|
|
13927
|
+
}
|
|
13928
|
+
|
|
12870
13929
|
/**
|
|
12871
13930
|
*
|
|
12872
|
-
* @
|
|
12873
|
-
* @
|
|
13931
|
+
* @summary Get AboutUs.
|
|
13932
|
+
* @param {string} aboutUsId
|
|
13933
|
+
* @param {string} [languageCode]
|
|
13934
|
+
* @param {boolean} [returnDefaultValue]
|
|
13935
|
+
* @param {*} [options] Override http request option.
|
|
13936
|
+
* @throws {RequiredError}
|
|
13937
|
+
* @memberof AboutUsApi
|
|
12874
13938
|
*/
|
|
12875
|
-
|
|
12876
|
-
|
|
12877
|
-
|
|
12878
|
-
|
|
12879
|
-
* @export
|
|
12880
|
-
* @interface WeatherForecast
|
|
12881
|
-
*/
|
|
12882
|
-
export interface WeatherForecast {
|
|
13939
|
+
public apiV1AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
13940
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
13941
|
+
}
|
|
13942
|
+
|
|
12883
13943
|
/**
|
|
12884
13944
|
*
|
|
12885
|
-
* @
|
|
12886
|
-
* @
|
|
13945
|
+
* @summary Update AboutUs.
|
|
13946
|
+
* @param {string} aboutUsId
|
|
13947
|
+
* @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
|
|
13948
|
+
* @param {*} [options] Override http request option.
|
|
13949
|
+
* @throws {RequiredError}
|
|
13950
|
+
* @memberof AboutUsApi
|
|
12887
13951
|
*/
|
|
12888
|
-
|
|
13952
|
+
public apiV1AboutusAboutUsIdPut(aboutUsId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: AxiosRequestConfig) {
|
|
13953
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdPut(aboutUsId, updateAboutUsPageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
13954
|
+
}
|
|
13955
|
+
|
|
12889
13956
|
/**
|
|
12890
13957
|
*
|
|
12891
|
-
* @
|
|
12892
|
-
* @
|
|
13958
|
+
* @summary Get all AboutUsList.
|
|
13959
|
+
* @param {string} [hospitalId]
|
|
13960
|
+
* @param {string} [hospitalName]
|
|
13961
|
+
* @param {string} [hospitalSlug]
|
|
13962
|
+
* @param {string} [overviewTitle]
|
|
13963
|
+
* @param {string} [normalizedOverviewTitle]
|
|
13964
|
+
* @param {string} [overview]
|
|
13965
|
+
* @param {string} [content]
|
|
13966
|
+
* @param {string} [customStyle]
|
|
13967
|
+
* @param {string} [background]
|
|
13968
|
+
* @param {string} [backgroundThumbnail]
|
|
13969
|
+
* @param {string} [languageCode]
|
|
13970
|
+
* @param {boolean} [returnDefaultValue]
|
|
13971
|
+
* @param {boolean} [confirmed]
|
|
13972
|
+
* @param {number} [page]
|
|
13973
|
+
* @param {number} [limit]
|
|
13974
|
+
* @param {Date} [lastRetrieved]
|
|
13975
|
+
* @param {*} [options] Override http request option.
|
|
13976
|
+
* @throws {RequiredError}
|
|
13977
|
+
* @memberof AboutUsApi
|
|
12893
13978
|
*/
|
|
12894
|
-
|
|
13979
|
+
public apiV1AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
13980
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
13981
|
+
}
|
|
13982
|
+
|
|
12895
13983
|
/**
|
|
12896
13984
|
*
|
|
12897
|
-
* @
|
|
12898
|
-
* @
|
|
13985
|
+
* @summary Create AboutUs.
|
|
13986
|
+
* @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
|
|
13987
|
+
* @param {*} [options] Override http request option.
|
|
13988
|
+
* @throws {RequiredError}
|
|
13989
|
+
* @memberof AboutUsApi
|
|
12899
13990
|
*/
|
|
12900
|
-
|
|
13991
|
+
public apiV1AboutusPost(createAboutUsPageCommand?: CreateAboutUsPageCommand, options?: AxiosRequestConfig) {
|
|
13992
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusPost(createAboutUsPageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
13993
|
+
}
|
|
13994
|
+
|
|
12901
13995
|
/**
|
|
12902
13996
|
*
|
|
12903
|
-
* @
|
|
12904
|
-
* @
|
|
13997
|
+
* @param {string} slug
|
|
13998
|
+
* @param {string} [languageCode]
|
|
13999
|
+
* @param {boolean} [returnDefaultValue]
|
|
14000
|
+
* @param {*} [options] Override http request option.
|
|
14001
|
+
* @throws {RequiredError}
|
|
14002
|
+
* @memberof AboutUsApi
|
|
12905
14003
|
*/
|
|
12906
|
-
|
|
14004
|
+
public apiV1AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
14005
|
+
return AboutUsApiFp(this.configuration).apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
14006
|
+
}
|
|
12907
14007
|
}
|
|
12908
14008
|
|
|
14009
|
+
|
|
12909
14010
|
/**
|
|
12910
14011
|
* AccreditationsApi - axios parameter creator
|
|
12911
14012
|
* @export
|
|
@@ -15877,13 +16978,15 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15877
16978
|
* @param {boolean} [isCompleted]
|
|
15878
16979
|
* @param {BookingStatus} [status]
|
|
15879
16980
|
* @param {string} [dealPackageId]
|
|
16981
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
16982
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
15880
16983
|
* @param {number} [page]
|
|
15881
16984
|
* @param {number} [limit]
|
|
15882
16985
|
* @param {Date} [lastRetrieved]
|
|
15883
16986
|
* @param {*} [options] Override http request option.
|
|
15884
16987
|
* @throws {RequiredError}
|
|
15885
16988
|
*/
|
|
15886
|
-
apiV1BookingsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16989
|
+
apiV1BookingsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15887
16990
|
const localVarPath = `/api/v1/bookings`;
|
|
15888
16991
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15889
16992
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15920,6 +17023,14 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15920
17023
|
localVarQueryParameter['DealPackageId'] = dealPackageId;
|
|
15921
17024
|
}
|
|
15922
17025
|
|
|
17026
|
+
if (sortRequestDate !== undefined) {
|
|
17027
|
+
localVarQueryParameter['SortRequestDate'] = sortRequestDate;
|
|
17028
|
+
}
|
|
17029
|
+
|
|
17030
|
+
if (sortConfirmedDateStart !== undefined) {
|
|
17031
|
+
localVarQueryParameter['SortConfirmedDateStart'] = sortConfirmedDateStart;
|
|
17032
|
+
}
|
|
17033
|
+
|
|
15923
17034
|
if (page !== undefined) {
|
|
15924
17035
|
localVarQueryParameter['page'] = page;
|
|
15925
17036
|
}
|
|
@@ -16020,14 +17131,16 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
16020
17131
|
* @param {boolean} [isCompleted]
|
|
16021
17132
|
* @param {BookingStatus} [status]
|
|
16022
17133
|
* @param {string} [dealPackageId]
|
|
17134
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
17135
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
16023
17136
|
* @param {number} [page]
|
|
16024
17137
|
* @param {number} [limit]
|
|
16025
17138
|
* @param {Date} [lastRetrieved]
|
|
16026
17139
|
* @param {*} [options] Override http request option.
|
|
16027
17140
|
* @throws {RequiredError}
|
|
16028
17141
|
*/
|
|
16029
|
-
async apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsModel>> {
|
|
16030
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options);
|
|
17142
|
+
async apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsModel>> {
|
|
17143
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options);
|
|
16031
17144
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16032
17145
|
},
|
|
16033
17146
|
}
|
|
@@ -16100,14 +17213,16 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
16100
17213
|
* @param {boolean} [isCompleted]
|
|
16101
17214
|
* @param {BookingStatus} [status]
|
|
16102
17215
|
* @param {string} [dealPackageId]
|
|
17216
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
17217
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
16103
17218
|
* @param {number} [page]
|
|
16104
17219
|
* @param {number} [limit]
|
|
16105
17220
|
* @param {Date} [lastRetrieved]
|
|
16106
17221
|
* @param {*} [options] Override http request option.
|
|
16107
17222
|
* @throws {RequiredError}
|
|
16108
17223
|
*/
|
|
16109
|
-
apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<BookingsModel> {
|
|
16110
|
-
return localVarFp.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
17224
|
+
apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<BookingsModel> {
|
|
17225
|
+
return localVarFp.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
16111
17226
|
},
|
|
16112
17227
|
};
|
|
16113
17228
|
};
|
|
@@ -16189,6 +17304,8 @@ export class BookingsApi extends BaseAPI {
|
|
|
16189
17304
|
* @param {boolean} [isCompleted]
|
|
16190
17305
|
* @param {BookingStatus} [status]
|
|
16191
17306
|
* @param {string} [dealPackageId]
|
|
17307
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
17308
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
16192
17309
|
* @param {number} [page]
|
|
16193
17310
|
* @param {number} [limit]
|
|
16194
17311
|
* @param {Date} [lastRetrieved]
|
|
@@ -16196,8 +17313,8 @@ export class BookingsApi extends BaseAPI {
|
|
|
16196
17313
|
* @throws {RequiredError}
|
|
16197
17314
|
* @memberof BookingsApi
|
|
16198
17315
|
*/
|
|
16199
|
-
public apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
16200
|
-
return BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
17316
|
+
public apiV1BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
17317
|
+
return BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16201
17318
|
}
|
|
16202
17319
|
}
|
|
16203
17320
|
|
|
@@ -18095,13 +19212,15 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
18095
19212
|
* @param {boolean} [isCompleted]
|
|
18096
19213
|
* @param {ConsultationStatus} [status]
|
|
18097
19214
|
* @param {ConsultationType} [consultationType]
|
|
19215
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
19216
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
18098
19217
|
* @param {number} [page]
|
|
18099
19218
|
* @param {number} [limit]
|
|
18100
19219
|
* @param {Date} [lastRetrieved]
|
|
18101
19220
|
* @param {*} [options] Override http request option.
|
|
18102
19221
|
* @throws {RequiredError}
|
|
18103
19222
|
*/
|
|
18104
|
-
apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19223
|
+
apiV1ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18105
19224
|
const localVarPath = `/api/v1/consultations`;
|
|
18106
19225
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18107
19226
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18138,6 +19257,14 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
18138
19257
|
localVarQueryParameter['ConsultationType'] = consultationType;
|
|
18139
19258
|
}
|
|
18140
19259
|
|
|
19260
|
+
if (sortRequestDate !== undefined) {
|
|
19261
|
+
localVarQueryParameter['SortRequestDate'] = sortRequestDate;
|
|
19262
|
+
}
|
|
19263
|
+
|
|
19264
|
+
if (sortConfirmedDateStart !== undefined) {
|
|
19265
|
+
localVarQueryParameter['SortConfirmedDateStart'] = sortConfirmedDateStart;
|
|
19266
|
+
}
|
|
19267
|
+
|
|
18141
19268
|
if (page !== undefined) {
|
|
18142
19269
|
localVarQueryParameter['page'] = page;
|
|
18143
19270
|
}
|
|
@@ -18238,14 +19365,16 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
|
18238
19365
|
* @param {boolean} [isCompleted]
|
|
18239
19366
|
* @param {ConsultationStatus} [status]
|
|
18240
19367
|
* @param {ConsultationType} [consultationType]
|
|
19368
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
19369
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
18241
19370
|
* @param {number} [page]
|
|
18242
19371
|
* @param {number} [limit]
|
|
18243
19372
|
* @param {Date} [lastRetrieved]
|
|
18244
19373
|
* @param {*} [options] Override http request option.
|
|
18245
19374
|
* @throws {RequiredError}
|
|
18246
19375
|
*/
|
|
18247
|
-
async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
|
|
18248
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options);
|
|
19376
|
+
async apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
|
|
19377
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options);
|
|
18249
19378
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18250
19379
|
},
|
|
18251
19380
|
}
|
|
@@ -18318,14 +19447,16 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
|
|
|
18318
19447
|
* @param {boolean} [isCompleted]
|
|
18319
19448
|
* @param {ConsultationStatus} [status]
|
|
18320
19449
|
* @param {ConsultationType} [consultationType]
|
|
19450
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
19451
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
18321
19452
|
* @param {number} [page]
|
|
18322
19453
|
* @param {number} [limit]
|
|
18323
19454
|
* @param {Date} [lastRetrieved]
|
|
18324
19455
|
* @param {*} [options] Override http request option.
|
|
18325
19456
|
* @throws {RequiredError}
|
|
18326
19457
|
*/
|
|
18327
|
-
apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
|
|
18328
|
-
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
19458
|
+
apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
|
|
19459
|
+
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
18329
19460
|
},
|
|
18330
19461
|
};
|
|
18331
19462
|
};
|
|
@@ -18407,6 +19538,8 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
18407
19538
|
* @param {boolean} [isCompleted]
|
|
18408
19539
|
* @param {ConsultationStatus} [status]
|
|
18409
19540
|
* @param {ConsultationType} [consultationType]
|
|
19541
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
19542
|
+
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
18410
19543
|
* @param {number} [page]
|
|
18411
19544
|
* @param {number} [limit]
|
|
18412
19545
|
* @param {Date} [lastRetrieved]
|
|
@@ -18414,8 +19547,8 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
18414
19547
|
* @throws {RequiredError}
|
|
18415
19548
|
* @memberof ConsultationsApi
|
|
18416
19549
|
*/
|
|
18417
|
-
public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
18418
|
-
return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
19550
|
+
public apiV1ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
19551
|
+
return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
18419
19552
|
}
|
|
18420
19553
|
}
|
|
18421
19554
|
|