ch-admin-api-client-typescript 5.3.2 → 5.3.3
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/call-histories-api.d.ts +263 -0
- package/lib/api/call-histories-api.d.ts.map +1 -0
- package/lib/api/call-histories-api.js +390 -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/call-histories-model.d.ts +33 -0
- package/lib/models/call-histories-model.d.ts.map +1 -0
- package/lib/models/call-histories-model.js +15 -0
- package/lib/models/call-history-change-log-model.d.ts +44 -0
- package/lib/models/call-history-change-log-model.d.ts.map +1 -0
- package/lib/models/call-history-change-log-model.js +15 -0
- package/lib/models/call-history-item-model.d.ts +109 -0
- package/lib/models/call-history-item-model.d.ts.map +1 -0
- package/lib/models/call-history-item-model.js +15 -0
- package/lib/models/call-history-model.d.ts +122 -0
- package/lib/models/call-history-model.d.ts.map +1 -0
- package/lib/models/call-history-model.js +15 -0
- package/lib/models/call-status.d.ts +29 -0
- package/lib/models/call-status.d.ts.map +1 -0
- package/lib/models/call-status.js +32 -0
- package/lib/models/create-deal-command.d.ts +7 -1
- package/lib/models/create-deal-command.d.ts.map +1 -1
- package/lib/models/create-doctor-affiliation-command.d.ts +6 -0
- package/lib/models/create-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/create-grade-command.d.ts +6 -0
- package/lib/models/create-grade-command.d.ts.map +1 -1
- package/lib/models/create-hospital-command.d.ts +12 -0
- package/lib/models/create-hospital-command.d.ts.map +1 -1
- package/lib/models/create-hospital-contact-command.d.ts +6 -0
- package/lib/models/create-hospital-contact-command.d.ts.map +1 -1
- package/lib/models/deal-item-model.d.ts +6 -0
- package/lib/models/deal-item-model.d.ts.map +1 -1
- package/lib/models/deal-model.d.ts +6 -0
- package/lib/models/deal-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-item-model.d.ts +6 -0
- package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-model.d.ts +6 -0
- package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
- package/lib/models/grade-item-model.d.ts +6 -0
- package/lib/models/grade-item-model.d.ts.map +1 -1
- package/lib/models/grade-model.d.ts +6 -0
- package/lib/models/grade-model.d.ts.map +1 -1
- package/lib/models/hospital-contact-item-model.d.ts +6 -0
- package/lib/models/hospital-contact-item-model.d.ts.map +1 -1
- package/lib/models/hospital-contact-model.d.ts +6 -0
- package/lib/models/hospital-contact-model.d.ts.map +1 -1
- package/lib/models/hospital-item-model.d.ts +12 -0
- package/lib/models/hospital-item-model.d.ts.map +1 -1
- package/lib/models/hospital-model.d.ts +12 -0
- package/lib/models/hospital-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +5 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +5 -0
- package/lib/models/update-deal-command.d.ts +6 -0
- package/lib/models/update-deal-command.d.ts.map +1 -1
- package/lib/models/update-doctor-affiliation-command.d.ts +6 -0
- package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/update-grade-command.d.ts +6 -0
- package/lib/models/update-grade-command.d.ts.map +1 -1
- package/lib/models/update-hospital-command.d.ts +12 -0
- package/lib/models/update-hospital-command.d.ts.map +1 -1
- package/lib/models/update-hospital-contact-command.d.ts +6 -0
- package/lib/models/update-hospital-contact-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +6 -0
- package/src/api/call-histories-api.ts +443 -0
- package/src/api.ts +1 -0
- package/src/models/call-histories-model.ts +42 -0
- package/src/models/call-history-change-log-model.ts +51 -0
- package/src/models/call-history-item-model.ts +114 -0
- package/src/models/call-history-model.ts +129 -0
- package/src/models/call-status.ts +38 -0
- package/src/models/create-deal-command.ts +7 -1
- package/src/models/create-doctor-affiliation-command.ts +6 -0
- package/src/models/create-grade-command.ts +6 -0
- package/src/models/create-hospital-command.ts +12 -0
- package/src/models/create-hospital-contact-command.ts +6 -0
- package/src/models/deal-item-model.ts +6 -0
- package/src/models/deal-model.ts +6 -0
- package/src/models/doctor-affiliation-item-model.ts +6 -0
- package/src/models/doctor-affiliation-model.ts +6 -0
- package/src/models/grade-item-model.ts +6 -0
- package/src/models/grade-model.ts +6 -0
- package/src/models/hospital-contact-item-model.ts +6 -0
- package/src/models/hospital-contact-model.ts +6 -0
- package/src/models/hospital-item-model.ts +12 -0
- package/src/models/hospital-model.ts +12 -0
- package/src/models/index.ts +5 -0
- package/src/models/update-deal-command.ts +6 -0
- package/src/models/update-doctor-affiliation-command.ts +6 -0
- package/src/models/update-grade-command.ts +6 -0
- package/src/models/update-hospital-command.ts +12 -0
- package/src/models/update-hospital-contact-command.ts +6 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
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 { CallHistoryChangeLogModel } from './call-history-change-log-model';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface CallHistoryModel
|
|
24
|
+
*/
|
|
25
|
+
export interface CallHistoryModel {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CallHistoryModel
|
|
30
|
+
*/
|
|
31
|
+
'id'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CallHistoryModel
|
|
36
|
+
*/
|
|
37
|
+
'languageCodeFilter'?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CallHistoryModel
|
|
42
|
+
*/
|
|
43
|
+
'patientId'?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CallHistoryModel
|
|
48
|
+
*/
|
|
49
|
+
'patientName'?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CallHistoryModel
|
|
54
|
+
*/
|
|
55
|
+
'patientPhoto'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CallHistoryModel
|
|
60
|
+
*/
|
|
61
|
+
'hospitalId'?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof CallHistoryModel
|
|
66
|
+
*/
|
|
67
|
+
'hospitalName'?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof CallHistoryModel
|
|
72
|
+
*/
|
|
73
|
+
'hospitalTimeZone'?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof CallHistoryModel
|
|
78
|
+
*/
|
|
79
|
+
'virtualNumber'?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof CallHistoryModel
|
|
84
|
+
*/
|
|
85
|
+
'targetNumber'?: string | null;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {Date}
|
|
89
|
+
* @memberof CallHistoryModel
|
|
90
|
+
*/
|
|
91
|
+
'startTime'?: Date;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {Date}
|
|
95
|
+
* @memberof CallHistoryModel
|
|
96
|
+
*/
|
|
97
|
+
'endTime'?: Date;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {number}
|
|
101
|
+
* @memberof CallHistoryModel
|
|
102
|
+
*/
|
|
103
|
+
'duration'?: number;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {number}
|
|
107
|
+
* @memberof CallHistoryModel
|
|
108
|
+
*/
|
|
109
|
+
'rate'?: number;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {number}
|
|
113
|
+
* @memberof CallHistoryModel
|
|
114
|
+
*/
|
|
115
|
+
'price'?: number;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof CallHistoryModel
|
|
120
|
+
*/
|
|
121
|
+
'customData'?: string | null;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {Array<CallHistoryChangeLogModel>}
|
|
125
|
+
* @memberof CallHistoryModel
|
|
126
|
+
*/
|
|
127
|
+
'statusChangeLogs'?: Array<CallHistoryChangeLogModel> | null;
|
|
128
|
+
}
|
|
129
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
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 CallStatus = {
|
|
24
|
+
Started: 'Started',
|
|
25
|
+
Ringing: 'Ringing',
|
|
26
|
+
Answered: 'Answered',
|
|
27
|
+
Busy: 'Busy',
|
|
28
|
+
Cancelled: 'Cancelled',
|
|
29
|
+
Unanswered: 'Unanswered',
|
|
30
|
+
Disconnected: 'Disconnected',
|
|
31
|
+
Rejected: 'Rejected',
|
|
32
|
+
Failed: 'Failed'
|
|
33
|
+
} as const;
|
|
34
|
+
|
|
35
|
+
export type CallStatus = typeof CallStatus[keyof typeof CallStatus];
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
@@ -34,7 +34,7 @@ export interface CreateDealCommand {
|
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof CreateDealCommand
|
|
36
36
|
*/
|
|
37
|
-
'
|
|
37
|
+
'languageCode'?: string | null;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {string}
|
|
@@ -77,6 +77,12 @@ export interface CreateDealCommand {
|
|
|
77
77
|
* @memberof CreateDealCommand
|
|
78
78
|
*/
|
|
79
79
|
'serviceDuration'?: number;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof CreateDealCommand
|
|
84
|
+
*/
|
|
85
|
+
'formUrl'?: string | null;
|
|
80
86
|
/**
|
|
81
87
|
*
|
|
82
88
|
* @type {number}
|
|
@@ -77,6 +77,12 @@ export interface CreateDoctorAffiliationCommand {
|
|
|
77
77
|
* @memberof CreateDoctorAffiliationCommand
|
|
78
78
|
*/
|
|
79
79
|
'customStyle'?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof CreateDoctorAffiliationCommand
|
|
84
|
+
*/
|
|
85
|
+
'formUrl'?: string | null;
|
|
80
86
|
/**
|
|
81
87
|
*
|
|
82
88
|
* @type {number}
|
|
@@ -41,6 +41,12 @@ export interface CreateGradeCommand {
|
|
|
41
41
|
* @memberof CreateGradeCommand
|
|
42
42
|
*/
|
|
43
43
|
'gradeTarget'?: GradeTargets;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof CreateGradeCommand
|
|
48
|
+
*/
|
|
49
|
+
'semanticSearchEnabled'?: boolean;
|
|
44
50
|
/**
|
|
45
51
|
*
|
|
46
52
|
* @type {number}
|
|
@@ -53,6 +53,12 @@ export interface CreateHospitalCommand {
|
|
|
53
53
|
* @memberof CreateHospitalCommand
|
|
54
54
|
*/
|
|
55
55
|
'description'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CreateHospitalCommand
|
|
60
|
+
*/
|
|
61
|
+
'slogan'?: string | null;
|
|
56
62
|
/**
|
|
57
63
|
*
|
|
58
64
|
* @type {string}
|
|
@@ -161,6 +167,12 @@ export interface CreateHospitalCommand {
|
|
|
161
167
|
* @memberof CreateHospitalCommand
|
|
162
168
|
*/
|
|
163
169
|
'paymentEnabled'?: boolean;
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @type {string}
|
|
173
|
+
* @memberof CreateHospitalCommand
|
|
174
|
+
*/
|
|
175
|
+
'formUrl'?: string | null;
|
|
164
176
|
/**
|
|
165
177
|
*
|
|
166
178
|
* @type {string}
|
|
@@ -47,6 +47,12 @@ export interface CreateHospitalContactCommand {
|
|
|
47
47
|
* @memberof CreateHospitalContactCommand
|
|
48
48
|
*/
|
|
49
49
|
'targetTel'?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof CreateHospitalContactCommand
|
|
54
|
+
*/
|
|
55
|
+
'showTargetTel'?: boolean;
|
|
50
56
|
/**
|
|
51
57
|
*
|
|
52
58
|
* @type {string}
|
package/src/models/deal-model.ts
CHANGED
|
@@ -122,6 +122,12 @@ export interface DoctorAffiliationItemModel {
|
|
|
122
122
|
* @memberof DoctorAffiliationItemModel
|
|
123
123
|
*/
|
|
124
124
|
'consultationFee'?: number | null;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof DoctorAffiliationItemModel
|
|
129
|
+
*/
|
|
130
|
+
'formUrl'?: string | null;
|
|
125
131
|
/**
|
|
126
132
|
*
|
|
127
133
|
* @type {number}
|
|
@@ -125,6 +125,12 @@ export interface DoctorAffiliationModel {
|
|
|
125
125
|
* @memberof DoctorAffiliationModel
|
|
126
126
|
*/
|
|
127
127
|
'consultationFee'?: number | null;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof DoctorAffiliationModel
|
|
132
|
+
*/
|
|
133
|
+
'formUrl'?: string | null;
|
|
128
134
|
/**
|
|
129
135
|
*
|
|
130
136
|
* @type {number}
|
|
@@ -53,6 +53,12 @@ export interface HospitalContactItemModel {
|
|
|
53
53
|
* @memberof HospitalContactItemModel
|
|
54
54
|
*/
|
|
55
55
|
'targetTel'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof HospitalContactItemModel
|
|
60
|
+
*/
|
|
61
|
+
'showTargetTel'?: boolean;
|
|
56
62
|
/**
|
|
57
63
|
*
|
|
58
64
|
* @type {string}
|
|
@@ -74,6 +74,12 @@ export interface HospitalItemModel {
|
|
|
74
74
|
* @memberof HospitalItemModel
|
|
75
75
|
*/
|
|
76
76
|
'slug'?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof HospitalItemModel
|
|
81
|
+
*/
|
|
82
|
+
'slogan'?: string | null;
|
|
77
83
|
/**
|
|
78
84
|
*
|
|
79
85
|
* @type {boolean}
|
|
@@ -122,6 +128,12 @@ export interface HospitalItemModel {
|
|
|
122
128
|
* @memberof HospitalItemModel
|
|
123
129
|
*/
|
|
124
130
|
'paymentEnabled'?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof HospitalItemModel
|
|
135
|
+
*/
|
|
136
|
+
'formUrl'?: string | null;
|
|
125
137
|
/**
|
|
126
138
|
*
|
|
127
139
|
* @type {string}
|
|
@@ -77,6 +77,12 @@ export interface HospitalModel {
|
|
|
77
77
|
* @memberof HospitalModel
|
|
78
78
|
*/
|
|
79
79
|
'slug'?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof HospitalModel
|
|
84
|
+
*/
|
|
85
|
+
'slogan'?: string | null;
|
|
80
86
|
/**
|
|
81
87
|
*
|
|
82
88
|
* @type {boolean}
|
|
@@ -125,6 +131,12 @@ export interface HospitalModel {
|
|
|
125
131
|
* @memberof HospitalModel
|
|
126
132
|
*/
|
|
127
133
|
'paymentEnabled'?: boolean;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof HospitalModel
|
|
138
|
+
*/
|
|
139
|
+
'formUrl'?: string | null;
|
|
128
140
|
/**
|
|
129
141
|
*
|
|
130
142
|
* @type {string}
|
package/src/models/index.ts
CHANGED
|
@@ -67,6 +67,11 @@ export * from './chadmins-model';
|
|
|
67
67
|
export * from './chmanager-item-model';
|
|
68
68
|
export * from './chmanager-model';
|
|
69
69
|
export * from './chmanagers-model';
|
|
70
|
+
export * from './call-histories-model';
|
|
71
|
+
export * from './call-history-change-log-model';
|
|
72
|
+
export * from './call-history-item-model';
|
|
73
|
+
export * from './call-history-model';
|
|
74
|
+
export * from './call-status';
|
|
70
75
|
export * from './cancel-number-command';
|
|
71
76
|
export * from './change-email-command';
|
|
72
77
|
export * from './chat-user-model';
|
|
@@ -71,6 +71,12 @@ export interface UpdateDoctorAffiliationCommand {
|
|
|
71
71
|
* @memberof UpdateDoctorAffiliationCommand
|
|
72
72
|
*/
|
|
73
73
|
'customStyle'?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof UpdateDoctorAffiliationCommand
|
|
78
|
+
*/
|
|
79
|
+
'formUrl'?: string | null;
|
|
74
80
|
/**
|
|
75
81
|
*
|
|
76
82
|
* @type {number}
|
|
@@ -59,6 +59,12 @@ export interface UpdateHospitalCommand {
|
|
|
59
59
|
* @memberof UpdateHospitalCommand
|
|
60
60
|
*/
|
|
61
61
|
'description'?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof UpdateHospitalCommand
|
|
66
|
+
*/
|
|
67
|
+
'slogan'?: string | null;
|
|
62
68
|
/**
|
|
63
69
|
*
|
|
64
70
|
* @type {string}
|
|
@@ -167,6 +173,12 @@ export interface UpdateHospitalCommand {
|
|
|
167
173
|
* @memberof UpdateHospitalCommand
|
|
168
174
|
*/
|
|
169
175
|
'paymentEnabled'?: boolean;
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @type {string}
|
|
179
|
+
* @memberof UpdateHospitalCommand
|
|
180
|
+
*/
|
|
181
|
+
'formUrl'?: string | null;
|
|
170
182
|
/**
|
|
171
183
|
*
|
|
172
184
|
* @type {boolean}
|
|
@@ -47,6 +47,12 @@ export interface UpdateHospitalContactCommand {
|
|
|
47
47
|
* @memberof UpdateHospitalContactCommand
|
|
48
48
|
*/
|
|
49
49
|
'targetTel'?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof UpdateHospitalContactCommand
|
|
54
|
+
*/
|
|
55
|
+
'showTargetTel'?: boolean;
|
|
50
56
|
/**
|
|
51
57
|
*
|
|
52
58
|
* @type {string}
|