@oystehr/sdk 3.0.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 (660) hide show
  1. package/.eslintrc.js +14 -0
  2. package/LICENSE.md +9 -0
  3. package/README.md +339 -0
  4. package/dist/cjs/client/client.d.ts +49 -0
  5. package/dist/cjs/config.d.ts +45 -0
  6. package/dist/cjs/errors/index.d.ts +17 -0
  7. package/dist/cjs/fhir/fhir-types.d.ts +9 -0
  8. package/dist/cjs/fhir/index.d.ts +2 -0
  9. package/dist/cjs/fhir/utils.d.ts +14 -0
  10. package/dist/cjs/index.cjs +1333 -0
  11. package/dist/cjs/index.cjs.map +1 -0
  12. package/dist/cjs/index.d.cts +16 -0
  13. package/dist/cjs/index.d.ts +16 -0
  14. package/dist/cjs/index.min.cjs +2 -0
  15. package/dist/cjs/index.min.cjs.map +1 -0
  16. package/dist/cjs/package.json +1 -0
  17. package/dist/cjs/resources/classes/application.d.ts +62 -0
  18. package/dist/cjs/resources/classes/charge.d.ts +30 -0
  19. package/dist/cjs/resources/classes/conversation-ext.d.ts +10 -0
  20. package/dist/cjs/resources/classes/conversation.d.ts +64 -0
  21. package/dist/cjs/resources/classes/developer.d.ts +50 -0
  22. package/dist/cjs/resources/classes/erx.d.ts +18 -0
  23. package/dist/cjs/resources/classes/fhir-ext.d.ts +58 -0
  24. package/dist/cjs/resources/classes/fhir.d.ts +21 -0
  25. package/dist/cjs/resources/classes/index.d.ts +44 -0
  26. package/dist/cjs/resources/classes/m2m.d.ts +57 -0
  27. package/dist/cjs/resources/classes/messaging.d.ts +10 -0
  28. package/dist/cjs/resources/classes/paymentMethod.d.ts +70 -0
  29. package/dist/cjs/resources/classes/project.d.ts +20 -0
  30. package/dist/cjs/resources/classes/rcm.d.ts +39 -0
  31. package/dist/cjs/resources/classes/role.d.ts +42 -0
  32. package/dist/cjs/resources/classes/secret.d.ts +34 -0
  33. package/dist/cjs/resources/classes/telemed.d.ts +29 -0
  34. package/dist/cjs/resources/classes/transactionalSMS.d.ts +22 -0
  35. package/dist/cjs/resources/classes/user.d.ts +56 -0
  36. package/dist/cjs/resources/classes/version.d.ts +10 -0
  37. package/dist/cjs/resources/classes/z3-ext.d.ts +10 -0
  38. package/dist/cjs/resources/classes/z3.d.ts +51 -0
  39. package/dist/cjs/resources/classes/zambda-ext.d.ts +6 -0
  40. package/dist/cjs/resources/classes/zambda.d.ts +63 -0
  41. package/dist/cjs/resources/classes/zambdaLogStream.d.ts +27 -0
  42. package/dist/cjs/resources/index.d.ts +1 -0
  43. package/dist/cjs/resources/types/AccessPolicy.d.ts +7 -0
  44. package/dist/cjs/resources/types/Application.d.ts +59 -0
  45. package/dist/cjs/resources/types/ApplicationCreateParams.d.ts +59 -0
  46. package/dist/cjs/resources/types/ApplicationCreateResponse.d.ts +5 -0
  47. package/dist/cjs/resources/types/ApplicationDeleteParams.d.ts +3 -0
  48. package/dist/cjs/resources/types/ApplicationGetParams.d.ts +3 -0
  49. package/dist/cjs/resources/types/ApplicationGetResponse.d.ts +5 -0
  50. package/dist/cjs/resources/types/ApplicationListItem.d.ts +15 -0
  51. package/dist/cjs/resources/types/ApplicationListResponse.d.ts +5 -0
  52. package/dist/cjs/resources/types/ApplicationRevokeAccessTokenParams.d.ts +4 -0
  53. package/dist/cjs/resources/types/ApplicationRevokeAccessTokenResponse.d.ts +6 -0
  54. package/dist/cjs/resources/types/ApplicationRevokeRefreshTokenParams.d.ts +4 -0
  55. package/dist/cjs/resources/types/ApplicationRevokeRefreshTokenResponse.d.ts +6 -0
  56. package/dist/cjs/resources/types/ApplicationRotateSecretParams.d.ts +3 -0
  57. package/dist/cjs/resources/types/ApplicationRotateSecretResponse.d.ts +6 -0
  58. package/dist/cjs/resources/types/ApplicationUpdateParams.d.ts +59 -0
  59. package/dist/cjs/resources/types/ApplicationUpdateResponse.d.ts +5 -0
  60. package/dist/cjs/resources/types/Card.d.ts +8 -0
  61. package/dist/cjs/resources/types/CardIdentifier.d.ts +7 -0
  62. package/dist/cjs/resources/types/ChargeDetails.d.ts +8 -0
  63. package/dist/cjs/resources/types/ChargeIssueParams.d.ts +6 -0
  64. package/dist/cjs/resources/types/ChargeStatusParams.d.ts +6 -0
  65. package/dist/cjs/resources/types/ChargeStatusResponse.d.ts +5 -0
  66. package/dist/cjs/resources/types/ClaimAddress.d.ts +7 -0
  67. package/dist/cjs/resources/types/ClaimCMS1500.d.ts +100 -0
  68. package/dist/cjs/resources/types/ClaimDate.d.ts +5 -0
  69. package/dist/cjs/resources/types/ClaimDatePeriod.d.ts +5 -0
  70. package/dist/cjs/resources/types/ClaimDateWithQualifier.d.ts +5 -0
  71. package/dist/cjs/resources/types/ClaimId.d.ts +4 -0
  72. package/dist/cjs/resources/types/ClaimName.d.ts +6 -0
  73. package/dist/cjs/resources/types/ConversationAddParticipantParams.d.ts +21 -0
  74. package/dist/cjs/resources/types/ConversationCreateParams.d.ts +7 -0
  75. package/dist/cjs/resources/types/ConversationCreateResponse.d.ts +10 -0
  76. package/dist/cjs/resources/types/ConversationGetTokenResponse.d.ts +9 -0
  77. package/dist/cjs/resources/types/ConversationMessageParams.d.ts +13 -0
  78. package/dist/cjs/resources/types/ConversationRemoveParticipantParams.d.ts +11 -0
  79. package/dist/cjs/resources/types/Developer.d.ts +20 -0
  80. package/dist/cjs/resources/types/DeveloperDeleteParams.d.ts +3 -0
  81. package/dist/cjs/resources/types/DeveloperGetParams.d.ts +3 -0
  82. package/dist/cjs/resources/types/DeveloperGetResponse.d.ts +5 -0
  83. package/dist/cjs/resources/types/DeveloperInviteParams.d.ts +17 -0
  84. package/dist/cjs/resources/types/DeveloperInviteResponse.d.ts +23 -0
  85. package/dist/cjs/resources/types/DeveloperListItem.d.ts +7 -0
  86. package/dist/cjs/resources/types/DeveloperListResponse.d.ts +5 -0
  87. package/dist/cjs/resources/types/DeveloperListV2Params.d.ts +11 -0
  88. package/dist/cjs/resources/types/DeveloperListV2Response.d.ts +29 -0
  89. package/dist/cjs/resources/types/DeveloperUpdateParams.d.ts +9 -0
  90. package/dist/cjs/resources/types/DeveloperUpdateResponse.d.ts +5 -0
  91. package/dist/cjs/resources/types/ErxAllergySearchParams.d.ts +3 -0
  92. package/dist/cjs/resources/types/ErxAllergySearchResponse.d.ts +19 -0
  93. package/dist/cjs/resources/types/ErxMedicationSearchParams.d.ts +6 -0
  94. package/dist/cjs/resources/types/ErxMedicationSearchResponse.d.ts +38 -0
  95. package/dist/cjs/resources/types/ErxSyncPatientParams.d.ts +3 -0
  96. package/dist/cjs/resources/types/ErxSyncPatientResponse.d.ts +9 -0
  97. package/dist/cjs/resources/types/M2m.d.ts +30 -0
  98. package/dist/cjs/resources/types/M2mCreateParams.d.ts +20 -0
  99. package/dist/cjs/resources/types/M2mCreateResponse.d.ts +5 -0
  100. package/dist/cjs/resources/types/M2mDeleteParams.d.ts +3 -0
  101. package/dist/cjs/resources/types/M2mGetParams.d.ts +3 -0
  102. package/dist/cjs/resources/types/M2mGetResponse.d.ts +5 -0
  103. package/dist/cjs/resources/types/M2mListItem.d.ts +25 -0
  104. package/dist/cjs/resources/types/M2mListResponse.d.ts +5 -0
  105. package/dist/cjs/resources/types/M2mListV2Params.d.ts +10 -0
  106. package/dist/cjs/resources/types/M2mListV2Response.d.ts +16 -0
  107. package/dist/cjs/resources/types/M2mRotateSecretParams.d.ts +3 -0
  108. package/dist/cjs/resources/types/M2mRotateSecretResponse.d.ts +6 -0
  109. package/dist/cjs/resources/types/M2mUpdateParams.d.ts +21 -0
  110. package/dist/cjs/resources/types/M2mUpdateResponse.d.ts +5 -0
  111. package/dist/cjs/resources/types/MessagingGetMessagingConfigResponse.d.ts +8 -0
  112. package/dist/cjs/resources/types/MessagingServiceInfo.d.ts +14 -0
  113. package/dist/cjs/resources/types/PaymentMethodDeleteParams.d.ts +16 -0
  114. package/dist/cjs/resources/types/PaymentMethodListParams.d.ts +12 -0
  115. package/dist/cjs/resources/types/PaymentMethodListResponse.d.ts +8 -0
  116. package/dist/cjs/resources/types/PaymentMethodSetDefaultParams.d.ts +16 -0
  117. package/dist/cjs/resources/types/PaymentMethodSetUpParams.d.ts +12 -0
  118. package/dist/cjs/resources/types/PaymentMethodSetUpResponse.d.ts +9 -0
  119. package/dist/cjs/resources/types/Project.d.ts +17 -0
  120. package/dist/cjs/resources/types/ProjectGetResponse.d.ts +5 -0
  121. package/dist/cjs/resources/types/ProjectUpdateParams.d.ts +16 -0
  122. package/dist/cjs/resources/types/ProjectUpdateResponse.d.ts +5 -0
  123. package/dist/cjs/resources/types/RcmEligibilityCheckParams.d.ts +6 -0
  124. package/dist/cjs/resources/types/RcmEligibilityCheckResponse.d.ts +5 -0
  125. package/dist/cjs/resources/types/RcmSubmitProfessionalClaimParams.d.ts +10 -0
  126. package/dist/cjs/resources/types/RcmSubmitProfessionalClaimResponse.d.ts +5 -0
  127. package/dist/cjs/resources/types/RcmValidateProfessionalClaimParams.d.ts +6 -0
  128. package/dist/cjs/resources/types/RcmValidateProfessionalClaimResponse.d.ts +21 -0
  129. package/dist/cjs/resources/types/Role.d.ts +16 -0
  130. package/dist/cjs/resources/types/RoleCreateParams.d.ts +12 -0
  131. package/dist/cjs/resources/types/RoleCreateResponse.d.ts +5 -0
  132. package/dist/cjs/resources/types/RoleDeleteParams.d.ts +3 -0
  133. package/dist/cjs/resources/types/RoleGetParams.d.ts +3 -0
  134. package/dist/cjs/resources/types/RoleGetResponse.d.ts +5 -0
  135. package/dist/cjs/resources/types/RoleListItem.d.ts +14 -0
  136. package/dist/cjs/resources/types/RoleListResponse.d.ts +5 -0
  137. package/dist/cjs/resources/types/RoleStub.d.ts +10 -0
  138. package/dist/cjs/resources/types/RoleUpdateParams.d.ts +17 -0
  139. package/dist/cjs/resources/types/RoleUpdateResponse.d.ts +5 -0
  140. package/dist/cjs/resources/types/Secret.d.ts +10 -0
  141. package/dist/cjs/resources/types/SecretDeleteParams.d.ts +3 -0
  142. package/dist/cjs/resources/types/SecretGetParams.d.ts +3 -0
  143. package/dist/cjs/resources/types/SecretGetResponse.d.ts +5 -0
  144. package/dist/cjs/resources/types/SecretListItem.d.ts +6 -0
  145. package/dist/cjs/resources/types/SecretListResponse.d.ts +5 -0
  146. package/dist/cjs/resources/types/SecretSetParams.d.ts +10 -0
  147. package/dist/cjs/resources/types/SecretSetResponse.d.ts +5 -0
  148. package/dist/cjs/resources/types/TelemedCreateMeetingParams.d.ts +7 -0
  149. package/dist/cjs/resources/types/TelemedCreateMeetingResponse.d.ts +10 -0
  150. package/dist/cjs/resources/types/TelemedJoinMeetingParams.d.ts +4 -0
  151. package/dist/cjs/resources/types/TelemedJoinMeetingResponse.d.ts +27 -0
  152. package/dist/cjs/resources/types/TransactionalSMSSendParams.d.ts +10 -0
  153. package/dist/cjs/resources/types/TransactionalSMSSendResponse.d.ts +9 -0
  154. package/dist/cjs/resources/types/User.d.ts +36 -0
  155. package/dist/cjs/resources/types/UserDeleteParams.d.ts +3 -0
  156. package/dist/cjs/resources/types/UserGetParams.d.ts +3 -0
  157. package/dist/cjs/resources/types/UserGetResponse.d.ts +5 -0
  158. package/dist/cjs/resources/types/UserInviteParams.d.ts +35 -0
  159. package/dist/cjs/resources/types/UserInviteResponse.d.ts +37 -0
  160. package/dist/cjs/resources/types/UserListItem.d.ts +15 -0
  161. package/dist/cjs/resources/types/UserListResponse.d.ts +5 -0
  162. package/dist/cjs/resources/types/UserListV2Params.d.ts +11 -0
  163. package/dist/cjs/resources/types/UserListV2Response.d.ts +16 -0
  164. package/dist/cjs/resources/types/UserMeResponse.d.ts +5 -0
  165. package/dist/cjs/resources/types/UserUpdateParams.d.ts +9 -0
  166. package/dist/cjs/resources/types/UserUpdateResponse.d.ts +5 -0
  167. package/dist/cjs/resources/types/VersionGetResponse.d.ts +17 -0
  168. package/dist/cjs/resources/types/Z3CreateBucketParams.d.ts +3 -0
  169. package/dist/cjs/resources/types/Z3CreateBucketResponse.d.ts +10 -0
  170. package/dist/cjs/resources/types/Z3DeleteBucketParams.d.ts +3 -0
  171. package/dist/cjs/resources/types/Z3DeleteObjectParams.d.ts +8 -0
  172. package/dist/cjs/resources/types/Z3GetPresignedUrlParams.d.ts +9 -0
  173. package/dist/cjs/resources/types/Z3GetPresignedUrlResponse.d.ts +9 -0
  174. package/dist/cjs/resources/types/Z3ListBucketsResponse.d.ts +14 -0
  175. package/dist/cjs/resources/types/Z3ListObjectsParams.d.ts +4 -0
  176. package/dist/cjs/resources/types/Z3ListObjectsResponse.d.ts +13 -0
  177. package/dist/cjs/resources/types/ZambdaCreateParams.d.ts +12 -0
  178. package/dist/cjs/resources/types/ZambdaCreateResponse.d.ts +5 -0
  179. package/dist/cjs/resources/types/ZambdaDeleteParams.d.ts +3 -0
  180. package/dist/cjs/resources/types/ZambdaExecuteParams.d.ts +4 -0
  181. package/dist/cjs/resources/types/ZambdaExecutePublicParams.d.ts +4 -0
  182. package/dist/cjs/resources/types/ZambdaExecutePublicResponse.d.ts +5 -0
  183. package/dist/cjs/resources/types/ZambdaExecuteResponse.d.ts +5 -0
  184. package/dist/cjs/resources/types/ZambdaExecuteResult.d.ts +10 -0
  185. package/dist/cjs/resources/types/ZambdaFunction.d.ts +38 -0
  186. package/dist/cjs/resources/types/ZambdaGetParams.d.ts +3 -0
  187. package/dist/cjs/resources/types/ZambdaGetResponse.d.ts +5 -0
  188. package/dist/cjs/resources/types/ZambdaListResponse.d.ts +5 -0
  189. package/dist/cjs/resources/types/ZambdaLogStreamGetParams.d.ts +8 -0
  190. package/dist/cjs/resources/types/ZambdaLogStreamGetResponse.d.ts +27 -0
  191. package/dist/cjs/resources/types/ZambdaLogStreamListParams.d.ts +4 -0
  192. package/dist/cjs/resources/types/ZambdaLogStreamListResponse.d.ts +46 -0
  193. package/dist/cjs/resources/types/ZambdaLogStreamSearchParams.d.ts +19 -0
  194. package/dist/cjs/resources/types/ZambdaLogStreamSearchResponse.d.ts +23 -0
  195. package/dist/cjs/resources/types/ZambdaS3UploadParams.d.ts +7 -0
  196. package/dist/cjs/resources/types/ZambdaS3UploadResponse.d.ts +9 -0
  197. package/dist/cjs/resources/types/ZambdaSchedule.d.ts +30 -0
  198. package/dist/cjs/resources/types/ZambdaUpdateParams.d.ts +17 -0
  199. package/dist/cjs/resources/types/ZambdaUpdateResponse.d.ts +5 -0
  200. package/dist/cjs/resources/types/fhir.d.ts +46 -0
  201. package/dist/cjs/resources/types/index.d.ts +158 -0
  202. package/dist/cjs/tests/common.d.ts +2 -0
  203. package/dist/cjs/tests/setup/constants.d.ts +12 -0
  204. package/dist/cjs/tests/setup/global.d.ts +1 -0
  205. package/dist/cjs/tests/setup/per-test.d.ts +1 -0
  206. package/dist/esm/client/client.d.ts +49 -0
  207. package/dist/esm/client/client.js +251 -0
  208. package/dist/esm/client/client.js.map +1 -0
  209. package/dist/esm/config.d.ts +45 -0
  210. package/dist/esm/errors/index.d.ts +17 -0
  211. package/dist/esm/errors/index.js +38 -0
  212. package/dist/esm/errors/index.js.map +1 -0
  213. package/dist/esm/fhir/fhir-types.d.ts +9 -0
  214. package/dist/esm/fhir/index.d.ts +2 -0
  215. package/dist/esm/fhir/utils.d.ts +14 -0
  216. package/dist/esm/index.d.ts +16 -0
  217. package/dist/esm/index.js +14 -0
  218. package/dist/esm/index.js.map +1 -0
  219. package/dist/esm/index.min.js +2 -0
  220. package/dist/esm/index.min.js.map +1 -0
  221. package/dist/esm/node_modules/tslib/package.json +1 -0
  222. package/dist/esm/node_modules/tslib/tslib.es6.js +34 -0
  223. package/dist/esm/node_modules/tslib/tslib.es6.js.map +1 -0
  224. package/dist/esm/package.json +1 -0
  225. package/dist/esm/resources/classes/application.d.ts +62 -0
  226. package/dist/esm/resources/classes/application.js +67 -0
  227. package/dist/esm/resources/classes/application.js.map +1 -0
  228. package/dist/esm/resources/classes/charge.d.ts +30 -0
  229. package/dist/esm/resources/classes/charge.js +35 -0
  230. package/dist/esm/resources/classes/charge.js.map +1 -0
  231. package/dist/esm/resources/classes/conversation-ext.d.ts +10 -0
  232. package/dist/esm/resources/classes/conversation-ext.js +28 -0
  233. package/dist/esm/resources/classes/conversation-ext.js.map +1 -0
  234. package/dist/esm/resources/classes/conversation.d.ts +64 -0
  235. package/dist/esm/resources/classes/conversation.js +69 -0
  236. package/dist/esm/resources/classes/conversation.js.map +1 -0
  237. package/dist/esm/resources/classes/developer.d.ts +50 -0
  238. package/dist/esm/resources/classes/developer.js +55 -0
  239. package/dist/esm/resources/classes/developer.js.map +1 -0
  240. package/dist/esm/resources/classes/erx.d.ts +18 -0
  241. package/dist/esm/resources/classes/erx.js +23 -0
  242. package/dist/esm/resources/classes/erx.js.map +1 -0
  243. package/dist/esm/resources/classes/fhir-ext.d.ts +58 -0
  244. package/dist/esm/resources/classes/fhir-ext.js +130 -0
  245. package/dist/esm/resources/classes/fhir-ext.js.map +1 -0
  246. package/dist/esm/resources/classes/fhir.d.ts +21 -0
  247. package/dist/esm/resources/classes/fhir.js +27 -0
  248. package/dist/esm/resources/classes/fhir.js.map +1 -0
  249. package/dist/esm/resources/classes/index.d.ts +44 -0
  250. package/dist/esm/resources/classes/index.js +49 -0
  251. package/dist/esm/resources/classes/index.js.map +1 -0
  252. package/dist/esm/resources/classes/m2m.d.ts +57 -0
  253. package/dist/esm/resources/classes/m2m.js +62 -0
  254. package/dist/esm/resources/classes/m2m.js.map +1 -0
  255. package/dist/esm/resources/classes/messaging.d.ts +10 -0
  256. package/dist/esm/resources/classes/messaging.js +15 -0
  257. package/dist/esm/resources/classes/messaging.js.map +1 -0
  258. package/dist/esm/resources/classes/paymentMethod.d.ts +70 -0
  259. package/dist/esm/resources/classes/paymentMethod.js +75 -0
  260. package/dist/esm/resources/classes/paymentMethod.js.map +1 -0
  261. package/dist/esm/resources/classes/project.d.ts +20 -0
  262. package/dist/esm/resources/classes/project.js +25 -0
  263. package/dist/esm/resources/classes/project.js.map +1 -0
  264. package/dist/esm/resources/classes/rcm.d.ts +39 -0
  265. package/dist/esm/resources/classes/rcm.js +44 -0
  266. package/dist/esm/resources/classes/rcm.js.map +1 -0
  267. package/dist/esm/resources/classes/role.d.ts +42 -0
  268. package/dist/esm/resources/classes/role.js +47 -0
  269. package/dist/esm/resources/classes/role.js.map +1 -0
  270. package/dist/esm/resources/classes/secret.d.ts +34 -0
  271. package/dist/esm/resources/classes/secret.js +39 -0
  272. package/dist/esm/resources/classes/secret.js.map +1 -0
  273. package/dist/esm/resources/classes/telemed.d.ts +29 -0
  274. package/dist/esm/resources/classes/telemed.js +34 -0
  275. package/dist/esm/resources/classes/telemed.js.map +1 -0
  276. package/dist/esm/resources/classes/transactionalSMS.d.ts +22 -0
  277. package/dist/esm/resources/classes/transactionalSMS.js +27 -0
  278. package/dist/esm/resources/classes/transactionalSMS.js.map +1 -0
  279. package/dist/esm/resources/classes/user.d.ts +56 -0
  280. package/dist/esm/resources/classes/user.js +61 -0
  281. package/dist/esm/resources/classes/user.js.map +1 -0
  282. package/dist/esm/resources/classes/version.d.ts +10 -0
  283. package/dist/esm/resources/classes/version.js +15 -0
  284. package/dist/esm/resources/classes/version.js.map +1 -0
  285. package/dist/esm/resources/classes/z3-ext.d.ts +10 -0
  286. package/dist/esm/resources/classes/z3-ext.js +34 -0
  287. package/dist/esm/resources/classes/z3-ext.js.map +1 -0
  288. package/dist/esm/resources/classes/z3.d.ts +51 -0
  289. package/dist/esm/resources/classes/z3.js +56 -0
  290. package/dist/esm/resources/classes/z3.js.map +1 -0
  291. package/dist/esm/resources/classes/zambda-ext.d.ts +6 -0
  292. package/dist/esm/resources/classes/zambda-ext.js +14 -0
  293. package/dist/esm/resources/classes/zambda-ext.js.map +1 -0
  294. package/dist/esm/resources/classes/zambda.d.ts +63 -0
  295. package/dist/esm/resources/classes/zambda.js +68 -0
  296. package/dist/esm/resources/classes/zambda.js.map +1 -0
  297. package/dist/esm/resources/classes/zambdaLogStream.d.ts +27 -0
  298. package/dist/esm/resources/classes/zambdaLogStream.js +32 -0
  299. package/dist/esm/resources/classes/zambdaLogStream.js.map +1 -0
  300. package/dist/esm/resources/index.d.ts +1 -0
  301. package/dist/esm/resources/types/AccessPolicy.d.ts +7 -0
  302. package/dist/esm/resources/types/Application.d.ts +59 -0
  303. package/dist/esm/resources/types/ApplicationCreateParams.d.ts +59 -0
  304. package/dist/esm/resources/types/ApplicationCreateResponse.d.ts +5 -0
  305. package/dist/esm/resources/types/ApplicationDeleteParams.d.ts +3 -0
  306. package/dist/esm/resources/types/ApplicationGetParams.d.ts +3 -0
  307. package/dist/esm/resources/types/ApplicationGetResponse.d.ts +5 -0
  308. package/dist/esm/resources/types/ApplicationListItem.d.ts +15 -0
  309. package/dist/esm/resources/types/ApplicationListResponse.d.ts +5 -0
  310. package/dist/esm/resources/types/ApplicationRevokeAccessTokenParams.d.ts +4 -0
  311. package/dist/esm/resources/types/ApplicationRevokeAccessTokenResponse.d.ts +6 -0
  312. package/dist/esm/resources/types/ApplicationRevokeRefreshTokenParams.d.ts +4 -0
  313. package/dist/esm/resources/types/ApplicationRevokeRefreshTokenResponse.d.ts +6 -0
  314. package/dist/esm/resources/types/ApplicationRotateSecretParams.d.ts +3 -0
  315. package/dist/esm/resources/types/ApplicationRotateSecretResponse.d.ts +6 -0
  316. package/dist/esm/resources/types/ApplicationUpdateParams.d.ts +59 -0
  317. package/dist/esm/resources/types/ApplicationUpdateResponse.d.ts +5 -0
  318. package/dist/esm/resources/types/Card.d.ts +8 -0
  319. package/dist/esm/resources/types/CardIdentifier.d.ts +7 -0
  320. package/dist/esm/resources/types/ChargeDetails.d.ts +8 -0
  321. package/dist/esm/resources/types/ChargeIssueParams.d.ts +6 -0
  322. package/dist/esm/resources/types/ChargeStatusParams.d.ts +6 -0
  323. package/dist/esm/resources/types/ChargeStatusResponse.d.ts +5 -0
  324. package/dist/esm/resources/types/ClaimAddress.d.ts +7 -0
  325. package/dist/esm/resources/types/ClaimCMS1500.d.ts +100 -0
  326. package/dist/esm/resources/types/ClaimDate.d.ts +5 -0
  327. package/dist/esm/resources/types/ClaimDatePeriod.d.ts +5 -0
  328. package/dist/esm/resources/types/ClaimDateWithQualifier.d.ts +5 -0
  329. package/dist/esm/resources/types/ClaimId.d.ts +4 -0
  330. package/dist/esm/resources/types/ClaimName.d.ts +6 -0
  331. package/dist/esm/resources/types/ConversationAddParticipantParams.d.ts +21 -0
  332. package/dist/esm/resources/types/ConversationCreateParams.d.ts +7 -0
  333. package/dist/esm/resources/types/ConversationCreateResponse.d.ts +10 -0
  334. package/dist/esm/resources/types/ConversationGetTokenResponse.d.ts +9 -0
  335. package/dist/esm/resources/types/ConversationMessageParams.d.ts +13 -0
  336. package/dist/esm/resources/types/ConversationRemoveParticipantParams.d.ts +11 -0
  337. package/dist/esm/resources/types/Developer.d.ts +20 -0
  338. package/dist/esm/resources/types/DeveloperDeleteParams.d.ts +3 -0
  339. package/dist/esm/resources/types/DeveloperGetParams.d.ts +3 -0
  340. package/dist/esm/resources/types/DeveloperGetResponse.d.ts +5 -0
  341. package/dist/esm/resources/types/DeveloperInviteParams.d.ts +17 -0
  342. package/dist/esm/resources/types/DeveloperInviteResponse.d.ts +23 -0
  343. package/dist/esm/resources/types/DeveloperListItem.d.ts +7 -0
  344. package/dist/esm/resources/types/DeveloperListResponse.d.ts +5 -0
  345. package/dist/esm/resources/types/DeveloperListV2Params.d.ts +11 -0
  346. package/dist/esm/resources/types/DeveloperListV2Response.d.ts +29 -0
  347. package/dist/esm/resources/types/DeveloperUpdateParams.d.ts +9 -0
  348. package/dist/esm/resources/types/DeveloperUpdateResponse.d.ts +5 -0
  349. package/dist/esm/resources/types/ErxAllergySearchParams.d.ts +3 -0
  350. package/dist/esm/resources/types/ErxAllergySearchResponse.d.ts +19 -0
  351. package/dist/esm/resources/types/ErxMedicationSearchParams.d.ts +6 -0
  352. package/dist/esm/resources/types/ErxMedicationSearchResponse.d.ts +38 -0
  353. package/dist/esm/resources/types/ErxSyncPatientParams.d.ts +3 -0
  354. package/dist/esm/resources/types/ErxSyncPatientResponse.d.ts +9 -0
  355. package/dist/esm/resources/types/M2m.d.ts +30 -0
  356. package/dist/esm/resources/types/M2mCreateParams.d.ts +20 -0
  357. package/dist/esm/resources/types/M2mCreateResponse.d.ts +5 -0
  358. package/dist/esm/resources/types/M2mDeleteParams.d.ts +3 -0
  359. package/dist/esm/resources/types/M2mGetParams.d.ts +3 -0
  360. package/dist/esm/resources/types/M2mGetResponse.d.ts +5 -0
  361. package/dist/esm/resources/types/M2mListItem.d.ts +25 -0
  362. package/dist/esm/resources/types/M2mListResponse.d.ts +5 -0
  363. package/dist/esm/resources/types/M2mListV2Params.d.ts +10 -0
  364. package/dist/esm/resources/types/M2mListV2Response.d.ts +16 -0
  365. package/dist/esm/resources/types/M2mRotateSecretParams.d.ts +3 -0
  366. package/dist/esm/resources/types/M2mRotateSecretResponse.d.ts +6 -0
  367. package/dist/esm/resources/types/M2mUpdateParams.d.ts +21 -0
  368. package/dist/esm/resources/types/M2mUpdateResponse.d.ts +5 -0
  369. package/dist/esm/resources/types/MessagingGetMessagingConfigResponse.d.ts +8 -0
  370. package/dist/esm/resources/types/MessagingServiceInfo.d.ts +14 -0
  371. package/dist/esm/resources/types/PaymentMethodDeleteParams.d.ts +16 -0
  372. package/dist/esm/resources/types/PaymentMethodListParams.d.ts +12 -0
  373. package/dist/esm/resources/types/PaymentMethodListResponse.d.ts +8 -0
  374. package/dist/esm/resources/types/PaymentMethodSetDefaultParams.d.ts +16 -0
  375. package/dist/esm/resources/types/PaymentMethodSetUpParams.d.ts +12 -0
  376. package/dist/esm/resources/types/PaymentMethodSetUpResponse.d.ts +9 -0
  377. package/dist/esm/resources/types/Project.d.ts +17 -0
  378. package/dist/esm/resources/types/ProjectGetResponse.d.ts +5 -0
  379. package/dist/esm/resources/types/ProjectUpdateParams.d.ts +16 -0
  380. package/dist/esm/resources/types/ProjectUpdateResponse.d.ts +5 -0
  381. package/dist/esm/resources/types/RcmEligibilityCheckParams.d.ts +6 -0
  382. package/dist/esm/resources/types/RcmEligibilityCheckResponse.d.ts +5 -0
  383. package/dist/esm/resources/types/RcmSubmitProfessionalClaimParams.d.ts +10 -0
  384. package/dist/esm/resources/types/RcmSubmitProfessionalClaimResponse.d.ts +5 -0
  385. package/dist/esm/resources/types/RcmValidateProfessionalClaimParams.d.ts +6 -0
  386. package/dist/esm/resources/types/RcmValidateProfessionalClaimResponse.d.ts +21 -0
  387. package/dist/esm/resources/types/Role.d.ts +16 -0
  388. package/dist/esm/resources/types/RoleCreateParams.d.ts +12 -0
  389. package/dist/esm/resources/types/RoleCreateResponse.d.ts +5 -0
  390. package/dist/esm/resources/types/RoleDeleteParams.d.ts +3 -0
  391. package/dist/esm/resources/types/RoleGetParams.d.ts +3 -0
  392. package/dist/esm/resources/types/RoleGetResponse.d.ts +5 -0
  393. package/dist/esm/resources/types/RoleListItem.d.ts +14 -0
  394. package/dist/esm/resources/types/RoleListResponse.d.ts +5 -0
  395. package/dist/esm/resources/types/RoleStub.d.ts +10 -0
  396. package/dist/esm/resources/types/RoleUpdateParams.d.ts +17 -0
  397. package/dist/esm/resources/types/RoleUpdateResponse.d.ts +5 -0
  398. package/dist/esm/resources/types/Secret.d.ts +10 -0
  399. package/dist/esm/resources/types/SecretDeleteParams.d.ts +3 -0
  400. package/dist/esm/resources/types/SecretGetParams.d.ts +3 -0
  401. package/dist/esm/resources/types/SecretGetResponse.d.ts +5 -0
  402. package/dist/esm/resources/types/SecretListItem.d.ts +6 -0
  403. package/dist/esm/resources/types/SecretListResponse.d.ts +5 -0
  404. package/dist/esm/resources/types/SecretSetParams.d.ts +10 -0
  405. package/dist/esm/resources/types/SecretSetResponse.d.ts +5 -0
  406. package/dist/esm/resources/types/TelemedCreateMeetingParams.d.ts +7 -0
  407. package/dist/esm/resources/types/TelemedCreateMeetingResponse.d.ts +10 -0
  408. package/dist/esm/resources/types/TelemedJoinMeetingParams.d.ts +4 -0
  409. package/dist/esm/resources/types/TelemedJoinMeetingResponse.d.ts +27 -0
  410. package/dist/esm/resources/types/TransactionalSMSSendParams.d.ts +10 -0
  411. package/dist/esm/resources/types/TransactionalSMSSendResponse.d.ts +9 -0
  412. package/dist/esm/resources/types/User.d.ts +36 -0
  413. package/dist/esm/resources/types/UserDeleteParams.d.ts +3 -0
  414. package/dist/esm/resources/types/UserGetParams.d.ts +3 -0
  415. package/dist/esm/resources/types/UserGetResponse.d.ts +5 -0
  416. package/dist/esm/resources/types/UserInviteParams.d.ts +35 -0
  417. package/dist/esm/resources/types/UserInviteResponse.d.ts +37 -0
  418. package/dist/esm/resources/types/UserListItem.d.ts +15 -0
  419. package/dist/esm/resources/types/UserListResponse.d.ts +5 -0
  420. package/dist/esm/resources/types/UserListV2Params.d.ts +11 -0
  421. package/dist/esm/resources/types/UserListV2Response.d.ts +16 -0
  422. package/dist/esm/resources/types/UserMeResponse.d.ts +5 -0
  423. package/dist/esm/resources/types/UserUpdateParams.d.ts +9 -0
  424. package/dist/esm/resources/types/UserUpdateResponse.d.ts +5 -0
  425. package/dist/esm/resources/types/VersionGetResponse.d.ts +17 -0
  426. package/dist/esm/resources/types/Z3CreateBucketParams.d.ts +3 -0
  427. package/dist/esm/resources/types/Z3CreateBucketResponse.d.ts +10 -0
  428. package/dist/esm/resources/types/Z3DeleteBucketParams.d.ts +3 -0
  429. package/dist/esm/resources/types/Z3DeleteObjectParams.d.ts +8 -0
  430. package/dist/esm/resources/types/Z3GetPresignedUrlParams.d.ts +9 -0
  431. package/dist/esm/resources/types/Z3GetPresignedUrlResponse.d.ts +9 -0
  432. package/dist/esm/resources/types/Z3ListBucketsResponse.d.ts +14 -0
  433. package/dist/esm/resources/types/Z3ListObjectsParams.d.ts +4 -0
  434. package/dist/esm/resources/types/Z3ListObjectsResponse.d.ts +13 -0
  435. package/dist/esm/resources/types/ZambdaCreateParams.d.ts +12 -0
  436. package/dist/esm/resources/types/ZambdaCreateResponse.d.ts +5 -0
  437. package/dist/esm/resources/types/ZambdaDeleteParams.d.ts +3 -0
  438. package/dist/esm/resources/types/ZambdaExecuteParams.d.ts +4 -0
  439. package/dist/esm/resources/types/ZambdaExecutePublicParams.d.ts +4 -0
  440. package/dist/esm/resources/types/ZambdaExecutePublicResponse.d.ts +5 -0
  441. package/dist/esm/resources/types/ZambdaExecuteResponse.d.ts +5 -0
  442. package/dist/esm/resources/types/ZambdaExecuteResult.d.ts +10 -0
  443. package/dist/esm/resources/types/ZambdaFunction.d.ts +38 -0
  444. package/dist/esm/resources/types/ZambdaGetParams.d.ts +3 -0
  445. package/dist/esm/resources/types/ZambdaGetResponse.d.ts +5 -0
  446. package/dist/esm/resources/types/ZambdaListResponse.d.ts +5 -0
  447. package/dist/esm/resources/types/ZambdaLogStreamGetParams.d.ts +8 -0
  448. package/dist/esm/resources/types/ZambdaLogStreamGetResponse.d.ts +27 -0
  449. package/dist/esm/resources/types/ZambdaLogStreamListParams.d.ts +4 -0
  450. package/dist/esm/resources/types/ZambdaLogStreamListResponse.d.ts +46 -0
  451. package/dist/esm/resources/types/ZambdaLogStreamSearchParams.d.ts +19 -0
  452. package/dist/esm/resources/types/ZambdaLogStreamSearchResponse.d.ts +23 -0
  453. package/dist/esm/resources/types/ZambdaS3UploadParams.d.ts +7 -0
  454. package/dist/esm/resources/types/ZambdaS3UploadResponse.d.ts +9 -0
  455. package/dist/esm/resources/types/ZambdaSchedule.d.ts +30 -0
  456. package/dist/esm/resources/types/ZambdaUpdateParams.d.ts +17 -0
  457. package/dist/esm/resources/types/ZambdaUpdateResponse.d.ts +5 -0
  458. package/dist/esm/resources/types/fhir.d.ts +46 -0
  459. package/dist/esm/resources/types/index.d.ts +158 -0
  460. package/dist/esm/tests/common.d.ts +2 -0
  461. package/dist/esm/tests/setup/constants.d.ts +12 -0
  462. package/dist/esm/tests/setup/global.d.ts +1 -0
  463. package/dist/esm/tests/setup/per-test.d.ts +1 -0
  464. package/package.json +59 -0
  465. package/rollup.config-cjs.mjs +49 -0
  466. package/rollup.config-mjs.mjs +49 -0
  467. package/src/client/client.ts +307 -0
  468. package/src/config.ts +56 -0
  469. package/src/errors/index.ts +41 -0
  470. package/src/fhir/fhir-types.ts +15 -0
  471. package/src/fhir/index.ts +2 -0
  472. package/src/fhir/utils.ts +68 -0
  473. package/src/index.cts +22 -0
  474. package/src/index.ts +27 -0
  475. package/src/resources/classes/application.ts +100 -0
  476. package/src/resources/classes/charge.ts +37 -0
  477. package/src/resources/classes/conversation-ext.ts +31 -0
  478. package/src/resources/classes/conversation.ts +82 -0
  479. package/src/resources/classes/developer.ts +72 -0
  480. package/src/resources/classes/erx.ts +36 -0
  481. package/src/resources/classes/fhir-ext.ts +214 -0
  482. package/src/resources/classes/fhir.ts +26 -0
  483. package/src/resources/classes/index.ts +68 -0
  484. package/src/resources/classes/m2m.ts +82 -0
  485. package/src/resources/classes/messaging.ts +16 -0
  486. package/src/resources/classes/paymentMethod.ts +87 -0
  487. package/src/resources/classes/project.ts +26 -0
  488. package/src/resources/classes/rcm.ts +63 -0
  489. package/src/resources/classes/role.ts +61 -0
  490. package/src/resources/classes/secret.ts +50 -0
  491. package/src/resources/classes/telemed.ts +47 -0
  492. package/src/resources/classes/transactionalSMS.ts +28 -0
  493. package/src/resources/classes/user.ts +79 -0
  494. package/src/resources/classes/version.ts +15 -0
  495. package/src/resources/classes/z3-ext.ts +54 -0
  496. package/src/resources/classes/z3.ts +74 -0
  497. package/src/resources/classes/zambda-ext.ts +20 -0
  498. package/src/resources/classes/zambda.ts +93 -0
  499. package/src/resources/classes/zambdaLogStream.ts +45 -0
  500. package/src/resources/index.ts +1 -0
  501. package/src/resources/types/AccessPolicy.ts +9 -0
  502. package/src/resources/types/Application.ts +61 -0
  503. package/src/resources/types/ApplicationCreateParams.ts +61 -0
  504. package/src/resources/types/ApplicationCreateResponse.ts +7 -0
  505. package/src/resources/types/ApplicationDeleteParams.ts +5 -0
  506. package/src/resources/types/ApplicationGetParams.ts +5 -0
  507. package/src/resources/types/ApplicationGetResponse.ts +7 -0
  508. package/src/resources/types/ApplicationListItem.ts +17 -0
  509. package/src/resources/types/ApplicationListResponse.ts +7 -0
  510. package/src/resources/types/ApplicationRevokeAccessTokenParams.ts +6 -0
  511. package/src/resources/types/ApplicationRevokeAccessTokenResponse.ts +8 -0
  512. package/src/resources/types/ApplicationRevokeRefreshTokenParams.ts +6 -0
  513. package/src/resources/types/ApplicationRevokeRefreshTokenResponse.ts +8 -0
  514. package/src/resources/types/ApplicationRotateSecretParams.ts +5 -0
  515. package/src/resources/types/ApplicationRotateSecretResponse.ts +8 -0
  516. package/src/resources/types/ApplicationUpdateParams.ts +61 -0
  517. package/src/resources/types/ApplicationUpdateResponse.ts +7 -0
  518. package/src/resources/types/Card.ts +10 -0
  519. package/src/resources/types/CardIdentifier.ts +9 -0
  520. package/src/resources/types/ChargeDetails.ts +11 -0
  521. package/src/resources/types/ChargeIssueParams.ts +8 -0
  522. package/src/resources/types/ChargeStatusParams.ts +8 -0
  523. package/src/resources/types/ChargeStatusResponse.ts +7 -0
  524. package/src/resources/types/ClaimAddress.ts +9 -0
  525. package/src/resources/types/ClaimCMS1500.ts +103 -0
  526. package/src/resources/types/ClaimDate.ts +7 -0
  527. package/src/resources/types/ClaimDatePeriod.ts +8 -0
  528. package/src/resources/types/ClaimDateWithQualifier.ts +8 -0
  529. package/src/resources/types/ClaimId.ts +6 -0
  530. package/src/resources/types/ClaimName.ts +8 -0
  531. package/src/resources/types/ConversationAddParticipantParams.ts +23 -0
  532. package/src/resources/types/ConversationCreateParams.ts +10 -0
  533. package/src/resources/types/ConversationCreateResponse.ts +12 -0
  534. package/src/resources/types/ConversationGetTokenResponse.ts +11 -0
  535. package/src/resources/types/ConversationMessageParams.ts +15 -0
  536. package/src/resources/types/ConversationRemoveParticipantParams.ts +13 -0
  537. package/src/resources/types/Developer.ts +23 -0
  538. package/src/resources/types/DeveloperDeleteParams.ts +5 -0
  539. package/src/resources/types/DeveloperGetParams.ts +5 -0
  540. package/src/resources/types/DeveloperGetResponse.ts +7 -0
  541. package/src/resources/types/DeveloperInviteParams.ts +20 -0
  542. package/src/resources/types/DeveloperInviteResponse.ts +25 -0
  543. package/src/resources/types/DeveloperListItem.ts +9 -0
  544. package/src/resources/types/DeveloperListResponse.ts +7 -0
  545. package/src/resources/types/DeveloperListV2Params.ts +13 -0
  546. package/src/resources/types/DeveloperListV2Response.ts +31 -0
  547. package/src/resources/types/DeveloperUpdateParams.ts +12 -0
  548. package/src/resources/types/DeveloperUpdateResponse.ts +7 -0
  549. package/src/resources/types/ErxAllergySearchParams.ts +5 -0
  550. package/src/resources/types/ErxAllergySearchResponse.ts +21 -0
  551. package/src/resources/types/ErxMedicationSearchParams.ts +8 -0
  552. package/src/resources/types/ErxMedicationSearchResponse.ts +40 -0
  553. package/src/resources/types/ErxSyncPatientParams.ts +5 -0
  554. package/src/resources/types/ErxSyncPatientResponse.ts +11 -0
  555. package/src/resources/types/M2m.ts +33 -0
  556. package/src/resources/types/M2mCreateParams.ts +23 -0
  557. package/src/resources/types/M2mCreateResponse.ts +7 -0
  558. package/src/resources/types/M2mDeleteParams.ts +5 -0
  559. package/src/resources/types/M2mGetParams.ts +5 -0
  560. package/src/resources/types/M2mGetResponse.ts +7 -0
  561. package/src/resources/types/M2mListItem.ts +28 -0
  562. package/src/resources/types/M2mListResponse.ts +7 -0
  563. package/src/resources/types/M2mListV2Params.ts +12 -0
  564. package/src/resources/types/M2mListV2Response.ts +18 -0
  565. package/src/resources/types/M2mRotateSecretParams.ts +5 -0
  566. package/src/resources/types/M2mRotateSecretResponse.ts +8 -0
  567. package/src/resources/types/M2mUpdateParams.ts +24 -0
  568. package/src/resources/types/M2mUpdateResponse.ts +7 -0
  569. package/src/resources/types/MessagingGetMessagingConfigResponse.ts +10 -0
  570. package/src/resources/types/MessagingServiceInfo.ts +16 -0
  571. package/src/resources/types/PaymentMethodDeleteParams.ts +18 -0
  572. package/src/resources/types/PaymentMethodListParams.ts +14 -0
  573. package/src/resources/types/PaymentMethodListResponse.ts +10 -0
  574. package/src/resources/types/PaymentMethodSetDefaultParams.ts +18 -0
  575. package/src/resources/types/PaymentMethodSetUpParams.ts +14 -0
  576. package/src/resources/types/PaymentMethodSetUpResponse.ts +11 -0
  577. package/src/resources/types/Project.ts +20 -0
  578. package/src/resources/types/ProjectGetResponse.ts +7 -0
  579. package/src/resources/types/ProjectUpdateParams.ts +18 -0
  580. package/src/resources/types/ProjectUpdateResponse.ts +7 -0
  581. package/src/resources/types/RcmEligibilityCheckParams.ts +8 -0
  582. package/src/resources/types/RcmEligibilityCheckResponse.ts +7 -0
  583. package/src/resources/types/RcmSubmitProfessionalClaimParams.ts +13 -0
  584. package/src/resources/types/RcmSubmitProfessionalClaimResponse.ts +7 -0
  585. package/src/resources/types/RcmValidateProfessionalClaimParams.ts +9 -0
  586. package/src/resources/types/RcmValidateProfessionalClaimResponse.ts +23 -0
  587. package/src/resources/types/Role.ts +19 -0
  588. package/src/resources/types/RoleCreateParams.ts +15 -0
  589. package/src/resources/types/RoleCreateResponse.ts +7 -0
  590. package/src/resources/types/RoleDeleteParams.ts +5 -0
  591. package/src/resources/types/RoleGetParams.ts +5 -0
  592. package/src/resources/types/RoleGetResponse.ts +7 -0
  593. package/src/resources/types/RoleListItem.ts +16 -0
  594. package/src/resources/types/RoleListResponse.ts +7 -0
  595. package/src/resources/types/RoleStub.ts +12 -0
  596. package/src/resources/types/RoleUpdateParams.ts +20 -0
  597. package/src/resources/types/RoleUpdateResponse.ts +7 -0
  598. package/src/resources/types/Secret.ts +12 -0
  599. package/src/resources/types/SecretDeleteParams.ts +5 -0
  600. package/src/resources/types/SecretGetParams.ts +5 -0
  601. package/src/resources/types/SecretGetResponse.ts +7 -0
  602. package/src/resources/types/SecretListItem.ts +8 -0
  603. package/src/resources/types/SecretListResponse.ts +7 -0
  604. package/src/resources/types/SecretSetParams.ts +12 -0
  605. package/src/resources/types/SecretSetResponse.ts +7 -0
  606. package/src/resources/types/TelemedCreateMeetingParams.ts +10 -0
  607. package/src/resources/types/TelemedCreateMeetingResponse.ts +12 -0
  608. package/src/resources/types/TelemedJoinMeetingParams.ts +6 -0
  609. package/src/resources/types/TelemedJoinMeetingResponse.ts +29 -0
  610. package/src/resources/types/TransactionalSMSSendParams.ts +12 -0
  611. package/src/resources/types/TransactionalSMSSendResponse.ts +11 -0
  612. package/src/resources/types/User.ts +39 -0
  613. package/src/resources/types/UserDeleteParams.ts +5 -0
  614. package/src/resources/types/UserGetParams.ts +5 -0
  615. package/src/resources/types/UserGetResponse.ts +7 -0
  616. package/src/resources/types/UserInviteParams.ts +38 -0
  617. package/src/resources/types/UserInviteResponse.ts +39 -0
  618. package/src/resources/types/UserListItem.ts +17 -0
  619. package/src/resources/types/UserListResponse.ts +7 -0
  620. package/src/resources/types/UserListV2Params.ts +13 -0
  621. package/src/resources/types/UserListV2Response.ts +18 -0
  622. package/src/resources/types/UserMeResponse.ts +7 -0
  623. package/src/resources/types/UserUpdateParams.ts +12 -0
  624. package/src/resources/types/UserUpdateResponse.ts +7 -0
  625. package/src/resources/types/VersionGetResponse.ts +19 -0
  626. package/src/resources/types/Z3CreateBucketParams.ts +5 -0
  627. package/src/resources/types/Z3CreateBucketResponse.ts +12 -0
  628. package/src/resources/types/Z3DeleteBucketParams.ts +5 -0
  629. package/src/resources/types/Z3DeleteObjectParams.ts +10 -0
  630. package/src/resources/types/Z3GetPresignedUrlParams.ts +11 -0
  631. package/src/resources/types/Z3GetPresignedUrlResponse.ts +11 -0
  632. package/src/resources/types/Z3ListBucketsResponse.ts +16 -0
  633. package/src/resources/types/Z3ListObjectsParams.ts +6 -0
  634. package/src/resources/types/Z3ListObjectsResponse.ts +15 -0
  635. package/src/resources/types/ZambdaCreateParams.ts +15 -0
  636. package/src/resources/types/ZambdaCreateResponse.ts +7 -0
  637. package/src/resources/types/ZambdaDeleteParams.ts +5 -0
  638. package/src/resources/types/ZambdaExecuteParams.ts +6 -0
  639. package/src/resources/types/ZambdaExecutePublicParams.ts +6 -0
  640. package/src/resources/types/ZambdaExecutePublicResponse.ts +7 -0
  641. package/src/resources/types/ZambdaExecuteResponse.ts +7 -0
  642. package/src/resources/types/ZambdaExecuteResult.ts +12 -0
  643. package/src/resources/types/ZambdaFunction.ts +41 -0
  644. package/src/resources/types/ZambdaGetParams.ts +5 -0
  645. package/src/resources/types/ZambdaGetResponse.ts +7 -0
  646. package/src/resources/types/ZambdaListResponse.ts +7 -0
  647. package/src/resources/types/ZambdaLogStreamGetParams.ts +10 -0
  648. package/src/resources/types/ZambdaLogStreamGetResponse.ts +29 -0
  649. package/src/resources/types/ZambdaLogStreamListParams.ts +6 -0
  650. package/src/resources/types/ZambdaLogStreamListResponse.ts +48 -0
  651. package/src/resources/types/ZambdaLogStreamSearchParams.ts +21 -0
  652. package/src/resources/types/ZambdaLogStreamSearchResponse.ts +25 -0
  653. package/src/resources/types/ZambdaS3UploadParams.ts +9 -0
  654. package/src/resources/types/ZambdaS3UploadResponse.ts +11 -0
  655. package/src/resources/types/ZambdaSchedule.ts +32 -0
  656. package/src/resources/types/ZambdaUpdateParams.ts +20 -0
  657. package/src/resources/types/ZambdaUpdateResponse.ts +7 -0
  658. package/src/resources/types/fhir.ts +75 -0
  659. package/src/resources/types/index.ts +160 -0
  660. package/turbo.json +13 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fhir-ext.js","sources":["../../../../src/resources/classes/fhir-ext.ts"],"sourcesContent":["import { Operation } from 'fast-json-patch';\nimport { BatchInput, BatchInputRequest, Binary, Bundle, BundleEntry, FhirBundle, FhirResource } from '../..';\nimport { addParamsToSearch, FhirFetcherResponse, OystehrClientRequest, SDKResource } from '../../client/client';\n\n/**\n * Optional parameter that can be passed to the client methods. It allows\n * overriding the access token or project ID, and setting various headers,\n * such as 'Content-Type'. Also support enabling optimistic locking.\n */\nexport interface OystehrFHIRUpdateClientRequest extends OystehrClientRequest {\n /**\n * Enable optimistic locking for the request. If set to a version ID, the request will\n * include the 'If-Match' header with that value in the FHIR optimistic-locking format.\n * If the resource has been updated since the version provided, the request\n * will fail with a 412 Precondition Failed error.\n */\n optimisticLockingVersionId?: string;\n}\n\n/**\n * Performs a FHIR search and returns the results as a Bundle resource\n *\n * @param options FHIR resource type and FHIR search parameters\n * @param request optional OystehrClientRequest object\n * @returns FHIR Bundle resource\n */\nexport async function search<T extends FhirResource>(\n this: SDKResource,\n { resourceType, params }: { resourceType: string; params?: { name: string; value: string | number }[] },\n request?: OystehrClientRequest\n): Promise<FhirFetcherResponse<Bundle<T>>> {\n let paramMap: Record<string, (string | number)[]> | undefined;\n if (params) {\n paramMap = Object.entries(params).reduce((acc, [_, param]) => {\n if (!acc[param.name]) {\n acc[param.name] = [];\n }\n acc[param.name].push(param.value);\n return acc;\n }, {} as Record<string, (string | number)[]>);\n }\n const requestBundle = await this.fhirRequest<FhirBundle<T>>(`/${resourceType}/_search`, 'POST')(paramMap, {\n ...request,\n contentType: 'application/x-www-form-urlencoded',\n });\n const bundle: Bundle<T> = {\n ...requestBundle,\n unbundle: function (this: Bundle<T>) {\n return this.entry?.map((entry) => entry.resource).filter((entry): entry is T => entry !== undefined) ?? [];\n },\n };\n return bundle;\n}\n\nexport async function create<T extends FhirResource>(\n this: SDKResource,\n params: T,\n request?: OystehrClientRequest\n): Promise<FhirFetcherResponse<T>> {\n const { resourceType } = params;\n return this.fhirRequest(`/${resourceType}`, 'POST')(params as unknown as Record<string, unknown>, request);\n}\n\nexport async function get<T extends FhirResource>(\n this: SDKResource,\n { resourceType, id }: { resourceType: string; id: string },\n request?: OystehrClientRequest\n): Promise<FhirFetcherResponse<T>> {\n return this.fhirRequest<T>(`/${resourceType}/${id}`, 'GET')({}, request);\n}\n\nexport async function update<T extends FhirResource>(\n this: SDKResource,\n params: T,\n request?: OystehrFHIRUpdateClientRequest\n): Promise<FhirFetcherResponse<T>> {\n const { id, resourceType } = params;\n return this.fhirRequest(`/${resourceType}/${id}`, 'PUT')(params as unknown as Record<string, unknown>, {\n ...request,\n ifMatch: request?.optimisticLockingVersionId ? `W/\"${request.optimisticLockingVersionId}\"` : undefined,\n });\n}\n\nexport async function patch<T extends FhirResource>(\n this: SDKResource,\n { resourceType, id, operations }: { resourceType: string; id: string; operations: Operation[] },\n request?: OystehrFHIRUpdateClientRequest\n): Promise<FhirFetcherResponse<T>> {\n return this.fhirRequest(`/${resourceType}/${id}`, 'PATCH')(operations, {\n ...request,\n contentType: 'application/json-patch+json',\n ifMatch: request?.optimisticLockingVersionId ? `W/\"${request.optimisticLockingVersionId}\"` : undefined,\n });\n}\n\nasync function del<T extends FhirResource>(\n this: SDKResource,\n { resourceType, id }: { resourceType: string; id: string },\n request?: OystehrClientRequest\n): Promise<FhirFetcherResponse<T>> {\n return this.fhirRequest(`/${resourceType}/${id}`, 'DELETE')({}, request);\n}\nexport { del as delete };\n\nexport async function history<T extends FhirResource>(\n this: SDKResource,\n { resourceType, id }: { resourceType: string; id: string },\n request?: OystehrClientRequest\n): Promise<FhirFetcherResponse<Bundle<T>>>;\nexport async function history<T extends FhirResource>(\n this: SDKResource,\n { resourceType, id, versionId }: { resourceType: string; id: string; versionId: string },\n request?: OystehrClientRequest\n): Promise<FhirFetcherResponse<T>>;\nexport async function history<T extends FhirResource>(\n this: SDKResource,\n { resourceType, id, versionId }: { resourceType: string; id: string; versionId?: string },\n request?: OystehrClientRequest\n): Promise<FhirFetcherResponse<Bundle<T>> | FhirFetcherResponse<T>> {\n return this.fhirRequest(`/${resourceType}/${id}/_history${versionId ? `/${versionId}` : ''}`, 'GET')({}, request);\n}\n\nfunction batchInputRequestToBundleEntryItem<T extends FhirResource>(\n request: BatchInputRequest<T>\n): BundleEntry<T | Binary<T>> {\n const { method, url } = request;\n const baseRequest = {\n request: {\n method,\n url,\n },\n };\n\n // Escape query string parameters in entry.request.url\n if (url.split('?').length > 1) {\n const [resource, query] = url.split('?');\n const params = query\n .split('&')\n .map((param) => {\n const [name, value] = param.split('=');\n return { name, value };\n })\n .reduce((acc, { name, value }) => {\n acc[name] = value;\n return acc;\n }, {} as Record<string, string>);\n const search = new URLSearchParams();\n addParamsToSearch(params, search);\n baseRequest.request.url = `${resource}?${search.toString()}`;\n }\n\n // GET, DELETE, and HEAD require no further parameters\n if (['GET', 'DELETE', 'HEAD'].includes(method)) {\n return baseRequest as BundleEntry<T>;\n }\n\n // PUT updates require a full resource\n if (method === 'PUT') {\n const { resource } = request;\n return {\n ...baseRequest,\n resource: resource as T,\n } as BundleEntry<T>;\n }\n\n // PATCH can be Binary resource or JSON patch\n if (method === 'PATCH') {\n if ('resource' in request) {\n return {\n ...baseRequest,\n resource: request.resource,\n } as BundleEntry<Binary<T>>;\n }\n return {\n ...baseRequest,\n resource: {\n resourceType: 'Binary',\n contentType: 'application/json-patch+json',\n data: Buffer.from(JSON.stringify(request.operations), 'utf8').toString('base64'),\n },\n } as BundleEntry<Binary<T>>;\n }\n\n // POST creates require a full resource\n if (method === 'POST') {\n const { resource, fullUrl } = request;\n return {\n ...baseRequest,\n resource: resource as T,\n fullUrl,\n } as BundleEntry<T>;\n }\n throw new Error('Unrecognized method');\n}\n\nfunction bundleRequest(type: 'batch' | 'transaction') {\n return async function <BundleContentType extends FhirResource>(\n this: SDKResource,\n input: BatchInput<BundleContentType>,\n request?: OystehrClientRequest\n ): Promise<FhirFetcherResponse<Bundle<BundleContentType>>> {\n return this.fhirRequest('/', 'POST')(\n {\n resourceType: 'Bundle',\n type,\n entry: input.requests.map(batchInputRequestToBundleEntryItem),\n },\n request\n );\n };\n}\n\nexport const batch = bundleRequest('batch');\nexport const transaction = bundleRequest('transaction');\n"],"names":[],"mappings":"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"}
@@ -0,0 +1,21 @@
1
+ import { SDKResource } from '../../client/client';
2
+ import { OystehrConfig } from '../../config';
3
+ import * as ext from './fhir-ext';
4
+ export declare class Fhir extends SDKResource {
5
+ constructor(config: OystehrConfig);
6
+ /**
7
+ * Performs a FHIR search and returns the results as a Bundle resource
8
+ * @param options FHIR resource type and FHIR search parameters
9
+ * @param request optional OystehrClientRequest object
10
+ * @returns FHIR Bundle resource
11
+ */
12
+ search: typeof ext.search;
13
+ create: typeof ext.create;
14
+ get: typeof ext.get;
15
+ update: typeof ext.update;
16
+ patch: typeof ext.patch;
17
+ delete: typeof ext.delete;
18
+ history: typeof ext.history;
19
+ batch: <BundleContentType extends import("..").FhirResource>(this: SDKResource, input: import("..").BatchInput<BundleContentType>, request?: import("../../client/client").OystehrClientRequest | undefined) => Promise<import("..").Bundle<BundleContentType>>;
20
+ transaction: <BundleContentType extends import("..").FhirResource>(this: SDKResource, input: import("..").BatchInput<BundleContentType>, request?: import("../../client/client").OystehrClientRequest | undefined) => Promise<import("..").Bundle<BundleContentType>>;
21
+ }
@@ -0,0 +1,27 @@
1
+ import { SDKResource } from '../../client/client.js';
2
+ import { search, create, get, update, patch, delete as del, history, batch, transaction } from './fhir-ext.js';
3
+
4
+ // AUTOGENERATED -- DO NOT EDIT
5
+ class Fhir extends SDKResource {
6
+ constructor(config) {
7
+ super(config);
8
+ /**
9
+ * Performs a FHIR search and returns the results as a Bundle resource
10
+ * @param options FHIR resource type and FHIR search parameters
11
+ * @param request optional OystehrClientRequest object
12
+ * @returns FHIR Bundle resource
13
+ */
14
+ this.search = search;
15
+ this.create = create;
16
+ this.get = get;
17
+ this.update = update;
18
+ this.patch = patch;
19
+ this.delete = del;
20
+ this.history = history;
21
+ this.batch = batch;
22
+ this.transaction = transaction;
23
+ }
24
+ }
25
+
26
+ export { Fhir };
27
+ //# sourceMappingURL=fhir.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fhir.js","sources":["../../../../src/resources/classes/fhir.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\nimport * as ext from './fhir-ext';\n\nexport class Fhir extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Performs a FHIR search and returns the results as a Bundle resource\n * @param options FHIR resource type and FHIR search parameters\n * @param request optional OystehrClientRequest object\n * @returns FHIR Bundle resource\n */\n search = ext.search;\n create = ext.create;\n get = ext.get;\n update = ext.update;\n patch = ext.patch;\n delete = ext.delete;\n history = ext.history;\n batch = ext.batch;\n transaction = ext.transaction;\n}\n"],"names":["ext.search","ext.create","ext.get","ext.update","ext.patch","ext.delete","ext.history","ext.batch","ext.transaction"],"mappings":";;;AAAA;AAMM,MAAO,IAAK,SAAQ,WAAW,CAAA;AACnC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;;;AAKG;AACH,QAAA,IAAA,CAAA,MAAM,GAAGA,MAAU,CAAC;AACpB,QAAA,IAAA,CAAA,MAAM,GAAGC,MAAU,CAAC;AACpB,QAAA,IAAA,CAAA,GAAG,GAAGC,GAAO,CAAC;AACd,QAAA,IAAA,CAAA,MAAM,GAAGC,MAAU,CAAC;AACpB,QAAA,IAAA,CAAA,KAAK,GAAGC,KAAS,CAAC;AAClB,QAAA,IAAA,CAAA,MAAM,GAAGC,GAAU,CAAC;AACpB,QAAA,IAAA,CAAA,OAAO,GAAGC,OAAW,CAAC;AACtB,QAAA,IAAA,CAAA,KAAK,GAAGC,KAAS,CAAC;AAClB,QAAA,IAAA,CAAA,WAAW,GAAGC,WAAe,CAAC;KAf7B;AAgBF;;;;"}
@@ -0,0 +1,44 @@
1
+ import { OystehrConfig } from '../../config';
2
+ import { Application } from './application';
3
+ import { Charge } from './charge';
4
+ import { Conversation } from './conversation';
5
+ import { Developer } from './developer';
6
+ import { Erx } from './erx';
7
+ import { Fhir } from './fhir';
8
+ import { M2m } from './m2m';
9
+ import { Messaging } from './messaging';
10
+ import { PaymentMethod } from './paymentMethod';
11
+ import { Project } from './project';
12
+ import { Rcm } from './rcm';
13
+ import { Role } from './role';
14
+ import { Secret } from './secret';
15
+ import { Telemed } from './telemed';
16
+ import { TransactionalSMS } from './transactionalSMS';
17
+ import { User } from './user';
18
+ import { Version } from './version';
19
+ import { Z3 } from './z3';
20
+ import { Zambda } from './zambda';
21
+ import { ZambdaLogStream } from './zambdaLogStream';
22
+ export declare class Oystehr {
23
+ readonly application: Application;
24
+ readonly developer: Developer;
25
+ readonly m2m: M2m;
26
+ readonly messaging: Messaging;
27
+ readonly conversation: Conversation;
28
+ readonly transactionalSMS: TransactionalSMS;
29
+ readonly paymentMethod: PaymentMethod;
30
+ readonly charge: Charge;
31
+ readonly project: Project;
32
+ readonly rcm: Rcm;
33
+ readonly erx: Erx;
34
+ readonly role: Role;
35
+ readonly secret: Secret;
36
+ readonly telemed: Telemed;
37
+ readonly user: User;
38
+ readonly version: Version;
39
+ readonly z3: Z3;
40
+ readonly zambda: Zambda;
41
+ readonly zambdaLogStream: ZambdaLogStream;
42
+ readonly fhir: Fhir;
43
+ constructor(config: OystehrConfig);
44
+ }
@@ -0,0 +1,49 @@
1
+ import { Application } from './application.js';
2
+ import { Charge } from './charge.js';
3
+ import { Conversation } from './conversation.js';
4
+ import { Developer } from './developer.js';
5
+ import { Erx } from './erx.js';
6
+ import { Fhir } from './fhir.js';
7
+ import { M2m } from './m2m.js';
8
+ import { Messaging } from './messaging.js';
9
+ import { PaymentMethod } from './paymentMethod.js';
10
+ import { Project } from './project.js';
11
+ import { Rcm } from './rcm.js';
12
+ import { Role } from './role.js';
13
+ import { Secret } from './secret.js';
14
+ import { Telemed } from './telemed.js';
15
+ import { TransactionalSMS } from './transactionalSMS.js';
16
+ import { User } from './user.js';
17
+ import { Version } from './version.js';
18
+ import { Z3 } from './z3.js';
19
+ import { Zambda } from './zambda.js';
20
+ import { ZambdaLogStream } from './zambdaLogStream.js';
21
+
22
+ // AUTOGENERATED -- DO NOT EDIT
23
+ let Oystehr$1 = class Oystehr {
24
+ constructor(config) {
25
+ this.application = new Application(config);
26
+ this.developer = new Developer(config);
27
+ this.m2m = new M2m(config);
28
+ this.messaging = new Messaging(config);
29
+ this.conversation = new Conversation(config);
30
+ this.transactionalSMS = new TransactionalSMS(config);
31
+ this.paymentMethod = new PaymentMethod(config);
32
+ this.charge = new Charge(config);
33
+ this.project = new Project(config);
34
+ this.rcm = new Rcm(config);
35
+ this.erx = new Erx(config);
36
+ this.role = new Role(config);
37
+ this.secret = new Secret(config);
38
+ this.telemed = new Telemed(config);
39
+ this.user = new User(config);
40
+ this.version = new Version(config);
41
+ this.z3 = new Z3(config);
42
+ this.zambda = new Zambda(config);
43
+ this.zambdaLogStream = new ZambdaLogStream(config);
44
+ this.fhir = new Fhir(config);
45
+ }
46
+ };
47
+
48
+ export { Oystehr$1 as Oystehr };
49
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/resources/classes/index.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport { OystehrConfig } from '../../config';\nimport { Application } from './application';\nimport { Charge } from './charge';\nimport { Conversation } from './conversation';\nimport { Developer } from './developer';\nimport { Erx } from './erx';\nimport { Fhir } from './fhir';\nimport { M2m } from './m2m';\nimport { Messaging } from './messaging';\nimport { PaymentMethod } from './paymentMethod';\nimport { Project } from './project';\nimport { Rcm } from './rcm';\nimport { Role } from './role';\nimport { Secret } from './secret';\nimport { Telemed } from './telemed';\nimport { TransactionalSMS } from './transactionalSMS';\nimport { User } from './user';\nimport { Version } from './version';\nimport { Z3 } from './z3';\nimport { Zambda } from './zambda';\nimport { ZambdaLogStream } from './zambdaLogStream';\n\nexport class Oystehr {\n readonly application: Application;\n readonly developer: Developer;\n readonly m2m: M2m;\n readonly messaging: Messaging;\n readonly conversation: Conversation;\n readonly transactionalSMS: TransactionalSMS;\n readonly paymentMethod: PaymentMethod;\n readonly charge: Charge;\n readonly project: Project;\n readonly rcm: Rcm;\n readonly erx: Erx;\n readonly role: Role;\n readonly secret: Secret;\n readonly telemed: Telemed;\n readonly user: User;\n readonly version: Version;\n readonly z3: Z3;\n readonly zambda: Zambda;\n readonly zambdaLogStream: ZambdaLogStream;\n readonly fhir: Fhir;\n constructor(config: OystehrConfig) {\n this.application = new Application(config);\n this.developer = new Developer(config);\n this.m2m = new M2m(config);\n this.messaging = new Messaging(config);\n this.conversation = new Conversation(config);\n this.transactionalSMS = new TransactionalSMS(config);\n this.paymentMethod = new PaymentMethod(config);\n this.charge = new Charge(config);\n this.project = new Project(config);\n this.rcm = new Rcm(config);\n this.erx = new Erx(config);\n this.role = new Role(config);\n this.secret = new Secret(config);\n this.telemed = new Telemed(config);\n this.user = new User(config);\n this.version = new Version(config);\n this.z3 = new Z3(config);\n this.zambda = new Zambda(config);\n this.zambdaLogStream = new ZambdaLogStream(config);\n this.fhir = new Fhir(config);\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;sBAwBa,OAAO,CAAA;AAqBlB,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,IAAI,CAAC,WAAW,GAAG,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;QAC3C,IAAI,CAAC,SAAS,GAAG,IAAI,SAAS,CAAC,MAAM,CAAC,CAAC;QACvC,IAAI,CAAC,GAAG,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,IAAI,SAAS,CAAC,MAAM,CAAC,CAAC;QACvC,IAAI,CAAC,YAAY,GAAG,IAAI,YAAY,CAAC,MAAM,CAAC,CAAC;QAC7C,IAAI,CAAC,gBAAgB,GAAG,IAAI,gBAAgB,CAAC,MAAM,CAAC,CAAC;QACrD,IAAI,CAAC,aAAa,GAAG,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC;QACjC,IAAI,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;QACnC,IAAI,CAAC,GAAG,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC;QAC3B,IAAI,CAAC,GAAG,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC;QAC3B,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC;QAC7B,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC;QACjC,IAAI,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;QACnC,IAAI,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,MAAM,CAAC,CAAC;QACzB,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC;QACjC,IAAI,CAAC,eAAe,GAAG,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;QACnD,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC;KAC9B;AACF;;;;"}
@@ -0,0 +1,57 @@
1
+ import { M2mCreateParams, M2mCreateResponse, M2mDeleteParams, M2mGetParams, M2mGetResponse, M2mListResponse, M2mListV2Params, M2mListV2Response, M2mRotateSecretParams, M2mRotateSecretResponse, M2mUpdateParams, M2mUpdateResponse, OystehrClientRequest } from '../..';
2
+ import { SDKResource } from '../../client/client';
3
+ import { OystehrConfig } from '../../config';
4
+ export declare class M2m extends SDKResource {
5
+ constructor(config: OystehrConfig);
6
+ /**
7
+ * DEPRECATED. Please use [v2/list](https://api-reference.oystehr.com/reference/get_m2m-v2-list) instead.
8
+ *
9
+ * Get a list of all M2M Clients. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).
10
+ *
11
+ * Access Policy Action: `App:ListAllM2MClients`
12
+ * Access Policy Resource: `IAM:M2MClient`
13
+ */
14
+ list: (request?: OystehrClientRequest) => Promise<M2mListResponse>;
15
+ /**
16
+ * Create a new M2M Client. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).
17
+ *
18
+ * Access Policy Action: `App:CreateM2MClient`
19
+ * Access Policy Resource: `IAM:M2MClient`
20
+ */
21
+ create: (params: M2mCreateParams, request?: OystehrClientRequest) => Promise<M2mCreateResponse>;
22
+ /**
23
+ * Get the M2M Client with the provided ID. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).
24
+ *
25
+ * Access Policy Action: `App:GetM2MClient`
26
+ * Access Policy Resource: `IAM:M2MClient`
27
+ */
28
+ get: (params: M2mGetParams, request?: OystehrClientRequest) => Promise<M2mGetResponse>;
29
+ /**
30
+ * Update the M2M Client with the provided ID. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).
31
+ *
32
+ * Access Policy Action: `App:UpdateM2MClient`
33
+ * Access Policy Resource: `IAM:M2MClient`
34
+ */
35
+ update: (params: M2mUpdateParams, request?: OystehrClientRequest) => Promise<M2mUpdateResponse>;
36
+ /**
37
+ * Delete the M2M Client with the provided ID. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).
38
+ *
39
+ * Access Policy Action: `App:DeleteM2MClient`
40
+ * Access Policy Resource: `IAM:M2MClient`
41
+ */
42
+ delete: (params: M2mDeleteParams, request?: OystehrClientRequest) => Promise<void>;
43
+ /**
44
+ * Rotate the client secret for the M2M Client with the provided ID. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).
45
+ *
46
+ * Access Policy Action: `App:RotateM2MClientSecret`
47
+ * Access Policy Resource: `IAM:M2MClient`
48
+ */
49
+ rotateSecret: (params: M2mRotateSecretParams, request?: OystehrClientRequest) => Promise<M2mRotateSecretResponse>;
50
+ /**
51
+ * Get M2M clients in the Project with pagination, sort, sort Order and filtering. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).
52
+ *
53
+ * Access Policy Action: `App:ListAllM2MClients`
54
+ * Access Policy Resource: `IAM:M2MClient`
55
+ */
56
+ listV2: (params: M2mListV2Params, request?: OystehrClientRequest) => Promise<M2mListV2Response>;
57
+ }
@@ -0,0 +1,62 @@
1
+ import { SDKResource } from '../../client/client.js';
2
+
3
+ // AUTOGENERATED -- DO NOT EDIT
4
+ class M2m extends SDKResource {
5
+ constructor(config) {
6
+ super(config);
7
+ /**
8
+ * DEPRECATED. Please use [v2/list](https://api-reference.oystehr.com/reference/get_m2m-v2-list) instead.
9
+ *
10
+ * Get a list of all M2M Clients. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).
11
+ *
12
+ * Access Policy Action: `App:ListAllM2MClients`
13
+ * Access Policy Resource: `IAM:M2MClient`
14
+ */
15
+ this.list = (request) => this.request('/m2m', 'get')(request);
16
+ /**
17
+ * Create a new M2M Client. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).
18
+ *
19
+ * Access Policy Action: `App:CreateM2MClient`
20
+ * Access Policy Resource: `IAM:M2MClient`
21
+ */
22
+ this.create = (params, request) => this.request('/m2m', 'post')(params, request);
23
+ /**
24
+ * Get the M2M Client with the provided ID. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).
25
+ *
26
+ * Access Policy Action: `App:GetM2MClient`
27
+ * Access Policy Resource: `IAM:M2MClient`
28
+ */
29
+ this.get = (params, request) => this.request('/m2m/{id}', 'get')(params, request);
30
+ /**
31
+ * Update the M2M Client with the provided ID. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).
32
+ *
33
+ * Access Policy Action: `App:UpdateM2MClient`
34
+ * Access Policy Resource: `IAM:M2MClient`
35
+ */
36
+ this.update = (params, request) => this.request('/m2m/{id}', 'patch')(params, request);
37
+ /**
38
+ * Delete the M2M Client with the provided ID. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).
39
+ *
40
+ * Access Policy Action: `App:DeleteM2MClient`
41
+ * Access Policy Resource: `IAM:M2MClient`
42
+ */
43
+ this.delete = (params, request) => this.request('/m2m/{id}', 'delete')(params, request);
44
+ /**
45
+ * Rotate the client secret for the M2M Client with the provided ID. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).
46
+ *
47
+ * Access Policy Action: `App:RotateM2MClientSecret`
48
+ * Access Policy Resource: `IAM:M2MClient`
49
+ */
50
+ this.rotateSecret = (params, request) => this.request('/m2m/{id}/rotate-secret', 'post')(params, request);
51
+ /**
52
+ * Get M2M clients in the Project with pagination, sort, sort Order and filtering. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).
53
+ *
54
+ * Access Policy Action: `App:ListAllM2MClients`
55
+ * Access Policy Resource: `IAM:M2MClient`
56
+ */
57
+ this.listV2 = (params, request) => this.request('/m2m/v2/list', 'get')(params, request);
58
+ }
59
+ }
60
+
61
+ export { M2m };
62
+ //# sourceMappingURL=m2m.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"m2m.js","sources":["../../../../src/resources/classes/m2m.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n M2mCreateParams,\n M2mCreateResponse,\n M2mDeleteParams,\n M2mGetParams,\n M2mGetResponse,\n M2mListResponse,\n M2mListV2Params,\n M2mListV2Response,\n M2mRotateSecretParams,\n M2mRotateSecretResponse,\n M2mUpdateParams,\n M2mUpdateResponse,\n OystehrClientRequest,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class M2m extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * DEPRECATED. Please use [v2/list](https://api-reference.oystehr.com/reference/get_m2m-v2-list) instead.\n *\n * Get a list of all M2M Clients. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).\n *\n * Access Policy Action: `App:ListAllM2MClients`\n * Access Policy Resource: `IAM:M2MClient`\n */\n list = (request?: OystehrClientRequest): Promise<M2mListResponse> => this.request('/m2m', 'get')(request);\n /**\n * Create a new M2M Client. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).\n *\n * Access Policy Action: `App:CreateM2MClient`\n * Access Policy Resource: `IAM:M2MClient`\n */\n create = (params: M2mCreateParams, request?: OystehrClientRequest): Promise<M2mCreateResponse> =>\n this.request('/m2m', 'post')(params, request);\n /**\n * Get the M2M Client with the provided ID. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).\n *\n * Access Policy Action: `App:GetM2MClient`\n * Access Policy Resource: `IAM:M2MClient`\n */\n get = (params: M2mGetParams, request?: OystehrClientRequest): Promise<M2mGetResponse> =>\n this.request('/m2m/{id}', 'get')(params, request);\n /**\n * Update the M2M Client with the provided ID. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).\n *\n * Access Policy Action: `App:UpdateM2MClient`\n * Access Policy Resource: `IAM:M2MClient`\n */\n update = (params: M2mUpdateParams, request?: OystehrClientRequest): Promise<M2mUpdateResponse> =>\n this.request('/m2m/{id}', 'patch')(params, request);\n /**\n * Delete the M2M Client with the provided ID. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).\n *\n * Access Policy Action: `App:DeleteM2MClient`\n * Access Policy Resource: `IAM:M2MClient`\n */\n delete = (params: M2mDeleteParams, request?: OystehrClientRequest): Promise<void> =>\n this.request('/m2m/{id}', 'delete')(params, request);\n /**\n * Rotate the client secret for the M2M Client with the provided ID. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).\n *\n * Access Policy Action: `App:RotateM2MClientSecret`\n * Access Policy Resource: `IAM:M2MClient`\n */\n rotateSecret = (params: M2mRotateSecretParams, request?: OystehrClientRequest): Promise<M2mRotateSecretResponse> =>\n this.request('/m2m/{id}/rotate-secret', 'post')(params, request);\n /**\n * Get M2M clients in the Project with pagination, sort, sort Order and filtering. [M2M Clients](https://docs.oystehr.com/services/iam/m2m-clients) are used to access Oystehr APIs from scripts and server-side code like [Zambda Functions](https://docs.oystehr.com/services/zambda).\n *\n * Access Policy Action: `App:ListAllM2MClients`\n * Access Policy Resource: `IAM:M2MClient`\n */\n listV2 = (params: M2mListV2Params, request?: OystehrClientRequest): Promise<M2mListV2Response> =>\n this.request('/m2m/v2/list', 'get')(params, request);\n}\n"],"names":[],"mappings":";;AAAA;AAoBM,MAAO,GAAI,SAAQ,WAAW,CAAA;AAClC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;;;;;AAOG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,CAAC,OAA8B,KAA+B,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;AAC1G;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAAuB,EAAE,OAA8B,KAC/D,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAChD;;;;;AAKG;QACH,IAAG,CAAA,GAAA,GAAG,CAAC,MAAoB,EAAE,OAA8B,KACzD,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACpD;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAAuB,EAAE,OAA8B,KAC/D,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACtD;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAAuB,EAAE,OAA8B,KAC/D,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACvD;;;;;AAKG;QACH,IAAY,CAAA,YAAA,GAAG,CAAC,MAA6B,EAAE,OAA8B,KAC3E,IAAI,CAAC,OAAO,CAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACnE;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAAuB,EAAE,OAA8B,KAC/D,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAzDtD;AA0DF;;;;"}
@@ -0,0 +1,10 @@
1
+ import { MessagingGetMessagingConfigResponse, OystehrClientRequest } from '../..';
2
+ import { SDKResource } from '../../client/client';
3
+ import { OystehrConfig } from '../../config';
4
+ export declare class Messaging extends SDKResource {
5
+ constructor(config: OystehrConfig);
6
+ /**
7
+ * Get an information about the Messaging services configuration. This information includes phone number, phone number type and also rate limits of each service.
8
+ */
9
+ getMessagingConfig: (request?: OystehrClientRequest) => Promise<MessagingGetMessagingConfigResponse>;
10
+ }
@@ -0,0 +1,15 @@
1
+ import { SDKResource } from '../../client/client.js';
2
+
3
+ // AUTOGENERATED -- DO NOT EDIT
4
+ class Messaging extends SDKResource {
5
+ constructor(config) {
6
+ super(config);
7
+ /**
8
+ * Get an information about the Messaging services configuration. This information includes phone number, phone number type and also rate limits of each service.
9
+ */
10
+ this.getMessagingConfig = (request) => this.request('/messaging/config', 'get')(request);
11
+ }
12
+ }
13
+
14
+ export { Messaging };
15
+ //# sourceMappingURL=messaging.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messaging.js","sources":["../../../../src/resources/classes/messaging.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport { MessagingGetMessagingConfigResponse, OystehrClientRequest } from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class Messaging extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Get an information about the Messaging services configuration. This information includes phone number, phone number type and also rate limits of each service.\n */\n getMessagingConfig = (request?: OystehrClientRequest): Promise<MessagingGetMessagingConfigResponse> =>\n this.request('/messaging/config', 'get')(request);\n}\n"],"names":[],"mappings":";;AAAA;AAMM,MAAO,SAAU,SAAQ,WAAW,CAAA;AACxC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;AAEG;AACH,QAAA,IAAA,CAAA,kBAAkB,GAAG,CAAC,OAA8B,KAClD,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;KALnD;AAMF;;;;"}
@@ -0,0 +1,70 @@
1
+ import { OystehrClientRequest, PaymentMethodDeleteParams, PaymentMethodListParams, PaymentMethodListResponse, PaymentMethodSetDefaultParams, PaymentMethodSetUpParams, PaymentMethodSetUpResponse } from '../..';
2
+ import { SDKResource } from '../../client/client';
3
+ import { OystehrConfig } from '../../config';
4
+ export declare class PaymentMethod extends SDKResource {
5
+ constructor(config: OystehrConfig);
6
+ /**
7
+ * Enter a new credit card or other payment method for the user.
8
+ *
9
+ * Access Policy Requirements:
10
+ * Action: `Payment:Setup`
11
+ * Access Policy Resource: `Payment:PaymentMethod`
12
+ * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`
13
+ * Access Policy Resource: `FHIR:Coverage:*`
14
+ * Action: `FHIR:Read,FHIR:Create,FHIR:Update`
15
+ * Access Policy Resource: `FHIR:Account:*`
16
+ *
17
+ * Also need to be able to read the patients' details. For example:
18
+ * Action: `FHIR:Read`
19
+ * Access Policy Resource: `FHIR:Patient`
20
+ */
21
+ setUp: (params: PaymentMethodSetUpParams, request?: OystehrClientRequest) => Promise<PaymentMethodSetUpResponse>;
22
+ /**
23
+ * Set a specified payment method for the user as default.
24
+ *
25
+ * Access Policy Requirements:
26
+ * Action: `Payment:SetDefault`
27
+ * Access Policy Resource: `Payment:PaymentMethod`
28
+ * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`
29
+ * Access Policy Resource: `FHIR:Coverage:*`
30
+ * Action: `FHIR:Read,FHIR:Create,FHIR:Update`
31
+ * Access Policy Resource: `FHIR:Account:*`
32
+ *
33
+ * Also need to be able to read the patients' details. For example:
34
+ * Action: `FHIR:Read`
35
+ * Access Policy Resource: `FHIR:Patient`
36
+ */
37
+ setDefault: (params: PaymentMethodSetDefaultParams, request?: OystehrClientRequest) => Promise<void>;
38
+ /**
39
+ * Delete a specified payment method for the beneficiary.
40
+ *
41
+ * Access Policy Requirements:
42
+ * Action: `Payment:Delete`
43
+ * Access Policy Resource: `Payment:PaymentMethod`
44
+ * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`
45
+ * Access Policy Resource: `FHIR:Coverage:*`
46
+ * Action: `FHIR:Read,FHIR:Create,FHIR:Update`
47
+ * Access Policy Resource: `FHIR:Account:*`
48
+ *
49
+ * Also need to be able to read the patients' details. For example:
50
+ * Action: `FHIR:Read`
51
+ * Access Policy Resource: `FHIR:Patient`
52
+ */
53
+ delete: (params: PaymentMethodDeleteParams, request?: OystehrClientRequest) => Promise<void>;
54
+ /**
55
+ * List all payment methods for the patient.
56
+ *
57
+ * Access Policy Requirements:
58
+ * Action: `Payment:Setup`
59
+ * Access Policy Resource: `Payment:PaymentMethod`
60
+ * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`
61
+ * Access Policy Resource: `FHIR:Coverage:*`
62
+ * Action: `FHIR:Read,FHIR:Create,FHIR:Update`
63
+ * Access Policy Resource: `FHIR:Account:*`
64
+ *
65
+ * Also need to be able to read the patients' details. For example:
66
+ * Action: `FHIR:Read`
67
+ * Access Policy Resource: `FHIR:Patient`
68
+ */
69
+ list: (params: PaymentMethodListParams, request?: OystehrClientRequest) => Promise<PaymentMethodListResponse>;
70
+ }
@@ -0,0 +1,75 @@
1
+ import { SDKResource } from '../../client/client.js';
2
+
3
+ // AUTOGENERATED -- DO NOT EDIT
4
+ class PaymentMethod extends SDKResource {
5
+ constructor(config) {
6
+ super(config);
7
+ /**
8
+ * Enter a new credit card or other payment method for the user.
9
+ *
10
+ * Access Policy Requirements:
11
+ * Action: `Payment:Setup`
12
+ * Access Policy Resource: `Payment:PaymentMethod`
13
+ * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`
14
+ * Access Policy Resource: `FHIR:Coverage:*`
15
+ * Action: `FHIR:Read,FHIR:Create,FHIR:Update`
16
+ * Access Policy Resource: `FHIR:Account:*`
17
+ *
18
+ * Also need to be able to read the patients' details. For example:
19
+ * Action: `FHIR:Read`
20
+ * Access Policy Resource: `FHIR:Patient`
21
+ */
22
+ this.setUp = (params, request) => this.request('/payment/payment-method/setup', 'post')(params, request);
23
+ /**
24
+ * Set a specified payment method for the user as default.
25
+ *
26
+ * Access Policy Requirements:
27
+ * Action: `Payment:SetDefault`
28
+ * Access Policy Resource: `Payment:PaymentMethod`
29
+ * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`
30
+ * Access Policy Resource: `FHIR:Coverage:*`
31
+ * Action: `FHIR:Read,FHIR:Create,FHIR:Update`
32
+ * Access Policy Resource: `FHIR:Account:*`
33
+ *
34
+ * Also need to be able to read the patients' details. For example:
35
+ * Action: `FHIR:Read`
36
+ * Access Policy Resource: `FHIR:Patient`
37
+ */
38
+ this.setDefault = (params, request) => this.request('/payment/payment-method/set-default', 'post')(params, request);
39
+ /**
40
+ * Delete a specified payment method for the beneficiary.
41
+ *
42
+ * Access Policy Requirements:
43
+ * Action: `Payment:Delete`
44
+ * Access Policy Resource: `Payment:PaymentMethod`
45
+ * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`
46
+ * Access Policy Resource: `FHIR:Coverage:*`
47
+ * Action: `FHIR:Read,FHIR:Create,FHIR:Update`
48
+ * Access Policy Resource: `FHIR:Account:*`
49
+ *
50
+ * Also need to be able to read the patients' details. For example:
51
+ * Action: `FHIR:Read`
52
+ * Access Policy Resource: `FHIR:Patient`
53
+ */
54
+ this.delete = (params, request) => this.request('/payment/payment-method', 'delete')(params, request);
55
+ /**
56
+ * List all payment methods for the patient.
57
+ *
58
+ * Access Policy Requirements:
59
+ * Action: `Payment:Setup`
60
+ * Access Policy Resource: `Payment:PaymentMethod`
61
+ * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`
62
+ * Access Policy Resource: `FHIR:Coverage:*`
63
+ * Action: `FHIR:Read,FHIR:Create,FHIR:Update`
64
+ * Access Policy Resource: `FHIR:Account:*`
65
+ *
66
+ * Also need to be able to read the patients' details. For example:
67
+ * Action: `FHIR:Read`
68
+ * Access Policy Resource: `FHIR:Patient`
69
+ */
70
+ this.list = (params, request) => this.request('/payment/payment-method/list', 'post')(params, request);
71
+ }
72
+ }
73
+
74
+ export { PaymentMethod };
75
+ //# sourceMappingURL=paymentMethod.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paymentMethod.js","sources":["../../../../src/resources/classes/paymentMethod.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport {\n OystehrClientRequest,\n PaymentMethodDeleteParams,\n PaymentMethodListParams,\n PaymentMethodListResponse,\n PaymentMethodSetDefaultParams,\n PaymentMethodSetUpParams,\n PaymentMethodSetUpResponse,\n} from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class PaymentMethod extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Enter a new credit card or other payment method for the user.\n *\n * Access Policy Requirements:\n * Action: `Payment:Setup`\n * Access Policy Resource: `Payment:PaymentMethod`\n * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`\n * Access Policy Resource: `FHIR:Coverage:*`\n * Action: `FHIR:Read,FHIR:Create,FHIR:Update`\n * Access Policy Resource: `FHIR:Account:*`\n *\n * Also need to be able to read the patients' details. For example:\n * Action: `FHIR:Read`\n * Access Policy Resource: `FHIR:Patient`\n */\n setUp = (params: PaymentMethodSetUpParams, request?: OystehrClientRequest): Promise<PaymentMethodSetUpResponse> =>\n this.request('/payment/payment-method/setup', 'post')(params, request);\n /**\n * Set a specified payment method for the user as default.\n *\n * Access Policy Requirements:\n * Action: `Payment:SetDefault`\n * Access Policy Resource: `Payment:PaymentMethod`\n * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`\n * Access Policy Resource: `FHIR:Coverage:*`\n * Action: `FHIR:Read,FHIR:Create,FHIR:Update`\n * Access Policy Resource: `FHIR:Account:*`\n *\n * Also need to be able to read the patients' details. For example:\n * Action: `FHIR:Read`\n * Access Policy Resource: `FHIR:Patient`\n */\n setDefault = (params: PaymentMethodSetDefaultParams, request?: OystehrClientRequest): Promise<void> =>\n this.request('/payment/payment-method/set-default', 'post')(params, request);\n /**\n * Delete a specified payment method for the beneficiary.\n *\n * Access Policy Requirements:\n * Action: `Payment:Delete`\n * Access Policy Resource: `Payment:PaymentMethod`\n * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`\n * Access Policy Resource: `FHIR:Coverage:*`\n * Action: `FHIR:Read,FHIR:Create,FHIR:Update`\n * Access Policy Resource: `FHIR:Account:*`\n *\n * Also need to be able to read the patients' details. For example:\n * Action: `FHIR:Read`\n * Access Policy Resource: `FHIR:Patient`\n */\n delete = (params: PaymentMethodDeleteParams, request?: OystehrClientRequest): Promise<void> =>\n this.request('/payment/payment-method', 'delete')(params, request);\n /**\n * List all payment methods for the patient.\n *\n * Access Policy Requirements:\n * Action: `Payment:Setup`\n * Access Policy Resource: `Payment:PaymentMethod`\n * Actions: `FHIR:Read,FHIR:Create,FHIR:Update`\n * Access Policy Resource: `FHIR:Coverage:*`\n * Action: `FHIR:Read,FHIR:Create,FHIR:Update`\n * Access Policy Resource: `FHIR:Account:*`\n *\n * Also need to be able to read the patients' details. For example:\n * Action: `FHIR:Read`\n * Access Policy Resource: `FHIR:Patient`\n */\n list = (params: PaymentMethodListParams, request?: OystehrClientRequest): Promise<PaymentMethodListResponse> =>\n this.request('/payment/payment-method/list', 'post')(params, request);\n}\n"],"names":[],"mappings":";;AAAA;AAcM,MAAO,aAAc,SAAQ,WAAW,CAAA;AAC5C,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;;;;;;;;;;;;AAcG;QACH,IAAK,CAAA,KAAA,GAAG,CAAC,MAAgC,EAAE,OAA8B,KACvE,IAAI,CAAC,OAAO,CAAC,+BAA+B,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACzE;;;;;;;;;;;;;;AAcG;QACH,IAAU,CAAA,UAAA,GAAG,CAAC,MAAqC,EAAE,OAA8B,KACjF,IAAI,CAAC,OAAO,CAAC,qCAAqC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC/E;;;;;;;;;;;;;;AAcG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAAiC,EAAE,OAA8B,KACzE,IAAI,CAAC,OAAO,CAAC,yBAAyB,EAAE,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACrE;;;;;;;;;;;;;;AAcG;QACH,IAAI,CAAA,IAAA,GAAG,CAAC,MAA+B,EAAE,OAA8B,KACrE,IAAI,CAAC,OAAO,CAAC,8BAA8B,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KApEvE;AAqEF;;;;"}
@@ -0,0 +1,20 @@
1
+ import { OystehrClientRequest, ProjectGetResponse, ProjectUpdateParams, ProjectUpdateResponse } from '../..';
2
+ import { SDKResource } from '../../client/client';
3
+ import { OystehrConfig } from '../../config';
4
+ export declare class Project extends SDKResource {
5
+ constructor(config: OystehrConfig);
6
+ /**
7
+ * Get the Project settings for a Project. Developers must specify a [project ID](https://docs.oystehr.com/core-documentation/authenticating-api-requests/#x-zapehr-project-id-header) in the header. A Project is the logically-isolated instance of Oystehr that segments your data from other Projects. [Projects](https://docs.oystehr.com/services/project/) are completely independent from each other, having their own separate [FHIR store](https://docs.oystehr.com/services/fhir/basics/), [Applications](https://docs.oystehr.com/services/app/applications/), [Users](https://docs.oystehr.com/services/app/users/), etc .
8
+ *
9
+ * Access Policy Action: `Project:GetProjectInfo`
10
+ * Access Policy Resource: `Project:Settings`
11
+ */
12
+ get: (request?: OystehrClientRequest) => Promise<ProjectGetResponse>;
13
+ /**
14
+ * Update the Project settings for the Project that corresponds to the project-id in the request header. A [Project](https://docs.oystehr.com/services/project/) is the logically-isolated instance of Oystehr that segments your data from other Projects. Projects are completely independent from each other, having their own separate [FHIR store](https://docs.oystehr.com/services/fhir/basics/), [Applications](https://docs.oystehr.com/services/app/applications/), [Users](https://docs.oystehr.com/services/app/users/), etc .
15
+ *
16
+ * Access Policy Action: `Project:UpdateProjectInfo`
17
+ * Access Policy Resource: `Project:Settings`
18
+ */
19
+ update: (params: ProjectUpdateParams, request?: OystehrClientRequest) => Promise<ProjectUpdateResponse>;
20
+ }
@@ -0,0 +1,25 @@
1
+ import { SDKResource } from '../../client/client.js';
2
+
3
+ // AUTOGENERATED -- DO NOT EDIT
4
+ class Project extends SDKResource {
5
+ constructor(config) {
6
+ super(config);
7
+ /**
8
+ * Get the Project settings for a Project. Developers must specify a [project ID](https://docs.oystehr.com/core-documentation/authenticating-api-requests/#x-zapehr-project-id-header) in the header. A Project is the logically-isolated instance of Oystehr that segments your data from other Projects. [Projects](https://docs.oystehr.com/services/project/) are completely independent from each other, having their own separate [FHIR store](https://docs.oystehr.com/services/fhir/basics/), [Applications](https://docs.oystehr.com/services/app/applications/), [Users](https://docs.oystehr.com/services/app/users/), etc .
9
+ *
10
+ * Access Policy Action: `Project:GetProjectInfo`
11
+ * Access Policy Resource: `Project:Settings`
12
+ */
13
+ this.get = (request) => this.request('/project', 'get')(request);
14
+ /**
15
+ * Update the Project settings for the Project that corresponds to the project-id in the request header. A [Project](https://docs.oystehr.com/services/project/) is the logically-isolated instance of Oystehr that segments your data from other Projects. Projects are completely independent from each other, having their own separate [FHIR store](https://docs.oystehr.com/services/fhir/basics/), [Applications](https://docs.oystehr.com/services/app/applications/), [Users](https://docs.oystehr.com/services/app/users/), etc .
16
+ *
17
+ * Access Policy Action: `Project:UpdateProjectInfo`
18
+ * Access Policy Resource: `Project:Settings`
19
+ */
20
+ this.update = (params, request) => this.request('/project', 'patch')(params, request);
21
+ }
22
+ }
23
+
24
+ export { Project };
25
+ //# sourceMappingURL=project.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project.js","sources":["../../../../src/resources/classes/project.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport { OystehrClientRequest, ProjectGetResponse, ProjectUpdateParams, ProjectUpdateResponse } from '../..';\nimport { SDKResource } from '../../client/client';\nimport { OystehrConfig } from '../../config';\n\nexport class Project extends SDKResource {\n constructor(config: OystehrConfig) {\n super(config);\n }\n /**\n * Get the Project settings for a Project. Developers must specify a [project ID](https://docs.oystehr.com/core-documentation/authenticating-api-requests/#x-zapehr-project-id-header) in the header. A Project is the logically-isolated instance of Oystehr that segments your data from other Projects. [Projects](https://docs.oystehr.com/services/project/) are completely independent from each other, having their own separate [FHIR store](https://docs.oystehr.com/services/fhir/basics/), [Applications](https://docs.oystehr.com/services/app/applications/), [Users](https://docs.oystehr.com/services/app/users/), etc .\n *\n * Access Policy Action: `Project:GetProjectInfo`\n * Access Policy Resource: `Project:Settings`\n */\n get = (request?: OystehrClientRequest): Promise<ProjectGetResponse> => this.request('/project', 'get')(request);\n /**\n * Update the Project settings for the Project that corresponds to the project-id in the request header. A [Project](https://docs.oystehr.com/services/project/) is the logically-isolated instance of Oystehr that segments your data from other Projects. Projects are completely independent from each other, having their own separate [FHIR store](https://docs.oystehr.com/services/fhir/basics/), [Applications](https://docs.oystehr.com/services/app/applications/), [Users](https://docs.oystehr.com/services/app/users/), etc .\n *\n * Access Policy Action: `Project:UpdateProjectInfo`\n * Access Policy Resource: `Project:Settings`\n */\n update = (params: ProjectUpdateParams, request?: OystehrClientRequest): Promise<ProjectUpdateResponse> =>\n this.request('/project', 'patch')(params, request);\n}\n"],"names":[],"mappings":";;AAAA;AAMM,MAAO,OAAQ,SAAQ,WAAW,CAAA;AACtC,IAAA,WAAA,CAAY,MAAqB,EAAA;QAC/B,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhB;;;;;AAKG;AACH,QAAA,IAAA,CAAA,GAAG,GAAG,CAAC,OAA8B,KAAkC,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;AAChH;;;;;AAKG;QACH,IAAM,CAAA,MAAA,GAAG,CAAC,MAA2B,EAAE,OAA8B,KACnE,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAfpD;AAgBF;;;;"}
@@ -0,0 +1,39 @@
1
+ import { OystehrClientRequest, RcmEligibilityCheckParams, RcmEligibilityCheckResponse, RcmSubmitProfessionalClaimParams, RcmSubmitProfessionalClaimResponse, RcmValidateProfessionalClaimParams, RcmValidateProfessionalClaimResponse } from '../..';
2
+ import { SDKResource } from '../../client/client';
3
+ import { OystehrConfig } from '../../config';
4
+ export declare class Rcm extends SDKResource {
5
+ constructor(config: OystehrConfig);
6
+ /**
7
+ * Check [Insurance Eligibility](https://docs.oystehr.com/services/rcm/eligibility/).
8
+ *
9
+ * Access Policy Action: `RCM:CheckInsuranceEligibility`
10
+ * Access Policy Resource: `RCM:InsuranceEligibility`
11
+ *
12
+ * nAccess Policy Action: `FHIR:Create`
13
+ * Access Policy Resource: `FHIR:CoverageEligibilityResponse`
14
+ */
15
+ eligibilityCheck: (params: RcmEligibilityCheckParams, request?: OystehrClientRequest) => Promise<RcmEligibilityCheckResponse>;
16
+ /**
17
+ * Check [Validate Professional Claim](https://docs.oystehr.com/services/rcm/professional-claim-submission/).
18
+ *
19
+ * Access Policy Action: `RCM:ValidateProfessionalClaim`
20
+ * Access Policy Resource: `RCM:Claim`
21
+ *
22
+ * Access Policy Action: `FHIR:Create`
23
+ * Access Policy Resource: `FHIR:AuditEvent`
24
+ */
25
+ validateProfessionalClaim: (params: RcmValidateProfessionalClaimParams, request?: OystehrClientRequest) => Promise<RcmValidateProfessionalClaimResponse>;
26
+ /**
27
+ * Check [Submit Professional Claim](https://docs.oystehr.com/services/rcm/professional-claim-submission/).
28
+ *
29
+ * Access Policy Action: `RCM:SubmitProfessionalClaim`
30
+ * Access Policy Resource: `RCM:Claim`
31
+ *
32
+ * Access Policy Action: `FHIR:Create`
33
+ * Access Policy Resource: `FHIR:AuditEvent`
34
+ *
35
+ * Access Policy Actions: `FHIR:Create, FHIR:Update`
36
+ * Access Policy Resource: `FHIR:Claim`
37
+ */
38
+ submitProfessionalClaim: (params: RcmSubmitProfessionalClaimParams, request?: OystehrClientRequest) => Promise<RcmSubmitProfessionalClaimResponse>;
39
+ }