@icure/be-fhc-api 0.4.1 → 0.4.2

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 (324) hide show
  1. package/.swagger-codegen/VERSION +1 -1
  2. package/api/fhcHubApi.ts +16 -4
  3. package/api/fhcRecipeApi.ts +80 -51
  4. package/api/fhcRnConsultApi.ts +227 -0
  5. package/api/fhcStsApi.ts +33 -0
  6. package/api/fhcVaccinnetApi.ts +198 -0
  7. package/dist/api/fhcHubApi.d.ts +6 -2
  8. package/dist/api/fhcHubApi.js +12 -4
  9. package/dist/api/fhcRecipeApi.d.ts +25 -15
  10. package/dist/api/fhcRecipeApi.js +61 -39
  11. package/dist/api/fhcRnConsultApi.d.ts +82 -0
  12. package/dist/api/fhcRnConsultApi.js +167 -0
  13. package/dist/api/fhcStsApi.d.ts +11 -0
  14. package/dist/api/fhcStsApi.js +24 -0
  15. package/dist/api/fhcVaccinnetApi.d.ts +69 -0
  16. package/dist/api/fhcVaccinnetApi.js +146 -0
  17. package/dist/fhcApi.d.ts +2 -0
  18. package/dist/fhcApi.js +2 -0
  19. package/dist/model/ActType.d.ts +16 -0
  20. package/dist/model/ActType.js +20 -0
  21. package/dist/model/AddVaccinationsResponseType.d.ts +19 -0
  22. package/dist/model/AddVaccinationsResponseType.js +9 -0
  23. package/dist/model/Address.d.ts +9 -5
  24. package/dist/model/Address.js +5 -1
  25. package/dist/model/AddressBaseType.d.ts +23 -0
  26. package/dist/model/AddressBaseType.js +9 -0
  27. package/dist/model/AddressCbssBaseType.d.ts +16 -0
  28. package/dist/model/AddressCbssBaseType.js +9 -0
  29. package/dist/model/AddressDeclarationType.d.ts +16 -0
  30. package/dist/model/AddressDeclarationType.js +9 -0
  31. package/dist/model/AdministratorBaseType.d.ts +19 -0
  32. package/dist/model/AdministratorBaseType.js +9 -0
  33. package/dist/model/AnomaliesType.d.ts +15 -0
  34. package/dist/model/AnomaliesType.js +20 -0
  35. package/dist/model/Appendix.d.ts +2 -2
  36. package/dist/model/Base64EncodedKmehr.d.ts +15 -0
  37. package/dist/model/Base64EncodedKmehr.js +21 -0
  38. package/dist/model/BestIdentifierType.d.ts +17 -0
  39. package/dist/model/BestIdentifierType.js +20 -0
  40. package/dist/model/BirthInfoBaseType.d.ts +19 -0
  41. package/dist/model/BirthInfoBaseType.js +9 -0
  42. package/dist/model/BirthInfoDeclarationType.d.ts +17 -0
  43. package/dist/model/BirthInfoDeclarationType.js +9 -0
  44. package/dist/model/BirthPlace.d.ts +3 -1
  45. package/dist/model/CDHEADING.d.ts +5 -5
  46. package/dist/model/CDITEM.d.ts +30 -30
  47. package/dist/model/CbssPersonRequestType.d.ts +30 -0
  48. package/dist/model/CbssPersonRequestType.js +9 -0
  49. package/dist/model/CbssPersonResponseType.d.ts +35 -0
  50. package/dist/model/CbssPersonResponseType.js +9 -0
  51. package/dist/model/CivilStateInfoBaseType.d.ts +26 -0
  52. package/dist/model/CivilStateInfoBaseType.js +9 -0
  53. package/dist/model/CivilStateInfoDeclarationType.d.ts +20 -0
  54. package/dist/model/CivilStateInfoDeclarationType.js +9 -0
  55. package/dist/model/CivilStatesBaseType.d.ts +16 -0
  56. package/dist/model/CivilStatesBaseType.js +9 -0
  57. package/dist/model/CivilStatesDeclarationType.d.ts +16 -0
  58. package/dist/model/CivilStatesDeclarationType.js +9 -0
  59. package/dist/model/ContactAddress.d.ts +22 -0
  60. package/dist/model/ContactAddress.js +20 -0
  61. package/dist/model/ContactAddressBaseType.d.ts +34 -0
  62. package/dist/model/ContactAddressBaseType.js +9 -0
  63. package/dist/model/ContactAddressDeclarationType.d.ts +28 -0
  64. package/dist/model/ContactAddressDeclarationType.js +9 -0
  65. package/dist/model/DeceaseInfoBaseType.d.ts +17 -0
  66. package/dist/model/DeceaseInfoBaseType.js +9 -0
  67. package/dist/model/DeceaseInfoDeclarationType.d.ts +17 -0
  68. package/dist/model/DeceaseInfoDeclarationType.js +9 -0
  69. package/dist/model/DiplomaticPostType.d.ts +6 -5
  70. package/dist/model/Exception.d.ts +21 -0
  71. package/dist/model/Exception.js +9 -0
  72. package/dist/model/ExistingPersons.d.ts +15 -0
  73. package/dist/model/ExistingPersons.js +20 -0
  74. package/dist/model/FacetDto.d.ts +1 -1
  75. package/dist/model/ForeignAddressDeclarationType.d.ts +24 -0
  76. package/dist/model/ForeignAddressDeclarationType.js +9 -0
  77. package/dist/model/GenderInfoBaseType.d.ts +16 -0
  78. package/dist/model/GenderInfoBaseType.js +20 -0
  79. package/dist/model/GenderInfoDeclarationType.d.ts +16 -0
  80. package/dist/model/GenderInfoDeclarationType.js +20 -0
  81. package/dist/model/GetPrescriptionStatusResult.d.ts +30 -0
  82. package/dist/model/GetPrescriptionStatusResult.js +19 -0
  83. package/dist/model/GetVaccinationsResponseType.d.ts +19 -0
  84. package/dist/model/GetVaccinationsResponseType.js +9 -0
  85. package/dist/model/GivenNameType.d.ts +16 -0
  86. package/dist/model/GivenNameType.js +20 -0
  87. package/dist/model/Id.d.ts +16 -0
  88. package/dist/model/Id.js +20 -0
  89. package/dist/model/InvoiceItem.d.ts +1 -0
  90. package/dist/model/JudgmentType.d.ts +17 -0
  91. package/dist/model/JudgmentType.js +9 -0
  92. package/dist/model/Kmehrmessage.d.ts +12 -4
  93. package/dist/model/LegalCohabitationBaseType.d.ts +19 -0
  94. package/dist/model/LegalCohabitationBaseType.js +9 -0
  95. package/dist/model/LegalCohabitationRegistrationType.d.ts +19 -0
  96. package/dist/model/LegalCohabitationRegistrationType.js +9 -0
  97. package/dist/model/LocalizedDescriptionType.d.ts +16 -0
  98. package/dist/model/LocalizedDescriptionType.js +20 -0
  99. package/dist/model/LocationDeclarationType.d.ts +20 -0
  100. package/dist/model/LocationDeclarationType.js +9 -0
  101. package/dist/model/LocationType.d.ts +20 -0
  102. package/dist/model/LocationType.js +9 -0
  103. package/dist/model/MinimalAddressType.d.ts +23 -0
  104. package/dist/model/MinimalAddressType.js +9 -0
  105. package/dist/model/MinimalAdministratorType.d.ts +19 -0
  106. package/dist/model/MinimalAdministratorType.js +9 -0
  107. package/dist/model/MinimalBirthInfoType.d.ts +15 -0
  108. package/dist/model/MinimalBirthInfoType.js +20 -0
  109. package/dist/model/MinimalGenderInfoType.d.ts +16 -0
  110. package/dist/model/MinimalGenderInfoType.js +20 -0
  111. package/dist/model/MinimalNameInfoType.d.ts +18 -0
  112. package/dist/model/MinimalNameInfoType.js +9 -0
  113. package/dist/model/MycarenetConversation.d.ts +1 -0
  114. package/dist/model/NameInfoBaseType.d.ts +18 -0
  115. package/dist/model/NameInfoBaseType.js +9 -0
  116. package/dist/model/NameInfoDeclarationType.d.ts +18 -0
  117. package/dist/model/NameInfoDeclarationType.js +9 -0
  118. package/dist/model/NationalitiesBaseType.d.ts +16 -0
  119. package/dist/model/NationalitiesBaseType.js +9 -0
  120. package/dist/model/NationalitiesDeclarationType.d.ts +16 -0
  121. package/dist/model/NationalitiesDeclarationType.js +9 -0
  122. package/dist/model/NationalityInfoBaseType.d.ts +17 -0
  123. package/dist/model/NationalityInfoBaseType.js +20 -0
  124. package/dist/model/NobilityTitleBaseType.d.ts +17 -0
  125. package/dist/model/NobilityTitleBaseType.js +20 -0
  126. package/dist/model/PartnerType.d.ts +3 -4
  127. package/dist/model/Patient.d.ts +6 -2
  128. package/dist/model/Patient.js +6 -2
  129. package/dist/model/PersonIdentificationType.d.ts +31 -0
  130. package/dist/model/PersonIdentificationType.js +9 -0
  131. package/dist/model/PersonIdentificationsResponseType.d.ts +16 -0
  132. package/dist/model/PersonIdentificationsResponseType.js +9 -0
  133. package/dist/model/PersonResponseResultsType.d.ts +16 -0
  134. package/dist/model/PersonResponseResultsType.js +9 -0
  135. package/dist/model/PlainAddressOptionalInceptionDateType.d.ts +20 -0
  136. package/dist/model/PlainAddressOptionalInceptionDateType.js +9 -0
  137. package/dist/model/PlainAddressType.d.ts +20 -0
  138. package/dist/model/PlainAddressType.js +9 -0
  139. package/dist/model/Posology.d.ts +6 -0
  140. package/dist/model/Prescription.d.ts +1 -0
  141. package/dist/model/PrescriptionFullWithFeedback.d.ts +1 -0
  142. package/dist/model/PutVisionResult.d.ts +17 -0
  143. package/dist/model/PutVisionResult.js +9 -0
  144. package/dist/model/RecipeCDHEADING.d.ts +5 -5
  145. package/dist/model/RecipeCDITEM.d.ts +30 -30
  146. package/dist/model/RecipeKmehrmessageType.d.ts +18 -0
  147. package/dist/model/RecipeKmehrmessageType.js +9 -0
  148. package/dist/model/RecipePosology.d.ts +16 -0
  149. package/dist/model/RecipePosology.js +9 -0
  150. package/dist/model/RecipeRegimen.d.ts +15 -0
  151. package/dist/model/RecipeRegimen.js +20 -0
  152. package/dist/model/RecipeitemType.d.ts +4 -4
  153. package/dist/model/RegisterPersonDeclarationType.d.ts +16 -0
  154. package/dist/model/RegisterPersonDeclarationType.js +9 -0
  155. package/dist/model/RegisterPersonResultType.d.ts +18 -0
  156. package/dist/model/RegisterPersonResultType.js +9 -0
  157. package/dist/model/RegistrationBailiffType.d.ts +17 -0
  158. package/dist/model/RegistrationBailiffType.js +9 -0
  159. package/dist/model/RemoveVaccinationResponseType.d.ts +18 -0
  160. package/dist/model/RemoveVaccinationResponseType.js +9 -0
  161. package/dist/model/ResidentialAddress.d.ts +22 -0
  162. package/dist/model/ResidentialAddress.js +20 -0
  163. package/dist/model/ResidentialAddressOptionalInceptionDateType.d.ts +32 -0
  164. package/dist/model/ResidentialAddressOptionalInceptionDateType.js +9 -0
  165. package/dist/model/ResidentialAddressType.d.ts +32 -0
  166. package/dist/model/ResidentialAddressType.js +9 -0
  167. package/dist/model/Results.d.ts +20 -0
  168. package/dist/model/Results.js +9 -0
  169. package/dist/model/RnConsultConversationDto.d.ts +16 -0
  170. package/dist/model/RnConsultConversationDto.js +20 -0
  171. package/dist/model/RnConsultDeceaseType.d.ts +18 -0
  172. package/dist/model/RnConsultDeceaseType.js +9 -0
  173. package/dist/model/RnConsultNameType.d.ts +17 -0
  174. package/dist/model/RnConsultNameType.js +20 -0
  175. package/dist/model/RnConsultPersonDto.d.ts +43 -0
  176. package/dist/model/RnConsultPersonDto.js +9 -0
  177. package/dist/model/RnConsultPersonMid.d.ts +27 -0
  178. package/dist/model/RnConsultPersonMid.js +9 -0
  179. package/dist/model/RnConsultRegisterPersonResponseDto.d.ts +27 -0
  180. package/dist/model/RnConsultRegisterPersonResponseDto.js +9 -0
  181. package/dist/model/RnConsultSearchByNissResultDto.d.ts +16 -0
  182. package/dist/model/RnConsultSearchByNissResultDto.js +9 -0
  183. package/dist/model/RnConsultSearchPersonBySsinResponseDto.d.ts +27 -0
  184. package/dist/model/RnConsultSearchPersonBySsinResponseDto.js +9 -0
  185. package/dist/model/RnConsultSearchPersonPhoneticallyResponseDto.d.ts +25 -0
  186. package/dist/model/RnConsultSearchPersonPhoneticallyResponseDto.js +9 -0
  187. package/dist/model/SpecialNotionType.d.ts +16 -0
  188. package/dist/model/SpecialNotionType.js +20 -0
  189. package/dist/model/SsinWithCanceledAndReplacesStatusType.d.ts +17 -0
  190. package/dist/model/SsinWithCanceledAndReplacesStatusType.js +20 -0
  191. package/dist/model/StackTraceElement.d.ts +19 -0
  192. package/dist/model/StackTraceElement.js +20 -0
  193. package/dist/model/StatusType.d.ts +20 -0
  194. package/dist/model/StatusType.js +9 -0
  195. package/dist/model/SubregisterBaseType.d.ts +18 -0
  196. package/dist/model/SubregisterBaseType.js +9 -0
  197. package/dist/model/Throwable.d.ts +20 -0
  198. package/dist/model/Throwable.js +9 -0
  199. package/dist/model/TokenResponse.d.ts +14 -0
  200. package/dist/model/TokenResponse.js +20 -0
  201. package/dist/model/TranscriptionType.d.ts +17 -0
  202. package/dist/model/TranscriptionType.js +9 -0
  203. package/dist/model/UpdateFeedbackFlagResult.d.ts +17 -0
  204. package/dist/model/UpdateFeedbackFlagResult.js +9 -0
  205. package/dist/model/VaccinationId.d.ts +16 -0
  206. package/dist/model/VaccinationId.js +20 -0
  207. package/dist/model/VaccinationStatusType.d.ts +16 -0
  208. package/dist/model/VaccinationStatusType.js +20 -0
  209. package/dist/model/VaccineInjection.d.ts +18 -0
  210. package/dist/model/VaccineInjection.js +20 -0
  211. package/dist/model/ValidationInfoType.d.ts +17 -0
  212. package/dist/model/ValidationInfoType.js +20 -0
  213. package/dist/model/ValidationResult.d.ts +20 -0
  214. package/dist/model/ValidationResult.js +9 -0
  215. package/dist/model/VerifyIdResponse.d.ts +21 -0
  216. package/dist/model/VerifyIdResponse.js +9 -0
  217. package/dist/model/models.d.ts +89 -0
  218. package/dist/model/models.js +89 -0
  219. package/fhcApi.ts +2 -0
  220. package/model/ActType.ts +22 -0
  221. package/model/AddVaccinationsResponseType.ts +25 -0
  222. package/model/Address.ts +13 -5
  223. package/model/AddressBaseType.ts +29 -0
  224. package/model/AddressCbssBaseType.ts +22 -0
  225. package/model/AddressDeclarationType.ts +22 -0
  226. package/model/AdministratorBaseType.ts +25 -0
  227. package/model/AnomaliesType.ts +21 -0
  228. package/model/Appendix.ts +2 -2
  229. package/model/Base64EncodedKmehr.ts +25 -0
  230. package/model/BestIdentifierType.ts +23 -0
  231. package/model/BirthInfoBaseType.ts +25 -0
  232. package/model/BirthInfoDeclarationType.ts +23 -0
  233. package/model/BirthPlace.ts +3 -1
  234. package/model/CbssPersonRequestType.ts +36 -0
  235. package/model/CbssPersonResponseType.ts +41 -0
  236. package/model/CivilStateInfoBaseType.ts +32 -0
  237. package/model/CivilStateInfoDeclarationType.ts +26 -0
  238. package/model/CivilStatesBaseType.ts +22 -0
  239. package/model/CivilStatesDeclarationType.ts +22 -0
  240. package/model/ContactAddress.ts +28 -0
  241. package/model/ContactAddressBaseType.ts +40 -0
  242. package/model/ContactAddressDeclarationType.ts +34 -0
  243. package/model/DeceaseInfoBaseType.ts +23 -0
  244. package/model/DeceaseInfoDeclarationType.ts +23 -0
  245. package/model/DiplomaticPostType.ts +6 -5
  246. package/model/Exception.ts +27 -0
  247. package/model/ExistingPersons.ts +21 -0
  248. package/model/FacetDto.ts +1 -1
  249. package/model/ForeignAddressDeclarationType.ts +30 -0
  250. package/model/GenderInfoBaseType.ts +22 -0
  251. package/model/GenderInfoDeclarationType.ts +22 -0
  252. package/model/GetPrescriptionStatusResult.ts +42 -0
  253. package/model/GetVaccinationsResponseType.ts +25 -0
  254. package/model/GivenNameType.ts +22 -0
  255. package/model/Id.ts +22 -0
  256. package/model/InvoiceItem.ts +1 -0
  257. package/model/JudgmentType.ts +23 -0
  258. package/model/Kmehrmessage.ts +12 -4
  259. package/model/LegalCohabitationBaseType.ts +25 -0
  260. package/model/LegalCohabitationRegistrationType.ts +25 -0
  261. package/model/LocalizedDescriptionType.ts +22 -0
  262. package/model/LocationDeclarationType.ts +26 -0
  263. package/model/LocationType.ts +26 -0
  264. package/model/MinimalAddressType.ts +29 -0
  265. package/model/MinimalAdministratorType.ts +25 -0
  266. package/model/MinimalBirthInfoType.ts +21 -0
  267. package/model/MinimalGenderInfoType.ts +22 -0
  268. package/model/MinimalNameInfoType.ts +24 -0
  269. package/model/MycarenetConversation.ts +1 -0
  270. package/model/NameInfoBaseType.ts +24 -0
  271. package/model/NameInfoDeclarationType.ts +24 -0
  272. package/model/NationalitiesBaseType.ts +22 -0
  273. package/model/NationalitiesDeclarationType.ts +22 -0
  274. package/model/NationalityInfoBaseType.ts +23 -0
  275. package/model/NobilityTitleBaseType.ts +23 -0
  276. package/model/PartnerType.ts +3 -4
  277. package/model/Patient.ts +11 -3
  278. package/model/PersonIdentificationType.ts +37 -0
  279. package/model/PersonIdentificationsResponseType.ts +22 -0
  280. package/model/PersonResponseResultsType.ts +22 -0
  281. package/model/PlainAddressOptionalInceptionDateType.ts +26 -0
  282. package/model/PlainAddressType.ts +26 -0
  283. package/model/Posology.ts +6 -0
  284. package/model/Prescription.ts +1 -0
  285. package/model/PrescriptionFullWithFeedback.ts +1 -0
  286. package/model/PutVisionResult.ts +23 -0
  287. package/model/RecipeKmehrmessageType.ts +24 -0
  288. package/model/RecipePosology.ts +22 -0
  289. package/model/RecipeRegimen.ts +21 -0
  290. package/model/RecipeitemType.ts +4 -4
  291. package/model/RegisterPersonDeclarationType.ts +22 -0
  292. package/model/RegisterPersonResultType.ts +24 -0
  293. package/model/RegistrationBailiffType.ts +23 -0
  294. package/model/RemoveVaccinationResponseType.ts +24 -0
  295. package/model/ResidentialAddress.ts +28 -0
  296. package/model/ResidentialAddressOptionalInceptionDateType.ts +38 -0
  297. package/model/ResidentialAddressType.ts +38 -0
  298. package/model/Results.ts +26 -0
  299. package/model/RnConsultConversationDto.ts +22 -0
  300. package/model/RnConsultDeceaseType.ts +24 -0
  301. package/model/RnConsultNameType.ts +23 -0
  302. package/model/RnConsultPersonDto.ts +49 -0
  303. package/model/RnConsultPersonMid.ts +33 -0
  304. package/model/RnConsultRegisterPersonResponseDto.ts +33 -0
  305. package/model/RnConsultSearchByNissResultDto.ts +22 -0
  306. package/model/RnConsultSearchPersonBySsinResponseDto.ts +33 -0
  307. package/model/RnConsultSearchPersonPhoneticallyResponseDto.ts +31 -0
  308. package/model/SpecialNotionType.ts +22 -0
  309. package/model/SsinWithCanceledAndReplacesStatusType.ts +23 -0
  310. package/model/StackTraceElement.ts +25 -0
  311. package/model/StatusType.ts +26 -0
  312. package/model/SubregisterBaseType.ts +24 -0
  313. package/model/Throwable.ts +26 -0
  314. package/model/TokenResponse.ts +19 -0
  315. package/model/TranscriptionType.ts +23 -0
  316. package/model/UpdateFeedbackFlagResult.ts +23 -0
  317. package/model/VaccinationId.ts +22 -0
  318. package/model/VaccinationStatusType.ts +22 -0
  319. package/model/VaccineInjection.ts +24 -0
  320. package/model/ValidationInfoType.ts +23 -0
  321. package/model/ValidationResult.ts +26 -0
  322. package/model/VerifyIdResponse.ts +27 -0
  323. package/model/models.ts +89 -0
  324. package/package.json +1 -1
@@ -0,0 +1,167 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fhcRnConsultApi = void 0;
4
+ /**
5
+ * Api Documentation
6
+ * Api Documentation
7
+ *
8
+ * OpenAPI spec version: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by the swagger code generator program.
12
+ * https://github.com/swagger-api/swagger-codegen.git
13
+ * Do not edit the class manually.
14
+ */
15
+ const XHR_1 = require("./XHR");
16
+ const ConsultCurrentSsinResponse_1 = require("../model/ConsultCurrentSsinResponse");
17
+ const RnConsultRegisterPersonResponseDto_1 = require("../model/RnConsultRegisterPersonResponseDto");
18
+ const RnConsultSearchPersonBySsinResponseDto_1 = require("../model/RnConsultSearchPersonBySsinResponseDto");
19
+ const RnConsultSearchPersonPhoneticallyResponseDto_1 = require("../model/RnConsultSearchPersonPhoneticallyResponseDto");
20
+ const VerifyIdResponse_1 = require("../model/VerifyIdResponse");
21
+ class fhcRnConsultApi {
22
+ constructor(host, headers, fetchImpl) {
23
+ this.host = host;
24
+ this.headers = Object.keys(headers).map(k => new XHR_1.XHR.Header(k, headers[k]));
25
+ this.fetchImpl = fetchImpl;
26
+ }
27
+ setHeaders(h) {
28
+ this.headers = h;
29
+ }
30
+ handleError(e) {
31
+ throw e;
32
+ }
33
+ /**
34
+ *
35
+ * @summary consultCurrentSsin
36
+ * @param xFHCKeystoreId X-FHC-keystoreId
37
+ * @param xFHCTokenId X-FHC-tokenId
38
+ * @param xFHCPassPhrase X-FHC-passPhrase
39
+ * @param ssin ssin
40
+ */
41
+ consultCurrentSsinUsingGET(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, ssin) {
42
+ let _body = null;
43
+ const _url = this.host +
44
+ `/rnconsult/history/${encodeURIComponent(String(ssin))}` +
45
+ "?ts=" +
46
+ new Date().getTime();
47
+ let headers = this.headers;
48
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
49
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
50
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
51
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
52
+ .then(doc => new ConsultCurrentSsinResponse_1.ConsultCurrentSsinResponse(doc.body))
53
+ .catch(err => this.handleError(err));
54
+ }
55
+ /**
56
+ *
57
+ * @summary registerPerson
58
+ * @param body mid
59
+ * @param xFHCKeystoreId X-FHC-keystoreId
60
+ * @param xFHCTokenId X-FHC-tokenId
61
+ * @param xFHCPassPhrase X-FHC-passPhrase
62
+ */
63
+ registerPersonUsingPOST1(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, body) {
64
+ let _body = null;
65
+ _body = body;
66
+ const _url = this.host + `/rnconsult` + "?ts=" + new Date().getTime();
67
+ let headers = this.headers;
68
+ headers = headers
69
+ .filter(h => h.header !== "Content-Type")
70
+ .concat(new XHR_1.XHR.Header("Content-Type", "application/json"));
71
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
72
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
73
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
74
+ return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
75
+ .then(doc => new RnConsultRegisterPersonResponseDto_1.RnConsultRegisterPersonResponseDto(doc.body))
76
+ .catch(err => this.handleError(err));
77
+ }
78
+ /**
79
+ *
80
+ * @summary searchPersonBySsin
81
+ * @param xFHCKeystoreId X-FHC-keystoreId
82
+ * @param xFHCTokenId X-FHC-tokenId
83
+ * @param xFHCPassPhrase X-FHC-passPhrase
84
+ * @param ssin ssin
85
+ */
86
+ searchPersonBySsinUsingGET(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, ssin) {
87
+ let _body = null;
88
+ const _url = this.host +
89
+ `/rnconsult/bySsin/${encodeURIComponent(String(ssin))}` +
90
+ "?ts=" +
91
+ new Date().getTime();
92
+ let headers = this.headers;
93
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
94
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
95
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
96
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
97
+ .then(doc => new RnConsultSearchPersonBySsinResponseDto_1.RnConsultSearchPersonBySsinResponseDto(doc.body))
98
+ .catch(err => this.handleError(err));
99
+ }
100
+ /**
101
+ *
102
+ * @summary searchPersonPhonetically
103
+ * @param xFHCKeystoreId X-FHC-keystoreId
104
+ * @param xFHCTokenId X-FHC-tokenId
105
+ * @param xFHCPassPhrase X-FHC-passPhrase
106
+ * @param dateOfBirth dateOfBirth
107
+ * @param lastName lastName
108
+ * @param firstName firstName
109
+ * @param middleName middleName
110
+ * @param matchingType matchingType
111
+ * @param gender gender
112
+ * @param countryCode countryCode
113
+ * @param cityCode cityCode
114
+ * @param tolerance tolerance
115
+ * @param limit limit
116
+ */
117
+ searchPersonPhoneticallyUsingGET(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, dateOfBirth, lastName, firstName, middleName, matchingType, gender, countryCode, cityCode, tolerance, limit) {
118
+ let _body = null;
119
+ const _url = this.host +
120
+ `/rnconsult/phonetically/${encodeURIComponent(String(dateOfBirth))}/${encodeURIComponent(String(lastName))}` +
121
+ "?ts=" +
122
+ new Date().getTime() +
123
+ (firstName ? "&firstName=" + encodeURIComponent(String(firstName)) : "") +
124
+ (middleName ? "&middleName=" + encodeURIComponent(String(middleName)) : "") +
125
+ (matchingType ? "&matchingType=" + encodeURIComponent(String(matchingType)) : "") +
126
+ (gender ? "&gender=" + encodeURIComponent(String(gender)) : "") +
127
+ (countryCode ? "&countryCode=" + encodeURIComponent(String(countryCode)) : "") +
128
+ (cityCode ? "&cityCode=" + encodeURIComponent(String(cityCode)) : "") +
129
+ (tolerance ? "&tolerance=" + encodeURIComponent(String(tolerance)) : "") +
130
+ (limit ? "&limit=" + encodeURIComponent(String(limit)) : "");
131
+ let headers = this.headers;
132
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
133
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
134
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
135
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
136
+ .then(doc => new RnConsultSearchPersonPhoneticallyResponseDto_1.RnConsultSearchPersonPhoneticallyResponseDto(doc.body))
137
+ .catch(err => this.handleError(err));
138
+ }
139
+ /**
140
+ *
141
+ * @summary verifyId
142
+ * @param xFHCKeystoreId X-FHC-keystoreId
143
+ * @param xFHCTokenId X-FHC-tokenId
144
+ * @param xFHCPassPhrase X-FHC-passPhrase
145
+ * @param ssin ssin
146
+ * @param cardNumber cardNumber
147
+ * @param barCoded barCoded
148
+ */
149
+ verifyIdUsingGET(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, ssin, cardNumber, barCoded) {
150
+ let _body = null;
151
+ const _url = this.host +
152
+ `/rnconsult/verifyId` +
153
+ "?ts=" +
154
+ new Date().getTime() +
155
+ (ssin ? "&ssin=" + encodeURIComponent(String(ssin)) : "") +
156
+ (cardNumber ? "&cardNumber=" + encodeURIComponent(String(cardNumber)) : "") +
157
+ (barCoded ? "&barCoded=" + encodeURIComponent(String(barCoded)) : "");
158
+ let headers = this.headers;
159
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
160
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
161
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
162
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
163
+ .then(doc => new VerifyIdResponse_1.VerifyIdResponse(doc.body))
164
+ .catch(err => this.handleError(err));
165
+ }
166
+ }
167
+ exports.fhcRnConsultApi = fhcRnConsultApi;
@@ -13,6 +13,7 @@ import { XHR } from "./XHR";
13
13
  import { BearerToken } from "../model/BearerToken";
14
14
  import { CertificateInfo } from "../model/CertificateInfo";
15
15
  import { SamlTokenResult } from "../model/SamlTokenResult";
16
+ import { TokenResponse } from "../model/TokenResponse";
16
17
  import { UUIDType } from "../model/UUIDType";
17
18
  export declare class fhcStsApi {
18
19
  host: string;
@@ -49,6 +50,16 @@ export declare class fhcStsApi {
49
50
  * @param xFHCPassPhrase X-FHC-passPhrase
50
51
  */
51
52
  getKeystoreInfoUsingGET(keystoreId: string, xFHCPassPhrase: string): Promise<CertificateInfo>;
53
+ /**
54
+ *
55
+ * @summary getOauth2Token
56
+ * @param xFHCTokenId X-FHC-tokenId
57
+ * @param xFHCPassPhrase X-FHC-passPhrase
58
+ * @param xFHCKeystoreId X-FHC-keystoreId
59
+ * @param cbe cbe
60
+ * @param kid kid
61
+ */
62
+ getOauth2TokenUsingGET(xFHCTokenId: string, xFHCPassPhrase: string, xFHCKeystoreId: string, cbe: string, kid: string): Promise<TokenResponse>;
52
63
  /**
53
64
  *
54
65
  * @summary registerToken
@@ -16,6 +16,7 @@ const XHR_1 = require("./XHR");
16
16
  const BearerToken_1 = require("../model/BearerToken");
17
17
  const CertificateInfo_1 = require("../model/CertificateInfo");
18
18
  const SamlTokenResult_1 = require("../model/SamlTokenResult");
19
+ const TokenResponse_1 = require("../model/TokenResponse");
19
20
  const UUIDType_1 = require("../model/UUIDType");
20
21
  class fhcStsApi {
21
22
  constructor(host, headers, fetchImpl) {
@@ -98,6 +99,29 @@ class fhcStsApi {
98
99
  .then(doc => new CertificateInfo_1.CertificateInfo(doc.body))
99
100
  .catch(err => this.handleError(err));
100
101
  }
102
+ /**
103
+ *
104
+ * @summary getOauth2Token
105
+ * @param xFHCTokenId X-FHC-tokenId
106
+ * @param xFHCPassPhrase X-FHC-passPhrase
107
+ * @param xFHCKeystoreId X-FHC-keystoreId
108
+ * @param cbe cbe
109
+ * @param kid kid
110
+ */
111
+ getOauth2TokenUsingGET(xFHCTokenId, xFHCPassPhrase, xFHCKeystoreId, cbe, kid) {
112
+ let _body = null;
113
+ const _url = this.host +
114
+ `/sts/token/oauth2/${encodeURIComponent(String(cbe))}/${encodeURIComponent(String(kid))}` +
115
+ "?ts=" +
116
+ new Date().getTime();
117
+ let headers = this.headers;
118
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
119
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
120
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
121
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
122
+ .then(doc => new TokenResponse_1.TokenResponse(doc.body))
123
+ .catch(err => this.handleError(err));
124
+ }
101
125
  /**
102
126
  *
103
127
  * @summary registerToken
@@ -0,0 +1,69 @@
1
+ /**
2
+ * Api Documentation
3
+ * Api Documentation
4
+ *
5
+ * OpenAPI spec version: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { XHR } from "./XHR";
13
+ import { AddVaccinationsResponseType } from "../model/AddVaccinationsResponseType";
14
+ import { GetVaccinationsResponseType } from "../model/GetVaccinationsResponseType";
15
+ import { RemoveVaccinationResponseType } from "../model/RemoveVaccinationResponseType";
16
+ import { VaccineInjection } from "../model/VaccineInjection";
17
+ export declare class fhcVaccinnetApi {
18
+ host: string;
19
+ headers: Array<XHR.Header>;
20
+ fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise<Response>;
21
+ constructor(host: string, headers: any, fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise<Response>);
22
+ setHeaders(h: Array<XHR.Header>): void;
23
+ handleError(e: XHR.XHRError): never;
24
+ /**
25
+ *
26
+ * @summary addVaccinations
27
+ * @param body injections
28
+ * @param xFHCKeystoreId X-FHC-keystoreId
29
+ * @param xFHCTokenId X-FHC-tokenId
30
+ * @param xFHCPassPhrase X-FHC-passPhrase
31
+ * @param patientId patientId
32
+ * @param hcpNihii hcpNihii
33
+ * @param hcpName hcpName
34
+ * @param hcpQuality hcpQuality
35
+ * @param hcpSupervisorNihii hcpSupervisorNihii
36
+ * @param hcpSupervisorName hcpSupervisorName
37
+ * @param hcpSupervisorQuality hcpSupervisorQuality
38
+ * @param patientFirstName patientFirstName
39
+ * @param patientLastName patientLastName
40
+ * @param patientDateOfBirth patientDateOfBirth
41
+ * @param softwareId softwareId
42
+ * @param vaccinnetId vaccinnetId
43
+ */
44
+ addVaccinationsUsingPOST(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, patientId: string, hcpNihii: string, hcpName: string, hcpQuality: string, hcpSupervisorNihii: string, hcpSupervisorName: string, hcpSupervisorQuality: string, patientFirstName: string, patientLastName: string, patientDateOfBirth: number, softwareId: string, vaccinnetId: string, body?: Array<VaccineInjection>): Promise<AddVaccinationsResponseType>;
45
+ /**
46
+ *
47
+ * @summary getVaccinations
48
+ * @param xFHCKeystoreId X-FHC-keystoreId
49
+ * @param xFHCTokenId X-FHC-tokenId
50
+ * @param xFHCPassPhrase X-FHC-passPhrase
51
+ * @param patientId patientId
52
+ * @param softwareId softwareId
53
+ * @param vaccinnetId vaccinnetId
54
+ * @param since since
55
+ */
56
+ getVaccinationsUsingGET(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, patientId: string, softwareId: string, vaccinnetId: string, since: number): Promise<GetVaccinationsResponseType>;
57
+ /**
58
+ *
59
+ * @summary removeVaccination
60
+ * @param xFHCKeystoreId X-FHC-keystoreId
61
+ * @param xFHCTokenId X-FHC-tokenId
62
+ * @param xFHCPassPhrase X-FHC-passPhrase
63
+ * @param patientId patientId
64
+ * @param vaccinationId vaccinationId
65
+ * @param softwareId softwareId
66
+ * @param vaccinnetId vaccinnetId
67
+ */
68
+ removeVaccinationUsingDELETE(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, patientId: string, vaccinationId: string, softwareId: string, vaccinnetId: string): Promise<RemoveVaccinationResponseType>;
69
+ }
@@ -0,0 +1,146 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fhcVaccinnetApi = void 0;
4
+ /**
5
+ * Api Documentation
6
+ * Api Documentation
7
+ *
8
+ * OpenAPI spec version: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by the swagger code generator program.
12
+ * https://github.com/swagger-api/swagger-codegen.git
13
+ * Do not edit the class manually.
14
+ */
15
+ const XHR_1 = require("./XHR");
16
+ const AddVaccinationsResponseType_1 = require("../model/AddVaccinationsResponseType");
17
+ const GetVaccinationsResponseType_1 = require("../model/GetVaccinationsResponseType");
18
+ const RemoveVaccinationResponseType_1 = require("../model/RemoveVaccinationResponseType");
19
+ class fhcVaccinnetApi {
20
+ constructor(host, headers, fetchImpl) {
21
+ this.host = host;
22
+ this.headers = Object.keys(headers).map(k => new XHR_1.XHR.Header(k, headers[k]));
23
+ this.fetchImpl = fetchImpl;
24
+ }
25
+ setHeaders(h) {
26
+ this.headers = h;
27
+ }
28
+ handleError(e) {
29
+ throw e;
30
+ }
31
+ /**
32
+ *
33
+ * @summary addVaccinations
34
+ * @param body injections
35
+ * @param xFHCKeystoreId X-FHC-keystoreId
36
+ * @param xFHCTokenId X-FHC-tokenId
37
+ * @param xFHCPassPhrase X-FHC-passPhrase
38
+ * @param patientId patientId
39
+ * @param hcpNihii hcpNihii
40
+ * @param hcpName hcpName
41
+ * @param hcpQuality hcpQuality
42
+ * @param hcpSupervisorNihii hcpSupervisorNihii
43
+ * @param hcpSupervisorName hcpSupervisorName
44
+ * @param hcpSupervisorQuality hcpSupervisorQuality
45
+ * @param patientFirstName patientFirstName
46
+ * @param patientLastName patientLastName
47
+ * @param patientDateOfBirth patientDateOfBirth
48
+ * @param softwareId softwareId
49
+ * @param vaccinnetId vaccinnetId
50
+ */
51
+ addVaccinationsUsingPOST(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, patientId, hcpNihii, hcpName, hcpQuality, hcpSupervisorNihii, hcpSupervisorName, hcpSupervisorQuality, patientFirstName, patientLastName, patientDateOfBirth, softwareId, vaccinnetId, body) {
52
+ let _body = null;
53
+ _body = body;
54
+ const _url = this.host +
55
+ `/vaccinnet/${encodeURIComponent(String(patientId))}` +
56
+ "?ts=" +
57
+ new Date().getTime() +
58
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
59
+ (hcpName ? "&hcpName=" + encodeURIComponent(String(hcpName)) : "") +
60
+ (hcpQuality ? "&hcpQuality=" + encodeURIComponent(String(hcpQuality)) : "") +
61
+ (hcpSupervisorNihii
62
+ ? "&hcpSupervisorNihii=" + encodeURIComponent(String(hcpSupervisorNihii))
63
+ : "") +
64
+ (hcpSupervisorName
65
+ ? "&hcpSupervisorName=" + encodeURIComponent(String(hcpSupervisorName))
66
+ : "") +
67
+ (hcpSupervisorQuality
68
+ ? "&hcpSupervisorQuality=" + encodeURIComponent(String(hcpSupervisorQuality))
69
+ : "") +
70
+ (patientFirstName
71
+ ? "&patientFirstName=" + encodeURIComponent(String(patientFirstName))
72
+ : "") +
73
+ (patientLastName ? "&patientLastName=" + encodeURIComponent(String(patientLastName)) : "") +
74
+ (patientDateOfBirth
75
+ ? "&patientDateOfBirth=" + encodeURIComponent(String(patientDateOfBirth))
76
+ : "") +
77
+ (softwareId ? "&softwareId=" + encodeURIComponent(String(softwareId)) : "") +
78
+ (vaccinnetId ? "&vaccinnetId=" + encodeURIComponent(String(vaccinnetId)) : "");
79
+ let headers = this.headers;
80
+ headers = headers
81
+ .filter(h => h.header !== "Content-Type")
82
+ .concat(new XHR_1.XHR.Header("Content-Type", "application/json"));
83
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
84
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
85
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
86
+ return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
87
+ .then(doc => new AddVaccinationsResponseType_1.AddVaccinationsResponseType(doc.body))
88
+ .catch(err => this.handleError(err));
89
+ }
90
+ /**
91
+ *
92
+ * @summary getVaccinations
93
+ * @param xFHCKeystoreId X-FHC-keystoreId
94
+ * @param xFHCTokenId X-FHC-tokenId
95
+ * @param xFHCPassPhrase X-FHC-passPhrase
96
+ * @param patientId patientId
97
+ * @param softwareId softwareId
98
+ * @param vaccinnetId vaccinnetId
99
+ * @param since since
100
+ */
101
+ getVaccinationsUsingGET(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, patientId, softwareId, vaccinnetId, since) {
102
+ let _body = null;
103
+ const _url = this.host +
104
+ `/vaccinnet/${encodeURIComponent(String(patientId))}` +
105
+ "?ts=" +
106
+ new Date().getTime() +
107
+ (softwareId ? "&softwareId=" + encodeURIComponent(String(softwareId)) : "") +
108
+ (vaccinnetId ? "&vaccinnetId=" + encodeURIComponent(String(vaccinnetId)) : "") +
109
+ (since ? "&since=" + encodeURIComponent(String(since)) : "");
110
+ let headers = this.headers;
111
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
112
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
113
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
114
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
115
+ .then(doc => new GetVaccinationsResponseType_1.GetVaccinationsResponseType(doc.body))
116
+ .catch(err => this.handleError(err));
117
+ }
118
+ /**
119
+ *
120
+ * @summary removeVaccination
121
+ * @param xFHCKeystoreId X-FHC-keystoreId
122
+ * @param xFHCTokenId X-FHC-tokenId
123
+ * @param xFHCPassPhrase X-FHC-passPhrase
124
+ * @param patientId patientId
125
+ * @param vaccinationId vaccinationId
126
+ * @param softwareId softwareId
127
+ * @param vaccinnetId vaccinnetId
128
+ */
129
+ removeVaccinationUsingDELETE(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, patientId, vaccinationId, softwareId, vaccinnetId) {
130
+ let _body = null;
131
+ const _url = this.host +
132
+ `/vaccinnet/${encodeURIComponent(String(patientId))}/${encodeURIComponent(String(vaccinationId))}` +
133
+ "?ts=" +
134
+ new Date().getTime() +
135
+ (softwareId ? "&softwareId=" + encodeURIComponent(String(softwareId)) : "") +
136
+ (vaccinnetId ? "&vaccinnetId=" + encodeURIComponent(String(vaccinnetId)) : "");
137
+ let headers = this.headers;
138
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
139
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
140
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
141
+ return XHR_1.XHR.sendCommand("DELETE", _url, headers, _body, this.fetchImpl)
142
+ .then(doc => new RemoveVaccinationResponseType_1.RemoveVaccinationResponseType(doc.body))
143
+ .catch(err => this.handleError(err));
144
+ }
145
+ }
146
+ exports.fhcVaccinnetApi = fhcVaccinnetApi;
package/dist/fhcApi.d.ts CHANGED
@@ -15,6 +15,8 @@ export * from "./api/fhcHubApi";
15
15
  export * from "./api/fhcMemberDataApi";
16
16
  export * from "./api/fhcMhmApi";
17
17
  export * from "./api/fhcRecipeApi";
18
+ export * from "./api/fhcRnConsultApi";
18
19
  export * from "./api/fhcStsApi";
19
20
  export * from "./api/fhcTarificationApi";
20
21
  export * from "./api/fhcTherLinkApi";
22
+ export * from "./api/fhcVaccinnetApi";
package/dist/fhcApi.js CHANGED
@@ -27,6 +27,8 @@ __exportStar(require("./api/fhcHubApi"), exports);
27
27
  __exportStar(require("./api/fhcMemberDataApi"), exports);
28
28
  __exportStar(require("./api/fhcMhmApi"), exports);
29
29
  __exportStar(require("./api/fhcRecipeApi"), exports);
30
+ __exportStar(require("./api/fhcRnConsultApi"), exports);
30
31
  __exportStar(require("./api/fhcStsApi"), exports);
31
32
  __exportStar(require("./api/fhcTarificationApi"), exports);
32
33
  __exportStar(require("./api/fhcTherLinkApi"), exports);
34
+ __exportStar(require("./api/fhcVaccinnetApi"), exports);
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Api Documentation
3
+ * Api Documentation
4
+ *
5
+ * OpenAPI spec version: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class ActType {
13
+ constructor(json: JSON | any);
14
+ actTypeCode?: number;
15
+ actTypeDescriptions?: Array<ActType>;
16
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /**
3
+ * Api Documentation
4
+ * Api Documentation
5
+ *
6
+ * OpenAPI spec version: 1.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by the swagger code generator program.
10
+ * https://github.com/swagger-api/swagger-codegen.git
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.ActType = void 0;
15
+ class ActType {
16
+ constructor(json) {
17
+ Object.assign(this, json);
18
+ }
19
+ }
20
+ exports.ActType = ActType;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Api Documentation
3
+ * Api Documentation
4
+ *
5
+ * OpenAPI spec version: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Results } from "./Results";
13
+ import { VaccinationStatusType } from "./VaccinationStatusType";
14
+ export declare class AddVaccinationsResponseType {
15
+ constructor(json: JSON | any);
16
+ patientId?: string;
17
+ results?: Array<Results>;
18
+ status?: VaccinationStatusType;
19
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddVaccinationsResponseType = void 0;
4
+ class AddVaccinationsResponseType {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.AddVaccinationsResponseType = AddVaccinationsResponseType;
@@ -13,16 +13,16 @@ import { Telecom } from "./Telecom";
13
13
  export declare class Address {
14
14
  constructor(json: JSON | any);
15
15
  addressType?: Address.AddressTypeEnum;
16
- city?: string;
17
- country?: string;
16
+ street?: string;
18
17
  houseNumber?: string;
19
- postalCode?: string;
20
18
  postboxNumber?: string;
21
- street?: string;
19
+ postalCode?: string;
20
+ city?: string;
21
+ country?: string;
22
22
  telecoms?: Array<Telecom>;
23
23
  }
24
24
  export declare namespace Address {
25
- type AddressTypeEnum = "home" | "work" | "vacation" | "hospital" | "clinic" | "hq" | "other";
25
+ type AddressTypeEnum = "home" | "work" | "vacation" | "hospital" | "clinic" | "hq" | "other" | "diplomatic" | "reference" | "postal" | "temporary";
26
26
  const AddressTypeEnum: {
27
27
  Home: AddressTypeEnum;
28
28
  Work: AddressTypeEnum;
@@ -31,5 +31,9 @@ export declare namespace Address {
31
31
  Clinic: AddressTypeEnum;
32
32
  Hq: AddressTypeEnum;
33
33
  Other: AddressTypeEnum;
34
+ Diplomatic: AddressTypeEnum;
35
+ Reference: AddressTypeEnum;
36
+ Postal: AddressTypeEnum;
37
+ Temporary: AddressTypeEnum;
34
38
  };
35
39
  }
@@ -15,6 +15,10 @@ exports.Address = Address;
15
15
  Hospital: "hospital",
16
16
  Clinic: "clinic",
17
17
  Hq: "hq",
18
- Other: "other"
18
+ Other: "other",
19
+ Diplomatic: "diplomatic",
20
+ Reference: "reference",
21
+ Postal: "postal",
22
+ Temporary: "temporary"
19
23
  };
20
24
  })(Address = exports.Address || (exports.Address = {}));
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Api Documentation
3
+ * Api Documentation
4
+ *
5
+ * OpenAPI spec version: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { DiplomaticPostType } from "./DiplomaticPostType";
13
+ import { PlainAddressType } from "./PlainAddressType";
14
+ import { ResidentialAddressType } from "./ResidentialAddressType";
15
+ export declare class AddressBaseType {
16
+ constructor(json: JSON | any);
17
+ diplomaticAddress?: PlainAddressType;
18
+ diplomaticPost?: DiplomaticPostType;
19
+ postAddress?: PlainAddressType;
20
+ referenceAddress?: ResidentialAddressType;
21
+ residentialAddress?: ResidentialAddressType;
22
+ temporaryAddress?: PlainAddressType;
23
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddressBaseType = void 0;
4
+ class AddressBaseType {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.AddressBaseType = AddressBaseType;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Api Documentation
3
+ * Api Documentation
4
+ *
5
+ * OpenAPI spec version: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ResidentialAddressType } from "./ResidentialAddressType";
13
+ export declare class AddressCbssBaseType {
14
+ constructor(json: JSON | any);
15
+ residentialAddress?: ResidentialAddressType;
16
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddressCbssBaseType = void 0;
4
+ class AddressCbssBaseType {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.AddressCbssBaseType = AddressCbssBaseType;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Api Documentation
3
+ * Api Documentation
4
+ *
5
+ * OpenAPI spec version: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ForeignAddressDeclarationType } from "./ForeignAddressDeclarationType";
13
+ export declare class AddressDeclarationType {
14
+ constructor(json: JSON | any);
15
+ residentialAddress?: ForeignAddressDeclarationType;
16
+ }