ch-api-client-typescript2 5.15.0 → 5.16.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.
Files changed (106) hide show
  1. package/lib/api/doctor-affiliations-api.d.ts +3 -12
  2. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  3. package/lib/api/doctor-affiliations-api.js +6 -12
  4. package/lib/api.d.ts +0 -3
  5. package/lib/api.d.ts.map +1 -1
  6. package/lib/api.js +0 -3
  7. package/lib/models/index.d.ts +0 -20
  8. package/lib/models/index.d.ts.map +1 -1
  9. package/lib/models/index.js +0 -20
  10. package/package.json +1 -1
  11. package/src/.openapi-generator/FILES +0 -23
  12. package/src/api/doctor-affiliations-api.ts +6 -20
  13. package/src/api.ts +0 -3
  14. package/src/models/index.ts +0 -20
  15. package/lib/api/bookings-api.d.ts +0 -439
  16. package/lib/api/bookings-api.d.ts.map +0 -1
  17. package/lib/api/bookings-api.js +0 -665
  18. package/lib/api/consultations-api.d.ts +0 -421
  19. package/lib/api/consultations-api.d.ts.map +0 -1
  20. package/lib/api/consultations-api.js +0 -653
  21. package/lib/api/hospitals-consultation-timetables-api.d.ts +0 -124
  22. package/lib/api/hospitals-consultation-timetables-api.d.ts.map +0 -1
  23. package/lib/api/hospitals-consultation-timetables-api.js +0 -240
  24. package/lib/models/booking-change-log-model.d.ts +0 -44
  25. package/lib/models/booking-change-log-model.d.ts.map +0 -1
  26. package/lib/models/booking-change-log-model.js +0 -15
  27. package/lib/models/booking-item-model.d.ts +0 -233
  28. package/lib/models/booking-item-model.d.ts.map +0 -1
  29. package/lib/models/booking-item-model.js +0 -15
  30. package/lib/models/booking-model.d.ts +0 -240
  31. package/lib/models/booking-model.d.ts.map +0 -1
  32. package/lib/models/booking-model.js +0 -15
  33. package/lib/models/booking-status.d.ts +0 -27
  34. package/lib/models/booking-status.d.ts.map +0 -1
  35. package/lib/models/booking-status.js +0 -30
  36. package/lib/models/bookings-model.d.ts +0 -33
  37. package/lib/models/bookings-model.d.ts.map +0 -1
  38. package/lib/models/bookings-model.js +0 -15
  39. package/lib/models/consultation-change-log-model.d.ts +0 -44
  40. package/lib/models/consultation-change-log-model.d.ts.map +0 -1
  41. package/lib/models/consultation-change-log-model.js +0 -15
  42. package/lib/models/consultation-item-model.d.ts +0 -275
  43. package/lib/models/consultation-item-model.d.ts.map +0 -1
  44. package/lib/models/consultation-item-model.js +0 -15
  45. package/lib/models/consultation-model.d.ts +0 -282
  46. package/lib/models/consultation-model.d.ts.map +0 -1
  47. package/lib/models/consultation-model.js +0 -15
  48. package/lib/models/consultation-status.d.ts +0 -27
  49. package/lib/models/consultation-status.d.ts.map +0 -1
  50. package/lib/models/consultation-status.js +0 -30
  51. package/lib/models/consultation-timetable-date-model.d.ts +0 -58
  52. package/lib/models/consultation-timetable-date-model.d.ts.map +0 -1
  53. package/lib/models/consultation-timetable-date-model.js +0 -15
  54. package/lib/models/consultation-timetable-model.d.ts +0 -44
  55. package/lib/models/consultation-timetable-model.d.ts.map +0 -1
  56. package/lib/models/consultation-timetable-model.js +0 -15
  57. package/lib/models/consultation-timetable-status.d.ts +0 -22
  58. package/lib/models/consultation-timetable-status.d.ts.map +0 -1
  59. package/lib/models/consultation-timetable-status.js +0 -25
  60. package/lib/models/consultation-timetable-time-slot-model.d.ts +0 -56
  61. package/lib/models/consultation-timetable-time-slot-model.d.ts.map +0 -1
  62. package/lib/models/consultation-timetable-time-slot-model.js +0 -15
  63. package/lib/models/consultation-type.d.ts +0 -23
  64. package/lib/models/consultation-type.d.ts.map +0 -1
  65. package/lib/models/consultation-type.js +0 -26
  66. package/lib/models/consultations-model.d.ts +0 -33
  67. package/lib/models/consultations-model.d.ts.map +0 -1
  68. package/lib/models/consultations-model.js +0 -15
  69. package/lib/models/create-booking-command.d.ts +0 -104
  70. package/lib/models/create-booking-command.d.ts.map +0 -1
  71. package/lib/models/create-booking-command.js +0 -15
  72. package/lib/models/create-consultation-command.d.ts +0 -135
  73. package/lib/models/create-consultation-command.d.ts.map +0 -1
  74. package/lib/models/create-consultation-command.js +0 -15
  75. package/lib/models/sorting-order.d.ts +0 -22
  76. package/lib/models/sorting-order.d.ts.map +0 -1
  77. package/lib/models/sorting-order.js +0 -25
  78. package/lib/models/update-booking-command.d.ts +0 -86
  79. package/lib/models/update-booking-command.d.ts.map +0 -1
  80. package/lib/models/update-booking-command.js +0 -15
  81. package/lib/models/update-consultation-command.d.ts +0 -110
  82. package/lib/models/update-consultation-command.d.ts.map +0 -1
  83. package/lib/models/update-consultation-command.js +0 -15
  84. package/src/api/bookings-api.ts +0 -748
  85. package/src/api/consultations-api.ts +0 -720
  86. package/src/api/hospitals-consultation-timetables-api.ts +0 -201
  87. package/src/models/booking-change-log-model.ts +0 -51
  88. package/src/models/booking-item-model.ts +0 -246
  89. package/src/models/booking-model.ts +0 -255
  90. package/src/models/booking-status.ts +0 -36
  91. package/src/models/bookings-model.ts +0 -42
  92. package/src/models/consultation-change-log-model.ts +0 -51
  93. package/src/models/consultation-item-model.ts +0 -288
  94. package/src/models/consultation-model.ts +0 -297
  95. package/src/models/consultation-status.ts +0 -36
  96. package/src/models/consultation-timetable-date-model.ts +0 -69
  97. package/src/models/consultation-timetable-model.ts +0 -51
  98. package/src/models/consultation-timetable-status.ts +0 -31
  99. package/src/models/consultation-timetable-time-slot-model.ts +0 -63
  100. package/src/models/consultation-type.ts +0 -32
  101. package/src/models/consultations-model.ts +0 -42
  102. package/src/models/create-booking-command.ts +0 -111
  103. package/src/models/create-consultation-command.ts +0 -144
  104. package/src/models/sorting-order.ts +0 -31
  105. package/src/models/update-booking-command.ts +0 -93
  106. package/src/models/update-consultation-command.ts +0 -117
@@ -1,201 +0,0 @@
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
- import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
- import { Configuration } from '../configuration';
18
- // Some imports not used depending on template conditions
19
- // @ts-ignore
20
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
- // @ts-ignore
22
- import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
- // @ts-ignore
24
- import { ConsultationTimetableModel } from '../models';
25
- /**
26
- * HospitalsConsultationTimetablesApi - axios parameter creator
27
- * @export
28
- */
29
- export const HospitalsConsultationTimetablesApiAxiosParamCreator = function (configuration?: Configuration) {
30
- return {
31
- /**
32
- *
33
- * @summary Get hospital consultation timetables by hospitalId
34
- * @param {string} hospitalId
35
- * @param {number} [year]
36
- * @param {number} [month]
37
- * @param {string} [timeZone]
38
- * @param {string} [consultationIdExcluded]
39
- * @param {*} [options] Override http request option.
40
- * @throws {RequiredError}
41
- */
42
- apiV2HospitalsHospitalIdConsultationtimetablesGet: async (hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43
- // verify required parameter 'hospitalId' is not null or undefined
44
- assertParamExists('apiV2HospitalsHospitalIdConsultationtimetablesGet', 'hospitalId', hospitalId)
45
- const localVarPath = `/api/v2/hospitals/{hospitalId}/consultationtimetables`
46
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
47
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
48
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
49
- let baseOptions;
50
- if (configuration) {
51
- baseOptions = configuration.baseOptions;
52
- }
53
-
54
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
55
- const localVarHeaderParameter = {} as any;
56
- const localVarQueryParameter = {} as any;
57
-
58
- // authentication oauth2 required
59
- // oauth required
60
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
61
-
62
- if (year !== undefined) {
63
- localVarQueryParameter['Year'] = year;
64
- }
65
-
66
- if (month !== undefined) {
67
- localVarQueryParameter['Month'] = month;
68
- }
69
-
70
- if (timeZone !== undefined) {
71
- localVarQueryParameter['TimeZone'] = timeZone;
72
- }
73
-
74
- if (consultationIdExcluded !== undefined) {
75
- localVarQueryParameter['ConsultationIdExcluded'] = consultationIdExcluded;
76
- }
77
-
78
-
79
-
80
- setSearchParams(localVarUrlObj, localVarQueryParameter);
81
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
82
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
83
-
84
- return {
85
- url: toPathString(localVarUrlObj),
86
- options: localVarRequestOptions,
87
- };
88
- },
89
- }
90
- };
91
-
92
- /**
93
- * HospitalsConsultationTimetablesApi - functional programming interface
94
- * @export
95
- */
96
- export const HospitalsConsultationTimetablesApiFp = function(configuration?: Configuration) {
97
- const localVarAxiosParamCreator = HospitalsConsultationTimetablesApiAxiosParamCreator(configuration)
98
- return {
99
- /**
100
- *
101
- * @summary Get hospital consultation timetables by hospitalId
102
- * @param {string} hospitalId
103
- * @param {number} [year]
104
- * @param {number} [month]
105
- * @param {string} [timeZone]
106
- * @param {string} [consultationIdExcluded]
107
- * @param {*} [options] Override http request option.
108
- * @throws {RequiredError}
109
- */
110
- async apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationTimetableModel>> {
111
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, consultationIdExcluded, options);
112
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
113
- },
114
- }
115
- };
116
-
117
- /**
118
- * HospitalsConsultationTimetablesApi - factory interface
119
- * @export
120
- */
121
- export const HospitalsConsultationTimetablesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
122
- const localVarFp = HospitalsConsultationTimetablesApiFp(configuration)
123
- return {
124
- /**
125
- *
126
- * @summary Get hospital consultation timetables by hospitalId
127
- * @param {string} hospitalId
128
- * @param {number} [year]
129
- * @param {number} [month]
130
- * @param {string} [timeZone]
131
- * @param {string} [consultationIdExcluded]
132
- * @param {*} [options] Override http request option.
133
- * @throws {RequiredError}
134
- */
135
- apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, consultationIdExcluded?: string, options?: any): AxiosPromise<ConsultationTimetableModel> {
136
- return localVarFp.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, consultationIdExcluded, options).then((request) => request(axios, basePath));
137
- },
138
- };
139
- };
140
-
141
- /**
142
- * Request parameters for apiV2HospitalsHospitalIdConsultationtimetablesGet operation in HospitalsConsultationTimetablesApi.
143
- * @export
144
- * @interface HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGetRequest
145
- */
146
- export interface HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGetRequest {
147
- /**
148
- *
149
- * @type {string}
150
- * @memberof HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGet
151
- */
152
- readonly hospitalId: string
153
-
154
- /**
155
- *
156
- * @type {number}
157
- * @memberof HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGet
158
- */
159
- readonly year?: number
160
-
161
- /**
162
- *
163
- * @type {number}
164
- * @memberof HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGet
165
- */
166
- readonly month?: number
167
-
168
- /**
169
- *
170
- * @type {string}
171
- * @memberof HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGet
172
- */
173
- readonly timeZone?: string
174
-
175
- /**
176
- *
177
- * @type {string}
178
- * @memberof HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGet
179
- */
180
- readonly consultationIdExcluded?: string
181
- }
182
-
183
- /**
184
- * HospitalsConsultationTimetablesApi - object-oriented interface
185
- * @export
186
- * @class HospitalsConsultationTimetablesApi
187
- * @extends {BaseAPI}
188
- */
189
- export class HospitalsConsultationTimetablesApi extends BaseAPI {
190
- /**
191
- *
192
- * @summary Get hospital consultation timetables by hospitalId
193
- * @param {HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGetRequest} requestParameters Request parameters.
194
- * @param {*} [options] Override http request option.
195
- * @throws {RequiredError}
196
- * @memberof HospitalsConsultationTimetablesApi
197
- */
198
- public apiV2HospitalsHospitalIdConsultationtimetablesGet(requestParameters: HospitalsConsultationTimetablesApiApiV2HospitalsHospitalIdConsultationtimetablesGetRequest, options?: AxiosRequestConfig) {
199
- return HospitalsConsultationTimetablesApiFp(this.configuration).apiV2HospitalsHospitalIdConsultationtimetablesGet(requestParameters.hospitalId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.consultationIdExcluded, options).then((request) => request(this.axios, this.basePath));
200
- }
201
- }
@@ -1,51 +0,0 @@
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 { BookingStatus } from './booking-status';
19
-
20
- /**
21
- *
22
- * @export
23
- * @interface BookingChangeLogModel
24
- */
25
- export interface BookingChangeLogModel {
26
- /**
27
- *
28
- * @type {BookingStatus}
29
- * @memberof BookingChangeLogModel
30
- */
31
- 'status'?: BookingStatus;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof BookingChangeLogModel
36
- */
37
- 'actorId'?: string;
38
- /**
39
- *
40
- * @type {Date}
41
- * @memberof BookingChangeLogModel
42
- */
43
- 'createdDate'?: Date;
44
- /**
45
- *
46
- * @type {string}
47
- * @memberof BookingChangeLogModel
48
- */
49
- 'actorName'?: string | null;
50
- }
51
-
@@ -1,246 +0,0 @@
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 { BookingStatus } from './booking-status';
19
- // May contain unused imports in some cases
20
- // @ts-ignore
21
- import { Gender } from './gender';
22
- // May contain unused imports in some cases
23
- // @ts-ignore
24
- import { RefundPolicy } from './refund-policy';
25
- // May contain unused imports in some cases
26
- // @ts-ignore
27
- import { RejectReason } from './reject-reason';
28
-
29
- /**
30
- *
31
- * @export
32
- * @interface BookingItemModel
33
- */
34
- export interface BookingItemModel {
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof BookingItemModel
39
- */
40
- 'id'?: string;
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof BookingItemModel
45
- */
46
- 'languageCode'?: string | null;
47
- /**
48
- *
49
- * @type {string}
50
- * @memberof BookingItemModel
51
- */
52
- 'patientId'?: string;
53
- /**
54
- *
55
- * @type {string}
56
- * @memberof BookingItemModel
57
- */
58
- 'patientName'?: string | null;
59
- /**
60
- *
61
- * @type {string}
62
- * @memberof BookingItemModel
63
- */
64
- 'patientPhoto'?: string | null;
65
- /**
66
- *
67
- * @type {string}
68
- * @memberof BookingItemModel
69
- */
70
- 'firstName'?: string | null;
71
- /**
72
- *
73
- * @type {string}
74
- * @memberof BookingItemModel
75
- */
76
- 'lastName'?: string | null;
77
- /**
78
- *
79
- * @type {string}
80
- * @memberof BookingItemModel
81
- */
82
- 'email'?: string | null;
83
- /**
84
- *
85
- * @type {string}
86
- * @memberof BookingItemModel
87
- */
88
- 'phone'?: string | null;
89
- /**
90
- *
91
- * @type {Date}
92
- * @memberof BookingItemModel
93
- */
94
- 'dateOfBirth'?: Date | null;
95
- /**
96
- *
97
- * @type {Gender}
98
- * @memberof BookingItemModel
99
- */
100
- 'gender'?: Gender;
101
- /**
102
- *
103
- * @type {string}
104
- * @memberof BookingItemModel
105
- */
106
- 'comment'?: string | null;
107
- /**
108
- *
109
- * @type {string}
110
- * @memberof BookingItemModel
111
- */
112
- 'hospitalId'?: string;
113
- /**
114
- *
115
- * @type {string}
116
- * @memberof BookingItemModel
117
- */
118
- 'hospitalName'?: string | null;
119
- /**
120
- *
121
- * @type {string}
122
- * @memberof BookingItemModel
123
- */
124
- 'hospitalSlug'?: string | null;
125
- /**
126
- *
127
- * @type {string}
128
- * @memberof BookingItemModel
129
- */
130
- 'hospitalTimeZone'?: string | null;
131
- /**
132
- *
133
- * @type {string}
134
- * @memberof BookingItemModel
135
- */
136
- 'dealId'?: string;
137
- /**
138
- *
139
- * @type {string}
140
- * @memberof BookingItemModel
141
- */
142
- 'dealName'?: string | null;
143
- /**
144
- *
145
- * @type {string}
146
- * @memberof BookingItemModel
147
- */
148
- 'dealSlug'?: string | null;
149
- /**
150
- *
151
- * @type {string}
152
- * @memberof BookingItemModel
153
- */
154
- 'dealPackageId'?: string;
155
- /**
156
- *
157
- * @type {RefundPolicy}
158
- * @memberof BookingItemModel
159
- */
160
- 'refundPolicy'?: RefundPolicy;
161
- /**
162
- *
163
- * @type {number}
164
- * @memberof BookingItemModel
165
- */
166
- 'quantity'?: number;
167
- /**
168
- *
169
- * @type {Date}
170
- * @memberof BookingItemModel
171
- */
172
- 'approximateDateStart'?: Date;
173
- /**
174
- *
175
- * @type {Date}
176
- * @memberof BookingItemModel
177
- */
178
- 'approximateDateEnd'?: Date;
179
- /**
180
- *
181
- * @type {Date}
182
- * @memberof BookingItemModel
183
- */
184
- 'confirmedDateStart'?: Date | null;
185
- /**
186
- *
187
- * @type {Date}
188
- * @memberof BookingItemModel
189
- */
190
- 'confirmedDateEnd'?: Date | null;
191
- /**
192
- *
193
- * @type {number}
194
- * @memberof BookingItemModel
195
- */
196
- 'fee'?: number;
197
- /**
198
- *
199
- * @type {number}
200
- * @memberof BookingItemModel
201
- */
202
- 'applicationFee'?: number;
203
- /**
204
- *
205
- * @type {string}
206
- * @memberof BookingItemModel
207
- */
208
- 'timeZone'?: string | null;
209
- /**
210
- *
211
- * @type {Date}
212
- * @memberof BookingItemModel
213
- */
214
- 'requestDate'?: Date;
215
- /**
216
- *
217
- * @type {BookingStatus}
218
- * @memberof BookingItemModel
219
- */
220
- 'status'?: BookingStatus;
221
- /**
222
- *
223
- * @type {RejectReason}
224
- * @memberof BookingItemModel
225
- */
226
- 'rejectReason'?: RejectReason;
227
- /**
228
- *
229
- * @type {string}
230
- * @memberof BookingItemModel
231
- */
232
- 'rejectComment'?: string | null;
233
- /**
234
- *
235
- * @type {boolean}
236
- * @memberof BookingItemModel
237
- */
238
- 'isOpen'?: boolean;
239
- /**
240
- *
241
- * @type {boolean}
242
- * @memberof BookingItemModel
243
- */
244
- 'isExternal'?: boolean;
245
- }
246
-