@greensecurity/javascript-sdk 0.45.0-beta.26 → 0.45.0-beta.27

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 (384) hide show
  1. package/README.md +1 -1
  2. package/dist/commonjs/__tests__/events.test.js +2 -4
  3. package/dist/commonjs/__tests__/events.test.js.map +1 -1
  4. package/dist/commonjs/__tests__/vendors.test.js +1 -1
  5. package/dist/commonjs/__tests__/webhooks.test.js +1 -1
  6. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  7. package/dist/commonjs/__tests__/zones.test.js +9 -9
  8. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  9. package/dist/commonjs/funcs/eventsCreateEvent.d.ts +1 -1
  10. package/dist/commonjs/funcs/eventsCreateEvent.d.ts.map +1 -1
  11. package/dist/commonjs/funcs/eventsCreateEvent.js +1 -1
  12. package/dist/commonjs/funcs/eventsCreateEvent.js.map +1 -1
  13. package/dist/commonjs/funcs/eventsGetEvent.d.ts +12 -4
  14. package/dist/commonjs/funcs/eventsGetEvent.d.ts.map +1 -1
  15. package/dist/commonjs/funcs/eventsGetEvent.js +12 -4
  16. package/dist/commonjs/funcs/eventsGetEvent.js.map +1 -1
  17. package/dist/commonjs/funcs/eventsListFeed.d.ts +14 -2
  18. package/dist/commonjs/funcs/eventsListFeed.d.ts.map +1 -1
  19. package/dist/commonjs/funcs/eventsListFeed.js +14 -2
  20. package/dist/commonjs/funcs/eventsListFeed.js.map +1 -1
  21. package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.js +2 -0
  22. package/dist/commonjs/funcs/eventsListOrSearchVendorInvitees.js.map +1 -1
  23. package/dist/commonjs/funcs/eventsListPendingInvitations.d.ts +14 -2
  24. package/dist/commonjs/funcs/eventsListPendingInvitations.d.ts.map +1 -1
  25. package/dist/commonjs/funcs/eventsListPendingInvitations.js +14 -2
  26. package/dist/commonjs/funcs/eventsListPendingInvitations.js.map +1 -1
  27. package/dist/commonjs/funcs/eventsListStandingAppointments.d.ts +13 -2
  28. package/dist/commonjs/funcs/eventsListStandingAppointments.d.ts.map +1 -1
  29. package/dist/commonjs/funcs/eventsListStandingAppointments.js +13 -2
  30. package/dist/commonjs/funcs/eventsListStandingAppointments.js.map +1 -1
  31. package/dist/commonjs/funcs/fhirConfigsDeleteFhirConfigById.d.ts +2 -0
  32. package/dist/commonjs/funcs/fhirConfigsDeleteFhirConfigById.d.ts.map +1 -1
  33. package/dist/commonjs/funcs/fhirConfigsDeleteFhirConfigById.js +2 -0
  34. package/dist/commonjs/funcs/fhirConfigsDeleteFhirConfigById.js.map +1 -1
  35. package/dist/commonjs/funcs/fhirConfigsGetFhirConfig.d.ts +2 -0
  36. package/dist/commonjs/funcs/fhirConfigsGetFhirConfig.d.ts.map +1 -1
  37. package/dist/commonjs/funcs/fhirConfigsGetFhirConfig.js +2 -0
  38. package/dist/commonjs/funcs/fhirConfigsGetFhirConfig.js.map +1 -1
  39. package/dist/commonjs/funcs/fhirConfigsListOfFhirConfigurations.d.ts +1 -1
  40. package/dist/commonjs/funcs/fhirConfigsListOfFhirConfigurations.js +1 -1
  41. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts +2 -0
  42. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +1 -1
  43. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.js +2 -0
  44. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.js.map +1 -1
  45. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts +2 -0
  46. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  47. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js +2 -0
  48. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
  49. package/dist/commonjs/lib/config.d.ts +2 -2
  50. package/dist/commonjs/lib/config.js +2 -2
  51. package/dist/commonjs/models/components/event.d.ts +98 -0
  52. package/dist/commonjs/models/components/event.d.ts.map +1 -0
  53. package/dist/commonjs/models/components/event.js +110 -0
  54. package/dist/commonjs/models/components/event.js.map +1 -0
  55. package/dist/commonjs/models/components/expand.d.ts +6 -0
  56. package/dist/commonjs/models/components/expand.d.ts.map +1 -1
  57. package/dist/commonjs/models/components/expand.js +6 -0
  58. package/dist/commonjs/models/components/expand.js.map +1 -1
  59. package/dist/commonjs/models/components/index.d.ts +2 -4
  60. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  61. package/dist/commonjs/models/components/index.js +2 -4
  62. package/dist/commonjs/models/components/index.js.map +1 -1
  63. package/dist/commonjs/models/components/invite.d.ts +72 -0
  64. package/dist/commonjs/models/components/invite.d.ts.map +1 -0
  65. package/dist/commonjs/models/components/invite.js +109 -0
  66. package/dist/commonjs/models/components/invite.js.map +1 -0
  67. package/dist/commonjs/models/operations/createevent.d.ts +19 -0
  68. package/dist/commonjs/models/operations/createevent.d.ts.map +1 -1
  69. package/dist/commonjs/models/operations/createevent.js +3 -0
  70. package/dist/commonjs/models/operations/createevent.js.map +1 -1
  71. package/dist/commonjs/models/operations/getevent.d.ts +0 -89
  72. package/dist/commonjs/models/operations/getevent.d.ts.map +1 -1
  73. package/dist/commonjs/models/operations/getevent.js +1 -77
  74. package/dist/commonjs/models/operations/getevent.js.map +1 -1
  75. package/dist/commonjs/models/operations/listfeed.d.ts +1 -1
  76. package/dist/commonjs/models/operations/listfeed.d.ts.map +1 -1
  77. package/dist/commonjs/models/operations/listfeed.js +1 -2
  78. package/dist/commonjs/models/operations/listfeed.js.map +1 -1
  79. package/dist/commonjs/models/operations/listorsearchvendorinvitees.d.ts +17 -0
  80. package/dist/commonjs/models/operations/listorsearchvendorinvitees.d.ts.map +1 -1
  81. package/dist/commonjs/models/operations/listorsearchvendorinvitees.js +4 -0
  82. package/dist/commonjs/models/operations/listorsearchvendorinvitees.js.map +1 -1
  83. package/dist/commonjs/models/operations/listpendinginvitations.d.ts +1 -1
  84. package/dist/commonjs/models/operations/listpendinginvitations.d.ts.map +1 -1
  85. package/dist/commonjs/models/operations/listpendinginvitations.js +1 -2
  86. package/dist/commonjs/models/operations/listpendinginvitations.js.map +1 -1
  87. package/dist/commonjs/models/operations/liststandingappointments.d.ts +1 -1
  88. package/dist/commonjs/models/operations/liststandingappointments.d.ts.map +1 -1
  89. package/dist/commonjs/models/operations/liststandingappointments.js +1 -2
  90. package/dist/commonjs/models/operations/liststandingappointments.js.map +1 -1
  91. package/dist/commonjs/react-query/eventsCreateEvent.d.ts +1 -1
  92. package/dist/commonjs/react-query/eventsCreateEvent.d.ts.map +1 -1
  93. package/dist/commonjs/react-query/eventsCreateEvent.js.map +1 -1
  94. package/dist/commonjs/react-query/eventsGetEvent.core.d.ts +1 -1
  95. package/dist/commonjs/react-query/eventsGetEvent.core.d.ts.map +1 -1
  96. package/dist/commonjs/react-query/eventsGetEvent.d.ts +20 -6
  97. package/dist/commonjs/react-query/eventsGetEvent.d.ts.map +1 -1
  98. package/dist/commonjs/react-query/eventsGetEvent.js +20 -6
  99. package/dist/commonjs/react-query/eventsGetEvent.js.map +1 -1
  100. package/dist/commonjs/react-query/eventsListFeed.d.ts +56 -8
  101. package/dist/commonjs/react-query/eventsListFeed.d.ts.map +1 -1
  102. package/dist/commonjs/react-query/eventsListFeed.js +56 -8
  103. package/dist/commonjs/react-query/eventsListFeed.js.map +1 -1
  104. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.core.d.ts +4 -0
  105. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.core.d.ts.map +1 -1
  106. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.core.js +4 -0
  107. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.core.js.map +1 -1
  108. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.d.ts +4 -0
  109. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.d.ts.map +1 -1
  110. package/dist/commonjs/react-query/eventsListOrSearchVendorInvitees.js.map +1 -1
  111. package/dist/commonjs/react-query/eventsListPendingInvitations.d.ts +56 -8
  112. package/dist/commonjs/react-query/eventsListPendingInvitations.d.ts.map +1 -1
  113. package/dist/commonjs/react-query/eventsListPendingInvitations.js +56 -8
  114. package/dist/commonjs/react-query/eventsListPendingInvitations.js.map +1 -1
  115. package/dist/commonjs/react-query/eventsListStandingAppointments.d.ts +52 -8
  116. package/dist/commonjs/react-query/eventsListStandingAppointments.d.ts.map +1 -1
  117. package/dist/commonjs/react-query/eventsListStandingAppointments.js +52 -8
  118. package/dist/commonjs/react-query/eventsListStandingAppointments.js.map +1 -1
  119. package/dist/commonjs/react-query/fhirConfigsDeleteFhirConfigById.d.ts +2 -0
  120. package/dist/commonjs/react-query/fhirConfigsDeleteFhirConfigById.d.ts.map +1 -1
  121. package/dist/commonjs/react-query/fhirConfigsDeleteFhirConfigById.js +2 -0
  122. package/dist/commonjs/react-query/fhirConfigsDeleteFhirConfigById.js.map +1 -1
  123. package/dist/commonjs/react-query/fhirConfigsGetFhirConfig.d.ts +4 -0
  124. package/dist/commonjs/react-query/fhirConfigsGetFhirConfig.d.ts.map +1 -1
  125. package/dist/commonjs/react-query/fhirConfigsGetFhirConfig.js +4 -0
  126. package/dist/commonjs/react-query/fhirConfigsGetFhirConfig.js.map +1 -1
  127. package/dist/commonjs/react-query/fhirConfigsListOfFhirConfigurations.d.ts +4 -4
  128. package/dist/commonjs/react-query/fhirConfigsListOfFhirConfigurations.js +4 -4
  129. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts +2 -0
  130. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +1 -1
  131. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js +2 -0
  132. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js.map +1 -1
  133. package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.d.ts +4 -0
  134. package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  135. package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.js +4 -0
  136. package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.js.map +1 -1
  137. package/dist/commonjs/sdk/events.d.ts +52 -10
  138. package/dist/commonjs/sdk/events.d.ts.map +1 -1
  139. package/dist/commonjs/sdk/events.js +51 -9
  140. package/dist/commonjs/sdk/events.js.map +1 -1
  141. package/dist/commonjs/sdk/fhirconfigs.d.ts +5 -1
  142. package/dist/commonjs/sdk/fhirconfigs.d.ts.map +1 -1
  143. package/dist/commonjs/sdk/fhirconfigs.js +5 -1
  144. package/dist/commonjs/sdk/fhirconfigs.js.map +1 -1
  145. package/dist/commonjs/sdk/organizations.d.ts +2 -0
  146. package/dist/commonjs/sdk/organizations.d.ts.map +1 -1
  147. package/dist/commonjs/sdk/organizations.js +2 -0
  148. package/dist/commonjs/sdk/organizations.js.map +1 -1
  149. package/dist/commonjs/sdk/vendors.d.ts +2 -0
  150. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  151. package/dist/commonjs/sdk/vendors.js +2 -0
  152. package/dist/commonjs/sdk/vendors.js.map +1 -1
  153. package/dist/esm/__tests__/events.test.js +2 -4
  154. package/dist/esm/__tests__/events.test.js.map +1 -1
  155. package/dist/esm/__tests__/vendors.test.js +1 -1
  156. package/dist/esm/__tests__/webhooks.test.js +1 -1
  157. package/dist/esm/__tests__/webhooks.test.js.map +1 -1
  158. package/dist/esm/__tests__/zones.test.js +9 -9
  159. package/dist/esm/__tests__/zones.test.js.map +1 -1
  160. package/dist/esm/funcs/eventsCreateEvent.d.ts +1 -1
  161. package/dist/esm/funcs/eventsCreateEvent.d.ts.map +1 -1
  162. package/dist/esm/funcs/eventsCreateEvent.js +1 -1
  163. package/dist/esm/funcs/eventsCreateEvent.js.map +1 -1
  164. package/dist/esm/funcs/eventsGetEvent.d.ts +12 -4
  165. package/dist/esm/funcs/eventsGetEvent.d.ts.map +1 -1
  166. package/dist/esm/funcs/eventsGetEvent.js +12 -4
  167. package/dist/esm/funcs/eventsGetEvent.js.map +1 -1
  168. package/dist/esm/funcs/eventsListFeed.d.ts +14 -2
  169. package/dist/esm/funcs/eventsListFeed.d.ts.map +1 -1
  170. package/dist/esm/funcs/eventsListFeed.js +14 -2
  171. package/dist/esm/funcs/eventsListFeed.js.map +1 -1
  172. package/dist/esm/funcs/eventsListOrSearchVendorInvitees.js +2 -0
  173. package/dist/esm/funcs/eventsListOrSearchVendorInvitees.js.map +1 -1
  174. package/dist/esm/funcs/eventsListPendingInvitations.d.ts +14 -2
  175. package/dist/esm/funcs/eventsListPendingInvitations.d.ts.map +1 -1
  176. package/dist/esm/funcs/eventsListPendingInvitations.js +14 -2
  177. package/dist/esm/funcs/eventsListPendingInvitations.js.map +1 -1
  178. package/dist/esm/funcs/eventsListStandingAppointments.d.ts +13 -2
  179. package/dist/esm/funcs/eventsListStandingAppointments.d.ts.map +1 -1
  180. package/dist/esm/funcs/eventsListStandingAppointments.js +13 -2
  181. package/dist/esm/funcs/eventsListStandingAppointments.js.map +1 -1
  182. package/dist/esm/funcs/fhirConfigsDeleteFhirConfigById.d.ts +2 -0
  183. package/dist/esm/funcs/fhirConfigsDeleteFhirConfigById.d.ts.map +1 -1
  184. package/dist/esm/funcs/fhirConfigsDeleteFhirConfigById.js +2 -0
  185. package/dist/esm/funcs/fhirConfigsDeleteFhirConfigById.js.map +1 -1
  186. package/dist/esm/funcs/fhirConfigsGetFhirConfig.d.ts +2 -0
  187. package/dist/esm/funcs/fhirConfigsGetFhirConfig.d.ts.map +1 -1
  188. package/dist/esm/funcs/fhirConfigsGetFhirConfig.js +2 -0
  189. package/dist/esm/funcs/fhirConfigsGetFhirConfig.js.map +1 -1
  190. package/dist/esm/funcs/fhirConfigsListOfFhirConfigurations.d.ts +1 -1
  191. package/dist/esm/funcs/fhirConfigsListOfFhirConfigurations.js +1 -1
  192. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts +2 -0
  193. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +1 -1
  194. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.js +2 -0
  195. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.js.map +1 -1
  196. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts +2 -0
  197. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  198. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js +2 -0
  199. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
  200. package/dist/esm/lib/config.d.ts +2 -2
  201. package/dist/esm/lib/config.js +2 -2
  202. package/dist/esm/models/components/event.d.ts +98 -0
  203. package/dist/esm/models/components/event.d.ts.map +1 -0
  204. package/dist/esm/models/components/event.js +69 -0
  205. package/dist/esm/models/components/event.js.map +1 -0
  206. package/dist/esm/models/components/expand.d.ts +6 -0
  207. package/dist/esm/models/components/expand.d.ts.map +1 -1
  208. package/dist/esm/models/components/expand.js +6 -0
  209. package/dist/esm/models/components/expand.js.map +1 -1
  210. package/dist/esm/models/components/index.d.ts +2 -4
  211. package/dist/esm/models/components/index.d.ts.map +1 -1
  212. package/dist/esm/models/components/index.js +2 -4
  213. package/dist/esm/models/components/index.js.map +1 -1
  214. package/dist/esm/models/components/invite.d.ts +72 -0
  215. package/dist/esm/models/components/invite.d.ts.map +1 -0
  216. package/dist/esm/models/components/invite.js +69 -0
  217. package/dist/esm/models/components/invite.js.map +1 -0
  218. package/dist/esm/models/operations/createevent.d.ts +19 -0
  219. package/dist/esm/models/operations/createevent.d.ts.map +1 -1
  220. package/dist/esm/models/operations/createevent.js +3 -0
  221. package/dist/esm/models/operations/createevent.js.map +1 -1
  222. package/dist/esm/models/operations/getevent.d.ts +0 -89
  223. package/dist/esm/models/operations/getevent.d.ts.map +1 -1
  224. package/dist/esm/models/operations/getevent.js +0 -70
  225. package/dist/esm/models/operations/getevent.js.map +1 -1
  226. package/dist/esm/models/operations/listfeed.d.ts +1 -1
  227. package/dist/esm/models/operations/listfeed.d.ts.map +1 -1
  228. package/dist/esm/models/operations/listfeed.js +1 -2
  229. package/dist/esm/models/operations/listfeed.js.map +1 -1
  230. package/dist/esm/models/operations/listorsearchvendorinvitees.d.ts +17 -0
  231. package/dist/esm/models/operations/listorsearchvendorinvitees.d.ts.map +1 -1
  232. package/dist/esm/models/operations/listorsearchvendorinvitees.js +4 -0
  233. package/dist/esm/models/operations/listorsearchvendorinvitees.js.map +1 -1
  234. package/dist/esm/models/operations/listpendinginvitations.d.ts +1 -1
  235. package/dist/esm/models/operations/listpendinginvitations.d.ts.map +1 -1
  236. package/dist/esm/models/operations/listpendinginvitations.js +1 -2
  237. package/dist/esm/models/operations/listpendinginvitations.js.map +1 -1
  238. package/dist/esm/models/operations/liststandingappointments.d.ts +1 -1
  239. package/dist/esm/models/operations/liststandingappointments.d.ts.map +1 -1
  240. package/dist/esm/models/operations/liststandingappointments.js +1 -2
  241. package/dist/esm/models/operations/liststandingappointments.js.map +1 -1
  242. package/dist/esm/react-query/eventsCreateEvent.d.ts +1 -1
  243. package/dist/esm/react-query/eventsCreateEvent.d.ts.map +1 -1
  244. package/dist/esm/react-query/eventsCreateEvent.js.map +1 -1
  245. package/dist/esm/react-query/eventsGetEvent.core.d.ts +1 -1
  246. package/dist/esm/react-query/eventsGetEvent.core.d.ts.map +1 -1
  247. package/dist/esm/react-query/eventsGetEvent.d.ts +20 -6
  248. package/dist/esm/react-query/eventsGetEvent.d.ts.map +1 -1
  249. package/dist/esm/react-query/eventsGetEvent.js +20 -6
  250. package/dist/esm/react-query/eventsGetEvent.js.map +1 -1
  251. package/dist/esm/react-query/eventsListFeed.d.ts +56 -8
  252. package/dist/esm/react-query/eventsListFeed.d.ts.map +1 -1
  253. package/dist/esm/react-query/eventsListFeed.js +56 -8
  254. package/dist/esm/react-query/eventsListFeed.js.map +1 -1
  255. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.core.d.ts +4 -0
  256. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.core.d.ts.map +1 -1
  257. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.core.js +4 -0
  258. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.core.js.map +1 -1
  259. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.d.ts +4 -0
  260. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.d.ts.map +1 -1
  261. package/dist/esm/react-query/eventsListOrSearchVendorInvitees.js.map +1 -1
  262. package/dist/esm/react-query/eventsListPendingInvitations.d.ts +56 -8
  263. package/dist/esm/react-query/eventsListPendingInvitations.d.ts.map +1 -1
  264. package/dist/esm/react-query/eventsListPendingInvitations.js +56 -8
  265. package/dist/esm/react-query/eventsListPendingInvitations.js.map +1 -1
  266. package/dist/esm/react-query/eventsListStandingAppointments.d.ts +52 -8
  267. package/dist/esm/react-query/eventsListStandingAppointments.d.ts.map +1 -1
  268. package/dist/esm/react-query/eventsListStandingAppointments.js +52 -8
  269. package/dist/esm/react-query/eventsListStandingAppointments.js.map +1 -1
  270. package/dist/esm/react-query/fhirConfigsDeleteFhirConfigById.d.ts +2 -0
  271. package/dist/esm/react-query/fhirConfigsDeleteFhirConfigById.d.ts.map +1 -1
  272. package/dist/esm/react-query/fhirConfigsDeleteFhirConfigById.js +2 -0
  273. package/dist/esm/react-query/fhirConfigsDeleteFhirConfigById.js.map +1 -1
  274. package/dist/esm/react-query/fhirConfigsGetFhirConfig.d.ts +4 -0
  275. package/dist/esm/react-query/fhirConfigsGetFhirConfig.d.ts.map +1 -1
  276. package/dist/esm/react-query/fhirConfigsGetFhirConfig.js +4 -0
  277. package/dist/esm/react-query/fhirConfigsGetFhirConfig.js.map +1 -1
  278. package/dist/esm/react-query/fhirConfigsListOfFhirConfigurations.d.ts +4 -4
  279. package/dist/esm/react-query/fhirConfigsListOfFhirConfigurations.js +4 -4
  280. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts +2 -0
  281. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +1 -1
  282. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js +2 -0
  283. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js.map +1 -1
  284. package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.d.ts +4 -0
  285. package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  286. package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.js +4 -0
  287. package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.js.map +1 -1
  288. package/dist/esm/sdk/events.d.ts +52 -10
  289. package/dist/esm/sdk/events.d.ts.map +1 -1
  290. package/dist/esm/sdk/events.js +51 -9
  291. package/dist/esm/sdk/events.js.map +1 -1
  292. package/dist/esm/sdk/fhirconfigs.d.ts +5 -1
  293. package/dist/esm/sdk/fhirconfigs.d.ts.map +1 -1
  294. package/dist/esm/sdk/fhirconfigs.js +5 -1
  295. package/dist/esm/sdk/fhirconfigs.js.map +1 -1
  296. package/dist/esm/sdk/organizations.d.ts +2 -0
  297. package/dist/esm/sdk/organizations.d.ts.map +1 -1
  298. package/dist/esm/sdk/organizations.js +2 -0
  299. package/dist/esm/sdk/organizations.js.map +1 -1
  300. package/dist/esm/sdk/vendors.d.ts +2 -0
  301. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  302. package/dist/esm/sdk/vendors.js +2 -0
  303. package/dist/esm/sdk/vendors.js.map +1 -1
  304. package/jsr.json +1 -1
  305. package/package.json +1 -1
  306. package/src/__tests__/events.test.ts +2 -4
  307. package/src/__tests__/vendors.test.ts +1 -1
  308. package/src/__tests__/webhooks.test.ts +1 -1
  309. package/src/__tests__/zones.test.ts +9 -9
  310. package/src/funcs/eventsCreateEvent.ts +4 -0
  311. package/src/funcs/eventsGetEvent.ts +15 -7
  312. package/src/funcs/eventsListFeed.ts +14 -2
  313. package/src/funcs/eventsListOrSearchVendorInvitees.ts +2 -0
  314. package/src/funcs/eventsListPendingInvitations.ts +14 -2
  315. package/src/funcs/eventsListStandingAppointments.ts +13 -2
  316. package/src/funcs/fhirConfigsDeleteFhirConfigById.ts +2 -0
  317. package/src/funcs/fhirConfigsGetFhirConfig.ts +2 -0
  318. package/src/funcs/fhirConfigsListOfFhirConfigurations.ts +1 -1
  319. package/src/funcs/organizationsCreateCompanyTargetFacility.ts +2 -0
  320. package/src/funcs/vendorsGetVendorInvoiceDetails.ts +2 -0
  321. package/src/lib/config.ts +2 -2
  322. package/src/models/components/event.ts +214 -0
  323. package/src/models/components/expand.ts +6 -0
  324. package/src/models/components/index.ts +2 -4
  325. package/src/models/components/invite.ts +168 -0
  326. package/src/models/operations/createevent.ts +22 -0
  327. package/src/models/operations/getevent.ts +0 -223
  328. package/src/models/operations/listfeed.ts +2 -3
  329. package/src/models/operations/listorsearchvendorinvitees.ts +21 -0
  330. package/src/models/operations/listpendinginvitations.ts +2 -3
  331. package/src/models/operations/liststandingappointments.ts +2 -5
  332. package/src/react-query/eventsCreateEvent.ts +1 -0
  333. package/src/react-query/eventsGetEvent.core.ts +1 -1
  334. package/src/react-query/eventsGetEvent.ts +20 -6
  335. package/src/react-query/eventsListFeed.ts +56 -8
  336. package/src/react-query/eventsListOrSearchVendorInvitees.core.ts +8 -0
  337. package/src/react-query/eventsListOrSearchVendorInvitees.ts +4 -0
  338. package/src/react-query/eventsListPendingInvitations.ts +56 -8
  339. package/src/react-query/eventsListStandingAppointments.ts +52 -8
  340. package/src/react-query/fhirConfigsDeleteFhirConfigById.ts +2 -0
  341. package/src/react-query/fhirConfigsGetFhirConfig.ts +4 -0
  342. package/src/react-query/fhirConfigsListOfFhirConfigurations.ts +4 -4
  343. package/src/react-query/organizationsCreateCompanyTargetFacility.ts +2 -0
  344. package/src/react-query/vendorsGetVendorInvoiceDetails.ts +4 -0
  345. package/src/sdk/events.ts +52 -10
  346. package/src/sdk/fhirconfigs.ts +5 -1
  347. package/src/sdk/organizations.ts +2 -0
  348. package/src/sdk/vendors.ts +2 -0
  349. package/dist/commonjs/models/components/feed.d.ts +0 -33
  350. package/dist/commonjs/models/components/feed.d.ts.map +0 -1
  351. package/dist/commonjs/models/components/feed.js +0 -75
  352. package/dist/commonjs/models/components/feed.js.map +0 -1
  353. package/dist/commonjs/models/components/invitee.d.ts +0 -23
  354. package/dist/commonjs/models/components/invitee.d.ts.map +0 -1
  355. package/dist/commonjs/models/components/invitee.js +0 -68
  356. package/dist/commonjs/models/components/invitee.js.map +0 -1
  357. package/dist/commonjs/models/components/pendinginvitation.d.ts +0 -41
  358. package/dist/commonjs/models/components/pendinginvitation.d.ts.map +0 -1
  359. package/dist/commonjs/models/components/pendinginvitation.js +0 -85
  360. package/dist/commonjs/models/components/pendinginvitation.js.map +0 -1
  361. package/dist/commonjs/models/components/standingappointment.d.ts +0 -34
  362. package/dist/commonjs/models/components/standingappointment.d.ts.map +0 -1
  363. package/dist/commonjs/models/components/standingappointment.js +0 -74
  364. package/dist/commonjs/models/components/standingappointment.js.map +0 -1
  365. package/dist/esm/models/components/feed.d.ts +0 -33
  366. package/dist/esm/models/components/feed.d.ts.map +0 -1
  367. package/dist/esm/models/components/feed.js +0 -38
  368. package/dist/esm/models/components/feed.js.map +0 -1
  369. package/dist/esm/models/components/invitee.d.ts +0 -23
  370. package/dist/esm/models/components/invitee.d.ts.map +0 -1
  371. package/dist/esm/models/components/invitee.js +0 -31
  372. package/dist/esm/models/components/invitee.js.map +0 -1
  373. package/dist/esm/models/components/pendinginvitation.d.ts +0 -41
  374. package/dist/esm/models/components/pendinginvitation.d.ts.map +0 -1
  375. package/dist/esm/models/components/pendinginvitation.js +0 -47
  376. package/dist/esm/models/components/pendinginvitation.js.map +0 -1
  377. package/dist/esm/models/components/standingappointment.d.ts +0 -34
  378. package/dist/esm/models/components/standingappointment.d.ts.map +0 -1
  379. package/dist/esm/models/components/standingappointment.js +0 -37
  380. package/dist/esm/models/components/standingappointment.js.map +0 -1
  381. package/src/models/components/feed.ts +0 -74
  382. package/src/models/components/invitee.ts +0 -58
  383. package/src/models/components/pendinginvitation.ts +0 -102
  384. package/src/models/components/standingappointment.ts +0 -78
@@ -75,9 +75,21 @@ export type EventsListFeedQueryError =
75
75
  * List events feed
76
76
  *
77
77
  * @remarks
78
- * List events feed
78
+ * List events feed.
79
+ *
80
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
81
+ * the caller's role and their relationship to the record decide what is returned.
82
+ *
83
+ * Returns `Event` items with the `event.creator` and `event.invitees` scopes already applied,
84
+ * so `event_creator`, `event_creator_img_url` and `invitees` are populated — the fields this
85
+ * feed has always carried. SDK builds below `0.55.0-beta.1` receive the older `Feed` shape
86
+ * instead, in which `facility` and `department` are name strings rather than ids; the server
87
+ * chooses by the `X-SDK-User-Agent` header the SDK sends, so an existing client keeps the
88
+ * shape it was generated against until it is regenerated.
79
89
  *
80
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
90
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
91
+ * `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
92
+ * build is compared against it.
81
93
  */
82
94
  export function useEventsListFeed(
83
95
  request: operations.ListFeedRequest,
@@ -98,9 +110,21 @@ export function useEventsListFeed(
98
110
  * List events feed
99
111
  *
100
112
  * @remarks
101
- * List events feed
113
+ * List events feed.
114
+ *
115
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
116
+ * the caller's role and their relationship to the record decide what is returned.
117
+ *
118
+ * Returns `Event` items with the `event.creator` and `event.invitees` scopes already applied,
119
+ * so `event_creator`, `event_creator_img_url` and `invitees` are populated — the fields this
120
+ * feed has always carried. SDK builds below `0.55.0-beta.1` receive the older `Feed` shape
121
+ * instead, in which `facility` and `department` are name strings rather than ids; the server
122
+ * chooses by the `X-SDK-User-Agent` header the SDK sends, so an existing client keeps the
123
+ * shape it was generated against until it is regenerated.
102
124
  *
103
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
125
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
126
+ * `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
127
+ * build is compared against it.
104
128
  */
105
129
  export function useEventsListFeedSuspense(
106
130
  request: operations.ListFeedRequest,
@@ -124,9 +148,21 @@ export function useEventsListFeedSuspense(
124
148
  * List events feed
125
149
  *
126
150
  * @remarks
127
- * List events feed
151
+ * List events feed.
152
+ *
153
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
154
+ * the caller's role and their relationship to the record decide what is returned.
155
+ *
156
+ * Returns `Event` items with the `event.creator` and `event.invitees` scopes already applied,
157
+ * so `event_creator`, `event_creator_img_url` and `invitees` are populated — the fields this
158
+ * feed has always carried. SDK builds below `0.55.0-beta.1` receive the older `Feed` shape
159
+ * instead, in which `facility` and `department` are name strings rather than ids; the server
160
+ * chooses by the `X-SDK-User-Agent` header the SDK sends, so an existing client keeps the
161
+ * shape it was generated against until it is regenerated.
128
162
  *
129
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
163
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
164
+ * `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
165
+ * build is compared against it.
130
166
  */
131
167
  export function useEventsListFeedInfinite(
132
168
  request: operations.ListFeedRequest,
@@ -161,9 +197,21 @@ export function useEventsListFeedInfinite(
161
197
  * List events feed
162
198
  *
163
199
  * @remarks
164
- * List events feed
200
+ * List events feed.
201
+ *
202
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
203
+ * the caller's role and their relationship to the record decide what is returned.
204
+ *
205
+ * Returns `Event` items with the `event.creator` and `event.invitees` scopes already applied,
206
+ * so `event_creator`, `event_creator_img_url` and `invitees` are populated — the fields this
207
+ * feed has always carried. SDK builds below `0.55.0-beta.1` receive the older `Feed` shape
208
+ * instead, in which `facility` and `department` are name strings rather than ids; the server
209
+ * chooses by the `X-SDK-User-Agent` header the SDK sends, so an existing client keeps the
210
+ * shape it was generated against until it is regenerated.
165
211
  *
166
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
212
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
213
+ * `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
214
+ * build is compared against it.
167
215
  */
168
216
  export function useEventsListFeedInfiniteSuspense(
169
217
  request: operations.ListFeedRequest,
@@ -81,6 +81,8 @@ export function buildEventsListOrSearchVendorInviteesQuery(
81
81
  itemsPerPage: request.itemsPerPage,
82
82
  expand: request.expand,
83
83
  search: request.search,
84
+ vendorId: request.vendorId,
85
+ facilityId: request.facilityId,
84
86
  }),
85
87
  queryFn: async function eventsListOrSearchVendorInviteesQueryFn(
86
88
  ctx,
@@ -126,6 +128,8 @@ export function buildEventsListOrSearchVendorInviteesInfiniteQuery(
126
128
  itemsPerPage: request.itemsPerPage,
127
129
  expand: request.expand,
128
130
  search: request.search,
131
+ vendorId: request.vendorId,
132
+ facilityId: request.facilityId,
129
133
  }),
130
134
  queryFn: async function eventsListOrSearchVendorInviteesQuery(
131
135
  ctx,
@@ -169,6 +173,8 @@ export function queryKeyEventsListOrSearchVendorInvitees(
169
173
  itemsPerPage?: number | undefined;
170
174
  expand?: Array<components.Expand> | undefined;
171
175
  search?: string | undefined;
176
+ vendorId?: number | undefined;
177
+ facilityId?: number | undefined;
172
178
  },
173
179
  ): QueryKey {
174
180
  return [
@@ -187,6 +193,8 @@ export function queryKeyEventsListOrSearchVendorInviteesInfinite(
187
193
  itemsPerPage?: number | undefined;
188
194
  expand?: Array<components.Expand> | undefined;
189
195
  search?: string | undefined;
196
+ vendorId?: number | undefined;
197
+ facilityId?: number | undefined;
190
198
  },
191
199
  ): QueryKey {
192
200
  return [
@@ -261,6 +261,8 @@ export function setEventsListOrSearchVendorInviteesData(
261
261
  itemsPerPage?: number | undefined;
262
262
  expand?: Array<components.Expand> | undefined;
263
263
  search?: string | undefined;
264
+ vendorId?: number | undefined;
265
+ facilityId?: number | undefined;
264
266
  },
265
267
  ],
266
268
  data: EventsListOrSearchVendorInviteesQueryData,
@@ -283,6 +285,8 @@ export function invalidateEventsListOrSearchVendorInvitees(
283
285
  itemsPerPage?: number | undefined;
284
286
  expand?: Array<components.Expand> | undefined;
285
287
  search?: string | undefined;
288
+ vendorId?: number | undefined;
289
+ facilityId?: number | undefined;
286
290
  }]
287
291
  >,
288
292
  filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
@@ -75,9 +75,21 @@ export type EventsListPendingInvitationsQueryError =
75
75
  * List pending invitations
76
76
  *
77
77
  * @remarks
78
- * List pending invitations
78
+ * List pending invitations.
79
+ *
80
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
81
+ * the caller's role and their relationship to the record decide what is returned.
82
+ *
83
+ * Returns `Invite` items with the `invite.event` and `invite.invitee` scopes already applied,
84
+ * so `event` is the expanded `{ id, name }` summary rather than a bare id, and `invitee` is
85
+ * populated — the appointment and the recipient this list has always named. This endpoint
86
+ * takes no `expand` parameter; both scopes are applied on every call and cannot be turned off.
87
+ * SDK builds below `0.55.0-beta.1` receive the older `PendingInvitation` shape instead, which
88
+ * embeds the appointment.
79
89
  *
80
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
90
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
91
+ * `0.55.0-beta.1` itself already receives `Invite`. See the `Invite` schema for exactly how a
92
+ * build is compared against it.
81
93
  */
82
94
  export function useEventsListPendingInvitations(
83
95
  request: operations.ListPendingInvitationsRequest,
@@ -104,9 +116,21 @@ export function useEventsListPendingInvitations(
104
116
  * List pending invitations
105
117
  *
106
118
  * @remarks
107
- * List pending invitations
119
+ * List pending invitations.
120
+ *
121
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
122
+ * the caller's role and their relationship to the record decide what is returned.
123
+ *
124
+ * Returns `Invite` items with the `invite.event` and `invite.invitee` scopes already applied,
125
+ * so `event` is the expanded `{ id, name }` summary rather than a bare id, and `invitee` is
126
+ * populated — the appointment and the recipient this list has always named. This endpoint
127
+ * takes no `expand` parameter; both scopes are applied on every call and cannot be turned off.
128
+ * SDK builds below `0.55.0-beta.1` receive the older `PendingInvitation` shape instead, which
129
+ * embeds the appointment.
108
130
  *
109
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
131
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
132
+ * `0.55.0-beta.1` itself already receives `Invite`. See the `Invite` schema for exactly how a
133
+ * build is compared against it.
110
134
  */
111
135
  export function useEventsListPendingInvitationsSuspense(
112
136
  request: operations.ListPendingInvitationsRequest,
@@ -133,9 +157,21 @@ export function useEventsListPendingInvitationsSuspense(
133
157
  * List pending invitations
134
158
  *
135
159
  * @remarks
136
- * List pending invitations
160
+ * List pending invitations.
161
+ *
162
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
163
+ * the caller's role and their relationship to the record decide what is returned.
164
+ *
165
+ * Returns `Invite` items with the `invite.event` and `invite.invitee` scopes already applied,
166
+ * so `event` is the expanded `{ id, name }` summary rather than a bare id, and `invitee` is
167
+ * populated — the appointment and the recipient this list has always named. This endpoint
168
+ * takes no `expand` parameter; both scopes are applied on every call and cannot be turned off.
169
+ * SDK builds below `0.55.0-beta.1` receive the older `PendingInvitation` shape instead, which
170
+ * embeds the appointment.
137
171
  *
138
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
172
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
173
+ * `0.55.0-beta.1` itself already receives `Invite`. See the `Invite` schema for exactly how a
174
+ * build is compared against it.
139
175
  */
140
176
  export function useEventsListPendingInvitationsInfinite(
141
177
  request: operations.ListPendingInvitationsRequest,
@@ -176,9 +212,21 @@ export function useEventsListPendingInvitationsInfinite(
176
212
  * List pending invitations
177
213
  *
178
214
  * @remarks
179
- * List pending invitations
215
+ * List pending invitations.
216
+ *
217
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
218
+ * the caller's role and their relationship to the record decide what is returned.
219
+ *
220
+ * Returns `Invite` items with the `invite.event` and `invite.invitee` scopes already applied,
221
+ * so `event` is the expanded `{ id, name }` summary rather than a bare id, and `invitee` is
222
+ * populated — the appointment and the recipient this list has always named. This endpoint
223
+ * takes no `expand` parameter; both scopes are applied on every call and cannot be turned off.
224
+ * SDK builds below `0.55.0-beta.1` receive the older `PendingInvitation` shape instead, which
225
+ * embeds the appointment.
180
226
  *
181
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
227
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
228
+ * `0.55.0-beta.1` itself already receives `Invite`. See the `Invite` schema for exactly how a
229
+ * build is compared against it.
182
230
  */
183
231
  export function useEventsListPendingInvitationsInfiniteSuspense(
184
232
  request: operations.ListPendingInvitationsRequest,
@@ -75,9 +75,20 @@ export type EventsListStandingAppointmentsQueryError =
75
75
  * List standing appointments
76
76
  *
77
77
  * @remarks
78
- * List standing appointment
78
+ * List standing appointments.
79
79
  *
80
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
80
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
81
+ * the caller's role and their relationship to the record decide what is returned.
82
+ *
83
+ * Returns `Event` items with the `event.location`, `event.attendees`, `event.viewer_invite`,
84
+ * `event.creator` and `event.invitees` scopes already applied, so `location`, `attendees`,
85
+ * `event_creator`, `event_creator_img_url` and `invitees` are populated and `status` carries
86
+ * the reader's own outstanding invite. SDK builds below `0.55.0-beta.1` receive the older
87
+ * `StandingAppointment` shape instead.
88
+ *
89
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
90
+ * `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
91
+ * build is compared against it.
81
92
  */
82
93
  export function useEventsListStandingAppointments(
83
94
  request: operations.ListStandingAppointmentsRequest,
@@ -104,9 +115,20 @@ export function useEventsListStandingAppointments(
104
115
  * List standing appointments
105
116
  *
106
117
  * @remarks
107
- * List standing appointment
118
+ * List standing appointments.
119
+ *
120
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
121
+ * the caller's role and their relationship to the record decide what is returned.
122
+ *
123
+ * Returns `Event` items with the `event.location`, `event.attendees`, `event.viewer_invite`,
124
+ * `event.creator` and `event.invitees` scopes already applied, so `location`, `attendees`,
125
+ * `event_creator`, `event_creator_img_url` and `invitees` are populated and `status` carries
126
+ * the reader's own outstanding invite. SDK builds below `0.55.0-beta.1` receive the older
127
+ * `StandingAppointment` shape instead.
108
128
  *
109
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
129
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
130
+ * `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
131
+ * build is compared against it.
110
132
  */
111
133
  export function useEventsListStandingAppointmentsSuspense(
112
134
  request: operations.ListStandingAppointmentsRequest,
@@ -133,9 +155,20 @@ export function useEventsListStandingAppointmentsSuspense(
133
155
  * List standing appointments
134
156
  *
135
157
  * @remarks
136
- * List standing appointment
158
+ * List standing appointments.
137
159
  *
138
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
160
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
161
+ * the caller's role and their relationship to the record decide what is returned.
162
+ *
163
+ * Returns `Event` items with the `event.location`, `event.attendees`, `event.viewer_invite`,
164
+ * `event.creator` and `event.invitees` scopes already applied, so `location`, `attendees`,
165
+ * `event_creator`, `event_creator_img_url` and `invitees` are populated and `status` carries
166
+ * the reader's own outstanding invite. SDK builds below `0.55.0-beta.1` receive the older
167
+ * `StandingAppointment` shape instead.
168
+ *
169
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
170
+ * `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
171
+ * build is compared against it.
139
172
  */
140
173
  export function useEventsListStandingAppointmentsInfinite(
141
174
  request: operations.ListStandingAppointmentsRequest,
@@ -176,9 +209,20 @@ export function useEventsListStandingAppointmentsInfinite(
176
209
  * List standing appointments
177
210
  *
178
211
  * @remarks
179
- * List standing appointment
212
+ * List standing appointments.
213
+ *
214
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
215
+ * the caller's role and their relationship to the record decide what is returned.
216
+ *
217
+ * Returns `Event` items with the `event.location`, `event.attendees`, `event.viewer_invite`,
218
+ * `event.creator` and `event.invitees` scopes already applied, so `location`, `attendees`,
219
+ * `event_creator`, `event_creator_img_url` and `invitees` are populated and `status` carries
220
+ * the reader's own outstanding invite. SDK builds below `0.55.0-beta.1` receive the older
221
+ * `StandingAppointment` shape instead.
180
222
  *
181
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
223
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
224
+ * `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
225
+ * build is compared against it.
182
226
  */
183
227
  export function useEventsListStandingAppointmentsInfiniteSuspense(
184
228
  request: operations.ListStandingAppointmentsRequest,
@@ -51,6 +51,8 @@ export type FhirConfigsDeleteFhirConfigByIdMutationError =
51
51
  * Delete a FHIR config by ID
52
52
  *
53
53
  * @remarks
54
+ * Requires the `fhir_config` / `delete` permission.
55
+ *
54
56
  * **Permissions.** Requires the `fhir_configs.delete` permission.
55
57
  */
56
58
  export function useFhirConfigsDeleteFhirConfigByIdMutation(
@@ -58,6 +58,8 @@ export type FhirConfigsGetFhirConfigQueryError =
58
58
  * @remarks
59
59
  * Retrieve a FHIR configuration by ID.
60
60
  *
61
+ * This endpoint requires the `fhir_configs` / `view` permission.
62
+ *
61
63
  * **Permissions.** Requires the `fhir_configs.view` permission.
62
64
  */
63
65
  export function useFhirConfigsGetFhirConfig(
@@ -87,6 +89,8 @@ export function useFhirConfigsGetFhirConfig(
87
89
  * @remarks
88
90
  * Retrieve a FHIR configuration by ID.
89
91
  *
92
+ * This endpoint requires the `fhir_configs` / `view` permission.
93
+ *
90
94
  * **Permissions.** Requires the `fhir_configs.view` permission.
91
95
  */
92
96
  export function useFhirConfigsGetFhirConfigSuspense(
@@ -75,7 +75,7 @@ export type FhirConfigsListOfFhirConfigurationsQueryError =
75
75
  * List of FHIR configurations
76
76
  *
77
77
  * @remarks
78
- * List available FHIR configurations.
78
+ * List available FHIR configurations. This method requires the `fhir_config` / `view` permission.
79
79
  *
80
80
  * **Permissions.** Requires the `fhir_configs.view` permission.
81
81
  */
@@ -104,7 +104,7 @@ export function useFhirConfigsListOfFhirConfigurations(
104
104
  * List of FHIR configurations
105
105
  *
106
106
  * @remarks
107
- * List available FHIR configurations.
107
+ * List available FHIR configurations. This method requires the `fhir_config` / `view` permission.
108
108
  *
109
109
  * **Permissions.** Requires the `fhir_configs.view` permission.
110
110
  */
@@ -133,7 +133,7 @@ export function useFhirConfigsListOfFhirConfigurationsSuspense(
133
133
  * List of FHIR configurations
134
134
  *
135
135
  * @remarks
136
- * List available FHIR configurations.
136
+ * List available FHIR configurations. This method requires the `fhir_config` / `view` permission.
137
137
  *
138
138
  * **Permissions.** Requires the `fhir_configs.view` permission.
139
139
  */
@@ -176,7 +176,7 @@ export function useFhirConfigsListOfFhirConfigurationsInfinite(
176
176
  * List of FHIR configurations
177
177
  *
178
178
  * @remarks
179
- * List available FHIR configurations.
179
+ * List available FHIR configurations. This method requires the `fhir_config` / `view` permission.
180
180
  *
181
181
  * **Permissions.** Requires the `fhir_configs.view` permission.
182
182
  */
@@ -70,6 +70,8 @@ export type OrganizationsCreateCompanyTargetFacilityMutationError =
70
70
  *
71
71
  * **Permissions.** Requires the `target_facilities.add` permission.
72
72
  *
73
+ * **Permissions.** Requires the `target_facilities.add` permission.
74
+ *
73
75
  * Available `expand` scopes are:
74
76
  *
75
77
  * - `company_target_facility.facility`
@@ -61,6 +61,8 @@ export type VendorsGetVendorInvoiceDetailsQueryError =
61
61
  *
62
62
  * **Permissions.** Requires the `invoices.view` permission.
63
63
  *
64
+ * **Permissions.** Requires the `invoices.view` permission.
65
+ *
64
66
  * Available `expand` scopes are:
65
67
  *
66
68
  * - `invoice.invoice_type`
@@ -109,6 +111,8 @@ export function useVendorsGetVendorInvoiceDetails(
109
111
  *
110
112
  * **Permissions.** Requires the `invoices.view` permission.
111
113
  *
114
+ * **Permissions.** Requires the `invoices.view` permission.
115
+ *
112
116
  * Available `expand` scopes are:
113
117
  *
114
118
  * - `invoice.invoice_type`
package/src/sdk/events.ts CHANGED
@@ -49,16 +49,23 @@ export class Events extends ClientSDK {
49
49
  *
50
50
  * Available `expand` scopes are:
51
51
  *
52
- * - `event.facility`
53
- * - `event.department`
54
- * - `event.invitees`
52
+ * - event.facility
53
+ * - event.department
54
+ * - event.invitees
55
+ * - event.location
56
+ * - event.attendees
57
+ * - event.creator
55
58
  *
56
59
  * Unrecognised values are ignored.
60
+ *
61
+ * This route always returns the current `Event` shape, whatever SDK version is calling: it was
62
+ * introduced after the calendar list endpoints and has never served the older string-valued
63
+ * shape they did.
57
64
  */
58
65
  async getEvent(
59
66
  request: operations.GetEventRequest,
60
67
  options?: RequestOptions,
61
- ): Promise<operations.GetEventGetEventOk> {
68
+ ): Promise<components.Event> {
62
69
  return unwrapAsync(eventsGetEvent(
63
70
  this,
64
71
  request,
@@ -198,9 +205,21 @@ export class Events extends ClientSDK {
198
205
  * List pending invitations
199
206
  *
200
207
  * @remarks
201
- * List pending invitations
208
+ * List pending invitations.
202
209
  *
203
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
210
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
211
+ * the caller's role and their relationship to the record decide what is returned.
212
+ *
213
+ * Returns `Invite` items with the `invite.event` and `invite.invitee` scopes already applied,
214
+ * so `event` is the expanded `{ id, name }` summary rather than a bare id, and `invitee` is
215
+ * populated — the appointment and the recipient this list has always named. This endpoint
216
+ * takes no `expand` parameter; both scopes are applied on every call and cannot be turned off.
217
+ * SDK builds below `0.55.0-beta.1` receive the older `PendingInvitation` shape instead, which
218
+ * embeds the appointment.
219
+ *
220
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
221
+ * `0.55.0-beta.1` itself already receives `Invite`. See the `Invite` schema for exactly how a
222
+ * build is compared against it.
204
223
  */
205
224
  async listPendingInvitations(
206
225
  request: operations.ListPendingInvitationsRequest,
@@ -219,9 +238,21 @@ export class Events extends ClientSDK {
219
238
  * List events feed
220
239
  *
221
240
  * @remarks
222
- * List events feed
241
+ * List events feed.
223
242
  *
224
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
243
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
244
+ * the caller's role and their relationship to the record decide what is returned.
245
+ *
246
+ * Returns `Event` items with the `event.creator` and `event.invitees` scopes already applied,
247
+ * so `event_creator`, `event_creator_img_url` and `invitees` are populated — the fields this
248
+ * feed has always carried. SDK builds below `0.55.0-beta.1` receive the older `Feed` shape
249
+ * instead, in which `facility` and `department` are name strings rather than ids; the server
250
+ * chooses by the `X-SDK-User-Agent` header the SDK sends, so an existing client keeps the
251
+ * shape it was generated against until it is regenerated.
252
+ *
253
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
254
+ * `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
255
+ * build is compared against it.
225
256
  */
226
257
  async listFeed(
227
258
  request: operations.ListFeedRequest,
@@ -238,9 +269,20 @@ export class Events extends ClientSDK {
238
269
  * List standing appointments
239
270
  *
240
271
  * @remarks
241
- * List standing appointment
272
+ * List standing appointments.
242
273
  *
243
- * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission - the caller's role and their relationship to the record decide what is returned.
274
+ * **Permissions.** Requires a valid token. This endpoint is not gated on a named permission -
275
+ * the caller's role and their relationship to the record decide what is returned.
276
+ *
277
+ * Returns `Event` items with the `event.location`, `event.attendees`, `event.viewer_invite`,
278
+ * `event.creator` and `event.invitees` scopes already applied, so `location`, `attendees`,
279
+ * `event_creator`, `event_creator_img_url` and `invitees` are populated and `status` carries
280
+ * the reader's own outstanding invite. SDK builds below `0.55.0-beta.1` receive the older
281
+ * `StandingAppointment` shape instead.
282
+ *
283
+ * The boundary is the prerelease build `0.55.0-beta.1`, not the `0.55.0` release, so
284
+ * `0.55.0-beta.1` itself already receives `Event`. See the `Event` schema for exactly how a
285
+ * build is compared against it.
244
286
  */
245
287
  async listStandingAppointments(
246
288
  request: operations.ListStandingAppointmentsRequest,
@@ -18,7 +18,7 @@ export class FhirConfigs extends ClientSDK {
18
18
  * List of FHIR configurations
19
19
  *
20
20
  * @remarks
21
- * List available FHIR configurations.
21
+ * List available FHIR configurations. This method requires the `fhir_config` / `view` permission.
22
22
  *
23
23
  * **Permissions.** Requires the `fhir_configs.view` permission.
24
24
  */
@@ -62,6 +62,8 @@ export class FhirConfigs extends ClientSDK {
62
62
  * @remarks
63
63
  * Retrieve a FHIR configuration by ID.
64
64
  *
65
+ * This endpoint requires the `fhir_configs` / `view` permission.
66
+ *
65
67
  * **Permissions.** Requires the `fhir_configs.view` permission.
66
68
  */
67
69
  async getFhirConfig(
@@ -96,6 +98,8 @@ export class FhirConfigs extends ClientSDK {
96
98
  * Delete a FHIR config by ID
97
99
  *
98
100
  * @remarks
101
+ * Requires the `fhir_config` / `delete` permission.
102
+ *
99
103
  * **Permissions.** Requires the `fhir_configs.delete` permission.
100
104
  */
101
105
  async deleteFhirConfigById(
@@ -192,6 +192,8 @@ export class Organizations extends ClientSDK {
192
192
  *
193
193
  * **Permissions.** Requires the `target_facilities.add` permission.
194
194
  *
195
+ * **Permissions.** Requires the `target_facilities.add` permission.
196
+ *
195
197
  * Available `expand` scopes are:
196
198
  *
197
199
  * - `company_target_facility.facility`
@@ -814,6 +814,8 @@ export class Vendors extends ClientSDK {
814
814
  *
815
815
  * **Permissions.** Requires the `invoices.view` permission.
816
816
  *
817
+ * **Permissions.** Requires the `invoices.view` permission.
818
+ *
817
819
  * Available `expand` scopes are:
818
820
  *
819
821
  * - `invoice.invoice_type`
@@ -1,33 +0,0 @@
1
- import * as z from "zod/v3";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { Invitee } from "./invitee.js";
5
- /**
6
- * A representation of a Feed response
7
- */
8
- export type Feed = {
9
- id?: number | undefined;
10
- title?: string | null | undefined;
11
- /**
12
- * Start date and time in UTC (ISO 8601 format, e.g. 2026-02-23T14:00:00Z). Null if not set.
13
- */
14
- start?: string | null | undefined;
15
- /**
16
- * End date and time in UTC (ISO 8601 format, e.g. 2026-02-23T15:00:00Z). Null if not set.
17
- */
18
- end?: string | null | undefined;
19
- status?: string | null | undefined;
20
- allDay?: boolean | undefined;
21
- standingAppt?: boolean | undefined;
22
- bringingFood?: boolean | undefined;
23
- notes?: string | null | undefined;
24
- facility?: string | null | undefined;
25
- department?: string | null | undefined;
26
- eventCreator?: string | null | undefined;
27
- eventCreatorImgUrl?: string | null | undefined;
28
- invitees?: Array<Invitee | null> | undefined;
29
- };
30
- /** @internal */
31
- export declare const Feed$inboundSchema: z.ZodType<Feed, z.ZodTypeDef, unknown>;
32
- export declare function feedFromJSON(jsonString: string): SafeParseResult<Feed, SDKValidationError>;
33
- //# sourceMappingURL=feed.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../../src/models/components/feed.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAyB,MAAM,cAAc,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,QAAQ,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC;CAC9C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAwBlE,CAAC;AAEL,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C"}