ch-api-client-typescript2 4.9.4 → 4.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/appointments-api.d.ts +296 -0
- package/lib/api/appointments-api.d.ts.map +1 -0
- package/lib/api/appointments-api.js +703 -0
- package/lib/api/deals-api.d.ts +103 -0
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +233 -0
- package/lib/api/doctor-affiliations-api.d.ts +50 -0
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +113 -0
- package/lib/api/hospitals-api.d.ts +160 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +360 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/appointment-change-log-model.d.ts +44 -0
- package/lib/models/appointment-change-log-model.d.ts.map +1 -0
- package/lib/models/appointment-change-log-model.js +15 -0
- package/lib/models/appointment-item-model.d.ts +305 -0
- package/lib/models/appointment-item-model.d.ts.map +1 -0
- package/lib/models/appointment-item-model.js +15 -0
- package/lib/models/appointment-model.d.ts +325 -0
- package/lib/models/appointment-model.d.ts.map +1 -0
- package/lib/models/appointment-model.js +15 -0
- package/lib/models/appointment-option-model.d.ts +49 -0
- package/lib/models/appointment-option-model.d.ts.map +1 -0
- package/lib/models/appointment-option-model.js +15 -0
- package/lib/models/appointment-status.d.ts +27 -0
- package/lib/models/appointment-status.d.ts.map +1 -0
- package/lib/models/appointment-status.js +30 -0
- package/lib/models/appointment-timetable-date-model.d.ts +58 -0
- package/lib/models/appointment-timetable-date-model.d.ts.map +1 -0
- package/lib/models/appointment-timetable-date-model.js +15 -0
- package/lib/models/appointment-timetable-status.d.ts +22 -0
- package/lib/models/appointment-timetable-status.d.ts.map +1 -0
- package/lib/models/appointment-timetable-status.js +25 -0
- package/lib/models/appointment-timetable-time-slot-model.d.ts +56 -0
- package/lib/models/appointment-timetable-time-slot-model.d.ts.map +1 -0
- package/lib/models/appointment-timetable-time-slot-model.js +15 -0
- package/lib/models/appointment-timetables-model.d.ts +44 -0
- package/lib/models/appointment-timetables-model.d.ts.map +1 -0
- package/lib/models/appointment-timetables-model.js +15 -0
- package/lib/models/appointment-type.d.ts +26 -0
- package/lib/models/appointment-type.d.ts.map +1 -0
- package/lib/models/appointment-type.js +29 -0
- package/lib/models/appointments-model.d.ts +33 -0
- package/lib/models/appointments-model.d.ts.map +1 -0
- package/lib/models/appointments-model.js +15 -0
- package/lib/models/create-appointment-command.d.ts +153 -0
- package/lib/models/create-appointment-command.d.ts.map +1 -0
- package/lib/models/create-appointment-command.js +15 -0
- package/lib/models/deal-item-model.d.ts +7 -0
- package/lib/models/deal-item-model.d.ts.map +1 -1
- package/lib/models/deal-model.d.ts +7 -0
- package/lib/models/deal-model.d.ts.map +1 -1
- package/lib/models/deal-package-item-model.d.ts +7 -0
- package/lib/models/deal-package-item-model.d.ts.map +1 -1
- package/lib/models/deal-package-model.d.ts +7 -0
- package/lib/models/deal-package-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-item-model.d.ts +7 -0
- package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-model.d.ts +7 -0
- package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
- package/lib/models/hospital-item-model.d.ts +7 -0
- package/lib/models/hospital-item-model.d.ts.map +1 -1
- package/lib/models/hospital-model.d.ts +7 -0
- package/lib/models/hospital-model.d.ts.map +1 -1
- package/lib/models/hospital-service-item-model.d.ts +7 -0
- package/lib/models/hospital-service-item-model.d.ts.map +1 -1
- package/lib/models/hospital-service-model.d.ts +7 -0
- package/lib/models/hospital-service-model.d.ts.map +1 -1
- package/lib/models/hospital-specialty-item-model.d.ts +7 -0
- package/lib/models/hospital-specialty-item-model.d.ts.map +1 -1
- package/lib/models/hospital-specialty-model.d.ts +7 -0
- package/lib/models/hospital-specialty-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +13 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +13 -0
- package/lib/models/notification-code.d.ts +9 -0
- package/lib/models/notification-code.d.ts.map +1 -1
- package/lib/models/notification-code.js +10 -1
- package/lib/models/update-appointment-command.d.ts +98 -0
- package/lib/models/update-appointment-command.d.ts.map +1 -0
- package/lib/models/update-appointment-command.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +14 -0
- package/src/api/appointments-api.ts +594 -0
- package/src/api/deals-api.ts +215 -0
- package/src/api/doctor-affiliations-api.ts +105 -0
- package/src/api/hospitals-api.ts +332 -0
- package/src/api.ts +1 -0
- package/src/models/appointment-change-log-model.ts +51 -0
- package/src/models/appointment-item-model.ts +318 -0
- package/src/models/appointment-model.ts +342 -0
- package/src/models/appointment-option-model.ts +54 -0
- package/src/models/appointment-status.ts +36 -0
- package/src/models/appointment-timetable-date-model.ts +69 -0
- package/src/models/appointment-timetable-status.ts +31 -0
- package/src/models/appointment-timetable-time-slot-model.ts +63 -0
- package/src/models/appointment-timetables-model.ts +51 -0
- package/src/models/appointment-type.ts +35 -0
- package/src/models/appointments-model.ts +42 -0
- package/src/models/create-appointment-command.ts +162 -0
- package/src/models/deal-item-model.ts +9 -0
- package/src/models/deal-model.ts +9 -0
- package/src/models/deal-package-item-model.ts +9 -0
- package/src/models/deal-package-model.ts +9 -0
- package/src/models/doctor-affiliation-item-model.ts +9 -0
- package/src/models/doctor-affiliation-model.ts +9 -0
- package/src/models/hospital-item-model.ts +9 -0
- package/src/models/hospital-model.ts +9 -0
- package/src/models/hospital-service-item-model.ts +9 -0
- package/src/models/hospital-service-model.ts +9 -0
- package/src/models/hospital-specialty-item-model.ts +9 -0
- package/src/models/hospital-specialty-model.ts +9 -0
- package/src/models/index.ts +13 -0
- package/src/models/notification-code.ts +10 -1
- package/src/models/update-appointment-command.ts +105 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const AppointmentStatus = {
|
|
24
|
+
New: 'New',
|
|
25
|
+
Rejected: 'Rejected',
|
|
26
|
+
Approved: 'Approved',
|
|
27
|
+
Paid: 'Paid',
|
|
28
|
+
Canceled: 'Canceled',
|
|
29
|
+
RefundRequested: 'RefundRequested',
|
|
30
|
+
Refunded: 'Refunded'
|
|
31
|
+
} as const;
|
|
32
|
+
|
|
33
|
+
export type AppointmentStatus = typeof AppointmentStatus[keyof typeof AppointmentStatus];
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AppointmentTimetableStatus } from './appointment-timetable-status';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { AppointmentTimetableTimeSlotModel } from './appointment-timetable-time-slot-model';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { DayOfWeek } from './day-of-week';
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @interface AppointmentTimetableDateModel
|
|
30
|
+
*/
|
|
31
|
+
export interface AppointmentTimetableDateModel {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Date}
|
|
35
|
+
* @memberof AppointmentTimetableDateModel
|
|
36
|
+
*/
|
|
37
|
+
'date'?: Date;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {DayOfWeek}
|
|
41
|
+
* @memberof AppointmentTimetableDateModel
|
|
42
|
+
*/
|
|
43
|
+
'dayOfWeek'?: DayOfWeek;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {AppointmentTimetableStatus}
|
|
47
|
+
* @memberof AppointmentTimetableDateModel
|
|
48
|
+
*/
|
|
49
|
+
'status'?: AppointmentTimetableStatus;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof AppointmentTimetableDateModel
|
|
54
|
+
*/
|
|
55
|
+
'isAvailable'?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<AppointmentTimetableTimeSlotModel>}
|
|
59
|
+
* @memberof AppointmentTimetableDateModel
|
|
60
|
+
*/
|
|
61
|
+
'slots'?: Array<AppointmentTimetableTimeSlotModel> | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {boolean}
|
|
65
|
+
* @memberof AppointmentTimetableDateModel
|
|
66
|
+
*/
|
|
67
|
+
'hasTimeSlotItems'?: boolean;
|
|
68
|
+
}
|
|
69
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const AppointmentTimetableStatus = {
|
|
24
|
+
Available: 'Available',
|
|
25
|
+
Unavailable: 'Unavailable'
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type AppointmentTimetableStatus = typeof AppointmentTimetableStatus[keyof typeof AppointmentTimetableStatus];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AppointmentTimetableStatus } from './appointment-timetable-status';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface AppointmentTimetableTimeSlotModel
|
|
24
|
+
*/
|
|
25
|
+
export interface AppointmentTimetableTimeSlotModel {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Date}
|
|
29
|
+
* @memberof AppointmentTimetableTimeSlotModel
|
|
30
|
+
*/
|
|
31
|
+
'startTime'?: Date;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Date}
|
|
35
|
+
* @memberof AppointmentTimetableTimeSlotModel
|
|
36
|
+
*/
|
|
37
|
+
'endTime'?: Date;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {AppointmentTimetableStatus}
|
|
41
|
+
* @memberof AppointmentTimetableTimeSlotModel
|
|
42
|
+
*/
|
|
43
|
+
'status'?: AppointmentTimetableStatus;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof AppointmentTimetableTimeSlotModel
|
|
48
|
+
*/
|
|
49
|
+
'isOverrided'?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof AppointmentTimetableTimeSlotModel
|
|
54
|
+
*/
|
|
55
|
+
'isBooked'?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof AppointmentTimetableTimeSlotModel
|
|
60
|
+
*/
|
|
61
|
+
'isAvailable'?: boolean;
|
|
62
|
+
}
|
|
63
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AppointmentTimetableDateModel } from './appointment-timetable-date-model';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface AppointmentTimetablesModel
|
|
24
|
+
*/
|
|
25
|
+
export interface AppointmentTimetablesModel {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AppointmentTimetablesModel
|
|
30
|
+
*/
|
|
31
|
+
'hospitalTimeZone'?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AppointmentTimetablesModel
|
|
36
|
+
*/
|
|
37
|
+
'timeZone'?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Date}
|
|
41
|
+
* @memberof AppointmentTimetablesModel
|
|
42
|
+
*/
|
|
43
|
+
'today'?: Date;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<AppointmentTimetableDateModel>}
|
|
47
|
+
* @memberof AppointmentTimetablesModel
|
|
48
|
+
*/
|
|
49
|
+
'days'?: Array<AppointmentTimetableDateModel> | null;
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const AppointmentType = {
|
|
24
|
+
Hospital: 'Hospital',
|
|
25
|
+
Doctor: 'Doctor',
|
|
26
|
+
Deal: 'Deal',
|
|
27
|
+
DealPackage: 'DealPackage',
|
|
28
|
+
HospitalSpecialty: 'HospitalSpecialty',
|
|
29
|
+
HospitalService: 'HospitalService'
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type AppointmentType = typeof AppointmentType[keyof typeof AppointmentType];
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AppointmentItemModel } from './appointment-item-model';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { PagedListMetaData } from './paged-list-meta-data';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface AppointmentsModel
|
|
27
|
+
*/
|
|
28
|
+
export interface AppointmentsModel {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<AppointmentItemModel>}
|
|
32
|
+
* @memberof AppointmentsModel
|
|
33
|
+
*/
|
|
34
|
+
'items'?: Array<AppointmentItemModel> | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {PagedListMetaData}
|
|
38
|
+
* @memberof AppointmentsModel
|
|
39
|
+
*/
|
|
40
|
+
'metaData'?: PagedListMetaData;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AppointmentType } from './appointment-type';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { Gender } from './gender';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface CreateAppointmentCommand
|
|
27
|
+
*/
|
|
28
|
+
export interface CreateAppointmentCommand {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {AppointmentType}
|
|
32
|
+
* @memberof CreateAppointmentCommand
|
|
33
|
+
*/
|
|
34
|
+
'appointmentType'?: AppointmentType;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof CreateAppointmentCommand
|
|
39
|
+
*/
|
|
40
|
+
'isOnline'?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateAppointmentCommand
|
|
45
|
+
*/
|
|
46
|
+
'hospitalId'?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateAppointmentCommand
|
|
51
|
+
*/
|
|
52
|
+
'hospitalSpecialtyId'?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateAppointmentCommand
|
|
57
|
+
*/
|
|
58
|
+
'doctorAffiliationId'?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateAppointmentCommand
|
|
63
|
+
*/
|
|
64
|
+
'dealId'?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateAppointmentCommand
|
|
69
|
+
*/
|
|
70
|
+
'dealPackageId'?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof CreateAppointmentCommand
|
|
75
|
+
*/
|
|
76
|
+
'serviceId'?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreateAppointmentCommand
|
|
81
|
+
*/
|
|
82
|
+
'languageCode'?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof CreateAppointmentCommand
|
|
87
|
+
*/
|
|
88
|
+
'firstName'?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof CreateAppointmentCommand
|
|
93
|
+
*/
|
|
94
|
+
'lastName'?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof CreateAppointmentCommand
|
|
99
|
+
*/
|
|
100
|
+
'email'?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof CreateAppointmentCommand
|
|
105
|
+
*/
|
|
106
|
+
'phoneCountryCode'?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof CreateAppointmentCommand
|
|
111
|
+
*/
|
|
112
|
+
'phone'?: string | null;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {Date}
|
|
116
|
+
* @memberof CreateAppointmentCommand
|
|
117
|
+
*/
|
|
118
|
+
'dateOfBirth'?: Date | null;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {Gender}
|
|
122
|
+
* @memberof CreateAppointmentCommand
|
|
123
|
+
*/
|
|
124
|
+
'gender'?: Gender;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof CreateAppointmentCommand
|
|
129
|
+
*/
|
|
130
|
+
'timeZone'?: string | null;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof CreateAppointmentCommand
|
|
135
|
+
*/
|
|
136
|
+
'comment'?: string | null;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {number}
|
|
140
|
+
* @memberof CreateAppointmentCommand
|
|
141
|
+
*/
|
|
142
|
+
'quantity'?: number;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {Date}
|
|
146
|
+
* @memberof CreateAppointmentCommand
|
|
147
|
+
*/
|
|
148
|
+
'approximateDateStart'?: Date;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {Date}
|
|
152
|
+
* @memberof CreateAppointmentCommand
|
|
153
|
+
*/
|
|
154
|
+
'approximateDateEnd'?: Date;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @type {boolean}
|
|
158
|
+
* @memberof CreateAppointmentCommand
|
|
159
|
+
*/
|
|
160
|
+
'isExternal'?: boolean;
|
|
161
|
+
}
|
|
162
|
+
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AppointmentOptionModel } from './appointment-option-model';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import { AuditableEntity } from './auditable-entity';
|
|
@@ -116,6 +119,12 @@ export interface DealItemModel {
|
|
|
116
119
|
* @memberof DealItemModel
|
|
117
120
|
*/
|
|
118
121
|
'order'?: number;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {AppointmentOptionModel}
|
|
125
|
+
* @memberof DealItemModel
|
|
126
|
+
*/
|
|
127
|
+
'appointmentOption'?: AppointmentOptionModel;
|
|
119
128
|
/**
|
|
120
129
|
*
|
|
121
130
|
* @type {AuditableEntity}
|
package/src/models/deal-model.ts
CHANGED
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AppointmentOptionModel } from './appointment-option-model';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import { AuditableEntity } from './auditable-entity';
|
|
@@ -119,6 +122,12 @@ export interface DealModel {
|
|
|
119
122
|
* @memberof DealModel
|
|
120
123
|
*/
|
|
121
124
|
'order'?: number;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {AppointmentOptionModel}
|
|
128
|
+
* @memberof DealModel
|
|
129
|
+
*/
|
|
130
|
+
'appointmentOption'?: AppointmentOptionModel;
|
|
122
131
|
/**
|
|
123
132
|
*
|
|
124
133
|
* @type {AuditableEntity}
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AppointmentOptionModel } from './appointment-option-model';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import { AuditableEntity } from './auditable-entity';
|
|
@@ -98,6 +101,12 @@ export interface DealPackageItemModel {
|
|
|
98
101
|
* @memberof DealPackageItemModel
|
|
99
102
|
*/
|
|
100
103
|
'price'?: number;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {AppointmentOptionModel}
|
|
107
|
+
* @memberof DealPackageItemModel
|
|
108
|
+
*/
|
|
109
|
+
'appointmentOption'?: AppointmentOptionModel;
|
|
101
110
|
/**
|
|
102
111
|
*
|
|
103
112
|
* @type {AuditableEntity}
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AppointmentOptionModel } from './appointment-option-model';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import { AuditableEntity } from './auditable-entity';
|
|
@@ -98,6 +101,12 @@ export interface DealPackageModel {
|
|
|
98
101
|
* @memberof DealPackageModel
|
|
99
102
|
*/
|
|
100
103
|
'price'?: number;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {AppointmentOptionModel}
|
|
107
|
+
* @memberof DealPackageModel
|
|
108
|
+
*/
|
|
109
|
+
'appointmentOption'?: AppointmentOptionModel;
|
|
101
110
|
/**
|
|
102
111
|
*
|
|
103
112
|
* @type {AuditableEntity}
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AppointmentOptionModel } from './appointment-option-model';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import { MarketingType } from './marketing-type';
|
|
@@ -137,5 +140,11 @@ export interface DoctorAffiliationItemModel {
|
|
|
137
140
|
* @memberof DoctorAffiliationItemModel
|
|
138
141
|
*/
|
|
139
142
|
'order'?: number;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {AppointmentOptionModel}
|
|
146
|
+
* @memberof DoctorAffiliationItemModel
|
|
147
|
+
*/
|
|
148
|
+
'appointmentOption'?: AppointmentOptionModel;
|
|
140
149
|
}
|
|
141
150
|
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AppointmentOptionModel } from './appointment-option-model';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import { LocalizedUrlModel } from './localized-url-model';
|
|
@@ -143,6 +146,12 @@ export interface DoctorAffiliationModel {
|
|
|
143
146
|
* @memberof DoctorAffiliationModel
|
|
144
147
|
*/
|
|
145
148
|
'order'?: number;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {AppointmentOptionModel}
|
|
152
|
+
* @memberof DoctorAffiliationModel
|
|
153
|
+
*/
|
|
154
|
+
'appointmentOption'?: AppointmentOptionModel;
|
|
146
155
|
/**
|
|
147
156
|
*
|
|
148
157
|
* @type {string}
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AppointmentOptionModel } from './appointment-option-model';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import { HospitalAccreditationItemModel } from './hospital-accreditation-item-model';
|
|
@@ -116,6 +119,12 @@ export interface HospitalItemModel {
|
|
|
116
119
|
* @memberof HospitalItemModel
|
|
117
120
|
*/
|
|
118
121
|
'specialtiesSummerized'?: string | null;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {AppointmentOptionModel}
|
|
125
|
+
* @memberof HospitalItemModel
|
|
126
|
+
*/
|
|
127
|
+
'appointmentOption'?: AppointmentOptionModel;
|
|
119
128
|
/**
|
|
120
129
|
*
|
|
121
130
|
* @type {Array<HospitalAccreditationItemModel>}
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AppointmentOptionModel } from './appointment-option-model';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import { AwardModel } from './award-model';
|
|
@@ -137,6 +140,12 @@ export interface HospitalModel {
|
|
|
137
140
|
* @memberof HospitalModel
|
|
138
141
|
*/
|
|
139
142
|
'specialtiesSummerized'?: string | null;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {AppointmentOptionModel}
|
|
146
|
+
* @memberof HospitalModel
|
|
147
|
+
*/
|
|
148
|
+
'appointmentOption'?: AppointmentOptionModel;
|
|
140
149
|
/**
|
|
141
150
|
*
|
|
142
151
|
* @type {Array<HospitalAccreditationItemModel>}
|