ch-admin-api-client-typescript 5.22.1 → 5.23.8

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 (193) hide show
  1. package/lib/api/appointments-api.d.ts +47 -0
  2. package/lib/api/appointments-api.d.ts.map +1 -1
  3. package/lib/api/appointments-api.js +85 -0
  4. package/lib/api/deals-api.d.ts +110 -0
  5. package/lib/api/deals-api.d.ts.map +1 -1
  6. package/lib/api/deals-api.js +127 -0
  7. package/lib/api/doctor-affiliations-api.d.ts +101 -0
  8. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  9. package/lib/api/doctor-affiliations-api.js +121 -0
  10. package/lib/api/hospitals-api.d.ts +328 -0
  11. package/lib/api/hospitals-api.d.ts.map +1 -1
  12. package/lib/api/hospitals-api.js +381 -0
  13. package/lib/api/patient-affiliations-api.d.ts +216 -0
  14. package/lib/api/patient-affiliations-api.d.ts.map +1 -0
  15. package/lib/api/patient-affiliations-api.js +358 -0
  16. package/lib/api/patients-api.d.ts +191 -3
  17. package/lib/api/patients-api.d.ts.map +1 -1
  18. package/lib/api/patients-api.js +289 -6
  19. package/lib/api/prescriptions-api.d.ts +447 -0
  20. package/lib/api/prescriptions-api.d.ts.map +1 -0
  21. package/lib/api/prescriptions-api.js +727 -0
  22. package/lib/api.d.ts +2 -0
  23. package/lib/api.d.ts.map +1 -1
  24. package/lib/api.js +2 -0
  25. package/lib/models/appointment-timetable-date-model.d.ts +58 -0
  26. package/lib/models/appointment-timetable-date-model.d.ts.map +1 -0
  27. package/lib/models/appointment-timetable-date-model.js +15 -0
  28. package/lib/models/appointment-timetable-status.d.ts +22 -0
  29. package/lib/models/appointment-timetable-status.d.ts.map +1 -0
  30. package/lib/models/appointment-timetable-status.js +25 -0
  31. package/lib/models/appointment-timetable-time-slot-model.d.ts +74 -0
  32. package/lib/models/appointment-timetable-time-slot-model.d.ts.map +1 -0
  33. package/lib/models/appointment-timetable-time-slot-model.js +15 -0
  34. package/lib/models/chadmin-item-model.d.ts +3 -3
  35. package/lib/models/chadmin-item-model.d.ts.map +1 -1
  36. package/lib/models/chadmin-model.d.ts +3 -3
  37. package/lib/models/chadmin-model.d.ts.map +1 -1
  38. package/lib/models/chmanager-item-model.d.ts +3 -3
  39. package/lib/models/chmanager-item-model.d.ts.map +1 -1
  40. package/lib/models/chmanager-model.d.ts +3 -3
  41. package/lib/models/chmanager-model.d.ts.map +1 -1
  42. package/lib/models/create-article-command.d.ts +6 -0
  43. package/lib/models/create-article-command.d.ts.map +1 -1
  44. package/lib/models/create-doctor-affiliation-command.d.ts +6 -0
  45. package/lib/models/create-doctor-affiliation-command.d.ts.map +1 -1
  46. package/lib/models/create-hospital-command.d.ts +24 -0
  47. package/lib/models/create-hospital-command.d.ts.map +1 -1
  48. package/lib/models/create-patient-affiliation-command.d.ts +109 -0
  49. package/lib/models/create-patient-affiliation-command.d.ts.map +1 -0
  50. package/lib/models/create-patient-affiliation-command.js +15 -0
  51. package/lib/models/create-patient-command.d.ts +90 -0
  52. package/lib/models/create-patient-command.d.ts.map +1 -1
  53. package/lib/models/create-prescription-command.d.ts +184 -0
  54. package/lib/models/create-prescription-command.d.ts.map +1 -0
  55. package/lib/models/create-prescription-command.js +15 -0
  56. package/lib/models/create-walk-in-appointment-command.d.ts +154 -0
  57. package/lib/models/create-walk-in-appointment-command.d.ts.map +1 -0
  58. package/lib/models/create-walk-in-appointment-command.js +15 -0
  59. package/lib/models/doctor-affiliation-item-model.d.ts +3 -3
  60. package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
  61. package/lib/models/doctor-affiliation-model.d.ts +9 -3
  62. package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
  63. package/lib/models/doctor-item-model.d.ts +3 -3
  64. package/lib/models/doctor-item-model.d.ts.map +1 -1
  65. package/lib/models/doctor-model.d.ts +3 -3
  66. package/lib/models/doctor-model.d.ts.map +1 -1
  67. package/lib/models/get-appointment-timetables-response-model.d.ts +44 -0
  68. package/lib/models/get-appointment-timetables-response-model.d.ts.map +1 -0
  69. package/lib/models/get-appointment-timetables-response-model.js +15 -0
  70. package/lib/models/get-patient-walk-in-query.d.ts +37 -0
  71. package/lib/models/get-patient-walk-in-query.d.ts.map +1 -0
  72. package/lib/models/get-patient-walk-in-query.js +15 -0
  73. package/lib/models/hospital-model.d.ts +24 -0
  74. package/lib/models/hospital-model.d.ts.map +1 -1
  75. package/lib/models/index.d.ts +23 -0
  76. package/lib/models/index.d.ts.map +1 -1
  77. package/lib/models/index.js +23 -0
  78. package/lib/models/manager-item-model.d.ts +3 -3
  79. package/lib/models/manager-item-model.d.ts.map +1 -1
  80. package/lib/models/manager-model.d.ts +3 -3
  81. package/lib/models/manager-model.d.ts.map +1 -1
  82. package/lib/models/patient-affiliation-item-model.d.ts +153 -0
  83. package/lib/models/patient-affiliation-item-model.d.ts.map +1 -0
  84. package/lib/models/patient-affiliation-item-model.js +15 -0
  85. package/lib/models/patient-affiliation-model.d.ts +153 -0
  86. package/lib/models/patient-affiliation-model.d.ts.map +1 -0
  87. package/lib/models/patient-affiliation-model.js +15 -0
  88. package/lib/models/patient-affiliations-model.d.ts +33 -0
  89. package/lib/models/patient-affiliations-model.d.ts.map +1 -0
  90. package/lib/models/patient-affiliations-model.js +15 -0
  91. package/lib/models/patient-item-model.d.ts +3 -3
  92. package/lib/models/patient-item-model.d.ts.map +1 -1
  93. package/lib/models/patient-model.d.ts +3 -3
  94. package/lib/models/patient-model.d.ts.map +1 -1
  95. package/lib/models/patient-walk-in-model.d.ts +32 -0
  96. package/lib/models/patient-walk-in-model.d.ts.map +1 -0
  97. package/lib/models/patient-walk-in-model.js +15 -0
  98. package/lib/models/prescription-diagnosis-input-model.d.ts +37 -0
  99. package/lib/models/prescription-diagnosis-input-model.d.ts.map +1 -0
  100. package/lib/models/prescription-diagnosis-input-model.js +15 -0
  101. package/lib/models/prescription-diagnosis-item-model.d.ts +37 -0
  102. package/lib/models/prescription-diagnosis-item-model.d.ts.map +1 -0
  103. package/lib/models/prescription-diagnosis-item-model.js +15 -0
  104. package/lib/models/prescription-item-model.d.ts +164 -0
  105. package/lib/models/prescription-item-model.d.ts.map +1 -0
  106. package/lib/models/prescription-item-model.js +15 -0
  107. package/lib/models/prescription-medication-input-model.d.ts +79 -0
  108. package/lib/models/prescription-medication-input-model.d.ts.map +1 -0
  109. package/lib/models/prescription-medication-input-model.js +15 -0
  110. package/lib/models/prescription-medication-item-model.d.ts +79 -0
  111. package/lib/models/prescription-medication-item-model.d.ts.map +1 -0
  112. package/lib/models/prescription-medication-item-model.js +15 -0
  113. package/lib/models/prescription-model.d.ts +185 -0
  114. package/lib/models/prescription-model.d.ts.map +1 -0
  115. package/lib/models/prescription-model.js +15 -0
  116. package/lib/models/prescription-symptom-input-model.d.ts +49 -0
  117. package/lib/models/prescription-symptom-input-model.d.ts.map +1 -0
  118. package/lib/models/prescription-symptom-input-model.js +15 -0
  119. package/lib/models/prescription-symptom-item-model.d.ts +49 -0
  120. package/lib/models/prescription-symptom-item-model.d.ts.map +1 -0
  121. package/lib/models/prescription-symptom-item-model.js +15 -0
  122. package/lib/models/prescriptions-model.d.ts +33 -0
  123. package/lib/models/prescriptions-model.d.ts.map +1 -0
  124. package/lib/models/prescriptions-model.js +15 -0
  125. package/lib/models/update-article-command.d.ts +6 -0
  126. package/lib/models/update-article-command.d.ts.map +1 -1
  127. package/lib/models/update-doctor-affiliation-command.d.ts +6 -0
  128. package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
  129. package/lib/models/update-hospital-command.d.ts +24 -0
  130. package/lib/models/update-hospital-command.d.ts.map +1 -1
  131. package/lib/models/update-patient-affiliation-command.d.ts +115 -0
  132. package/lib/models/update-patient-affiliation-command.d.ts.map +1 -0
  133. package/lib/models/update-patient-affiliation-command.js +15 -0
  134. package/lib/models/update-prescription-command.d.ts +154 -0
  135. package/lib/models/update-prescription-command.d.ts.map +1 -0
  136. package/lib/models/update-prescription-command.js +15 -0
  137. package/lib/models/user-model.d.ts +3 -3
  138. package/lib/models/user-model.d.ts.map +1 -1
  139. package/package.json +1 -1
  140. package/src/.openapi-generator/FILES +25 -0
  141. package/src/api/appointments-api.ts +87 -0
  142. package/src/api/deals-api.ts +184 -0
  143. package/src/api/doctor-affiliations-api.ts +171 -0
  144. package/src/api/hospitals-api.ts +548 -0
  145. package/src/api/patient-affiliations-api.ts +361 -0
  146. package/src/api/patients-api.ts +337 -6
  147. package/src/api/prescriptions-api.ts +776 -0
  148. package/src/api.ts +2 -0
  149. package/src/models/appointment-timetable-date-model.ts +69 -0
  150. package/src/models/appointment-timetable-status.ts +31 -0
  151. package/src/models/appointment-timetable-time-slot-model.ts +81 -0
  152. package/src/models/chadmin-item-model.ts +3 -3
  153. package/src/models/chadmin-model.ts +3 -3
  154. package/src/models/chmanager-item-model.ts +3 -3
  155. package/src/models/chmanager-model.ts +3 -3
  156. package/src/models/create-article-command.ts +6 -0
  157. package/src/models/create-doctor-affiliation-command.ts +6 -0
  158. package/src/models/create-hospital-command.ts +24 -0
  159. package/src/models/create-patient-affiliation-command.ts +114 -0
  160. package/src/models/create-patient-command.ts +90 -0
  161. package/src/models/create-prescription-command.ts +195 -0
  162. package/src/models/create-walk-in-appointment-command.ts +165 -0
  163. package/src/models/doctor-affiliation-item-model.ts +3 -3
  164. package/src/models/doctor-affiliation-model.ts +9 -3
  165. package/src/models/doctor-item-model.ts +3 -3
  166. package/src/models/doctor-model.ts +3 -3
  167. package/src/models/get-appointment-timetables-response-model.ts +51 -0
  168. package/src/models/get-patient-walk-in-query.ts +42 -0
  169. package/src/models/hospital-model.ts +24 -0
  170. package/src/models/index.ts +23 -0
  171. package/src/models/manager-item-model.ts +3 -3
  172. package/src/models/manager-model.ts +3 -3
  173. package/src/models/patient-affiliation-item-model.ts +162 -0
  174. package/src/models/patient-affiliation-model.ts +162 -0
  175. package/src/models/patient-affiliations-model.ts +42 -0
  176. package/src/models/patient-item-model.ts +3 -3
  177. package/src/models/patient-model.ts +3 -3
  178. package/src/models/patient-walk-in-model.ts +39 -0
  179. package/src/models/prescription-diagnosis-input-model.ts +42 -0
  180. package/src/models/prescription-diagnosis-item-model.ts +42 -0
  181. package/src/models/prescription-item-model.ts +171 -0
  182. package/src/models/prescription-medication-input-model.ts +84 -0
  183. package/src/models/prescription-medication-item-model.ts +84 -0
  184. package/src/models/prescription-model.ts +198 -0
  185. package/src/models/prescription-symptom-input-model.ts +54 -0
  186. package/src/models/prescription-symptom-item-model.ts +54 -0
  187. package/src/models/prescriptions-model.ts +42 -0
  188. package/src/models/update-article-command.ts +6 -0
  189. package/src/models/update-doctor-affiliation-command.ts +6 -0
  190. package/src/models/update-hospital-command.ts +24 -0
  191. package/src/models/update-patient-affiliation-command.ts +120 -0
  192. package/src/models/update-prescription-command.ts +165 -0
  193. package/src/models/user-model.ts +3 -3
@@ -0,0 +1,216 @@
1
+ /**
2
+ * Swagger UI - Cloud Hospital Admin Api-INT
3
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 1
6
+ * Contact: hyounoosung@icloudhospital.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { PatientAffiliationModel } from '../models';
16
+ import { PatientAffiliationsModel } from '../models';
17
+ /**
18
+ * PatientAffiliationsApi - axios parameter creator
19
+ * @export
20
+ */
21
+ export declare const PatientAffiliationsApiAxiosParamCreator: (configuration?: Configuration) => {
22
+ /**
23
+ *
24
+ * @summary Get all patientAffiliations
25
+ * @param {string} [languageCode]
26
+ * @param {string} [hospitalId]
27
+ * @param {string} [patientId]
28
+ * @param {string} [patientName]
29
+ * @param {string} [patientPhoneNumber]
30
+ * @param {boolean} [showHidden]
31
+ * @param {number} [page]
32
+ * @param {number} [limit]
33
+ * @param {Date} [lastRetrieved]
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ apiV1PatientaffiliationsGet: (languageCode?: string, hospitalId?: string, patientId?: string, patientName?: string, patientPhoneNumber?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ *
40
+ * @summary Get patientAffiliation by id
41
+ * @param {string} patientAffiliationId
42
+ * @param {string} [languageCode]
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ apiV1PatientaffiliationsPatientAffiliationIdGet: (patientAffiliationId: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
+ };
48
+ /**
49
+ * PatientAffiliationsApi - functional programming interface
50
+ * @export
51
+ */
52
+ export declare const PatientAffiliationsApiFp: (configuration?: Configuration) => {
53
+ /**
54
+ *
55
+ * @summary Get all patientAffiliations
56
+ * @param {string} [languageCode]
57
+ * @param {string} [hospitalId]
58
+ * @param {string} [patientId]
59
+ * @param {string} [patientName]
60
+ * @param {string} [patientPhoneNumber]
61
+ * @param {boolean} [showHidden]
62
+ * @param {number} [page]
63
+ * @param {number} [limit]
64
+ * @param {Date} [lastRetrieved]
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ apiV1PatientaffiliationsGet(languageCode?: string, hospitalId?: string, patientId?: string, patientName?: string, patientPhoneNumber?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientAffiliationsModel>>;
69
+ /**
70
+ *
71
+ * @summary Get patientAffiliation by id
72
+ * @param {string} patientAffiliationId
73
+ * @param {string} [languageCode]
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ apiV1PatientaffiliationsPatientAffiliationIdGet(patientAffiliationId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientAffiliationModel>>;
78
+ };
79
+ /**
80
+ * PatientAffiliationsApi - factory interface
81
+ * @export
82
+ */
83
+ export declare const PatientAffiliationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
84
+ /**
85
+ *
86
+ * @summary Get all patientAffiliations
87
+ * @param {string} [languageCode]
88
+ * @param {string} [hospitalId]
89
+ * @param {string} [patientId]
90
+ * @param {string} [patientName]
91
+ * @param {string} [patientPhoneNumber]
92
+ * @param {boolean} [showHidden]
93
+ * @param {number} [page]
94
+ * @param {number} [limit]
95
+ * @param {Date} [lastRetrieved]
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ apiV1PatientaffiliationsGet(languageCode?: string, hospitalId?: string, patientId?: string, patientName?: string, patientPhoneNumber?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PatientAffiliationsModel>;
100
+ /**
101
+ *
102
+ * @summary Get patientAffiliation by id
103
+ * @param {string} patientAffiliationId
104
+ * @param {string} [languageCode]
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ apiV1PatientaffiliationsPatientAffiliationIdGet(patientAffiliationId: string, languageCode?: string, options?: any): AxiosPromise<PatientAffiliationModel>;
109
+ };
110
+ /**
111
+ * Request parameters for apiV1PatientaffiliationsGet operation in PatientAffiliationsApi.
112
+ * @export
113
+ * @interface PatientAffiliationsApiApiV1PatientaffiliationsGetRequest
114
+ */
115
+ export interface PatientAffiliationsApiApiV1PatientaffiliationsGetRequest {
116
+ /**
117
+ *
118
+ * @type {string}
119
+ * @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
120
+ */
121
+ readonly languageCode?: string;
122
+ /**
123
+ *
124
+ * @type {string}
125
+ * @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
126
+ */
127
+ readonly hospitalId?: string;
128
+ /**
129
+ *
130
+ * @type {string}
131
+ * @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
132
+ */
133
+ readonly patientId?: string;
134
+ /**
135
+ *
136
+ * @type {string}
137
+ * @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
138
+ */
139
+ readonly patientName?: string;
140
+ /**
141
+ *
142
+ * @type {string}
143
+ * @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
144
+ */
145
+ readonly patientPhoneNumber?: string;
146
+ /**
147
+ *
148
+ * @type {boolean}
149
+ * @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
150
+ */
151
+ readonly showHidden?: boolean;
152
+ /**
153
+ *
154
+ * @type {number}
155
+ * @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
156
+ */
157
+ readonly page?: number;
158
+ /**
159
+ *
160
+ * @type {number}
161
+ * @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
162
+ */
163
+ readonly limit?: number;
164
+ /**
165
+ *
166
+ * @type {Date}
167
+ * @memberof PatientAffiliationsApiApiV1PatientaffiliationsGet
168
+ */
169
+ readonly lastRetrieved?: Date;
170
+ }
171
+ /**
172
+ * Request parameters for apiV1PatientaffiliationsPatientAffiliationIdGet operation in PatientAffiliationsApi.
173
+ * @export
174
+ * @interface PatientAffiliationsApiApiV1PatientaffiliationsPatientAffiliationIdGetRequest
175
+ */
176
+ export interface PatientAffiliationsApiApiV1PatientaffiliationsPatientAffiliationIdGetRequest {
177
+ /**
178
+ *
179
+ * @type {string}
180
+ * @memberof PatientAffiliationsApiApiV1PatientaffiliationsPatientAffiliationIdGet
181
+ */
182
+ readonly patientAffiliationId: string;
183
+ /**
184
+ *
185
+ * @type {string}
186
+ * @memberof PatientAffiliationsApiApiV1PatientaffiliationsPatientAffiliationIdGet
187
+ */
188
+ readonly languageCode?: string;
189
+ }
190
+ /**
191
+ * PatientAffiliationsApi - object-oriented interface
192
+ * @export
193
+ * @class PatientAffiliationsApi
194
+ * @extends {BaseAPI}
195
+ */
196
+ export declare class PatientAffiliationsApi extends BaseAPI {
197
+ /**
198
+ *
199
+ * @summary Get all patientAffiliations
200
+ * @param {PatientAffiliationsApiApiV1PatientaffiliationsGetRequest} requestParameters Request parameters.
201
+ * @param {*} [options] Override http request option.
202
+ * @throws {RequiredError}
203
+ * @memberof PatientAffiliationsApi
204
+ */
205
+ apiV1PatientaffiliationsGet(requestParameters?: PatientAffiliationsApiApiV1PatientaffiliationsGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientAffiliationsModel, any>>;
206
+ /**
207
+ *
208
+ * @summary Get patientAffiliation by id
209
+ * @param {PatientAffiliationsApiApiV1PatientaffiliationsPatientAffiliationIdGetRequest} requestParameters Request parameters.
210
+ * @param {*} [options] Override http request option.
211
+ * @throws {RequiredError}
212
+ * @memberof PatientAffiliationsApi
213
+ */
214
+ apiV1PatientaffiliationsPatientAffiliationIdGet(requestParameters: PatientAffiliationsApiApiV1PatientaffiliationsPatientAffiliationIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientAffiliationModel, any>>;
215
+ }
216
+ //# sourceMappingURL=patient-affiliations-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patient-affiliations-api.d.ts","sourceRoot":"","sources":["../../src/api/patient-affiliations-api.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,358 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger UI - Cloud Hospital Admin Api-INT
6
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 1
9
+ * Contact: hyounoosung@icloudhospital.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.PatientAffiliationsApi = exports.PatientAffiliationsApiFactory = exports.PatientAffiliationsApiFp = exports.PatientAffiliationsApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ /**
89
+ * PatientAffiliationsApi - axios parameter creator
90
+ * @export
91
+ */
92
+ var PatientAffiliationsApiAxiosParamCreator = function (configuration) {
93
+ var _this = this;
94
+ return {
95
+ /**
96
+ *
97
+ * @summary Get all patientAffiliations
98
+ * @param {string} [languageCode]
99
+ * @param {string} [hospitalId]
100
+ * @param {string} [patientId]
101
+ * @param {string} [patientName]
102
+ * @param {string} [patientPhoneNumber]
103
+ * @param {boolean} [showHidden]
104
+ * @param {number} [page]
105
+ * @param {number} [limit]
106
+ * @param {Date} [lastRetrieved]
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ apiV1PatientaffiliationsGet: function (languageCode, hospitalId, patientId, patientName, patientPhoneNumber, showHidden, page, limit, lastRetrieved, options) {
111
+ if (options === void 0) { options = {}; }
112
+ return __awaiter(_this, void 0, void 0, function () {
113
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
114
+ return __generator(this, function (_a) {
115
+ switch (_a.label) {
116
+ case 0:
117
+ localVarPath = "/api/v1/patientaffiliations";
118
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
119
+ if (configuration) {
120
+ baseOptions = configuration.baseOptions;
121
+ }
122
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
123
+ localVarHeaderParameter = {};
124
+ localVarQueryParameter = {};
125
+ // authentication oauth2 required
126
+ // oauth required
127
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
128
+ case 1:
129
+ // authentication oauth2 required
130
+ // oauth required
131
+ _a.sent();
132
+ if (languageCode !== undefined) {
133
+ localVarQueryParameter['LanguageCode'] = languageCode;
134
+ }
135
+ if (hospitalId !== undefined) {
136
+ localVarQueryParameter['HospitalId'] = hospitalId;
137
+ }
138
+ if (patientId !== undefined) {
139
+ localVarQueryParameter['PatientId'] = patientId;
140
+ }
141
+ if (patientName !== undefined) {
142
+ localVarQueryParameter['PatientName'] = patientName;
143
+ }
144
+ if (patientPhoneNumber !== undefined) {
145
+ localVarQueryParameter['PatientPhoneNumber'] = patientPhoneNumber;
146
+ }
147
+ if (showHidden !== undefined) {
148
+ localVarQueryParameter['ShowHidden'] = showHidden;
149
+ }
150
+ if (page !== undefined) {
151
+ localVarQueryParameter['page'] = page;
152
+ }
153
+ if (limit !== undefined) {
154
+ localVarQueryParameter['limit'] = limit;
155
+ }
156
+ if (lastRetrieved !== undefined) {
157
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
158
+ lastRetrieved.toISOString() :
159
+ lastRetrieved;
160
+ }
161
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
162
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
163
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
164
+ return [2 /*return*/, {
165
+ url: (0, common_1.toPathString)(localVarUrlObj),
166
+ options: localVarRequestOptions,
167
+ }];
168
+ }
169
+ });
170
+ });
171
+ },
172
+ /**
173
+ *
174
+ * @summary Get patientAffiliation by id
175
+ * @param {string} patientAffiliationId
176
+ * @param {string} [languageCode]
177
+ * @param {*} [options] Override http request option.
178
+ * @throws {RequiredError}
179
+ */
180
+ apiV1PatientaffiliationsPatientAffiliationIdGet: function (patientAffiliationId, languageCode, options) {
181
+ if (options === void 0) { options = {}; }
182
+ return __awaiter(_this, void 0, void 0, function () {
183
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
184
+ return __generator(this, function (_a) {
185
+ switch (_a.label) {
186
+ case 0:
187
+ // verify required parameter 'patientAffiliationId' is not null or undefined
188
+ (0, common_1.assertParamExists)('apiV1PatientaffiliationsPatientAffiliationIdGet', 'patientAffiliationId', patientAffiliationId);
189
+ localVarPath = "/api/v1/patientaffiliations/{patientAffiliationId}"
190
+ .replace("{".concat("patientAffiliationId", "}"), encodeURIComponent(String(patientAffiliationId)));
191
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
192
+ if (configuration) {
193
+ baseOptions = configuration.baseOptions;
194
+ }
195
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
196
+ localVarHeaderParameter = {};
197
+ localVarQueryParameter = {};
198
+ // authentication oauth2 required
199
+ // oauth required
200
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
201
+ case 1:
202
+ // authentication oauth2 required
203
+ // oauth required
204
+ _a.sent();
205
+ if (languageCode !== undefined) {
206
+ localVarQueryParameter['languageCode'] = languageCode;
207
+ }
208
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
209
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
210
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
211
+ return [2 /*return*/, {
212
+ url: (0, common_1.toPathString)(localVarUrlObj),
213
+ options: localVarRequestOptions,
214
+ }];
215
+ }
216
+ });
217
+ });
218
+ },
219
+ };
220
+ };
221
+ exports.PatientAffiliationsApiAxiosParamCreator = PatientAffiliationsApiAxiosParamCreator;
222
+ /**
223
+ * PatientAffiliationsApi - functional programming interface
224
+ * @export
225
+ */
226
+ var PatientAffiliationsApiFp = function (configuration) {
227
+ var localVarAxiosParamCreator = (0, exports.PatientAffiliationsApiAxiosParamCreator)(configuration);
228
+ return {
229
+ /**
230
+ *
231
+ * @summary Get all patientAffiliations
232
+ * @param {string} [languageCode]
233
+ * @param {string} [hospitalId]
234
+ * @param {string} [patientId]
235
+ * @param {string} [patientName]
236
+ * @param {string} [patientPhoneNumber]
237
+ * @param {boolean} [showHidden]
238
+ * @param {number} [page]
239
+ * @param {number} [limit]
240
+ * @param {Date} [lastRetrieved]
241
+ * @param {*} [options] Override http request option.
242
+ * @throws {RequiredError}
243
+ */
244
+ apiV1PatientaffiliationsGet: function (languageCode, hospitalId, patientId, patientName, patientPhoneNumber, showHidden, page, limit, lastRetrieved, options) {
245
+ return __awaiter(this, void 0, void 0, function () {
246
+ var localVarAxiosArgs;
247
+ return __generator(this, function (_a) {
248
+ switch (_a.label) {
249
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1PatientaffiliationsGet(languageCode, hospitalId, patientId, patientName, patientPhoneNumber, showHidden, page, limit, lastRetrieved, options)];
250
+ case 1:
251
+ localVarAxiosArgs = _a.sent();
252
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
253
+ }
254
+ });
255
+ });
256
+ },
257
+ /**
258
+ *
259
+ * @summary Get patientAffiliation by id
260
+ * @param {string} patientAffiliationId
261
+ * @param {string} [languageCode]
262
+ * @param {*} [options] Override http request option.
263
+ * @throws {RequiredError}
264
+ */
265
+ apiV1PatientaffiliationsPatientAffiliationIdGet: function (patientAffiliationId, languageCode, options) {
266
+ return __awaiter(this, void 0, void 0, function () {
267
+ var localVarAxiosArgs;
268
+ return __generator(this, function (_a) {
269
+ switch (_a.label) {
270
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1PatientaffiliationsPatientAffiliationIdGet(patientAffiliationId, languageCode, options)];
271
+ case 1:
272
+ localVarAxiosArgs = _a.sent();
273
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
274
+ }
275
+ });
276
+ });
277
+ },
278
+ };
279
+ };
280
+ exports.PatientAffiliationsApiFp = PatientAffiliationsApiFp;
281
+ /**
282
+ * PatientAffiliationsApi - factory interface
283
+ * @export
284
+ */
285
+ var PatientAffiliationsApiFactory = function (configuration, basePath, axios) {
286
+ var localVarFp = (0, exports.PatientAffiliationsApiFp)(configuration);
287
+ return {
288
+ /**
289
+ *
290
+ * @summary Get all patientAffiliations
291
+ * @param {string} [languageCode]
292
+ * @param {string} [hospitalId]
293
+ * @param {string} [patientId]
294
+ * @param {string} [patientName]
295
+ * @param {string} [patientPhoneNumber]
296
+ * @param {boolean} [showHidden]
297
+ * @param {number} [page]
298
+ * @param {number} [limit]
299
+ * @param {Date} [lastRetrieved]
300
+ * @param {*} [options] Override http request option.
301
+ * @throws {RequiredError}
302
+ */
303
+ apiV1PatientaffiliationsGet: function (languageCode, hospitalId, patientId, patientName, patientPhoneNumber, showHidden, page, limit, lastRetrieved, options) {
304
+ return localVarFp.apiV1PatientaffiliationsGet(languageCode, hospitalId, patientId, patientName, patientPhoneNumber, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
305
+ },
306
+ /**
307
+ *
308
+ * @summary Get patientAffiliation by id
309
+ * @param {string} patientAffiliationId
310
+ * @param {string} [languageCode]
311
+ * @param {*} [options] Override http request option.
312
+ * @throws {RequiredError}
313
+ */
314
+ apiV1PatientaffiliationsPatientAffiliationIdGet: function (patientAffiliationId, languageCode, options) {
315
+ return localVarFp.apiV1PatientaffiliationsPatientAffiliationIdGet(patientAffiliationId, languageCode, options).then(function (request) { return request(axios, basePath); });
316
+ },
317
+ };
318
+ };
319
+ exports.PatientAffiliationsApiFactory = PatientAffiliationsApiFactory;
320
+ /**
321
+ * PatientAffiliationsApi - object-oriented interface
322
+ * @export
323
+ * @class PatientAffiliationsApi
324
+ * @extends {BaseAPI}
325
+ */
326
+ var PatientAffiliationsApi = /** @class */ (function (_super) {
327
+ __extends(PatientAffiliationsApi, _super);
328
+ function PatientAffiliationsApi() {
329
+ return _super !== null && _super.apply(this, arguments) || this;
330
+ }
331
+ /**
332
+ *
333
+ * @summary Get all patientAffiliations
334
+ * @param {PatientAffiliationsApiApiV1PatientaffiliationsGetRequest} requestParameters Request parameters.
335
+ * @param {*} [options] Override http request option.
336
+ * @throws {RequiredError}
337
+ * @memberof PatientAffiliationsApi
338
+ */
339
+ PatientAffiliationsApi.prototype.apiV1PatientaffiliationsGet = function (requestParameters, options) {
340
+ var _this = this;
341
+ if (requestParameters === void 0) { requestParameters = {}; }
342
+ return (0, exports.PatientAffiliationsApiFp)(this.configuration).apiV1PatientaffiliationsGet(requestParameters.languageCode, requestParameters.hospitalId, requestParameters.patientId, requestParameters.patientName, requestParameters.patientPhoneNumber, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
343
+ };
344
+ /**
345
+ *
346
+ * @summary Get patientAffiliation by id
347
+ * @param {PatientAffiliationsApiApiV1PatientaffiliationsPatientAffiliationIdGetRequest} requestParameters Request parameters.
348
+ * @param {*} [options] Override http request option.
349
+ * @throws {RequiredError}
350
+ * @memberof PatientAffiliationsApi
351
+ */
352
+ PatientAffiliationsApi.prototype.apiV1PatientaffiliationsPatientAffiliationIdGet = function (requestParameters, options) {
353
+ var _this = this;
354
+ return (0, exports.PatientAffiliationsApiFp)(this.configuration).apiV1PatientaffiliationsPatientAffiliationIdGet(requestParameters.patientAffiliationId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
355
+ };
356
+ return PatientAffiliationsApi;
357
+ }(base_1.BaseAPI));
358
+ exports.PatientAffiliationsApi = PatientAffiliationsApi;