@epilot/sdk 2.0.0-beta.4 → 2.0.3

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 (290) hide show
  1. package/LICENSE +21 -0
  2. package/dist/{access-token.d-BuXO-21p.d.cts → access-token.d-CnmUTOlq.d.cts} +1 -1
  3. package/dist/{access-token.d-BuXO-21p.d.ts → access-token.d-CnmUTOlq.d.ts} +1 -1
  4. package/dist/{address-suggestions.d-Cay0qOfA.d.cts → address-suggestions.d-_YwTOR-9.d.cts} +1 -1
  5. package/dist/{address-suggestions.d-Cay0qOfA.d.ts → address-suggestions.d-_YwTOR-9.d.ts} +1 -1
  6. package/dist/{address.d-D-oZY0rk.d.cts → address.d-CwAPOVxa.d.cts} +1 -1
  7. package/dist/{address.d-D-oZY0rk.d.ts → address.d-CwAPOVxa.d.ts} +1 -1
  8. package/dist/{ai-agents.d-B4_CZTCP.d.cts → ai-agents.d-OkXfr2bz.d.cts} +1 -1
  9. package/dist/{ai-agents.d-B4_CZTCP.d.ts → ai-agents.d-OkXfr2bz.d.ts} +1 -1
  10. package/dist/apis/access-token.d.cts +3 -3
  11. package/dist/apis/access-token.d.ts +3 -3
  12. package/dist/apis/address-suggestions.d.cts +3 -3
  13. package/dist/apis/address-suggestions.d.ts +3 -3
  14. package/dist/apis/address.d.cts +3 -3
  15. package/dist/apis/address.d.ts +3 -3
  16. package/dist/apis/ai-agents.d.cts +3 -3
  17. package/dist/apis/ai-agents.d.ts +3 -3
  18. package/dist/apis/app.d.cts +3 -3
  19. package/dist/apis/app.d.ts +3 -3
  20. package/dist/apis/audit-logs.d.cts +3 -3
  21. package/dist/apis/audit-logs.d.ts +3 -3
  22. package/dist/apis/automation.d.cts +3 -3
  23. package/dist/apis/automation.d.ts +3 -3
  24. package/dist/apis/billing.d.cts +3 -3
  25. package/dist/apis/billing.d.ts +3 -3
  26. package/dist/apis/blueprint-manifest.d.cts +3 -3
  27. package/dist/apis/blueprint-manifest.d.ts +3 -3
  28. package/dist/apis/consent.d.cts +3 -3
  29. package/dist/apis/consent.d.ts +3 -3
  30. package/dist/apis/customer-portal.cjs +1 -1
  31. package/dist/apis/customer-portal.d.cts +3 -3
  32. package/dist/apis/customer-portal.d.ts +3 -3
  33. package/dist/apis/customer-portal.js +1 -1
  34. package/dist/apis/dashboard.d.cts +3 -3
  35. package/dist/apis/dashboard.d.ts +3 -3
  36. package/dist/apis/data-management.d.cts +3 -3
  37. package/dist/apis/data-management.d.ts +3 -3
  38. package/dist/apis/deduplication.d.cts +3 -3
  39. package/dist/apis/deduplication.d.ts +3 -3
  40. package/dist/apis/design.d.cts +3 -3
  41. package/dist/apis/design.d.ts +3 -3
  42. package/dist/apis/document.d.cts +3 -3
  43. package/dist/apis/document.d.ts +3 -3
  44. package/dist/apis/email-settings.d.cts +3 -3
  45. package/dist/apis/email-settings.d.ts +3 -3
  46. package/dist/apis/email-template.d.cts +3 -3
  47. package/dist/apis/email-template.d.ts +3 -3
  48. package/dist/apis/entity-mapping.d.cts +3 -3
  49. package/dist/apis/entity-mapping.d.ts +3 -3
  50. package/dist/apis/entity.d.cts +3 -3
  51. package/dist/apis/entity.d.ts +3 -3
  52. package/dist/apis/environments.d.cts +3 -3
  53. package/dist/apis/environments.d.ts +3 -3
  54. package/dist/apis/erp-integration.cjs +1 -1
  55. package/dist/apis/erp-integration.d.cts +3 -3
  56. package/dist/apis/erp-integration.d.ts +3 -3
  57. package/dist/apis/erp-integration.js +1 -1
  58. package/dist/apis/event-catalog.d.cts +3 -3
  59. package/dist/apis/event-catalog.d.ts +3 -3
  60. package/dist/apis/file.d.cts +3 -3
  61. package/dist/apis/file.d.ts +3 -3
  62. package/dist/apis/iban.d.cts +3 -3
  63. package/dist/apis/iban.d.ts +3 -3
  64. package/dist/apis/journey.d.cts +3 -3
  65. package/dist/apis/journey.d.ts +3 -3
  66. package/dist/apis/kanban.d.cts +3 -3
  67. package/dist/apis/kanban.d.ts +3 -3
  68. package/dist/apis/message.d.cts +3 -3
  69. package/dist/apis/message.d.ts +3 -3
  70. package/dist/apis/metering.d.cts +3 -3
  71. package/dist/apis/metering.d.ts +3 -3
  72. package/dist/apis/notes.d.cts +3 -3
  73. package/dist/apis/notes.d.ts +3 -3
  74. package/dist/apis/notification.d.cts +3 -3
  75. package/dist/apis/notification.d.ts +3 -3
  76. package/dist/apis/organization.cjs +1 -1
  77. package/dist/apis/organization.d.cts +3 -3
  78. package/dist/apis/organization.d.ts +3 -3
  79. package/dist/apis/organization.js +1 -1
  80. package/dist/apis/partner-directory.d.cts +3 -3
  81. package/dist/apis/partner-directory.d.ts +3 -3
  82. package/dist/apis/permissions.d.cts +3 -3
  83. package/dist/apis/permissions.d.ts +3 -3
  84. package/dist/apis/pricing-tier.d.cts +3 -3
  85. package/dist/apis/pricing-tier.d.ts +3 -3
  86. package/dist/apis/pricing.d.cts +3 -3
  87. package/dist/apis/pricing.d.ts +3 -3
  88. package/dist/apis/purpose.d.cts +3 -3
  89. package/dist/apis/purpose.d.ts +3 -3
  90. package/dist/apis/sandbox.d.cts +3 -3
  91. package/dist/apis/sandbox.d.ts +3 -3
  92. package/dist/apis/submission.d.cts +3 -3
  93. package/dist/apis/submission.d.ts +3 -3
  94. package/dist/apis/targeting.d.cts +3 -3
  95. package/dist/apis/targeting.d.ts +3 -3
  96. package/dist/apis/template-variables.d.cts +3 -3
  97. package/dist/apis/template-variables.d.ts +3 -3
  98. package/dist/apis/user.d.cts +3 -3
  99. package/dist/apis/user.d.ts +3 -3
  100. package/dist/apis/validation-rules.d.cts +3 -3
  101. package/dist/apis/validation-rules.d.ts +3 -3
  102. package/dist/apis/webhooks.d.cts +3 -3
  103. package/dist/apis/webhooks.d.ts +3 -3
  104. package/dist/apis/workflow-definition.d.cts +3 -3
  105. package/dist/apis/workflow-definition.d.ts +3 -3
  106. package/dist/apis/workflow.d.cts +3 -3
  107. package/dist/apis/workflow.d.ts +3 -3
  108. package/dist/{app.d-BKyfin-q.d.cts → app.d-Dr03n4J4.d.cts} +1 -1
  109. package/dist/{app.d-BKyfin-q.d.ts → app.d-Dr03n4J4.d.ts} +1 -1
  110. package/dist/{audit-logs.d-19BKb-ur.d.cts → audit-logs.d-BRToFqeX.d.cts} +1 -1
  111. package/dist/{audit-logs.d-19BKb-ur.d.ts → audit-logs.d-BRToFqeX.d.ts} +1 -1
  112. package/dist/{automation.d-DKl2VtnW.d.ts → automation.d-KOiZ6ru5.d.cts} +2 -24
  113. package/dist/{automation.d-DKl2VtnW.d.cts → automation.d-KOiZ6ru5.d.ts} +2 -24
  114. package/dist/{billing.d-58fUMBqj.d.cts → billing.d-Bs8Ku9qE.d.cts} +1 -1
  115. package/dist/{billing.d-58fUMBqj.d.ts → billing.d-Bs8Ku9qE.d.ts} +1 -1
  116. package/dist/{blueprint-manifest.d-Bu1GyXFW.d.cts → blueprint-manifest.d-CEWRdF3i.d.cts} +1 -1
  117. package/dist/{blueprint-manifest.d-Bu1GyXFW.d.ts → blueprint-manifest.d-CEWRdF3i.d.ts} +1 -1
  118. package/dist/{consent.d-CQ88IEj0.d.cts → consent.d-C2PROHhX.d.cts} +1 -1
  119. package/dist/{consent.d-CQ88IEj0.d.ts → consent.d-C2PROHhX.d.ts} +1 -1
  120. package/dist/{customer-portal.d-EyndRWh6.d.ts → customer-portal.d-Bh9NF8cY.d.cts} +598 -99
  121. package/dist/{customer-portal.d-EyndRWh6.d.cts → customer-portal.d-Bh9NF8cY.d.ts} +598 -99
  122. package/dist/{dashboard.d-AE3RQ6zo.d.cts → dashboard.d-CsGcA74I.d.cts} +1 -1
  123. package/dist/{dashboard.d-AE3RQ6zo.d.ts → dashboard.d-CsGcA74I.d.ts} +1 -1
  124. package/dist/{data-management.d-CNExsqJQ.d.cts → data-management.d-pnuiRU2h.d.cts} +1 -1
  125. package/dist/{data-management.d-CNExsqJQ.d.ts → data-management.d-pnuiRU2h.d.ts} +1 -1
  126. package/dist/{deduplication.d-DCeJzdbM.d.ts → deduplication.d-w_2aJD5f.d.cts} +1 -1
  127. package/dist/{deduplication.d-DCeJzdbM.d.cts → deduplication.d-w_2aJD5f.d.ts} +1 -1
  128. package/dist/{design.d-CkwgJ78Z.d.cts → design.d-eA-irKEX.d.cts} +1 -1
  129. package/dist/{design.d-CkwgJ78Z.d.ts → design.d-eA-irKEX.d.ts} +1 -1
  130. package/dist/{document.d-Y8i32qNV.d.cts → document.d-DN37pjdx.d.cts} +1 -1
  131. package/dist/{document.d-Y8i32qNV.d.ts → document.d-DN37pjdx.d.ts} +1 -1
  132. package/dist/{email-settings.d-CPAsRFWN.d.cts → email-settings.d-BXxYjVDr.d.cts} +1 -1
  133. package/dist/{email-settings.d-CPAsRFWN.d.ts → email-settings.d-BXxYjVDr.d.ts} +1 -1
  134. package/dist/{email-template.d-CQqiCN0N.d.cts → email-template.d-BeqkDHtk.d.cts} +1 -1
  135. package/dist/{email-template.d-CQqiCN0N.d.ts → email-template.d-BeqkDHtk.d.ts} +1 -1
  136. package/dist/{entity-mapping.d-DiqXqJWb.d.cts → entity-mapping.d-DKSW3sfy.d.cts} +1 -1
  137. package/dist/{entity-mapping.d-DiqXqJWb.d.ts → entity-mapping.d-DKSW3sfy.d.ts} +1 -1
  138. package/dist/{entity.d-BtT4mdq4.d.ts → entity.d-CrtZaZr8.d.cts} +1 -1
  139. package/dist/{entity.d-BtT4mdq4.d.cts → entity.d-CrtZaZr8.d.ts} +1 -1
  140. package/dist/{environments.d-C1xIs8N2.d.cts → environments.d-H3LK_KuH.d.cts} +1 -1
  141. package/dist/{environments.d-C1xIs8N2.d.ts → environments.d-H3LK_KuH.d.ts} +1 -1
  142. package/dist/{erp-integration.d-CNLzgl4L.d.cts → erp-integration.d-DOhxy4P5.d.cts} +409 -15
  143. package/dist/{erp-integration.d-CNLzgl4L.d.ts → erp-integration.d-DOhxy4P5.d.ts} +409 -15
  144. package/dist/{event-catalog.d-DW1dOyVh.d.cts → event-catalog.d-ENw6HO-w.d.cts} +1 -1
  145. package/dist/{event-catalog.d-DW1dOyVh.d.ts → event-catalog.d-ENw6HO-w.d.ts} +1 -1
  146. package/dist/{file.d-Bpdt2ORN.d.cts → file.d-DcTJxjp7.d.cts} +1 -1
  147. package/dist/{file.d-Bpdt2ORN.d.ts → file.d-DcTJxjp7.d.ts} +1 -1
  148. package/dist/{iban.d-3_7FEsbx.d.ts → iban.d-BwdiGbxi.d.cts} +1 -1
  149. package/dist/{iban.d-3_7FEsbx.d.cts → iban.d-BwdiGbxi.d.ts} +1 -1
  150. package/dist/index.d.cts +46 -46
  151. package/dist/index.d.ts +46 -46
  152. package/dist/{journey.d-C2lgynUF.d.cts → journey.d-C4N4t1Rh.d.cts} +122 -4
  153. package/dist/{journey.d-C2lgynUF.d.ts → journey.d-C4N4t1Rh.d.ts} +122 -4
  154. package/dist/kanban.d-CtSt3uX2.d.cts +745 -0
  155. package/dist/kanban.d-CtSt3uX2.d.ts +745 -0
  156. package/dist/{message.d-TAVDRlDJ.d.cts → message.d-YEv1kmQd.d.cts} +1 -1
  157. package/dist/{message.d-TAVDRlDJ.d.ts → message.d-YEv1kmQd.d.ts} +1 -1
  158. package/dist/{metering.d-qyYaAU-O.d.cts → metering.d-DvtPv7wk.d.cts} +1 -1
  159. package/dist/{metering.d-qyYaAU-O.d.ts → metering.d-DvtPv7wk.d.ts} +1 -1
  160. package/dist/{notes.d-CDyIbegf.d.cts → notes.d-BC-scR42.d.cts} +1 -1
  161. package/dist/{notes.d-CDyIbegf.d.ts → notes.d-BC-scR42.d.ts} +1 -1
  162. package/dist/{notification.d-B7ccbaPr.d.cts → notification.d-BfBL3lga.d.cts} +1 -1
  163. package/dist/{notification.d-B7ccbaPr.d.ts → notification.d-BfBL3lga.d.ts} +1 -1
  164. package/dist/organization.d-Bd2Hmk8v.d.cts +1244 -0
  165. package/dist/organization.d-Bd2Hmk8v.d.ts +1244 -0
  166. package/dist/{partner-directory.d-CzKV3WfP.d.cts → partner-directory.d-CRNkDF8q.d.cts} +1 -1
  167. package/dist/{partner-directory.d-CzKV3WfP.d.ts → partner-directory.d-CRNkDF8q.d.ts} +1 -1
  168. package/dist/{permissions.d-lVoPAfl3.d.cts → permissions.d-BHB1FFS5.d.cts} +1 -1
  169. package/dist/{permissions.d-lVoPAfl3.d.ts → permissions.d-BHB1FFS5.d.ts} +1 -1
  170. package/dist/{pricing-tier.d-BW2cZt1w.d.cts → pricing-tier.d-Cg0jl6n_.d.cts} +1 -1
  171. package/dist/{pricing-tier.d-BW2cZt1w.d.ts → pricing-tier.d-Cg0jl6n_.d.ts} +1 -1
  172. package/dist/{pricing.d-Ehb2JuKY.d.cts → pricing.d-Cv39plGm.d.cts} +1 -1
  173. package/dist/{pricing.d-Ehb2JuKY.d.ts → pricing.d-Cv39plGm.d.ts} +1 -1
  174. package/dist/{purpose.d-BVxst611.d.cts → purpose.d-CbIYfTua.d.cts} +1 -1
  175. package/dist/{purpose.d-BVxst611.d.ts → purpose.d-CbIYfTua.d.ts} +1 -1
  176. package/dist/{sandbox.d-tRO2movo.d.cts → sandbox.d-BdbOFzDu.d.cts} +1 -1
  177. package/dist/{sandbox.d-tRO2movo.d.ts → sandbox.d-BdbOFzDu.d.ts} +1 -1
  178. package/dist/{submission.d-CSll5Km9.d.cts → submission.d-BamwfhXw.d.cts} +1 -1
  179. package/dist/{submission.d-CSll5Km9.d.ts → submission.d-BamwfhXw.d.ts} +1 -1
  180. package/dist/{targeting.d-CDxIsOWy.d.cts → targeting.d-BNmcVsNS.d.cts} +1 -1
  181. package/dist/{targeting.d-CDxIsOWy.d.ts → targeting.d-BNmcVsNS.d.ts} +1 -1
  182. package/dist/{template-variables.d-PwA27Ocv.d.cts → template-variables.d-Ch3H3zYf.d.cts} +1 -1
  183. package/dist/{template-variables.d-PwA27Ocv.d.ts → template-variables.d-Ch3H3zYf.d.ts} +1 -1
  184. package/dist/{user.d-DJBp6aX5.d.cts → user.d-CXqM751M.d.cts} +1 -1
  185. package/dist/{user.d-DJBp6aX5.d.ts → user.d-CXqM751M.d.ts} +1 -1
  186. package/dist/{validation-rules.d-CScjNdxD.d.cts → validation-rules.d-Db5c5zTf.d.cts} +1 -1
  187. package/dist/{validation-rules.d-CScjNdxD.d.ts → validation-rules.d-Db5c5zTf.d.ts} +1 -1
  188. package/dist/{webhooks.d-C_MQSJEB.d.cts → webhooks.d-CUNJrltY.d.cts} +1 -1
  189. package/dist/{webhooks.d-C_MQSJEB.d.ts → webhooks.d-CUNJrltY.d.ts} +1 -1
  190. package/dist/{workflow-definition.d-CFXrp2Hg.d.cts → workflow-definition.d-CE3kk9gl.d.cts} +1 -1
  191. package/dist/{workflow-definition.d-CFXrp2Hg.d.ts → workflow-definition.d-CE3kk9gl.d.ts} +1 -1
  192. package/dist/{workflow.d-BIWtgMyP.d.cts → workflow.d-DvhTpEtU.d.cts} +46 -4
  193. package/dist/{workflow.d-BIWtgMyP.d.ts → workflow.d-DvhTpEtU.d.ts} +46 -4
  194. package/package.json +152 -11
  195. package/definitions/access-token-runtime.json +0 -1
  196. package/definitions/access-token.json +0 -663
  197. package/definitions/address-runtime.json +0 -1
  198. package/definitions/address-suggestions-runtime.json +0 -1
  199. package/definitions/address-suggestions.json +0 -582
  200. package/definitions/address.json +0 -578
  201. package/definitions/ai-agents-runtime.json +0 -1
  202. package/definitions/ai-agents.json +0 -1711
  203. package/definitions/app-runtime.json +0 -1
  204. package/definitions/app.json +0 -4443
  205. package/definitions/audit-logs-runtime.json +0 -1
  206. package/definitions/audit-logs.json +0 -305
  207. package/definitions/automation-runtime.json +0 -1
  208. package/definitions/automation.json +0 -4850
  209. package/definitions/billing-runtime.json +0 -1
  210. package/definitions/billing.json +0 -837
  211. package/definitions/blueprint-manifest-runtime.json +0 -1
  212. package/definitions/blueprint-manifest.json +0 -3376
  213. package/definitions/consent-runtime.json +0 -1
  214. package/definitions/consent.json +0 -344
  215. package/definitions/customer-portal-runtime.json +0 -1
  216. package/definitions/customer-portal.json +0 -15000
  217. package/definitions/dashboard-runtime.json +0 -1
  218. package/definitions/dashboard.json +0 -484
  219. package/definitions/data-management-runtime.json +0 -1
  220. package/definitions/data-management.json +0 -962
  221. package/definitions/deduplication-runtime.json +0 -1
  222. package/definitions/deduplication.json +0 -183
  223. package/definitions/design-runtime.json +0 -1
  224. package/definitions/design.json +0 -1423
  225. package/definitions/document-runtime.json +0 -1
  226. package/definitions/document.json +0 -758
  227. package/definitions/email-settings-runtime.json +0 -1
  228. package/definitions/email-settings.json +0 -2627
  229. package/definitions/email-template-runtime.json +0 -1
  230. package/definitions/email-template.json +0 -1419
  231. package/definitions/entity-mapping-runtime.json +0 -1
  232. package/definitions/entity-mapping.json +0 -1642
  233. package/definitions/entity-runtime.json +0 -1
  234. package/definitions/entity.json +0 -10074
  235. package/definitions/environments-runtime.json +0 -1
  236. package/definitions/environments.json +0 -363
  237. package/definitions/erp-integration-runtime.json +0 -1
  238. package/definitions/erp-integration.json +0 -5845
  239. package/definitions/event-catalog-runtime.json +0 -1
  240. package/definitions/event-catalog.json +0 -1051
  241. package/definitions/file-runtime.json +0 -1
  242. package/definitions/file.json +0 -2842
  243. package/definitions/iban-runtime.json +0 -1
  244. package/definitions/iban.json +0 -132
  245. package/definitions/journey-runtime.json +0 -1
  246. package/definitions/journey.json +0 -2341
  247. package/definitions/kanban-runtime.json +0 -1
  248. package/definitions/kanban.json +0 -929
  249. package/definitions/message-runtime.json +0 -1
  250. package/definitions/message.json +0 -2660
  251. package/definitions/metering-runtime.json +0 -1
  252. package/definitions/metering.json +0 -2321
  253. package/definitions/notes-runtime.json +0 -1
  254. package/definitions/notes.json +0 -1531
  255. package/definitions/notification-runtime.json +0 -1
  256. package/definitions/notification.json +0 -1425
  257. package/definitions/organization-runtime.json +0 -1
  258. package/definitions/organization.json +0 -629
  259. package/definitions/partner-directory-runtime.json +0 -1
  260. package/definitions/partner-directory.json +0 -1718
  261. package/definitions/permissions-runtime.json +0 -1
  262. package/definitions/permissions.json +0 -1480
  263. package/definitions/pricing-runtime.json +0 -1
  264. package/definitions/pricing-tier-runtime.json +0 -1
  265. package/definitions/pricing-tier.json +0 -105
  266. package/definitions/pricing.json +0 -9884
  267. package/definitions/purpose-runtime.json +0 -1
  268. package/definitions/purpose.json +0 -524
  269. package/definitions/sandbox-runtime.json +0 -1
  270. package/definitions/sandbox.json +0 -453
  271. package/definitions/submission-runtime.json +0 -1
  272. package/definitions/submission.json +0 -313
  273. package/definitions/targeting-runtime.json +0 -1
  274. package/definitions/targeting.json +0 -1474
  275. package/definitions/template-variables-runtime.json +0 -1
  276. package/definitions/template-variables.json +0 -1408
  277. package/definitions/user-runtime.json +0 -1
  278. package/definitions/user.json +0 -2408
  279. package/definitions/validation-rules-runtime.json +0 -1
  280. package/definitions/validation-rules.json +0 -1491
  281. package/definitions/webhooks-runtime.json +0 -1
  282. package/definitions/webhooks.json +0 -1525
  283. package/definitions/workflow-definition-runtime.json +0 -1
  284. package/definitions/workflow-definition.json +0 -3417
  285. package/definitions/workflow-runtime.json +0 -1
  286. package/definitions/workflow.json +0 -4106
  287. package/dist/kanban.d-DYVjUQ_S.d.cts +0 -630
  288. package/dist/kanban.d-DYVjUQ_S.d.ts +0 -630
  289. package/dist/organization.d-BxZWnh8L.d.cts +0 -628
  290. package/dist/organization.d-BxZWnh8L.d.ts +0 -628
@@ -1 +0,0 @@
1
- {"s":"https://organization-v2.sls.epilot.io","o":[["getCurrentOrganization","get","/v2/organization/current"],["getOrganization","get","/v2/organization/{org_id}",[["org_id","p",true]]],["updateOrganization","patch","/v2/organization/{org_id}",[["org_id","p",true]],1],["getSettings","get","/v2/organization/{org_id}/settings",[["org_id","p",true]]],["putSettingsValue","put","/v2/organization/{org_id}/settings/{key}",[["org_id","p",true],["key","p",true]],1],["deleteSettingsValue","delete","/v2/organization/{org_id}/settings/{key}",[["org_id","p",true],["key","p",true]]]],"v":"3.0.3"}
@@ -1,629 +0,0 @@
1
- {
2
- "openapi": "3.0.3",
3
- "info": {
4
- "title": "Organization API",
5
- "description": "Manage epilot tenant organizations",
6
- "version": "1.0.0"
7
- },
8
- "tags": [
9
- {
10
- "name": "Organization",
11
- "description": "Organization info"
12
- },
13
- {
14
- "name": "Organization Settings",
15
- "description": "Organization Settings"
16
- },
17
- {
18
- "name": "Cleanup",
19
- "description": "Internal Cleanup endpoints"
20
- },
21
- {
22
- "name": "Internal",
23
- "description": "Internal endpoints"
24
- }
25
- ],
26
- "security": [
27
- {
28
- "EpilotAuth": []
29
- }
30
- ],
31
- "paths": {
32
- "/v2/organization/current": {
33
- "get": {
34
- "operationId": "getCurrentOrganization",
35
- "summary": "getCurrentOrganization",
36
- "description": "Get caller's current organization",
37
- "tags": [
38
- "Organization"
39
- ],
40
- "responses": {
41
- "200": {
42
- "description": "Current organization",
43
- "content": {
44
- "application/json": {
45
- "schema": {
46
- "$ref": "#/components/schemas/Organization"
47
- }
48
- }
49
- }
50
- }
51
- }
52
- }
53
- },
54
- "/v2/organization/{org_id}": {
55
- "get": {
56
- "operationId": "getOrganization",
57
- "summary": "getOrganization",
58
- "description": "Get an organization",
59
- "tags": [
60
- "Organization"
61
- ],
62
- "parameters": [
63
- {
64
- "in": "path",
65
- "name": "org_id",
66
- "schema": {
67
- "$ref": "#/components/schemas/OrganizationId"
68
- },
69
- "required": true,
70
- "description": "The Id of the organization."
71
- }
72
- ],
73
- "responses": {
74
- "200": {
75
- "description": "The returned organization",
76
- "content": {
77
- "application/json": {
78
- "schema": {
79
- "$ref": "#/components/schemas/Organization"
80
- }
81
- }
82
- }
83
- }
84
- }
85
- },
86
- "patch": {
87
- "operationId": "updateOrganization",
88
- "summary": "updateOrganization",
89
- "description": "Updates an organization",
90
- "tags": [
91
- "Organization"
92
- ],
93
- "parameters": [
94
- {
95
- "in": "path",
96
- "name": "org_id",
97
- "schema": {
98
- "$ref": "#/components/schemas/OrganizationId"
99
- },
100
- "required": true,
101
- "description": "The Id of the organization."
102
- }
103
- ],
104
- "requestBody": {
105
- "content": {
106
- "application/json": {
107
- "schema": {
108
- "$ref": "#/components/schemas/Organization"
109
- }
110
- }
111
- }
112
- },
113
- "responses": {
114
- "200": {
115
- "description": "The updated organization",
116
- "content": {
117
- "application/json": {
118
- "schema": {
119
- "$ref": "#/components/schemas/Organization"
120
- }
121
- }
122
- }
123
- }
124
- }
125
- }
126
- },
127
- "/v2/organization/{org_id}/settings": {
128
- "get": {
129
- "description": "Get full organization settings object",
130
- "operationId": "getSettings",
131
- "summary": "getSettings",
132
- "tags": [
133
- "Organization Settings"
134
- ],
135
- "parameters": [
136
- {
137
- "in": "path",
138
- "name": "org_id",
139
- "schema": {
140
- "$ref": "#/components/schemas/OrganizationId"
141
- },
142
- "required": true,
143
- "description": "The Id of the organization."
144
- }
145
- ],
146
- "responses": {
147
- "200": {
148
- "description": "Returns the organization settings",
149
- "content": {
150
- "application/json": {
151
- "schema": {
152
- "$ref": "#/components/schemas/Settings"
153
- }
154
- }
155
- }
156
- }
157
- }
158
- }
159
- },
160
- "/v2/organization/{org_id}/settings/{key}": {
161
- "put": {
162
- "description": "Updates an organization setting",
163
- "operationId": "putSettingsValue",
164
- "summary": "putSettingsValue",
165
- "tags": [
166
- "Organization Settings"
167
- ],
168
- "parameters": [
169
- {
170
- "in": "path",
171
- "name": "org_id",
172
- "schema": {
173
- "$ref": "#/components/schemas/OrganizationId"
174
- },
175
- "required": true,
176
- "description": "The Id of the organization."
177
- },
178
- {
179
- "in": "path",
180
- "name": "key",
181
- "schema": {
182
- "type": "string"
183
- },
184
- "required": true,
185
- "description": "Organization setting key"
186
- }
187
- ],
188
- "requestBody": {
189
- "description": "Value to set",
190
- "content": {
191
- "application/json": {
192
- "schema": {
193
- "$ref": "#/components/schemas/SettingsValue"
194
- }
195
- }
196
- }
197
- },
198
- "responses": {
199
- "200": {
200
- "description": "Returns the value of the setting",
201
- "content": {
202
- "application/json": {
203
- "schema": {
204
- "$ref": "#/components/schemas/SettingsValue"
205
- }
206
- }
207
- }
208
- }
209
- }
210
- },
211
- "delete": {
212
- "description": "Updates an organization nsetting",
213
- "operationId": "deleteSettingsValue",
214
- "summary": "deleteSettingsValue",
215
- "tags": [
216
- "Organization Settings"
217
- ],
218
- "parameters": [
219
- {
220
- "in": "path",
221
- "name": "org_id",
222
- "schema": {
223
- "$ref": "#/components/schemas/OrganizationId"
224
- },
225
- "required": true,
226
- "description": "The Id of the organization."
227
- },
228
- {
229
- "in": "path",
230
- "name": "key",
231
- "schema": {
232
- "type": "string"
233
- },
234
- "required": true,
235
- "description": "Organization setting key"
236
- }
237
- ],
238
- "responses": {
239
- "200": {
240
- "description": "Delete successful"
241
- }
242
- }
243
- }
244
- }
245
- },
246
- "components": {
247
- "securitySchemes": {
248
- "EpilotAuth": {
249
- "type": "http",
250
- "scheme": "bearer",
251
- "description": "Authorization header with epilot OAuth2 bearer token",
252
- "bearerFormat": "JWT"
253
- }
254
- },
255
- "schemas": {
256
- "OrganizationId": {
257
- "type": "string",
258
- "example": "739224"
259
- },
260
- "Organization": {
261
- "type": "object",
262
- "properties": {
263
- "id": {
264
- "$ref": "#/components/schemas/OrganizationId"
265
- },
266
- "name": {
267
- "type": "string",
268
- "description": "Organization name",
269
- "example": "Epilot",
270
- "nullable": true
271
- },
272
- "email": {
273
- "type": "string",
274
- "description": "Organization contact email",
275
- "example": "someone@epilot.cloud",
276
- "nullable": true
277
- },
278
- "phone": {
279
- "description": "Organization contact phone",
280
- "type": "string",
281
- "example": "+49123123123",
282
- "nullable": true
283
- },
284
- "website": {
285
- "description": "Organization website",
286
- "type": "string",
287
- "example": "https://epilot.cloud",
288
- "nullable": true
289
- },
290
- "address": {
291
- "description": "Organization postal address",
292
- "type": "object",
293
- "additionalProperties": true,
294
- "properties": {
295
- "country": {
296
- "type": "string",
297
- "nullable": true
298
- },
299
- "city": {
300
- "type": "string",
301
- "nullable": true
302
- },
303
- "postal_code": {
304
- "type": "string",
305
- "nullable": true
306
- },
307
- "street": {
308
- "type": "string",
309
- "nullable": true
310
- },
311
- "street_number": {
312
- "type": "string",
313
- "nullable": true
314
- }
315
- }
316
- },
317
- "organization_use": {
318
- "type": "string",
319
- "enum": [
320
- "Production",
321
- "Sandbox"
322
- ],
323
- "nullable": true
324
- },
325
- "parent_production_org_id": {
326
- "type": "string",
327
- "nullable": true
328
- },
329
- "created_date": {
330
- "type": "string",
331
- "format": "date-time",
332
- "description": "Organization created date"
333
- },
334
- "logo_url": {
335
- "description": "Organization logo URL",
336
- "type": "string",
337
- "example": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
338
- "nullable": true
339
- },
340
- "logo_thumbnail_url": {
341
- "description": "Organization logo thumbnail URL",
342
- "type": "string",
343
- "example": "https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png",
344
- "nullable": true
345
- },
346
- "signature": {
347
- "type": "string",
348
- "description": "Default email signature of organization",
349
- "example": "<p>Thanks</p>",
350
- "nullable": true
351
- },
352
- "is_unlicensed_org": {
353
- "type": "boolean",
354
- "example": false,
355
- "nullable": true,
356
- "deprecated": true
357
- },
358
- "style": {
359
- "type": "object",
360
- "description": "Organization style setting (e.g. font setting)",
361
- "additionalProperties": true,
362
- "nullable": true,
363
- "deprecated": true
364
- },
365
- "type": {
366
- "type": "string",
367
- "deprecated": true,
368
- "enum": [
369
- "Vendor",
370
- "Partner"
371
- ],
372
- "nullable": true
373
- },
374
- "symbol": {
375
- "deprecated": true,
376
- "type": "string",
377
- "example": "EPI",
378
- "nullable": true
379
- },
380
- "pricing_tier": {
381
- "deprecated": true,
382
- "description": "Deprecated - Please use pricing tier api",
383
- "type": "string",
384
- "example": "professional",
385
- "nullable": true
386
- },
387
- "free_user_limit": {
388
- "deprecated": true,
389
- "type": "number",
390
- "example": 50,
391
- "nullable": true
392
- }
393
- }
394
- },
395
- "InternalOrganization": {
396
- "allOf": [
397
- {
398
- "$ref": "#/components/schemas/Organization"
399
- }
400
- ]
401
- },
402
- "SettingKey": {
403
- "type": "string",
404
- "example": "double_opt_in"
405
- },
406
- "Settings": {
407
- "type": "object",
408
- "additionalProperties": true,
409
- "example": {
410
- "double_opt_in": {
411
- "enabled": true
412
- }
413
- }
414
- },
415
- "SettingsValue": {
416
- "anyOf": [
417
- {
418
- "type": "string"
419
- },
420
- {
421
- "type": "number"
422
- },
423
- {
424
- "type": "boolean"
425
- },
426
- {
427
- "type": "array",
428
- "items": {
429
- "type": "object",
430
- "additionalProperties": true
431
- }
432
- },
433
- {
434
- "type": "object",
435
- "additionalProperties": true
436
- }
437
- ],
438
- "example": {
439
- "enabled": true
440
- }
441
- },
442
- "CreateOrganizationRequest": {
443
- "type": "object",
444
- "properties": {
445
- "organization_detail": {
446
- "description": "Organization detail",
447
- "type": "object",
448
- "required": [
449
- "name",
450
- "type",
451
- "pricing_tier_id"
452
- ],
453
- "properties": {
454
- "name": {
455
- "description": "Organization name",
456
- "type": "string",
457
- "example": "epilot"
458
- },
459
- "email_address": {
460
- "description": "Organization email address",
461
- "type": "string",
462
- "example": "epilot@epilot.cloud"
463
- },
464
- "type": {
465
- "description": "type",
466
- "type": "string",
467
- "example": "Vendor"
468
- },
469
- "organization_use": {
470
- "type": "string",
471
- "enum": [
472
- "Production",
473
- "Sandbox"
474
- ]
475
- },
476
- "pricing_tier_id": {
477
- "description": "Pricing tier ID",
478
- "type": "string",
479
- "example": "01GEKHZHSN19KK10ZS92Y3WY9B"
480
- }
481
- }
482
- },
483
- "owner_user": {
484
- "description": "Owner user will receive invitation",
485
- "type": "object",
486
- "required": [
487
- "email_address"
488
- ],
489
- "properties": {
490
- "full_name": {
491
- "type": "string",
492
- "example": "Ny Huynh"
493
- },
494
- "email_address": {
495
- "type": "string",
496
- "example": "ny.huynhthi@axonactive.com"
497
- }
498
- }
499
- }
500
- }
501
- },
502
- "DataPointsResponse": {
503
- "type": "array",
504
- "items": {
505
- "$ref": "#/components/schemas/DataPoint"
506
- }
507
- },
508
- "DataPoint": {
509
- "type": "object",
510
- "properties": {
511
- "id": {
512
- "description": "Organization id",
513
- "type": "number",
514
- "example": 206801
515
- },
516
- "max_customer": {
517
- "description": "Max customer data points last month",
518
- "type": "number",
519
- "example": 10
520
- },
521
- "actual_customer": {
522
- "description": "Actual customer data points",
523
- "type": "number",
524
- "example": 10
525
- }
526
- }
527
- },
528
- "OrganizationToCleanup": {
529
- "type": "object",
530
- "required": [
531
- "org_id",
532
- "deleted_at",
533
- "deleted_by"
534
- ],
535
- "properties": {
536
- "org_id": {
537
- "$ref": "#/components/schemas/OrganizationId"
538
- },
539
- "deleted_at": {
540
- "type": "string",
541
- "format": "date-time",
542
- "example": "2021-06-01T00:00:00Z"
543
- },
544
- "deleted_by": {
545
- "type": "string",
546
- "example": "123456"
547
- }
548
- }
549
- },
550
- "OrganizationCleanupStatus": {
551
- "type": "object",
552
- "required": [
553
- "org_id",
554
- "service_name"
555
- ],
556
- "properties": {
557
- "org_id": {
558
- "$ref": "#/components/schemas/OrganizationId"
559
- },
560
- "service_name": {
561
- "type": "string",
562
- "example": "organization-api"
563
- },
564
- "operations": {
565
- "example": [
566
- {
567
- "action": "Delete",
568
- "resource": "OrgTable",
569
- "extra_info": "pk: ORG#739224"
570
- },
571
- {
572
- "action": "Archive",
573
- "resource": "s3://my-bucket",
574
- "extra_info": "my-bucket/my-key.txt"
575
- }
576
- ],
577
- "type": "array",
578
- "items": {
579
- "type": "object",
580
- "additionalProperties": true,
581
- "properties": {
582
- "action": {
583
- "type": "string",
584
- "example": "Delete"
585
- },
586
- "resource": {
587
- "type": "string",
588
- "example": "OrgTable"
589
- },
590
- "extra_info": {
591
- "anyOf": [
592
- {
593
- "type": "string"
594
- },
595
- {
596
- "type": "number"
597
- },
598
- {
599
- "type": "boolean"
600
- },
601
- {
602
- "type": "array",
603
- "items": {
604
- "type": "object",
605
- "additionalProperties": true
606
- }
607
- },
608
- {
609
- "type": "object",
610
- "additionalProperties": true
611
- }
612
- ]
613
- }
614
- }
615
- }
616
- }
617
- }
618
- }
619
- }
620
- },
621
- "servers": [
622
- {
623
- "url": "https://organization-v2.sls.epilot.io"
624
- },
625
- {
626
- "url": "https://organization-v2.sls.epilot.io"
627
- }
628
- ]
629
- }
@@ -1 +0,0 @@
1
- {"s":"https://partner-directory-api.sls.epilot.io","o":[["approvePartner","post","/v1/partners/{id}/approve",[["id","p",true]]],["rejectPartner","post","/v1/partners/{id}/reject",[["id","p",true]]],["searchAssignable","post","/v1/partners/assignables:search",null,1],["batchGetAssignable","post","/v1/partners/assignables:batchGet",null,1],["getPartnerByToken","get","/v1/partner-directory/public/getPartnerByToken",[["token","q",true]]],["activatePartner","post","/v1/partner-directory/public/activate",[["token","q",true]],1],["searchGeolocationForText","post","/v1/geolocation/text:search",null,1],["invitePartnerV2","post","/v2/partners/{id}/invite",[["id","p",true]],1],["getPartnerUsers","get","/v2/partners/{orgId}/users",[["orgId","p",true]]],["createPartnerUser","post","/v2/partners/{orgId}/users",[["orgId","p",true]],1],["deletePartnerUser","delete","/v2/partners/{orgId}/users/{userId}",[["orgId","p",true],["userId","p",true]]],["getPartnerRoles","get","/v2/partners/{orgId}/roles",[["orgId","p",true]]],["createPartnerRole","post","/v2/partners/{orgId}/roles",[["orgId","p",true]],1],["updatePartnerRole","put","/v2/partners/{orgId}/roles/{roleId}",[["orgId","p",true],["roleId","p",true]],1],["assignPartnerUserRoles","post","/v2/partners/{orgId}/users/{userId}/roles",[["orgId","p",true],["userId","p",true]],1],["unassignPartnerUserRoles","delete","/v2/partners/{orgId}/users/{userId}/roles",[["orgId","p",true],["userId","p",true]],1]],"v":"3.0.3"}