@greensecurity/javascript-sdk 0.40.3 → 0.40.5-beta.0

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 (470) hide show
  1. package/README.md +24 -0
  2. package/dist/commonjs/__tests__/events.test.js +3 -1
  3. package/dist/commonjs/__tests__/events.test.js.map +1 -1
  4. package/dist/commonjs/__tests__/fhirconfigs.test.d.ts +2 -0
  5. package/dist/commonjs/__tests__/fhirconfigs.test.d.ts.map +1 -0
  6. package/dist/commonjs/__tests__/fhirconfigs.test.js +160 -0
  7. package/dist/commonjs/__tests__/fhirconfigs.test.js.map +1 -0
  8. package/dist/commonjs/__tests__/mobiledevices.test.d.ts +2 -0
  9. package/dist/commonjs/__tests__/mobiledevices.test.d.ts.map +1 -0
  10. package/dist/commonjs/__tests__/mobiledevices.test.js +22 -0
  11. package/dist/commonjs/__tests__/mobiledevices.test.js.map +1 -0
  12. package/dist/commonjs/__tests__/webhooks.test.js +1 -1
  13. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  14. package/dist/commonjs/__tests__/zones.test.js +4 -2
  15. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  16. package/dist/commonjs/funcs/eventsDeleteEvent.d.ts +2 -1
  17. package/dist/commonjs/funcs/eventsDeleteEvent.d.ts.map +1 -1
  18. package/dist/commonjs/funcs/eventsDeleteEvent.js +2 -1
  19. package/dist/commonjs/funcs/eventsDeleteEvent.js.map +1 -1
  20. package/dist/commonjs/funcs/fhirConfigsCreateAFhirConfig.d.ts +20 -0
  21. package/dist/commonjs/funcs/fhirConfigsCreateAFhirConfig.d.ts.map +1 -0
  22. package/dist/commonjs/funcs/fhirConfigsCreateAFhirConfig.js +119 -0
  23. package/dist/commonjs/funcs/fhirConfigsCreateAFhirConfig.js.map +1 -0
  24. package/dist/commonjs/funcs/fhirConfigsDeleteFhirConfigById.d.ts +19 -0
  25. package/dist/commonjs/funcs/fhirConfigsDeleteFhirConfigById.d.ts.map +1 -0
  26. package/dist/commonjs/funcs/fhirConfigsDeleteFhirConfigById.js +123 -0
  27. package/dist/commonjs/funcs/fhirConfigsDeleteFhirConfigById.js.map +1 -0
  28. package/dist/commonjs/funcs/fhirConfigsGetFhirConfig.d.ts +21 -0
  29. package/dist/commonjs/funcs/fhirConfigsGetFhirConfig.d.ts.map +1 -0
  30. package/dist/commonjs/funcs/fhirConfigsGetFhirConfig.js +125 -0
  31. package/dist/commonjs/funcs/fhirConfigsGetFhirConfig.js.map +1 -0
  32. package/dist/commonjs/funcs/fhirConfigsListOfFhirConfigurations.d.ts +21 -0
  33. package/dist/commonjs/funcs/fhirConfigsListOfFhirConfigurations.d.ts.map +1 -0
  34. package/dist/commonjs/funcs/fhirConfigsListOfFhirConfigurations.js +156 -0
  35. package/dist/commonjs/funcs/fhirConfigsListOfFhirConfigurations.js.map +1 -0
  36. package/dist/commonjs/funcs/fhirConfigsUpdateFhirConfigById.d.ts +16 -0
  37. package/dist/commonjs/funcs/fhirConfigsUpdateFhirConfigById.d.ts.map +1 -0
  38. package/dist/commonjs/funcs/fhirConfigsUpdateFhirConfigById.js +123 -0
  39. package/dist/commonjs/funcs/fhirConfigsUpdateFhirConfigById.js.map +1 -0
  40. package/dist/commonjs/funcs/mobileDevicesAddMobileDevice.d.ts +18 -0
  41. package/dist/commonjs/funcs/mobileDevicesAddMobileDevice.d.ts.map +1 -0
  42. package/dist/commonjs/funcs/mobileDevicesAddMobileDevice.js +117 -0
  43. package/dist/commonjs/funcs/mobileDevicesAddMobileDevice.js.map +1 -0
  44. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.d.ts +2 -1
  45. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
  46. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.js +2 -2
  47. package/dist/commonjs/funcs/vendorsDeleteVendorManagedByCompany.js.map +1 -1
  48. package/dist/commonjs/funcs/vendorsGetVendorsDetails.d.ts +2 -0
  49. package/dist/commonjs/funcs/vendorsGetVendorsDetails.d.ts.map +1 -1
  50. package/dist/commonjs/funcs/vendorsGetVendorsDetails.js +2 -0
  51. package/dist/commonjs/funcs/vendorsGetVendorsDetails.js.map +1 -1
  52. package/dist/commonjs/lib/config.d.ts +4 -4
  53. package/dist/commonjs/lib/config.js +4 -4
  54. package/dist/commonjs/lib/security.d.ts.map +1 -1
  55. package/dist/commonjs/lib/security.js.map +1 -1
  56. package/dist/commonjs/models/components/backgroundcheckresult.d.ts +46 -2
  57. package/dist/commonjs/models/components/backgroundcheckresult.d.ts.map +1 -1
  58. package/dist/commonjs/models/components/backgroundcheckresult.js +49 -3
  59. package/dist/commonjs/models/components/backgroundcheckresult.js.map +1 -1
  60. package/dist/commonjs/models/components/deleteapiresponse.d.ts +32 -0
  61. package/dist/commonjs/models/components/deleteapiresponse.d.ts.map +1 -0
  62. package/dist/commonjs/models/components/deleteapiresponse.js +69 -0
  63. package/dist/commonjs/models/components/deleteapiresponse.js.map +1 -0
  64. package/dist/commonjs/models/components/expand.d.ts +6 -0
  65. package/dist/commonjs/models/components/expand.d.ts.map +1 -1
  66. package/dist/commonjs/models/components/expand.js +2 -0
  67. package/dist/commonjs/models/components/expand.js.map +1 -1
  68. package/dist/commonjs/models/components/feed.d.ts +2 -0
  69. package/dist/commonjs/models/components/feed.d.ts.map +1 -1
  70. package/dist/commonjs/models/components/feed.js +4 -0
  71. package/dist/commonjs/models/components/feed.js.map +1 -1
  72. package/dist/commonjs/models/components/fhirconfig.d.ts +192 -0
  73. package/dist/commonjs/models/components/fhirconfig.d.ts.map +1 -0
  74. package/dist/commonjs/models/components/fhirconfig.js +266 -0
  75. package/dist/commonjs/models/components/fhirconfig.js.map +1 -0
  76. package/dist/commonjs/models/components/fhirconfigcreate.d.ts +137 -0
  77. package/dist/commonjs/models/components/fhirconfigcreate.d.ts.map +1 -0
  78. package/dist/commonjs/models/components/fhirconfigcreate.js +241 -0
  79. package/dist/commonjs/models/components/fhirconfigcreate.js.map +1 -0
  80. package/dist/commonjs/models/components/fhirconfigpartialupdate.d.ts +137 -0
  81. package/dist/commonjs/models/components/fhirconfigpartialupdate.d.ts.map +1 -0
  82. package/dist/commonjs/models/components/fhirconfigpartialupdate.js +243 -0
  83. package/dist/commonjs/models/components/fhirconfigpartialupdate.js.map +1 -0
  84. package/dist/commonjs/models/components/index.d.ts +4 -0
  85. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  86. package/dist/commonjs/models/components/index.js +4 -0
  87. package/dist/commonjs/models/components/index.js.map +1 -1
  88. package/dist/commonjs/models/components/invitee.d.ts +2 -0
  89. package/dist/commonjs/models/components/invitee.d.ts.map +1 -1
  90. package/dist/commonjs/models/components/invitee.js +11 -0
  91. package/dist/commonjs/models/components/invitee.js.map +1 -1
  92. package/dist/commonjs/models/components/pendinginvitation.d.ts +6 -0
  93. package/dist/commonjs/models/components/pendinginvitation.d.ts.map +1 -1
  94. package/dist/commonjs/models/components/pendinginvitation.js +16 -0
  95. package/dist/commonjs/models/components/pendinginvitation.js.map +1 -1
  96. package/dist/commonjs/models/components/standingappointment.d.ts +2 -0
  97. package/dist/commonjs/models/components/standingappointment.d.ts.map +1 -1
  98. package/dist/commonjs/models/components/standingappointment.js +4 -0
  99. package/dist/commonjs/models/components/standingappointment.js.map +1 -1
  100. package/dist/commonjs/models/components/user.d.ts +4 -0
  101. package/dist/commonjs/models/components/user.d.ts.map +1 -1
  102. package/dist/commonjs/models/components/user.js +8 -0
  103. package/dist/commonjs/models/components/user.js.map +1 -1
  104. package/dist/commonjs/models/components/vendor.d.ts +7 -29
  105. package/dist/commonjs/models/components/vendor.d.ts.map +1 -1
  106. package/dist/commonjs/models/components/vendor.js +14 -32
  107. package/dist/commonjs/models/components/vendor.js.map +1 -1
  108. package/dist/commonjs/models/operations/addmobiledevice.d.ts +59 -0
  109. package/dist/commonjs/models/operations/addmobiledevice.d.ts.map +1 -0
  110. package/dist/commonjs/models/operations/addmobiledevice.js +107 -0
  111. package/dist/commonjs/models/operations/addmobiledevice.js.map +1 -0
  112. package/dist/commonjs/models/operations/deleteevent.d.ts +0 -28
  113. package/dist/commonjs/models/operations/deleteevent.d.ts.map +1 -1
  114. package/dist/commonjs/models/operations/deleteevent.js +1 -28
  115. package/dist/commonjs/models/operations/deleteevent.js.map +1 -1
  116. package/dist/commonjs/models/operations/deletefhirconfigbyid.d.ts +32 -0
  117. package/dist/commonjs/models/operations/deletefhirconfigbyid.d.ts.map +1 -0
  118. package/dist/commonjs/models/operations/deletefhirconfigbyid.js +69 -0
  119. package/dist/commonjs/models/operations/deletefhirconfigbyid.js.map +1 -0
  120. package/dist/commonjs/models/operations/deletevendormanagedbycompany.d.ts +0 -28
  121. package/dist/commonjs/models/operations/deletevendormanagedbycompany.d.ts.map +1 -1
  122. package/dist/commonjs/models/operations/deletevendormanagedbycompany.js +1 -30
  123. package/dist/commonjs/models/operations/deletevendormanagedbycompany.js.map +1 -1
  124. package/dist/commonjs/models/operations/getfhirconfig.d.ts +32 -0
  125. package/dist/commonjs/models/operations/getfhirconfig.d.ts.map +1 -0
  126. package/dist/commonjs/models/operations/getfhirconfig.js +69 -0
  127. package/dist/commonjs/models/operations/getfhirconfig.js.map +1 -0
  128. package/dist/commonjs/models/operations/index.d.ts +5 -0
  129. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  130. package/dist/commonjs/models/operations/index.js +5 -0
  131. package/dist/commonjs/models/operations/index.js.map +1 -1
  132. package/dist/commonjs/models/operations/listoffhirconfigurations.d.ts +106 -0
  133. package/dist/commonjs/models/operations/listoffhirconfigurations.d.ts.map +1 -0
  134. package/dist/commonjs/models/operations/listoffhirconfigurations.js +149 -0
  135. package/dist/commonjs/models/operations/listoffhirconfigurations.js.map +1 -0
  136. package/dist/commonjs/models/operations/securityzonecheckin.d.ts +0 -2
  137. package/dist/commonjs/models/operations/securityzonecheckin.d.ts.map +1 -1
  138. package/dist/commonjs/models/operations/securityzonecheckin.js +0 -4
  139. package/dist/commonjs/models/operations/securityzonecheckin.js.map +1 -1
  140. package/dist/commonjs/models/operations/updatefhirconfigbyid.d.ts +38 -0
  141. package/dist/commonjs/models/operations/updatefhirconfigbyid.d.ts.map +1 -0
  142. package/dist/commonjs/models/operations/updatefhirconfigbyid.js +81 -0
  143. package/dist/commonjs/models/operations/updatefhirconfigbyid.js.map +1 -0
  144. package/dist/commonjs/react-query/eventsDeleteEvent.d.ts +2 -1
  145. package/dist/commonjs/react-query/eventsDeleteEvent.d.ts.map +1 -1
  146. package/dist/commonjs/react-query/eventsDeleteEvent.js.map +1 -1
  147. package/dist/commonjs/react-query/fhirConfigsCreateAFhirConfig.d.ts +25 -0
  148. package/dist/commonjs/react-query/fhirConfigsCreateAFhirConfig.d.ts.map +1 -0
  149. package/dist/commonjs/react-query/fhirConfigsCreateAFhirConfig.js +49 -0
  150. package/dist/commonjs/react-query/fhirConfigsCreateAFhirConfig.js.map +1 -0
  151. package/dist/commonjs/react-query/fhirConfigsDeleteFhirConfigById.d.ts +24 -0
  152. package/dist/commonjs/react-query/fhirConfigsDeleteFhirConfigById.d.ts.map +1 -0
  153. package/dist/commonjs/react-query/fhirConfigsDeleteFhirConfigById.js +51 -0
  154. package/dist/commonjs/react-query/fhirConfigsDeleteFhirConfigById.js.map +1 -0
  155. package/dist/commonjs/react-query/fhirConfigsGetFhirConfig.d.ts +35 -0
  156. package/dist/commonjs/react-query/fhirConfigsGetFhirConfig.d.ts.map +1 -0
  157. package/dist/commonjs/react-query/fhirConfigsGetFhirConfig.js +95 -0
  158. package/dist/commonjs/react-query/fhirConfigsGetFhirConfig.js.map +1 -0
  159. package/dist/commonjs/react-query/fhirConfigsListOfFhirConfigurations.d.ts +75 -0
  160. package/dist/commonjs/react-query/fhirConfigsListOfFhirConfigurations.d.ts.map +1 -0
  161. package/dist/commonjs/react-query/fhirConfigsListOfFhirConfigurations.js +159 -0
  162. package/dist/commonjs/react-query/fhirConfigsListOfFhirConfigurations.js.map +1 -0
  163. package/dist/commonjs/react-query/fhirConfigsUpdateFhirConfigById.d.ts +21 -0
  164. package/dist/commonjs/react-query/fhirConfigsUpdateFhirConfigById.d.ts.map +1 -0
  165. package/dist/commonjs/react-query/fhirConfigsUpdateFhirConfigById.js +48 -0
  166. package/dist/commonjs/react-query/fhirConfigsUpdateFhirConfigById.js.map +1 -0
  167. package/dist/commonjs/react-query/index.d.ts +6 -0
  168. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  169. package/dist/commonjs/react-query/index.js +6 -0
  170. package/dist/commonjs/react-query/index.js.map +1 -1
  171. package/dist/commonjs/react-query/mobileDevicesAddMobileDevice.d.ts +23 -0
  172. package/dist/commonjs/react-query/mobileDevicesAddMobileDevice.d.ts.map +1 -0
  173. package/dist/commonjs/react-query/mobileDevicesAddMobileDevice.js +47 -0
  174. package/dist/commonjs/react-query/mobileDevicesAddMobileDevice.js.map +1 -0
  175. package/dist/commonjs/react-query/vendorsDeleteVendorManagedByCompany.d.ts +2 -1
  176. package/dist/commonjs/react-query/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
  177. package/dist/commonjs/react-query/vendorsDeleteVendorManagedByCompany.js.map +1 -1
  178. package/dist/commonjs/react-query/vendorsGetVendorsDetails.d.ts +4 -0
  179. package/dist/commonjs/react-query/vendorsGetVendorsDetails.d.ts.map +1 -1
  180. package/dist/commonjs/react-query/vendorsGetVendorsDetails.js +4 -0
  181. package/dist/commonjs/react-query/vendorsGetVendorsDetails.js.map +1 -1
  182. package/dist/commonjs/sdk/events.d.ts +2 -1
  183. package/dist/commonjs/sdk/events.d.ts.map +1 -1
  184. package/dist/commonjs/sdk/events.js.map +1 -1
  185. package/dist/commonjs/sdk/fhirconfigs.d.ts +45 -0
  186. package/dist/commonjs/sdk/fhirconfigs.d.ts.map +1 -0
  187. package/dist/commonjs/sdk/fhirconfigs.js +64 -0
  188. package/dist/commonjs/sdk/fhirconfigs.js.map +1 -0
  189. package/dist/commonjs/sdk/mobiledevices.d.ts +12 -0
  190. package/dist/commonjs/sdk/mobiledevices.d.ts.map +1 -0
  191. package/dist/commonjs/sdk/mobiledevices.js +22 -0
  192. package/dist/commonjs/sdk/mobiledevices.js.map +1 -0
  193. package/dist/commonjs/sdk/sdk.d.ts +6 -0
  194. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  195. package/dist/commonjs/sdk/sdk.js +8 -0
  196. package/dist/commonjs/sdk/sdk.js.map +1 -1
  197. package/dist/commonjs/sdk/vendors.d.ts +3 -1
  198. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  199. package/dist/commonjs/sdk/vendors.js +2 -0
  200. package/dist/commonjs/sdk/vendors.js.map +1 -1
  201. package/dist/esm/__tests__/events.test.js +3 -1
  202. package/dist/esm/__tests__/events.test.js.map +1 -1
  203. package/dist/esm/__tests__/fhirconfigs.test.d.ts +2 -0
  204. package/dist/esm/__tests__/fhirconfigs.test.d.ts.map +1 -0
  205. package/dist/esm/__tests__/fhirconfigs.test.js +158 -0
  206. package/dist/esm/__tests__/fhirconfigs.test.js.map +1 -0
  207. package/dist/esm/__tests__/mobiledevices.test.d.ts +2 -0
  208. package/dist/esm/__tests__/mobiledevices.test.d.ts.map +1 -0
  209. package/dist/esm/__tests__/mobiledevices.test.js +20 -0
  210. package/dist/esm/__tests__/mobiledevices.test.js.map +1 -0
  211. package/dist/esm/__tests__/webhooks.test.js +1 -1
  212. package/dist/esm/__tests__/webhooks.test.js.map +1 -1
  213. package/dist/esm/__tests__/zones.test.js +4 -2
  214. package/dist/esm/__tests__/zones.test.js.map +1 -1
  215. package/dist/esm/funcs/eventsDeleteEvent.d.ts +2 -1
  216. package/dist/esm/funcs/eventsDeleteEvent.d.ts.map +1 -1
  217. package/dist/esm/funcs/eventsDeleteEvent.js +2 -1
  218. package/dist/esm/funcs/eventsDeleteEvent.js.map +1 -1
  219. package/dist/esm/funcs/fhirConfigsCreateAFhirConfig.d.ts +20 -0
  220. package/dist/esm/funcs/fhirConfigsCreateAFhirConfig.d.ts.map +1 -0
  221. package/dist/esm/funcs/fhirConfigsCreateAFhirConfig.js +83 -0
  222. package/dist/esm/funcs/fhirConfigsCreateAFhirConfig.js.map +1 -0
  223. package/dist/esm/funcs/fhirConfigsDeleteFhirConfigById.d.ts +19 -0
  224. package/dist/esm/funcs/fhirConfigsDeleteFhirConfigById.d.ts.map +1 -0
  225. package/dist/esm/funcs/fhirConfigsDeleteFhirConfigById.js +87 -0
  226. package/dist/esm/funcs/fhirConfigsDeleteFhirConfigById.js.map +1 -0
  227. package/dist/esm/funcs/fhirConfigsGetFhirConfig.d.ts +21 -0
  228. package/dist/esm/funcs/fhirConfigsGetFhirConfig.d.ts.map +1 -0
  229. package/dist/esm/funcs/fhirConfigsGetFhirConfig.js +89 -0
  230. package/dist/esm/funcs/fhirConfigsGetFhirConfig.js.map +1 -0
  231. package/dist/esm/funcs/fhirConfigsListOfFhirConfigurations.d.ts +21 -0
  232. package/dist/esm/funcs/fhirConfigsListOfFhirConfigurations.d.ts.map +1 -0
  233. package/dist/esm/funcs/fhirConfigsListOfFhirConfigurations.js +120 -0
  234. package/dist/esm/funcs/fhirConfigsListOfFhirConfigurations.js.map +1 -0
  235. package/dist/esm/funcs/fhirConfigsUpdateFhirConfigById.d.ts +16 -0
  236. package/dist/esm/funcs/fhirConfigsUpdateFhirConfigById.d.ts.map +1 -0
  237. package/dist/esm/funcs/fhirConfigsUpdateFhirConfigById.js +87 -0
  238. package/dist/esm/funcs/fhirConfigsUpdateFhirConfigById.js.map +1 -0
  239. package/dist/esm/funcs/mobileDevicesAddMobileDevice.d.ts +18 -0
  240. package/dist/esm/funcs/mobileDevicesAddMobileDevice.d.ts.map +1 -0
  241. package/dist/esm/funcs/mobileDevicesAddMobileDevice.js +81 -0
  242. package/dist/esm/funcs/mobileDevicesAddMobileDevice.js.map +1 -0
  243. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.d.ts +2 -1
  244. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
  245. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.js +2 -2
  246. package/dist/esm/funcs/vendorsDeleteVendorManagedByCompany.js.map +1 -1
  247. package/dist/esm/funcs/vendorsGetVendorsDetails.d.ts +2 -0
  248. package/dist/esm/funcs/vendorsGetVendorsDetails.d.ts.map +1 -1
  249. package/dist/esm/funcs/vendorsGetVendorsDetails.js +2 -0
  250. package/dist/esm/funcs/vendorsGetVendorsDetails.js.map +1 -1
  251. package/dist/esm/lib/config.d.ts +4 -4
  252. package/dist/esm/lib/config.js +4 -4
  253. package/dist/esm/lib/security.d.ts.map +1 -1
  254. package/dist/esm/lib/security.js.map +1 -1
  255. package/dist/esm/models/components/backgroundcheckresult.d.ts +46 -2
  256. package/dist/esm/models/components/backgroundcheckresult.d.ts.map +1 -1
  257. package/dist/esm/models/components/backgroundcheckresult.js +46 -2
  258. package/dist/esm/models/components/backgroundcheckresult.js.map +1 -1
  259. package/dist/esm/models/components/deleteapiresponse.d.ts +32 -0
  260. package/dist/esm/models/components/deleteapiresponse.d.ts.map +1 -0
  261. package/dist/esm/models/components/deleteapiresponse.js +31 -0
  262. package/dist/esm/models/components/deleteapiresponse.js.map +1 -0
  263. package/dist/esm/models/components/expand.d.ts +6 -0
  264. package/dist/esm/models/components/expand.d.ts.map +1 -1
  265. package/dist/esm/models/components/expand.js +2 -0
  266. package/dist/esm/models/components/expand.js.map +1 -1
  267. package/dist/esm/models/components/feed.d.ts +2 -0
  268. package/dist/esm/models/components/feed.d.ts.map +1 -1
  269. package/dist/esm/models/components/feed.js +4 -0
  270. package/dist/esm/models/components/feed.js.map +1 -1
  271. package/dist/esm/models/components/fhirconfig.d.ts +192 -0
  272. package/dist/esm/models/components/fhirconfig.d.ts.map +1 -0
  273. package/dist/esm/models/components/fhirconfig.js +222 -0
  274. package/dist/esm/models/components/fhirconfig.js.map +1 -0
  275. package/dist/esm/models/components/fhirconfigcreate.d.ts +137 -0
  276. package/dist/esm/models/components/fhirconfigcreate.d.ts.map +1 -0
  277. package/dist/esm/models/components/fhirconfigcreate.js +197 -0
  278. package/dist/esm/models/components/fhirconfigcreate.js.map +1 -0
  279. package/dist/esm/models/components/fhirconfigpartialupdate.d.ts +137 -0
  280. package/dist/esm/models/components/fhirconfigpartialupdate.d.ts.map +1 -0
  281. package/dist/esm/models/components/fhirconfigpartialupdate.js +199 -0
  282. package/dist/esm/models/components/fhirconfigpartialupdate.js.map +1 -0
  283. package/dist/esm/models/components/index.d.ts +4 -0
  284. package/dist/esm/models/components/index.d.ts.map +1 -1
  285. package/dist/esm/models/components/index.js +4 -0
  286. package/dist/esm/models/components/index.js.map +1 -1
  287. package/dist/esm/models/components/invitee.d.ts +2 -0
  288. package/dist/esm/models/components/invitee.d.ts.map +1 -1
  289. package/dist/esm/models/components/invitee.js +11 -0
  290. package/dist/esm/models/components/invitee.js.map +1 -1
  291. package/dist/esm/models/components/pendinginvitation.d.ts +6 -0
  292. package/dist/esm/models/components/pendinginvitation.d.ts.map +1 -1
  293. package/dist/esm/models/components/pendinginvitation.js +16 -0
  294. package/dist/esm/models/components/pendinginvitation.js.map +1 -1
  295. package/dist/esm/models/components/standingappointment.d.ts +2 -0
  296. package/dist/esm/models/components/standingappointment.d.ts.map +1 -1
  297. package/dist/esm/models/components/standingappointment.js +4 -0
  298. package/dist/esm/models/components/standingappointment.js.map +1 -1
  299. package/dist/esm/models/components/user.d.ts +4 -0
  300. package/dist/esm/models/components/user.d.ts.map +1 -1
  301. package/dist/esm/models/components/user.js +8 -0
  302. package/dist/esm/models/components/user.js.map +1 -1
  303. package/dist/esm/models/components/vendor.d.ts +7 -29
  304. package/dist/esm/models/components/vendor.d.ts.map +1 -1
  305. package/dist/esm/models/components/vendor.js +13 -29
  306. package/dist/esm/models/components/vendor.js.map +1 -1
  307. package/dist/esm/models/operations/addmobiledevice.d.ts +59 -0
  308. package/dist/esm/models/operations/addmobiledevice.d.ts.map +1 -0
  309. package/dist/esm/models/operations/addmobiledevice.js +67 -0
  310. package/dist/esm/models/operations/addmobiledevice.js.map +1 -0
  311. package/dist/esm/models/operations/deleteevent.d.ts +0 -28
  312. package/dist/esm/models/operations/deleteevent.d.ts.map +1 -1
  313. package/dist/esm/models/operations/deleteevent.js +0 -25
  314. package/dist/esm/models/operations/deleteevent.js.map +1 -1
  315. package/dist/esm/models/operations/deletefhirconfigbyid.d.ts +32 -0
  316. package/dist/esm/models/operations/deletefhirconfigbyid.d.ts.map +1 -0
  317. package/dist/esm/models/operations/deletefhirconfigbyid.js +31 -0
  318. package/dist/esm/models/operations/deletefhirconfigbyid.js.map +1 -0
  319. package/dist/esm/models/operations/deletevendormanagedbycompany.d.ts +0 -28
  320. package/dist/esm/models/operations/deletevendormanagedbycompany.d.ts.map +1 -1
  321. package/dist/esm/models/operations/deletevendormanagedbycompany.js +0 -27
  322. package/dist/esm/models/operations/deletevendormanagedbycompany.js.map +1 -1
  323. package/dist/esm/models/operations/getfhirconfig.d.ts +32 -0
  324. package/dist/esm/models/operations/getfhirconfig.d.ts.map +1 -0
  325. package/dist/esm/models/operations/getfhirconfig.js +31 -0
  326. package/dist/esm/models/operations/getfhirconfig.js.map +1 -0
  327. package/dist/esm/models/operations/index.d.ts +5 -0
  328. package/dist/esm/models/operations/index.d.ts.map +1 -1
  329. package/dist/esm/models/operations/index.js +5 -0
  330. package/dist/esm/models/operations/index.js.map +1 -1
  331. package/dist/esm/models/operations/listoffhirconfigurations.d.ts +106 -0
  332. package/dist/esm/models/operations/listoffhirconfigurations.d.ts.map +1 -0
  333. package/dist/esm/models/operations/listoffhirconfigurations.js +107 -0
  334. package/dist/esm/models/operations/listoffhirconfigurations.js.map +1 -0
  335. package/dist/esm/models/operations/securityzonecheckin.d.ts +0 -2
  336. package/dist/esm/models/operations/securityzonecheckin.d.ts.map +1 -1
  337. package/dist/esm/models/operations/securityzonecheckin.js +0 -4
  338. package/dist/esm/models/operations/securityzonecheckin.js.map +1 -1
  339. package/dist/esm/models/operations/updatefhirconfigbyid.d.ts +38 -0
  340. package/dist/esm/models/operations/updatefhirconfigbyid.d.ts.map +1 -0
  341. package/dist/esm/models/operations/updatefhirconfigbyid.js +43 -0
  342. package/dist/esm/models/operations/updatefhirconfigbyid.js.map +1 -0
  343. package/dist/esm/react-query/eventsDeleteEvent.d.ts +2 -1
  344. package/dist/esm/react-query/eventsDeleteEvent.d.ts.map +1 -1
  345. package/dist/esm/react-query/eventsDeleteEvent.js.map +1 -1
  346. package/dist/esm/react-query/fhirConfigsCreateAFhirConfig.d.ts +25 -0
  347. package/dist/esm/react-query/fhirConfigsCreateAFhirConfig.d.ts.map +1 -0
  348. package/dist/esm/react-query/fhirConfigsCreateAFhirConfig.js +44 -0
  349. package/dist/esm/react-query/fhirConfigsCreateAFhirConfig.js.map +1 -0
  350. package/dist/esm/react-query/fhirConfigsDeleteFhirConfigById.d.ts +24 -0
  351. package/dist/esm/react-query/fhirConfigsDeleteFhirConfigById.d.ts.map +1 -0
  352. package/dist/esm/react-query/fhirConfigsDeleteFhirConfigById.js +46 -0
  353. package/dist/esm/react-query/fhirConfigsDeleteFhirConfigById.js.map +1 -0
  354. package/dist/esm/react-query/fhirConfigsGetFhirConfig.d.ts +35 -0
  355. package/dist/esm/react-query/fhirConfigsGetFhirConfig.d.ts.map +1 -0
  356. package/dist/esm/react-query/fhirConfigsGetFhirConfig.js +85 -0
  357. package/dist/esm/react-query/fhirConfigsGetFhirConfig.js.map +1 -0
  358. package/dist/esm/react-query/fhirConfigsListOfFhirConfigurations.d.ts +75 -0
  359. package/dist/esm/react-query/fhirConfigsListOfFhirConfigurations.d.ts.map +1 -0
  360. package/dist/esm/react-query/fhirConfigsListOfFhirConfigurations.js +146 -0
  361. package/dist/esm/react-query/fhirConfigsListOfFhirConfigurations.js.map +1 -0
  362. package/dist/esm/react-query/fhirConfigsUpdateFhirConfigById.d.ts +21 -0
  363. package/dist/esm/react-query/fhirConfigsUpdateFhirConfigById.d.ts.map +1 -0
  364. package/dist/esm/react-query/fhirConfigsUpdateFhirConfigById.js +43 -0
  365. package/dist/esm/react-query/fhirConfigsUpdateFhirConfigById.js.map +1 -0
  366. package/dist/esm/react-query/index.d.ts +6 -0
  367. package/dist/esm/react-query/index.d.ts.map +1 -1
  368. package/dist/esm/react-query/index.js +6 -0
  369. package/dist/esm/react-query/index.js.map +1 -1
  370. package/dist/esm/react-query/mobileDevicesAddMobileDevice.d.ts +23 -0
  371. package/dist/esm/react-query/mobileDevicesAddMobileDevice.d.ts.map +1 -0
  372. package/dist/esm/react-query/mobileDevicesAddMobileDevice.js +42 -0
  373. package/dist/esm/react-query/mobileDevicesAddMobileDevice.js.map +1 -0
  374. package/dist/esm/react-query/vendorsDeleteVendorManagedByCompany.d.ts +2 -1
  375. package/dist/esm/react-query/vendorsDeleteVendorManagedByCompany.d.ts.map +1 -1
  376. package/dist/esm/react-query/vendorsDeleteVendorManagedByCompany.js.map +1 -1
  377. package/dist/esm/react-query/vendorsGetVendorsDetails.d.ts +4 -0
  378. package/dist/esm/react-query/vendorsGetVendorsDetails.d.ts.map +1 -1
  379. package/dist/esm/react-query/vendorsGetVendorsDetails.js +4 -0
  380. package/dist/esm/react-query/vendorsGetVendorsDetails.js.map +1 -1
  381. package/dist/esm/sdk/events.d.ts +2 -1
  382. package/dist/esm/sdk/events.d.ts.map +1 -1
  383. package/dist/esm/sdk/events.js.map +1 -1
  384. package/dist/esm/sdk/fhirconfigs.d.ts +45 -0
  385. package/dist/esm/sdk/fhirconfigs.d.ts.map +1 -0
  386. package/dist/esm/sdk/fhirconfigs.js +60 -0
  387. package/dist/esm/sdk/fhirconfigs.js.map +1 -0
  388. package/dist/esm/sdk/mobiledevices.d.ts +12 -0
  389. package/dist/esm/sdk/mobiledevices.d.ts.map +1 -0
  390. package/dist/esm/sdk/mobiledevices.js +18 -0
  391. package/dist/esm/sdk/mobiledevices.js.map +1 -0
  392. package/dist/esm/sdk/sdk.d.ts +6 -0
  393. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  394. package/dist/esm/sdk/sdk.js +8 -0
  395. package/dist/esm/sdk/sdk.js.map +1 -1
  396. package/dist/esm/sdk/vendors.d.ts +3 -1
  397. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  398. package/dist/esm/sdk/vendors.js +2 -0
  399. package/dist/esm/sdk/vendors.js.map +1 -1
  400. package/examples/package-lock.json +1 -1
  401. package/jsr.json +1 -1
  402. package/package.json +1 -1
  403. package/src/__tests__/events.test.ts +3 -1
  404. package/src/__tests__/fhirconfigs.test.ts +173 -0
  405. package/src/__tests__/mobiledevices.test.ts +23 -0
  406. package/src/__tests__/webhooks.test.ts +1 -1
  407. package/src/__tests__/zones.test.ts +4 -2
  408. package/src/funcs/eventsDeleteEvent.ts +5 -4
  409. package/src/funcs/fhirConfigsCreateAFhirConfig.ts +171 -0
  410. package/src/funcs/fhirConfigsDeleteFhirConfigById.ts +177 -0
  411. package/src/funcs/fhirConfigsGetFhirConfig.ts +178 -0
  412. package/src/funcs/fhirConfigsListOfFhirConfigurations.ts +248 -0
  413. package/src/funcs/fhirConfigsUpdateFhirConfigById.ts +177 -0
  414. package/src/funcs/mobileDevicesAddMobileDevice.ts +170 -0
  415. package/src/funcs/vendorsDeleteVendorManagedByCompany.ts +5 -8
  416. package/src/funcs/vendorsGetVendorsDetails.ts +2 -0
  417. package/src/lib/config.ts +4 -4
  418. package/src/lib/security.ts +4 -1
  419. package/src/models/components/backgroundcheckresult.ts +78 -4
  420. package/src/models/components/deleteapiresponse.ts +69 -0
  421. package/src/models/components/expand.ts +2 -0
  422. package/src/models/components/feed.ts +6 -0
  423. package/src/models/components/fhirconfig.ts +417 -0
  424. package/src/models/components/fhirconfigcreate.ts +380 -0
  425. package/src/models/components/fhirconfigpartialupdate.ts +406 -0
  426. package/src/models/components/index.ts +4 -0
  427. package/src/models/components/invitee.ts +13 -0
  428. package/src/models/components/pendinginvitation.ts +22 -0
  429. package/src/models/components/standingappointment.ts +6 -0
  430. package/src/models/components/user.ts +12 -0
  431. package/src/models/components/vendor.ts +29 -68
  432. package/src/models/operations/addmobiledevice.ts +142 -0
  433. package/src/models/operations/deleteevent.ts +0 -61
  434. package/src/models/operations/deletefhirconfigbyid.ts +71 -0
  435. package/src/models/operations/deletevendormanagedbycompany.ts +0 -74
  436. package/src/models/operations/getfhirconfig.ts +69 -0
  437. package/src/models/operations/index.ts +5 -0
  438. package/src/models/operations/listoffhirconfigurations.ts +243 -0
  439. package/src/models/operations/securityzonecheckin.ts +0 -6
  440. package/src/models/operations/updatefhirconfigbyid.ts +88 -0
  441. package/src/react-query/eventsDeleteEvent.ts +2 -1
  442. package/src/react-query/fhirConfigsCreateAFhirConfig.ts +90 -0
  443. package/src/react-query/fhirConfigsDeleteFhirConfigById.ts +94 -0
  444. package/src/react-query/fhirConfigsGetFhirConfig.ts +162 -0
  445. package/src/react-query/fhirConfigsListOfFhirConfigurations.ts +342 -0
  446. package/src/react-query/fhirConfigsUpdateFhirConfigById.ts +90 -0
  447. package/src/react-query/index.ts +6 -0
  448. package/src/react-query/mobileDevicesAddMobileDevice.ts +89 -0
  449. package/src/react-query/vendorsDeleteVendorManagedByCompany.ts +2 -1
  450. package/src/react-query/vendorsGetVendorsDetails.ts +4 -0
  451. package/src/sdk/events.ts +2 -1
  452. package/src/sdk/fhirconfigs.ts +104 -0
  453. package/src/sdk/mobiledevices.ts +27 -0
  454. package/src/sdk/sdk.ts +12 -0
  455. package/src/sdk/vendors.ts +3 -3
  456. package/.devcontainer/README.md +0 -35
  457. package/docs/sdks/companies/README.md +0 -126
  458. package/docs/sdks/datarequests/README.md +0 -302
  459. package/docs/sdks/events/README.md +0 -1126
  460. package/docs/sdks/greensecurity/README.md +0 -14
  461. package/docs/sdks/invoices/README.md +0 -324
  462. package/docs/sdks/organizations/README.md +0 -508
  463. package/docs/sdks/supportarticles/README.md +0 -249
  464. package/docs/sdks/systems/README.md +0 -136
  465. package/docs/sdks/users/README.md +0 -831
  466. package/docs/sdks/vendors/README.md +0 -4787
  467. package/docs/sdks/vendorscans/README.md +0 -104
  468. package/docs/sdks/webhooks/README.md +0 -352
  469. package/docs/sdks/zones/README.md +0 -344
  470. package/examples/README.md +0 -31
@@ -0,0 +1,406 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type FhirConfigPartialUpdateProductionProfile = {
12
+ clientId?: string | undefined;
13
+ baseUrl?: string | undefined;
14
+ tokenUrl?: string | undefined;
15
+ patientListUrl?: string | undefined;
16
+ patientListId?: string | undefined;
17
+ privateKey?: string | undefined;
18
+ };
19
+
20
+ export type FhirConfigPartialUpdateNonProductionProfile = {
21
+ baseUrlNp?: string | undefined;
22
+ clientIdNp?: string | undefined;
23
+ tokenUrlNp?: string | undefined;
24
+ patientListUrlNp?: string | undefined;
25
+ patientListIdNp?: string | undefined;
26
+ privateKeyNp?: string | undefined;
27
+ };
28
+
29
+ export type FhirConfigPartialUpdateAppliesTo = {
30
+ facilityId?: number | undefined;
31
+ userIds?: Array<number> | undefined;
32
+ };
33
+
34
+ /**
35
+ * Data transfer object for partially updating an existing FhirConfig (PATCH operation).
36
+ */
37
+ export type FhirConfigPartialUpdate = {
38
+ productionProfile?: FhirConfigPartialUpdateProductionProfile | undefined;
39
+ nonProductionProfile?:
40
+ | FhirConfigPartialUpdateNonProductionProfile
41
+ | undefined;
42
+ appliesTo?: FhirConfigPartialUpdateAppliesTo | undefined;
43
+ activeProfile?: string | undefined;
44
+ notes?: string | undefined;
45
+ };
46
+
47
+ /** @internal */
48
+ export const FhirConfigPartialUpdateProductionProfile$inboundSchema: z.ZodType<
49
+ FhirConfigPartialUpdateProductionProfile,
50
+ z.ZodTypeDef,
51
+ unknown
52
+ > = z.object({
53
+ client_id: z.string().optional(),
54
+ base_url: z.string().optional(),
55
+ token_url: z.string().optional(),
56
+ patient_list_url: z.string().optional(),
57
+ patient_list_id: z.string().optional(),
58
+ private_key: z.string().optional(),
59
+ }).transform((v) => {
60
+ return remap$(v, {
61
+ "client_id": "clientId",
62
+ "base_url": "baseUrl",
63
+ "token_url": "tokenUrl",
64
+ "patient_list_url": "patientListUrl",
65
+ "patient_list_id": "patientListId",
66
+ "private_key": "privateKey",
67
+ });
68
+ });
69
+
70
+ /** @internal */
71
+ export type FhirConfigPartialUpdateProductionProfile$Outbound = {
72
+ client_id?: string | undefined;
73
+ base_url?: string | undefined;
74
+ token_url?: string | undefined;
75
+ patient_list_url?: string | undefined;
76
+ patient_list_id?: string | undefined;
77
+ private_key?: string | undefined;
78
+ };
79
+
80
+ /** @internal */
81
+ export const FhirConfigPartialUpdateProductionProfile$outboundSchema: z.ZodType<
82
+ FhirConfigPartialUpdateProductionProfile$Outbound,
83
+ z.ZodTypeDef,
84
+ FhirConfigPartialUpdateProductionProfile
85
+ > = z.object({
86
+ clientId: z.string().optional(),
87
+ baseUrl: z.string().optional(),
88
+ tokenUrl: z.string().optional(),
89
+ patientListUrl: z.string().optional(),
90
+ patientListId: z.string().optional(),
91
+ privateKey: z.string().optional(),
92
+ }).transform((v) => {
93
+ return remap$(v, {
94
+ clientId: "client_id",
95
+ baseUrl: "base_url",
96
+ tokenUrl: "token_url",
97
+ patientListUrl: "patient_list_url",
98
+ patientListId: "patient_list_id",
99
+ privateKey: "private_key",
100
+ });
101
+ });
102
+
103
+ /**
104
+ * @internal
105
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
106
+ */
107
+ export namespace FhirConfigPartialUpdateProductionProfile$ {
108
+ /** @deprecated use `FhirConfigPartialUpdateProductionProfile$inboundSchema` instead. */
109
+ export const inboundSchema =
110
+ FhirConfigPartialUpdateProductionProfile$inboundSchema;
111
+ /** @deprecated use `FhirConfigPartialUpdateProductionProfile$outboundSchema` instead. */
112
+ export const outboundSchema =
113
+ FhirConfigPartialUpdateProductionProfile$outboundSchema;
114
+ /** @deprecated use `FhirConfigPartialUpdateProductionProfile$Outbound` instead. */
115
+ export type Outbound = FhirConfigPartialUpdateProductionProfile$Outbound;
116
+ }
117
+
118
+ export function fhirConfigPartialUpdateProductionProfileToJSON(
119
+ fhirConfigPartialUpdateProductionProfile:
120
+ FhirConfigPartialUpdateProductionProfile,
121
+ ): string {
122
+ return JSON.stringify(
123
+ FhirConfigPartialUpdateProductionProfile$outboundSchema.parse(
124
+ fhirConfigPartialUpdateProductionProfile,
125
+ ),
126
+ );
127
+ }
128
+
129
+ export function fhirConfigPartialUpdateProductionProfileFromJSON(
130
+ jsonString: string,
131
+ ): SafeParseResult<
132
+ FhirConfigPartialUpdateProductionProfile,
133
+ SDKValidationError
134
+ > {
135
+ return safeParse(
136
+ jsonString,
137
+ (x) =>
138
+ FhirConfigPartialUpdateProductionProfile$inboundSchema.parse(
139
+ JSON.parse(x),
140
+ ),
141
+ `Failed to parse 'FhirConfigPartialUpdateProductionProfile' from JSON`,
142
+ );
143
+ }
144
+
145
+ /** @internal */
146
+ export const FhirConfigPartialUpdateNonProductionProfile$inboundSchema:
147
+ z.ZodType<
148
+ FhirConfigPartialUpdateNonProductionProfile,
149
+ z.ZodTypeDef,
150
+ unknown
151
+ > = z.object({
152
+ base_url_np: z.string().optional(),
153
+ client_id_np: z.string().optional(),
154
+ token_url_np: z.string().optional(),
155
+ patient_list_url_np: z.string().optional(),
156
+ patient_list_id_np: z.string().optional(),
157
+ private_key_np: z.string().optional(),
158
+ }).transform((v) => {
159
+ return remap$(v, {
160
+ "base_url_np": "baseUrlNp",
161
+ "client_id_np": "clientIdNp",
162
+ "token_url_np": "tokenUrlNp",
163
+ "patient_list_url_np": "patientListUrlNp",
164
+ "patient_list_id_np": "patientListIdNp",
165
+ "private_key_np": "privateKeyNp",
166
+ });
167
+ });
168
+
169
+ /** @internal */
170
+ export type FhirConfigPartialUpdateNonProductionProfile$Outbound = {
171
+ base_url_np?: string | undefined;
172
+ client_id_np?: string | undefined;
173
+ token_url_np?: string | undefined;
174
+ patient_list_url_np?: string | undefined;
175
+ patient_list_id_np?: string | undefined;
176
+ private_key_np?: string | undefined;
177
+ };
178
+
179
+ /** @internal */
180
+ export const FhirConfigPartialUpdateNonProductionProfile$outboundSchema:
181
+ z.ZodType<
182
+ FhirConfigPartialUpdateNonProductionProfile$Outbound,
183
+ z.ZodTypeDef,
184
+ FhirConfigPartialUpdateNonProductionProfile
185
+ > = z.object({
186
+ baseUrlNp: z.string().optional(),
187
+ clientIdNp: z.string().optional(),
188
+ tokenUrlNp: z.string().optional(),
189
+ patientListUrlNp: z.string().optional(),
190
+ patientListIdNp: z.string().optional(),
191
+ privateKeyNp: z.string().optional(),
192
+ }).transform((v) => {
193
+ return remap$(v, {
194
+ baseUrlNp: "base_url_np",
195
+ clientIdNp: "client_id_np",
196
+ tokenUrlNp: "token_url_np",
197
+ patientListUrlNp: "patient_list_url_np",
198
+ patientListIdNp: "patient_list_id_np",
199
+ privateKeyNp: "private_key_np",
200
+ });
201
+ });
202
+
203
+ /**
204
+ * @internal
205
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
206
+ */
207
+ export namespace FhirConfigPartialUpdateNonProductionProfile$ {
208
+ /** @deprecated use `FhirConfigPartialUpdateNonProductionProfile$inboundSchema` instead. */
209
+ export const inboundSchema =
210
+ FhirConfigPartialUpdateNonProductionProfile$inboundSchema;
211
+ /** @deprecated use `FhirConfigPartialUpdateNonProductionProfile$outboundSchema` instead. */
212
+ export const outboundSchema =
213
+ FhirConfigPartialUpdateNonProductionProfile$outboundSchema;
214
+ /** @deprecated use `FhirConfigPartialUpdateNonProductionProfile$Outbound` instead. */
215
+ export type Outbound = FhirConfigPartialUpdateNonProductionProfile$Outbound;
216
+ }
217
+
218
+ export function fhirConfigPartialUpdateNonProductionProfileToJSON(
219
+ fhirConfigPartialUpdateNonProductionProfile:
220
+ FhirConfigPartialUpdateNonProductionProfile,
221
+ ): string {
222
+ return JSON.stringify(
223
+ FhirConfigPartialUpdateNonProductionProfile$outboundSchema.parse(
224
+ fhirConfigPartialUpdateNonProductionProfile,
225
+ ),
226
+ );
227
+ }
228
+
229
+ export function fhirConfigPartialUpdateNonProductionProfileFromJSON(
230
+ jsonString: string,
231
+ ): SafeParseResult<
232
+ FhirConfigPartialUpdateNonProductionProfile,
233
+ SDKValidationError
234
+ > {
235
+ return safeParse(
236
+ jsonString,
237
+ (x) =>
238
+ FhirConfigPartialUpdateNonProductionProfile$inboundSchema.parse(
239
+ JSON.parse(x),
240
+ ),
241
+ `Failed to parse 'FhirConfigPartialUpdateNonProductionProfile' from JSON`,
242
+ );
243
+ }
244
+
245
+ /** @internal */
246
+ export const FhirConfigPartialUpdateAppliesTo$inboundSchema: z.ZodType<
247
+ FhirConfigPartialUpdateAppliesTo,
248
+ z.ZodTypeDef,
249
+ unknown
250
+ > = z.object({
251
+ facility_id: z.number().int().optional(),
252
+ user_ids: z.array(z.number().int()).optional(),
253
+ }).transform((v) => {
254
+ return remap$(v, {
255
+ "facility_id": "facilityId",
256
+ "user_ids": "userIds",
257
+ });
258
+ });
259
+
260
+ /** @internal */
261
+ export type FhirConfigPartialUpdateAppliesTo$Outbound = {
262
+ facility_id?: number | undefined;
263
+ user_ids?: Array<number> | undefined;
264
+ };
265
+
266
+ /** @internal */
267
+ export const FhirConfigPartialUpdateAppliesTo$outboundSchema: z.ZodType<
268
+ FhirConfigPartialUpdateAppliesTo$Outbound,
269
+ z.ZodTypeDef,
270
+ FhirConfigPartialUpdateAppliesTo
271
+ > = z.object({
272
+ facilityId: z.number().int().optional(),
273
+ userIds: z.array(z.number().int()).optional(),
274
+ }).transform((v) => {
275
+ return remap$(v, {
276
+ facilityId: "facility_id",
277
+ userIds: "user_ids",
278
+ });
279
+ });
280
+
281
+ /**
282
+ * @internal
283
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
284
+ */
285
+ export namespace FhirConfigPartialUpdateAppliesTo$ {
286
+ /** @deprecated use `FhirConfigPartialUpdateAppliesTo$inboundSchema` instead. */
287
+ export const inboundSchema = FhirConfigPartialUpdateAppliesTo$inboundSchema;
288
+ /** @deprecated use `FhirConfigPartialUpdateAppliesTo$outboundSchema` instead. */
289
+ export const outboundSchema = FhirConfigPartialUpdateAppliesTo$outboundSchema;
290
+ /** @deprecated use `FhirConfigPartialUpdateAppliesTo$Outbound` instead. */
291
+ export type Outbound = FhirConfigPartialUpdateAppliesTo$Outbound;
292
+ }
293
+
294
+ export function fhirConfigPartialUpdateAppliesToToJSON(
295
+ fhirConfigPartialUpdateAppliesTo: FhirConfigPartialUpdateAppliesTo,
296
+ ): string {
297
+ return JSON.stringify(
298
+ FhirConfigPartialUpdateAppliesTo$outboundSchema.parse(
299
+ fhirConfigPartialUpdateAppliesTo,
300
+ ),
301
+ );
302
+ }
303
+
304
+ export function fhirConfigPartialUpdateAppliesToFromJSON(
305
+ jsonString: string,
306
+ ): SafeParseResult<FhirConfigPartialUpdateAppliesTo, SDKValidationError> {
307
+ return safeParse(
308
+ jsonString,
309
+ (x) => FhirConfigPartialUpdateAppliesTo$inboundSchema.parse(JSON.parse(x)),
310
+ `Failed to parse 'FhirConfigPartialUpdateAppliesTo' from JSON`,
311
+ );
312
+ }
313
+
314
+ /** @internal */
315
+ export const FhirConfigPartialUpdate$inboundSchema: z.ZodType<
316
+ FhirConfigPartialUpdate,
317
+ z.ZodTypeDef,
318
+ unknown
319
+ > = z.object({
320
+ production_profile: z.lazy(() =>
321
+ FhirConfigPartialUpdateProductionProfile$inboundSchema
322
+ ).optional(),
323
+ non_production_profile: z.lazy(() =>
324
+ FhirConfigPartialUpdateNonProductionProfile$inboundSchema
325
+ ).optional(),
326
+ applies_to: z.lazy(() => FhirConfigPartialUpdateAppliesTo$inboundSchema)
327
+ .optional(),
328
+ active_profile: z.string().optional(),
329
+ notes: z.string().optional(),
330
+ }).transform((v) => {
331
+ return remap$(v, {
332
+ "production_profile": "productionProfile",
333
+ "non_production_profile": "nonProductionProfile",
334
+ "applies_to": "appliesTo",
335
+ "active_profile": "activeProfile",
336
+ });
337
+ });
338
+
339
+ /** @internal */
340
+ export type FhirConfigPartialUpdate$Outbound = {
341
+ production_profile?:
342
+ | FhirConfigPartialUpdateProductionProfile$Outbound
343
+ | undefined;
344
+ non_production_profile?:
345
+ | FhirConfigPartialUpdateNonProductionProfile$Outbound
346
+ | undefined;
347
+ applies_to?: FhirConfigPartialUpdateAppliesTo$Outbound | undefined;
348
+ active_profile?: string | undefined;
349
+ notes?: string | undefined;
350
+ };
351
+
352
+ /** @internal */
353
+ export const FhirConfigPartialUpdate$outboundSchema: z.ZodType<
354
+ FhirConfigPartialUpdate$Outbound,
355
+ z.ZodTypeDef,
356
+ FhirConfigPartialUpdate
357
+ > = z.object({
358
+ productionProfile: z.lazy(() =>
359
+ FhirConfigPartialUpdateProductionProfile$outboundSchema
360
+ ).optional(),
361
+ nonProductionProfile: z.lazy(() =>
362
+ FhirConfigPartialUpdateNonProductionProfile$outboundSchema
363
+ ).optional(),
364
+ appliesTo: z.lazy(() => FhirConfigPartialUpdateAppliesTo$outboundSchema)
365
+ .optional(),
366
+ activeProfile: z.string().optional(),
367
+ notes: z.string().optional(),
368
+ }).transform((v) => {
369
+ return remap$(v, {
370
+ productionProfile: "production_profile",
371
+ nonProductionProfile: "non_production_profile",
372
+ appliesTo: "applies_to",
373
+ activeProfile: "active_profile",
374
+ });
375
+ });
376
+
377
+ /**
378
+ * @internal
379
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
380
+ */
381
+ export namespace FhirConfigPartialUpdate$ {
382
+ /** @deprecated use `FhirConfigPartialUpdate$inboundSchema` instead. */
383
+ export const inboundSchema = FhirConfigPartialUpdate$inboundSchema;
384
+ /** @deprecated use `FhirConfigPartialUpdate$outboundSchema` instead. */
385
+ export const outboundSchema = FhirConfigPartialUpdate$outboundSchema;
386
+ /** @deprecated use `FhirConfigPartialUpdate$Outbound` instead. */
387
+ export type Outbound = FhirConfigPartialUpdate$Outbound;
388
+ }
389
+
390
+ export function fhirConfigPartialUpdateToJSON(
391
+ fhirConfigPartialUpdate: FhirConfigPartialUpdate,
392
+ ): string {
393
+ return JSON.stringify(
394
+ FhirConfigPartialUpdate$outboundSchema.parse(fhirConfigPartialUpdate),
395
+ );
396
+ }
397
+
398
+ export function fhirConfigPartialUpdateFromJSON(
399
+ jsonString: string,
400
+ ): SafeParseResult<FhirConfigPartialUpdate, SDKValidationError> {
401
+ return safeParse(
402
+ jsonString,
403
+ (x) => FhirConfigPartialUpdate$inboundSchema.parse(JSON.parse(x)),
404
+ `Failed to parse 'FhirConfigPartialUpdate' from JSON`,
405
+ );
406
+ }
@@ -13,6 +13,7 @@ export * from "./credentialdocument.js";
13
13
  export * from "./credentialstatus.js";
14
14
  export * from "./credit.js";
15
15
  export * from "./datarequest.js";
16
+ export * from "./deleteapiresponse.js";
16
17
  export * from "./department.js";
17
18
  export * from "./departmentmembership.js";
18
19
  export * from "./departmentsummary.js";
@@ -23,6 +24,9 @@ export * from "./facilitystatus.js";
23
24
  export * from "./facilitysummary.js";
24
25
  export * from "./facilityvendortype.js";
25
26
  export * from "./feed.js";
27
+ export * from "./fhirconfig.js";
28
+ export * from "./fhirconfigcreate.js";
29
+ export * from "./fhirconfigpartialupdate.js";
26
30
  export * from "./financialstatus.js";
27
31
  export * from "./handoff.js";
28
32
  export * from "./imageset.js";
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
6
7
  import { safeParse } from "../../lib/schemas.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
@@ -11,6 +12,7 @@ export type Invitee = {
11
12
  name?: string | null | undefined;
12
13
  details?: string | null | undefined;
13
14
  status?: string | null | undefined;
15
+ imgUrl?: string | null | undefined;
14
16
  };
15
17
 
16
18
  /** @internal */
@@ -19,6 +21,11 @@ export const Invitee$inboundSchema: z.ZodType<Invitee, z.ZodTypeDef, unknown> =
19
21
  name: z.nullable(z.string()).optional(),
20
22
  details: z.nullable(z.string()).optional(),
21
23
  status: z.nullable(z.string()).optional(),
24
+ img_url: z.nullable(z.string()).optional(),
25
+ }).transform((v) => {
26
+ return remap$(v, {
27
+ "img_url": "imgUrl",
28
+ });
22
29
  });
23
30
 
24
31
  /** @internal */
@@ -26,6 +33,7 @@ export type Invitee$Outbound = {
26
33
  name?: string | null | undefined;
27
34
  details?: string | null | undefined;
28
35
  status?: string | null | undefined;
36
+ img_url?: string | null | undefined;
29
37
  };
30
38
 
31
39
  /** @internal */
@@ -37,6 +45,11 @@ export const Invitee$outboundSchema: z.ZodType<
37
45
  name: z.nullable(z.string()).optional(),
38
46
  details: z.nullable(z.string()).optional(),
39
47
  status: z.nullable(z.string()).optional(),
48
+ imgUrl: z.nullable(z.string()).optional(),
49
+ }).transform((v) => {
50
+ return remap$(v, {
51
+ imgUrl: "img_url",
52
+ });
40
53
  });
41
54
 
42
55
  /**
@@ -20,12 +20,15 @@ export type Event = {
20
20
  end?: string | undefined;
21
21
  allDay?: boolean | undefined;
22
22
  standingAppt?: boolean | undefined;
23
+ notes?: string | null | undefined;
24
+ eventCreatorImgUrl?: any | null | undefined;
23
25
  };
24
26
 
25
27
  export type PendingInvitation = {
26
28
  id?: number | undefined;
27
29
  from?: string | null | undefined;
28
30
  to?: string | null | undefined;
31
+ inviteeImgUrl?: string | null | undefined;
29
32
  /**
30
33
  * A representation of a PendingInvitation response
31
34
  */
@@ -43,11 +46,14 @@ export const Event$inboundSchema: z.ZodType<Event, z.ZodTypeDef, unknown> = z
43
46
  end: z.string().optional(),
44
47
  all_day: z.boolean().optional(),
45
48
  standing_appt: z.boolean().optional(),
49
+ notes: z.nullable(z.string()).optional(),
50
+ event_creator_img_url: z.nullable(z.any()).optional(),
46
51
  }).transform((v) => {
47
52
  return remap$(v, {
48
53
  "user_id": "userId",
49
54
  "all_day": "allDay",
50
55
  "standing_appt": "standingAppt",
56
+ "event_creator_img_url": "eventCreatorImgUrl",
51
57
  });
52
58
  });
53
59
 
@@ -61,6 +67,8 @@ export type Event$Outbound = {
61
67
  end?: string | undefined;
62
68
  all_day?: boolean | undefined;
63
69
  standing_appt?: boolean | undefined;
70
+ notes?: string | null | undefined;
71
+ event_creator_img_url?: any | null | undefined;
64
72
  };
65
73
 
66
74
  /** @internal */
@@ -77,11 +85,14 @@ export const Event$outboundSchema: z.ZodType<
77
85
  end: z.string().optional(),
78
86
  allDay: z.boolean().optional(),
79
87
  standingAppt: z.boolean().optional(),
88
+ notes: z.nullable(z.string()).optional(),
89
+ eventCreatorImgUrl: z.nullable(z.any()).optional(),
80
90
  }).transform((v) => {
81
91
  return remap$(v, {
82
92
  userId: "user_id",
83
93
  allDay: "all_day",
84
94
  standingAppt: "standing_appt",
95
+ eventCreatorImgUrl: "event_creator_img_url",
85
96
  });
86
97
  });
87
98
 
@@ -121,7 +132,12 @@ export const PendingInvitation$inboundSchema: z.ZodType<
121
132
  id: z.number().int().optional(),
122
133
  from: z.nullable(z.string()).optional(),
123
134
  to: z.nullable(z.string()).optional(),
135
+ invitee_img_url: z.nullable(z.string()).optional(),
124
136
  event: z.lazy(() => Event$inboundSchema).optional(),
137
+ }).transform((v) => {
138
+ return remap$(v, {
139
+ "invitee_img_url": "inviteeImgUrl",
140
+ });
125
141
  });
126
142
 
127
143
  /** @internal */
@@ -129,6 +145,7 @@ export type PendingInvitation$Outbound = {
129
145
  id?: number | undefined;
130
146
  from?: string | null | undefined;
131
147
  to?: string | null | undefined;
148
+ invitee_img_url?: string | null | undefined;
132
149
  event?: Event$Outbound | undefined;
133
150
  };
134
151
 
@@ -141,7 +158,12 @@ export const PendingInvitation$outboundSchema: z.ZodType<
141
158
  id: z.number().int().optional(),
142
159
  from: z.nullable(z.string()).optional(),
143
160
  to: z.nullable(z.string()).optional(),
161
+ inviteeImgUrl: z.nullable(z.string()).optional(),
144
162
  event: z.lazy(() => Event$outboundSchema).optional(),
163
+ }).transform((v) => {
164
+ return remap$(v, {
165
+ inviteeImgUrl: "invitee_img_url",
166
+ });
145
167
  });
146
168
 
147
169
  /**
@@ -31,6 +31,7 @@ export type StandingAppointment = {
31
31
  facility?: string | null | undefined;
32
32
  department?: string | null | undefined;
33
33
  eventCreator?: string | null | undefined;
34
+ eventCreatorImgUrl?: string | null | undefined;
34
35
  invitees?: Array<Invitee | null> | undefined;
35
36
  };
36
37
 
@@ -53,12 +54,14 @@ export const StandingAppointment$inboundSchema: z.ZodType<
53
54
  facility: z.nullable(z.string()).optional(),
54
55
  department: z.nullable(z.string()).optional(),
55
56
  event_creator: z.nullable(z.string()).optional(),
57
+ event_creator_img_url: z.nullable(z.string()).optional(),
56
58
  invitees: z.array(z.nullable(Invitee$inboundSchema)).optional(),
57
59
  }).transform((v) => {
58
60
  return remap$(v, {
59
61
  "standing_appt": "standingAppt",
60
62
  "bringing_food": "bringingFood",
61
63
  "event_creator": "eventCreator",
64
+ "event_creator_img_url": "eventCreatorImgUrl",
62
65
  });
63
66
  });
64
67
 
@@ -77,6 +80,7 @@ export type StandingAppointment$Outbound = {
77
80
  facility?: string | null | undefined;
78
81
  department?: string | null | undefined;
79
82
  event_creator?: string | null | undefined;
83
+ event_creator_img_url?: string | null | undefined;
80
84
  invitees?: Array<Invitee$Outbound | null> | undefined;
81
85
  };
82
86
 
@@ -99,12 +103,14 @@ export const StandingAppointment$outboundSchema: z.ZodType<
99
103
  facility: z.nullable(z.string()).optional(),
100
104
  department: z.nullable(z.string()).optional(),
101
105
  eventCreator: z.nullable(z.string()).optional(),
106
+ eventCreatorImgUrl: z.nullable(z.string()).optional(),
102
107
  invitees: z.array(z.nullable(Invitee$outboundSchema)).optional(),
103
108
  }).transform((v) => {
104
109
  return remap$(v, {
105
110
  standingAppt: "standing_appt",
106
111
  bringingFood: "bringing_food",
107
112
  eventCreator: "event_creator",
113
+ eventCreatorImgUrl: "event_creator_img_url",
108
114
  });
109
115
  });
110
116
 
@@ -78,6 +78,8 @@ export type UserUser = {
78
78
  phone?: string | null | undefined;
79
79
  mobilePhone?: string | null | undefined;
80
80
  fax?: string | null | undefined;
81
+ phoneConfirmed?: boolean | undefined;
82
+ emailConfirmed?: boolean | undefined;
81
83
  /**
82
84
  * The flavor of user will determine the most relevant user experience for this user as well as permissions
83
85
  */
@@ -179,6 +181,8 @@ export const UserUser$inboundSchema: z.ZodType<
179
181
  phone: z.nullable(z.string()).optional(),
180
182
  mobile_phone: z.nullable(z.string()).optional(),
181
183
  fax: z.nullable(z.string()).optional(),
184
+ phone_confirmed: z.boolean().optional(),
185
+ email_confirmed: z.boolean().optional(),
182
186
  user_type: UserType$inboundSchema,
183
187
  timezone: z.nullable(z.string()).optional(),
184
188
  image_urls: z.nullable(ImageSet$inboundSchema).optional(),
@@ -188,6 +192,8 @@ export const UserUser$inboundSchema: z.ZodType<
188
192
  "first_name": "firstName",
189
193
  "last_name": "lastName",
190
194
  "mobile_phone": "mobilePhone",
195
+ "phone_confirmed": "phoneConfirmed",
196
+ "email_confirmed": "emailConfirmed",
191
197
  "user_type": "userType",
192
198
  "image_urls": "imageUrls",
193
199
  });
@@ -202,6 +208,8 @@ export type UserUser$Outbound = {
202
208
  phone?: string | null | undefined;
203
209
  mobile_phone?: string | null | undefined;
204
210
  fax?: string | null | undefined;
211
+ phone_confirmed?: boolean | undefined;
212
+ email_confirmed?: boolean | undefined;
205
213
  user_type: string;
206
214
  timezone?: string | null | undefined;
207
215
  image_urls?: ImageSet$Outbound | null | undefined;
@@ -221,6 +229,8 @@ export const UserUser$outboundSchema: z.ZodType<
221
229
  phone: z.nullable(z.string()).optional(),
222
230
  mobilePhone: z.nullable(z.string()).optional(),
223
231
  fax: z.nullable(z.string()).optional(),
232
+ phoneConfirmed: z.boolean().optional(),
233
+ emailConfirmed: z.boolean().optional(),
224
234
  userType: UserType$outboundSchema,
225
235
  timezone: z.nullable(z.string()).optional(),
226
236
  imageUrls: z.nullable(ImageSet$outboundSchema).optional(),
@@ -230,6 +240,8 @@ export const UserUser$outboundSchema: z.ZodType<
230
240
  firstName: "first_name",
231
241
  lastName: "last_name",
232
242
  mobilePhone: "mobile_phone",
243
+ phoneConfirmed: "phone_confirmed",
244
+ emailConfirmed: "email_confirmed",
233
245
  userType: "user_type",
234
246
  imageUrls: "image_urls",
235
247
  });