candidhealth 0.2.0 → 0.3.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 (265) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +11 -6
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/client/Client.js +1 -1
  5. package/api/resources/commons/types/index.d.ts +0 -1
  6. package/api/resources/commons/types/index.js +0 -1
  7. package/api/resources/encounters/resources/v4/client/Client.js +8 -8
  8. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
  9. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -1
  10. package/api/resources/encounters/resources/v4/types/IntakeFollowUp.d.ts +1 -1
  11. package/api/resources/expectedNetworkStatus/client/Client.js +1 -1
  12. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  13. package/api/resources/index.d.ts +2 -3
  14. package/api/resources/index.js +3 -4
  15. package/api/resources/payers/client/Client.d.ts +1 -1
  16. package/api/resources/payers/client/Client.js +4 -4
  17. package/api/resources/payers/types/Payer.d.ts +2 -1
  18. package/api/resources/payers/types/PayerUuid.d.ts +8 -0
  19. package/api/resources/payers/types/PayerUuid.js +10 -0
  20. package/api/resources/payers/types/index.d.ts +1 -0
  21. package/api/resources/payers/types/index.js +1 -0
  22. package/api/resources/tasks/client/Client.d.ts +18 -0
  23. package/api/resources/tasks/client/Client.js +18 -0
  24. package/api/resources/tasks/client/index.d.ts +1 -0
  25. package/api/resources/tasks/client/index.js +2 -0
  26. package/api/resources/tasks/index.d.ts +2 -0
  27. package/api/resources/tasks/index.js +2 -0
  28. package/api/resources/tasks/resources/index.d.ts +1 -0
  29. package/api/resources/tasks/resources/index.js +27 -0
  30. package/api/resources/tasks/resources/v3/client/Client.d.ts +18 -0
  31. package/api/resources/tasks/resources/v3/client/Client.js +80 -0
  32. package/api/resources/tasks/resources/v3/client/getActions.d.ts +22 -0
  33. package/api/resources/tasks/resources/v3/client/getActions.js +47 -0
  34. package/api/resources/tasks/resources/v3/client/index.d.ts +1 -0
  35. package/api/resources/tasks/resources/v3/client/index.js +27 -0
  36. package/api/resources/tasks/resources/v3/index.d.ts +2 -0
  37. package/api/resources/tasks/resources/v3/index.js +18 -0
  38. package/api/resources/tasks/resources/v3/types/TaskAction.d.ts +8 -0
  39. package/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +10 -0
  40. package/api/resources/tasks/resources/v3/types/TaskActions.d.ts +7 -0
  41. package/api/resources/tasks/resources/v3/types/TaskActions.js +5 -0
  42. package/api/resources/tasks/resources/v3/types/index.d.ts +3 -0
  43. package/api/resources/tasks/resources/v3/types/index.js +19 -0
  44. package/api/resources/users/index.d.ts +1 -1
  45. package/api/resources/users/index.js +1 -1
  46. package/api/resources/users/resources/index.d.ts +1 -0
  47. package/api/resources/users/resources/index.js +27 -0
  48. package/api/resources/users/resources/v2/index.d.ts +1 -0
  49. package/api/resources/users/{types → resources/v2}/index.js +1 -1
  50. package/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +6 -0
  51. package/api/resources/users/resources/v2/types/AuthZeroMetadata.js +5 -0
  52. package/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +6 -0
  53. package/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +5 -0
  54. package/{dist/api/resources/users/types/User.d.ts → api/resources/users/resources/v2/types/HumanUserMetadata.d.ts} +1 -3
  55. package/api/resources/users/resources/v2/types/HumanUserMetadata.js +5 -0
  56. package/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +16 -0
  57. package/api/resources/users/resources/v2/types/IdpUserMetadata.js +5 -0
  58. package/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +6 -0
  59. package/api/resources/users/resources/v2/types/MachineUserMetadata.js +5 -0
  60. package/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +6 -0
  61. package/api/resources/users/resources/v2/types/OtherIdpMetadata.js +5 -0
  62. package/api/resources/users/resources/v2/types/UserId.d.ts +8 -0
  63. package/{dist/api/resources/commons/types/Auth0Id.js → api/resources/users/resources/v2/types/UserId.js} +3 -3
  64. package/api/resources/users/resources/v2/types/UserMetadata.d.ts +13 -0
  65. package/api/resources/users/resources/v2/types/UserMetadata.js +5 -0
  66. package/api/resources/users/resources/v2/types/UserV2.d.ts +11 -0
  67. package/api/resources/users/resources/v2/types/UserV2.js +5 -0
  68. package/api/resources/users/resources/v2/types/index.d.ts +9 -0
  69. package/api/resources/users/resources/v2/types/index.js +25 -0
  70. package/api/resources/workQueues/resources/v1/types/WorkQueue.d.ts +1 -1
  71. package/dist/Client.d.ts +3 -0
  72. package/dist/Client.js +11 -6
  73. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  74. package/dist/api/resources/billingNotes/client/Client.js +1 -1
  75. package/dist/api/resources/commons/types/index.d.ts +0 -1
  76. package/dist/api/resources/commons/types/index.js +0 -1
  77. package/dist/api/resources/encounters/resources/v4/client/Client.js +8 -8
  78. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
  79. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -1
  80. package/dist/api/resources/encounters/resources/v4/types/IntakeFollowUp.d.ts +1 -1
  81. package/dist/api/resources/expectedNetworkStatus/client/Client.js +1 -1
  82. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  83. package/dist/api/resources/index.d.ts +2 -3
  84. package/dist/api/resources/index.js +3 -4
  85. package/dist/api/resources/payers/client/Client.d.ts +1 -1
  86. package/dist/api/resources/payers/client/Client.js +4 -4
  87. package/dist/api/resources/payers/types/Payer.d.ts +2 -1
  88. package/dist/api/resources/payers/types/PayerUuid.d.ts +8 -0
  89. package/dist/api/resources/payers/types/PayerUuid.js +10 -0
  90. package/dist/api/resources/payers/types/index.d.ts +1 -0
  91. package/dist/api/resources/payers/types/index.js +1 -0
  92. package/dist/api/resources/tasks/client/Client.d.ts +18 -0
  93. package/dist/api/resources/tasks/client/Client.js +18 -0
  94. package/dist/api/resources/tasks/client/index.d.ts +1 -0
  95. package/dist/api/resources/tasks/client/index.js +2 -0
  96. package/dist/api/resources/tasks/index.d.ts +2 -0
  97. package/dist/api/resources/tasks/index.js +2 -0
  98. package/dist/api/resources/tasks/resources/index.d.ts +1 -0
  99. package/dist/api/resources/tasks/resources/index.js +27 -0
  100. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +18 -0
  101. package/dist/api/resources/tasks/resources/v3/client/Client.js +80 -0
  102. package/dist/api/resources/tasks/resources/v3/client/getActions.d.ts +22 -0
  103. package/dist/api/resources/tasks/resources/v3/client/getActions.js +47 -0
  104. package/dist/api/resources/tasks/resources/v3/client/index.d.ts +1 -0
  105. package/dist/api/resources/tasks/resources/v3/client/index.js +27 -0
  106. package/dist/api/resources/tasks/resources/v3/index.d.ts +2 -0
  107. package/dist/api/resources/tasks/resources/v3/index.js +18 -0
  108. package/dist/api/resources/tasks/resources/v3/types/TaskAction.d.ts +8 -0
  109. package/dist/api/resources/tasks/resources/v3/types/TaskAction.js +5 -0
  110. package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +10 -0
  111. package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +5 -0
  112. package/dist/api/resources/tasks/resources/v3/types/TaskActions.d.ts +7 -0
  113. package/dist/api/resources/tasks/resources/v3/types/TaskActions.js +5 -0
  114. package/dist/api/resources/tasks/resources/v3/types/index.d.ts +3 -0
  115. package/dist/api/resources/tasks/resources/v3/types/index.js +19 -0
  116. package/dist/api/resources/users/index.d.ts +1 -1
  117. package/dist/api/resources/users/index.js +1 -1
  118. package/dist/api/resources/users/resources/index.d.ts +1 -0
  119. package/dist/api/resources/users/resources/index.js +27 -0
  120. package/dist/api/resources/users/resources/v2/index.d.ts +1 -0
  121. package/dist/api/resources/users/{types → resources/v2}/index.js +1 -1
  122. package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +6 -0
  123. package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.js +5 -0
  124. package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +6 -0
  125. package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +5 -0
  126. package/{api/resources/users/types/User.d.ts → dist/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts} +1 -3
  127. package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.js +5 -0
  128. package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +16 -0
  129. package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.js +5 -0
  130. package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +6 -0
  131. package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.js +5 -0
  132. package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +6 -0
  133. package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.js +5 -0
  134. package/dist/api/resources/users/resources/v2/types/UserId.d.ts +8 -0
  135. package/{api/resources/commons/types/Auth0Id.js → dist/api/resources/users/resources/v2/types/UserId.js} +3 -3
  136. package/dist/api/resources/users/resources/v2/types/UserMetadata.d.ts +13 -0
  137. package/dist/api/resources/users/resources/v2/types/UserMetadata.js +5 -0
  138. package/dist/api/resources/users/resources/v2/types/UserV2.d.ts +11 -0
  139. package/dist/api/resources/users/resources/v2/types/UserV2.js +5 -0
  140. package/dist/api/resources/users/resources/v2/types/index.d.ts +9 -0
  141. package/dist/api/resources/users/resources/v2/types/index.js +25 -0
  142. package/dist/api/resources/workQueues/resources/v1/types/WorkQueue.d.ts +1 -1
  143. package/dist/serialization/resources/commons/types/index.d.ts +0 -1
  144. package/dist/serialization/resources/commons/types/index.js +0 -1
  145. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
  146. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +8 -0
  147. package/dist/serialization/resources/encounters/resources/v4/types/IntakeFollowUp.d.ts +1 -1
  148. package/dist/serialization/resources/encounters/resources/v4/types/IntakeFollowUp.js +1 -1
  149. package/dist/serialization/resources/index.d.ts +2 -3
  150. package/dist/serialization/resources/index.js +3 -4
  151. package/dist/serialization/resources/payers/types/Payer.d.ts +1 -1
  152. package/dist/serialization/resources/payers/types/Payer.js +1 -1
  153. package/dist/serialization/resources/{commons/types/Auth0Id.d.ts → payers/types/PayerUuid.d.ts} +2 -2
  154. package/{serialization/resources/commons/types/Auth0Id.js → dist/serialization/resources/payers/types/PayerUuid.js} +3 -3
  155. package/dist/serialization/resources/payers/types/index.d.ts +1 -0
  156. package/dist/serialization/resources/payers/types/index.js +1 -0
  157. package/dist/serialization/resources/tasks/index.d.ts +1 -0
  158. package/dist/serialization/resources/tasks/index.js +1 -0
  159. package/dist/serialization/resources/tasks/resources/index.d.ts +1 -0
  160. package/dist/serialization/resources/tasks/resources/index.js +27 -0
  161. package/dist/serialization/resources/tasks/resources/v3/index.d.ts +1 -0
  162. package/{serialization/resources/users/types → dist/serialization/resources/tasks/resources/v3}/index.js +1 -1
  163. package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +13 -0
  164. package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.js +34 -0
  165. package/dist/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +13 -0
  166. package/dist/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +38 -0
  167. package/dist/serialization/resources/tasks/resources/v3/types/TaskActions.d.ts +12 -0
  168. package/dist/serialization/resources/tasks/resources/v3/types/TaskActions.js +33 -0
  169. package/dist/serialization/resources/tasks/resources/v3/types/index.d.ts +3 -0
  170. package/dist/serialization/resources/tasks/resources/v3/types/index.js +19 -0
  171. package/dist/serialization/resources/users/index.d.ts +1 -1
  172. package/dist/serialization/resources/users/index.js +1 -1
  173. package/dist/serialization/resources/users/resources/index.d.ts +1 -0
  174. package/dist/serialization/resources/users/resources/index.js +27 -0
  175. package/dist/serialization/resources/users/resources/v2/index.d.ts +1 -0
  176. package/dist/serialization/resources/users/{types → resources/v2}/index.js +1 -1
  177. package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +12 -0
  178. package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +33 -0
  179. package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +12 -0
  180. package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +33 -0
  181. package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
  182. package/{serialization/resources/users/types/User.js → dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.js} +3 -4
  183. package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
  184. package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +40 -0
  185. package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +12 -0
  186. package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +33 -0
  187. package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +12 -0
  188. package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +33 -0
  189. package/dist/serialization/resources/users/resources/v2/types/UserId.d.ts +10 -0
  190. package/dist/serialization/resources/users/resources/v2/types/UserId.js +35 -0
  191. package/dist/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +16 -0
  192. package/dist/serialization/resources/users/resources/v2/types/UserMetadata.js +39 -0
  193. package/dist/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
  194. package/dist/serialization/resources/users/resources/v2/types/UserV2.js +37 -0
  195. package/dist/serialization/resources/users/resources/v2/types/index.d.ts +9 -0
  196. package/dist/serialization/resources/users/resources/v2/types/index.js +25 -0
  197. package/dist/serialization/resources/workQueues/resources/v1/types/WorkQueue.d.ts +1 -1
  198. package/dist/serialization/resources/workQueues/resources/v1/types/WorkQueue.js +1 -1
  199. package/package.json +1 -1
  200. package/serialization/resources/commons/types/index.d.ts +0 -1
  201. package/serialization/resources/commons/types/index.js +0 -1
  202. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
  203. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +8 -0
  204. package/serialization/resources/encounters/resources/v4/types/IntakeFollowUp.d.ts +1 -1
  205. package/serialization/resources/encounters/resources/v4/types/IntakeFollowUp.js +1 -1
  206. package/serialization/resources/index.d.ts +2 -3
  207. package/serialization/resources/index.js +3 -4
  208. package/serialization/resources/payers/types/Payer.d.ts +1 -1
  209. package/serialization/resources/payers/types/Payer.js +1 -1
  210. package/serialization/resources/{commons/types/Auth0Id.d.ts → payers/types/PayerUuid.d.ts} +2 -2
  211. package/{dist/serialization/resources/commons/types/Auth0Id.js → serialization/resources/payers/types/PayerUuid.js} +3 -3
  212. package/serialization/resources/payers/types/index.d.ts +1 -0
  213. package/serialization/resources/payers/types/index.js +1 -0
  214. package/serialization/resources/tasks/index.d.ts +1 -0
  215. package/serialization/resources/tasks/index.js +1 -0
  216. package/serialization/resources/tasks/resources/index.d.ts +1 -0
  217. package/serialization/resources/tasks/resources/index.js +27 -0
  218. package/serialization/resources/tasks/resources/v3/index.d.ts +1 -0
  219. package/serialization/resources/tasks/resources/v3/index.js +17 -0
  220. package/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +13 -0
  221. package/serialization/resources/tasks/resources/v3/types/TaskAction.js +34 -0
  222. package/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +13 -0
  223. package/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +38 -0
  224. package/serialization/resources/tasks/resources/v3/types/TaskActions.d.ts +12 -0
  225. package/serialization/resources/tasks/resources/v3/types/TaskActions.js +33 -0
  226. package/serialization/resources/tasks/resources/v3/types/index.d.ts +3 -0
  227. package/serialization/resources/tasks/resources/v3/types/index.js +19 -0
  228. package/serialization/resources/users/index.d.ts +1 -1
  229. package/serialization/resources/users/index.js +1 -1
  230. package/serialization/resources/users/resources/index.d.ts +1 -0
  231. package/serialization/resources/users/resources/index.js +27 -0
  232. package/serialization/resources/users/resources/v2/index.d.ts +1 -0
  233. package/serialization/resources/users/resources/v2/index.js +17 -0
  234. package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +12 -0
  235. package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +33 -0
  236. package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +12 -0
  237. package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +33 -0
  238. package/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
  239. package/{dist/serialization/resources/users/types/User.js → serialization/resources/users/resources/v2/types/HumanUserMetadata.js} +3 -4
  240. package/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
  241. package/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +40 -0
  242. package/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +12 -0
  243. package/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +33 -0
  244. package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +12 -0
  245. package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +33 -0
  246. package/serialization/resources/users/resources/v2/types/UserId.d.ts +10 -0
  247. package/serialization/resources/users/resources/v2/types/UserId.js +35 -0
  248. package/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +16 -0
  249. package/serialization/resources/users/resources/v2/types/UserMetadata.js +39 -0
  250. package/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
  251. package/serialization/resources/users/resources/v2/types/UserV2.js +37 -0
  252. package/serialization/resources/users/resources/v2/types/index.d.ts +9 -0
  253. package/serialization/resources/users/resources/v2/types/index.js +25 -0
  254. package/serialization/resources/workQueues/resources/v1/types/WorkQueue.d.ts +1 -1
  255. package/serialization/resources/workQueues/resources/v1/types/WorkQueue.js +1 -1
  256. package/api/resources/commons/types/Auth0Id.d.ts +0 -8
  257. package/api/resources/users/types/index.d.ts +0 -1
  258. package/dist/api/resources/commons/types/Auth0Id.d.ts +0 -8
  259. package/dist/api/resources/users/types/index.d.ts +0 -1
  260. package/dist/serialization/resources/users/types/User.d.ts +0 -14
  261. package/dist/serialization/resources/users/types/index.d.ts +0 -1
  262. package/serialization/resources/users/types/User.d.ts +0 -14
  263. package/serialization/resources/users/types/index.d.ts +0 -1
  264. /package/api/resources/{users/types/User.js → tasks/resources/v3/types/TaskAction.js} +0 -0
  265. /package/{dist/api/resources/users/types/User.js → api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js} +0 -0
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./User"), exports);
17
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const AuthZeroMetadata: core.serialization.ObjectSchema<serializers.users.v2.AuthZeroMetadata.Raw, CandidApi.users.v2.AuthZeroMetadata>;
8
+ export declare namespace AuthZeroMetadata {
9
+ interface Raw {
10
+ auth0_id: string;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AuthZeroMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.AuthZeroMetadata = core.serialization.object({
32
+ auth0Id: core.serialization.property("auth0_id", core.serialization.string()),
33
+ });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const GoogleAppsMetadata: core.serialization.ObjectSchema<serializers.users.v2.GoogleAppsMetadata.Raw, CandidApi.users.v2.GoogleAppsMetadata>;
8
+ export declare namespace GoogleAppsMetadata {
9
+ interface Raw {
10
+ google_apps_id: string;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.GoogleAppsMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.GoogleAppsMetadata = core.serialization.object({
32
+ googleAppsId: core.serialization.property("google_apps_id", core.serialization.string()),
33
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const HumanUserMetadata: core.serialization.ObjectSchema<serializers.users.v2.HumanUserMetadata.Raw, CandidApi.users.v2.HumanUserMetadata>;
8
+ export declare namespace HumanUserMetadata {
9
+ interface Raw {
10
+ first_name: string;
11
+ last_name: string;
12
+ }
13
+ }
@@ -26,10 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.User = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- exports.User = core.serialization.object({
32
- auth0Id: core.serialization.property("auth0_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Auth0Id)),
29
+ exports.HumanUserMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.HumanUserMetadata = core.serialization.object({
33
32
  firstName: core.serialization.property("first_name", core.serialization.string()),
34
33
  lastName: core.serialization.property("last_name", core.serialization.string()),
35
34
  });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const IdpUserMetadata: core.serialization.Schema<serializers.users.v2.IdpUserMetadata.Raw, CandidApi.users.v2.IdpUserMetadata>;
8
+ export declare namespace IdpUserMetadata {
9
+ type Raw = IdpUserMetadata.AuthZeroMetadata | IdpUserMetadata.GoogleAppsMetadata | IdpUserMetadata.OtherIdpMetadata;
10
+ interface AuthZeroMetadata extends serializers.users.v2.AuthZeroMetadata.Raw {
11
+ type: "auth_zero_metadata";
12
+ }
13
+ interface GoogleAppsMetadata extends serializers.users.v2.GoogleAppsMetadata.Raw {
14
+ type: "google_apps_metadata";
15
+ }
16
+ interface OtherIdpMetadata extends serializers.users.v2.OtherIdpMetadata.Raw {
17
+ type: "other_idp_metadata";
18
+ }
19
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.IdpUserMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.IdpUserMetadata = core.serialization
32
+ .union("type", {
33
+ auth_zero_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.AuthZeroMetadata),
34
+ google_apps_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.GoogleAppsMetadata),
35
+ other_idp_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.OtherIdpMetadata),
36
+ })
37
+ .transform({
38
+ transform: (value) => value,
39
+ untransform: (value) => value,
40
+ });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const MachineUserMetadata: core.serialization.ObjectSchema<serializers.users.v2.MachineUserMetadata.Raw, CandidApi.users.v2.MachineUserMetadata>;
8
+ export declare namespace MachineUserMetadata {
9
+ interface Raw {
10
+ name: string;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.MachineUserMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.MachineUserMetadata = core.serialization.object({
32
+ name: core.serialization.string(),
33
+ });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const OtherIdpMetadata: core.serialization.ObjectSchema<serializers.users.v2.OtherIdpMetadata.Raw, CandidApi.users.v2.OtherIdpMetadata>;
8
+ export declare namespace OtherIdpMetadata {
9
+ interface Raw {
10
+ idp_external_id: string;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.OtherIdpMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.OtherIdpMetadata = core.serialization.object({
32
+ idpExternalId: core.serialization.property("idp_external_id", core.serialization.string()),
33
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const UserId: core.serialization.Schema<serializers.users.v2.UserId.Raw, CandidApi.users.v2.UserId>;
8
+ export declare namespace UserId {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.UserId = void 0;
30
+ const CandidApi = __importStar(require("../../../../../../api"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.UserId = core.serialization.string().transform({
33
+ transform: CandidApi.users.v2.UserId,
34
+ untransform: (value) => value,
35
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const UserMetadata: core.serialization.Schema<serializers.users.v2.UserMetadata.Raw, CandidApi.users.v2.UserMetadata>;
8
+ export declare namespace UserMetadata {
9
+ type Raw = UserMetadata.MachineUserMetadata | UserMetadata.HumanUserMetadata;
10
+ interface MachineUserMetadata extends serializers.users.v2.MachineUserMetadata.Raw {
11
+ type: "machine_user_metadata";
12
+ }
13
+ interface HumanUserMetadata extends serializers.users.v2.HumanUserMetadata.Raw {
14
+ type: "human_user_metadata";
15
+ }
16
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.UserMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.UserMetadata = core.serialization
32
+ .union("type", {
33
+ machine_user_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.MachineUserMetadata),
34
+ human_user_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.HumanUserMetadata),
35
+ })
36
+ .transform({
37
+ transform: (value) => value,
38
+ untransform: (value) => value,
39
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const UserV2: core.serialization.ObjectSchema<serializers.users.v2.UserV2.Raw, CandidApi.users.v2.UserV2>;
8
+ export declare namespace UserV2 {
9
+ interface Raw {
10
+ user_id: serializers.users.v2.UserId.Raw;
11
+ idp_metadata: serializers.users.v2.IdpUserMetadata.Raw[];
12
+ primary_organization_id: serializers.OrganizationId.Raw;
13
+ user_metadata: serializers.users.v2.UserMetadata.Raw;
14
+ accessible_organization_ids: serializers.OrganizationId.Raw[];
15
+ }
16
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.UserV2 = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.UserV2 = core.serialization.object({
32
+ userId: core.serialization.property("user_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.UserId)),
33
+ idpMetadata: core.serialization.property("idp_metadata", core.serialization.list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.IdpUserMetadata))),
34
+ primaryOrganizationId: core.serialization.property("primary_organization_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).OrganizationId)),
35
+ userMetadata: core.serialization.property("user_metadata", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.UserMetadata)),
36
+ accessibleOrganizationIds: core.serialization.property("accessible_organization_ids", core.serialization.list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).OrganizationId))),
37
+ });
@@ -0,0 +1,9 @@
1
+ export * from "./HumanUserMetadata";
2
+ export * from "./UserId";
3
+ export * from "./MachineUserMetadata";
4
+ export * from "./UserMetadata";
5
+ export * from "./AuthZeroMetadata";
6
+ export * from "./GoogleAppsMetadata";
7
+ export * from "./OtherIdpMetadata";
8
+ export * from "./IdpUserMetadata";
9
+ export * from "./UserV2";
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./HumanUserMetadata"), exports);
18
+ __exportStar(require("./UserId"), exports);
19
+ __exportStar(require("./MachineUserMetadata"), exports);
20
+ __exportStar(require("./UserMetadata"), exports);
21
+ __exportStar(require("./AuthZeroMetadata"), exports);
22
+ __exportStar(require("./GoogleAppsMetadata"), exports);
23
+ __exportStar(require("./OtherIdpMetadata"), exports);
24
+ __exportStar(require("./IdpUserMetadata"), exports);
25
+ __exportStar(require("./UserV2"), exports);
@@ -12,6 +12,6 @@ export declare namespace WorkQueue {
12
12
  description?: string | null;
13
13
  category: serializers.workQueues.v1.WorkQueueCategory.Raw;
14
14
  created_at: string;
15
- created_by: serializers.User.Raw;
15
+ created_by: serializers.users.v2.UserV2.Raw;
16
16
  }
17
17
  }
@@ -34,5 +34,5 @@ exports.WorkQueue = core.serialization.object({
34
34
  description: core.serialization.string().optional(),
35
35
  category: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).workQueues.v1.WorkQueueCategory),
36
36
  createdAt: core.serialization.property("created_at", core.serialization.date()),
37
- createdBy: core.serialization.property("created_by", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).User)),
37
+ createdBy: core.serialization.property("created_by", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.UserV2)),
38
38
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
@@ -4,7 +4,6 @@ export * from "./ClaimId";
4
4
  export * from "./ServiceLineId";
5
5
  export * from "./PatientExternalId";
6
6
  export * from "./EncounterExternalId";
7
- export * from "./Auth0Id";
8
7
  export * from "./Npi";
9
8
  export * from "./WorkQueueId";
10
9
  export * from "./LinkUrl";
@@ -20,7 +20,6 @@ __exportStar(require("./ClaimId"), exports);
20
20
  __exportStar(require("./ServiceLineId"), exports);
21
21
  __exportStar(require("./PatientExternalId"), exports);
22
22
  __exportStar(require("./EncounterExternalId"), exports);
23
- __exportStar(require("./Auth0Id"), exports);
24
23
  __exportStar(require("./Npi"), exports);
25
24
  __exportStar(require("./WorkQueueId"), exports);
26
25
  __exportStar(require("./LinkUrl"), exports);
@@ -16,5 +16,11 @@ export declare namespace EncounterUpdate {
16
16
  pay_to_address?: serializers.StreetAddressLongZip.Raw | null;
17
17
  patient_is_self_guarantor?: boolean | null;
18
18
  guarantor_id?: serializers.guarantor.v1.GuarantorId.Raw | null;
19
+ provider_accepts_assignment?: boolean | null;
20
+ benefits_assigned_to_provider?: boolean | null;
21
+ synchronicity?: serializers.encounters.v4.SynchronicityType.Raw | null;
22
+ place_of_service_code?: serializers.FacilityTypeCode.Raw | null;
23
+ appointment_type?: string | null;
24
+ end_date_of_service?: serializers.Date_.Raw | null;
19
25
  }
20
26
  }
@@ -46,4 +46,12 @@ exports.EncounterUpdate = core.serialization.object({
46
46
  payToAddress: core.serialization.property("pay_to_address", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).StreetAddressLongZip).optional()),
47
47
  patientIsSelfGuarantor: core.serialization.property("patient_is_self_guarantor", core.serialization.boolean().optional()),
48
48
  guarantorId: core.serialization.property("guarantor_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).guarantor.v1.GuarantorId).optional()),
49
+ providerAcceptsAssignment: core.serialization.property("provider_accepts_assignment", core.serialization.boolean().optional()),
50
+ benefitsAssignedToProvider: core.serialization.property("benefits_assigned_to_provider", core.serialization.boolean().optional()),
51
+ synchronicity: core.serialization
52
+ .lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounters.v4.SynchronicityType)
53
+ .optional(),
54
+ placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).FacilityTypeCode).optional()),
55
+ appointmentType: core.serialization.property("appointment_type", core.serialization.string().optional()),
56
+ endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
49
57
  });
@@ -9,6 +9,6 @@ export declare namespace IntakeFollowUp {
9
9
  interface Raw {
10
10
  id: serializers.encounters.v4.IntakeFollowUpId.Raw;
11
11
  text: string;
12
- response: string;
12
+ response?: string | null;
13
13
  }
14
14
  }
@@ -31,5 +31,5 @@ const core = __importStar(require("../../../../../../core"));
31
31
  exports.IntakeFollowUp = core.serialization.object({
32
32
  id: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.IntakeFollowUpId),
33
33
  text: core.serialization.string(),
34
- response: core.serialization.string(),
34
+ response: core.serialization.string().optional(),
35
35
  });
@@ -4,6 +4,8 @@ export * as encounters from "./encounters";
4
4
  export * as guarantor from "./guarantor";
5
5
  export * as organizationProviders from "./organizationProviders";
6
6
  export * as patientPayments from "./patientPayments";
7
+ export * as tasks from "./tasks";
8
+ export * as users from "./users";
7
9
  export * as workQueues from "./workQueues";
8
10
  export * as billingNotes from "./billingNotes";
9
11
  export * from "./billingNotes/types";
@@ -35,9 +37,6 @@ export * as serviceLines from "./serviceLines";
35
37
  export * from "./serviceLines/types";
36
38
  export * as tags from "./tags";
37
39
  export * from "./tags/types";
38
- export * as tasks from "./tasks";
39
40
  export * from "./tasks/types";
40
- export * as users from "./users";
41
- export * from "./users/types";
42
41
  export * from "./billingNotes/client/requests";
43
42
  export * from "./expectedNetworkStatus/client/requests";
@@ -26,13 +26,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.users = exports.tasks = exports.tags = exports.serviceLines = exports.serviceFacility = exports.payers = exports.invoices = exports.insuranceCard = exports.individual = exports.expectedNetworkStatus = exports.era = exports.diagnoses = exports.credentialing = exports.contracts = exports.commons = exports.claims = exports.billingNotes = exports.workQueues = exports.patientPayments = exports.organizationProviders = exports.guarantor = exports.encounters = exports.encounterProviders = exports.auth = void 0;
29
+ exports.tags = exports.serviceLines = exports.serviceFacility = exports.payers = exports.invoices = exports.insuranceCard = exports.individual = exports.expectedNetworkStatus = exports.era = exports.diagnoses = exports.credentialing = exports.contracts = exports.commons = exports.claims = exports.billingNotes = exports.workQueues = exports.users = exports.tasks = exports.patientPayments = exports.organizationProviders = exports.guarantor = exports.encounters = exports.encounterProviders = exports.auth = void 0;
30
30
  exports.auth = __importStar(require("./auth"));
31
31
  exports.encounterProviders = __importStar(require("./encounterProviders"));
32
32
  exports.encounters = __importStar(require("./encounters"));
33
33
  exports.guarantor = __importStar(require("./guarantor"));
34
34
  exports.organizationProviders = __importStar(require("./organizationProviders"));
35
35
  exports.patientPayments = __importStar(require("./patientPayments"));
36
+ exports.tasks = __importStar(require("./tasks"));
37
+ exports.users = __importStar(require("./users"));
36
38
  exports.workQueues = __importStar(require("./workQueues"));
37
39
  exports.billingNotes = __importStar(require("./billingNotes"));
38
40
  __exportStar(require("./billingNotes/types"), exports);
@@ -64,9 +66,6 @@ exports.serviceLines = __importStar(require("./serviceLines"));
64
66
  __exportStar(require("./serviceLines/types"), exports);
65
67
  exports.tags = __importStar(require("./tags"));
66
68
  __exportStar(require("./tags/types"), exports);
67
- exports.tasks = __importStar(require("./tasks"));
68
69
  __exportStar(require("./tasks/types"), exports);
69
- exports.users = __importStar(require("./users"));
70
- __exportStar(require("./users/types"), exports);
71
70
  __exportStar(require("./billingNotes/client/requests"), exports);
72
71
  __exportStar(require("./expectedNetworkStatus/client/requests"), exports);