@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
@@ -0,0 +1,2265 @@
1
+ import "./chunk-YPSWSI3M.js";
2
+
3
+ // src/definitions/user.json
4
+ var openapi = "3.0.2";
5
+ var info = {
6
+ title: "User API",
7
+ version: "2.0.0",
8
+ description: "Manage users in epilot organization(s)\n"
9
+ };
10
+ var tags = [
11
+ {
12
+ name: "User V2",
13
+ description: "User API V2"
14
+ },
15
+ {
16
+ name: "User V1",
17
+ description: "Legacy User API"
18
+ },
19
+ {
20
+ name: "Group",
21
+ description: "User Groups"
22
+ },
23
+ {
24
+ name: "Navigation",
25
+ description: "Customized Workplace Navigation Configurations"
26
+ }
27
+ ];
28
+ var security = [
29
+ {
30
+ EpilotAuth: []
31
+ }
32
+ ];
33
+ var paths = {
34
+ "/v2/users/public/signup": {
35
+ post: {
36
+ operationId: "signUpUser",
37
+ summary: "signUpUser",
38
+ security: [],
39
+ parameters: [
40
+ {
41
+ name: "token",
42
+ in: "query",
43
+ description: "Partner invitation token",
44
+ required: false,
45
+ schema: {
46
+ $ref: "#/components/schemas/PartnerInvitationToken"
47
+ }
48
+ }
49
+ ],
50
+ tags: ["User V2"],
51
+ requestBody: {
52
+ content: {
53
+ "application/json": {
54
+ schema: {
55
+ $ref: "#/components/schemas/SignupUserPayload"
56
+ }
57
+ }
58
+ }
59
+ },
60
+ responses: {
61
+ "200": {
62
+ description: "The created user and organization",
63
+ content: {
64
+ "application/json": {
65
+ schema: {
66
+ type: "object",
67
+ properties: {
68
+ user: {
69
+ $ref: "#/components/schemas/User"
70
+ },
71
+ organization: {
72
+ $ref: "#/components/schemas/Organization"
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ },
82
+ "/v2/users/me": {
83
+ get: {
84
+ operationId: "getMeV2",
85
+ summary: "getMeV2",
86
+ description: "Get currently logged in user",
87
+ tags: ["User V2"],
88
+ responses: {
89
+ "200": {
90
+ description: "currently logged in user",
91
+ content: {
92
+ "application/json": {
93
+ schema: {
94
+ $ref: "#/components/schemas/UserV2"
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ },
102
+ "/v2/users": {
103
+ get: {
104
+ operationId: "listUsersV2",
105
+ summary: "listUsersV2",
106
+ parameters: [
107
+ {
108
+ name: "query",
109
+ in: "query",
110
+ description: "Query text to filter by",
111
+ required: false,
112
+ schema: {
113
+ $ref: "#/components/schemas/Query"
114
+ }
115
+ },
116
+ {
117
+ name: "limit",
118
+ in: "query",
119
+ description: "Limit the results size",
120
+ required: false,
121
+ schema: {
122
+ $ref: "#/components/schemas/Limit"
123
+ }
124
+ },
125
+ {
126
+ name: "offset",
127
+ in: "query",
128
+ description: "Specify the offset",
129
+ required: false,
130
+ schema: {
131
+ $ref: "#/components/schemas/Offset"
132
+ }
133
+ }
134
+ ],
135
+ description: "Get the list of organization users",
136
+ tags: ["User V2"],
137
+ responses: {
138
+ "200": {
139
+ description: "List of organization users",
140
+ content: {
141
+ "application/json": {
142
+ schema: {
143
+ type: "object",
144
+ properties: {
145
+ results: {
146
+ type: "array",
147
+ items: {
148
+ $ref: "#/components/schemas/UserV2"
149
+ }
150
+ }
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+ },
159
+ "/v2/users/{id}": {
160
+ get: {
161
+ operationId: "getUserV2",
162
+ summary: "getUserV2",
163
+ description: "Get user details by user id",
164
+ tags: ["User V2"],
165
+ parameters: [
166
+ {
167
+ in: "path",
168
+ name: "id",
169
+ schema: {
170
+ $ref: "#/components/schemas/UserId"
171
+ },
172
+ required: true,
173
+ description: "The Id of user"
174
+ }
175
+ ],
176
+ responses: {
177
+ "200": {
178
+ description: "The returned user",
179
+ content: {
180
+ "application/json": {
181
+ schema: {
182
+ $ref: "#/components/schemas/UserV2"
183
+ }
184
+ }
185
+ }
186
+ }
187
+ }
188
+ },
189
+ patch: {
190
+ operationId: "updateUserV2",
191
+ summary: "updateUserV2",
192
+ description: "Update user details",
193
+ tags: ["User V2"],
194
+ parameters: [
195
+ {
196
+ in: "path",
197
+ name: "id",
198
+ schema: {
199
+ $ref: "#/components/schemas/UserId"
200
+ },
201
+ required: true,
202
+ description: "The Id of user"
203
+ }
204
+ ],
205
+ requestBody: {
206
+ content: {
207
+ "application/json": {
208
+ schema: {
209
+ $ref: "#/components/schemas/UserV2"
210
+ }
211
+ }
212
+ }
213
+ },
214
+ responses: {
215
+ "200": {
216
+ description: "The returned user",
217
+ content: {
218
+ "application/json": {
219
+ schema: {
220
+ $ref: "#/components/schemas/UserV2"
221
+ }
222
+ }
223
+ }
224
+ }
225
+ }
226
+ },
227
+ delete: {
228
+ operationId: "deleteUserV2",
229
+ summary: "deleteUserV2",
230
+ description: "Delete user by user id",
231
+ tags: ["User V2"],
232
+ parameters: [
233
+ {
234
+ in: "path",
235
+ name: "id",
236
+ schema: {
237
+ $ref: "#/components/schemas/UserId"
238
+ },
239
+ required: true,
240
+ description: "The Id of user"
241
+ }
242
+ ],
243
+ responses: {
244
+ "200": {
245
+ description: "The deleted user",
246
+ content: {
247
+ "application/json": {
248
+ schema: {
249
+ $ref: "#/components/schemas/User"
250
+ }
251
+ }
252
+ }
253
+ }
254
+ }
255
+ }
256
+ },
257
+ "/v2/users/invite": {
258
+ post: {
259
+ operationId: "inviteUser",
260
+ summary: "inviteUser",
261
+ description: "Creates a new user in the caller's organization and sends an invite email to activate the user\n",
262
+ tags: ["User V2"],
263
+ requestBody: {
264
+ content: {
265
+ "application/json": {
266
+ schema: {
267
+ $ref: "#/components/schemas/UserInvitationPayload"
268
+ }
269
+ }
270
+ }
271
+ },
272
+ responses: {
273
+ "201": {
274
+ description: "Invited successfully",
275
+ content: {
276
+ "application/json": {
277
+ schema: {
278
+ $ref: "#/components/schemas/UserV2"
279
+ }
280
+ }
281
+ }
282
+ },
283
+ "400": {
284
+ description: "Unable to invite the above email address."
285
+ }
286
+ }
287
+ }
288
+ },
289
+ "/v2/users/invite:resendEmail": {
290
+ post: {
291
+ operationId: "resendUserInvitation",
292
+ summary: "resendUserInvitation",
293
+ description: "Resend user invitation email",
294
+ tags: ["User V2"],
295
+ requestBody: {
296
+ content: {
297
+ "application/json": {
298
+ schema: {
299
+ type: "object",
300
+ properties: {
301
+ email: {
302
+ type: "string",
303
+ description: "Email address of the address",
304
+ example: "test@example.com"
305
+ },
306
+ language: {
307
+ type: "string",
308
+ description: "Language for user invitation email",
309
+ enum: ["en", "de"],
310
+ default: "en"
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ responses: {
318
+ "200": {
319
+ description: "User Invitation sent successfully.",
320
+ content: {
321
+ "application/json": {
322
+ schema: {
323
+ $ref: "#/components/schemas/UserV2"
324
+ }
325
+ }
326
+ }
327
+ },
328
+ "400": {
329
+ description: "User not found."
330
+ }
331
+ }
332
+ }
333
+ },
334
+ "/v2/users/{id}/groups": {
335
+ get: {
336
+ operationId: "getGroupsForUser",
337
+ summary: "getGroupsForUser",
338
+ description: "Get groups of a user",
339
+ tags: ["User V2"],
340
+ parameters: [
341
+ {
342
+ in: "path",
343
+ name: "id",
344
+ schema: {
345
+ $ref: "#/components/schemas/UserId"
346
+ },
347
+ required: true,
348
+ description: "The Id of user"
349
+ }
350
+ ],
351
+ responses: {
352
+ "200": {
353
+ description: "The returned user groups",
354
+ content: {
355
+ "application/json": {
356
+ schema: {
357
+ type: "array",
358
+ items: {
359
+ $ref: "#/components/schemas/Group"
360
+ }
361
+ }
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ },
368
+ "/v1/groups": {
369
+ get: {
370
+ operationId: "getGroups",
371
+ summary: "getGroups",
372
+ description: "Lists groups in organizations you have access to",
373
+ tags: ["Group"],
374
+ parameters: [
375
+ {
376
+ name: "query",
377
+ in: "query",
378
+ description: "Query name to filter by",
379
+ required: false,
380
+ schema: {
381
+ $ref: "#/components/schemas/Query"
382
+ }
383
+ },
384
+ {
385
+ name: "limit",
386
+ in: "query",
387
+ description: "Limit the results size",
388
+ required: false,
389
+ schema: {
390
+ $ref: "#/components/schemas/Limit"
391
+ }
392
+ },
393
+ {
394
+ name: "offset",
395
+ in: "query",
396
+ description: "Specify the offset",
397
+ required: false,
398
+ schema: {
399
+ $ref: "#/components/schemas/Offset"
400
+ }
401
+ },
402
+ {
403
+ name: "hydrate",
404
+ in: "query",
405
+ description: "Pass it true when you want to hydrate the group with full user details",
406
+ required: false,
407
+ schema: {
408
+ $ref: "#/components/schemas/Hydrate"
409
+ }
410
+ }
411
+ ],
412
+ responses: {
413
+ "200": {
414
+ description: "List of groups",
415
+ content: {
416
+ "application/json": {
417
+ schema: {
418
+ type: "object",
419
+ properties: {
420
+ hits: {
421
+ type: "number",
422
+ example: 1
423
+ },
424
+ groups: {
425
+ type: "array",
426
+ items: {
427
+ $ref: "#/components/schemas/Group"
428
+ }
429
+ }
430
+ }
431
+ }
432
+ }
433
+ }
434
+ }
435
+ }
436
+ },
437
+ post: {
438
+ operationId: "createGroup",
439
+ summary: "createGroup",
440
+ description: "Create a new group",
441
+ tags: ["Group"],
442
+ requestBody: {
443
+ content: {
444
+ "application/json": {
445
+ schema: {
446
+ $ref: "#/components/schemas/CreateGroupReq"
447
+ }
448
+ }
449
+ }
450
+ },
451
+ responses: {
452
+ "201": {
453
+ description: "Group created successfully",
454
+ content: {
455
+ "application/json": {
456
+ schema: {
457
+ $ref: "#/components/schemas/Group"
458
+ }
459
+ }
460
+ }
461
+ }
462
+ }
463
+ }
464
+ },
465
+ "/v1/groups/{id}": {
466
+ get: {
467
+ operationId: "getGroup",
468
+ summary: "getGroup",
469
+ description: "Get group by id",
470
+ tags: ["Group"],
471
+ parameters: [
472
+ {
473
+ name: "id",
474
+ in: "path",
475
+ description: "Group id",
476
+ required: true,
477
+ schema: {
478
+ $ref: "#/components/schemas/GroupId"
479
+ }
480
+ },
481
+ {
482
+ name: "hydrate",
483
+ in: "query",
484
+ description: "Pass it true when you want to hydrate the group with full user details",
485
+ required: false,
486
+ schema: {
487
+ $ref: "#/components/schemas/Hydrate"
488
+ }
489
+ }
490
+ ],
491
+ responses: {
492
+ "200": {
493
+ description: "Group",
494
+ content: {
495
+ "application/json": {
496
+ schema: {
497
+ $ref: "#/components/schemas/Group"
498
+ }
499
+ }
500
+ }
501
+ },
502
+ "404": {
503
+ description: "Group not found"
504
+ }
505
+ }
506
+ },
507
+ patch: {
508
+ operationId: "updateGroup",
509
+ summary: "updateGroup",
510
+ description: "Update group by id",
511
+ tags: ["Group"],
512
+ parameters: [
513
+ {
514
+ name: "id",
515
+ in: "path",
516
+ description: "Group id",
517
+ required: true,
518
+ schema: {
519
+ $ref: "#/components/schemas/GroupId"
520
+ }
521
+ }
522
+ ],
523
+ requestBody: {
524
+ content: {
525
+ "application/json": {
526
+ schema: {
527
+ $ref: "#/components/schemas/UpdateGroupReq"
528
+ }
529
+ }
530
+ }
531
+ },
532
+ responses: {
533
+ "201": {
534
+ description: "Group created successfully",
535
+ content: {
536
+ "application/json": {
537
+ schema: {
538
+ $ref: "#/components/schemas/Group"
539
+ }
540
+ }
541
+ }
542
+ },
543
+ "404": {
544
+ description: "Group not found"
545
+ }
546
+ }
547
+ },
548
+ delete: {
549
+ operationId: "deleteGroup",
550
+ summary: "deleteGroup",
551
+ description: "Delete group by id",
552
+ tags: ["Group"],
553
+ parameters: [
554
+ {
555
+ name: "id",
556
+ in: "path",
557
+ description: "Group id",
558
+ required: true,
559
+ schema: {
560
+ $ref: "#/components/schemas/GroupId"
561
+ }
562
+ }
563
+ ],
564
+ responses: {
565
+ "204": {
566
+ description: "Group deleted successfully"
567
+ }
568
+ }
569
+ }
570
+ },
571
+ "/v1/groups/{id}/user:next": {
572
+ post: {
573
+ operationId: "advanceUserAssignment",
574
+ summary: "advanceUserAssignment",
575
+ description: "Advance user assignment to next user in line",
576
+ tags: ["Group"],
577
+ parameters: [
578
+ {
579
+ name: "id",
580
+ in: "path",
581
+ description: "Group id",
582
+ required: true,
583
+ schema: {
584
+ $ref: "#/components/schemas/GroupId"
585
+ }
586
+ }
587
+ ],
588
+ responses: {
589
+ "200": {
590
+ description: "Updated user group with crt_assignee updated to next user in line",
591
+ content: {
592
+ "application/json": {
593
+ schema: {
594
+ $ref: "#/components/schemas/Group"
595
+ }
596
+ }
597
+ }
598
+ },
599
+ "404": {
600
+ description: "Group not found"
601
+ },
602
+ "422": {
603
+ description: "User Group has no users assigned, thus it cannot advance to next user"
604
+ }
605
+ }
606
+ }
607
+ },
608
+ "/v2/user/navigations": {
609
+ post: {
610
+ operationId: "createNavigation",
611
+ summary: "createNavigation",
612
+ description: "Create a new navigation configuration. Navigations are immutable and globally accessible across organizations.\nEach creation generates a new id. To update a navigation, create a new one.\n",
613
+ tags: ["Navigation"],
614
+ requestBody: {
615
+ content: {
616
+ "application/json": {
617
+ schema: {
618
+ $ref: "#/components/schemas/NavigationCreateRequest"
619
+ }
620
+ }
621
+ }
622
+ },
623
+ responses: {
624
+ "201": {
625
+ description: "Navigation created successfully",
626
+ content: {
627
+ "application/json": {
628
+ schema: {
629
+ $ref: "#/components/schemas/Navigation"
630
+ }
631
+ }
632
+ }
633
+ }
634
+ }
635
+ }
636
+ },
637
+ "/v2/user/navigations/{id}": {
638
+ get: {
639
+ operationId: "getNavigation",
640
+ summary: "getNavigation",
641
+ description: "Get a navigation configuration by ID",
642
+ tags: ["Navigation"],
643
+ parameters: [
644
+ {
645
+ in: "path",
646
+ name: "id",
647
+ schema: {
648
+ $ref: "#/components/schemas/NavigationId"
649
+ },
650
+ required: true,
651
+ description: "The UUID of the navigation"
652
+ }
653
+ ],
654
+ responses: {
655
+ "200": {
656
+ description: "The navigation configuration",
657
+ content: {
658
+ "application/json": {
659
+ schema: {
660
+ $ref: "#/components/schemas/Navigation"
661
+ }
662
+ }
663
+ }
664
+ },
665
+ "404": {
666
+ description: "Navigation not found"
667
+ }
668
+ }
669
+ }
670
+ },
671
+ "/v2/users/public/verifyEmail": {
672
+ post: {
673
+ operationId: "verifyEmailWithToken",
674
+ summary: "verifyEmailWithToken",
675
+ description: "Update new email using an verification token",
676
+ security: [],
677
+ tags: ["User V2"],
678
+ parameters: [
679
+ {
680
+ in: "query",
681
+ name: "token",
682
+ schema: {
683
+ $ref: "#/components/schemas/VerificationToken"
684
+ },
685
+ required: true,
686
+ description: "Verification Token"
687
+ }
688
+ ],
689
+ requestBody: {
690
+ content: {
691
+ "application/json": {
692
+ schema: {
693
+ $ref: "#/components/schemas/UserVerificationPayload"
694
+ }
695
+ }
696
+ }
697
+ },
698
+ responses: {
699
+ "200": {
700
+ description: "Verified successfully"
701
+ },
702
+ "404": {
703
+ description: "Token not found"
704
+ }
705
+ }
706
+ }
707
+ },
708
+ "/v2/users/public/checkToken": {
709
+ get: {
710
+ operationId: "checkInviteToken",
711
+ summary: "checkInviteToken",
712
+ description: "Check an invite token",
713
+ security: [],
714
+ tags: ["User V2"],
715
+ parameters: [
716
+ {
717
+ in: "query",
718
+ name: "token",
719
+ schema: {
720
+ $ref: "#/components/schemas/InviteToken"
721
+ },
722
+ required: true,
723
+ description: "Invite Token"
724
+ }
725
+ ],
726
+ responses: {
727
+ "200": {
728
+ description: "Invite token found",
729
+ content: {
730
+ "application/json": {
731
+ schema: {
732
+ type: "object",
733
+ properties: {
734
+ invitation_org_id: {
735
+ type: "string",
736
+ description: "Organization ID of the organization that invited the user"
737
+ },
738
+ invitation_org_name: {
739
+ type: "string",
740
+ description: "Name of the organization that invited the user"
741
+ },
742
+ invitation_org_logo_url: {
743
+ type: "string",
744
+ description: "Logo URL of the organization that invited the user"
745
+ },
746
+ invitation_org_logo_thumbnail_url: {
747
+ type: "string",
748
+ description: "Logo Thumbnail URL of the organization that invited the user"
749
+ },
750
+ invitee_user_id: {
751
+ type: "string",
752
+ description: "User ID of the invited user"
753
+ },
754
+ invitee_primary_org_id: {
755
+ type: "string",
756
+ description: "Organization ID of the primary organization of the user (when inviting an existing epilot user)"
757
+ }
758
+ },
759
+ required: ["invitee_user_id", "invitation_org_id", "invitation_org_name"]
760
+ }
761
+ }
762
+ }
763
+ },
764
+ "404": {
765
+ description: "Token not found"
766
+ }
767
+ }
768
+ }
769
+ },
770
+ "/v2/users/public/activate": {
771
+ post: {
772
+ operationId: "activateUser",
773
+ summary: "activateUser",
774
+ description: "Activate user using an invite token",
775
+ security: [],
776
+ tags: ["User V2"],
777
+ parameters: [
778
+ {
779
+ in: "query",
780
+ name: "token",
781
+ schema: {
782
+ $ref: "#/components/schemas/InviteToken"
783
+ },
784
+ required: true,
785
+ description: "Invite Token"
786
+ }
787
+ ],
788
+ requestBody: {
789
+ content: {
790
+ "application/json": {
791
+ schema: {
792
+ $ref: "#/components/schemas/UserActivationPayload"
793
+ }
794
+ }
795
+ }
796
+ },
797
+ responses: {
798
+ "200": {
799
+ description: "Activated successfully"
800
+ },
801
+ "400": {
802
+ description: "Invalid payload"
803
+ },
804
+ "404": {
805
+ description: "Token not found for the user"
806
+ }
807
+ }
808
+ }
809
+ },
810
+ "/v2/users/public/reject": {
811
+ delete: {
812
+ operationId: "rejectInvite",
813
+ summary: "rejectInvite",
814
+ description: "Reject an invite",
815
+ security: [],
816
+ tags: ["User V2"],
817
+ parameters: [
818
+ {
819
+ in: "query",
820
+ name: "token",
821
+ schema: {
822
+ $ref: "#/components/schemas/InviteToken"
823
+ },
824
+ required: true,
825
+ description: "Invite Token"
826
+ }
827
+ ],
828
+ responses: {
829
+ "200": {
830
+ description: "Rejected invite successfully",
831
+ content: {
832
+ "application/json": {
833
+ schema: {
834
+ type: "object",
835
+ properties: {
836
+ success: {
837
+ type: "boolean",
838
+ example: true
839
+ }
840
+ }
841
+ }
842
+ }
843
+ }
844
+ },
845
+ "404": {
846
+ description: "Token not found for the user"
847
+ }
848
+ }
849
+ }
850
+ },
851
+ "/v2/users/public/username/{username}:getLoginParameters": {
852
+ get: {
853
+ operationId: "getUserLoginParametersV2",
854
+ summary: "getUserLoginParametersV2",
855
+ description: "Get user organization login parameters by username\n\nThe first item in the list corresponds to the user's primary organization and must be used for initial login.\n",
856
+ security: [],
857
+ parameters: [
858
+ {
859
+ name: "username",
860
+ in: "path",
861
+ description: "Username",
862
+ required: true,
863
+ schema: {
864
+ $ref: "#/components/schemas/Username"
865
+ }
866
+ }
867
+ ],
868
+ tags: ["User V2"],
869
+ responses: {
870
+ "200": {
871
+ description: "User",
872
+ content: {
873
+ "application/json": {
874
+ schema: {
875
+ type: "object",
876
+ properties: {
877
+ login_parameters: {
878
+ type: "array",
879
+ items: {
880
+ $ref: "#/components/schemas/LoginParameters"
881
+ }
882
+ }
883
+ }
884
+ }
885
+ }
886
+ }
887
+ }
888
+ }
889
+ }
890
+ },
891
+ "/v2/users/public/passkeys:authenticateBegin": {
892
+ post: {
893
+ operationId: "beginPasskeyAuthentication",
894
+ summary: "beginPasskeyAuthentication",
895
+ description: "Begin passkey authentication flow. Returns WebAuthn options and a signed challenge token.",
896
+ security: [],
897
+ tags: ["User V2"],
898
+ requestBody: {
899
+ content: {
900
+ "application/json": {
901
+ schema: {
902
+ type: "object",
903
+ properties: {
904
+ email: {
905
+ type: "string",
906
+ format: "email"
907
+ }
908
+ },
909
+ required: ["email"]
910
+ }
911
+ }
912
+ }
913
+ },
914
+ responses: {
915
+ "200": {
916
+ description: "WebAuthn authentication options",
917
+ content: {
918
+ "application/json": {
919
+ schema: {
920
+ $ref: "#/components/schemas/PasskeyAuthenticationOptions"
921
+ }
922
+ }
923
+ }
924
+ },
925
+ "404": {
926
+ description: "User not found or no passkeys registered"
927
+ }
928
+ }
929
+ }
930
+ },
931
+ "/v2/users/public/passkeys:authenticateBeginDiscoverable": {
932
+ post: {
933
+ operationId: "beginDiscoverablePasskeyAuthentication",
934
+ summary: "beginDiscoverablePasskeyAuthentication",
935
+ description: "Begin discoverable passkey authentication flow (no email required). Returns WebAuthn options with empty allowCredentials for the browser credential picker.",
936
+ security: [],
937
+ tags: ["User V2"],
938
+ responses: {
939
+ "200": {
940
+ description: "WebAuthn discoverable authentication options",
941
+ content: {
942
+ "application/json": {
943
+ schema: {
944
+ $ref: "#/components/schemas/PasskeyAuthenticationOptions"
945
+ }
946
+ }
947
+ }
948
+ }
949
+ }
950
+ }
951
+ },
952
+ "/v2/users/public/passkeys:resolveCredential": {
953
+ post: {
954
+ operationId: "resolveDiscoverableCredential",
955
+ summary: "resolveDiscoverableCredential",
956
+ description: "Resolve user identity from a discoverable passkey assertion. Returns the user's email and login parameters.",
957
+ security: [],
958
+ tags: ["User V2"],
959
+ requestBody: {
960
+ content: {
961
+ "application/json": {
962
+ schema: {
963
+ type: "object",
964
+ properties: {
965
+ challenge_token: {
966
+ type: "string",
967
+ description: "The challenge token from authenticateBeginDiscoverable"
968
+ },
969
+ assertion_response: {
970
+ type: "object",
971
+ description: "WebAuthn AuthenticatorAssertionResponse JSON"
972
+ }
973
+ },
974
+ required: ["challenge_token", "assertion_response"]
975
+ }
976
+ }
977
+ }
978
+ },
979
+ responses: {
980
+ "200": {
981
+ description: "Resolved user identity and login parameters",
982
+ content: {
983
+ "application/json": {
984
+ schema: {
985
+ type: "object",
986
+ properties: {
987
+ email: {
988
+ type: "string",
989
+ format: "email"
990
+ },
991
+ organization_id: {
992
+ type: "string"
993
+ },
994
+ user_id: {
995
+ type: "string"
996
+ },
997
+ login_parameters: {
998
+ type: "array",
999
+ items: {
1000
+ $ref: "#/components/schemas/LoginParameters"
1001
+ }
1002
+ }
1003
+ }
1004
+ }
1005
+ }
1006
+ }
1007
+ },
1008
+ "404": {
1009
+ description: "Credential not found"
1010
+ }
1011
+ }
1012
+ }
1013
+ },
1014
+ "/v2/users/me/passkeys:registerBegin": {
1015
+ post: {
1016
+ operationId: "beginPasskeyRegistration",
1017
+ summary: "beginPasskeyRegistration",
1018
+ description: "Begin passkey registration flow for the authenticated user.",
1019
+ tags: ["User V2"],
1020
+ requestBody: {
1021
+ content: {
1022
+ "application/json": {
1023
+ schema: {
1024
+ type: "object",
1025
+ properties: {
1026
+ friendly_name: {
1027
+ type: "string",
1028
+ example: "My Laptop"
1029
+ }
1030
+ }
1031
+ }
1032
+ }
1033
+ }
1034
+ },
1035
+ responses: {
1036
+ "200": {
1037
+ description: "WebAuthn registration options",
1038
+ content: {
1039
+ "application/json": {
1040
+ schema: {
1041
+ $ref: "#/components/schemas/PasskeyRegistrationOptions"
1042
+ }
1043
+ }
1044
+ }
1045
+ }
1046
+ }
1047
+ }
1048
+ },
1049
+ "/v2/users/me/passkeys:registerComplete": {
1050
+ post: {
1051
+ operationId: "completePasskeyRegistration",
1052
+ summary: "completePasskeyRegistration",
1053
+ description: "Complete passkey registration by verifying the attestation response.",
1054
+ tags: ["User V2"],
1055
+ requestBody: {
1056
+ content: {
1057
+ "application/json": {
1058
+ schema: {
1059
+ $ref: "#/components/schemas/PasskeyRegistrationResponse"
1060
+ }
1061
+ }
1062
+ }
1063
+ },
1064
+ responses: {
1065
+ "200": {
1066
+ description: "Passkey registered successfully",
1067
+ content: {
1068
+ "application/json": {
1069
+ schema: {
1070
+ $ref: "#/components/schemas/Passkey"
1071
+ }
1072
+ }
1073
+ }
1074
+ }
1075
+ }
1076
+ }
1077
+ },
1078
+ "/v2/users/me/passkeys": {
1079
+ get: {
1080
+ operationId: "listPasskeys",
1081
+ summary: "listPasskeys",
1082
+ description: "List all passkeys registered for the authenticated user.",
1083
+ tags: ["User V2"],
1084
+ responses: {
1085
+ "200": {
1086
+ description: "List of passkeys",
1087
+ content: {
1088
+ "application/json": {
1089
+ schema: {
1090
+ type: "object",
1091
+ properties: {
1092
+ passkeys: {
1093
+ type: "array",
1094
+ items: {
1095
+ $ref: "#/components/schemas/Passkey"
1096
+ }
1097
+ }
1098
+ }
1099
+ }
1100
+ }
1101
+ }
1102
+ }
1103
+ }
1104
+ }
1105
+ },
1106
+ "/v2/users/me/passkeys/{credentialId}": {
1107
+ delete: {
1108
+ operationId: "deletePasskey",
1109
+ summary: "deletePasskey",
1110
+ description: "Delete a passkey by credential ID.",
1111
+ tags: ["User V2"],
1112
+ parameters: [
1113
+ {
1114
+ name: "credentialId",
1115
+ in: "path",
1116
+ required: true,
1117
+ schema: {
1118
+ type: "string"
1119
+ }
1120
+ }
1121
+ ],
1122
+ responses: {
1123
+ "204": {
1124
+ description: "Passkey deleted successfully"
1125
+ },
1126
+ "404": {
1127
+ description: "Passkey not found"
1128
+ }
1129
+ }
1130
+ }
1131
+ },
1132
+ "/v2/users/switchOrganization": {
1133
+ post: {
1134
+ operationId: "switchOrganization",
1135
+ summary: "switchOrganization",
1136
+ description: "Switch to another organization the user is part of",
1137
+ tags: ["User V2"],
1138
+ requestBody: {
1139
+ content: {
1140
+ "application/json": {
1141
+ schema: {
1142
+ type: "object",
1143
+ properties: {
1144
+ org_id: {
1145
+ $ref: "#/components/schemas/OrganizationId"
1146
+ }
1147
+ },
1148
+ required: ["org_id"]
1149
+ }
1150
+ }
1151
+ }
1152
+ },
1153
+ responses: {
1154
+ "200": {
1155
+ description: "A login token for the new organization to be used with CUSTOM_AUTH flow",
1156
+ content: {
1157
+ "application/json": {
1158
+ schema: {
1159
+ type: "object",
1160
+ properties: {
1161
+ login_token: {
1162
+ type: "string",
1163
+ description: "A login token for the new organization to be used with CUSTOM_AUTH flow against login parameters"
1164
+ }
1165
+ },
1166
+ required: ["login_token"]
1167
+ }
1168
+ }
1169
+ }
1170
+ }
1171
+ }
1172
+ }
1173
+ },
1174
+ "/v1/users/me": {
1175
+ get: {
1176
+ operationId: "getMe",
1177
+ summary: "getMe",
1178
+ description: "Get currently logged in user",
1179
+ tags: ["User V1"],
1180
+ responses: {
1181
+ "200": {
1182
+ description: "Currently logged in user",
1183
+ content: {
1184
+ "application/json": {
1185
+ schema: {
1186
+ $ref: "#/components/schemas/User"
1187
+ }
1188
+ }
1189
+ }
1190
+ }
1191
+ }
1192
+ }
1193
+ },
1194
+ "/v1/users": {
1195
+ get: {
1196
+ operationId: "listUsers",
1197
+ summary: "listUsers",
1198
+ description: "Lists users in organizations you have access to",
1199
+ parameters: [
1200
+ {
1201
+ name: "org_ids",
1202
+ in: "query",
1203
+ description: "Comma-separated list of organization ids to filter by",
1204
+ style: "form",
1205
+ explode: false,
1206
+ schema: {
1207
+ type: "array",
1208
+ items: {
1209
+ $ref: "#/components/schemas/OrganizationId"
1210
+ }
1211
+ }
1212
+ },
1213
+ {
1214
+ name: "query",
1215
+ in: "query",
1216
+ description: "Query text to filter by",
1217
+ required: false,
1218
+ schema: {
1219
+ $ref: "#/components/schemas/Query"
1220
+ }
1221
+ },
1222
+ {
1223
+ name: "limit",
1224
+ in: "query",
1225
+ description: "Limit the results size",
1226
+ required: false,
1227
+ schema: {
1228
+ $ref: "#/components/schemas/Limit"
1229
+ }
1230
+ },
1231
+ {
1232
+ name: "offset",
1233
+ in: "query",
1234
+ description: "Specify the offset",
1235
+ required: false,
1236
+ schema: {
1237
+ $ref: "#/components/schemas/Offset"
1238
+ }
1239
+ }
1240
+ ],
1241
+ tags: ["User V1"],
1242
+ responses: {
1243
+ "200": {
1244
+ description: "List of users",
1245
+ content: {
1246
+ "application/json": {
1247
+ schema: {
1248
+ type: "object",
1249
+ properties: {
1250
+ users: {
1251
+ type: "array",
1252
+ items: {
1253
+ $ref: "#/components/schemas/User"
1254
+ }
1255
+ }
1256
+ }
1257
+ }
1258
+ }
1259
+ }
1260
+ }
1261
+ }
1262
+ }
1263
+ },
1264
+ "/v1/users/{id}": {
1265
+ get: {
1266
+ operationId: "getUser",
1267
+ summary: "getUser",
1268
+ description: "Get user by id",
1269
+ parameters: [
1270
+ {
1271
+ name: "id",
1272
+ in: "path",
1273
+ description: "User id",
1274
+ required: true,
1275
+ schema: {
1276
+ $ref: "#/components/schemas/UserId"
1277
+ }
1278
+ }
1279
+ ],
1280
+ tags: ["User V1"],
1281
+ responses: {
1282
+ "200": {
1283
+ description: "User",
1284
+ content: {
1285
+ "application/json": {
1286
+ schema: {
1287
+ $ref: "#/components/schemas/User"
1288
+ }
1289
+ }
1290
+ }
1291
+ }
1292
+ }
1293
+ }
1294
+ },
1295
+ "/v1/users/username/{username}:getLoginParameters": {
1296
+ get: {
1297
+ operationId: "getUserLoginParameters",
1298
+ summary: "getUserLoginParameters",
1299
+ description: "Get user organization login parameters by username",
1300
+ security: [],
1301
+ parameters: [
1302
+ {
1303
+ name: "username",
1304
+ in: "path",
1305
+ description: "Username",
1306
+ required: true,
1307
+ schema: {
1308
+ $ref: "#/components/schemas/Username"
1309
+ }
1310
+ }
1311
+ ],
1312
+ tags: ["User V1"],
1313
+ responses: {
1314
+ "200": {
1315
+ description: "User",
1316
+ content: {
1317
+ "application/json": {
1318
+ schema: {
1319
+ type: "object",
1320
+ properties: {
1321
+ login_parameters: {
1322
+ type: "array",
1323
+ items: {
1324
+ $ref: "#/components/schemas/LoginParameters"
1325
+ }
1326
+ }
1327
+ }
1328
+ }
1329
+ }
1330
+ }
1331
+ }
1332
+ }
1333
+ }
1334
+ }
1335
+ };
1336
+ var components = {
1337
+ securitySchemes: {
1338
+ EpilotAuth: {
1339
+ type: "http",
1340
+ scheme: "bearer",
1341
+ description: "Authorization header with epilot OAuth2 bearer token",
1342
+ bearerFormat: "JWT"
1343
+ }
1344
+ },
1345
+ schemas: {
1346
+ NavigationId: {
1347
+ description: "Navigation unique identifier - a hash of the normalized navigation payload (name + configuration). Identical navigations across orgs will have the same ID.",
1348
+ type: "string",
1349
+ example: "5gbe4nkp6jsfq",
1350
+ nullable: true
1351
+ },
1352
+ Navigation: {
1353
+ type: "object",
1354
+ description: "A customized workplace navigation configuration. The ID is a content-hash, so identical configurations will have the same ID.",
1355
+ required: ["id", "name", "configuration"],
1356
+ properties: {
1357
+ id: {
1358
+ $ref: "#/components/schemas/NavigationId"
1359
+ },
1360
+ name: {
1361
+ type: "string",
1362
+ description: "Human-readable name for the navigation configuration",
1363
+ example: "Sales Team Navigation"
1364
+ },
1365
+ configuration: {
1366
+ $ref: "#/components/schemas/NavigationConfiguration"
1367
+ }
1368
+ }
1369
+ },
1370
+ NavigationCreateRequest: {
1371
+ type: "object",
1372
+ description: "Request payload to create a new navigation configuration",
1373
+ required: ["name", "configuration"],
1374
+ properties: {
1375
+ name: {
1376
+ type: "string",
1377
+ description: "Human-readable name for the navigation configuration",
1378
+ example: "Sales Team Navigation"
1379
+ },
1380
+ configuration: {
1381
+ $ref: "#/components/schemas/NavigationConfiguration"
1382
+ }
1383
+ }
1384
+ },
1385
+ NavigationConfiguration: {
1386
+ type: "object",
1387
+ description: "Navigation configuration organized by sections. Each section contains an array of navigation items.\n",
1388
+ additionalProperties: {
1389
+ type: "array",
1390
+ items: {
1391
+ $ref: "#/components/schemas/NavigationItem"
1392
+ }
1393
+ },
1394
+ example: {
1395
+ customer_relations: [
1396
+ {
1397
+ key: "dashboard"
1398
+ },
1399
+ {
1400
+ key: "contact"
1401
+ }
1402
+ ],
1403
+ configurations: [
1404
+ {
1405
+ name: "Product Catalog",
1406
+ subItems: [
1407
+ {
1408
+ key: "product"
1409
+ },
1410
+ {
1411
+ key: "price"
1412
+ }
1413
+ ]
1414
+ },
1415
+ {
1416
+ key: "journey"
1417
+ }
1418
+ ]
1419
+ }
1420
+ },
1421
+ NavigationItem: {
1422
+ description: "A navigation item - either a simple key item or a group with sub-items",
1423
+ oneOf: [
1424
+ {
1425
+ $ref: "#/components/schemas/NavigationKeyItem"
1426
+ },
1427
+ {
1428
+ $ref: "#/components/schemas/NavigationGroupItem"
1429
+ }
1430
+ ]
1431
+ },
1432
+ NavigationKeyItem: {
1433
+ type: "object",
1434
+ description: "A simple navigation item with a key",
1435
+ required: ["key"],
1436
+ properties: {
1437
+ key: {
1438
+ type: "string",
1439
+ description: "The unique key identifier for the navigation item",
1440
+ example: "dashboard"
1441
+ }
1442
+ }
1443
+ },
1444
+ NavigationGroupItem: {
1445
+ type: "object",
1446
+ description: "A navigation group containing sub-items",
1447
+ required: ["name", "subItems"],
1448
+ properties: {
1449
+ name: {
1450
+ type: "string",
1451
+ description: "The display name of the navigation group",
1452
+ example: "Product Catalog"
1453
+ },
1454
+ subItems: {
1455
+ type: "array",
1456
+ description: "The list of navigation items within this group",
1457
+ items: {
1458
+ $ref: "#/components/schemas/NavigationKeyItem"
1459
+ }
1460
+ }
1461
+ }
1462
+ },
1463
+ InviteToken: {
1464
+ description: "Token used to invite a user to epilot",
1465
+ type: "string"
1466
+ },
1467
+ PartnerInvitationToken: {
1468
+ description: "Token used to invite a partner user to epilot",
1469
+ type: "string"
1470
+ },
1471
+ VerificationToken: {
1472
+ type: "string"
1473
+ },
1474
+ GroupId: {
1475
+ description: "Group unique identifier",
1476
+ type: "string",
1477
+ readOnly: true
1478
+ },
1479
+ UserId: {
1480
+ description: "User's unique identifier",
1481
+ type: "string",
1482
+ readOnly: true
1483
+ },
1484
+ Query: {
1485
+ type: "string"
1486
+ },
1487
+ OrganizationId: {
1488
+ type: "string"
1489
+ },
1490
+ Limit: {
1491
+ type: "number"
1492
+ },
1493
+ Offset: {
1494
+ type: "number"
1495
+ },
1496
+ Hydrate: {
1497
+ type: "boolean"
1498
+ },
1499
+ Username: {
1500
+ type: "string"
1501
+ },
1502
+ UserInvitationPayload: {
1503
+ type: "object",
1504
+ properties: {
1505
+ email: {
1506
+ type: "string",
1507
+ description: "Email address of the address",
1508
+ example: "test@example.com"
1509
+ },
1510
+ language: {
1511
+ type: "string",
1512
+ description: "Language for user invitation email",
1513
+ enum: ["en", "de"],
1514
+ default: "en"
1515
+ },
1516
+ roles: {
1517
+ type: "array",
1518
+ items: {
1519
+ type: "string",
1520
+ description: "Role IDs for the user",
1521
+ example: "123:owner"
1522
+ }
1523
+ }
1524
+ }
1525
+ },
1526
+ UserActivationPayload: {
1527
+ type: "object",
1528
+ properties: {
1529
+ display_name: {
1530
+ type: "string",
1531
+ description: "User's display name (default: email address)",
1532
+ example: "Example User"
1533
+ },
1534
+ password: {
1535
+ type: "string",
1536
+ description: "User's password",
1537
+ example: "AKjhdakjsdh@!34"
1538
+ }
1539
+ }
1540
+ },
1541
+ UserVerificationPayload: {
1542
+ type: "object",
1543
+ properties: {
1544
+ password: {
1545
+ type: "string",
1546
+ description: "User's password",
1547
+ example: "AKjhdakjsdh@!34"
1548
+ }
1549
+ }
1550
+ },
1551
+ UserV2: {
1552
+ type: "object",
1553
+ properties: {
1554
+ id: {
1555
+ $ref: "#/components/schemas/UserId"
1556
+ },
1557
+ organization_id: {
1558
+ $ref: "#/components/schemas/OrganizationId"
1559
+ },
1560
+ created_at: {
1561
+ type: "string",
1562
+ format: "date-time"
1563
+ },
1564
+ activated_at: {
1565
+ type: "string",
1566
+ format: "date-time"
1567
+ },
1568
+ display_name: {
1569
+ type: "string",
1570
+ description: "User's display name (default: email address)",
1571
+ example: "Example User"
1572
+ },
1573
+ status: {
1574
+ type: "string",
1575
+ enum: ["Active", "Pending", "Deactivated", "Deleted"]
1576
+ },
1577
+ email: {
1578
+ description: "User's email address",
1579
+ type: "string",
1580
+ format: "email"
1581
+ },
1582
+ draft_email: {
1583
+ description: "User's pending email address",
1584
+ type: "string",
1585
+ nullable: true,
1586
+ format: "email"
1587
+ },
1588
+ department: {
1589
+ type: "string",
1590
+ description: "User's department",
1591
+ nullable: true,
1592
+ example: "Sales"
1593
+ },
1594
+ phone: {
1595
+ description: "User's phone number",
1596
+ type: "string",
1597
+ nullable: true,
1598
+ example: 1234567890
1599
+ },
1600
+ secondary_phone: {
1601
+ description: "User's secondary phone number, preferred for communication",
1602
+ type: "string",
1603
+ nullable: true,
1604
+ example: 1234567890
1605
+ },
1606
+ mfa_enabled: {
1607
+ description: "User's multi-factor authentication status",
1608
+ type: "boolean",
1609
+ example: false
1610
+ },
1611
+ phone_verified: {
1612
+ description: "User's phone number verification status",
1613
+ type: "boolean",
1614
+ example: true
1615
+ },
1616
+ token: {
1617
+ $ref: "#/components/schemas/InviteToken"
1618
+ },
1619
+ signature: {
1620
+ description: "User's email signature",
1621
+ type: "string",
1622
+ example: "<p>Thanks</p>",
1623
+ nullable: true
1624
+ },
1625
+ is_signature_enabled: {
1626
+ description: "Whether the user's signature is enabled",
1627
+ type: "boolean",
1628
+ example: true,
1629
+ nullable: true
1630
+ },
1631
+ preferred_language: {
1632
+ description: "User's preferred language",
1633
+ type: "string",
1634
+ example: "de"
1635
+ },
1636
+ custom_start_page: {
1637
+ description: "User's start page after login",
1638
+ type: "string",
1639
+ pattern: "^/app/*",
1640
+ default: "/app/dashboard",
1641
+ nullable: true
1642
+ },
1643
+ custom_navigation: {
1644
+ $ref: "#/components/schemas/NavigationId"
1645
+ },
1646
+ override_release_channel: {
1647
+ description: "This field is used to override the release channel for the user.",
1648
+ type: "string",
1649
+ nullable: true,
1650
+ enum: ["canary", "rc", "stable", null]
1651
+ },
1652
+ feature_preferences: {
1653
+ description: "User's feature preferences",
1654
+ type: "object",
1655
+ nullable: true,
1656
+ additionalProperties: true,
1657
+ example: {
1658
+ feature_name: true
1659
+ }
1660
+ },
1661
+ image_uri: {
1662
+ type: "object",
1663
+ description: "User's custom profile image",
1664
+ additionalProperties: true,
1665
+ properties: {
1666
+ original: {
1667
+ type: "string",
1668
+ format: "uri"
1669
+ },
1670
+ thumbnail_32: {
1671
+ type: "string",
1672
+ format: "uri"
1673
+ }
1674
+ },
1675
+ nullable: true,
1676
+ example: {
1677
+ original: "https://account-profile-images.epilot.cloud/1/avatar.png",
1678
+ thumbnail_32: "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
1679
+ }
1680
+ },
1681
+ favorites: {
1682
+ type: "object",
1683
+ additionalProperties: true,
1684
+ example: {
1685
+ entity_views: {
1686
+ opportunity: "891a5409850abf8b92bd2cb7bdd2844d32ce6bec",
1687
+ order: "628aee91-7c2f-4047-ab0d-433582a19c49"
1688
+ },
1689
+ dashboard: "751ff121-9ac2-4511-a2e6-851f11287380"
1690
+ }
1691
+ },
1692
+ email_notification_setting: {
1693
+ type: "object",
1694
+ additionalProperties: true,
1695
+ example: {
1696
+ added_participant_opportunity: true,
1697
+ assigned_opportunity: true,
1698
+ assigned_task: true,
1699
+ comment_opportunity: true,
1700
+ deleted_task: true,
1701
+ escalated_task: true,
1702
+ message_receive_opportunity: true,
1703
+ message_send_opportunity: true,
1704
+ created_task: true,
1705
+ created_opportunity_manual: true,
1706
+ created_opportunity_auto: true,
1707
+ deleted_opportunity: true
1708
+ }
1709
+ },
1710
+ properties: {
1711
+ type: "array",
1712
+ items: {
1713
+ type: "object",
1714
+ properties: {
1715
+ name: {
1716
+ type: "string",
1717
+ example: "profileImageName"
1718
+ },
1719
+ value: {
1720
+ type: "string",
1721
+ example: "avatar.png"
1722
+ }
1723
+ },
1724
+ required: ["name", "value"]
1725
+ }
1726
+ }
1727
+ }
1728
+ },
1729
+ User: {
1730
+ type: "object",
1731
+ properties: {
1732
+ id: {
1733
+ $ref: "#/components/schemas/UserId"
1734
+ },
1735
+ organization_id: {
1736
+ $ref: "#/components/schemas/OrganizationId"
1737
+ },
1738
+ email: {
1739
+ type: "string",
1740
+ format: "email"
1741
+ },
1742
+ display_name: {
1743
+ type: "string",
1744
+ example: "Example user",
1745
+ deprecated: true
1746
+ },
1747
+ name: {
1748
+ type: "string",
1749
+ example: "Example user",
1750
+ deprecated: true
1751
+ },
1752
+ preferred_language: {
1753
+ type: "string",
1754
+ example: "de"
1755
+ },
1756
+ signature: {
1757
+ type: "string",
1758
+ example: "<p>Thanks</p>"
1759
+ },
1760
+ custom_navigation: {
1761
+ $ref: "#/components/schemas/NavigationId"
1762
+ },
1763
+ roles: {
1764
+ type: "array",
1765
+ items: {
1766
+ type: "string",
1767
+ example: "Owner"
1768
+ },
1769
+ deprecated: true,
1770
+ description: "Deprecated! Please use Permissions API instead"
1771
+ },
1772
+ image_uri: {
1773
+ type: "object",
1774
+ additionalProperties: true,
1775
+ properties: {
1776
+ original: {
1777
+ type: "string",
1778
+ format: "uri",
1779
+ example: "https://account-profile-images.epilot.cloud/1/avatar.png"
1780
+ },
1781
+ thumbnail_32: {
1782
+ type: "string",
1783
+ format: "uri",
1784
+ example: "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
1785
+ }
1786
+ },
1787
+ nullable: true
1788
+ },
1789
+ properties: {
1790
+ type: "array",
1791
+ items: {
1792
+ type: "object",
1793
+ properties: {
1794
+ name: {
1795
+ type: "string",
1796
+ example: "profileImageName"
1797
+ },
1798
+ value: {
1799
+ type: "string",
1800
+ example: "avatar.png"
1801
+ }
1802
+ },
1803
+ required: ["name", "value"]
1804
+ }
1805
+ }
1806
+ },
1807
+ required: ["id", "organization_id", "email", "name", "preferred_language", "roles", "properties"]
1808
+ },
1809
+ LoginParameters: {
1810
+ type: "object",
1811
+ properties: {
1812
+ organization_id: {
1813
+ type: "string",
1814
+ example: "123"
1815
+ },
1816
+ organization_name: {
1817
+ type: "string",
1818
+ example: "epilot GmbH"
1819
+ },
1820
+ organization_type: {
1821
+ type: "string",
1822
+ example: "Vendor"
1823
+ },
1824
+ organization_use: {
1825
+ type: "string",
1826
+ example: "Production"
1827
+ },
1828
+ cognito_region: {
1829
+ type: "string",
1830
+ example: "eu-central-1"
1831
+ },
1832
+ cognito_user_pool_id: {
1833
+ type: "string",
1834
+ example: "eu-central-sample"
1835
+ },
1836
+ cognito_user_pool_client_id: {
1837
+ type: "string",
1838
+ example: "asbkh213ehkquwhdi"
1839
+ },
1840
+ cognito_oauth_domain: {
1841
+ type: "string",
1842
+ example: "epilot-org-123"
1843
+ },
1844
+ cognito_oauth_scopes: {
1845
+ type: "array",
1846
+ items: {
1847
+ type: "string"
1848
+ },
1849
+ example: ["openid"]
1850
+ },
1851
+ oauth_response_type: {
1852
+ type: "string",
1853
+ enum: ["code", "token"]
1854
+ },
1855
+ passkey_enabled: {
1856
+ type: "boolean",
1857
+ description: "Whether passkey login is enabled for this organization"
1858
+ }
1859
+ }
1860
+ },
1861
+ CreateGroupReq: {
1862
+ type: "object",
1863
+ properties: {
1864
+ name: {
1865
+ description: "The name of the group. Could be a department or a team.",
1866
+ type: "string",
1867
+ example: "Finance"
1868
+ },
1869
+ user_ids: {
1870
+ description: "The list of user ids in the group.",
1871
+ type: "array",
1872
+ items: {
1873
+ $ref: "#/components/schemas/UserId"
1874
+ },
1875
+ example: ["123", "456"]
1876
+ }
1877
+ },
1878
+ required: ["name"]
1879
+ },
1880
+ UpdateGroupReq: {
1881
+ type: "object",
1882
+ properties: {
1883
+ name: {
1884
+ description: "The name of the group. Could be a department or a team.",
1885
+ type: "string",
1886
+ example: "Finance"
1887
+ },
1888
+ user_ids: {
1889
+ description: "The list of user ids in the group.",
1890
+ type: "array",
1891
+ items: {
1892
+ $ref: "#/components/schemas/UserId"
1893
+ },
1894
+ example: ["123", "456"]
1895
+ }
1896
+ }
1897
+ },
1898
+ Group: {
1899
+ type: "object",
1900
+ properties: {
1901
+ id: {
1902
+ $ref: "#/components/schemas/GroupId"
1903
+ },
1904
+ org_id: {
1905
+ $ref: "#/components/schemas/OrganizationId"
1906
+ },
1907
+ name: {
1908
+ description: "The name of the group. Could be a department or a team.",
1909
+ type: "string",
1910
+ example: "Finance"
1911
+ },
1912
+ created_at: {
1913
+ type: "string",
1914
+ example: "2024-02-08T04:44:32.246Z"
1915
+ },
1916
+ updated_at: {
1917
+ type: "string",
1918
+ example: "2024-02-08T04:44:32.246Z"
1919
+ },
1920
+ created_by: {
1921
+ description: "The user id of the user that created the group.",
1922
+ type: "string",
1923
+ example: "123"
1924
+ },
1925
+ crt_assignee: {
1926
+ description: "The current user assignee of the group. This is the user, from within the group, that has last been assigned to a workflow task.",
1927
+ allOf: [
1928
+ {
1929
+ $ref: "#/components/schemas/UserV2"
1930
+ },
1931
+ {
1932
+ type: "object",
1933
+ properties: {
1934
+ crt_index: {
1935
+ description: "The index of the current assignee in the group's user list.",
1936
+ type: "number",
1937
+ example: 3
1938
+ }
1939
+ }
1940
+ }
1941
+ ]
1942
+ },
1943
+ users: {
1944
+ description: "The list of users in the group. Only contains the full user when respective endpoint is called with a flag. Otherwise only contains the user id.",
1945
+ type: "array",
1946
+ items: {
1947
+ $ref: "#/components/schemas/UserV2"
1948
+ }
1949
+ }
1950
+ },
1951
+ required: ["id", "org_id", "name", "created_at", "updated_at"]
1952
+ },
1953
+ SignupUserPayload: {
1954
+ type: "object",
1955
+ properties: {
1956
+ organization_detail: {
1957
+ $ref: "#/components/schemas/OrganizationDetail"
1958
+ },
1959
+ user_detail: {
1960
+ $ref: "#/components/schemas/UserDetail"
1961
+ },
1962
+ language: {
1963
+ type: "string",
1964
+ description: "Language for user invitation email",
1965
+ enum: ["en", "de"],
1966
+ default: "en"
1967
+ }
1968
+ }
1969
+ },
1970
+ OrganizationDetail: {
1971
+ additionalProperties: true,
1972
+ type: "object",
1973
+ properties: {
1974
+ type: {
1975
+ type: "string",
1976
+ enum: ["Vendor", "Partner"]
1977
+ },
1978
+ name: {
1979
+ type: "string",
1980
+ example: "Epilot"
1981
+ },
1982
+ pricing_tier: {
1983
+ type: "string",
1984
+ example: "professional"
1985
+ },
1986
+ email: {
1987
+ type: "string"
1988
+ },
1989
+ phone: {
1990
+ type: "string"
1991
+ },
1992
+ website: {
1993
+ type: "string"
1994
+ },
1995
+ is_privacy_policy_checked: {
1996
+ type: "boolean",
1997
+ example: false,
1998
+ nullable: true
1999
+ },
2000
+ is_terms_and_conditions_checked: {
2001
+ type: "boolean",
2002
+ example: false,
2003
+ nullable: true
2004
+ }
2005
+ },
2006
+ required: ["type", "name", "pricing_tier", "email"]
2007
+ },
2008
+ CognitoDetails: {
2009
+ type: "object",
2010
+ properties: {
2011
+ cognito_region: {
2012
+ type: "string",
2013
+ example: "eu-central-1"
2014
+ },
2015
+ cognito_user_pool_id: {
2016
+ type: "string",
2017
+ example: "eu-central-sample"
2018
+ },
2019
+ cognito_user_pool_client_id: {
2020
+ type: "string",
2021
+ example: "asbkh213ehkquwhdi"
2022
+ },
2023
+ cognito_user_pool_arn: {
2024
+ type: "string",
2025
+ example: "arn:aws:cognito-idp:eu-central-1:123456789012:userpool/eu-central-sample"
2026
+ }
2027
+ }
2028
+ },
2029
+ UserDetail: {
2030
+ type: "object",
2031
+ properties: {
2032
+ full_name: {
2033
+ type: "string",
2034
+ example: "Example user"
2035
+ },
2036
+ email: {
2037
+ type: "string",
2038
+ format: "email"
2039
+ },
2040
+ password: {
2041
+ type: "string",
2042
+ description: "User's password",
2043
+ example: "AKjhdakjsdh@!34"
2044
+ }
2045
+ },
2046
+ required: ["full_name", "email", "password"]
2047
+ },
2048
+ Organization: {
2049
+ type: "object",
2050
+ properties: {
2051
+ id: {
2052
+ $ref: "#/components/schemas/OrganizationId"
2053
+ },
2054
+ type: {
2055
+ type: "string",
2056
+ enum: ["Vendor", "Partner"],
2057
+ nullable: true
2058
+ },
2059
+ name: {
2060
+ type: "string",
2061
+ example: "Epilot",
2062
+ nullable: true
2063
+ },
2064
+ signature: {
2065
+ type: "string",
2066
+ example: "<p>Thanks</p>",
2067
+ nullable: true
2068
+ },
2069
+ symbol: {
2070
+ type: "string",
2071
+ example: "EPI",
2072
+ nullable: true
2073
+ },
2074
+ pricing_tier: {
2075
+ type: "string",
2076
+ example: "professional",
2077
+ nullable: true
2078
+ },
2079
+ email: {
2080
+ type: "string",
2081
+ example: "someone@epilot.cloud",
2082
+ nullable: true
2083
+ },
2084
+ phone: {
2085
+ type: "string",
2086
+ example: 49123123123,
2087
+ nullable: true
2088
+ },
2089
+ website: {
2090
+ type: "string",
2091
+ example: "https://epilot.cloud",
2092
+ nullable: true
2093
+ },
2094
+ address: {
2095
+ type: "object",
2096
+ properties: {
2097
+ country: {
2098
+ type: "string",
2099
+ nullable: true
2100
+ },
2101
+ city: {
2102
+ type: "string",
2103
+ nullable: true
2104
+ },
2105
+ postal_code: {
2106
+ type: "string",
2107
+ nullable: true
2108
+ },
2109
+ street: {
2110
+ type: "string",
2111
+ nullable: true
2112
+ },
2113
+ street_number: {
2114
+ type: "string",
2115
+ nullable: true
2116
+ }
2117
+ }
2118
+ },
2119
+ logo_url: {
2120
+ type: "string",
2121
+ example: "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
2122
+ nullable: true
2123
+ },
2124
+ logo_thumbnail_url: {
2125
+ type: "string",
2126
+ example: "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
2127
+ nullable: true
2128
+ },
2129
+ is_unlicensed_org: {
2130
+ type: "boolean",
2131
+ example: false,
2132
+ nullable: true
2133
+ },
2134
+ cognito_details: {
2135
+ $ref: "#/components/schemas/CognitoDetails"
2136
+ }
2137
+ }
2138
+ },
2139
+ DataPointsResponse: {
2140
+ type: "array",
2141
+ items: {
2142
+ $ref: "#/components/schemas/DataPoint"
2143
+ }
2144
+ },
2145
+ DataPoint: {
2146
+ type: "object",
2147
+ properties: {
2148
+ id: {
2149
+ description: "Organization id",
2150
+ type: "number",
2151
+ example: 206801
2152
+ },
2153
+ actual_users: {
2154
+ description: "Number of current user",
2155
+ type: "number",
2156
+ example: 10
2157
+ },
2158
+ max_users_last_month: {
2159
+ description: "Max user last month",
2160
+ type: "number",
2161
+ example: 10
2162
+ },
2163
+ non_billable_users_last_month: {
2164
+ description: "Max non-billable user last month",
2165
+ type: "number",
2166
+ example: 10
2167
+ }
2168
+ }
2169
+ },
2170
+ Passkey: {
2171
+ type: "object",
2172
+ properties: {
2173
+ credential_id: {
2174
+ type: "string",
2175
+ description: "Base64url-encoded credential ID"
2176
+ },
2177
+ friendly_name: {
2178
+ type: "string",
2179
+ example: "My Laptop"
2180
+ },
2181
+ created_at: {
2182
+ type: "string",
2183
+ format: "date-time"
2184
+ },
2185
+ transports: {
2186
+ type: "array",
2187
+ items: {
2188
+ type: "string"
2189
+ }
2190
+ },
2191
+ aaguid: {
2192
+ type: "string"
2193
+ }
2194
+ }
2195
+ },
2196
+ PasskeyAuthenticationOptions: {
2197
+ type: "object",
2198
+ properties: {
2199
+ options: {
2200
+ type: "object",
2201
+ description: "WebAuthn PublicKeyCredentialRequestOptions"
2202
+ },
2203
+ challenge_token: {
2204
+ type: "string",
2205
+ description: "Signed JWT containing the challenge"
2206
+ }
2207
+ }
2208
+ },
2209
+ PasskeyRegistrationOptions: {
2210
+ type: "object",
2211
+ properties: {
2212
+ options: {
2213
+ type: "object",
2214
+ description: "WebAuthn PublicKeyCredentialCreationOptions"
2215
+ },
2216
+ challenge_token: {
2217
+ type: "string",
2218
+ description: "Signed JWT containing the challenge"
2219
+ }
2220
+ }
2221
+ },
2222
+ PasskeyRegistrationResponse: {
2223
+ type: "object",
2224
+ properties: {
2225
+ challenge_token: {
2226
+ type: "string",
2227
+ description: "The challenge token from registerBegin"
2228
+ },
2229
+ registration_response: {
2230
+ type: "object",
2231
+ description: "WebAuthn AuthenticatorAttestationResponse"
2232
+ },
2233
+ friendly_name: {
2234
+ type: "string",
2235
+ example: "My Laptop"
2236
+ }
2237
+ },
2238
+ required: ["challenge_token", "registration_response"]
2239
+ }
2240
+ }
2241
+ };
2242
+ var servers = [
2243
+ {
2244
+ url: "https://user.sls.epilot.io"
2245
+ }
2246
+ ];
2247
+ var user_default = {
2248
+ openapi,
2249
+ info,
2250
+ tags,
2251
+ security,
2252
+ paths,
2253
+ components,
2254
+ servers
2255
+ };
2256
+ export {
2257
+ components,
2258
+ user_default as default,
2259
+ info,
2260
+ openapi,
2261
+ paths,
2262
+ security,
2263
+ servers,
2264
+ tags
2265
+ };