ch-admin-api-client-typescript 4.9.7 → 4.9.9
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/about-us-api.d.ts +186 -28
- package/lib/api/about-us-api.d.ts.map +1 -1
- package/lib/api/about-us-api.js +20 -34
- package/lib/api/accreditations-api.d.ts +111 -16
- package/lib/api/accreditations-api.d.ts.map +1 -1
- package/lib/api/accreditations-api.js +17 -21
- package/lib/api/app-version-api.d.ts +117 -17
- package/lib/api/app-version-api.d.ts.map +1 -1
- package/lib/api/app-version-api.js +17 -22
- package/lib/api/appointments-api.d.ts +279 -43
- package/lib/api/appointments-api.d.ts.map +1 -1
- package/lib/api/appointments-api.js +22 -50
- package/lib/api/articles-api.d.ts +759 -114
- package/lib/api/articles-api.d.ts.map +1 -1
- package/lib/api/articles-api.js +77 -139
- package/lib/api/bookings-api.d.ts +231 -35
- package/lib/api/bookings-api.d.ts.map +1 -1
- package/lib/api/bookings-api.js +22 -42
- package/lib/api/chadmins-api.d.ts +141 -21
- package/lib/api/chadmins-api.d.ts.map +1 -1
- package/lib/api/chadmins-api.js +17 -26
- package/lib/api/chat-users-api.d.ts +138 -20
- package/lib/api/chat-users-api.d.ts.map +1 -1
- package/lib/api/chat-users-api.js +20 -26
- package/lib/api/chmanagers-api.d.ts +141 -21
- package/lib/api/chmanagers-api.d.ts.map +1 -1
- package/lib/api/chmanagers-api.js +17 -26
- package/lib/api/consultations-api.d.ts +243 -37
- package/lib/api/consultations-api.d.ts.map +1 -1
- package/lib/api/consultations-api.js +22 -44
- package/lib/api/contributors-api.d.ts +339 -51
- package/lib/api/contributors-api.d.ts.map +1 -1
- package/lib/api/contributors-api.js +35 -62
- package/lib/api/countries-api.d.ts +326 -50
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +38 -60
- package/lib/api/dash-board-api.d.ts +15 -2
- package/lib/api/dash-board-api.d.ts.map +1 -1
- package/lib/api/dash-board-api.js +3 -3
- package/lib/api/deals-api.d.ts +1005 -155
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +78 -180
- package/lib/api/doctor-affiliations-api.d.ts +488 -86
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +50 -87
- package/lib/api/doctors-api.d.ts +1165 -194
- package/lib/api/doctors-api.d.ts.map +1 -1
- package/lib/api/doctors-api.js +118 -213
- package/lib/api/email-marketings-api.d.ts +114 -16
- package/lib/api/email-marketings-api.d.ts.map +1 -1
- package/lib/api/email-marketings-api.js +20 -22
- package/lib/api/faq-categories-api.d.ts +186 -28
- package/lib/api/faq-categories-api.d.ts.map +1 -1
- package/lib/api/faq-categories-api.js +20 -34
- package/lib/api/faqs-api.d.ts +429 -64
- package/lib/api/faqs-api.d.ts.map +1 -1
- package/lib/api/faqs-api.js +47 -79
- package/lib/api/group-channels-api.d.ts +54 -8
- package/lib/api/group-channels-api.d.ts.map +1 -1
- package/lib/api/group-channels-api.js +7 -10
- package/lib/api/header-navigations-api.d.ts +99 -14
- package/lib/api/header-navigations-api.d.ts.map +1 -1
- package/lib/api/header-navigations-api.js +15 -19
- package/lib/api/hospitals-api.d.ts +3099 -477
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +270 -560
- package/lib/api/hospitals-consultation-timetable-overrides-api.d.ts +120 -18
- package/lib/api/hospitals-consultation-timetable-overrides-api.d.ts.map +1 -1
- package/lib/api/hospitals-consultation-timetable-overrides-api.js +12 -22
- package/lib/api/hospitals-consultation-timetables-api.d.ts +150 -22
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -1
- package/lib/api/hospitals-consultation-timetables-api.js +18 -28
- package/lib/api/languages-api.d.ts +117 -17
- package/lib/api/languages-api.d.ts.map +1 -1
- package/lib/api/languages-api.js +17 -22
- package/lib/api/managers-api.d.ts +261 -39
- package/lib/api/managers-api.d.ts.map +1 -1
- package/lib/api/managers-api.js +29 -48
- package/lib/api/memberships-api.d.ts +111 -17
- package/lib/api/memberships-api.d.ts.map +1 -1
- package/lib/api/memberships-api.js +10 -20
- package/lib/api/notifications-api.d.ts +54 -8
- package/lib/api/notifications-api.d.ts.map +1 -1
- package/lib/api/notifications-api.js +8 -10
- package/lib/api/patients-api.d.ts +216 -32
- package/lib/api/patients-api.d.ts.map +1 -1
- package/lib/api/patients-api.js +26 -40
- package/lib/api/plans-api.d.ts +228 -33
- package/lib/api/plans-api.d.ts.map +1 -1
- package/lib/api/plans-api.js +32 -43
- package/lib/api/profiles-api.d.ts +75 -10
- package/lib/api/profiles-api.d.ts.map +1 -1
- package/lib/api/profiles-api.js +19 -15
- package/lib/api/search-api.d.ts +15 -2
- package/lib/api/search-api.d.ts.map +1 -1
- package/lib/api/search-api.js +4 -3
- package/lib/api/service-reviews-api.d.ts +318 -48
- package/lib/api/service-reviews-api.d.ts.map +1 -1
- package/lib/api/service-reviews-api.js +32 -58
- package/lib/api/services-api.d.ts +177 -28
- package/lib/api/services-api.d.ts.map +1 -1
- package/lib/api/services-api.js +10 -31
- package/lib/api/services-categories-api.d.ts +105 -15
- package/lib/api/services-categories-api.d.ts.map +1 -1
- package/lib/api/services-categories-api.js +17 -20
- package/lib/api/specialties-api.d.ts +447 -68
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +42 -81
- package/lib/api/specialty-types-api.d.ts +447 -68
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +42 -81
- package/lib/api/survey-forms-api.d.ts +141 -21
- package/lib/api/survey-forms-api.d.ts.map +1 -1
- package/lib/api/survey-forms-api.js +17 -26
- package/lib/api/survey-results-api.d.ts +81 -12
- package/lib/api/survey-results-api.d.ts.map +1 -1
- package/lib/api/survey-results-api.js +10 -15
- package/lib/api/tags-api.d.ts +84 -12
- package/lib/api/tags-api.d.ts.map +1 -1
- package/lib/api/tags-api.js +14 -16
- package/lib/api/translation-api.d.ts +15 -2
- package/lib/api/translation-api.d.ts.map +1 -1
- package/lib/api/translation-api.js +4 -3
- package/openapitools.json +1 -0
- package/package.json +1 -1
- package/src/api/about-us-api.ts +214 -34
- package/src/api/accreditations-api.ts +127 -21
- package/src/api/app-version-api.ts +134 -22
- package/src/api/appointments-api.ts +322 -50
- package/src/api/articles-api.ts +873 -139
- package/src/api/bookings-api.ts +266 -42
- package/src/api/chadmins-api.ts +162 -26
- package/src/api/chat-users-api.ts +158 -26
- package/src/api/chmanagers-api.ts +162 -26
- package/src/api/consultations-api.ts +280 -44
- package/src/api/contributors-api.ts +390 -62
- package/src/api/countries-api.ts +374 -62
- package/src/api/dash-board-api.ts +17 -3
- package/src/api/deals-api.ts +1160 -180
- package/src/api/doctor-affiliations-api.ts +559 -103
- package/src/api/doctors-api.ts +1337 -231
- package/src/api/email-marketings-api.ts +130 -22
- package/src/api/faq-categories-api.ts +214 -34
- package/src/api/faqs-api.ts +493 -79
- package/src/api/group-channels-api.ts +62 -10
- package/src/api/header-navigations-api.ts +113 -19
- package/src/api/hospitals-api.ts +3566 -562
- package/src/api/hospitals-consultation-timetable-overrides-api.ts +138 -22
- package/src/api/hospitals-consultation-timetables-api.ts +172 -28
- package/src/api/languages-api.ts +134 -22
- package/src/api/managers-api.ts +300 -48
- package/src/api/memberships-api.ts +128 -20
- package/src/api/notifications-api.ts +62 -10
- package/src/api/patients-api.ts +248 -40
- package/src/api/plans-api.ts +261 -43
- package/src/api/profiles-api.ts +85 -15
- package/src/api/search-api.ts +17 -3
- package/src/api/service-reviews-api.ts +366 -58
- package/src/api/services-api.ts +205 -31
- package/src/api/services-categories-api.ts +120 -20
- package/src/api/specialties-api.ts +515 -81
- package/src/api/specialty-types-api.ts +515 -81
- package/src/api/survey-forms-api.ts +162 -26
- package/src/api/survey-results-api.ts +93 -15
- package/src/api/tags-api.ts +96 -16
- package/src/api/translation-api.ts +17 -3
|
@@ -275,6 +275,206 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
275
275
|
*/
|
|
276
276
|
apiV1PatientsPost(createPatientCommand?: CreatePatientCommand, options?: any): AxiosPromise<PatientModel>;
|
|
277
277
|
};
|
|
278
|
+
/**
|
|
279
|
+
* Request parameters for apiV1PatientsGet operation in PatientsApi.
|
|
280
|
+
* @export
|
|
281
|
+
* @interface PatientsApiApiV1PatientsGetRequest
|
|
282
|
+
*/
|
|
283
|
+
export interface PatientsApiApiV1PatientsGetRequest {
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @type {string}
|
|
287
|
+
* @memberof PatientsApiApiV1PatientsGet
|
|
288
|
+
*/
|
|
289
|
+
readonly hospitalId?: string;
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @type {string}
|
|
293
|
+
* @memberof PatientsApiApiV1PatientsGet
|
|
294
|
+
*/
|
|
295
|
+
readonly id?: string;
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @type {string}
|
|
299
|
+
* @memberof PatientsApiApiV1PatientsGet
|
|
300
|
+
*/
|
|
301
|
+
readonly fullname?: string;
|
|
302
|
+
/**
|
|
303
|
+
*
|
|
304
|
+
* @type {string}
|
|
305
|
+
* @memberof PatientsApiApiV1PatientsGet
|
|
306
|
+
*/
|
|
307
|
+
readonly email?: string;
|
|
308
|
+
/**
|
|
309
|
+
*
|
|
310
|
+
* @type {Gender}
|
|
311
|
+
* @memberof PatientsApiApiV1PatientsGet
|
|
312
|
+
*/
|
|
313
|
+
readonly gender?: Gender;
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @type {Date}
|
|
317
|
+
* @memberof PatientsApiApiV1PatientsGet
|
|
318
|
+
*/
|
|
319
|
+
readonly dateOfBirth?: Date;
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @type {Date}
|
|
323
|
+
* @memberof PatientsApiApiV1PatientsGet
|
|
324
|
+
*/
|
|
325
|
+
readonly created?: Date;
|
|
326
|
+
/**
|
|
327
|
+
*
|
|
328
|
+
* @type {boolean}
|
|
329
|
+
* @memberof PatientsApiApiV1PatientsGet
|
|
330
|
+
*/
|
|
331
|
+
readonly showHidden?: boolean;
|
|
332
|
+
/**
|
|
333
|
+
*
|
|
334
|
+
* @type {number}
|
|
335
|
+
* @memberof PatientsApiApiV1PatientsGet
|
|
336
|
+
*/
|
|
337
|
+
readonly page?: number;
|
|
338
|
+
/**
|
|
339
|
+
*
|
|
340
|
+
* @type {number}
|
|
341
|
+
* @memberof PatientsApiApiV1PatientsGet
|
|
342
|
+
*/
|
|
343
|
+
readonly limit?: number;
|
|
344
|
+
/**
|
|
345
|
+
*
|
|
346
|
+
* @type {Date}
|
|
347
|
+
* @memberof PatientsApiApiV1PatientsGet
|
|
348
|
+
*/
|
|
349
|
+
readonly lastRetrieved?: Date;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdDelete operation in PatientsApi.
|
|
353
|
+
* @export
|
|
354
|
+
* @interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest
|
|
355
|
+
*/
|
|
356
|
+
export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest {
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @type {string}
|
|
360
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDelete
|
|
361
|
+
*/
|
|
362
|
+
readonly patientId: string;
|
|
363
|
+
/**
|
|
364
|
+
*
|
|
365
|
+
* @type {string}
|
|
366
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDelete
|
|
367
|
+
*/
|
|
368
|
+
readonly hospitalId: string;
|
|
369
|
+
/**
|
|
370
|
+
*
|
|
371
|
+
* @type {boolean}
|
|
372
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDelete
|
|
373
|
+
*/
|
|
374
|
+
readonly isPermanent?: boolean;
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdPost operation in PatientsApi.
|
|
378
|
+
* @export
|
|
379
|
+
* @interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest
|
|
380
|
+
*/
|
|
381
|
+
export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest {
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @type {string}
|
|
385
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPost
|
|
386
|
+
*/
|
|
387
|
+
readonly patientId: string;
|
|
388
|
+
/**
|
|
389
|
+
*
|
|
390
|
+
* @type {string}
|
|
391
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPost
|
|
392
|
+
*/
|
|
393
|
+
readonly hospitalId: string;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdReactivePut operation in PatientsApi.
|
|
397
|
+
* @export
|
|
398
|
+
* @interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivePutRequest
|
|
399
|
+
*/
|
|
400
|
+
export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivePutRequest {
|
|
401
|
+
/**
|
|
402
|
+
*
|
|
403
|
+
* @type {string}
|
|
404
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivePut
|
|
405
|
+
*/
|
|
406
|
+
readonly patientId: string;
|
|
407
|
+
/**
|
|
408
|
+
*
|
|
409
|
+
* @type {string}
|
|
410
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivePut
|
|
411
|
+
*/
|
|
412
|
+
readonly hospitalId: string;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* Request parameters for apiV1PatientsPatientIdDelete operation in PatientsApi.
|
|
416
|
+
* @export
|
|
417
|
+
* @interface PatientsApiApiV1PatientsPatientIdDeleteRequest
|
|
418
|
+
*/
|
|
419
|
+
export interface PatientsApiApiV1PatientsPatientIdDeleteRequest {
|
|
420
|
+
/**
|
|
421
|
+
*
|
|
422
|
+
* @type {string}
|
|
423
|
+
* @memberof PatientsApiApiV1PatientsPatientIdDelete
|
|
424
|
+
*/
|
|
425
|
+
readonly patientId: string;
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* @type {boolean}
|
|
429
|
+
* @memberof PatientsApiApiV1PatientsPatientIdDelete
|
|
430
|
+
*/
|
|
431
|
+
readonly isPermanent?: boolean;
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* Request parameters for apiV1PatientsPatientIdGet operation in PatientsApi.
|
|
435
|
+
* @export
|
|
436
|
+
* @interface PatientsApiApiV1PatientsPatientIdGetRequest
|
|
437
|
+
*/
|
|
438
|
+
export interface PatientsApiApiV1PatientsPatientIdGetRequest {
|
|
439
|
+
/**
|
|
440
|
+
*
|
|
441
|
+
* @type {string}
|
|
442
|
+
* @memberof PatientsApiApiV1PatientsPatientIdGet
|
|
443
|
+
*/
|
|
444
|
+
readonly patientId: string;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* Request parameters for apiV1PatientsPatientIdPut operation in PatientsApi.
|
|
448
|
+
* @export
|
|
449
|
+
* @interface PatientsApiApiV1PatientsPatientIdPutRequest
|
|
450
|
+
*/
|
|
451
|
+
export interface PatientsApiApiV1PatientsPatientIdPutRequest {
|
|
452
|
+
/**
|
|
453
|
+
*
|
|
454
|
+
* @type {string}
|
|
455
|
+
* @memberof PatientsApiApiV1PatientsPatientIdPut
|
|
456
|
+
*/
|
|
457
|
+
readonly patientId: string;
|
|
458
|
+
/**
|
|
459
|
+
*
|
|
460
|
+
* @type {UpdatePatientCommand}
|
|
461
|
+
* @memberof PatientsApiApiV1PatientsPatientIdPut
|
|
462
|
+
*/
|
|
463
|
+
readonly updatePatientCommand?: UpdatePatientCommand;
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Request parameters for apiV1PatientsPost operation in PatientsApi.
|
|
467
|
+
* @export
|
|
468
|
+
* @interface PatientsApiApiV1PatientsPostRequest
|
|
469
|
+
*/
|
|
470
|
+
export interface PatientsApiApiV1PatientsPostRequest {
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* @type {CreatePatientCommand}
|
|
474
|
+
* @memberof PatientsApiApiV1PatientsPost
|
|
475
|
+
*/
|
|
476
|
+
readonly createPatientCommand?: CreatePatientCommand;
|
|
477
|
+
}
|
|
278
478
|
/**
|
|
279
479
|
* PatientsApi - object-oriented interface
|
|
280
480
|
* @export
|
|
@@ -285,90 +485,74 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
285
485
|
/**
|
|
286
486
|
*
|
|
287
487
|
* @summary Get all Patients.
|
|
288
|
-
* @param {
|
|
289
|
-
* @param {string} [id]
|
|
290
|
-
* @param {string} [fullname]
|
|
291
|
-
* @param {string} [email]
|
|
292
|
-
* @param {Gender} [gender]
|
|
293
|
-
* @param {Date} [dateOfBirth]
|
|
294
|
-
* @param {Date} [created]
|
|
295
|
-
* @param {boolean} [showHidden]
|
|
296
|
-
* @param {number} [page]
|
|
297
|
-
* @param {number} [limit]
|
|
298
|
-
* @param {Date} [lastRetrieved]
|
|
488
|
+
* @param {PatientsApiApiV1PatientsGetRequest} requestParameters Request parameters.
|
|
299
489
|
* @param {*} [options] Override http request option.
|
|
300
490
|
* @throws {RequiredError}
|
|
301
491
|
* @memberof PatientsApi
|
|
302
492
|
*/
|
|
303
|
-
apiV1PatientsGet(
|
|
493
|
+
apiV1PatientsGet(requestParameters?: PatientsApiApiV1PatientsGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientsModel, any>>;
|
|
304
494
|
/**
|
|
305
495
|
*
|
|
306
496
|
* @summary Delete patient affiliation
|
|
307
|
-
* @param {
|
|
308
|
-
* @param {string} hospitalId
|
|
309
|
-
* @param {boolean} [isPermanent]
|
|
497
|
+
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest} requestParameters Request parameters.
|
|
310
498
|
* @param {*} [options] Override http request option.
|
|
311
499
|
* @throws {RequiredError}
|
|
312
500
|
* @memberof PatientsApi
|
|
313
501
|
*/
|
|
314
|
-
apiV1PatientsPatientIdAffiliationsHospitalIdDelete(
|
|
502
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdDelete(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
315
503
|
/**
|
|
316
504
|
*
|
|
317
505
|
* @summary Create patient affiliation
|
|
318
|
-
* @param {
|
|
319
|
-
* @param {string} hospitalId
|
|
506
|
+
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest} requestParameters Request parameters.
|
|
320
507
|
* @param {*} [options] Override http request option.
|
|
321
508
|
* @throws {RequiredError}
|
|
322
509
|
* @memberof PatientsApi
|
|
323
510
|
*/
|
|
324
|
-
apiV1PatientsPatientIdAffiliationsHospitalIdPost(
|
|
511
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdPost(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
325
512
|
/**
|
|
326
513
|
*
|
|
327
514
|
* @summary Reactivate patient affiliation
|
|
328
|
-
* @param {
|
|
329
|
-
* @param {string} hospitalId
|
|
515
|
+
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivePutRequest} requestParameters Request parameters.
|
|
330
516
|
* @param {*} [options] Override http request option.
|
|
331
517
|
* @throws {RequiredError}
|
|
332
518
|
* @memberof PatientsApi
|
|
333
519
|
*/
|
|
334
|
-
apiV1PatientsPatientIdAffiliationsHospitalIdReactivePut(
|
|
520
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdReactivePut(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivePutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
335
521
|
/**
|
|
336
522
|
*
|
|
337
523
|
* @summary Delete Patient.
|
|
338
|
-
* @param {
|
|
339
|
-
* @param {boolean} [isPermanent]
|
|
524
|
+
* @param {PatientsApiApiV1PatientsPatientIdDeleteRequest} requestParameters Request parameters.
|
|
340
525
|
* @param {*} [options] Override http request option.
|
|
341
526
|
* @throws {RequiredError}
|
|
342
527
|
* @memberof PatientsApi
|
|
343
528
|
*/
|
|
344
|
-
apiV1PatientsPatientIdDelete(
|
|
529
|
+
apiV1PatientsPatientIdDelete(requestParameters: PatientsApiApiV1PatientsPatientIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
345
530
|
/**
|
|
346
531
|
*
|
|
347
532
|
* @summary Get Patient.
|
|
348
|
-
* @param {
|
|
533
|
+
* @param {PatientsApiApiV1PatientsPatientIdGetRequest} requestParameters Request parameters.
|
|
349
534
|
* @param {*} [options] Override http request option.
|
|
350
535
|
* @throws {RequiredError}
|
|
351
536
|
* @memberof PatientsApi
|
|
352
537
|
*/
|
|
353
|
-
apiV1PatientsPatientIdGet(
|
|
538
|
+
apiV1PatientsPatientIdGet(requestParameters: PatientsApiApiV1PatientsPatientIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientModel, any>>;
|
|
354
539
|
/**
|
|
355
540
|
*
|
|
356
541
|
* @summary Update Patient.
|
|
357
|
-
* @param {
|
|
358
|
-
* @param {UpdatePatientCommand} [updatePatientCommand]
|
|
542
|
+
* @param {PatientsApiApiV1PatientsPatientIdPutRequest} requestParameters Request parameters.
|
|
359
543
|
* @param {*} [options] Override http request option.
|
|
360
544
|
* @throws {RequiredError}
|
|
361
545
|
* @memberof PatientsApi
|
|
362
546
|
*/
|
|
363
|
-
apiV1PatientsPatientIdPut(
|
|
547
|
+
apiV1PatientsPatientIdPut(requestParameters: PatientsApiApiV1PatientsPatientIdPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientModel, any>>;
|
|
364
548
|
/**
|
|
365
549
|
*
|
|
366
550
|
* @summary Create a Patient.
|
|
367
|
-
* @param {
|
|
551
|
+
* @param {PatientsApiApiV1PatientsPostRequest} requestParameters Request parameters.
|
|
368
552
|
* @param {*} [options] Override http request option.
|
|
369
553
|
* @throws {RequiredError}
|
|
370
554
|
* @memberof PatientsApi
|
|
371
555
|
*/
|
|
372
|
-
apiV1PatientsPost(
|
|
556
|
+
apiV1PatientsPost(requestParameters?: PatientsApiApiV1PatientsPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientModel, any>>;
|
|
373
557
|
}
|
|
374
558
|
//# sourceMappingURL=patients-api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patients-api.d.ts","sourceRoot":"","sources":["../../src/api/patients-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAI1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD;;;GAGG;AACH,eAAO,MAAM,4BAA4B,mBAA6B,aAAa;IAE3E;;;;;;;;;;;;;;;;OAgBG;oCACmC,MAAM,OAAO,MAAM,aAAa,MAAM,UAAU,MAAM,WA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;;;;OAOG;IACI,yBAAyB,CAAC,iBAAiB,EAAE,2CAA2C,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI7H;;;;;;;OAOG;IACI,iBAAiB,CAAC,iBAAiB,GAAE,mCAAwC,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGrH"}
|
package/lib/api/patients-api.js
CHANGED
|
@@ -813,114 +813,100 @@ var PatientsApi = /** @class */ (function (_super) {
|
|
|
813
813
|
/**
|
|
814
814
|
*
|
|
815
815
|
* @summary Get all Patients.
|
|
816
|
-
* @param {
|
|
817
|
-
* @param {string} [id]
|
|
818
|
-
* @param {string} [fullname]
|
|
819
|
-
* @param {string} [email]
|
|
820
|
-
* @param {Gender} [gender]
|
|
821
|
-
* @param {Date} [dateOfBirth]
|
|
822
|
-
* @param {Date} [created]
|
|
823
|
-
* @param {boolean} [showHidden]
|
|
824
|
-
* @param {number} [page]
|
|
825
|
-
* @param {number} [limit]
|
|
826
|
-
* @param {Date} [lastRetrieved]
|
|
816
|
+
* @param {PatientsApiApiV1PatientsGetRequest} requestParameters Request parameters.
|
|
827
817
|
* @param {*} [options] Override http request option.
|
|
828
818
|
* @throws {RequiredError}
|
|
829
819
|
* @memberof PatientsApi
|
|
830
820
|
*/
|
|
831
|
-
PatientsApi.prototype.apiV1PatientsGet = function (
|
|
821
|
+
PatientsApi.prototype.apiV1PatientsGet = function (requestParameters, options) {
|
|
832
822
|
var _this = this;
|
|
833
|
-
|
|
823
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
824
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsGet(requestParameters.hospitalId, requestParameters.id, requestParameters.fullname, requestParameters.email, requestParameters.gender, requestParameters.dateOfBirth, requestParameters.created, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
834
825
|
};
|
|
835
826
|
/**
|
|
836
827
|
*
|
|
837
828
|
* @summary Delete patient affiliation
|
|
838
|
-
* @param {
|
|
839
|
-
* @param {string} hospitalId
|
|
840
|
-
* @param {boolean} [isPermanent]
|
|
829
|
+
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest} requestParameters Request parameters.
|
|
841
830
|
* @param {*} [options] Override http request option.
|
|
842
831
|
* @throws {RequiredError}
|
|
843
832
|
* @memberof PatientsApi
|
|
844
833
|
*/
|
|
845
|
-
PatientsApi.prototype.apiV1PatientsPatientIdAffiliationsHospitalIdDelete = function (
|
|
834
|
+
PatientsApi.prototype.apiV1PatientsPatientIdAffiliationsHospitalIdDelete = function (requestParameters, options) {
|
|
846
835
|
var _this = this;
|
|
847
|
-
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdDelete(patientId, hospitalId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
836
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdDelete(requestParameters.patientId, requestParameters.hospitalId, requestParameters.isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
848
837
|
};
|
|
849
838
|
/**
|
|
850
839
|
*
|
|
851
840
|
* @summary Create patient affiliation
|
|
852
|
-
* @param {
|
|
853
|
-
* @param {string} hospitalId
|
|
841
|
+
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest} requestParameters Request parameters.
|
|
854
842
|
* @param {*} [options] Override http request option.
|
|
855
843
|
* @throws {RequiredError}
|
|
856
844
|
* @memberof PatientsApi
|
|
857
845
|
*/
|
|
858
|
-
PatientsApi.prototype.apiV1PatientsPatientIdAffiliationsHospitalIdPost = function (
|
|
846
|
+
PatientsApi.prototype.apiV1PatientsPatientIdAffiliationsHospitalIdPost = function (requestParameters, options) {
|
|
859
847
|
var _this = this;
|
|
860
|
-
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdPost(patientId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
848
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdPost(requestParameters.patientId, requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
861
849
|
};
|
|
862
850
|
/**
|
|
863
851
|
*
|
|
864
852
|
* @summary Reactivate patient affiliation
|
|
865
|
-
* @param {
|
|
866
|
-
* @param {string} hospitalId
|
|
853
|
+
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivePutRequest} requestParameters Request parameters.
|
|
867
854
|
* @param {*} [options] Override http request option.
|
|
868
855
|
* @throws {RequiredError}
|
|
869
856
|
* @memberof PatientsApi
|
|
870
857
|
*/
|
|
871
|
-
PatientsApi.prototype.apiV1PatientsPatientIdAffiliationsHospitalIdReactivePut = function (
|
|
858
|
+
PatientsApi.prototype.apiV1PatientsPatientIdAffiliationsHospitalIdReactivePut = function (requestParameters, options) {
|
|
872
859
|
var _this = this;
|
|
873
|
-
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdReactivePut(patientId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
860
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdReactivePut(requestParameters.patientId, requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
874
861
|
};
|
|
875
862
|
/**
|
|
876
863
|
*
|
|
877
864
|
* @summary Delete Patient.
|
|
878
|
-
* @param {
|
|
879
|
-
* @param {boolean} [isPermanent]
|
|
865
|
+
* @param {PatientsApiApiV1PatientsPatientIdDeleteRequest} requestParameters Request parameters.
|
|
880
866
|
* @param {*} [options] Override http request option.
|
|
881
867
|
* @throws {RequiredError}
|
|
882
868
|
* @memberof PatientsApi
|
|
883
869
|
*/
|
|
884
|
-
PatientsApi.prototype.apiV1PatientsPatientIdDelete = function (
|
|
870
|
+
PatientsApi.prototype.apiV1PatientsPatientIdDelete = function (requestParameters, options) {
|
|
885
871
|
var _this = this;
|
|
886
|
-
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsPatientIdDelete(patientId, isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
872
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsPatientIdDelete(requestParameters.patientId, requestParameters.isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
887
873
|
};
|
|
888
874
|
/**
|
|
889
875
|
*
|
|
890
876
|
* @summary Get Patient.
|
|
891
|
-
* @param {
|
|
877
|
+
* @param {PatientsApiApiV1PatientsPatientIdGetRequest} requestParameters Request parameters.
|
|
892
878
|
* @param {*} [options] Override http request option.
|
|
893
879
|
* @throws {RequiredError}
|
|
894
880
|
* @memberof PatientsApi
|
|
895
881
|
*/
|
|
896
|
-
PatientsApi.prototype.apiV1PatientsPatientIdGet = function (
|
|
882
|
+
PatientsApi.prototype.apiV1PatientsPatientIdGet = function (requestParameters, options) {
|
|
897
883
|
var _this = this;
|
|
898
|
-
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsPatientIdGet(patientId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
884
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsPatientIdGet(requestParameters.patientId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
899
885
|
};
|
|
900
886
|
/**
|
|
901
887
|
*
|
|
902
888
|
* @summary Update Patient.
|
|
903
|
-
* @param {
|
|
904
|
-
* @param {UpdatePatientCommand} [updatePatientCommand]
|
|
889
|
+
* @param {PatientsApiApiV1PatientsPatientIdPutRequest} requestParameters Request parameters.
|
|
905
890
|
* @param {*} [options] Override http request option.
|
|
906
891
|
* @throws {RequiredError}
|
|
907
892
|
* @memberof PatientsApi
|
|
908
893
|
*/
|
|
909
|
-
PatientsApi.prototype.apiV1PatientsPatientIdPut = function (
|
|
894
|
+
PatientsApi.prototype.apiV1PatientsPatientIdPut = function (requestParameters, options) {
|
|
910
895
|
var _this = this;
|
|
911
|
-
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsPatientIdPut(patientId, updatePatientCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
896
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsPatientIdPut(requestParameters.patientId, requestParameters.updatePatientCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
912
897
|
};
|
|
913
898
|
/**
|
|
914
899
|
*
|
|
915
900
|
* @summary Create a Patient.
|
|
916
|
-
* @param {
|
|
901
|
+
* @param {PatientsApiApiV1PatientsPostRequest} requestParameters Request parameters.
|
|
917
902
|
* @param {*} [options] Override http request option.
|
|
918
903
|
* @throws {RequiredError}
|
|
919
904
|
* @memberof PatientsApi
|
|
920
905
|
*/
|
|
921
|
-
PatientsApi.prototype.apiV1PatientsPost = function (
|
|
906
|
+
PatientsApi.prototype.apiV1PatientsPost = function (requestParameters, options) {
|
|
922
907
|
var _this = this;
|
|
923
|
-
|
|
908
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
909
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV1PatientsPost(requestParameters.createPatientCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
924
910
|
};
|
|
925
911
|
return PatientsApi;
|
|
926
912
|
}(base_1.BaseAPI));
|