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
|
@@ -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';
|
|
@@ -122,6 +125,12 @@ export interface HospitalServiceItemModel {
|
|
|
122
125
|
* @memberof HospitalServiceItemModel
|
|
123
126
|
*/
|
|
124
127
|
'photoThumbnail'?: string | null;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {AppointmentOptionModel}
|
|
131
|
+
* @memberof HospitalServiceItemModel
|
|
132
|
+
*/
|
|
133
|
+
'appointmentOption'?: AppointmentOptionModel;
|
|
125
134
|
/**
|
|
126
135
|
*
|
|
127
136
|
* @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';
|
|
@@ -128,6 +131,12 @@ export interface HospitalServiceModel {
|
|
|
128
131
|
* @memberof HospitalServiceModel
|
|
129
132
|
*/
|
|
130
133
|
'photoThumbnail'?: string | null;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {AppointmentOptionModel}
|
|
137
|
+
* @memberof HospitalServiceModel
|
|
138
|
+
*/
|
|
139
|
+
'appointmentOption'?: AppointmentOptionModel;
|
|
131
140
|
/**
|
|
132
141
|
*
|
|
133
142
|
* @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';
|
|
@@ -122,6 +125,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
122
125
|
* @memberof HospitalSpecialtyItemModel
|
|
123
126
|
*/
|
|
124
127
|
'marketingType'?: MarketingType;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {AppointmentOptionModel}
|
|
131
|
+
* @memberof HospitalSpecialtyItemModel
|
|
132
|
+
*/
|
|
133
|
+
'appointmentOption'?: AppointmentOptionModel;
|
|
125
134
|
/**
|
|
126
135
|
*
|
|
127
136
|
* @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';
|
|
@@ -128,6 +131,12 @@ export interface HospitalSpecialtyModel {
|
|
|
128
131
|
* @memberof HospitalSpecialtyModel
|
|
129
132
|
*/
|
|
130
133
|
'marketingType'?: MarketingType;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {AppointmentOptionModel}
|
|
137
|
+
* @memberof HospitalSpecialtyModel
|
|
138
|
+
*/
|
|
139
|
+
'appointmentOption'?: AppointmentOptionModel;
|
|
131
140
|
/**
|
|
132
141
|
*
|
|
133
142
|
* @type {AuditableEntity}
|
package/src/models/index.ts
CHANGED
|
@@ -6,6 +6,17 @@ export * from './accreditation-model';
|
|
|
6
6
|
export * from './accreditations-model';
|
|
7
7
|
export * from './admin-message-model';
|
|
8
8
|
export * from './app-version-model';
|
|
9
|
+
export * from './appointment-change-log-model';
|
|
10
|
+
export * from './appointment-item-model';
|
|
11
|
+
export * from './appointment-model';
|
|
12
|
+
export * from './appointment-option-model';
|
|
13
|
+
export * from './appointment-status';
|
|
14
|
+
export * from './appointment-timetable-date-model';
|
|
15
|
+
export * from './appointment-timetable-status';
|
|
16
|
+
export * from './appointment-timetable-time-slot-model';
|
|
17
|
+
export * from './appointment-timetables-model';
|
|
18
|
+
export * from './appointment-type';
|
|
19
|
+
export * from './appointments-model';
|
|
9
20
|
export * from './article-contributor-item-model';
|
|
10
21
|
export * from './article-contributor-model';
|
|
11
22
|
export * from './article-contributors-model';
|
|
@@ -47,6 +58,7 @@ export * from './contributors-model';
|
|
|
47
58
|
export * from './countries-model';
|
|
48
59
|
export * from './country-item-model';
|
|
49
60
|
export * from './country-model';
|
|
61
|
+
export * from './create-appointment-command';
|
|
50
62
|
export * from './create-booking-command';
|
|
51
63
|
export * from './create-chat-user-command';
|
|
52
64
|
export * from './create-consultation-command';
|
|
@@ -207,6 +219,7 @@ export * from './tag-model';
|
|
|
207
219
|
export * from './tags-model';
|
|
208
220
|
export * from './translation-simple-model';
|
|
209
221
|
export * from './translation-simple-with-description-model';
|
|
222
|
+
export * from './update-appointment-command';
|
|
210
223
|
export * from './update-booking-command';
|
|
211
224
|
export * from './update-chat-user-command';
|
|
212
225
|
export * from './update-consultation-command';
|
|
@@ -39,7 +39,16 @@ export const NotificationCode = {
|
|
|
39
39
|
ConsultationCanceled: 'ConsultationCanceled',
|
|
40
40
|
ConsultationRefundRequested: 'ConsultationRefundRequested',
|
|
41
41
|
ConsultationRefunded: 'ConsultationRefunded',
|
|
42
|
-
ConsultationReady: 'ConsultationReady'
|
|
42
|
+
ConsultationReady: 'ConsultationReady',
|
|
43
|
+
AppointmentNew: 'AppointmentNew',
|
|
44
|
+
AppointmentUpdated: 'AppointmentUpdated',
|
|
45
|
+
AppointmentRejected: 'AppointmentRejected',
|
|
46
|
+
AppointmentApproved: 'AppointmentApproved',
|
|
47
|
+
AppointmentPaid: 'AppointmentPaid',
|
|
48
|
+
AppointmentCanceled: 'AppointmentCanceled',
|
|
49
|
+
AppointmentRefundRequested: 'AppointmentRefundRequested',
|
|
50
|
+
AppointmentRefunded: 'AppointmentRefunded',
|
|
51
|
+
AppointmentReady: 'AppointmentReady'
|
|
43
52
|
} as const;
|
|
44
53
|
|
|
45
54
|
export type NotificationCode = typeof NotificationCode[keyof typeof NotificationCode];
|
|
@@ -0,0 +1,105 @@
|
|
|
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 { Gender } from './gender';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface UpdateAppointmentCommand
|
|
24
|
+
*/
|
|
25
|
+
export interface UpdateAppointmentCommand {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof UpdateAppointmentCommand
|
|
30
|
+
*/
|
|
31
|
+
'languageCode'?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof UpdateAppointmentCommand
|
|
36
|
+
*/
|
|
37
|
+
'firstName'?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof UpdateAppointmentCommand
|
|
42
|
+
*/
|
|
43
|
+
'lastName'?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof UpdateAppointmentCommand
|
|
48
|
+
*/
|
|
49
|
+
'email'?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof UpdateAppointmentCommand
|
|
54
|
+
*/
|
|
55
|
+
'phoneCountryCode'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof UpdateAppointmentCommand
|
|
60
|
+
*/
|
|
61
|
+
'phone'?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Date}
|
|
65
|
+
* @memberof UpdateAppointmentCommand
|
|
66
|
+
*/
|
|
67
|
+
'dateOfBirth'?: Date | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {Gender}
|
|
71
|
+
* @memberof UpdateAppointmentCommand
|
|
72
|
+
*/
|
|
73
|
+
'gender'?: Gender;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof UpdateAppointmentCommand
|
|
78
|
+
*/
|
|
79
|
+
'timeZone'?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof UpdateAppointmentCommand
|
|
84
|
+
*/
|
|
85
|
+
'comment'?: string | null;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof UpdateAppointmentCommand
|
|
90
|
+
*/
|
|
91
|
+
'quantity'?: number;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {Date}
|
|
95
|
+
* @memberof UpdateAppointmentCommand
|
|
96
|
+
*/
|
|
97
|
+
'approximateDateStart'?: Date;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {Date}
|
|
101
|
+
* @memberof UpdateAppointmentCommand
|
|
102
|
+
*/
|
|
103
|
+
'approximateDateEnd'?: Date;
|
|
104
|
+
}
|
|
105
|
+
|