@epilot/sdk 2.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. package/README.md +294 -0
  2. package/dist/access-token-MYDOBCIY.cjs +89 -0
  3. package/dist/access-token-Y5JR7PRG.js +89 -0
  4. package/dist/access-token.d-C2qnueDV.d.cts +553 -0
  5. package/dist/access-token.d-C2qnueDV.d.ts +553 -0
  6. package/dist/address-3RQRG3MK.js +84 -0
  7. package/dist/address-LQUTDOUA.cjs +84 -0
  8. package/dist/address-suggestions-PEKSA7B2.cjs +132 -0
  9. package/dist/address-suggestions-QNK5JWNH.js +132 -0
  10. package/dist/address-suggestions.d-CewXYNYH.d.cts +340 -0
  11. package/dist/address-suggestions.d-CewXYNYH.d.ts +340 -0
  12. package/dist/address.d-DP_aE2ex.d.cts +438 -0
  13. package/dist/address.d-DP_aE2ex.d.ts +438 -0
  14. package/dist/ai-agents-MO4PK2RJ.cjs +215 -0
  15. package/dist/ai-agents-OHP2F243.js +215 -0
  16. package/dist/ai-agents.d-vG-1utqk.d.cts +1340 -0
  17. package/dist/ai-agents.d-vG-1utqk.d.ts +1340 -0
  18. package/dist/apis/access-token.cjs +33 -0
  19. package/dist/apis/access-token.d.cts +18 -0
  20. package/dist/apis/access-token.d.ts +18 -0
  21. package/dist/apis/access-token.js +33 -0
  22. package/dist/apis/address-suggestions.cjs +33 -0
  23. package/dist/apis/address-suggestions.d.cts +18 -0
  24. package/dist/apis/address-suggestions.d.ts +18 -0
  25. package/dist/apis/address-suggestions.js +33 -0
  26. package/dist/apis/address.cjs +33 -0
  27. package/dist/apis/address.d.cts +18 -0
  28. package/dist/apis/address.d.ts +18 -0
  29. package/dist/apis/address.js +33 -0
  30. package/dist/apis/ai-agents.cjs +33 -0
  31. package/dist/apis/ai-agents.d.cts +18 -0
  32. package/dist/apis/ai-agents.d.ts +18 -0
  33. package/dist/apis/ai-agents.js +33 -0
  34. package/dist/apis/app.cjs +33 -0
  35. package/dist/apis/app.d.cts +18 -0
  36. package/dist/apis/app.d.ts +18 -0
  37. package/dist/apis/app.js +33 -0
  38. package/dist/apis/audit-logs.cjs +33 -0
  39. package/dist/apis/audit-logs.d.cts +18 -0
  40. package/dist/apis/audit-logs.d.ts +18 -0
  41. package/dist/apis/audit-logs.js +33 -0
  42. package/dist/apis/automation.cjs +33 -0
  43. package/dist/apis/automation.d.cts +18 -0
  44. package/dist/apis/automation.d.ts +18 -0
  45. package/dist/apis/automation.js +33 -0
  46. package/dist/apis/billing.cjs +33 -0
  47. package/dist/apis/billing.d.cts +18 -0
  48. package/dist/apis/billing.d.ts +18 -0
  49. package/dist/apis/billing.js +33 -0
  50. package/dist/apis/blueprint-manifest.cjs +33 -0
  51. package/dist/apis/blueprint-manifest.d.cts +18 -0
  52. package/dist/apis/blueprint-manifest.d.ts +18 -0
  53. package/dist/apis/blueprint-manifest.js +33 -0
  54. package/dist/apis/consent.cjs +33 -0
  55. package/dist/apis/consent.d.cts +18 -0
  56. package/dist/apis/consent.d.ts +18 -0
  57. package/dist/apis/consent.js +33 -0
  58. package/dist/apis/customer-portal.cjs +33 -0
  59. package/dist/apis/customer-portal.d.cts +18 -0
  60. package/dist/apis/customer-portal.d.ts +18 -0
  61. package/dist/apis/customer-portal.js +33 -0
  62. package/dist/apis/data-management.cjs +33 -0
  63. package/dist/apis/data-management.d.cts +18 -0
  64. package/dist/apis/data-management.d.ts +18 -0
  65. package/dist/apis/data-management.js +33 -0
  66. package/dist/apis/deduplication.cjs +33 -0
  67. package/dist/apis/deduplication.d.cts +18 -0
  68. package/dist/apis/deduplication.d.ts +18 -0
  69. package/dist/apis/deduplication.js +33 -0
  70. package/dist/apis/design.cjs +33 -0
  71. package/dist/apis/design.d.cts +18 -0
  72. package/dist/apis/design.d.ts +18 -0
  73. package/dist/apis/design.js +33 -0
  74. package/dist/apis/discussion.cjs +33 -0
  75. package/dist/apis/discussion.d.cts +18 -0
  76. package/dist/apis/discussion.d.ts +18 -0
  77. package/dist/apis/discussion.js +33 -0
  78. package/dist/apis/document.cjs +33 -0
  79. package/dist/apis/document.d.cts +18 -0
  80. package/dist/apis/document.d.ts +18 -0
  81. package/dist/apis/document.js +33 -0
  82. package/dist/apis/email-settings.cjs +33 -0
  83. package/dist/apis/email-settings.d.cts +18 -0
  84. package/dist/apis/email-settings.d.ts +18 -0
  85. package/dist/apis/email-settings.js +33 -0
  86. package/dist/apis/email-template.cjs +33 -0
  87. package/dist/apis/email-template.d.cts +18 -0
  88. package/dist/apis/email-template.d.ts +18 -0
  89. package/dist/apis/email-template.js +33 -0
  90. package/dist/apis/entity-mapping.cjs +33 -0
  91. package/dist/apis/entity-mapping.d.cts +18 -0
  92. package/dist/apis/entity-mapping.d.ts +18 -0
  93. package/dist/apis/entity-mapping.js +33 -0
  94. package/dist/apis/entity.cjs +33 -0
  95. package/dist/apis/entity.d.cts +18 -0
  96. package/dist/apis/entity.d.ts +18 -0
  97. package/dist/apis/entity.js +33 -0
  98. package/dist/apis/environments.cjs +33 -0
  99. package/dist/apis/environments.d.cts +18 -0
  100. package/dist/apis/environments.d.ts +18 -0
  101. package/dist/apis/environments.js +33 -0
  102. package/dist/apis/erp-integration.cjs +33 -0
  103. package/dist/apis/erp-integration.d.cts +18 -0
  104. package/dist/apis/erp-integration.d.ts +18 -0
  105. package/dist/apis/erp-integration.js +33 -0
  106. package/dist/apis/event-catalog.cjs +33 -0
  107. package/dist/apis/event-catalog.d.cts +18 -0
  108. package/dist/apis/event-catalog.d.ts +18 -0
  109. package/dist/apis/event-catalog.js +33 -0
  110. package/dist/apis/file.cjs +33 -0
  111. package/dist/apis/file.d.cts +18 -0
  112. package/dist/apis/file.d.ts +18 -0
  113. package/dist/apis/file.js +33 -0
  114. package/dist/apis/iban.cjs +33 -0
  115. package/dist/apis/iban.d.cts +18 -0
  116. package/dist/apis/iban.d.ts +18 -0
  117. package/dist/apis/iban.js +33 -0
  118. package/dist/apis/journey.cjs +33 -0
  119. package/dist/apis/journey.d.cts +18 -0
  120. package/dist/apis/journey.d.ts +18 -0
  121. package/dist/apis/journey.js +33 -0
  122. package/dist/apis/kanban.cjs +33 -0
  123. package/dist/apis/kanban.d.cts +18 -0
  124. package/dist/apis/kanban.d.ts +18 -0
  125. package/dist/apis/kanban.js +33 -0
  126. package/dist/apis/message.cjs +33 -0
  127. package/dist/apis/message.d.cts +18 -0
  128. package/dist/apis/message.d.ts +18 -0
  129. package/dist/apis/message.js +33 -0
  130. package/dist/apis/metering.cjs +33 -0
  131. package/dist/apis/metering.d.cts +18 -0
  132. package/dist/apis/metering.d.ts +18 -0
  133. package/dist/apis/metering.js +33 -0
  134. package/dist/apis/notes.cjs +33 -0
  135. package/dist/apis/notes.d.cts +18 -0
  136. package/dist/apis/notes.d.ts +18 -0
  137. package/dist/apis/notes.js +33 -0
  138. package/dist/apis/notification.cjs +33 -0
  139. package/dist/apis/notification.d.cts +18 -0
  140. package/dist/apis/notification.d.ts +18 -0
  141. package/dist/apis/notification.js +33 -0
  142. package/dist/apis/organization.cjs +33 -0
  143. package/dist/apis/organization.d.cts +18 -0
  144. package/dist/apis/organization.d.ts +18 -0
  145. package/dist/apis/organization.js +33 -0
  146. package/dist/apis/partner-directory.cjs +33 -0
  147. package/dist/apis/partner-directory.d.cts +18 -0
  148. package/dist/apis/partner-directory.d.ts +18 -0
  149. package/dist/apis/partner-directory.js +33 -0
  150. package/dist/apis/permissions.cjs +33 -0
  151. package/dist/apis/permissions.d.cts +18 -0
  152. package/dist/apis/permissions.d.ts +18 -0
  153. package/dist/apis/permissions.js +33 -0
  154. package/dist/apis/pricing-tier.cjs +33 -0
  155. package/dist/apis/pricing-tier.d.cts +18 -0
  156. package/dist/apis/pricing-tier.d.ts +18 -0
  157. package/dist/apis/pricing-tier.js +33 -0
  158. package/dist/apis/pricing.cjs +33 -0
  159. package/dist/apis/pricing.d.cts +18 -0
  160. package/dist/apis/pricing.d.ts +18 -0
  161. package/dist/apis/pricing.js +33 -0
  162. package/dist/apis/purpose.cjs +33 -0
  163. package/dist/apis/purpose.d.cts +18 -0
  164. package/dist/apis/purpose.d.ts +18 -0
  165. package/dist/apis/purpose.js +33 -0
  166. package/dist/apis/sandbox.cjs +33 -0
  167. package/dist/apis/sandbox.d.cts +18 -0
  168. package/dist/apis/sandbox.d.ts +18 -0
  169. package/dist/apis/sandbox.js +33 -0
  170. package/dist/apis/submission.cjs +33 -0
  171. package/dist/apis/submission.d.cts +18 -0
  172. package/dist/apis/submission.d.ts +18 -0
  173. package/dist/apis/submission.js +33 -0
  174. package/dist/apis/targeting.cjs +33 -0
  175. package/dist/apis/targeting.d.cts +18 -0
  176. package/dist/apis/targeting.d.ts +18 -0
  177. package/dist/apis/targeting.js +33 -0
  178. package/dist/apis/template-variables.cjs +33 -0
  179. package/dist/apis/template-variables.d.cts +18 -0
  180. package/dist/apis/template-variables.d.ts +18 -0
  181. package/dist/apis/template-variables.js +33 -0
  182. package/dist/apis/user.cjs +33 -0
  183. package/dist/apis/user.d.cts +18 -0
  184. package/dist/apis/user.d.ts +18 -0
  185. package/dist/apis/user.js +33 -0
  186. package/dist/apis/validation-rules.cjs +33 -0
  187. package/dist/apis/validation-rules.d.cts +18 -0
  188. package/dist/apis/validation-rules.d.ts +18 -0
  189. package/dist/apis/validation-rules.js +33 -0
  190. package/dist/apis/webhooks.cjs +33 -0
  191. package/dist/apis/webhooks.d.cts +18 -0
  192. package/dist/apis/webhooks.d.ts +18 -0
  193. package/dist/apis/webhooks.js +33 -0
  194. package/dist/apis/workflow-definition.cjs +33 -0
  195. package/dist/apis/workflow-definition.d.cts +18 -0
  196. package/dist/apis/workflow-definition.d.ts +18 -0
  197. package/dist/apis/workflow-definition.js +33 -0
  198. package/dist/apis/workflow.cjs +33 -0
  199. package/dist/apis/workflow.d.cts +18 -0
  200. package/dist/apis/workflow.d.ts +18 -0
  201. package/dist/apis/workflow.js +33 -0
  202. package/dist/app-UUTBO3WJ.js +573 -0
  203. package/dist/app-XJGY6SHO.cjs +573 -0
  204. package/dist/app.d-Uncn387s.d.cts +3370 -0
  205. package/dist/app.d-Uncn387s.d.ts +3370 -0
  206. package/dist/audit-logs-4IJYIOXF.js +55 -0
  207. package/dist/audit-logs-UWLCPBB4.cjs +55 -0
  208. package/dist/audit-logs.d-BxZqONu5.d.cts +288 -0
  209. package/dist/audit-logs.d-BxZqONu5.d.ts +288 -0
  210. package/dist/automation-4UQADTDO.cjs +282 -0
  211. package/dist/automation-PVXTQLZX.js +282 -0
  212. package/dist/automation.d-BteCzeFn.d.cts +4921 -0
  213. package/dist/automation.d-BteCzeFn.d.ts +4921 -0
  214. package/dist/billing-FI4V4UX5.cjs +175 -0
  215. package/dist/billing-OMWNJHGW.js +175 -0
  216. package/dist/billing.d-BH4__05Y.d.cts +994 -0
  217. package/dist/billing.d-BH4__05Y.d.ts +994 -0
  218. package/dist/bin/cli.js +135 -0
  219. package/dist/blueprint-manifest-CPQAL76N.cjs +504 -0
  220. package/dist/blueprint-manifest-FIMGDHSH.js +504 -0
  221. package/dist/blueprint-manifest.d-CU4v09fj.d.cts +3327 -0
  222. package/dist/blueprint-manifest.d-CU4v09fj.d.ts +3327 -0
  223. package/dist/chunk-3RG5ZIWI.js +10 -0
  224. package/dist/chunk-OBGZSXTJ.cjs +10 -0
  225. package/dist/chunk-UJTFRZMS.js +65 -0
  226. package/dist/chunk-YLLKMXS3.cjs +65 -0
  227. package/dist/consent-NHDCDJMK.js +84 -0
  228. package/dist/consent-R5GU3WCK.cjs +84 -0
  229. package/dist/consent.d-BETWwU_2.d.cts +266 -0
  230. package/dist/consent.d-BETWwU_2.d.ts +266 -0
  231. package/dist/customer-portal-6AV2W43T.cjs +2252 -0
  232. package/dist/customer-portal-EY57GJYV.js +2252 -0
  233. package/dist/customer-portal.d-Co_I6psR.d.cts +15255 -0
  234. package/dist/customer-portal.d-Co_I6psR.d.ts +15255 -0
  235. package/dist/data-management-ILQUYNTN.cjs +240 -0
  236. package/dist/data-management-QMXOLOEG.js +240 -0
  237. package/dist/data-management.d-CkR2E_Pm.d.cts +548 -0
  238. package/dist/data-management.d-CkR2E_Pm.d.ts +548 -0
  239. package/dist/deduplication-IVXANO7S.cjs +42 -0
  240. package/dist/deduplication-WN45DVK3.js +42 -0
  241. package/dist/deduplication.d-BlHnjhXk.d.cts +114 -0
  242. package/dist/deduplication.d-BlHnjhXk.d.ts +114 -0
  243. package/dist/design-ONRLY6XI.cjs +219 -0
  244. package/dist/design-UHMRO3PG.js +219 -0
  245. package/dist/design.d-JsNY_cGh.d.cts +834 -0
  246. package/dist/design.d-JsNY_cGh.d.ts +834 -0
  247. package/dist/discussion-4CZIG3ZM.cjs +134 -0
  248. package/dist/discussion-VWMWL2AF.js +134 -0
  249. package/dist/discussion.d-CxxaYKTf.d.cts +580 -0
  250. package/dist/discussion.d-CxxaYKTf.d.ts +580 -0
  251. package/dist/document-CN3JNXFF.js +78 -0
  252. package/dist/document-PCKNZA4K.cjs +78 -0
  253. package/dist/document.d-CZ_FGhEn.d.cts +649 -0
  254. package/dist/document.d-CZ_FGhEn.d.ts +649 -0
  255. package/dist/email-settings-ANURQMKZ.js +533 -0
  256. package/dist/email-settings-YE2XB2ZU.cjs +533 -0
  257. package/dist/email-settings.d-3eXYEyRr.d.cts +2278 -0
  258. package/dist/email-settings.d-3eXYEyRr.d.ts +2278 -0
  259. package/dist/email-template-4QI4YS4J.js +122 -0
  260. package/dist/email-template-BUJBC6HH.cjs +122 -0
  261. package/dist/email-template.d-C2L0dKqB.d.cts +1175 -0
  262. package/dist/email-template.d-C2L0dKqB.d.ts +1175 -0
  263. package/dist/entity-BCFE3UJT.cjs +1600 -0
  264. package/dist/entity-VEXNQC4Y.js +1600 -0
  265. package/dist/entity-mapping-PHRLSYP7.cjs +215 -0
  266. package/dist/entity-mapping-QK7MGNAW.js +215 -0
  267. package/dist/entity-mapping.d-B3Vyepok.d.cts +1093 -0
  268. package/dist/entity-mapping.d-B3Vyepok.d.ts +1093 -0
  269. package/dist/entity.d-DmER_7q5.d.cts +16018 -0
  270. package/dist/entity.d-DmER_7q5.d.ts +16018 -0
  271. package/dist/environments-266S44UM.cjs +71 -0
  272. package/dist/environments-AV7W6SLT.js +71 -0
  273. package/dist/environments.d-CpILpSNF.d.cts +254 -0
  274. package/dist/environments.d-CpILpSNF.d.ts +254 -0
  275. package/dist/erp-integration-5WNBCGWS.cjs +586 -0
  276. package/dist/erp-integration-EMI5WIWA.js +586 -0
  277. package/dist/erp-integration.d-DmxUZOUQ.d.cts +4120 -0
  278. package/dist/erp-integration.d-DmxUZOUQ.d.ts +4120 -0
  279. package/dist/event-catalog-DBWYKQ6J.cjs +130 -0
  280. package/dist/event-catalog-KKMXV5LB.js +130 -0
  281. package/dist/event-catalog.d-B2tq20gn.d.cts +1512 -0
  282. package/dist/event-catalog.d-B2tq20gn.d.ts +1512 -0
  283. package/dist/file-3ZLMS6TL.js +573 -0
  284. package/dist/file-Q66N5XMG.cjs +573 -0
  285. package/dist/file.d-Bi0EZkNu.d.cts +2993 -0
  286. package/dist/file.d-Bi0EZkNu.d.ts +2993 -0
  287. package/dist/iban-HSXVSIFW.cjs +43 -0
  288. package/dist/iban-Q27INTOC.js +43 -0
  289. package/dist/iban.d-DP7hl0Qt.d.cts +71 -0
  290. package/dist/iban.d-DP7hl0Qt.d.ts +71 -0
  291. package/dist/index.cjs +563 -0
  292. package/dist/index.d.cts +119 -0
  293. package/dist/index.d.ts +119 -0
  294. package/dist/index.js +563 -0
  295. package/dist/journey-DGKXVWZQ.js +270 -0
  296. package/dist/journey-T2Y72EBS.cjs +270 -0
  297. package/dist/journey.d-DxL16X6N.d.cts +1794 -0
  298. package/dist/journey.d-DxL16X6N.d.ts +1794 -0
  299. package/dist/kanban-A4B6RCJ2.cjs +164 -0
  300. package/dist/kanban-PP6WJVT2.js +164 -0
  301. package/dist/kanban.d-DDrBwr9h.d.cts +631 -0
  302. package/dist/kanban.d-DDrBwr9h.d.ts +631 -0
  303. package/dist/message-D6JY4GJH.cjs +673 -0
  304. package/dist/message-HFX2DDCV.js +673 -0
  305. package/dist/message.d-BeBH6vof.d.cts +3580 -0
  306. package/dist/message.d-BeBH6vof.d.ts +3580 -0
  307. package/dist/metering-63MJFCS2.cjs +399 -0
  308. package/dist/metering-F63PNFCZ.js +399 -0
  309. package/dist/metering.d-D5VR4tVa.d.cts +1842 -0
  310. package/dist/metering.d-D5VR4tVa.d.ts +1842 -0
  311. package/dist/notes-FTL5H4JE.cjs +219 -0
  312. package/dist/notes-GMWTQCMB.js +219 -0
  313. package/dist/notes.d-DZYeVo0I.d.cts +1047 -0
  314. package/dist/notes.d-DZYeVo0I.d.ts +1047 -0
  315. package/dist/notification-WXFSOORN.cjs +237 -0
  316. package/dist/notification-XHG3TIBW.js +237 -0
  317. package/dist/notification.d-BJwdFZnG.d.cts +1148 -0
  318. package/dist/notification.d-BJwdFZnG.d.ts +1148 -0
  319. package/dist/organization-CPXTUDJO.js +118 -0
  320. package/dist/organization-XIFV7MWP.cjs +118 -0
  321. package/dist/organization.d-DfUcuwKM.d.cts +629 -0
  322. package/dist/organization.d-DfUcuwKM.d.ts +629 -0
  323. package/dist/partner-directory-4WCHPJRO.js +282 -0
  324. package/dist/partner-directory-FKWPPO7F.cjs +282 -0
  325. package/dist/partner-directory.d-BRRDHFcz.d.cts +1511 -0
  326. package/dist/partner-directory.d-BRRDHFcz.d.ts +1511 -0
  327. package/dist/permissions-5E36GPG3.js +178 -0
  328. package/dist/permissions-PBTK5CCD.cjs +178 -0
  329. package/dist/permissions.d-CL7SwMFy.d.cts +1253 -0
  330. package/dist/permissions.d-CL7SwMFy.d.ts +1253 -0
  331. package/dist/pricing-FDWEBIQU.js +439 -0
  332. package/dist/pricing-FZQKL4DW.cjs +439 -0
  333. package/dist/pricing-tier-34O624R4.js +36 -0
  334. package/dist/pricing-tier-F4HE6WIM.cjs +36 -0
  335. package/dist/pricing-tier.d-VuH-NtlR.d.cts +82 -0
  336. package/dist/pricing-tier.d-VuH-NtlR.d.ts +82 -0
  337. package/dist/pricing.d-Dd1CaSX_.d.cts +12201 -0
  338. package/dist/pricing.d-Dd1CaSX_.d.ts +12201 -0
  339. package/dist/purpose-47HJIG2Q.cjs +180 -0
  340. package/dist/purpose-MX33NU5H.js +180 -0
  341. package/dist/purpose.d-D8YCSqt9.d.cts +373 -0
  342. package/dist/purpose.d-D8YCSqt9.d.ts +373 -0
  343. package/dist/sandbox-7QNLGFN2.cjs +100 -0
  344. package/dist/sandbox-TZCXHBJN.js +100 -0
  345. package/dist/sandbox.d-D1NgPMEc.d.cts +466 -0
  346. package/dist/sandbox.d-D1NgPMEc.d.ts +466 -0
  347. package/dist/submission-6LSPBI27.js +55 -0
  348. package/dist/submission-DBQNDJ4B.cjs +55 -0
  349. package/dist/submission.d-e9MPrbY1.d.cts +470 -0
  350. package/dist/submission.d-e9MPrbY1.d.ts +470 -0
  351. package/dist/targeting-HZRCLNIF.cjs +275 -0
  352. package/dist/targeting-MTQ6JBCY.js +275 -0
  353. package/dist/targeting.d-1GW3nh-y.d.cts +2058 -0
  354. package/dist/targeting.d-1GW3nh-y.d.ts +2058 -0
  355. package/dist/template-variables-S6IXK7SF.js +159 -0
  356. package/dist/template-variables-VPNIMC7L.cjs +159 -0
  357. package/dist/template-variables.d-CqqGe3sd.d.cts +1315 -0
  358. package/dist/template-variables.d-CqqGe3sd.d.ts +1315 -0
  359. package/dist/types-C5cGIwtq.d.cts +28 -0
  360. package/dist/types-C5cGIwtq.d.ts +28 -0
  361. package/dist/user-BHH4DAA5.cjs +488 -0
  362. package/dist/user-KBXFVRPI.js +488 -0
  363. package/dist/user.d-CWBgUia2.d.cts +2199 -0
  364. package/dist/user.d-CWBgUia2.d.ts +2199 -0
  365. package/dist/validation-rules-4V7KAWGW.cjs +120 -0
  366. package/dist/validation-rules-UGQY4ASY.js +120 -0
  367. package/dist/validation-rules.d-CMSvveua.d.cts +808 -0
  368. package/dist/validation-rules.d-CMSvveua.d.ts +808 -0
  369. package/dist/webhooks-JR475VD4.js +252 -0
  370. package/dist/webhooks-X64U3KCB.cjs +252 -0
  371. package/dist/webhooks.d-Bzl-u_Zs.d.cts +1201 -0
  372. package/dist/webhooks.d-Bzl-u_Zs.d.ts +1201 -0
  373. package/dist/workflow-7ANPQZDP.cjs +402 -0
  374. package/dist/workflow-DWSAHA5Q.js +402 -0
  375. package/dist/workflow-definition-2M3JBCUI.cjs +342 -0
  376. package/dist/workflow-definition-WLPGEU55.js +342 -0
  377. package/dist/workflow-definition.d-BKmIy2Qp.d.cts +2030 -0
  378. package/dist/workflow-definition.d-BKmIy2Qp.d.ts +2030 -0
  379. package/dist/workflow.d-DElz0XoQ.d.cts +3017 -0
  380. package/dist/workflow.d-DElz0XoQ.d.ts +3017 -0
  381. package/package.json +289 -0
@@ -0,0 +1,10 @@
1
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
+ }) : x)(function(x) {
4
+ if (typeof require !== "undefined") return require.apply(this, arguments);
5
+ throw Error('Dynamic require of "' + x + '" is not supported');
6
+ });
7
+
8
+ export {
9
+ __require
10
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
+ }) : x)(function(x) {
4
+ if (typeof require !== "undefined") return require.apply(this, arguments);
5
+ throw Error('Dynamic require of "' + x + '" is not supported');
6
+ });
7
+
8
+
9
+
10
+ exports.__require = __require;
@@ -0,0 +1,65 @@
1
+ // src/authorize.ts
2
+ var authorize = (client, token) => {
3
+ if (typeof token === "string") {
4
+ client.defaults.headers.common["authorization"] = `Bearer ${token}`;
5
+ } else {
6
+ client.interceptors.request.use(async (config) => {
7
+ const resolved = await token();
8
+ config.headers["authorization"] = `Bearer ${resolved}`;
9
+ return config;
10
+ });
11
+ }
12
+ return client;
13
+ };
14
+
15
+ // src/client-factory.ts
16
+ import OpenAPIClientAxios from "openapi-client-axios";
17
+ var createApiClient = (params) => {
18
+ const { definition, token, headers } = params;
19
+ const api = new OpenAPIClientAxios({ definition, quick: true });
20
+ const client = api.initSync();
21
+ if (headers && Object.keys(headers).length > 0) {
22
+ client.defaults.headers.common = {
23
+ ...client.defaults.headers.common ?? {},
24
+ ...headers
25
+ };
26
+ }
27
+ if (token) {
28
+ authorize(client, token);
29
+ }
30
+ return client;
31
+ };
32
+
33
+ // src/proxy.ts
34
+ var createApiHandle = (params) => {
35
+ const { resolveClient, loadDefinition } = params;
36
+ return new Proxy({}, {
37
+ get(_, prop) {
38
+ if (prop === "getClient") {
39
+ return () => resolveClient();
40
+ }
41
+ if (prop === "createClient") {
42
+ return async () => {
43
+ const definition = await loadDefinition();
44
+ return createApiClient({ definition });
45
+ };
46
+ }
47
+ if (prop === "then" || prop === "catch" || prop === "finally") {
48
+ return void 0;
49
+ }
50
+ return (...args) => resolveClient().then((client) => {
51
+ const method = client[prop];
52
+ if (typeof method === "function") {
53
+ return method.apply(client, args);
54
+ }
55
+ return method;
56
+ });
57
+ }
58
+ });
59
+ };
60
+
61
+ export {
62
+ authorize,
63
+ createApiClient,
64
+ createApiHandle
65
+ };
@@ -0,0 +1,65 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }// src/authorize.ts
2
+ var authorize = (client, token) => {
3
+ if (typeof token === "string") {
4
+ client.defaults.headers.common["authorization"] = `Bearer ${token}`;
5
+ } else {
6
+ client.interceptors.request.use(async (config) => {
7
+ const resolved = await token();
8
+ config.headers["authorization"] = `Bearer ${resolved}`;
9
+ return config;
10
+ });
11
+ }
12
+ return client;
13
+ };
14
+
15
+ // src/client-factory.ts
16
+ var _openapiclientaxios = require('openapi-client-axios'); var _openapiclientaxios2 = _interopRequireDefault(_openapiclientaxios);
17
+ var createApiClient = (params) => {
18
+ const { definition, token, headers } = params;
19
+ const api = new (0, _openapiclientaxios2.default)({ definition, quick: true });
20
+ const client = api.initSync();
21
+ if (headers && Object.keys(headers).length > 0) {
22
+ client.defaults.headers.common = {
23
+ ..._nullishCoalesce(client.defaults.headers.common, () => ( {})),
24
+ ...headers
25
+ };
26
+ }
27
+ if (token) {
28
+ authorize(client, token);
29
+ }
30
+ return client;
31
+ };
32
+
33
+ // src/proxy.ts
34
+ var createApiHandle = (params) => {
35
+ const { resolveClient, loadDefinition } = params;
36
+ return new Proxy({}, {
37
+ get(_, prop) {
38
+ if (prop === "getClient") {
39
+ return () => resolveClient();
40
+ }
41
+ if (prop === "createClient") {
42
+ return async () => {
43
+ const definition = await loadDefinition();
44
+ return createApiClient({ definition });
45
+ };
46
+ }
47
+ if (prop === "then" || prop === "catch" || prop === "finally") {
48
+ return void 0;
49
+ }
50
+ return (...args) => resolveClient().then((client) => {
51
+ const method = client[prop];
52
+ if (typeof method === "function") {
53
+ return method.apply(client, args);
54
+ }
55
+ return method;
56
+ });
57
+ }
58
+ });
59
+ };
60
+
61
+
62
+
63
+
64
+
65
+ exports.authorize = authorize; exports.createApiClient = createApiClient; exports.createApiHandle = createApiHandle;
@@ -0,0 +1,84 @@
1
+ import "./chunk-3RG5ZIWI.js";
2
+
3
+ // src/definitions/consent.json
4
+ var openapi = "3.0.3";
5
+ var info = {
6
+ title: "",
7
+ version: ""
8
+ };
9
+ var paths = {
10
+ "/v1/consent/publish": {
11
+ post: {
12
+ operationId: "publishConsentEvent",
13
+ requestBody: {
14
+ content: {
15
+ "application/json": {}
16
+ }
17
+ }
18
+ }
19
+ },
20
+ "/v1/consent/{identifier}": {
21
+ get: {
22
+ operationId: "listConsentEvents",
23
+ parameters: [
24
+ {
25
+ name: "identifier",
26
+ in: "path",
27
+ required: true
28
+ },
29
+ {
30
+ name: "topic",
31
+ in: "query",
32
+ required: false
33
+ },
34
+ {
35
+ name: "limit",
36
+ in: "query",
37
+ required: false
38
+ },
39
+ {
40
+ name: "from",
41
+ in: "query",
42
+ required: false
43
+ }
44
+ ]
45
+ }
46
+ },
47
+ "/v1/opt-in/{token}": {
48
+ get: {
49
+ operationId: "handleOptInWithToken",
50
+ parameters: [
51
+ {
52
+ name: "token",
53
+ in: "path",
54
+ required: true
55
+ },
56
+ {
57
+ name: "lang",
58
+ in: "query"
59
+ }
60
+ ]
61
+ }
62
+ }
63
+ };
64
+ var components = {};
65
+ var servers = [
66
+ {
67
+ url: "https://consent.sls.epilot.io"
68
+ }
69
+ ];
70
+ var consent_default = {
71
+ openapi,
72
+ info,
73
+ paths,
74
+ components,
75
+ servers
76
+ };
77
+ export {
78
+ components,
79
+ consent_default as default,
80
+ info,
81
+ openapi,
82
+ paths,
83
+ servers
84
+ };
@@ -0,0 +1,84 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-OBGZSXTJ.cjs');
2
+
3
+ // src/definitions/consent.json
4
+ var openapi = "3.0.3";
5
+ var info = {
6
+ title: "",
7
+ version: ""
8
+ };
9
+ var paths = {
10
+ "/v1/consent/publish": {
11
+ post: {
12
+ operationId: "publishConsentEvent",
13
+ requestBody: {
14
+ content: {
15
+ "application/json": {}
16
+ }
17
+ }
18
+ }
19
+ },
20
+ "/v1/consent/{identifier}": {
21
+ get: {
22
+ operationId: "listConsentEvents",
23
+ parameters: [
24
+ {
25
+ name: "identifier",
26
+ in: "path",
27
+ required: true
28
+ },
29
+ {
30
+ name: "topic",
31
+ in: "query",
32
+ required: false
33
+ },
34
+ {
35
+ name: "limit",
36
+ in: "query",
37
+ required: false
38
+ },
39
+ {
40
+ name: "from",
41
+ in: "query",
42
+ required: false
43
+ }
44
+ ]
45
+ }
46
+ },
47
+ "/v1/opt-in/{token}": {
48
+ get: {
49
+ operationId: "handleOptInWithToken",
50
+ parameters: [
51
+ {
52
+ name: "token",
53
+ in: "path",
54
+ required: true
55
+ },
56
+ {
57
+ name: "lang",
58
+ in: "query"
59
+ }
60
+ ]
61
+ }
62
+ }
63
+ };
64
+ var components = {};
65
+ var servers = [
66
+ {
67
+ url: "https://consent.sls.epilot.io"
68
+ }
69
+ ];
70
+ var consent_default = {
71
+ openapi,
72
+ info,
73
+ paths,
74
+ components,
75
+ servers
76
+ };
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+ exports.components = components; exports.default = consent_default; exports.info = info; exports.openapi = openapi; exports.paths = paths; exports.servers = servers;
@@ -0,0 +1,266 @@
1
+ import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
+
3
+ /* eslint-disable */
4
+ /* Auto-copied from consent-client */
5
+ /* eslint-disable */
6
+
7
+
8
+
9
+ declare namespace Components {
10
+ namespace Schemas {
11
+ export interface ConsentEvent {
12
+ type: "OPT_IN" | "OPT_OUT" | "DOUBLE_OPT_IN_REQUESTED" | "DOUBLE_OPT_IN";
13
+ created_at?: string; // date-time
14
+ topic: /**
15
+ * Consent Topic (what the person is opting into)
16
+ * example:
17
+ * EMAIL_MARKETING
18
+ */
19
+ ConsentTopic;
20
+ source?: /**
21
+ * Consent Source (Origin of the Consent Event)
22
+ * example:
23
+ * www.frontend.epilot.cloud
24
+ */
25
+ ConsentSource;
26
+ organization_id?: /**
27
+ * example:
28
+ * 123
29
+ */
30
+ OrganizationId;
31
+ identifier: /**
32
+ * Unique identifier for consent source (e.g. customer email or phone)
33
+ * example:
34
+ * exampleuser@epilot.cloud
35
+ */
36
+ ConsentIdentifier;
37
+ meta?: /**
38
+ * example:
39
+ * {
40
+ * "double_opt_in": true,
41
+ * "source_type": "journey",
42
+ * "source_id": "0e4f2a26-14f0-4ada-9294-a7d7a0b9b214",
43
+ * "ip_address": "1.1.1.1",
44
+ * "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
45
+ * }
46
+ */
47
+ ConsentMeta;
48
+ }
49
+ export interface ConsentEventRequestBody {
50
+ type: "OPT_IN" | "OPT_OUT";
51
+ topic: /**
52
+ * Consent Topic (what the person is opting into)
53
+ * example:
54
+ * EMAIL_MARKETING
55
+ */
56
+ ConsentTopic;
57
+ source?: /**
58
+ * Consent Source (Origin of the Consent Event)
59
+ * example:
60
+ * www.frontend.epilot.cloud
61
+ */
62
+ ConsentSource;
63
+ identifier: /**
64
+ * Unique identifier for consent source (e.g. customer email or phone)
65
+ * example:
66
+ * exampleuser@epilot.cloud
67
+ */
68
+ ConsentIdentifier;
69
+ meta?: /**
70
+ * example:
71
+ * {
72
+ * "double_opt_in": true,
73
+ * "source_type": "journey",
74
+ * "source_id": "0e4f2a26-14f0-4ada-9294-a7d7a0b9b214",
75
+ * "ip_address": "1.1.1.1",
76
+ * "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
77
+ * }
78
+ */
79
+ ConsentMeta;
80
+ }
81
+ /**
82
+ * Unique identifier for consent source (e.g. customer email or phone)
83
+ * example:
84
+ * exampleuser@epilot.cloud
85
+ */
86
+ export type ConsentIdentifier = string;
87
+ /**
88
+ * example:
89
+ * {
90
+ * "double_opt_in": true,
91
+ * "source_type": "journey",
92
+ * "source_id": "0e4f2a26-14f0-4ada-9294-a7d7a0b9b214",
93
+ * "ip_address": "1.1.1.1",
94
+ * "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
95
+ * }
96
+ */
97
+ export interface ConsentMeta {
98
+ [name: string]: any;
99
+ }
100
+ /**
101
+ * Consent Source (Origin of the Consent Event)
102
+ * example:
103
+ * www.frontend.epilot.cloud
104
+ */
105
+ export type ConsentSource = string;
106
+ /**
107
+ * Consent Topic (what the person is opting into)
108
+ * example:
109
+ * EMAIL_MARKETING
110
+ */
111
+ export type ConsentTopic = string;
112
+ /**
113
+ * example:
114
+ * 123
115
+ */
116
+ export type OrganizationId = string;
117
+ }
118
+ }
119
+ declare namespace Paths {
120
+ namespace HandleOptInWithToken {
121
+ namespace Parameters {
122
+ export type Lang = string;
123
+ export type Token = string;
124
+ }
125
+ export interface PathParameters {
126
+ token: Parameters.Token;
127
+ }
128
+ export interface QueryParameters {
129
+ lang?: Parameters.Lang;
130
+ }
131
+ }
132
+ namespace ListConsentEvents {
133
+ namespace Parameters {
134
+ export type From = number;
135
+ export type Identifier = /**
136
+ * Unique identifier for consent source (e.g. customer email or phone)
137
+ * example:
138
+ * exampleuser@epilot.cloud
139
+ */
140
+ Components.Schemas.ConsentIdentifier;
141
+ export type Limit = number;
142
+ export type Topic = /**
143
+ * Consent Topic (what the person is opting into)
144
+ * example:
145
+ * EMAIL_MARKETING
146
+ */
147
+ Components.Schemas.ConsentTopic;
148
+ }
149
+ export interface PathParameters {
150
+ identifier: Parameters.Identifier;
151
+ }
152
+ export interface QueryParameters {
153
+ topic?: Parameters.Topic;
154
+ limit?: Parameters.Limit;
155
+ from?: Parameters.From;
156
+ }
157
+ namespace Responses {
158
+ export interface $200 {
159
+ events?: Components.Schemas.ConsentEvent[];
160
+ /**
161
+ * example:
162
+ * 1
163
+ */
164
+ total?: number;
165
+ }
166
+ }
167
+ }
168
+ namespace PublishConsentEvent {
169
+ export type RequestBody = Components.Schemas.ConsentEventRequestBody;
170
+ namespace Responses {
171
+ export type $201 = Components.Schemas.ConsentEvent;
172
+ }
173
+ }
174
+ }
175
+
176
+
177
+ interface OperationMethods {
178
+ /**
179
+ * publishConsentEvent - publishConsentEvent
180
+ *
181
+ * Publishes consent event on event bus, which appends to consent store
182
+ *
183
+ */
184
+ 'publishConsentEvent'(
185
+ parameters?: Parameters<UnknownParamsObject> | null,
186
+ data?: Paths.PublishConsentEvent.RequestBody,
187
+ config?: AxiosRequestConfig
188
+ ): OperationResponse<Paths.PublishConsentEvent.Responses.$201>
189
+ /**
190
+ * listConsentEvents - listConsentEvents
191
+ *
192
+ * List opt-ins and opt-outs by customer identifier
193
+ *
194
+ */
195
+ 'listConsentEvents'(
196
+ parameters?: Parameters<Paths.ListConsentEvents.QueryParameters & Paths.ListConsentEvents.PathParameters> | null,
197
+ data?: any,
198
+ config?: AxiosRequestConfig
199
+ ): OperationResponse<Paths.ListConsentEvents.Responses.$200>
200
+ /**
201
+ * handleOptInWithToken - handleOptInWithToken
202
+ *
203
+ * Endpoint to handle opt-in links
204
+ *
205
+ */
206
+ 'handleOptInWithToken'(
207
+ parameters?: Parameters<Paths.HandleOptInWithToken.QueryParameters & Paths.HandleOptInWithToken.PathParameters> | null,
208
+ data?: any,
209
+ config?: AxiosRequestConfig
210
+ ): OperationResponse<any>
211
+ }
212
+
213
+ interface PathsDictionary {
214
+ ['/v1/consent/publish']: {
215
+ /**
216
+ * publishConsentEvent - publishConsentEvent
217
+ *
218
+ * Publishes consent event on event bus, which appends to consent store
219
+ *
220
+ */
221
+ 'post'(
222
+ parameters?: Parameters<UnknownParamsObject> | null,
223
+ data?: Paths.PublishConsentEvent.RequestBody,
224
+ config?: AxiosRequestConfig
225
+ ): OperationResponse<Paths.PublishConsentEvent.Responses.$201>
226
+ }
227
+ ['/v1/consent/{identifier}']: {
228
+ /**
229
+ * listConsentEvents - listConsentEvents
230
+ *
231
+ * List opt-ins and opt-outs by customer identifier
232
+ *
233
+ */
234
+ 'get'(
235
+ parameters?: Parameters<Paths.ListConsentEvents.QueryParameters & Paths.ListConsentEvents.PathParameters> | null,
236
+ data?: any,
237
+ config?: AxiosRequestConfig
238
+ ): OperationResponse<Paths.ListConsentEvents.Responses.$200>
239
+ }
240
+ ['/v1/opt-in/{token}']: {
241
+ /**
242
+ * handleOptInWithToken - handleOptInWithToken
243
+ *
244
+ * Endpoint to handle opt-in links
245
+ *
246
+ */
247
+ 'get'(
248
+ parameters?: Parameters<Paths.HandleOptInWithToken.QueryParameters & Paths.HandleOptInWithToken.PathParameters> | null,
249
+ data?: any,
250
+ config?: AxiosRequestConfig
251
+ ): OperationResponse<any>
252
+ }
253
+ }
254
+
255
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
256
+
257
+
258
+ type ConsentEvent = Components.Schemas.ConsentEvent;
259
+ type ConsentEventRequestBody = Components.Schemas.ConsentEventRequestBody;
260
+ type ConsentIdentifier = Components.Schemas.ConsentIdentifier;
261
+ type ConsentMeta = Components.Schemas.ConsentMeta;
262
+ type ConsentSource = Components.Schemas.ConsentSource;
263
+ type ConsentTopic = Components.Schemas.ConsentTopic;
264
+ type OrganizationId = Components.Schemas.OrganizationId;
265
+
266
+ export type { Client as C, OperationMethods as O, PathsDictionary as P, ConsentEvent as a, ConsentEventRequestBody as b, ConsentIdentifier as c, ConsentMeta as d, ConsentSource as e, ConsentTopic as f, OrganizationId as g };