@epilot/sdk 2.1.0-rc.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (359) hide show
  1. package/definitions/app.json +38 -0
  2. package/definitions/automation.json +2 -37
  3. package/definitions/blueprint-manifest-runtime.json +1 -1
  4. package/definitions/blueprint-manifest.json +115 -1
  5. package/definitions/customer-portal-runtime.json +1 -1
  6. package/definitions/customer-portal.json +279 -42
  7. package/definitions/data-management.json +10 -0
  8. package/definitions/email-template.json +25 -3
  9. package/definitions/entity.json +205 -3
  10. package/definitions/erp-integration-runtime.json +1 -1
  11. package/definitions/erp-integration.json +472 -13
  12. package/definitions/journey.json +257 -12
  13. package/definitions/kanban.json +630 -78
  14. package/definitions/organization-runtime.json +1 -1
  15. package/definitions/organization.json +614 -51
  16. package/definitions/workflow.json +40 -0
  17. package/dist/README-VG67PX4R.js +7 -0
  18. package/dist/README-W4B35MRN.cjs +7 -0
  19. package/dist/_index-AMVZBT2K.cjs +99 -0
  20. package/dist/_index-S6LFD3ER.js +99 -0
  21. package/dist/access-token-6BJDZSFE.cjs +7 -0
  22. package/dist/access-token-GSQZLDXR.js +7 -0
  23. package/dist/address-HA4RMRNQ.cjs +7 -0
  24. package/dist/address-QVJUGMOG.js +7 -0
  25. package/dist/address-suggestions-74244BAJ.js +7 -0
  26. package/dist/address-suggestions-IUQMYF27.cjs +7 -0
  27. package/dist/ai-agents-IZWFEUSH.js +7 -0
  28. package/dist/ai-agents-PWHKNRCX.cjs +7 -0
  29. package/dist/apis/access-token.cjs +10 -8
  30. package/dist/apis/access-token.js +5 -3
  31. package/dist/apis/address-suggestions.cjs +10 -8
  32. package/dist/apis/address-suggestions.js +5 -3
  33. package/dist/apis/address.cjs +10 -8
  34. package/dist/apis/address.js +5 -3
  35. package/dist/apis/ai-agents.cjs +10 -8
  36. package/dist/apis/ai-agents.js +5 -3
  37. package/dist/apis/app.cjs +10 -8
  38. package/dist/apis/app.js +5 -3
  39. package/dist/apis/audit-logs.cjs +10 -8
  40. package/dist/apis/audit-logs.js +5 -3
  41. package/dist/apis/automation.cjs +10 -8
  42. package/dist/apis/automation.js +5 -3
  43. package/dist/apis/billing.cjs +10 -8
  44. package/dist/apis/billing.js +5 -3
  45. package/dist/apis/blueprint-manifest.cjs +10 -8
  46. package/dist/apis/blueprint-manifest.js +5 -3
  47. package/dist/apis/consent.cjs +10 -8
  48. package/dist/apis/consent.js +5 -3
  49. package/dist/apis/customer-portal.cjs +10 -8
  50. package/dist/apis/customer-portal.js +5 -3
  51. package/dist/apis/dashboard.cjs +10 -8
  52. package/dist/apis/dashboard.js +5 -3
  53. package/dist/apis/data-management.cjs +10 -8
  54. package/dist/apis/data-management.js +5 -3
  55. package/dist/apis/deduplication.cjs +10 -8
  56. package/dist/apis/deduplication.js +5 -3
  57. package/dist/apis/design.cjs +10 -8
  58. package/dist/apis/design.js +5 -3
  59. package/dist/apis/document.cjs +10 -8
  60. package/dist/apis/document.js +5 -3
  61. package/dist/apis/email-settings.cjs +10 -8
  62. package/dist/apis/email-settings.js +5 -3
  63. package/dist/apis/email-template.cjs +10 -8
  64. package/dist/apis/email-template.js +5 -3
  65. package/dist/apis/entity-mapping.cjs +10 -8
  66. package/dist/apis/entity-mapping.js +5 -3
  67. package/dist/apis/entity.cjs +10 -8
  68. package/dist/apis/entity.js +5 -3
  69. package/dist/apis/environments.cjs +10 -8
  70. package/dist/apis/environments.js +5 -3
  71. package/dist/apis/erp-integration.cjs +10 -8
  72. package/dist/apis/erp-integration.js +5 -3
  73. package/dist/apis/event-catalog.cjs +10 -8
  74. package/dist/apis/event-catalog.js +5 -3
  75. package/dist/apis/file.cjs +10 -8
  76. package/dist/apis/file.js +5 -3
  77. package/dist/apis/iban.cjs +10 -8
  78. package/dist/apis/iban.js +5 -3
  79. package/dist/apis/journey.cjs +10 -8
  80. package/dist/apis/journey.js +5 -3
  81. package/dist/apis/kanban.cjs +10 -8
  82. package/dist/apis/kanban.js +5 -3
  83. package/dist/apis/message.cjs +10 -8
  84. package/dist/apis/message.js +5 -3
  85. package/dist/apis/metering.cjs +10 -8
  86. package/dist/apis/metering.js +5 -3
  87. package/dist/apis/notes.cjs +10 -8
  88. package/dist/apis/notes.js +5 -3
  89. package/dist/apis/notification.cjs +10 -8
  90. package/dist/apis/notification.js +5 -3
  91. package/dist/apis/organization.cjs +10 -8
  92. package/dist/apis/organization.d.cts +2 -2
  93. package/dist/apis/organization.d.ts +2 -2
  94. package/dist/apis/organization.js +5 -3
  95. package/dist/apis/partner-directory.cjs +10 -8
  96. package/dist/apis/partner-directory.js +5 -3
  97. package/dist/apis/permissions.cjs +10 -8
  98. package/dist/apis/permissions.js +5 -3
  99. package/dist/apis/pricing-tier.cjs +10 -8
  100. package/dist/apis/pricing-tier.js +5 -3
  101. package/dist/apis/pricing.cjs +10 -8
  102. package/dist/apis/pricing.js +5 -3
  103. package/dist/apis/purpose.cjs +10 -8
  104. package/dist/apis/purpose.js +5 -3
  105. package/dist/apis/sandbox.cjs +10 -8
  106. package/dist/apis/sandbox.js +5 -3
  107. package/dist/apis/submission.cjs +10 -8
  108. package/dist/apis/submission.js +5 -3
  109. package/dist/apis/targeting.cjs +10 -8
  110. package/dist/apis/targeting.js +5 -3
  111. package/dist/apis/template-variables.cjs +10 -8
  112. package/dist/apis/template-variables.js +5 -3
  113. package/dist/apis/user.cjs +10 -8
  114. package/dist/apis/user.js +5 -3
  115. package/dist/apis/validation-rules.cjs +10 -8
  116. package/dist/apis/validation-rules.js +5 -3
  117. package/dist/apis/webhooks.cjs +10 -8
  118. package/dist/apis/webhooks.js +5 -3
  119. package/dist/apis/workflow-definition.cjs +10 -8
  120. package/dist/apis/workflow-definition.js +5 -3
  121. package/dist/apis/workflow.cjs +10 -8
  122. package/dist/apis/workflow.js +5 -3
  123. package/dist/app-IKHWU222.cjs +7 -0
  124. package/dist/app-VLM3SWKA.js +7 -0
  125. package/dist/audit-logs-5VXHOQ7S.js +7 -0
  126. package/dist/audit-logs-D2LFUA2R.cjs +7 -0
  127. package/dist/automation-3HGCK725.cjs +7 -0
  128. package/dist/automation-72VGEJCY.js +7 -0
  129. package/dist/billing-DUWDISHP.cjs +7 -0
  130. package/dist/billing-IPALEAG2.js +7 -0
  131. package/dist/blueprint-manifest-CXSCRQ5X.js +7 -0
  132. package/dist/blueprint-manifest-SHNZPK5O.cjs +7 -0
  133. package/dist/{chunk-6J7CIOKR.js → chunk-2HOJWFQ4.js} +1 -1
  134. package/dist/{chunk-BDIJHJOG.js → chunk-372VUPHN.js} +1 -1
  135. package/dist/{chunk-Q5TESEDZ.cjs → chunk-3HJEWWPS.cjs} +2 -2
  136. package/dist/{chunk-ID6BXIOZ.js → chunk-3N67SSL3.js} +1 -1
  137. package/dist/chunk-3XEP56SV.cjs +204 -0
  138. package/dist/{chunk-7KFKA3AH.cjs → chunk-3ZZ57K3S.cjs} +2 -2
  139. package/dist/{chunk-CVSQT5PV.cjs → chunk-4SWC43JO.cjs} +2 -2
  140. package/dist/{chunk-O3R6C3WW.js → chunk-4VFQTSJQ.js} +1 -1
  141. package/dist/{chunk-LXAJ722U.js → chunk-57QIBYDN.js} +1 -1
  142. package/dist/{chunk-SPZSDRM6.cjs → chunk-5SNJAD6F.cjs} +2 -2
  143. package/dist/{chunk-OI2M6FSB.js → chunk-73H6TVKN.js} +1 -1
  144. package/dist/{chunk-BB7WFIE2.cjs → chunk-A6JOROUC.cjs} +2 -2
  145. package/dist/{chunk-SHPXCOTN.cjs → chunk-AJKH25H2.cjs} +3 -3
  146. package/dist/{chunk-DBNEZWK2.cjs → chunk-ARWMTXJV.cjs} +2 -2
  147. package/dist/{chunk-7BPPP4M2.js → chunk-B3ZGAG7B.js} +1 -1
  148. package/dist/{chunk-5WN2YXNU.cjs → chunk-BH5ZXK4J.cjs} +2 -2
  149. package/dist/{chunk-JM6HKPSC.cjs → chunk-BWFXLUK5.cjs} +2 -2
  150. package/dist/{chunk-V56ZCL54.js → chunk-C6UTZEHH.js} +1 -1
  151. package/dist/{chunk-ZPCMZO2O.js → chunk-CPKBR34V.js} +1 -1
  152. package/dist/{chunk-UTQY2DSM.js → chunk-CWSHYFVZ.js} +1 -1
  153. package/dist/{chunk-5YVVQBA2.js → chunk-DJKSULPK.js} +1 -1
  154. package/dist/{chunk-XLOXC52O.js → chunk-DNJ54L2G.js} +1 -1
  155. package/dist/{chunk-YXPUCBVK.cjs → chunk-DY2D2IW5.cjs} +2 -2
  156. package/dist/{chunk-Z5LLUUFD.cjs → chunk-E26ZO7QM.cjs} +2 -2
  157. package/dist/{chunk-RNKZDJOY.js → chunk-EBCHCYUO.js} +1 -1
  158. package/dist/{chunk-4MO4WLKA.cjs → chunk-EPAIOB5U.cjs} +2 -2
  159. package/dist/{chunk-UX2IZQNM.cjs → chunk-EQZMT2HF.cjs} +2 -2
  160. package/dist/{chunk-U52A2DMK.cjs → chunk-F376L6PP.cjs} +2 -2
  161. package/dist/{chunk-TBBLLEB2.cjs → chunk-F472YLJG.cjs} +2 -2
  162. package/dist/{chunk-W3MM2BSK.cjs → chunk-FXOX3X7E.cjs} +2 -2
  163. package/dist/{chunk-E4IFBCNM.cjs → chunk-G2REP2VZ.cjs} +2 -2
  164. package/dist/{chunk-CFGXI3FX.js → chunk-GLO477NZ.js} +1 -1
  165. package/dist/{chunk-PBNPZ7UX.js → chunk-H4VSK4KF.js} +1 -1
  166. package/dist/{chunk-33TQRYMY.js → chunk-HPSGM6QP.js} +1 -1
  167. package/dist/{chunk-RQKN4WTW.cjs → chunk-HPYHWTTA.cjs} +2 -2
  168. package/dist/{chunk-5RXE7X63.js → chunk-IH4CMOML.js} +2 -2
  169. package/dist/{chunk-VD5TBK2T.cjs → chunk-IMT3IE5M.cjs} +2 -2
  170. package/dist/{chunk-DIP442PL.js → chunk-IP2WWEOU.js} +1 -1
  171. package/dist/{chunk-FCLW3FLF.js → chunk-IS2VB342.js} +1 -1
  172. package/dist/{chunk-UNHWLNE4.js → chunk-ITX53XAZ.js} +1 -1
  173. package/dist/{chunk-KU2XF4TS.cjs → chunk-JXBXDTFG.cjs} +2 -2
  174. package/dist/{chunk-Y4YQEDR3.js → chunk-K62XK7KU.js} +1 -1
  175. package/dist/chunk-KA3TGFJP.js +14 -0
  176. package/dist/{chunk-IXRDP4VP.js → chunk-KBOVBUBM.js} +1 -1
  177. package/dist/{chunk-MKZGM4A6.js → chunk-KPGC2D6E.js} +1 -1
  178. package/dist/{chunk-ZAPA4RPI.js → chunk-KSXTBGIV.js} +1 -1
  179. package/dist/{chunk-PLBIQ2Y7.cjs → chunk-LCIJ4TJ4.cjs} +2 -2
  180. package/dist/{chunk-TUAAE3UC.cjs → chunk-LQOLYXGQ.cjs} +2 -2
  181. package/dist/{chunk-6ADJEPMJ.js → chunk-LSIWCIQV.js} +1 -1
  182. package/dist/{chunk-CBRWUULQ.js → chunk-MHNSZ4HE.js} +1 -1
  183. package/dist/{chunk-WOOKHE7Y.cjs → chunk-MKX4CKAB.cjs} +2 -2
  184. package/dist/{chunk-N2P26AAD.js → chunk-MRTAFRO7.js} +1 -1
  185. package/dist/{chunk-YGULLD73.js → chunk-MRZ7LGKZ.js} +1 -1
  186. package/dist/{chunk-CLMZ2EXW.js → chunk-MSASBR2Y.js} +1 -1
  187. package/dist/{chunk-KEJRWMXR.cjs → chunk-NAWLLC3T.cjs} +2 -2
  188. package/dist/chunk-NJK5F5TF.cjs +21 -0
  189. package/dist/{chunk-HBPCJRZX.cjs → chunk-NLSZVGHK.cjs} +2 -2
  190. package/dist/{chunk-CK36RZXR.js → chunk-O4LRVGOY.js} +1 -1
  191. package/dist/chunk-OG2DMGU6.cjs +14 -0
  192. package/dist/{chunk-TIJGLQKO.js → chunk-OGQKJTXF.js} +1 -1
  193. package/dist/{chunk-UE4XPL43.js → chunk-PETLAONH.js} +1 -1
  194. package/dist/{chunk-MK4ZGXVE.cjs → chunk-PVSS2WPM.cjs} +2 -2
  195. package/dist/{chunk-ONN5COYQ.cjs → chunk-PXITFTJA.cjs} +2 -2
  196. package/dist/{chunk-ZAXYMQ2B.cjs → chunk-QDVPPRWI.cjs} +2 -2
  197. package/dist/{chunk-IPFHV2FV.cjs → chunk-QKERXNJJ.cjs} +2 -2
  198. package/dist/{chunk-ZDJ3J6Z6.cjs → chunk-QLML3IP5.cjs} +2 -2
  199. package/dist/{chunk-YFHQYQII.js → chunk-QVAJ5JP4.js} +1 -1
  200. package/dist/{chunk-S2QF6HG2.cjs → chunk-RD7E4OSJ.cjs} +2 -2
  201. package/dist/{chunk-XIB2G42L.cjs → chunk-RWSA3LXE.cjs} +2 -2
  202. package/dist/{chunk-R6WNZVTA.cjs → chunk-RXSS67VI.cjs} +2 -2
  203. package/dist/{chunk-UXVV3BSC.cjs → chunk-S3ZNESMC.cjs} +2 -2
  204. package/dist/{chunk-YNPRF4BX.js → chunk-S7NDMDRX.js} +1 -1
  205. package/dist/{chunk-HO7KACZZ.cjs → chunk-SK3VYIZ6.cjs} +2 -2
  206. package/dist/{chunk-CX3KG7D2.cjs → chunk-SMGHAG5C.cjs} +2 -2
  207. package/dist/{chunk-D5FJ26GG.js → chunk-T46LODOF.js} +1 -1
  208. package/dist/{chunk-Y4ZMNMYI.js → chunk-TIJWJVKZ.js} +1 -1
  209. package/dist/{chunk-EIILOQ6X.js → chunk-TLWCYLNA.js} +1 -1
  210. package/dist/{chunk-JX45ME2Z.js → chunk-TRJLYZHD.js} +1 -1
  211. package/dist/{chunk-RNBO3DEN.js → chunk-UKKJMCNH.js} +1 -1
  212. package/dist/chunk-ULBEEHG4.js +204 -0
  213. package/dist/{chunk-UDO4JYVU.cjs → chunk-VGTUK3QD.cjs} +2 -2
  214. package/dist/{chunk-4JPVFLVU.js → chunk-VQ7R36AC.js} +1 -1
  215. package/dist/{chunk-IPDIEZBN.cjs → chunk-VVQB5W7U.cjs} +2 -2
  216. package/dist/{chunk-HKZQ56AS.cjs → chunk-VVVATFGK.cjs} +2 -2
  217. package/dist/{chunk-URRL33D5.cjs → chunk-WMTYO5OX.cjs} +2 -2
  218. package/dist/{chunk-U4BMKRG6.js → chunk-WOSSSFXB.js} +1 -1
  219. package/dist/{chunk-OBQIS3KU.js → chunk-WOXXNKTE.js} +1 -1
  220. package/dist/{chunk-WAKSLH7V.cjs → chunk-XKI2OAYV.cjs} +2 -2
  221. package/dist/{chunk-5Y2KLUU6.cjs → chunk-XR4QF6KQ.cjs} +2 -2
  222. package/dist/{chunk-6BERHKDQ.cjs → chunk-XYHTQ523.cjs} +2 -2
  223. package/dist/{chunk-XD6XML3Z.cjs → chunk-XZYZLSUO.cjs} +2 -2
  224. package/dist/chunk-YPSWSI3M.js +21 -0
  225. package/dist/{chunk-4K3MX2J6.js → chunk-YYBIU5BQ.js} +1 -1
  226. package/dist/{chunk-HSGQSTVK.js → chunk-YZA5WZUS.js} +1 -1
  227. package/dist/{chunk-GGBSLAVO.cjs → chunk-Z4LUE424.cjs} +2 -2
  228. package/dist/{chunk-NSOHW3R6.js → chunk-ZV6XYUXS.js} +1 -1
  229. package/dist/consent-CS2ZBZX4.cjs +7 -0
  230. package/dist/consent-NNYHF2N4.js +7 -0
  231. package/dist/customer-portal-D3SLPAHZ.js +7 -0
  232. package/dist/customer-portal-UR3GN4VU.cjs +7 -0
  233. package/dist/dashboard-UHYR5RTY.cjs +7 -0
  234. package/dist/dashboard-UTPGXFW5.js +7 -0
  235. package/dist/data-management-QH2IJ5QV.js +7 -0
  236. package/dist/data-management-TEFRLGSU.cjs +7 -0
  237. package/dist/deduplication-ECVAZVVA.cjs +7 -0
  238. package/dist/deduplication-GYIST22B.js +7 -0
  239. package/dist/design-KUVXMFFK.cjs +7 -0
  240. package/dist/design-YKBXRW5C.js +7 -0
  241. package/dist/document-CY2A2OE7.js +7 -0
  242. package/dist/document-RYQ7MF6U.cjs +7 -0
  243. package/dist/email-settings-TQ5GGDYG.js +7 -0
  244. package/dist/email-settings-TQC34GST.cjs +7 -0
  245. package/dist/email-template-M2VVL4TI.cjs +7 -0
  246. package/dist/email-template-WYROV3UG.js +7 -0
  247. package/dist/entity-FA6PZX6S.js +7 -0
  248. package/dist/entity-IX5NSHPX.cjs +7 -0
  249. package/dist/entity-mapping-7J3IAGKQ.js +7 -0
  250. package/dist/entity-mapping-ZNMFCUKK.cjs +7 -0
  251. package/dist/environments-E3X6NYGX.js +7 -0
  252. package/dist/environments-P2JS4F5N.cjs +7 -0
  253. package/dist/erp-integration-EP2XFEH5.js +7 -0
  254. package/dist/erp-integration-NNV72VFI.cjs +7 -0
  255. package/dist/event-catalog-C45ISVMP.cjs +7 -0
  256. package/dist/event-catalog-D7VJ7WRS.js +7 -0
  257. package/dist/file-UOWBTDIU.cjs +7 -0
  258. package/dist/file-XSN3NAVZ.js +7 -0
  259. package/dist/iban-24GHLFDB.cjs +7 -0
  260. package/dist/iban-LDKYDVQV.js +7 -0
  261. package/dist/index.cjs +107 -100
  262. package/dist/index.d.cts +17 -2
  263. package/dist/index.d.ts +17 -2
  264. package/dist/index.js +58 -51
  265. package/dist/journey-7CKX67M7.js +7 -0
  266. package/dist/journey-EUZ6MVHG.cjs +7 -0
  267. package/dist/kanban-CHTH2ZSY.cjs +7 -0
  268. package/dist/kanban-HI6LL5WY.js +7 -0
  269. package/dist/message-3XZLJR6R.cjs +7 -0
  270. package/dist/message-ZNMCS5YH.js +7 -0
  271. package/dist/metering-DZNZPPY6.cjs +7 -0
  272. package/dist/metering-KOSCPPKB.js +7 -0
  273. package/dist/notes-3AO5GXIT.js +7 -0
  274. package/dist/notes-MPWOQC5J.cjs +7 -0
  275. package/dist/notification-PZOCUYD5.cjs +7 -0
  276. package/dist/notification-VWDZRSFZ.js +7 -0
  277. package/dist/organization-RARYYG2E.cjs +7 -0
  278. package/dist/organization-ZERPH2IH.js +7 -0
  279. package/dist/{organization.d-Bd2Hmk8v.d.cts → organization.d-DqwnNxMg.d.cts} +34 -7
  280. package/dist/{organization.d-Bd2Hmk8v.d.ts → organization.d-DqwnNxMg.d.ts} +34 -7
  281. package/dist/partner-directory-2XMPQWWX.js +7 -0
  282. package/dist/partner-directory-WHNTKQ5E.cjs +7 -0
  283. package/dist/permissions-4T3GFNB4.js +7 -0
  284. package/dist/permissions-FGBIJNN7.cjs +7 -0
  285. package/dist/pricing-4Z4TOETA.cjs +7 -0
  286. package/dist/pricing-C65DTZSX.js +7 -0
  287. package/dist/pricing-tier-NI35WOUP.cjs +7 -0
  288. package/dist/pricing-tier-VUOFK5Q7.js +7 -0
  289. package/dist/purpose-AKOEUHZ4.cjs +7 -0
  290. package/dist/purpose-RBRV3AQZ.js +7 -0
  291. package/dist/sandbox-2KN4X66E.cjs +7 -0
  292. package/dist/sandbox-L2SOOGGR.js +7 -0
  293. package/dist/submission-7BISSPO6.js +7 -0
  294. package/dist/submission-Q24BU4GS.cjs +7 -0
  295. package/dist/targeting-EYGYZD6M.cjs +7 -0
  296. package/dist/targeting-GEJTJN5Z.js +7 -0
  297. package/dist/template-variables-OAYS2E3G.cjs +1148 -0
  298. package/dist/template-variables-VKDJJZUT.js +1148 -0
  299. package/dist/user-EIEOI3OG.js +7 -0
  300. package/dist/user-NJJ7XVKB.cjs +7 -0
  301. package/dist/validation-rules-P6F5P73P.js +7 -0
  302. package/dist/validation-rules-VDU3CIZV.cjs +7 -0
  303. package/dist/webhooks-I7JWU34X.cjs +7 -0
  304. package/dist/webhooks-WPLEHVPX.js +7 -0
  305. package/dist/workflow-3LLURW3H.js +7 -0
  306. package/dist/workflow-RAGQDYXT.cjs +7 -0
  307. package/dist/workflow-definition-B6ELOZUR.cjs +7 -0
  308. package/dist/workflow-definition-D24CRCK2.js +7 -0
  309. package/docs/access-token.md +440 -0
  310. package/docs/address-suggestions.md +256 -0
  311. package/docs/address.md +284 -0
  312. package/docs/ai-agents.md +1891 -0
  313. package/docs/app.md +3388 -0
  314. package/docs/audit-logs.md +242 -0
  315. package/docs/automation.md +4044 -0
  316. package/docs/billing.md +783 -0
  317. package/docs/blueprint-manifest.md +3234 -0
  318. package/docs/consent.md +213 -0
  319. package/docs/customer-portal.md +11399 -0
  320. package/docs/dashboard.md +640 -0
  321. package/docs/data-management.md +883 -0
  322. package/docs/deduplication.md +135 -0
  323. package/docs/design.md +1273 -0
  324. package/docs/document.md +590 -0
  325. package/docs/email-settings.md +1544 -0
  326. package/docs/email-template.md +1197 -0
  327. package/docs/entity-mapping.md +2864 -0
  328. package/docs/entity.md +9595 -0
  329. package/docs/environments.md +259 -0
  330. package/docs/erp-integration.md +4572 -0
  331. package/docs/event-catalog.md +835 -0
  332. package/docs/file.md +1453 -0
  333. package/docs/iban.md +61 -0
  334. package/docs/journey.md +2268 -0
  335. package/docs/kanban.md +882 -0
  336. package/docs/message.md +2122 -0
  337. package/docs/metering.md +1431 -0
  338. package/docs/notes.md +670 -0
  339. package/docs/notification.md +1207 -0
  340. package/docs/organization.md +733 -0
  341. package/docs/partner-directory.md +1197 -0
  342. package/docs/permissions.md +1047 -0
  343. package/docs/pricing-tier.md +81 -0
  344. package/docs/pricing.md +5923 -0
  345. package/docs/purpose.md +283 -0
  346. package/docs/sandbox.md +389 -0
  347. package/docs/submission.md +195 -0
  348. package/docs/targeting.md +959 -0
  349. package/docs/template-variables.md +1141 -0
  350. package/docs/user.md +2555 -0
  351. package/docs/validation-rules.md +1597 -0
  352. package/docs/webhooks.md +996 -0
  353. package/docs/workflow-definition.md +3842 -0
  354. package/docs/workflow.md +4465 -0
  355. package/package.json +3 -2
  356. package/dist/chunk-GMBRXWMD.cjs +0 -14
  357. package/dist/chunk-L43U5IO3.js +0 -14
  358. package/dist/chunk-XE25WERA.js +0 -125
  359. 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
+ ```