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
@@ -7,7 +7,7 @@ import * as core from "../../../../core";
7
7
  export declare const Payer: core.serialization.ObjectSchema<serializers.Payer.Raw, CandidApi.Payer>;
8
8
  export declare namespace Payer {
9
9
  interface Raw {
10
- payer_uuid?: string | null;
10
+ payer_uuid: serializers.PayerUuid.Raw;
11
11
  payer_id: string;
12
12
  payer_name: string;
13
13
  }
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Payer = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
31
  exports.Payer = core.serialization.object({
32
- payerUuid: core.serialization.property("payer_uuid", core.serialization.string().optional()),
32
+ payerUuid: core.serialization.property("payer_uuid", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).PayerUuid)),
33
33
  payerId: core.serialization.property("payer_id", core.serialization.string()),
34
34
  payerName: core.serialization.property("payer_name", core.serialization.string()),
35
35
  });
@@ -4,7 +4,7 @@
4
4
  import * as serializers from "../../..";
5
5
  import * as CandidApi from "../../../../api";
6
6
  import * as core from "../../../../core";
7
- export declare const Auth0Id: core.serialization.Schema<serializers.Auth0Id.Raw, CandidApi.Auth0Id>;
8
- export declare namespace Auth0Id {
7
+ export declare const PayerUuid: core.serialization.Schema<serializers.PayerUuid.Raw, CandidApi.PayerUuid>;
8
+ export declare namespace PayerUuid {
9
9
  type Raw = string;
10
10
  }
@@ -26,12 +26,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Auth0Id = void 0;
29
+ exports.PayerUuid = void 0;
30
30
  const CandidApi = __importStar(require("../../../../api"));
31
31
  const core = __importStar(require("../../../../core"));
32
- exports.Auth0Id = core.serialization
32
+ exports.PayerUuid = core.serialization
33
33
  .string()
34
34
  .transform({
35
- transform: CandidApi.Auth0Id,
35
+ transform: CandidApi.PayerUuid,
36
36
  untransform: (value) => value,
37
37
  });
@@ -1,2 +1,3 @@
1
+ export * from "./PayerUuid";
1
2
  export * from "./PayerPage";
2
3
  export * from "./Payer";
@@ -14,5 +14,6 @@ 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("./PayerUuid"), exports);
17
18
  __exportStar(require("./PayerPage"), exports);
18
19
  __exportStar(require("./Payer"), exports);
@@ -1 +1,2 @@
1
+ export * from "./resources";
1
2
  export * from "./types";
@@ -14,4 +14,5 @@ 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("./resources"), exports);
17
18
  __exportStar(require("./types"), exports);
@@ -0,0 +1 @@
1
+ export * as v3 from "./v3";
@@ -0,0 +1,27 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.v3 = void 0;
27
+ exports.v3 = __importStar(require("./v3"));
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
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("./types"), exports);
@@ -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 TaskAction: core.serialization.ObjectSchema<serializers.tasks.v3.TaskAction.Raw, CandidApi.tasks.v3.TaskAction>;
8
+ export declare namespace TaskAction {
9
+ interface Raw {
10
+ display_name: string;
11
+ execution_method: serializers.tasks.v3.TaskActionExecutionMethod.Raw;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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.TaskAction = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.TaskAction = core.serialization.object({
32
+ displayName: core.serialization.property("display_name", core.serialization.string()),
33
+ executionMethod: core.serialization.property("execution_method", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.TaskActionExecutionMethod)),
34
+ });
@@ -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 TaskActionExecutionMethod: core.serialization.Schema<serializers.tasks.v3.TaskActionExecutionMethod.Raw, CandidApi.tasks.v3.TaskActionExecutionMethod>;
8
+ export declare namespace TaskActionExecutionMethod {
9
+ type Raw = TaskActionExecutionMethod.CloseTask;
10
+ interface CloseTask {
11
+ type: "close_task";
12
+ }
13
+ }
@@ -0,0 +1,38 @@
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.TaskActionExecutionMethod = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.TaskActionExecutionMethod = core.serialization
32
+ .union("type", {
33
+ close_task: core.serialization.object({}),
34
+ })
35
+ .transform({
36
+ transform: (value) => value,
37
+ untransform: (value) => value,
38
+ });
@@ -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 TaskActions: core.serialization.ObjectSchema<serializers.tasks.v3.TaskActions.Raw, CandidApi.tasks.v3.TaskActions>;
8
+ export declare namespace TaskActions {
9
+ interface Raw {
10
+ actions: serializers.tasks.v3.TaskAction.Raw[];
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.TaskActions = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.TaskActions = core.serialization.object({
32
+ actions: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.TaskAction)),
33
+ });
@@ -0,0 +1,3 @@
1
+ export * from "./TaskActionExecutionMethod";
2
+ export * from "./TaskActions";
3
+ export * from "./TaskAction";
@@ -0,0 +1,19 @@
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("./TaskActionExecutionMethod"), exports);
18
+ __exportStar(require("./TaskActions"), exports);
19
+ __exportStar(require("./TaskAction"), exports);
@@ -1 +1 @@
1
- export * from "./types";
1
+ export * from "./resources";
@@ -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("./types"), exports);
17
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1 @@
1
+ export * as v2 from "./v2";
@@ -0,0 +1,27 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.v2 = void 0;
27
+ exports.v2 = __importStar(require("./v2"));
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
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("./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
+ }