@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,582 +0,0 @@
1
- {
2
- "openapi": "3.0.3",
3
- "info": {
4
- "title": "Address Suggestions API",
5
- "version": "1.0.0",
6
- "termsOfService": "https://epilot.cloud/agb",
7
- "contact": {
8
- "name": "Support",
9
- "email": "info@epilot.cloud",
10
- "url": "https://help.epilot.cloud"
11
- }
12
- },
13
- "security": [
14
- {
15
- "EpilotAuth": []
16
- },
17
- {
18
- "EpilotPublicAuth": []
19
- }
20
- ],
21
- "servers": [
22
- {
23
- "url": "https://address-suggestions-api.sls.epilot.io"
24
- },
25
- {
26
- "url": "https://address-suggestions-api.sls.epilot.io"
27
- }
28
- ],
29
- "paths": {
30
- "/v1/public/suggestions": {
31
- "get": {
32
- "description": "Get address suggestions for the given file id",
33
- "parameters": [
34
- {
35
- "in": "header",
36
- "name": "X-Epilot-Org-ID",
37
- "description": "The target Organization Id represented by the caller",
38
- "schema": {
39
- "type": "string"
40
- },
41
- "required": true,
42
- "example": 739224
43
- },
44
- {
45
- "in": "query",
46
- "name": "s3FileUrl",
47
- "required": false,
48
- "schema": {
49
- "type": "string"
50
- },
51
- "description": "file s3 reference",
52
- "example": "https://epilot-dev-user-content.s3.eu-central-1.amazonaws.com/739224/0a3639af-d4c3-4f96-bfc1-9dcbafdfaa42/availability-file-template%2520(13).csv"
53
- },
54
- {
55
- "in": "query",
56
- "name": "fileId",
57
- "required": false,
58
- "schema": {
59
- "type": "string"
60
- },
61
- "description": "file id to get suggestions from",
62
- "example": "0a3639af-d4c3-4f96-bfc1-9dcbafdfaa42"
63
- },
64
- {
65
- "in": "query",
66
- "name": "countryCodeSearchTerm",
67
- "required": false,
68
- "schema": {
69
- "type": "string"
70
- },
71
- "description": "country code search term",
72
- "example": "de"
73
- },
74
- {
75
- "in": "query",
76
- "name": "postalCodeSearchTerm",
77
- "required": false,
78
- "schema": {
79
- "type": "string"
80
- },
81
- "description": "postal code search term",
82
- "example": 506
83
- },
84
- {
85
- "in": "query",
86
- "name": "streetSearchTerm",
87
- "required": false,
88
- "schema": {
89
- "type": "string"
90
- },
91
- "description": "street search term"
92
- }
93
- ],
94
- "operationId": "getAddresses",
95
- "summary": "get addresses from file",
96
- "tags": [
97
- "Addresses API"
98
- ],
99
- "security": [
100
- {},
101
- {
102
- "EpilotPublicAuth": []
103
- }
104
- ],
105
- "responses": {
106
- "200": {
107
- "description": "Suggestions list",
108
- "content": {
109
- "application/json": {
110
- "schema": {
111
- "$ref": "#/components/schemas/AddressSuggestions"
112
- },
113
- "examples": {
114
- "address-suggestions": {
115
- "$ref": "#/components/examples/address-suggestions"
116
- }
117
- }
118
- }
119
- }
120
- },
121
- "404": {
122
- "description": "File not found",
123
- "content": {
124
- "application/json": {
125
- "schema": {
126
- "$ref": "#/components/schemas/Error"
127
- }
128
- }
129
- }
130
- }
131
- }
132
- }
133
- },
134
- "/v1/suggestions:validate": {
135
- "get": {
136
- "description": "Validates an addresses file, it returns an array of errors if the file is invalid",
137
- "operationId": "validateAddresses",
138
- "summary": "validate addresses file",
139
- "deprecated": true,
140
- "tags": [
141
- "Addresses API"
142
- ],
143
- "parameters": [
144
- {
145
- "in": "query",
146
- "name": "s3FileUrl",
147
- "schema": {
148
- "type": "string"
149
- },
150
- "description": "file s3 reference",
151
- "example": "https://epilot-dev-user-content.s3.eu-central-1.amazonaws.com/739224/4e7b7d95-ced6-4f5f-9326-0c61f30dcadb/availability-file-template%2520(19).csv"
152
- },
153
- {
154
- "in": "query",
155
- "name": "fileId",
156
- "schema": {
157
- "type": "string"
158
- },
159
- "description": "file id to validate",
160
- "example": "4e7b7d95-ced6-4f5f-9326-0c61f30dcadb"
161
- }
162
- ],
163
- "responses": {
164
- "200": {
165
- "description": "The addresses validation result",
166
- "content": {
167
- "application/json": {
168
- "schema": {
169
- "$ref": "#/components/schemas/ValidateAddressSuggestionsFileResult"
170
- },
171
- "examples": {
172
- "Response when file has no errors": {
173
- "value": {
174
- "number_of_rules_parsed": 10,
175
- "errors": []
176
- }
177
- },
178
- "Response when file has errors": {
179
- "value": {
180
- "number_of_rules_parsed": 8,
181
- "errors": [
182
- "File must be UTF-8 encoded",
183
- "Line 3 - Postal code is missing or invalid"
184
- ]
185
- }
186
- }
187
- }
188
- }
189
- }
190
- },
191
- "400": {
192
- "description": "Invalid payload",
193
- "content": {
194
- "application/json": {
195
- "schema": {
196
- "$ref": "#/components/schemas/Error"
197
- }
198
- }
199
- }
200
- }
201
- }
202
- }
203
- },
204
- "/v1/public/availability:check": {
205
- "get": {
206
- "description": "Check the availability of a given address within multiple files",
207
- "operationId": "checkAvailability",
208
- "summary": "Check address availability",
209
- "tags": [
210
- "Addresses API"
211
- ],
212
- "parameters": [
213
- {
214
- "in": "header",
215
- "name": "X-Epilot-Org-ID",
216
- "description": "The target Organization Id represented by the caller",
217
- "schema": {
218
- "type": "string"
219
- },
220
- "required": true,
221
- "example": 739224
222
- },
223
- {
224
- "in": "query",
225
- "name": "files",
226
- "required": true,
227
- "schema": {
228
- "type": "string"
229
- },
230
- "description": "file ids to check, comma separated"
231
- },
232
- {
233
- "in": "query",
234
- "name": "countryCode",
235
- "required": true,
236
- "schema": {
237
- "type": "string"
238
- },
239
- "description": "country code",
240
- "example": "de"
241
- },
242
- {
243
- "in": "query",
244
- "name": "postalCode",
245
- "required": true,
246
- "schema": {
247
- "type": "string"
248
- },
249
- "description": "postal code",
250
- "example": 50667
251
- },
252
- {
253
- "in": "query",
254
- "name": "street",
255
- "required": false,
256
- "schema": {
257
- "type": "string"
258
- },
259
- "description": "street",
260
- "example": "Breite Str."
261
- },
262
- {
263
- "in": "query",
264
- "name": "streetNumber",
265
- "required": false,
266
- "schema": {
267
- "type": "string"
268
- },
269
- "description": "street number",
270
- "example": 1
271
- }
272
- ],
273
- "security": [
274
- {},
275
- {
276
- "EpilotPublicAuth": []
277
- }
278
- ],
279
- "responses": {
280
- "200": {
281
- "description": "Availability result",
282
- "content": {
283
- "application/json": {
284
- "schema": {
285
- "$ref": "#/components/schemas/AvailabilityResult"
286
- }
287
- }
288
- }
289
- },
290
- "400": {
291
- "description": "Invalid payload",
292
- "content": {
293
- "application/json": {
294
- "schema": {
295
- "$ref": "#/components/schemas/Error"
296
- }
297
- }
298
- }
299
- },
300
- "404": {
301
- "description": "Address not found",
302
- "content": {
303
- "application/json": {
304
- "schema": {
305
- "$ref": "#/components/schemas/Error"
306
- }
307
- }
308
- }
309
- }
310
- }
311
- }
312
- },
313
- "/v1/addresses-files:validate": {
314
- "get": {
315
- "description": "Validates an addresses file, it returns an array of errors if the file is invalid",
316
- "operationId": "validateAddressesFile",
317
- "summary": "validate addresses file",
318
- "tags": [
319
- "Addresses API"
320
- ],
321
- "parameters": [
322
- {
323
- "in": "query",
324
- "name": "fileId",
325
- "schema": {
326
- "type": "string"
327
- },
328
- "description": "file id to validate",
329
- "example": "4e7b7d95-ced6-4f5f-9326-0c61f30dcadb"
330
- }
331
- ],
332
- "responses": {
333
- "200": {
334
- "description": "The addresses validation result",
335
- "content": {
336
- "application/json": {
337
- "schema": {
338
- "$ref": "#/components/schemas/ValidateAddressFileResult"
339
- },
340
- "examples": {
341
- "Response when file has no errors": {
342
- "value": {
343
- "number_of_rules_parsed": 10,
344
- "errors": []
345
- }
346
- },
347
- "Response when file has errors": {
348
- "value": {
349
- "number_of_rules_parsed": 8,
350
- "errors": [
351
- "File must be UTF-8 encoded",
352
- "Line 3 - Postal code is missing or invalid"
353
- ]
354
- }
355
- }
356
- }
357
- }
358
- }
359
- },
360
- "400": {
361
- "description": "Invalid payload",
362
- "content": {
363
- "application/json": {
364
- "schema": {
365
- "$ref": "#/components/schemas/Error"
366
- }
367
- }
368
- }
369
- }
370
- }
371
- }
372
- }
373
- },
374
- "components": {
375
- "securitySchemes": {
376
- "EpilotAuth": {
377
- "type": "http",
378
- "scheme": "bearer",
379
- "description": "Epilot Bearer Token",
380
- "bearerFormat": "JWT"
381
- },
382
- "EpilotPublicAuth": {
383
- "type": "http",
384
- "scheme": "bearer",
385
- "description": "Epilot Public Access Bearer Token",
386
- "bearerFormat": "JWT"
387
- }
388
- },
389
- "examples": {
390
- "address-suggestions": {
391
- "value": [
392
- {
393
- "postal_code": 10115,
394
- "city": "Berlin",
395
- "street": "Bernauer Str."
396
- }
397
- ]
398
- }
399
- },
400
- "schemas": {
401
- "AvailabilityLocation": {
402
- "type": "object",
403
- "properties": {
404
- "street": {
405
- "type": "string",
406
- "description": "The first line of the address. Typically the street address or PO Box number."
407
- },
408
- "street_number": {
409
- "type": "string",
410
- "description": "The second line of the address. Typically the number of the apartment, suite, or unit."
411
- },
412
- "postal_code": {
413
- "type": "string",
414
- "description": "The postal code for the address."
415
- },
416
- "city": {
417
- "type": "string",
418
- "description": "The name of the city, district, village, or town."
419
- },
420
- "country": {
421
- "type": "string",
422
- "description": "The name of the country."
423
- }
424
- }
425
- },
426
- "AvailabilityResult": {
427
- "type": "object",
428
- "properties": {
429
- "fileId": {
430
- "type": "string",
431
- "description": "The id of the file where the address was found",
432
- "example": "4e7b7d95-ced6-4f5f-9326-0c61f30dcadb"
433
- }
434
- }
435
- },
436
- "Error": {
437
- "required": [
438
- "message"
439
- ],
440
- "properties": {
441
- "message": {
442
- "type": "string",
443
- "description": "Error message"
444
- },
445
- "status": {
446
- "type": "number",
447
- "description": "The HTTP status code"
448
- },
449
- "cause": {
450
- "type": "string",
451
- "description": "The cause of the error (visible for bad requests - http 400)"
452
- }
453
- }
454
- },
455
- "AddressSuggestion": {
456
- "type": "object",
457
- "description": "The address suggestions entity",
458
- "properties": {
459
- "country": {
460
- "type": "string",
461
- "description": "The country code"
462
- },
463
- "postal_code": {
464
- "type": "string",
465
- "description": "The postal code"
466
- },
467
- "city": {
468
- "type": "string",
469
- "description": "The city"
470
- },
471
- "street": {
472
- "type": "string",
473
- "description": "The street"
474
- },
475
- "street_number": {
476
- "type": "string",
477
- "description": "The street number"
478
- }
479
- }
480
- },
481
- "AddressSuggestions": {
482
- "type": "array",
483
- "description": "The address suggestions entity array",
484
- "items": {
485
- "$ref": "#/components/schemas/AddressSuggestion"
486
- }
487
- },
488
- "ValidateAddressSuggestionsFileResult": {
489
- "description": "The availability map file result payload",
490
- "type": "object",
491
- "properties": {
492
- "status": {
493
- "description": "The status of the validation",
494
- "type": "string",
495
- "enum": [
496
- "success",
497
- "error"
498
- ]
499
- },
500
- "rules_parsed_count": {
501
- "description": "The number of rules successfully parsed",
502
- "type": "number"
503
- },
504
- "errors": {
505
- "description": "The errors found on the file",
506
- "type": "array",
507
- "items": {
508
- "$ref": "#/components/schemas/AddressSuggestionError"
509
- }
510
- }
511
- }
512
- },
513
- "ValidateAddressFileResult": {
514
- "description": "The address file validation result payload",
515
- "type": "object",
516
- "properties": {
517
- "status": {
518
- "description": "The status of the validation",
519
- "type": "string",
520
- "enum": [
521
- "success",
522
- "error"
523
- ]
524
- },
525
- "rules_parsed_count": {
526
- "description": "The number of rules successfully parsed",
527
- "type": "number"
528
- },
529
- "errors": {
530
- "description": "The errors found on the file",
531
- "type": "array",
532
- "items": {
533
- "$ref": "#/components/schemas/ValidateAddressFileError"
534
- }
535
- }
536
- }
537
- },
538
- "AddressSuggestionError": {
539
- "description": "The availability rule error",
540
- "type": "object",
541
- "properties": {
542
- "line": {
543
- "description": "The line number where the error was found",
544
- "type": "number"
545
- },
546
- "msg": {
547
- "description": "The error message",
548
- "type": "string"
549
- },
550
- "data": {
551
- "description": "Data related to the error",
552
- "type": "string"
553
- }
554
- },
555
- "required": [
556
- "msg"
557
- ]
558
- },
559
- "ValidateAddressFileError": {
560
- "description": "The address rule error",
561
- "type": "object",
562
- "properties": {
563
- "line": {
564
- "description": "The line number where the error was found",
565
- "type": "number"
566
- },
567
- "msg": {
568
- "description": "The error message",
569
- "type": "string"
570
- },
571
- "data": {
572
- "description": "Data related to the error",
573
- "type": "string"
574
- }
575
- },
576
- "required": [
577
- "msg"
578
- ]
579
- }
580
- }
581
- }
582
- }