@epilot/sdk 2.1.0-rc.1 → 2.1.1

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 (637) hide show
  1. package/README.md +24 -0
  2. package/definitions/app.json +38 -0
  3. package/definitions/automation.json +2 -37
  4. package/definitions/blueprint-manifest-runtime.json +1 -1
  5. package/definitions/blueprint-manifest.json +115 -1
  6. package/definitions/customer-portal-runtime.json +1 -1
  7. package/definitions/customer-portal.json +279 -42
  8. package/definitions/data-management.json +10 -0
  9. package/definitions/email-template.json +25 -3
  10. package/definitions/entity.json +205 -3
  11. package/definitions/environments-runtime.json +1 -1
  12. package/definitions/erp-integration-runtime.json +1 -1
  13. package/definitions/erp-integration.json +472 -13
  14. package/definitions/journey.json +257 -12
  15. package/definitions/kanban.json +630 -78
  16. package/definitions/organization-runtime.json +1 -1
  17. package/definitions/organization.json +614 -51
  18. package/definitions/workflow.json +40 -0
  19. package/dist/README-6OOYWQYJ.cjs +7 -0
  20. package/dist/README-JUWX7KNV.js +7 -0
  21. package/dist/_index-NWNYWBIF.js +146 -0
  22. package/dist/_index-ONGE545F.cjs +146 -0
  23. package/dist/access-token-2O6ULCCN.js +633 -0
  24. package/dist/access-token-6BJDZSFE.cjs +7 -0
  25. package/dist/access-token-GSQZLDXR.js +7 -0
  26. package/dist/access-token-RKP2A2F7.cjs +633 -0
  27. package/dist/access-token-runtime-KCKGT4O7.js +5 -0
  28. package/dist/access-token-runtime-NZWZJPWV.cjs +5 -0
  29. package/dist/address-HA4RMRNQ.cjs +7 -0
  30. package/dist/address-HLBX47SQ.cjs +567 -0
  31. package/dist/address-IJF4N2UV.js +567 -0
  32. package/dist/address-QVJUGMOG.js +7 -0
  33. package/dist/address-runtime-2MNO2YRD.cjs +5 -0
  34. package/dist/address-runtime-YFCNBJBW.js +5 -0
  35. package/dist/address-suggestions-74244BAJ.js +7 -0
  36. package/dist/address-suggestions-BYUTV7OU.js +574 -0
  37. package/dist/address-suggestions-ERVGGO6Z.cjs +574 -0
  38. package/dist/address-suggestions-IUQMYF27.cjs +7 -0
  39. package/dist/address-suggestions-runtime-NIMC2J32.js +5 -0
  40. package/dist/address-suggestions-runtime-ZNGLDADE.cjs +5 -0
  41. package/dist/ai-agents-6VHVYRCC.cjs +1612 -0
  42. package/dist/ai-agents-IZWFEUSH.js +7 -0
  43. package/dist/ai-agents-PKCHKKJS.js +1612 -0
  44. package/dist/ai-agents-PWHKNRCX.cjs +7 -0
  45. package/dist/ai-agents-runtime-25YRUJHI.js +5 -0
  46. package/dist/ai-agents-runtime-TILIO3UM.cjs +5 -0
  47. package/dist/apis/access-token.cjs +10 -8
  48. package/dist/apis/access-token.d.cts +2 -2
  49. package/dist/apis/access-token.d.ts +2 -2
  50. package/dist/apis/access-token.js +6 -4
  51. package/dist/apis/address-suggestions.cjs +10 -8
  52. package/dist/apis/address-suggestions.d.cts +2 -2
  53. package/dist/apis/address-suggestions.d.ts +2 -2
  54. package/dist/apis/address-suggestions.js +6 -4
  55. package/dist/apis/address.cjs +10 -8
  56. package/dist/apis/address.d.cts +2 -2
  57. package/dist/apis/address.d.ts +2 -2
  58. package/dist/apis/address.js +6 -4
  59. package/dist/apis/ai-agents.cjs +10 -8
  60. package/dist/apis/ai-agents.d.cts +2 -2
  61. package/dist/apis/ai-agents.d.ts +2 -2
  62. package/dist/apis/ai-agents.js +6 -4
  63. package/dist/apis/app.cjs +10 -8
  64. package/dist/apis/app.d.cts +2 -2
  65. package/dist/apis/app.d.ts +2 -2
  66. package/dist/apis/app.js +6 -4
  67. package/dist/apis/audit-logs.cjs +10 -8
  68. package/dist/apis/audit-logs.d.cts +2 -2
  69. package/dist/apis/audit-logs.d.ts +2 -2
  70. package/dist/apis/audit-logs.js +6 -4
  71. package/dist/apis/automation.cjs +10 -8
  72. package/dist/apis/automation.d.cts +2 -2
  73. package/dist/apis/automation.d.ts +2 -2
  74. package/dist/apis/automation.js +6 -4
  75. package/dist/apis/billing.cjs +10 -8
  76. package/dist/apis/billing.d.cts +2 -2
  77. package/dist/apis/billing.d.ts +2 -2
  78. package/dist/apis/billing.js +6 -4
  79. package/dist/apis/blueprint-manifest.cjs +10 -8
  80. package/dist/apis/blueprint-manifest.d.cts +2 -2
  81. package/dist/apis/blueprint-manifest.d.ts +2 -2
  82. package/dist/apis/blueprint-manifest.js +6 -4
  83. package/dist/apis/consent.cjs +10 -8
  84. package/dist/apis/consent.d.cts +2 -2
  85. package/dist/apis/consent.d.ts +2 -2
  86. package/dist/apis/consent.js +6 -4
  87. package/dist/apis/customer-portal.cjs +10 -8
  88. package/dist/apis/customer-portal.d.cts +2 -2
  89. package/dist/apis/customer-portal.d.ts +2 -2
  90. package/dist/apis/customer-portal.js +6 -4
  91. package/dist/apis/dashboard.cjs +10 -8
  92. package/dist/apis/dashboard.d.cts +2 -2
  93. package/dist/apis/dashboard.d.ts +2 -2
  94. package/dist/apis/dashboard.js +6 -4
  95. package/dist/apis/data-management.cjs +10 -8
  96. package/dist/apis/data-management.d.cts +2 -2
  97. package/dist/apis/data-management.d.ts +2 -2
  98. package/dist/apis/data-management.js +6 -4
  99. package/dist/apis/deduplication.cjs +10 -8
  100. package/dist/apis/deduplication.d.cts +2 -2
  101. package/dist/apis/deduplication.d.ts +2 -2
  102. package/dist/apis/deduplication.js +6 -4
  103. package/dist/apis/design.cjs +10 -8
  104. package/dist/apis/design.d.cts +2 -2
  105. package/dist/apis/design.d.ts +2 -2
  106. package/dist/apis/design.js +6 -4
  107. package/dist/apis/document.cjs +10 -8
  108. package/dist/apis/document.d.cts +2 -2
  109. package/dist/apis/document.d.ts +2 -2
  110. package/dist/apis/document.js +6 -4
  111. package/dist/apis/email-settings.cjs +10 -8
  112. package/dist/apis/email-settings.d.cts +2 -2
  113. package/dist/apis/email-settings.d.ts +2 -2
  114. package/dist/apis/email-settings.js +6 -4
  115. package/dist/apis/email-template.cjs +10 -8
  116. package/dist/apis/email-template.d.cts +2 -2
  117. package/dist/apis/email-template.d.ts +2 -2
  118. package/dist/apis/email-template.js +6 -4
  119. package/dist/apis/entity-mapping.cjs +10 -8
  120. package/dist/apis/entity-mapping.d.cts +2 -2
  121. package/dist/apis/entity-mapping.d.ts +2 -2
  122. package/dist/apis/entity-mapping.js +6 -4
  123. package/dist/apis/entity.cjs +10 -8
  124. package/dist/apis/entity.d.cts +2 -2
  125. package/dist/apis/entity.d.ts +2 -2
  126. package/dist/apis/entity.js +6 -4
  127. package/dist/apis/environments.cjs +10 -8
  128. package/dist/apis/environments.d.cts +2 -2
  129. package/dist/apis/environments.d.ts +2 -2
  130. package/dist/apis/environments.js +6 -4
  131. package/dist/apis/erp-integration.cjs +10 -8
  132. package/dist/apis/erp-integration.d.cts +2 -2
  133. package/dist/apis/erp-integration.d.ts +2 -2
  134. package/dist/apis/erp-integration.js +6 -4
  135. package/dist/apis/event-catalog.cjs +10 -8
  136. package/dist/apis/event-catalog.d.cts +2 -2
  137. package/dist/apis/event-catalog.d.ts +2 -2
  138. package/dist/apis/event-catalog.js +6 -4
  139. package/dist/apis/file.cjs +10 -8
  140. package/dist/apis/file.d.cts +2 -2
  141. package/dist/apis/file.d.ts +2 -2
  142. package/dist/apis/file.js +6 -4
  143. package/dist/apis/iban.cjs +10 -8
  144. package/dist/apis/iban.d.cts +2 -2
  145. package/dist/apis/iban.d.ts +2 -2
  146. package/dist/apis/iban.js +6 -4
  147. package/dist/apis/journey.cjs +10 -8
  148. package/dist/apis/journey.d.cts +2 -2
  149. package/dist/apis/journey.d.ts +2 -2
  150. package/dist/apis/journey.js +6 -4
  151. package/dist/apis/kanban.cjs +10 -8
  152. package/dist/apis/kanban.d.cts +2 -2
  153. package/dist/apis/kanban.d.ts +2 -2
  154. package/dist/apis/kanban.js +6 -4
  155. package/dist/apis/message.cjs +10 -8
  156. package/dist/apis/message.d.cts +2 -2
  157. package/dist/apis/message.d.ts +2 -2
  158. package/dist/apis/message.js +6 -4
  159. package/dist/apis/metering.cjs +10 -8
  160. package/dist/apis/metering.d.cts +2 -2
  161. package/dist/apis/metering.d.ts +2 -2
  162. package/dist/apis/metering.js +6 -4
  163. package/dist/apis/notes.cjs +10 -8
  164. package/dist/apis/notes.d.cts +2 -2
  165. package/dist/apis/notes.d.ts +2 -2
  166. package/dist/apis/notes.js +6 -4
  167. package/dist/apis/notification.cjs +10 -8
  168. package/dist/apis/notification.d.cts +2 -2
  169. package/dist/apis/notification.d.ts +2 -2
  170. package/dist/apis/notification.js +6 -4
  171. package/dist/apis/organization.cjs +10 -8
  172. package/dist/apis/organization.d.cts +4 -4
  173. package/dist/apis/organization.d.ts +4 -4
  174. package/dist/apis/organization.js +6 -4
  175. package/dist/apis/partner-directory.cjs +10 -8
  176. package/dist/apis/partner-directory.d.cts +2 -2
  177. package/dist/apis/partner-directory.d.ts +2 -2
  178. package/dist/apis/partner-directory.js +6 -4
  179. package/dist/apis/permissions.cjs +10 -8
  180. package/dist/apis/permissions.d.cts +2 -2
  181. package/dist/apis/permissions.d.ts +2 -2
  182. package/dist/apis/permissions.js +6 -4
  183. package/dist/apis/pricing-tier.cjs +10 -8
  184. package/dist/apis/pricing-tier.d.cts +2 -2
  185. package/dist/apis/pricing-tier.d.ts +2 -2
  186. package/dist/apis/pricing-tier.js +6 -4
  187. package/dist/apis/pricing.cjs +10 -8
  188. package/dist/apis/pricing.d.cts +2 -2
  189. package/dist/apis/pricing.d.ts +2 -2
  190. package/dist/apis/pricing.js +6 -4
  191. package/dist/apis/purpose.cjs +10 -8
  192. package/dist/apis/purpose.d.cts +2 -2
  193. package/dist/apis/purpose.d.ts +2 -2
  194. package/dist/apis/purpose.js +6 -4
  195. package/dist/apis/sandbox.cjs +10 -8
  196. package/dist/apis/sandbox.d.cts +2 -2
  197. package/dist/apis/sandbox.d.ts +2 -2
  198. package/dist/apis/sandbox.js +6 -4
  199. package/dist/apis/submission.cjs +10 -8
  200. package/dist/apis/submission.d.cts +2 -2
  201. package/dist/apis/submission.d.ts +2 -2
  202. package/dist/apis/submission.js +6 -4
  203. package/dist/apis/targeting.cjs +10 -8
  204. package/dist/apis/targeting.d.cts +2 -2
  205. package/dist/apis/targeting.d.ts +2 -2
  206. package/dist/apis/targeting.js +6 -4
  207. package/dist/apis/template-variables.cjs +10 -8
  208. package/dist/apis/template-variables.d.cts +2 -2
  209. package/dist/apis/template-variables.d.ts +2 -2
  210. package/dist/apis/template-variables.js +6 -4
  211. package/dist/apis/user.cjs +10 -8
  212. package/dist/apis/user.d.cts +2 -2
  213. package/dist/apis/user.d.ts +2 -2
  214. package/dist/apis/user.js +6 -4
  215. package/dist/apis/validation-rules.cjs +10 -8
  216. package/dist/apis/validation-rules.d.cts +2 -2
  217. package/dist/apis/validation-rules.d.ts +2 -2
  218. package/dist/apis/validation-rules.js +6 -4
  219. package/dist/apis/webhooks.cjs +10 -8
  220. package/dist/apis/webhooks.d.cts +2 -2
  221. package/dist/apis/webhooks.d.ts +2 -2
  222. package/dist/apis/webhooks.js +6 -4
  223. package/dist/apis/workflow-definition.cjs +10 -8
  224. package/dist/apis/workflow-definition.d.cts +2 -2
  225. package/dist/apis/workflow-definition.d.ts +2 -2
  226. package/dist/apis/workflow-definition.js +6 -4
  227. package/dist/apis/workflow.cjs +10 -8
  228. package/dist/apis/workflow.d.cts +2 -2
  229. package/dist/apis/workflow.d.ts +2 -2
  230. package/dist/apis/workflow.js +6 -4
  231. package/dist/app-5VPBDFW2.cjs +4047 -0
  232. package/dist/app-IKHWU222.cjs +7 -0
  233. package/dist/app-VJW2KKWE.js +4047 -0
  234. package/dist/app-VLM3SWKA.js +7 -0
  235. package/dist/app-runtime-SSNHSBR7.cjs +5 -0
  236. package/dist/app-runtime-U7RGV7KT.js +5 -0
  237. package/dist/audit-logs-5VXHOQ7S.js +7 -0
  238. package/dist/audit-logs-D2LFUA2R.cjs +7 -0
  239. package/dist/audit-logs-F2NHDISQ.js +312 -0
  240. package/dist/audit-logs-RFEMBILB.cjs +312 -0
  241. package/dist/audit-logs-runtime-4WMHPWNX.cjs +5 -0
  242. package/dist/audit-logs-runtime-76R6WRAB.js +5 -0
  243. package/dist/automation-3HGCK725.cjs +7 -0
  244. package/dist/automation-72VGEJCY.js +7 -0
  245. package/dist/automation-HZASSUCS.cjs +4460 -0
  246. package/dist/automation-WEVRW77F.js +4460 -0
  247. package/dist/automation-runtime-L5UKEFLA.js +5 -0
  248. package/dist/automation-runtime-YBGGE5PL.cjs +5 -0
  249. package/dist/billing-3VZPNG6M.cjs +796 -0
  250. package/dist/billing-ASWY7HC3.js +796 -0
  251. package/dist/billing-DUWDISHP.cjs +7 -0
  252. package/dist/billing-IPALEAG2.js +7 -0
  253. package/dist/billing-runtime-C6BMGWCX.js +5 -0
  254. package/dist/billing-runtime-L4Y7MLM3.cjs +5 -0
  255. package/dist/blueprint-manifest-5TNVSDKC.cjs +3169 -0
  256. package/dist/blueprint-manifest-CXSCRQ5X.js +7 -0
  257. package/dist/blueprint-manifest-SHNZPK5O.cjs +7 -0
  258. package/dist/blueprint-manifest-UGGYWGRZ.js +3169 -0
  259. package/dist/blueprint-manifest-runtime-2RTW5C52.js +5 -0
  260. package/dist/blueprint-manifest-runtime-AF3FIDVX.cjs +5 -0
  261. package/dist/{chunk-ZPCMZO2O.js → chunk-24T6CJTG.js} +1 -1
  262. package/dist/{chunk-4JPVFLVU.js → chunk-265TE2OV.js} +1 -1
  263. package/dist/{chunk-NSOHW3R6.js → chunk-2BPBDRRO.js} +1 -1
  264. package/dist/{chunk-ZAPA4RPI.js → chunk-3XKBB5AE.js} +1 -1
  265. package/dist/{chunk-CFGXI3FX.js → chunk-3YSEO476.js} +1 -1
  266. package/dist/{chunk-WOOKHE7Y.cjs → chunk-46HU6232.cjs} +2 -2
  267. package/dist/{chunk-KU2XF4TS.cjs → chunk-4G6LO3JY.cjs} +2 -2
  268. package/dist/{chunk-GGBSLAVO.cjs → chunk-4QCVVDTA.cjs} +2 -2
  269. package/dist/{chunk-TUAAE3UC.cjs → chunk-4W22EIRF.cjs} +2 -2
  270. package/dist/{chunk-BDIJHJOG.js → chunk-4ZGZDE6D.js} +1 -1
  271. package/dist/{chunk-VD5TBK2T.cjs → chunk-4ZMLRFDX.cjs} +2 -2
  272. package/dist/{chunk-YNPRF4BX.js → chunk-5JPM6YUD.js} +1 -1
  273. package/dist/{chunk-FCLW3FLF.js → chunk-5MFHAXBT.js} +1 -1
  274. package/dist/{chunk-OBQIS3KU.js → chunk-5NKXJA43.js} +1 -1
  275. package/dist/{chunk-UXVV3BSC.cjs → chunk-5WNEYQII.cjs} +2 -2
  276. package/dist/chunk-6OYECNL2.js +14 -0
  277. package/dist/{chunk-D5FJ26GG.js → chunk-6UAS2VVG.js} +1 -1
  278. package/dist/{chunk-UE4XPL43.js → chunk-6VWCUZ5M.js} +1 -1
  279. package/dist/{chunk-HSGQSTVK.js → chunk-75EI2Q64.js} +1 -1
  280. package/dist/{chunk-6J7CIOKR.js → chunk-75ZWZM3L.js} +1 -1
  281. package/dist/{chunk-LXAJ722U.js → chunk-7IKQIVUS.js} +1 -1
  282. package/dist/{chunk-5YVVQBA2.js → chunk-A7AAVJGM.js} +1 -1
  283. package/dist/{chunk-ZDJ3J6Z6.cjs → chunk-ANN2QTMY.cjs} +2 -2
  284. package/dist/{chunk-MKZGM4A6.js → chunk-AUH6NP6Y.js} +1 -1
  285. package/dist/{chunk-BB7WFIE2.cjs → chunk-BLNXQAMX.cjs} +2 -2
  286. package/dist/{chunk-PLBIQ2Y7.cjs → chunk-BM6NCHPL.cjs} +2 -2
  287. package/dist/{chunk-5Y2KLUU6.cjs → chunk-BPHOGIQM.cjs} +2 -2
  288. package/dist/{chunk-Y4YQEDR3.js → chunk-BTTPWE2P.js} +1 -1
  289. package/dist/{chunk-Z5LLUUFD.cjs → chunk-COQMJFAB.cjs} +2 -2
  290. package/dist/{chunk-YFHQYQII.js → chunk-CSK5ZUTS.js} +1 -1
  291. package/dist/{chunk-7KFKA3AH.cjs → chunk-D32L2HMX.cjs} +2 -2
  292. package/dist/{chunk-Y4ZMNMYI.js → chunk-D7Q4JGN7.js} +1 -1
  293. package/dist/{chunk-UTQY2DSM.js → chunk-DZ3P537S.js} +1 -1
  294. package/dist/{chunk-CLMZ2EXW.js → chunk-E2WMGOM5.js} +1 -1
  295. package/dist/{chunk-R6WNZVTA.cjs → chunk-F5JVW2D5.cjs} +2 -2
  296. package/dist/{chunk-WAKSLH7V.cjs → chunk-FARDEGPH.cjs} +2 -2
  297. package/dist/{chunk-XIB2G42L.cjs → chunk-G3VDRMOH.cjs} +2 -2
  298. package/dist/{chunk-ZAXYMQ2B.cjs → chunk-G5FKTWUC.cjs} +2 -2
  299. package/dist/{chunk-URRL33D5.cjs → chunk-GWKHOJGD.cjs} +2 -2
  300. package/dist/{chunk-XLOXC52O.js → chunk-H45V55VT.js} +1 -1
  301. package/dist/{chunk-TBBLLEB2.cjs → chunk-HAZ3WP7V.cjs} +2 -2
  302. package/dist/{chunk-KEJRWMXR.cjs → chunk-HHMXS5NC.cjs} +2 -2
  303. package/dist/{chunk-YXPUCBVK.cjs → chunk-IGVVJMX7.cjs} +2 -2
  304. package/dist/{chunk-IXRDP4VP.js → chunk-IJR3GZKC.js} +1 -1
  305. package/dist/{chunk-OI2M6FSB.js → chunk-IQOCHPWU.js} +1 -1
  306. package/dist/{chunk-6ADJEPMJ.js → chunk-JENQHXFI.js} +1 -1
  307. package/dist/{chunk-E4IFBCNM.cjs → chunk-JICWF5VI.cjs} +2 -2
  308. package/dist/{chunk-Q5TESEDZ.cjs → chunk-JIUTCNTB.cjs} +2 -2
  309. package/dist/{chunk-RNKZDJOY.js → chunk-JJWJLY42.js} +1 -1
  310. package/dist/{chunk-CX3KG7D2.cjs → chunk-JXJC6WEW.cjs} +2 -2
  311. package/dist/{chunk-RQKN4WTW.cjs → chunk-K2UZPY6U.cjs} +2 -2
  312. package/dist/{chunk-UDO4JYVU.cjs → chunk-L66IX6GX.cjs} +2 -2
  313. package/dist/{chunk-HBPCJRZX.cjs → chunk-LKRBFBFN.cjs} +2 -2
  314. package/dist/{chunk-EIILOQ6X.js → chunk-LLZYRINH.js} +1 -1
  315. package/dist/{chunk-CVSQT5PV.cjs → chunk-M2SSGV7K.cjs} +2 -2
  316. package/dist/{chunk-MK4ZGXVE.cjs → chunk-M2UDF7PY.cjs} +2 -2
  317. package/dist/{chunk-SPZSDRM6.cjs → chunk-M56QQHVA.cjs} +2 -2
  318. package/dist/{chunk-IPFHV2FV.cjs → chunk-MB6NKETA.cjs} +2 -2
  319. package/dist/{chunk-PBNPZ7UX.js → chunk-MEUS7LCE.js} +1 -1
  320. package/dist/{chunk-S2QF6HG2.cjs → chunk-N5NFJW7Y.cjs} +2 -2
  321. package/dist/chunk-NBYH536J.js +291 -0
  322. package/dist/{chunk-W3MM2BSK.cjs → chunk-NEVFKRDU.cjs} +2 -2
  323. package/dist/chunk-NJK5F5TF.cjs +21 -0
  324. package/dist/{chunk-CK36RZXR.js → chunk-O4JDWMYD.js} +1 -1
  325. package/dist/{chunk-5RXE7X63.js → chunk-OEBV2PMV.js} +2 -2
  326. package/dist/{chunk-HKZQ56AS.cjs → chunk-OXJOO2YF.cjs} +2 -2
  327. package/dist/{chunk-U4BMKRG6.js → chunk-PSQMDY3B.js} +1 -1
  328. package/dist/{chunk-SHPXCOTN.cjs → chunk-QOAWSFXA.cjs} +3 -3
  329. package/dist/{chunk-RNBO3DEN.js → chunk-QT44OHHL.js} +1 -1
  330. package/dist/{chunk-7BPPP4M2.js → chunk-QTR3RH4N.js} +1 -1
  331. package/dist/{chunk-ID6BXIOZ.js → chunk-RELUU5QZ.js} +1 -1
  332. package/dist/{chunk-4K3MX2J6.js → chunk-RJ3DWFSK.js} +1 -1
  333. package/dist/{chunk-DBNEZWK2.cjs → chunk-RUZRPIHW.cjs} +2 -2
  334. package/dist/{chunk-O3R6C3WW.js → chunk-RW5JOHG7.js} +1 -1
  335. package/dist/{chunk-4MO4WLKA.cjs → chunk-RXMOHUBP.cjs} +2 -2
  336. package/dist/{chunk-YGULLD73.js → chunk-SBSIGQDU.js} +1 -1
  337. package/dist/{chunk-JX45ME2Z.js → chunk-SITPUXIR.js} +1 -1
  338. package/dist/{chunk-TIJGLQKO.js → chunk-SZMCMLOQ.js} +1 -1
  339. package/dist/{chunk-IPDIEZBN.cjs → chunk-T67ZXTVG.cjs} +2 -2
  340. package/dist/{chunk-33TQRYMY.js → chunk-TME4YJNP.js} +1 -1
  341. package/dist/{chunk-N2P26AAD.js → chunk-TPA4HEAO.js} +1 -1
  342. package/dist/{chunk-U52A2DMK.cjs → chunk-TTNPMFXL.cjs} +2 -2
  343. package/dist/chunk-TXDVGTQD.cjs +14 -0
  344. package/dist/{chunk-XD6XML3Z.cjs → chunk-UNCVJH6J.cjs} +2 -2
  345. package/dist/{chunk-CBRWUULQ.js → chunk-UUVJYJHD.js} +1 -1
  346. package/dist/{chunk-V56ZCL54.js → chunk-VSZEOCIE.js} +1 -1
  347. package/dist/{chunk-UX2IZQNM.cjs → chunk-WQBBB6BN.cjs} +2 -2
  348. package/dist/chunk-WSZWUQDD.cjs +291 -0
  349. package/dist/{chunk-5WN2YXNU.cjs → chunk-WTMV77T2.cjs} +2 -2
  350. package/dist/{chunk-JM6HKPSC.cjs → chunk-WWOAKRNG.cjs} +2 -2
  351. package/dist/{chunk-UNHWLNE4.js → chunk-XSE4CFSM.js} +1 -1
  352. package/dist/{chunk-HO7KACZZ.cjs → chunk-YO4M3BZL.cjs} +2 -2
  353. package/dist/chunk-YPSWSI3M.js +21 -0
  354. package/dist/{chunk-6BERHKDQ.cjs → chunk-Z5TVWG3I.cjs} +2 -2
  355. package/dist/{chunk-ONN5COYQ.cjs → chunk-ZI33AJQ5.cjs} +2 -2
  356. package/dist/{chunk-DIP442PL.js → chunk-ZKQ573B7.js} +1 -1
  357. package/dist/consent-6SIH4NQS.cjs +342 -0
  358. package/dist/consent-7MNRAINV.js +342 -0
  359. package/dist/consent-CS2ZBZX4.cjs +7 -0
  360. package/dist/consent-NNYHF2N4.js +7 -0
  361. package/dist/consent-runtime-KZ5D4XZU.cjs +5 -0
  362. package/dist/consent-runtime-OAPXBJH2.js +5 -0
  363. package/dist/customer-portal-D3SLPAHZ.js +7 -0
  364. package/dist/customer-portal-L5DEQEGC.js +14142 -0
  365. package/dist/customer-portal-MXILX4KH.cjs +14142 -0
  366. package/dist/customer-portal-UR3GN4VU.cjs +7 -0
  367. package/dist/customer-portal-runtime-MRVZ7JR4.js +5 -0
  368. package/dist/customer-portal-runtime-VGK7RMLC.cjs +5 -0
  369. package/dist/dashboard-RKUQLIME.cjs +483 -0
  370. package/dist/dashboard-UDL26RGG.js +483 -0
  371. package/dist/dashboard-UHYR5RTY.cjs +7 -0
  372. package/dist/dashboard-UTPGXFW5.js +7 -0
  373. package/dist/dashboard-runtime-EXP2AM44.cjs +5 -0
  374. package/dist/dashboard-runtime-PSKSGLCF.js +5 -0
  375. package/dist/data-management-QH2IJ5QV.js +7 -0
  376. package/dist/data-management-TEFRLGSU.cjs +7 -0
  377. package/dist/data-management-W5JQGGGH.js +925 -0
  378. package/dist/data-management-XFSRLFYA.cjs +925 -0
  379. package/dist/data-management-runtime-PAC7UFGT.cjs +5 -0
  380. package/dist/data-management-runtime-XZ347IUB.js +5 -0
  381. package/dist/deduplication-7RTGTLN5.cjs +193 -0
  382. package/dist/deduplication-ECVAZVVA.cjs +7 -0
  383. package/dist/deduplication-GYIST22B.js +7 -0
  384. package/dist/deduplication-RKLRTNZU.js +193 -0
  385. package/dist/deduplication-runtime-BBHG7MJW.cjs +5 -0
  386. package/dist/deduplication-runtime-DLGBF4RN.js +5 -0
  387. package/dist/design-AO6EGLHD.cjs +1352 -0
  388. package/dist/design-KUVXMFFK.cjs +7 -0
  389. package/dist/design-VLRA2WGV.js +1352 -0
  390. package/dist/design-YKBXRW5C.js +7 -0
  391. package/dist/design-runtime-3SKJA7QH.js +5 -0
  392. package/dist/design-runtime-Y3VGTQLP.cjs +5 -0
  393. package/dist/document-CY2A2OE7.js +7 -0
  394. package/dist/document-OVTR7RVH.cjs +744 -0
  395. package/dist/document-RYQ7MF6U.cjs +7 -0
  396. package/dist/document-SEZ45XAO.js +744 -0
  397. package/dist/document-runtime-GFEBGNMS.js +5 -0
  398. package/dist/document-runtime-RG3F4R6O.cjs +5 -0
  399. package/dist/email-settings-QGCIUWLC.js +2427 -0
  400. package/dist/email-settings-SEGEKVMF.cjs +2427 -0
  401. package/dist/email-settings-TQ5GGDYG.js +7 -0
  402. package/dist/email-settings-TQC34GST.cjs +7 -0
  403. package/dist/email-settings-runtime-NS7MU3RB.cjs +5 -0
  404. package/dist/email-settings-runtime-X7F3EPAB.js +5 -0
  405. package/dist/email-template-26SANLRD.cjs +1308 -0
  406. package/dist/email-template-346NDG4D.js +1308 -0
  407. package/dist/email-template-M2VVL4TI.cjs +7 -0
  408. package/dist/email-template-WYROV3UG.js +7 -0
  409. package/dist/email-template-runtime-QBB64BJQ.js +5 -0
  410. package/dist/email-template-runtime-UI2FS4H5.cjs +5 -0
  411. package/dist/entity-FA6PZX6S.js +7 -0
  412. package/dist/entity-HSCBRIOS.js +9411 -0
  413. package/dist/entity-IX5NSHPX.cjs +7 -0
  414. package/dist/entity-UKAWTND4.cjs +9411 -0
  415. package/dist/entity-mapping-7J3IAGKQ.js +7 -0
  416. package/dist/entity-mapping-PK2XAARN.cjs +1506 -0
  417. package/dist/entity-mapping-UOGYYCZH.js +1506 -0
  418. package/dist/entity-mapping-ZNMFCUKK.cjs +7 -0
  419. package/dist/entity-mapping-runtime-734TTUA2.cjs +5 -0
  420. package/dist/entity-mapping-runtime-HCOJM6DV.js +5 -0
  421. package/dist/entity-runtime-QSFVEFJ6.js +5 -0
  422. package/dist/entity-runtime-XSAICIVR.cjs +5 -0
  423. package/dist/environments-5IS2ZJYQ.cjs +352 -0
  424. package/dist/environments-E3X6NYGX.js +7 -0
  425. package/dist/environments-P2JS4F5N.cjs +7 -0
  426. package/dist/environments-VCREW73K.js +352 -0
  427. package/dist/environments-runtime-BPR47PW7.js +5 -0
  428. package/dist/environments-runtime-L6TJCVW6.cjs +5 -0
  429. package/dist/erp-integration-735KQ73W.js +5295 -0
  430. package/dist/erp-integration-EP2XFEH5.js +7 -0
  431. package/dist/erp-integration-NNV72VFI.cjs +7 -0
  432. package/dist/erp-integration-W7FZDJOB.cjs +5295 -0
  433. package/dist/erp-integration-runtime-FNJXDO75.js +5 -0
  434. package/dist/erp-integration-runtime-WXZIQCLJ.cjs +5 -0
  435. package/dist/event-catalog-C45ISVMP.cjs +7 -0
  436. package/dist/event-catalog-D7VJ7WRS.js +7 -0
  437. package/dist/event-catalog-MZYFJ23V.cjs +965 -0
  438. package/dist/event-catalog-ZUFXLY7B.js +965 -0
  439. package/dist/event-catalog-runtime-5HQSAJVX.cjs +5 -0
  440. package/dist/event-catalog-runtime-6FA3SCRI.js +5 -0
  441. package/dist/file-637CTR4Y.cjs +2744 -0
  442. package/dist/file-EJJBQEQI.js +2744 -0
  443. package/dist/file-UOWBTDIU.cjs +7 -0
  444. package/dist/file-XSN3NAVZ.js +7 -0
  445. package/dist/file-runtime-B6AAGZQF.js +5 -0
  446. package/dist/file-runtime-SFZIKODF.cjs +5 -0
  447. package/dist/iban-24GHLFDB.cjs +7 -0
  448. package/dist/iban-ETTCKOHK.cjs +148 -0
  449. package/dist/iban-HXFDAF4I.js +148 -0
  450. package/dist/iban-LDKYDVQV.js +7 -0
  451. package/dist/iban-runtime-EVXLFPPP.js +5 -0
  452. package/dist/iban-runtime-TUM5LVHO.cjs +5 -0
  453. package/dist/index.cjs +113 -101
  454. package/dist/index.d.cts +36 -5
  455. package/dist/index.d.ts +36 -5
  456. package/dist/index.js +64 -52
  457. package/dist/journey-7CKX67M7.js +7 -0
  458. package/dist/journey-EUZ6MVHG.cjs +7 -0
  459. package/dist/journey-KW3ZFQAL.js +2194 -0
  460. package/dist/journey-XIMSLSZC.cjs +2194 -0
  461. package/dist/journey-runtime-SPBL3F32.cjs +5 -0
  462. package/dist/journey-runtime-YXIAOTMD.js +5 -0
  463. package/dist/kanban-CHTH2ZSY.cjs +7 -0
  464. package/dist/kanban-HI6LL5WY.js +7 -0
  465. package/dist/kanban-M4P7R5TM.cjs +890 -0
  466. package/dist/kanban-QXQEQIF4.js +890 -0
  467. package/dist/kanban-runtime-NHEUWTCG.cjs +5 -0
  468. package/dist/kanban-runtime-R6EWHBFS.js +5 -0
  469. package/dist/message-2VOVRXBB.cjs +2447 -0
  470. package/dist/message-3XZLJR6R.cjs +7 -0
  471. package/dist/message-M62W3KP2.js +2447 -0
  472. package/dist/message-ZNMCS5YH.js +7 -0
  473. package/dist/message-runtime-ITR7MPKT.cjs +5 -0
  474. package/dist/message-runtime-YMKW2N3R.js +5 -0
  475. package/dist/metering-DZNZPPY6.cjs +7 -0
  476. package/dist/metering-KEMILE75.cjs +2198 -0
  477. package/dist/metering-KOSCPPKB.js +7 -0
  478. package/dist/metering-W3TA6ZUQ.js +2198 -0
  479. package/dist/metering-runtime-HAIWXZXJ.cjs +5 -0
  480. package/dist/metering-runtime-NJ6NEUMB.js +5 -0
  481. package/dist/notes-3AO5GXIT.js +7 -0
  482. package/dist/notes-4LVCGLBE.js +1427 -0
  483. package/dist/notes-MPWOQC5J.cjs +7 -0
  484. package/dist/notes-OBM5POWI.cjs +1427 -0
  485. package/dist/notes-runtime-CVNAVKPP.js +5 -0
  486. package/dist/notes-runtime-E3YYF74V.cjs +5 -0
  487. package/dist/notification-EEYPLPUV.cjs +1381 -0
  488. package/dist/notification-MJQGIBM7.js +1381 -0
  489. package/dist/notification-PZOCUYD5.cjs +7 -0
  490. package/dist/notification-VWDZRSFZ.js +7 -0
  491. package/dist/notification-runtime-7QLZTPHG.cjs +5 -0
  492. package/dist/notification-runtime-KREP32YP.js +5 -0
  493. package/dist/organization-2UK7QZLQ.cjs +615 -0
  494. package/dist/organization-RARYYG2E.cjs +7 -0
  495. package/dist/organization-U5HPX627.js +615 -0
  496. package/dist/organization-ZERPH2IH.js +7 -0
  497. package/dist/organization-runtime-LBCVCZ3W.cjs +5 -0
  498. package/dist/organization-runtime-P3WZ2BBU.js +5 -0
  499. package/dist/{organization.d-Bd2Hmk8v.d.cts → organization.d-DqwnNxMg.d.cts} +34 -7
  500. package/dist/{organization.d-Bd2Hmk8v.d.ts → organization.d-DqwnNxMg.d.ts} +34 -7
  501. package/dist/partner-directory-2XMPQWWX.js +7 -0
  502. package/dist/partner-directory-CG5CYJGB.cjs +1600 -0
  503. package/dist/partner-directory-WHNTKQ5E.cjs +7 -0
  504. package/dist/partner-directory-XJ7KI7EX.js +1600 -0
  505. package/dist/partner-directory-runtime-QURDOO4Z.js +5 -0
  506. package/dist/partner-directory-runtime-RSONSDNJ.cjs +5 -0
  507. package/dist/permissions-4T3GFNB4.js +7 -0
  508. package/dist/permissions-FGBIJNN7.cjs +7 -0
  509. package/dist/permissions-SGPGANEP.js +1415 -0
  510. package/dist/permissions-WCOABHKQ.cjs +1415 -0
  511. package/dist/permissions-runtime-D74HOCVO.js +5 -0
  512. package/dist/permissions-runtime-O5LH7WOU.cjs +5 -0
  513. package/dist/pricing-3RNPCUR6.js +9362 -0
  514. package/dist/pricing-4Z4TOETA.cjs +7 -0
  515. package/dist/pricing-C65DTZSX.js +7 -0
  516. package/dist/pricing-VYHPSVKM.cjs +9362 -0
  517. package/dist/pricing-runtime-6XNS4EOF.cjs +5 -0
  518. package/dist/pricing-runtime-JRR4FWFI.js +5 -0
  519. package/dist/pricing-tier-36WV4P4X.js +121 -0
  520. package/dist/pricing-tier-FKQPW2ND.cjs +121 -0
  521. package/dist/pricing-tier-NI35WOUP.cjs +7 -0
  522. package/dist/pricing-tier-VUOFK5Q7.js +7 -0
  523. package/dist/pricing-tier-runtime-32BCKJ7Y.cjs +5 -0
  524. package/dist/pricing-tier-runtime-LEGBNNLA.js +5 -0
  525. package/dist/purpose-AKOEUHZ4.cjs +7 -0
  526. package/dist/purpose-JC2E7W3M.cjs +523 -0
  527. package/dist/purpose-QFQ4W255.js +523 -0
  528. package/dist/purpose-RBRV3AQZ.js +7 -0
  529. package/dist/purpose-runtime-C6IGTUA6.cjs +5 -0
  530. package/dist/purpose-runtime-V5X5ESZV.js +5 -0
  531. package/dist/sandbox-2KN4X66E.cjs +7 -0
  532. package/dist/sandbox-CLZTN7IW.cjs +445 -0
  533. package/dist/sandbox-L2SOOGGR.js +7 -0
  534. package/dist/sandbox-O2NWMZGJ.js +445 -0
  535. package/dist/sandbox-runtime-4MLOMFPK.js +5 -0
  536. package/dist/sandbox-runtime-GKEK3GQB.cjs +5 -0
  537. package/dist/submission-6FD67HIE.cjs +308 -0
  538. package/dist/submission-7BISSPO6.js +7 -0
  539. package/dist/submission-MWJU4L32.js +308 -0
  540. package/dist/submission-Q24BU4GS.cjs +7 -0
  541. package/dist/submission-runtime-5FD4AQSD.cjs +5 -0
  542. package/dist/submission-runtime-JPHKPQ77.js +5 -0
  543. package/dist/targeting-4CQDSEKL.cjs +1369 -0
  544. package/dist/targeting-EYGYZD6M.cjs +7 -0
  545. package/dist/targeting-GEJTJN5Z.js +7 -0
  546. package/dist/targeting-RB7LBQMX.js +1369 -0
  547. package/dist/targeting-runtime-6JFMP262.cjs +5 -0
  548. package/dist/targeting-runtime-M2VSTKFT.js +5 -0
  549. package/dist/template-variables-JYHE2VCH.cjs +1447 -0
  550. package/dist/template-variables-OAYS2E3G.cjs +1148 -0
  551. package/dist/template-variables-VKDJJZUT.js +1148 -0
  552. package/dist/template-variables-XLIW4GY6.js +1447 -0
  553. package/dist/template-variables-runtime-62U3ZY5P.js +5 -0
  554. package/dist/template-variables-runtime-LFOA32UM.cjs +5 -0
  555. package/dist/{types-BwBvJkY_.d.ts → types-ChU9Acbv.d.cts} +3 -0
  556. package/dist/{types-BwBvJkY_.d.cts → types-ChU9Acbv.d.ts} +3 -0
  557. package/dist/user-DKA6DDPX.cjs +2265 -0
  558. package/dist/user-EIEOI3OG.js +7 -0
  559. package/dist/user-NJJ7XVKB.cjs +7 -0
  560. package/dist/user-O4JDAIRO.js +2265 -0
  561. package/dist/user-runtime-7O2HLFVQ.cjs +5 -0
  562. package/dist/user-runtime-U4HYUWJU.js +5 -0
  563. package/dist/validation-rules-AYCAOVDZ.cjs +1344 -0
  564. package/dist/validation-rules-GCI64B57.js +1344 -0
  565. package/dist/validation-rules-P6F5P73P.js +7 -0
  566. package/dist/validation-rules-VDU3CIZV.cjs +7 -0
  567. package/dist/validation-rules-runtime-6MRCS5X2.js +5 -0
  568. package/dist/validation-rules-runtime-X7M3QE5I.cjs +5 -0
  569. package/dist/webhooks-I7JWU34X.cjs +7 -0
  570. package/dist/webhooks-L3FXPRKT.cjs +1431 -0
  571. package/dist/webhooks-WPLEHVPX.js +7 -0
  572. package/dist/webhooks-XXLU2KWP.js +1431 -0
  573. package/dist/webhooks-runtime-EBM4M3SU.cjs +5 -0
  574. package/dist/webhooks-runtime-XCQYIGQK.js +5 -0
  575. package/dist/workflow-3LLURW3H.js +7 -0
  576. package/dist/workflow-RAGQDYXT.cjs +7 -0
  577. package/dist/workflow-VLNZNE3S.js +3834 -0
  578. package/dist/workflow-YJHUCGVK.cjs +3834 -0
  579. package/dist/workflow-definition-7BA4H6W3.cjs +3100 -0
  580. package/dist/workflow-definition-B6ELOZUR.cjs +7 -0
  581. package/dist/workflow-definition-D24CRCK2.js +7 -0
  582. package/dist/workflow-definition-VFYWBQQ3.js +3100 -0
  583. package/dist/workflow-definition-runtime-S7AZHOU7.js +5 -0
  584. package/dist/workflow-definition-runtime-VRND6VQR.cjs +5 -0
  585. package/dist/workflow-runtime-RLZO2OQB.js +5 -0
  586. package/dist/workflow-runtime-WCJ7NRTH.cjs +5 -0
  587. package/docs/access-token.md +440 -0
  588. package/docs/address-suggestions.md +256 -0
  589. package/docs/address.md +284 -0
  590. package/docs/ai-agents.md +1891 -0
  591. package/docs/app.md +3388 -0
  592. package/docs/audit-logs.md +242 -0
  593. package/docs/automation.md +4044 -0
  594. package/docs/billing.md +783 -0
  595. package/docs/blueprint-manifest.md +3234 -0
  596. package/docs/consent.md +213 -0
  597. package/docs/customer-portal.md +11399 -0
  598. package/docs/dashboard.md +640 -0
  599. package/docs/data-management.md +883 -0
  600. package/docs/deduplication.md +135 -0
  601. package/docs/design.md +1273 -0
  602. package/docs/document.md +590 -0
  603. package/docs/email-settings.md +1544 -0
  604. package/docs/email-template.md +1197 -0
  605. package/docs/entity-mapping.md +2864 -0
  606. package/docs/entity.md +9595 -0
  607. package/docs/environments.md +259 -0
  608. package/docs/erp-integration.md +4572 -0
  609. package/docs/event-catalog.md +835 -0
  610. package/docs/file.md +1453 -0
  611. package/docs/iban.md +61 -0
  612. package/docs/journey.md +2268 -0
  613. package/docs/kanban.md +882 -0
  614. package/docs/message.md +2122 -0
  615. package/docs/metering.md +1431 -0
  616. package/docs/notes.md +670 -0
  617. package/docs/notification.md +1207 -0
  618. package/docs/organization.md +733 -0
  619. package/docs/partner-directory.md +1197 -0
  620. package/docs/permissions.md +1047 -0
  621. package/docs/pricing-tier.md +81 -0
  622. package/docs/pricing.md +5923 -0
  623. package/docs/purpose.md +283 -0
  624. package/docs/sandbox.md +389 -0
  625. package/docs/submission.md +195 -0
  626. package/docs/targeting.md +959 -0
  627. package/docs/template-variables.md +1141 -0
  628. package/docs/user.md +2555 -0
  629. package/docs/validation-rules.md +1597 -0
  630. package/docs/webhooks.md +996 -0
  631. package/docs/workflow-definition.md +3842 -0
  632. package/docs/workflow.md +4465 -0
  633. package/package.json +5 -3
  634. package/dist/chunk-GMBRXWMD.cjs +0 -14
  635. package/dist/chunk-L43U5IO3.js +0 -14
  636. package/dist/chunk-XE25WERA.js +0 -125
  637. package/dist/chunk-XEQMAKGA.cjs +0 -125
package/docs/user.md ADDED
@@ -0,0 +1,2555 @@
1
+ # User API
2
+
3
+ - **Base URL:** `https://user.sls.epilot.io`
4
+ - **Full API Docs:** [https://docs.epilot.io/api/user](https://docs.epilot.io/api/user)
5
+
6
+ ## Usage
7
+
8
+ ```ts
9
+ import { epilot } from '@epilot/sdk'
10
+
11
+ epilot.authorize(() => '<token>')
12
+ const { data } = await epilot.user.signUpUser(...)
13
+ ```
14
+
15
+ ### Tree-shakeable import
16
+
17
+ ```ts
18
+ import { getClient, authorize } from '@epilot/sdk/user'
19
+
20
+ const userClient = getClient()
21
+ authorize(userClient, () => '<token>')
22
+ const { data } = await userClient.signUpUser(...)
23
+ ```
24
+
25
+ ## Operations
26
+
27
+ **User V2**
28
+ - [`signUpUser`](#signupuser)
29
+ - [`getMeV2`](#getmev2)
30
+ - [`listUsersV2`](#listusersv2)
31
+ - [`getUserV2`](#getuserv2)
32
+ - [`updateUserV2`](#updateuserv2)
33
+ - [`deleteUserV2`](#deleteuserv2)
34
+ - [`inviteUser`](#inviteuser)
35
+ - [`resendUserInvitation`](#resenduserinvitation)
36
+ - [`getGroupsForUser`](#getgroupsforuser)
37
+ - [`verifyEmailWithToken`](#verifyemailwithtoken)
38
+ - [`checkInviteToken`](#checkinvitetoken)
39
+ - [`activateUser`](#activateuser)
40
+ - [`rejectInvite`](#rejectinvite)
41
+ - [`getUserLoginParametersV2`](#getuserloginparametersv2)
42
+ - [`beginPasskeyAuthentication`](#beginpasskeyauthentication)
43
+ - [`beginDiscoverablePasskeyAuthentication`](#begindiscoverablepasskeyauthentication)
44
+ - [`resolveDiscoverableCredential`](#resolvediscoverablecredential)
45
+ - [`beginPasskeyRegistration`](#beginpasskeyregistration)
46
+ - [`completePasskeyRegistration`](#completepasskeyregistration)
47
+ - [`listPasskeys`](#listpasskeys)
48
+ - [`deletePasskey`](#deletepasskey)
49
+ - [`switchOrganization`](#switchorganization)
50
+
51
+ **Group**
52
+ - [`getGroups`](#getgroups)
53
+ - [`createGroup`](#creategroup)
54
+ - [`getGroup`](#getgroup)
55
+ - [`updateGroup`](#updategroup)
56
+ - [`deleteGroup`](#deletegroup)
57
+ - [`advanceUserAssignment`](#advanceuserassignment)
58
+
59
+ **Navigation**
60
+ - [`createNavigation`](#createnavigation)
61
+ - [`getNavigation`](#getnavigation)
62
+
63
+ **User V1**
64
+ - [`getMe`](#getme)
65
+ - [`listUsers`](#listusers)
66
+ - [`getUser`](#getuser)
67
+ - [`getUserLoginParameters`](#getuserloginparameters)
68
+
69
+ **Schemas**
70
+ - [`NavigationId`](#navigationid)
71
+ - [`Navigation`](#navigation)
72
+ - [`NavigationCreateRequest`](#navigationcreaterequest)
73
+ - [`NavigationConfiguration`](#navigationconfiguration)
74
+ - [`NavigationItem`](#navigationitem)
75
+ - [`NavigationKeyItem`](#navigationkeyitem)
76
+ - [`NavigationGroupItem`](#navigationgroupitem)
77
+ - [`InviteToken`](#invitetoken)
78
+ - [`PartnerInvitationToken`](#partnerinvitationtoken)
79
+ - [`VerificationToken`](#verificationtoken)
80
+ - [`GroupId`](#groupid)
81
+ - [`UserId`](#userid)
82
+ - [`Query`](#query)
83
+ - [`OrganizationId`](#organizationid)
84
+ - [`Limit`](#limit)
85
+ - [`Offset`](#offset)
86
+ - [`Hydrate`](#hydrate)
87
+ - [`Username`](#username)
88
+ - [`UserInvitationPayload`](#userinvitationpayload)
89
+ - [`UserActivationPayload`](#useractivationpayload)
90
+ - [`UserVerificationPayload`](#userverificationpayload)
91
+ - [`UserV2`](#userv2)
92
+ - [`User`](#user)
93
+ - [`LoginParameters`](#loginparameters)
94
+ - [`CreateGroupReq`](#creategroupreq)
95
+ - [`UpdateGroupReq`](#updategroupreq)
96
+ - [`Group`](#group)
97
+ - [`SignupUserPayload`](#signupuserpayload)
98
+ - [`OrganizationDetail`](#organizationdetail)
99
+ - [`CognitoDetails`](#cognitodetails)
100
+ - [`UserDetail`](#userdetail)
101
+ - [`Organization`](#organization)
102
+ - [`DataPointsResponse`](#datapointsresponse)
103
+ - [`DataPoint`](#datapoint)
104
+ - [`Passkey`](#passkey)
105
+ - [`PasskeyAuthenticationOptions`](#passkeyauthenticationoptions)
106
+ - [`PasskeyRegistrationOptions`](#passkeyregistrationoptions)
107
+ - [`PasskeyRegistrationResponse`](#passkeyregistrationresponse)
108
+
109
+ ### `signUpUser`
110
+
111
+ `POST /v2/users/public/signup`
112
+
113
+ ```ts
114
+ const { data } = await client.signUpUser(
115
+ {
116
+ token: 'example',
117
+ },
118
+ {
119
+ organization_detail: {
120
+ type: 'Vendor',
121
+ name: 'Epilot',
122
+ pricing_tier: 'professional',
123
+ email: 'string',
124
+ phone: 'string',
125
+ website: 'string',
126
+ is_privacy_policy_checked: false,
127
+ is_terms_and_conditions_checked: false
128
+ },
129
+ user_detail: {
130
+ full_name: 'Example user',
131
+ email: 'user@example.com',
132
+ password: 'AKjhdakjsdh@!34'
133
+ },
134
+ language: 'en'
135
+ },
136
+ )
137
+ ```
138
+
139
+ <details>
140
+ <summary>Response</summary>
141
+
142
+ ```json
143
+ {
144
+ "user": {
145
+ "id": "string",
146
+ "organization_id": "string",
147
+ "email": "user@example.com",
148
+ "display_name": "Example user",
149
+ "name": "Example user",
150
+ "preferred_language": "de",
151
+ "signature": "<p>Thanks</p>",
152
+ "custom_navigation": "5gbe4nkp6jsfq",
153
+ "roles": ["Owner"],
154
+ "image_uri": {
155
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
156
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
157
+ },
158
+ "properties": [
159
+ {
160
+ "name": "profileImageName",
161
+ "value": "avatar.png"
162
+ }
163
+ ]
164
+ },
165
+ "organization": {
166
+ "id": "string",
167
+ "type": "Vendor",
168
+ "name": "Epilot",
169
+ "signature": "<p>Thanks</p>",
170
+ "symbol": "EPI",
171
+ "pricing_tier": "professional",
172
+ "email": "someone@epilot.cloud",
173
+ "phone": 49123123123,
174
+ "website": "https://epilot.cloud",
175
+ "address": {
176
+ "country": "string",
177
+ "city": "string",
178
+ "postal_code": "string",
179
+ "street": "string",
180
+ "street_number": "string"
181
+ },
182
+ "logo_url": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
183
+ "logo_thumbnail_url": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
184
+ "is_unlicensed_org": false,
185
+ "cognito_details": {
186
+ "cognito_region": "eu-central-1",
187
+ "cognito_user_pool_id": "eu-central-sample",
188
+ "cognito_user_pool_client_id": "asbkh213ehkquwhdi",
189
+ "cognito_user_pool_arn": "arn:aws:cognito-idp:eu-central-1:123456789012:userpool/eu-central-sample"
190
+ }
191
+ }
192
+ }
193
+ ```
194
+
195
+ </details>
196
+
197
+ ---
198
+
199
+ ### `getMeV2`
200
+
201
+ Get currently logged in user
202
+
203
+ `GET /v2/users/me`
204
+
205
+ ```ts
206
+ const { data } = await client.getMeV2()
207
+ ```
208
+
209
+ <details>
210
+ <summary>Response</summary>
211
+
212
+ ```json
213
+ {
214
+ "id": "string",
215
+ "organization_id": "string",
216
+ "created_at": "1970-01-01T00:00:00.000Z",
217
+ "activated_at": "1970-01-01T00:00:00.000Z",
218
+ "display_name": "Example User",
219
+ "status": "Active",
220
+ "email": "user@example.com",
221
+ "draft_email": "user@example.com",
222
+ "department": "Sales",
223
+ "phone": 1234567890,
224
+ "secondary_phone": 1234567890,
225
+ "mfa_enabled": false,
226
+ "phone_verified": true,
227
+ "token": "string",
228
+ "signature": "<p>Thanks</p>",
229
+ "is_signature_enabled": true,
230
+ "preferred_language": "de",
231
+ "custom_start_page": "/app/dashboard",
232
+ "custom_navigation": "5gbe4nkp6jsfq",
233
+ "override_release_channel": "canary",
234
+ "feature_preferences": {
235
+ "feature_name": true
236
+ },
237
+ "image_uri": {
238
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
239
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
240
+ },
241
+ "favorites": {
242
+ "entity_views": {
243
+ "opportunity": "891a5409850abf8b92bd2cb7bdd2844d32ce6bec",
244
+ "order": "628aee91-7c2f-4047-ab0d-433582a19c49"
245
+ },
246
+ "dashboard": "751ff121-9ac2-4511-a2e6-851f11287380"
247
+ },
248
+ "email_notification_setting": {
249
+ "added_participant_opportunity": true,
250
+ "assigned_opportunity": true,
251
+ "assigned_task": true,
252
+ "comment_opportunity": true,
253
+ "deleted_task": true,
254
+ "escalated_task": true,
255
+ "message_receive_opportunity": true,
256
+ "message_send_opportunity": true,
257
+ "created_task": true,
258
+ "created_opportunity_manual": true,
259
+ "created_opportunity_auto": true,
260
+ "deleted_opportunity": true
261
+ },
262
+ "properties": [
263
+ {
264
+ "name": "profileImageName",
265
+ "value": "avatar.png"
266
+ }
267
+ ]
268
+ }
269
+ ```
270
+
271
+ </details>
272
+
273
+ ---
274
+
275
+ ### `listUsersV2`
276
+
277
+ Get the list of organization users
278
+
279
+ `GET /v2/users`
280
+
281
+ ```ts
282
+ const { data } = await client.listUsersV2({
283
+ query: 'example',
284
+ limit: 1,
285
+ offset: 1,
286
+ })
287
+ ```
288
+
289
+ <details>
290
+ <summary>Response</summary>
291
+
292
+ ```json
293
+ {
294
+ "results": [
295
+ {
296
+ "id": "string",
297
+ "organization_id": "string",
298
+ "created_at": "1970-01-01T00:00:00.000Z",
299
+ "activated_at": "1970-01-01T00:00:00.000Z",
300
+ "display_name": "Example User",
301
+ "status": "Active",
302
+ "email": "user@example.com",
303
+ "draft_email": "user@example.com",
304
+ "department": "Sales",
305
+ "phone": 1234567890,
306
+ "secondary_phone": 1234567890,
307
+ "mfa_enabled": false,
308
+ "phone_verified": true,
309
+ "token": "string",
310
+ "signature": "<p>Thanks</p>",
311
+ "is_signature_enabled": true,
312
+ "preferred_language": "de",
313
+ "custom_start_page": "/app/dashboard",
314
+ "custom_navigation": "5gbe4nkp6jsfq",
315
+ "override_release_channel": "canary",
316
+ "feature_preferences": {
317
+ "feature_name": true
318
+ },
319
+ "image_uri": {
320
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
321
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
322
+ },
323
+ "favorites": {
324
+ "entity_views": {
325
+ "opportunity": "891a5409850abf8b92bd2cb7bdd2844d32ce6bec",
326
+ "order": "628aee91-7c2f-4047-ab0d-433582a19c49"
327
+ },
328
+ "dashboard": "751ff121-9ac2-4511-a2e6-851f11287380"
329
+ },
330
+ "email_notification_setting": {
331
+ "added_participant_opportunity": true,
332
+ "assigned_opportunity": true,
333
+ "assigned_task": true,
334
+ "comment_opportunity": true,
335
+ "deleted_task": true,
336
+ "escalated_task": true,
337
+ "message_receive_opportunity": true,
338
+ "message_send_opportunity": true,
339
+ "created_task": true,
340
+ "created_opportunity_manual": true,
341
+ "created_opportunity_auto": true,
342
+ "deleted_opportunity": true
343
+ },
344
+ "properties": [
345
+ {
346
+ "name": "profileImageName",
347
+ "value": "avatar.png"
348
+ }
349
+ ]
350
+ }
351
+ ]
352
+ }
353
+ ```
354
+
355
+ </details>
356
+
357
+ ---
358
+
359
+ ### `getUserV2`
360
+
361
+ Get user details by user id
362
+
363
+ `GET /v2/users/{id}`
364
+
365
+ ```ts
366
+ const { data } = await client.getUserV2({
367
+ id: '123e4567-e89b-12d3-a456-426614174000',
368
+ })
369
+ ```
370
+
371
+ <details>
372
+ <summary>Response</summary>
373
+
374
+ ```json
375
+ {
376
+ "id": "string",
377
+ "organization_id": "string",
378
+ "created_at": "1970-01-01T00:00:00.000Z",
379
+ "activated_at": "1970-01-01T00:00:00.000Z",
380
+ "display_name": "Example User",
381
+ "status": "Active",
382
+ "email": "user@example.com",
383
+ "draft_email": "user@example.com",
384
+ "department": "Sales",
385
+ "phone": 1234567890,
386
+ "secondary_phone": 1234567890,
387
+ "mfa_enabled": false,
388
+ "phone_verified": true,
389
+ "token": "string",
390
+ "signature": "<p>Thanks</p>",
391
+ "is_signature_enabled": true,
392
+ "preferred_language": "de",
393
+ "custom_start_page": "/app/dashboard",
394
+ "custom_navigation": "5gbe4nkp6jsfq",
395
+ "override_release_channel": "canary",
396
+ "feature_preferences": {
397
+ "feature_name": true
398
+ },
399
+ "image_uri": {
400
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
401
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
402
+ },
403
+ "favorites": {
404
+ "entity_views": {
405
+ "opportunity": "891a5409850abf8b92bd2cb7bdd2844d32ce6bec",
406
+ "order": "628aee91-7c2f-4047-ab0d-433582a19c49"
407
+ },
408
+ "dashboard": "751ff121-9ac2-4511-a2e6-851f11287380"
409
+ },
410
+ "email_notification_setting": {
411
+ "added_participant_opportunity": true,
412
+ "assigned_opportunity": true,
413
+ "assigned_task": true,
414
+ "comment_opportunity": true,
415
+ "deleted_task": true,
416
+ "escalated_task": true,
417
+ "message_receive_opportunity": true,
418
+ "message_send_opportunity": true,
419
+ "created_task": true,
420
+ "created_opportunity_manual": true,
421
+ "created_opportunity_auto": true,
422
+ "deleted_opportunity": true
423
+ },
424
+ "properties": [
425
+ {
426
+ "name": "profileImageName",
427
+ "value": "avatar.png"
428
+ }
429
+ ]
430
+ }
431
+ ```
432
+
433
+ </details>
434
+
435
+ ---
436
+
437
+ ### `updateUserV2`
438
+
439
+ Update user details
440
+
441
+ `PATCH /v2/users/{id}`
442
+
443
+ ```ts
444
+ const { data } = await client.updateUserV2(
445
+ {
446
+ id: '123e4567-e89b-12d3-a456-426614174000',
447
+ },
448
+ {
449
+ id: 'string',
450
+ organization_id: 'string',
451
+ created_at: '1970-01-01T00:00:00.000Z',
452
+ activated_at: '1970-01-01T00:00:00.000Z',
453
+ display_name: 'Example User',
454
+ status: 'Active',
455
+ email: 'user@example.com',
456
+ draft_email: 'user@example.com',
457
+ department: 'Sales',
458
+ phone: 1234567890,
459
+ secondary_phone: 1234567890,
460
+ mfa_enabled: false,
461
+ phone_verified: true,
462
+ token: 'string',
463
+ signature: '<p>Thanks</p>',
464
+ is_signature_enabled: true,
465
+ preferred_language: 'de',
466
+ custom_start_page: '/app/dashboard',
467
+ custom_navigation: '5gbe4nkp6jsfq',
468
+ override_release_channel: 'canary',
469
+ feature_preferences: {
470
+ feature_name: true
471
+ },
472
+ image_uri: {
473
+ original: 'https://account-profile-images.epilot.cloud/1/avatar.png',
474
+ thumbnail_32: 'https://account-profile-images.epilot.cloud/1/avatar_32x32.png'
475
+ },
476
+ favorites: {
477
+ entity_views: {
478
+ opportunity: '891a5409850abf8b92bd2cb7bdd2844d32ce6bec',
479
+ order: '628aee91-7c2f-4047-ab0d-433582a19c49'
480
+ },
481
+ dashboard: '751ff121-9ac2-4511-a2e6-851f11287380'
482
+ },
483
+ email_notification_setting: {
484
+ added_participant_opportunity: true,
485
+ assigned_opportunity: true,
486
+ assigned_task: true,
487
+ comment_opportunity: true,
488
+ deleted_task: true,
489
+ escalated_task: true,
490
+ message_receive_opportunity: true,
491
+ message_send_opportunity: true,
492
+ created_task: true,
493
+ created_opportunity_manual: true,
494
+ created_opportunity_auto: true,
495
+ deleted_opportunity: true
496
+ },
497
+ properties: [
498
+ {
499
+ name: 'profileImageName',
500
+ value: 'avatar.png'
501
+ }
502
+ ]
503
+ },
504
+ )
505
+ ```
506
+
507
+ <details>
508
+ <summary>Response</summary>
509
+
510
+ ```json
511
+ {
512
+ "id": "string",
513
+ "organization_id": "string",
514
+ "created_at": "1970-01-01T00:00:00.000Z",
515
+ "activated_at": "1970-01-01T00:00:00.000Z",
516
+ "display_name": "Example User",
517
+ "status": "Active",
518
+ "email": "user@example.com",
519
+ "draft_email": "user@example.com",
520
+ "department": "Sales",
521
+ "phone": 1234567890,
522
+ "secondary_phone": 1234567890,
523
+ "mfa_enabled": false,
524
+ "phone_verified": true,
525
+ "token": "string",
526
+ "signature": "<p>Thanks</p>",
527
+ "is_signature_enabled": true,
528
+ "preferred_language": "de",
529
+ "custom_start_page": "/app/dashboard",
530
+ "custom_navigation": "5gbe4nkp6jsfq",
531
+ "override_release_channel": "canary",
532
+ "feature_preferences": {
533
+ "feature_name": true
534
+ },
535
+ "image_uri": {
536
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
537
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
538
+ },
539
+ "favorites": {
540
+ "entity_views": {
541
+ "opportunity": "891a5409850abf8b92bd2cb7bdd2844d32ce6bec",
542
+ "order": "628aee91-7c2f-4047-ab0d-433582a19c49"
543
+ },
544
+ "dashboard": "751ff121-9ac2-4511-a2e6-851f11287380"
545
+ },
546
+ "email_notification_setting": {
547
+ "added_participant_opportunity": true,
548
+ "assigned_opportunity": true,
549
+ "assigned_task": true,
550
+ "comment_opportunity": true,
551
+ "deleted_task": true,
552
+ "escalated_task": true,
553
+ "message_receive_opportunity": true,
554
+ "message_send_opportunity": true,
555
+ "created_task": true,
556
+ "created_opportunity_manual": true,
557
+ "created_opportunity_auto": true,
558
+ "deleted_opportunity": true
559
+ },
560
+ "properties": [
561
+ {
562
+ "name": "profileImageName",
563
+ "value": "avatar.png"
564
+ }
565
+ ]
566
+ }
567
+ ```
568
+
569
+ </details>
570
+
571
+ ---
572
+
573
+ ### `deleteUserV2`
574
+
575
+ Delete user by user id
576
+
577
+ `DELETE /v2/users/{id}`
578
+
579
+ ```ts
580
+ const { data } = await client.deleteUserV2({
581
+ id: '123e4567-e89b-12d3-a456-426614174000',
582
+ })
583
+ ```
584
+
585
+ <details>
586
+ <summary>Response</summary>
587
+
588
+ ```json
589
+ {
590
+ "id": "string",
591
+ "organization_id": "string",
592
+ "email": "user@example.com",
593
+ "display_name": "Example user",
594
+ "name": "Example user",
595
+ "preferred_language": "de",
596
+ "signature": "<p>Thanks</p>",
597
+ "custom_navigation": "5gbe4nkp6jsfq",
598
+ "roles": ["Owner"],
599
+ "image_uri": {
600
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
601
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
602
+ },
603
+ "properties": [
604
+ {
605
+ "name": "profileImageName",
606
+ "value": "avatar.png"
607
+ }
608
+ ]
609
+ }
610
+ ```
611
+
612
+ </details>
613
+
614
+ ---
615
+
616
+ ### `inviteUser`
617
+
618
+ Creates a new user in the caller's organization and sends an invite email to activate the user
619
+
620
+ `POST /v2/users/invite`
621
+
622
+ ```ts
623
+ const { data } = await client.inviteUser(
624
+ null,
625
+ {
626
+ email: 'test@example.com',
627
+ language: 'en',
628
+ roles: ['123:owner']
629
+ },
630
+ )
631
+ ```
632
+
633
+ <details>
634
+ <summary>Response</summary>
635
+
636
+ ```json
637
+ {
638
+ "id": "string",
639
+ "organization_id": "string",
640
+ "created_at": "1970-01-01T00:00:00.000Z",
641
+ "activated_at": "1970-01-01T00:00:00.000Z",
642
+ "display_name": "Example User",
643
+ "status": "Active",
644
+ "email": "user@example.com",
645
+ "draft_email": "user@example.com",
646
+ "department": "Sales",
647
+ "phone": 1234567890,
648
+ "secondary_phone": 1234567890,
649
+ "mfa_enabled": false,
650
+ "phone_verified": true,
651
+ "token": "string",
652
+ "signature": "<p>Thanks</p>",
653
+ "is_signature_enabled": true,
654
+ "preferred_language": "de",
655
+ "custom_start_page": "/app/dashboard",
656
+ "custom_navigation": "5gbe4nkp6jsfq",
657
+ "override_release_channel": "canary",
658
+ "feature_preferences": {
659
+ "feature_name": true
660
+ },
661
+ "image_uri": {
662
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
663
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
664
+ },
665
+ "favorites": {
666
+ "entity_views": {
667
+ "opportunity": "891a5409850abf8b92bd2cb7bdd2844d32ce6bec",
668
+ "order": "628aee91-7c2f-4047-ab0d-433582a19c49"
669
+ },
670
+ "dashboard": "751ff121-9ac2-4511-a2e6-851f11287380"
671
+ },
672
+ "email_notification_setting": {
673
+ "added_participant_opportunity": true,
674
+ "assigned_opportunity": true,
675
+ "assigned_task": true,
676
+ "comment_opportunity": true,
677
+ "deleted_task": true,
678
+ "escalated_task": true,
679
+ "message_receive_opportunity": true,
680
+ "message_send_opportunity": true,
681
+ "created_task": true,
682
+ "created_opportunity_manual": true,
683
+ "created_opportunity_auto": true,
684
+ "deleted_opportunity": true
685
+ },
686
+ "properties": [
687
+ {
688
+ "name": "profileImageName",
689
+ "value": "avatar.png"
690
+ }
691
+ ]
692
+ }
693
+ ```
694
+
695
+ </details>
696
+
697
+ ---
698
+
699
+ ### `resendUserInvitation`
700
+
701
+ Resend user invitation email
702
+
703
+ `POST /v2/users/invite:resendEmail`
704
+
705
+ ```ts
706
+ const { data } = await client.resendUserInvitation(
707
+ null,
708
+ {
709
+ email: 'test@example.com',
710
+ language: 'en'
711
+ },
712
+ )
713
+ ```
714
+
715
+ <details>
716
+ <summary>Response</summary>
717
+
718
+ ```json
719
+ {
720
+ "id": "string",
721
+ "organization_id": "string",
722
+ "created_at": "1970-01-01T00:00:00.000Z",
723
+ "activated_at": "1970-01-01T00:00:00.000Z",
724
+ "display_name": "Example User",
725
+ "status": "Active",
726
+ "email": "user@example.com",
727
+ "draft_email": "user@example.com",
728
+ "department": "Sales",
729
+ "phone": 1234567890,
730
+ "secondary_phone": 1234567890,
731
+ "mfa_enabled": false,
732
+ "phone_verified": true,
733
+ "token": "string",
734
+ "signature": "<p>Thanks</p>",
735
+ "is_signature_enabled": true,
736
+ "preferred_language": "de",
737
+ "custom_start_page": "/app/dashboard",
738
+ "custom_navigation": "5gbe4nkp6jsfq",
739
+ "override_release_channel": "canary",
740
+ "feature_preferences": {
741
+ "feature_name": true
742
+ },
743
+ "image_uri": {
744
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
745
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
746
+ },
747
+ "favorites": {
748
+ "entity_views": {
749
+ "opportunity": "891a5409850abf8b92bd2cb7bdd2844d32ce6bec",
750
+ "order": "628aee91-7c2f-4047-ab0d-433582a19c49"
751
+ },
752
+ "dashboard": "751ff121-9ac2-4511-a2e6-851f11287380"
753
+ },
754
+ "email_notification_setting": {
755
+ "added_participant_opportunity": true,
756
+ "assigned_opportunity": true,
757
+ "assigned_task": true,
758
+ "comment_opportunity": true,
759
+ "deleted_task": true,
760
+ "escalated_task": true,
761
+ "message_receive_opportunity": true,
762
+ "message_send_opportunity": true,
763
+ "created_task": true,
764
+ "created_opportunity_manual": true,
765
+ "created_opportunity_auto": true,
766
+ "deleted_opportunity": true
767
+ },
768
+ "properties": [
769
+ {
770
+ "name": "profileImageName",
771
+ "value": "avatar.png"
772
+ }
773
+ ]
774
+ }
775
+ ```
776
+
777
+ </details>
778
+
779
+ ---
780
+
781
+ ### `getGroupsForUser`
782
+
783
+ Get groups of a user
784
+
785
+ `GET /v2/users/{id}/groups`
786
+
787
+ ```ts
788
+ const { data } = await client.getGroupsForUser({
789
+ id: '123e4567-e89b-12d3-a456-426614174000',
790
+ })
791
+ ```
792
+
793
+ <details>
794
+ <summary>Response</summary>
795
+
796
+ ```json
797
+ [
798
+ {
799
+ "id": "string",
800
+ "org_id": "string",
801
+ "name": "Finance",
802
+ "created_at": "2024-02-08T04:44:32.246Z",
803
+ "updated_at": "2024-02-08T04:44:32.246Z",
804
+ "created_by": "123",
805
+ "crt_assignee": {
806
+ "id": "string",
807
+ "organization_id": "string",
808
+ "created_at": "1970-01-01T00:00:00.000Z",
809
+ "activated_at": "1970-01-01T00:00:00.000Z",
810
+ "display_name": "Example User",
811
+ "status": "Active",
812
+ "email": "user@example.com",
813
+ "draft_email": "user@example.com",
814
+ "department": "Sales",
815
+ "phone": 1234567890,
816
+ "secondary_phone": 1234567890,
817
+ "mfa_enabled": false,
818
+ "phone_verified": true,
819
+ "token": "string",
820
+ "signature": "<p>Thanks</p>",
821
+ "is_signature_enabled": true,
822
+ "preferred_language": "de",
823
+ "custom_start_page": "/app/dashboard",
824
+ "custom_navigation": "5gbe4nkp6jsfq",
825
+ "override_release_channel": "canary",
826
+ "feature_preferences": {},
827
+ "image_uri": {},
828
+ "favorites": {},
829
+ "email_notification_setting": {},
830
+ "properties": [],
831
+ "crt_index": 3
832
+ },
833
+ "users": [
834
+ {}
835
+ ]
836
+ }
837
+ ]
838
+ ```
839
+
840
+ </details>
841
+
842
+ ---
843
+
844
+ ### `getGroups`
845
+
846
+ Lists groups in organizations you have access to
847
+
848
+ `GET /v1/groups`
849
+
850
+ ```ts
851
+ const { data } = await client.getGroups({
852
+ query: 'example',
853
+ limit: 1,
854
+ offset: 1,
855
+ hydrate: true,
856
+ })
857
+ ```
858
+
859
+ <details>
860
+ <summary>Response</summary>
861
+
862
+ ```json
863
+ {
864
+ "hits": 1,
865
+ "groups": [
866
+ {
867
+ "id": "string",
868
+ "org_id": "string",
869
+ "name": "Finance",
870
+ "created_at": "2024-02-08T04:44:32.246Z",
871
+ "updated_at": "2024-02-08T04:44:32.246Z",
872
+ "created_by": "123",
873
+ "crt_assignee": {},
874
+ "users": []
875
+ }
876
+ ]
877
+ }
878
+ ```
879
+
880
+ </details>
881
+
882
+ ---
883
+
884
+ ### `createGroup`
885
+
886
+ Create a new group
887
+
888
+ `POST /v1/groups`
889
+
890
+ ```ts
891
+ const { data } = await client.createGroup(
892
+ null,
893
+ {
894
+ name: 'Finance',
895
+ user_ids: ['123', '456']
896
+ },
897
+ )
898
+ ```
899
+
900
+ <details>
901
+ <summary>Response</summary>
902
+
903
+ ```json
904
+ {
905
+ "id": "string",
906
+ "org_id": "string",
907
+ "name": "Finance",
908
+ "created_at": "2024-02-08T04:44:32.246Z",
909
+ "updated_at": "2024-02-08T04:44:32.246Z",
910
+ "created_by": "123",
911
+ "crt_assignee": {
912
+ "id": "string",
913
+ "organization_id": "string",
914
+ "created_at": "1970-01-01T00:00:00.000Z",
915
+ "activated_at": "1970-01-01T00:00:00.000Z",
916
+ "display_name": "Example User",
917
+ "status": "Active",
918
+ "email": "user@example.com",
919
+ "draft_email": "user@example.com",
920
+ "department": "Sales",
921
+ "phone": 1234567890,
922
+ "secondary_phone": 1234567890,
923
+ "mfa_enabled": false,
924
+ "phone_verified": true,
925
+ "token": "string",
926
+ "signature": "<p>Thanks</p>",
927
+ "is_signature_enabled": true,
928
+ "preferred_language": "de",
929
+ "custom_start_page": "/app/dashboard",
930
+ "custom_navigation": "5gbe4nkp6jsfq",
931
+ "override_release_channel": "canary",
932
+ "feature_preferences": {
933
+ "feature_name": true
934
+ },
935
+ "image_uri": {
936
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
937
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
938
+ },
939
+ "favorites": {
940
+ "entity_views": {},
941
+ "dashboard": "751ff121-9ac2-4511-a2e6-851f11287380"
942
+ },
943
+ "email_notification_setting": {
944
+ "added_participant_opportunity": true,
945
+ "assigned_opportunity": true,
946
+ "assigned_task": true,
947
+ "comment_opportunity": true,
948
+ "deleted_task": true,
949
+ "escalated_task": true,
950
+ "message_receive_opportunity": true,
951
+ "message_send_opportunity": true,
952
+ "created_task": true,
953
+ "created_opportunity_manual": true,
954
+ "created_opportunity_auto": true,
955
+ "deleted_opportunity": true
956
+ },
957
+ "properties": [
958
+ {}
959
+ ],
960
+ "crt_index": 3
961
+ },
962
+ "users": [
963
+ {
964
+ "id": "string",
965
+ "organization_id": "string",
966
+ "created_at": "1970-01-01T00:00:00.000Z",
967
+ "activated_at": "1970-01-01T00:00:00.000Z",
968
+ "display_name": "Example User",
969
+ "status": "Active",
970
+ "email": "user@example.com",
971
+ "draft_email": "user@example.com",
972
+ "department": "Sales",
973
+ "phone": 1234567890,
974
+ "secondary_phone": 1234567890,
975
+ "mfa_enabled": false,
976
+ "phone_verified": true,
977
+ "token": "string",
978
+ "signature": "<p>Thanks</p>",
979
+ "is_signature_enabled": true,
980
+ "preferred_language": "de",
981
+ "custom_start_page": "/app/dashboard",
982
+ "custom_navigation": "5gbe4nkp6jsfq",
983
+ "override_release_channel": "canary",
984
+ "feature_preferences": {},
985
+ "image_uri": {},
986
+ "favorites": {},
987
+ "email_notification_setting": {},
988
+ "properties": []
989
+ }
990
+ ]
991
+ }
992
+ ```
993
+
994
+ </details>
995
+
996
+ ---
997
+
998
+ ### `getGroup`
999
+
1000
+ Get group by id
1001
+
1002
+ `GET /v1/groups/{id}`
1003
+
1004
+ ```ts
1005
+ const { data } = await client.getGroup({
1006
+ id: '123e4567-e89b-12d3-a456-426614174000',
1007
+ hydrate: true,
1008
+ })
1009
+ ```
1010
+
1011
+ <details>
1012
+ <summary>Response</summary>
1013
+
1014
+ ```json
1015
+ {
1016
+ "id": "string",
1017
+ "org_id": "string",
1018
+ "name": "Finance",
1019
+ "created_at": "2024-02-08T04:44:32.246Z",
1020
+ "updated_at": "2024-02-08T04:44:32.246Z",
1021
+ "created_by": "123",
1022
+ "crt_assignee": {
1023
+ "id": "string",
1024
+ "organization_id": "string",
1025
+ "created_at": "1970-01-01T00:00:00.000Z",
1026
+ "activated_at": "1970-01-01T00:00:00.000Z",
1027
+ "display_name": "Example User",
1028
+ "status": "Active",
1029
+ "email": "user@example.com",
1030
+ "draft_email": "user@example.com",
1031
+ "department": "Sales",
1032
+ "phone": 1234567890,
1033
+ "secondary_phone": 1234567890,
1034
+ "mfa_enabled": false,
1035
+ "phone_verified": true,
1036
+ "token": "string",
1037
+ "signature": "<p>Thanks</p>",
1038
+ "is_signature_enabled": true,
1039
+ "preferred_language": "de",
1040
+ "custom_start_page": "/app/dashboard",
1041
+ "custom_navigation": "5gbe4nkp6jsfq",
1042
+ "override_release_channel": "canary",
1043
+ "feature_preferences": {
1044
+ "feature_name": true
1045
+ },
1046
+ "image_uri": {
1047
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
1048
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
1049
+ },
1050
+ "favorites": {
1051
+ "entity_views": {},
1052
+ "dashboard": "751ff121-9ac2-4511-a2e6-851f11287380"
1053
+ },
1054
+ "email_notification_setting": {
1055
+ "added_participant_opportunity": true,
1056
+ "assigned_opportunity": true,
1057
+ "assigned_task": true,
1058
+ "comment_opportunity": true,
1059
+ "deleted_task": true,
1060
+ "escalated_task": true,
1061
+ "message_receive_opportunity": true,
1062
+ "message_send_opportunity": true,
1063
+ "created_task": true,
1064
+ "created_opportunity_manual": true,
1065
+ "created_opportunity_auto": true,
1066
+ "deleted_opportunity": true
1067
+ },
1068
+ "properties": [
1069
+ {}
1070
+ ],
1071
+ "crt_index": 3
1072
+ },
1073
+ "users": [
1074
+ {
1075
+ "id": "string",
1076
+ "organization_id": "string",
1077
+ "created_at": "1970-01-01T00:00:00.000Z",
1078
+ "activated_at": "1970-01-01T00:00:00.000Z",
1079
+ "display_name": "Example User",
1080
+ "status": "Active",
1081
+ "email": "user@example.com",
1082
+ "draft_email": "user@example.com",
1083
+ "department": "Sales",
1084
+ "phone": 1234567890,
1085
+ "secondary_phone": 1234567890,
1086
+ "mfa_enabled": false,
1087
+ "phone_verified": true,
1088
+ "token": "string",
1089
+ "signature": "<p>Thanks</p>",
1090
+ "is_signature_enabled": true,
1091
+ "preferred_language": "de",
1092
+ "custom_start_page": "/app/dashboard",
1093
+ "custom_navigation": "5gbe4nkp6jsfq",
1094
+ "override_release_channel": "canary",
1095
+ "feature_preferences": {},
1096
+ "image_uri": {},
1097
+ "favorites": {},
1098
+ "email_notification_setting": {},
1099
+ "properties": []
1100
+ }
1101
+ ]
1102
+ }
1103
+ ```
1104
+
1105
+ </details>
1106
+
1107
+ ---
1108
+
1109
+ ### `updateGroup`
1110
+
1111
+ Update group by id
1112
+
1113
+ `PATCH /v1/groups/{id}`
1114
+
1115
+ ```ts
1116
+ const { data } = await client.updateGroup(
1117
+ {
1118
+ id: '123e4567-e89b-12d3-a456-426614174000',
1119
+ },
1120
+ {
1121
+ name: 'Finance',
1122
+ user_ids: ['123', '456']
1123
+ },
1124
+ )
1125
+ ```
1126
+
1127
+ <details>
1128
+ <summary>Response</summary>
1129
+
1130
+ ```json
1131
+ {
1132
+ "id": "string",
1133
+ "org_id": "string",
1134
+ "name": "Finance",
1135
+ "created_at": "2024-02-08T04:44:32.246Z",
1136
+ "updated_at": "2024-02-08T04:44:32.246Z",
1137
+ "created_by": "123",
1138
+ "crt_assignee": {
1139
+ "id": "string",
1140
+ "organization_id": "string",
1141
+ "created_at": "1970-01-01T00:00:00.000Z",
1142
+ "activated_at": "1970-01-01T00:00:00.000Z",
1143
+ "display_name": "Example User",
1144
+ "status": "Active",
1145
+ "email": "user@example.com",
1146
+ "draft_email": "user@example.com",
1147
+ "department": "Sales",
1148
+ "phone": 1234567890,
1149
+ "secondary_phone": 1234567890,
1150
+ "mfa_enabled": false,
1151
+ "phone_verified": true,
1152
+ "token": "string",
1153
+ "signature": "<p>Thanks</p>",
1154
+ "is_signature_enabled": true,
1155
+ "preferred_language": "de",
1156
+ "custom_start_page": "/app/dashboard",
1157
+ "custom_navigation": "5gbe4nkp6jsfq",
1158
+ "override_release_channel": "canary",
1159
+ "feature_preferences": {
1160
+ "feature_name": true
1161
+ },
1162
+ "image_uri": {
1163
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
1164
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
1165
+ },
1166
+ "favorites": {
1167
+ "entity_views": {},
1168
+ "dashboard": "751ff121-9ac2-4511-a2e6-851f11287380"
1169
+ },
1170
+ "email_notification_setting": {
1171
+ "added_participant_opportunity": true,
1172
+ "assigned_opportunity": true,
1173
+ "assigned_task": true,
1174
+ "comment_opportunity": true,
1175
+ "deleted_task": true,
1176
+ "escalated_task": true,
1177
+ "message_receive_opportunity": true,
1178
+ "message_send_opportunity": true,
1179
+ "created_task": true,
1180
+ "created_opportunity_manual": true,
1181
+ "created_opportunity_auto": true,
1182
+ "deleted_opportunity": true
1183
+ },
1184
+ "properties": [
1185
+ {}
1186
+ ],
1187
+ "crt_index": 3
1188
+ },
1189
+ "users": [
1190
+ {
1191
+ "id": "string",
1192
+ "organization_id": "string",
1193
+ "created_at": "1970-01-01T00:00:00.000Z",
1194
+ "activated_at": "1970-01-01T00:00:00.000Z",
1195
+ "display_name": "Example User",
1196
+ "status": "Active",
1197
+ "email": "user@example.com",
1198
+ "draft_email": "user@example.com",
1199
+ "department": "Sales",
1200
+ "phone": 1234567890,
1201
+ "secondary_phone": 1234567890,
1202
+ "mfa_enabled": false,
1203
+ "phone_verified": true,
1204
+ "token": "string",
1205
+ "signature": "<p>Thanks</p>",
1206
+ "is_signature_enabled": true,
1207
+ "preferred_language": "de",
1208
+ "custom_start_page": "/app/dashboard",
1209
+ "custom_navigation": "5gbe4nkp6jsfq",
1210
+ "override_release_channel": "canary",
1211
+ "feature_preferences": {},
1212
+ "image_uri": {},
1213
+ "favorites": {},
1214
+ "email_notification_setting": {},
1215
+ "properties": []
1216
+ }
1217
+ ]
1218
+ }
1219
+ ```
1220
+
1221
+ </details>
1222
+
1223
+ ---
1224
+
1225
+ ### `deleteGroup`
1226
+
1227
+ Delete group by id
1228
+
1229
+ `DELETE /v1/groups/{id}`
1230
+
1231
+ ```ts
1232
+ const { data } = await client.deleteGroup({
1233
+ id: '123e4567-e89b-12d3-a456-426614174000',
1234
+ })
1235
+ ```
1236
+
1237
+ ---
1238
+
1239
+ ### `advanceUserAssignment`
1240
+
1241
+ Advance user assignment to next user in line
1242
+
1243
+ `POST /v1/groups/{id}/user:next`
1244
+
1245
+ ```ts
1246
+ const { data } = await client.advanceUserAssignment({
1247
+ id: '123e4567-e89b-12d3-a456-426614174000',
1248
+ })
1249
+ ```
1250
+
1251
+ <details>
1252
+ <summary>Response</summary>
1253
+
1254
+ ```json
1255
+ {
1256
+ "id": "string",
1257
+ "org_id": "string",
1258
+ "name": "Finance",
1259
+ "created_at": "2024-02-08T04:44:32.246Z",
1260
+ "updated_at": "2024-02-08T04:44:32.246Z",
1261
+ "created_by": "123",
1262
+ "crt_assignee": {
1263
+ "id": "string",
1264
+ "organization_id": "string",
1265
+ "created_at": "1970-01-01T00:00:00.000Z",
1266
+ "activated_at": "1970-01-01T00:00:00.000Z",
1267
+ "display_name": "Example User",
1268
+ "status": "Active",
1269
+ "email": "user@example.com",
1270
+ "draft_email": "user@example.com",
1271
+ "department": "Sales",
1272
+ "phone": 1234567890,
1273
+ "secondary_phone": 1234567890,
1274
+ "mfa_enabled": false,
1275
+ "phone_verified": true,
1276
+ "token": "string",
1277
+ "signature": "<p>Thanks</p>",
1278
+ "is_signature_enabled": true,
1279
+ "preferred_language": "de",
1280
+ "custom_start_page": "/app/dashboard",
1281
+ "custom_navigation": "5gbe4nkp6jsfq",
1282
+ "override_release_channel": "canary",
1283
+ "feature_preferences": {
1284
+ "feature_name": true
1285
+ },
1286
+ "image_uri": {
1287
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
1288
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
1289
+ },
1290
+ "favorites": {
1291
+ "entity_views": {},
1292
+ "dashboard": "751ff121-9ac2-4511-a2e6-851f11287380"
1293
+ },
1294
+ "email_notification_setting": {
1295
+ "added_participant_opportunity": true,
1296
+ "assigned_opportunity": true,
1297
+ "assigned_task": true,
1298
+ "comment_opportunity": true,
1299
+ "deleted_task": true,
1300
+ "escalated_task": true,
1301
+ "message_receive_opportunity": true,
1302
+ "message_send_opportunity": true,
1303
+ "created_task": true,
1304
+ "created_opportunity_manual": true,
1305
+ "created_opportunity_auto": true,
1306
+ "deleted_opportunity": true
1307
+ },
1308
+ "properties": [
1309
+ {}
1310
+ ],
1311
+ "crt_index": 3
1312
+ },
1313
+ "users": [
1314
+ {
1315
+ "id": "string",
1316
+ "organization_id": "string",
1317
+ "created_at": "1970-01-01T00:00:00.000Z",
1318
+ "activated_at": "1970-01-01T00:00:00.000Z",
1319
+ "display_name": "Example User",
1320
+ "status": "Active",
1321
+ "email": "user@example.com",
1322
+ "draft_email": "user@example.com",
1323
+ "department": "Sales",
1324
+ "phone": 1234567890,
1325
+ "secondary_phone": 1234567890,
1326
+ "mfa_enabled": false,
1327
+ "phone_verified": true,
1328
+ "token": "string",
1329
+ "signature": "<p>Thanks</p>",
1330
+ "is_signature_enabled": true,
1331
+ "preferred_language": "de",
1332
+ "custom_start_page": "/app/dashboard",
1333
+ "custom_navigation": "5gbe4nkp6jsfq",
1334
+ "override_release_channel": "canary",
1335
+ "feature_preferences": {},
1336
+ "image_uri": {},
1337
+ "favorites": {},
1338
+ "email_notification_setting": {},
1339
+ "properties": []
1340
+ }
1341
+ ]
1342
+ }
1343
+ ```
1344
+
1345
+ </details>
1346
+
1347
+ ---
1348
+
1349
+ ### `createNavigation`
1350
+
1351
+ Create a new navigation configuration. Navigations are immutable and globally accessible across organizations.
1352
+ Each creation generates a new id. To update a navigation, create a new one.
1353
+
1354
+ `POST /v2/user/navigations`
1355
+
1356
+ ```ts
1357
+ const { data } = await client.createNavigation(
1358
+ null,
1359
+ {
1360
+ name: 'Sales Team Navigation',
1361
+ configuration: {
1362
+ customer_relations: [
1363
+ {
1364
+ key: 'dashboard'
1365
+ },
1366
+ {
1367
+ key: 'contact'
1368
+ }
1369
+ ],
1370
+ configurations: [
1371
+ {
1372
+ name: 'Product Catalog',
1373
+ subItems: [
1374
+ {
1375
+ key: 'product'
1376
+ },
1377
+ {
1378
+ key: 'price'
1379
+ }
1380
+ ]
1381
+ },
1382
+ {
1383
+ key: 'journey'
1384
+ }
1385
+ ]
1386
+ }
1387
+ },
1388
+ )
1389
+ ```
1390
+
1391
+ <details>
1392
+ <summary>Response</summary>
1393
+
1394
+ ```json
1395
+ {
1396
+ "id": "5gbe4nkp6jsfq",
1397
+ "name": "Sales Team Navigation",
1398
+ "configuration": {
1399
+ "customer_relations": [
1400
+ {
1401
+ "key": "dashboard"
1402
+ },
1403
+ {
1404
+ "key": "contact"
1405
+ }
1406
+ ],
1407
+ "configurations": [
1408
+ {
1409
+ "name": "Product Catalog",
1410
+ "subItems": [
1411
+ {
1412
+ "key": "product"
1413
+ },
1414
+ {
1415
+ "key": "price"
1416
+ }
1417
+ ]
1418
+ },
1419
+ {
1420
+ "key": "journey"
1421
+ }
1422
+ ]
1423
+ }
1424
+ }
1425
+ ```
1426
+
1427
+ </details>
1428
+
1429
+ ---
1430
+
1431
+ ### `getNavigation`
1432
+
1433
+ Get a navigation configuration by ID
1434
+
1435
+ `GET /v2/user/navigations/{id}`
1436
+
1437
+ ```ts
1438
+ const { data } = await client.getNavigation({
1439
+ id: '123e4567-e89b-12d3-a456-426614174000',
1440
+ })
1441
+ ```
1442
+
1443
+ <details>
1444
+ <summary>Response</summary>
1445
+
1446
+ ```json
1447
+ {
1448
+ "id": "5gbe4nkp6jsfq",
1449
+ "name": "Sales Team Navigation",
1450
+ "configuration": {
1451
+ "customer_relations": [
1452
+ {
1453
+ "key": "dashboard"
1454
+ },
1455
+ {
1456
+ "key": "contact"
1457
+ }
1458
+ ],
1459
+ "configurations": [
1460
+ {
1461
+ "name": "Product Catalog",
1462
+ "subItems": [
1463
+ {
1464
+ "key": "product"
1465
+ },
1466
+ {
1467
+ "key": "price"
1468
+ }
1469
+ ]
1470
+ },
1471
+ {
1472
+ "key": "journey"
1473
+ }
1474
+ ]
1475
+ }
1476
+ }
1477
+ ```
1478
+
1479
+ </details>
1480
+
1481
+ ---
1482
+
1483
+ ### `verifyEmailWithToken`
1484
+
1485
+ Update new email using an verification token
1486
+
1487
+ `POST /v2/users/public/verifyEmail`
1488
+
1489
+ ```ts
1490
+ const { data } = await client.verifyEmailWithToken(
1491
+ {
1492
+ token: 'example',
1493
+ },
1494
+ {
1495
+ password: 'AKjhdakjsdh@!34'
1496
+ },
1497
+ )
1498
+ ```
1499
+
1500
+ ---
1501
+
1502
+ ### `checkInviteToken`
1503
+
1504
+ Check an invite token
1505
+
1506
+ `GET /v2/users/public/checkToken`
1507
+
1508
+ ```ts
1509
+ const { data } = await client.checkInviteToken({
1510
+ token: 'example',
1511
+ })
1512
+ ```
1513
+
1514
+ <details>
1515
+ <summary>Response</summary>
1516
+
1517
+ ```json
1518
+ {
1519
+ "invitation_org_id": "string",
1520
+ "invitation_org_name": "string",
1521
+ "invitation_org_logo_url": "string",
1522
+ "invitation_org_logo_thumbnail_url": "string",
1523
+ "invitee_user_id": "string",
1524
+ "invitee_primary_org_id": "string"
1525
+ }
1526
+ ```
1527
+
1528
+ </details>
1529
+
1530
+ ---
1531
+
1532
+ ### `activateUser`
1533
+
1534
+ Activate user using an invite token
1535
+
1536
+ `POST /v2/users/public/activate`
1537
+
1538
+ ```ts
1539
+ const { data } = await client.activateUser(
1540
+ {
1541
+ token: 'example',
1542
+ },
1543
+ {
1544
+ display_name: 'Example User',
1545
+ password: 'AKjhdakjsdh@!34'
1546
+ },
1547
+ )
1548
+ ```
1549
+
1550
+ ---
1551
+
1552
+ ### `rejectInvite`
1553
+
1554
+ Reject an invite
1555
+
1556
+ `DELETE /v2/users/public/reject`
1557
+
1558
+ ```ts
1559
+ const { data } = await client.rejectInvite({
1560
+ token: 'example',
1561
+ })
1562
+ ```
1563
+
1564
+ <details>
1565
+ <summary>Response</summary>
1566
+
1567
+ ```json
1568
+ {
1569
+ "success": true
1570
+ }
1571
+ ```
1572
+
1573
+ </details>
1574
+
1575
+ ---
1576
+
1577
+ ### `getUserLoginParametersV2`
1578
+
1579
+ Get user organization login parameters by username
1580
+
1581
+ `GET /v2/users/public/username/{username}:getLoginParameters`
1582
+
1583
+ ```ts
1584
+ const { data } = await client.getUserLoginParametersV2({
1585
+ username: 'example',
1586
+ })
1587
+ ```
1588
+
1589
+ <details>
1590
+ <summary>Response</summary>
1591
+
1592
+ ```json
1593
+ {
1594
+ "login_parameters": [
1595
+ {
1596
+ "organization_id": "123",
1597
+ "organization_name": "epilot GmbH",
1598
+ "organization_type": "Vendor",
1599
+ "organization_use": "Production",
1600
+ "cognito_region": "eu-central-1",
1601
+ "cognito_user_pool_id": "eu-central-sample",
1602
+ "cognito_user_pool_client_id": "asbkh213ehkquwhdi",
1603
+ "cognito_oauth_domain": "epilot-org-123",
1604
+ "cognito_oauth_scopes": ["openid"],
1605
+ "oauth_response_type": "code",
1606
+ "passkey_enabled": true
1607
+ }
1608
+ ]
1609
+ }
1610
+ ```
1611
+
1612
+ </details>
1613
+
1614
+ ---
1615
+
1616
+ ### `beginPasskeyAuthentication`
1617
+
1618
+ Begin passkey authentication flow. Returns WebAuthn options and a signed challenge token.
1619
+
1620
+ `POST /v2/users/public/passkeys:authenticateBegin`
1621
+
1622
+ ```ts
1623
+ const { data } = await client.beginPasskeyAuthentication(
1624
+ null,
1625
+ {
1626
+ email: 'user@example.com'
1627
+ },
1628
+ )
1629
+ ```
1630
+
1631
+ <details>
1632
+ <summary>Response</summary>
1633
+
1634
+ ```json
1635
+ {
1636
+ "options": {},
1637
+ "challenge_token": "string"
1638
+ }
1639
+ ```
1640
+
1641
+ </details>
1642
+
1643
+ ---
1644
+
1645
+ ### `beginDiscoverablePasskeyAuthentication`
1646
+
1647
+ Begin discoverable passkey authentication flow (no email required). Returns WebAuthn options with empty allowCredentials for the browser credential picker.
1648
+
1649
+ `POST /v2/users/public/passkeys:authenticateBeginDiscoverable`
1650
+
1651
+ ```ts
1652
+ const { data } = await client.beginDiscoverablePasskeyAuthentication()
1653
+ ```
1654
+
1655
+ <details>
1656
+ <summary>Response</summary>
1657
+
1658
+ ```json
1659
+ {
1660
+ "options": {},
1661
+ "challenge_token": "string"
1662
+ }
1663
+ ```
1664
+
1665
+ </details>
1666
+
1667
+ ---
1668
+
1669
+ ### `resolveDiscoverableCredential`
1670
+
1671
+ Resolve user identity from a discoverable passkey assertion. Returns the user's email and login parameters.
1672
+
1673
+ `POST /v2/users/public/passkeys:resolveCredential`
1674
+
1675
+ ```ts
1676
+ const { data } = await client.resolveDiscoverableCredential(
1677
+ null,
1678
+ {
1679
+ challenge_token: 'string',
1680
+ assertion_response: {}
1681
+ },
1682
+ )
1683
+ ```
1684
+
1685
+ <details>
1686
+ <summary>Response</summary>
1687
+
1688
+ ```json
1689
+ {
1690
+ "email": "user@example.com",
1691
+ "organization_id": "string",
1692
+ "user_id": "string",
1693
+ "login_parameters": [
1694
+ {
1695
+ "organization_id": "123",
1696
+ "organization_name": "epilot GmbH",
1697
+ "organization_type": "Vendor",
1698
+ "organization_use": "Production",
1699
+ "cognito_region": "eu-central-1",
1700
+ "cognito_user_pool_id": "eu-central-sample",
1701
+ "cognito_user_pool_client_id": "asbkh213ehkquwhdi",
1702
+ "cognito_oauth_domain": "epilot-org-123",
1703
+ "cognito_oauth_scopes": ["openid"],
1704
+ "oauth_response_type": "code",
1705
+ "passkey_enabled": true
1706
+ }
1707
+ ]
1708
+ }
1709
+ ```
1710
+
1711
+ </details>
1712
+
1713
+ ---
1714
+
1715
+ ### `beginPasskeyRegistration`
1716
+
1717
+ Begin passkey registration flow for the authenticated user.
1718
+
1719
+ `POST /v2/users/me/passkeys:registerBegin`
1720
+
1721
+ ```ts
1722
+ const { data } = await client.beginPasskeyRegistration(
1723
+ null,
1724
+ {
1725
+ friendly_name: 'My Laptop'
1726
+ },
1727
+ )
1728
+ ```
1729
+
1730
+ <details>
1731
+ <summary>Response</summary>
1732
+
1733
+ ```json
1734
+ {
1735
+ "options": {},
1736
+ "challenge_token": "string"
1737
+ }
1738
+ ```
1739
+
1740
+ </details>
1741
+
1742
+ ---
1743
+
1744
+ ### `completePasskeyRegistration`
1745
+
1746
+ Complete passkey registration by verifying the attestation response.
1747
+
1748
+ `POST /v2/users/me/passkeys:registerComplete`
1749
+
1750
+ ```ts
1751
+ const { data } = await client.completePasskeyRegistration(
1752
+ null,
1753
+ {
1754
+ challenge_token: 'string',
1755
+ registration_response: {},
1756
+ friendly_name: 'My Laptop'
1757
+ },
1758
+ )
1759
+ ```
1760
+
1761
+ <details>
1762
+ <summary>Response</summary>
1763
+
1764
+ ```json
1765
+ {
1766
+ "credential_id": "string",
1767
+ "friendly_name": "My Laptop",
1768
+ "created_at": "1970-01-01T00:00:00.000Z",
1769
+ "transports": ["string"],
1770
+ "aaguid": "string"
1771
+ }
1772
+ ```
1773
+
1774
+ </details>
1775
+
1776
+ ---
1777
+
1778
+ ### `listPasskeys`
1779
+
1780
+ List all passkeys registered for the authenticated user.
1781
+
1782
+ `GET /v2/users/me/passkeys`
1783
+
1784
+ ```ts
1785
+ const { data } = await client.listPasskeys()
1786
+ ```
1787
+
1788
+ <details>
1789
+ <summary>Response</summary>
1790
+
1791
+ ```json
1792
+ {
1793
+ "passkeys": [
1794
+ {
1795
+ "credential_id": "string",
1796
+ "friendly_name": "My Laptop",
1797
+ "created_at": "1970-01-01T00:00:00.000Z",
1798
+ "transports": ["string"],
1799
+ "aaguid": "string"
1800
+ }
1801
+ ]
1802
+ }
1803
+ ```
1804
+
1805
+ </details>
1806
+
1807
+ ---
1808
+
1809
+ ### `deletePasskey`
1810
+
1811
+ Delete a passkey by credential ID.
1812
+
1813
+ `DELETE /v2/users/me/passkeys/{credentialId}`
1814
+
1815
+ ```ts
1816
+ const { data } = await client.deletePasskey({
1817
+ credentialId: 'example',
1818
+ })
1819
+ ```
1820
+
1821
+ ---
1822
+
1823
+ ### `switchOrganization`
1824
+
1825
+ Switch to another organization the user is part of
1826
+
1827
+ `POST /v2/users/switchOrganization`
1828
+
1829
+ ```ts
1830
+ const { data } = await client.switchOrganization(
1831
+ null,
1832
+ {
1833
+ org_id: 'string'
1834
+ },
1835
+ )
1836
+ ```
1837
+
1838
+ <details>
1839
+ <summary>Response</summary>
1840
+
1841
+ ```json
1842
+ {
1843
+ "login_token": "string"
1844
+ }
1845
+ ```
1846
+
1847
+ </details>
1848
+
1849
+ ---
1850
+
1851
+ ### `getMe`
1852
+
1853
+ Get currently logged in user
1854
+
1855
+ `GET /v1/users/me`
1856
+
1857
+ ```ts
1858
+ const { data } = await client.getMe()
1859
+ ```
1860
+
1861
+ <details>
1862
+ <summary>Response</summary>
1863
+
1864
+ ```json
1865
+ {
1866
+ "id": "string",
1867
+ "organization_id": "string",
1868
+ "email": "user@example.com",
1869
+ "display_name": "Example user",
1870
+ "name": "Example user",
1871
+ "preferred_language": "de",
1872
+ "signature": "<p>Thanks</p>",
1873
+ "custom_navigation": "5gbe4nkp6jsfq",
1874
+ "roles": ["Owner"],
1875
+ "image_uri": {
1876
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
1877
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
1878
+ },
1879
+ "properties": [
1880
+ {
1881
+ "name": "profileImageName",
1882
+ "value": "avatar.png"
1883
+ }
1884
+ ]
1885
+ }
1886
+ ```
1887
+
1888
+ </details>
1889
+
1890
+ ---
1891
+
1892
+ ### `listUsers`
1893
+
1894
+ Lists users in organizations you have access to
1895
+
1896
+ `GET /v1/users`
1897
+
1898
+ ```ts
1899
+ const { data } = await client.listUsers({
1900
+ org_ids: ['...'],
1901
+ query: 'example',
1902
+ limit: 1,
1903
+ offset: 1,
1904
+ })
1905
+ ```
1906
+
1907
+ <details>
1908
+ <summary>Response</summary>
1909
+
1910
+ ```json
1911
+ {
1912
+ "users": [
1913
+ {
1914
+ "id": "string",
1915
+ "organization_id": "string",
1916
+ "email": "user@example.com",
1917
+ "display_name": "Example user",
1918
+ "name": "Example user",
1919
+ "preferred_language": "de",
1920
+ "signature": "<p>Thanks</p>",
1921
+ "custom_navigation": "5gbe4nkp6jsfq",
1922
+ "roles": ["Owner"],
1923
+ "image_uri": {
1924
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
1925
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
1926
+ },
1927
+ "properties": [
1928
+ {
1929
+ "name": "profileImageName",
1930
+ "value": "avatar.png"
1931
+ }
1932
+ ]
1933
+ }
1934
+ ]
1935
+ }
1936
+ ```
1937
+
1938
+ </details>
1939
+
1940
+ ---
1941
+
1942
+ ### `getUser`
1943
+
1944
+ Get user by id
1945
+
1946
+ `GET /v1/users/{id}`
1947
+
1948
+ ```ts
1949
+ const { data } = await client.getUser({
1950
+ id: '123e4567-e89b-12d3-a456-426614174000',
1951
+ })
1952
+ ```
1953
+
1954
+ <details>
1955
+ <summary>Response</summary>
1956
+
1957
+ ```json
1958
+ {
1959
+ "id": "string",
1960
+ "organization_id": "string",
1961
+ "email": "user@example.com",
1962
+ "display_name": "Example user",
1963
+ "name": "Example user",
1964
+ "preferred_language": "de",
1965
+ "signature": "<p>Thanks</p>",
1966
+ "custom_navigation": "5gbe4nkp6jsfq",
1967
+ "roles": ["Owner"],
1968
+ "image_uri": {
1969
+ "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
1970
+ "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
1971
+ },
1972
+ "properties": [
1973
+ {
1974
+ "name": "profileImageName",
1975
+ "value": "avatar.png"
1976
+ }
1977
+ ]
1978
+ }
1979
+ ```
1980
+
1981
+ </details>
1982
+
1983
+ ---
1984
+
1985
+ ### `getUserLoginParameters`
1986
+
1987
+ Get user organization login parameters by username
1988
+
1989
+ `GET /v1/users/username/{username}:getLoginParameters`
1990
+
1991
+ ```ts
1992
+ const { data } = await client.getUserLoginParameters({
1993
+ username: 'example',
1994
+ })
1995
+ ```
1996
+
1997
+ <details>
1998
+ <summary>Response</summary>
1999
+
2000
+ ```json
2001
+ {
2002
+ "login_parameters": [
2003
+ {
2004
+ "organization_id": "123",
2005
+ "organization_name": "epilot GmbH",
2006
+ "organization_type": "Vendor",
2007
+ "organization_use": "Production",
2008
+ "cognito_region": "eu-central-1",
2009
+ "cognito_user_pool_id": "eu-central-sample",
2010
+ "cognito_user_pool_client_id": "asbkh213ehkquwhdi",
2011
+ "cognito_oauth_domain": "epilot-org-123",
2012
+ "cognito_oauth_scopes": ["openid"],
2013
+ "oauth_response_type": "code",
2014
+ "passkey_enabled": true
2015
+ }
2016
+ ]
2017
+ }
2018
+ ```
2019
+
2020
+ </details>
2021
+
2022
+ ---
2023
+
2024
+ ## Schemas
2025
+
2026
+ ### `NavigationId`
2027
+
2028
+ Navigation unique identifier - a hash of the normalized navigation payload (name + configuration). Identical navigations across orgs will have the same ID.
2029
+
2030
+ ```ts
2031
+ type NavigationId = string
2032
+ ```
2033
+
2034
+ ### `Navigation`
2035
+
2036
+ A customized workplace navigation configuration. The ID is a content-hash, so identical configurations will have the same ID.
2037
+
2038
+ ```ts
2039
+ type Navigation = {
2040
+ id: string
2041
+ name: string
2042
+ configuration: Record<string, Array<{
2043
+ key: string
2044
+ } | {
2045
+ name: string
2046
+ subItems: Array<{
2047
+ key: { ... }
2048
+ }>
2049
+ }>>
2050
+ }
2051
+ ```
2052
+
2053
+ ### `NavigationCreateRequest`
2054
+
2055
+ Request payload to create a new navigation configuration
2056
+
2057
+ ```ts
2058
+ type NavigationCreateRequest = {
2059
+ name: string
2060
+ configuration: Record<string, Array<{
2061
+ key: string
2062
+ } | {
2063
+ name: string
2064
+ subItems: Array<{
2065
+ key: { ... }
2066
+ }>
2067
+ }>>
2068
+ }
2069
+ ```
2070
+
2071
+ ### `NavigationConfiguration`
2072
+
2073
+ Navigation configuration organized by sections. Each section contains an array of navigation items.
2074
+
2075
+
2076
+ ```ts
2077
+ type NavigationConfiguration = Record<string, Array<{
2078
+ key: string
2079
+ } | {
2080
+ name: string
2081
+ subItems: Array<{
2082
+ key: string
2083
+ }>
2084
+ }>>
2085
+ ```
2086
+
2087
+ ### `NavigationItem`
2088
+
2089
+ A navigation item - either a simple key item or a group with sub-items
2090
+
2091
+ ```ts
2092
+ type NavigationItem = {
2093
+ key: string
2094
+ } | {
2095
+ name: string
2096
+ subItems: Array<{
2097
+ key: string
2098
+ }>
2099
+ }
2100
+ ```
2101
+
2102
+ ### `NavigationKeyItem`
2103
+
2104
+ A simple navigation item with a key
2105
+
2106
+ ```ts
2107
+ type NavigationKeyItem = {
2108
+ key: string
2109
+ }
2110
+ ```
2111
+
2112
+ ### `NavigationGroupItem`
2113
+
2114
+ A navigation group containing sub-items
2115
+
2116
+ ```ts
2117
+ type NavigationGroupItem = {
2118
+ name: string
2119
+ subItems: Array<{
2120
+ key: string
2121
+ }>
2122
+ }
2123
+ ```
2124
+
2125
+ ### `InviteToken`
2126
+
2127
+ Token used to invite a user to epilot
2128
+
2129
+ ```ts
2130
+ type InviteToken = string
2131
+ ```
2132
+
2133
+ ### `PartnerInvitationToken`
2134
+
2135
+ Token used to invite a partner user to epilot
2136
+
2137
+ ```ts
2138
+ type PartnerInvitationToken = string
2139
+ ```
2140
+
2141
+ ### `VerificationToken`
2142
+
2143
+ ```ts
2144
+ type VerificationToken = string
2145
+ ```
2146
+
2147
+ ### `GroupId`
2148
+
2149
+ Group unique identifier
2150
+
2151
+ ```ts
2152
+ type GroupId = string
2153
+ ```
2154
+
2155
+ ### `UserId`
2156
+
2157
+ User's unique identifier
2158
+
2159
+ ```ts
2160
+ type UserId = string
2161
+ ```
2162
+
2163
+ ### `Query`
2164
+
2165
+ ```ts
2166
+ type Query = string
2167
+ ```
2168
+
2169
+ ### `OrganizationId`
2170
+
2171
+ ```ts
2172
+ type OrganizationId = string
2173
+ ```
2174
+
2175
+ ### `Limit`
2176
+
2177
+ ```ts
2178
+ type Limit = number
2179
+ ```
2180
+
2181
+ ### `Offset`
2182
+
2183
+ ```ts
2184
+ type Offset = number
2185
+ ```
2186
+
2187
+ ### `Hydrate`
2188
+
2189
+ ```ts
2190
+ type Hydrate = boolean
2191
+ ```
2192
+
2193
+ ### `Username`
2194
+
2195
+ ```ts
2196
+ type Username = string
2197
+ ```
2198
+
2199
+ ### `UserInvitationPayload`
2200
+
2201
+ ```ts
2202
+ type UserInvitationPayload = {
2203
+ email?: string
2204
+ language?: "en" | "de"
2205
+ roles?: string[]
2206
+ }
2207
+ ```
2208
+
2209
+ ### `UserActivationPayload`
2210
+
2211
+ ```ts
2212
+ type UserActivationPayload = {
2213
+ display_name?: string
2214
+ password?: string
2215
+ }
2216
+ ```
2217
+
2218
+ ### `UserVerificationPayload`
2219
+
2220
+ ```ts
2221
+ type UserVerificationPayload = {
2222
+ password?: string
2223
+ }
2224
+ ```
2225
+
2226
+ ### `UserV2`
2227
+
2228
+ ```ts
2229
+ type UserV2 = {
2230
+ id?: string
2231
+ organization_id?: string
2232
+ created_at?: string // date-time
2233
+ activated_at?: string // date-time
2234
+ display_name?: string
2235
+ status?: "Active" | "Pending" | "Deactivated" | "Deleted"
2236
+ email?: string // email
2237
+ draft_email?: string // email
2238
+ department?: string
2239
+ phone?: string
2240
+ secondary_phone?: string
2241
+ mfa_enabled?: boolean
2242
+ phone_verified?: boolean
2243
+ token?: string
2244
+ signature?: string
2245
+ is_signature_enabled?: boolean
2246
+ preferred_language?: string
2247
+ custom_start_page?: string
2248
+ custom_navigation?: string
2249
+ override_release_channel?: "canary" | "rc" | "stable" | null
2250
+ feature_preferences?: Record<string, unknown>
2251
+ image_uri?: {
2252
+ original?: string // uri
2253
+ thumbnail_32?: string // uri
2254
+ }
2255
+ favorites?: Record<string, unknown>
2256
+ email_notification_setting?: Record<string, unknown>
2257
+ properties?: Array<{
2258
+ name: string
2259
+ value: string
2260
+ }>
2261
+ }
2262
+ ```
2263
+
2264
+ ### `User`
2265
+
2266
+ ```ts
2267
+ type User = {
2268
+ id: string
2269
+ organization_id: string
2270
+ email: string // email
2271
+ display_name?: string
2272
+ name: string
2273
+ preferred_language: string
2274
+ signature?: string
2275
+ custom_navigation?: string
2276
+ roles: string[]
2277
+ image_uri?: {
2278
+ original?: string // uri
2279
+ thumbnail_32?: string // uri
2280
+ }
2281
+ properties: Array<{
2282
+ name: string
2283
+ value: string
2284
+ }>
2285
+ }
2286
+ ```
2287
+
2288
+ ### `LoginParameters`
2289
+
2290
+ ```ts
2291
+ type LoginParameters = {
2292
+ organization_id?: string
2293
+ organization_name?: string
2294
+ organization_type?: string
2295
+ organization_use?: string
2296
+ cognito_region?: string
2297
+ cognito_user_pool_id?: string
2298
+ cognito_user_pool_client_id?: string
2299
+ cognito_oauth_domain?: string
2300
+ cognito_oauth_scopes?: string[]
2301
+ oauth_response_type?: "code" | "token"
2302
+ passkey_enabled?: boolean
2303
+ }
2304
+ ```
2305
+
2306
+ ### `CreateGroupReq`
2307
+
2308
+ ```ts
2309
+ type CreateGroupReq = {
2310
+ name: string
2311
+ user_ids?: string[]
2312
+ }
2313
+ ```
2314
+
2315
+ ### `UpdateGroupReq`
2316
+
2317
+ ```ts
2318
+ type UpdateGroupReq = {
2319
+ name?: string
2320
+ user_ids?: string[]
2321
+ }
2322
+ ```
2323
+
2324
+ ### `Group`
2325
+
2326
+ ```ts
2327
+ type Group = {
2328
+ id: string
2329
+ org_id: string
2330
+ name: string
2331
+ created_at: string
2332
+ updated_at: string
2333
+ created_by?: string
2334
+ crt_assignee?: {
2335
+ id?: string
2336
+ organization_id?: string
2337
+ created_at?: string // date-time
2338
+ activated_at?: string // date-time
2339
+ display_name?: string
2340
+ status?: "Active" | "Pending" | "Deactivated" | "Deleted"
2341
+ email?: string // email
2342
+ draft_email?: string // email
2343
+ department?: string
2344
+ phone?: string
2345
+ secondary_phone?: string
2346
+ mfa_enabled?: boolean
2347
+ phone_verified?: boolean
2348
+ token?: string
2349
+ signature?: string
2350
+ is_signature_enabled?: boolean
2351
+ preferred_language?: string
2352
+ custom_start_page?: string
2353
+ custom_navigation?: string
2354
+ override_release_channel?: "canary" | "rc" | "stable" | null
2355
+ feature_preferences?: Record<string, unknown>
2356
+ image_uri?: {
2357
+ original?: { ... }
2358
+ thumbnail_32?: { ... }
2359
+ }
2360
+ favorites?: Record<string, unknown>
2361
+ email_notification_setting?: Record<string, unknown>
2362
+ properties?: Array<{
2363
+ name: { ... }
2364
+ value: { ... }
2365
+ }>
2366
+ crt_index?: number
2367
+ }
2368
+ users?: Array<{
2369
+ id?: string
2370
+ organization_id?: string
2371
+ created_at?: string // date-time
2372
+ activated_at?: string // date-time
2373
+ display_name?: string
2374
+ status?: "Active" | "Pending" | "Deactivated" | "Deleted"
2375
+ email?: string // email
2376
+ draft_email?: string // email
2377
+ department?: string
2378
+ phone?: string
2379
+ secondary_phone?: string
2380
+ mfa_enabled?: boolean
2381
+ phone_verified?: boolean
2382
+ token?: string
2383
+ signature?: string
2384
+ is_signature_enabled?: boolean
2385
+ preferred_language?: string
2386
+ custom_start_page?: string
2387
+ custom_navigation?: string
2388
+ override_release_channel?: "canary" | "rc" | "stable" | null
2389
+ feature_preferences?: Record<string, unknown>
2390
+ image_uri?: {
2391
+ original?: { ... }
2392
+ thumbnail_32?: { ... }
2393
+ }
2394
+ favorites?: Record<string, unknown>
2395
+ email_notification_setting?: Record<string, unknown>
2396
+ properties?: Array<{
2397
+ name: { ... }
2398
+ value: { ... }
2399
+ }>
2400
+ }>
2401
+ }
2402
+ ```
2403
+
2404
+ ### `SignupUserPayload`
2405
+
2406
+ ```ts
2407
+ type SignupUserPayload = {
2408
+ organization_detail?: {
2409
+ type: "Vendor" | "Partner"
2410
+ name: string
2411
+ pricing_tier: string
2412
+ email: string
2413
+ phone?: string
2414
+ website?: string
2415
+ is_privacy_policy_checked?: boolean
2416
+ is_terms_and_conditions_checked?: boolean
2417
+ }
2418
+ user_detail?: {
2419
+ full_name: string
2420
+ email: string // email
2421
+ password: string
2422
+ }
2423
+ language?: "en" | "de"
2424
+ }
2425
+ ```
2426
+
2427
+ ### `OrganizationDetail`
2428
+
2429
+ ```ts
2430
+ type OrganizationDetail = {
2431
+ type: "Vendor" | "Partner"
2432
+ name: string
2433
+ pricing_tier: string
2434
+ email: string
2435
+ phone?: string
2436
+ website?: string
2437
+ is_privacy_policy_checked?: boolean
2438
+ is_terms_and_conditions_checked?: boolean
2439
+ }
2440
+ ```
2441
+
2442
+ ### `CognitoDetails`
2443
+
2444
+ ```ts
2445
+ type CognitoDetails = {
2446
+ cognito_region?: string
2447
+ cognito_user_pool_id?: string
2448
+ cognito_user_pool_client_id?: string
2449
+ cognito_user_pool_arn?: string
2450
+ }
2451
+ ```
2452
+
2453
+ ### `UserDetail`
2454
+
2455
+ ```ts
2456
+ type UserDetail = {
2457
+ full_name: string
2458
+ email: string // email
2459
+ password: string
2460
+ }
2461
+ ```
2462
+
2463
+ ### `Organization`
2464
+
2465
+ ```ts
2466
+ type Organization = {
2467
+ id?: string
2468
+ type?: "Vendor" | "Partner"
2469
+ name?: string
2470
+ signature?: string
2471
+ symbol?: string
2472
+ pricing_tier?: string
2473
+ email?: string
2474
+ phone?: string
2475
+ website?: string
2476
+ address?: {
2477
+ country?: string
2478
+ city?: string
2479
+ postal_code?: string
2480
+ street?: string
2481
+ street_number?: string
2482
+ }
2483
+ logo_url?: string
2484
+ logo_thumbnail_url?: string
2485
+ is_unlicensed_org?: boolean
2486
+ cognito_details?: {
2487
+ cognito_region?: string
2488
+ cognito_user_pool_id?: string
2489
+ cognito_user_pool_client_id?: string
2490
+ cognito_user_pool_arn?: string
2491
+ }
2492
+ }
2493
+ ```
2494
+
2495
+ ### `DataPointsResponse`
2496
+
2497
+ ```ts
2498
+ type DataPointsResponse = Array<{
2499
+ id?: number
2500
+ actual_users?: number
2501
+ max_users_last_month?: number
2502
+ non_billable_users_last_month?: number
2503
+ }>
2504
+ ```
2505
+
2506
+ ### `DataPoint`
2507
+
2508
+ ```ts
2509
+ type DataPoint = {
2510
+ id?: number
2511
+ actual_users?: number
2512
+ max_users_last_month?: number
2513
+ non_billable_users_last_month?: number
2514
+ }
2515
+ ```
2516
+
2517
+ ### `Passkey`
2518
+
2519
+ ```ts
2520
+ type Passkey = {
2521
+ credential_id?: string
2522
+ friendly_name?: string
2523
+ created_at?: string // date-time
2524
+ transports?: string[]
2525
+ aaguid?: string
2526
+ }
2527
+ ```
2528
+
2529
+ ### `PasskeyAuthenticationOptions`
2530
+
2531
+ ```ts
2532
+ type PasskeyAuthenticationOptions = {
2533
+ options?: object
2534
+ challenge_token?: string
2535
+ }
2536
+ ```
2537
+
2538
+ ### `PasskeyRegistrationOptions`
2539
+
2540
+ ```ts
2541
+ type PasskeyRegistrationOptions = {
2542
+ options?: object
2543
+ challenge_token?: string
2544
+ }
2545
+ ```
2546
+
2547
+ ### `PasskeyRegistrationResponse`
2548
+
2549
+ ```ts
2550
+ type PasskeyRegistrationResponse = {
2551
+ challenge_token: string
2552
+ registration_response: object
2553
+ friendly_name?: string
2554
+ }
2555
+ ```