@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,1093 @@
1
+ import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
2
+
3
+ /* eslint-disable */
4
+ /* Auto-copied from entity-mapping-client */
5
+ /* eslint-disable */
6
+
7
+
8
+
9
+ declare namespace Components {
10
+ namespace Schemas {
11
+ export interface AppendValueMapper {
12
+ mode: /**
13
+ * - copy_if_exists - it replaces the target attribute with the source value - append_if_exists - it currently replaces target attribute with array like values. Useful when you have multiple values to be added into one attribute. - set_value - it sets a value to a predefined value. Must be used together with value property.
14
+ *
15
+ */
16
+ MappingAttributeMode;
17
+ /**
18
+ * JSON like target path for the attribute. Eg. last_name
19
+ */
20
+ target: string;
21
+ /**
22
+ * JSON source path for the value to be extracted from the main entity. Eg: steps[1].['Product Info'].price
23
+ *
24
+ */
25
+ source?: string;
26
+ /**
27
+ * To be provided only when mapping json objects into a target attribute. Eg array of addresses.
28
+ *
29
+ */
30
+ value_json: string;
31
+ /**
32
+ * Array of keys which should be used when checking for uniqueness. Eg: [country, city, postal_code]
33
+ *
34
+ */
35
+ target_unique?: string[];
36
+ }
37
+ /**
38
+ * Origin of an attribute.
39
+ */
40
+ export type AttributeOrigin = "system_recommendation" | "user_manually" | "entity_updating_system_recommendation";
41
+ export interface ConditionNode {
42
+ source?: string;
43
+ value?: string | number | {
44
+ [key: string]: any;
45
+ } | {
46
+ [key: string]: any;
47
+ }[];
48
+ }
49
+ export interface CopyValueMapper {
50
+ mode: /**
51
+ * - copy_if_exists - it replaces the target attribute with the source value - append_if_exists - it currently replaces target attribute with array like values. Useful when you have multiple values to be added into one attribute. - set_value - it sets a value to a predefined value. Must be used together with value property.
52
+ *
53
+ */
54
+ MappingAttributeMode;
55
+ /**
56
+ * JSON like target path for the attribute. Eg. last_name
57
+ */
58
+ target: string;
59
+ /**
60
+ * JSON source path for the value to be extracted from the main entity. Eg: steps[1].['Product Info'].price
61
+ *
62
+ */
63
+ source: string;
64
+ }
65
+ export interface Entity {
66
+ [name: string]: any;
67
+ _id?: string;
68
+ _schema?: string;
69
+ _title?: string | null;
70
+ _org?: string;
71
+ _tags?: string[] | null;
72
+ _created_at?: string | null;
73
+ _updated_at?: string | null;
74
+ required?: any;
75
+ }
76
+ export interface EntityRef {
77
+ /**
78
+ * id of the source entity to be mapped
79
+ */
80
+ entity_id: string;
81
+ /**
82
+ * schema of the source entity
83
+ * example:
84
+ * submission
85
+ */
86
+ entity_schema?: string;
87
+ }
88
+ /**
89
+ * Pass either source or source_entity
90
+ */
91
+ export interface ExecuteMappingReq {
92
+ /**
93
+ * A reference (id and schema) to the entity to be used as source.
94
+ */
95
+ source_ref: EntityRef;
96
+ /**
97
+ * Mapping Configuration to apply.
98
+ */
99
+ targets: TargetConfig[];
100
+ }
101
+ export interface ExecuteMappingResp {
102
+ mapped_entities: Entity[];
103
+ failures?: MappingFailure[];
104
+ warnings?: MappingWarning[];
105
+ }
106
+ /**
107
+ * Build relations between a source entity and one or more target entities, dynamically identified
108
+ */
109
+ export interface ExecuteRelationsReq {
110
+ /**
111
+ * Entity for which to add relations.
112
+ */
113
+ source_ref: EntityRef;
114
+ target?: {
115
+ /**
116
+ * Main Entity from where to locate target entities. Eg. submisssion entity
117
+ */
118
+ main_entity_ref: EntityRef;
119
+ /**
120
+ * Relation mappings
121
+ */
122
+ relation_attributes: RelationAttribute[];
123
+ /**
124
+ * For cases where you want to store a relation between main entity (eg. submission) and current source entity.
125
+ */
126
+ linkback?: {
127
+ /**
128
+ * Relation attribute on the main entity (submission) where the target entity will be linked. Set to false to disable linkback
129
+ *
130
+ */
131
+ attribute: string;
132
+ /**
133
+ * Relation tags (labels) to include in main entity linkback relation attribute
134
+ */
135
+ relation_tags: string[];
136
+ };
137
+ };
138
+ additional_relations?: RelationItem[];
139
+ }
140
+ export interface ExecuteRelationsResp {
141
+ relations?: NewRelationItem[];
142
+ }
143
+ export interface JourneyRef {
144
+ journey_id?: string;
145
+ }
146
+ /**
147
+ * This string value will be replaced with the value of the loop index, when mapping in loop mode
148
+ */
149
+ export type LoopIndexString = "##LOOP_INDEX##";
150
+ export interface MapCondition {
151
+ _exists?: ConditionNode;
152
+ _equals?: ConditionNode;
153
+ _not_exists?: ConditionNode;
154
+ _any_of?: ConditionNode;
155
+ }
156
+ export type MappingAttribute = SetValueMapper | CopyValueMapper | AppendValueMapper;
157
+ /**
158
+ * - copy_if_exists - it replaces the target attribute with the source value - append_if_exists - it currently replaces target attribute with array like values. Useful when you have multiple values to be added into one attribute. - set_value - it sets a value to a predefined value. Must be used together with value property.
159
+ *
160
+ */
161
+ export type MappingAttributeMode = "copy_if_exists" | "append_if_exists" | "set_value";
162
+ /**
163
+ * example:
164
+ * {
165
+ * "target": "_tags",
166
+ * "operation": {
167
+ * "_append": [
168
+ * "new",
169
+ * "tags"
170
+ * ],
171
+ * "_uniq": true
172
+ * }
173
+ * }
174
+ */
175
+ export interface MappingAttributeV2 {
176
+ /**
177
+ * Target JSON path for the attribute to set
178
+ */
179
+ target: string;
180
+ operation: /* Mapping operation nodes are either primitive values or operation node objects */ OperationNode;
181
+ origin?: /* Origin of an attribute. */ AttributeOrigin;
182
+ }
183
+ export interface MappingConfig {
184
+ id: string;
185
+ source: SourceConfig;
186
+ targets: TargetConfig[];
187
+ created_at?: string; // date-time
188
+ updated_at?: string; // date-time
189
+ created_by?: Owner;
190
+ last_updated_by?: Owner;
191
+ /**
192
+ * example:
193
+ * 66
194
+ */
195
+ org_id: string;
196
+ /**
197
+ * example:
198
+ * 2
199
+ */
200
+ version: number;
201
+ }
202
+ export interface MappingConfigCommonFields {
203
+ id: string;
204
+ source: SourceConfig;
205
+ targets: TargetConfig[];
206
+ created_at?: string; // date-time
207
+ updated_at?: string; // date-time
208
+ /**
209
+ * User / service who created the entity mapping config
210
+ * example:
211
+ * {
212
+ * "type": "internal_service"
213
+ * }
214
+ */
215
+ created_by?: Owner;
216
+ /**
217
+ * User / service who last updated entity mapping config
218
+ * example:
219
+ * {
220
+ * "type": "user",
221
+ * "org_id": 255151,
222
+ * "user_id": 99252
223
+ * }
224
+ */
225
+ last_updated_by?: Owner;
226
+ }
227
+ export interface MappingConfigV2 {
228
+ id: string;
229
+ source: SourceConfig;
230
+ targets: TargetConfig[];
231
+ created_at?: string; // date-time
232
+ updated_at?: string; // date-time
233
+ created_by?: Owner;
234
+ last_updated_by?: Owner;
235
+ /**
236
+ * example:
237
+ * 66
238
+ */
239
+ org_id?: string;
240
+ /**
241
+ * example:
242
+ * 2
243
+ */
244
+ version?: number;
245
+ }
246
+ export type MappingConfigs = MappingConfig[];
247
+ export interface MappingConfigsResp {
248
+ configs: MappingConfigs;
249
+ }
250
+ export interface MappingFailure {
251
+ target?: TargetConfig;
252
+ error?: {
253
+ [name: string]: any;
254
+ isSilent?: boolean;
255
+ message?: string;
256
+ };
257
+ }
258
+ export interface MappingHistoryEntry {
259
+ /**
260
+ * example:
261
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
262
+ */
263
+ id: string;
264
+ timestamp: string; // ISO datetime
265
+ source_entity_snapshot: Entity;
266
+ mapped_entities_snapshot: Entity[];
267
+ target_configs_snapshot: TargetConfig[];
268
+ }
269
+ export interface MappingHistoryResp {
270
+ results: MappingHistoryEntry[];
271
+ }
272
+ export interface MappingSource {
273
+ /**
274
+ * Key aiming to identify source
275
+ */
276
+ key: string;
277
+ /**
278
+ * Each item describes a property under the main source and a possibly, a default value for its target attribute
279
+ */
280
+ sub_properties?: MappingSourceProperty[];
281
+ /**
282
+ * Data Structure type of source
283
+ */
284
+ source_type: string;
285
+ /**
286
+ * A group this source belongs to. Used for grouping sources in the UI
287
+ */
288
+ group?: string;
289
+ /**
290
+ * Data Structure Type of the underlaying output value
291
+ */
292
+ possible_target_types?: MappingSourceTargetType[];
293
+ /**
294
+ * Initial value of a relation to be added
295
+ */
296
+ initial_relation?: RelationAttribute;
297
+ /**
298
+ * Human readable name of the Source
299
+ */
300
+ title: string;
301
+ /**
302
+ * Human readable type of the source
303
+ */
304
+ sub_title?: string;
305
+ /**
306
+ * Whether the source (block or attribute) is a repeatable, aka holds a list of values
307
+ */
308
+ repeatable?: boolean;
309
+ target_settings?: {
310
+ /**
311
+ * Describes which actions the user can perform on each target, if specified. If not specified, all actions are allowed
312
+ */
313
+ allowed_ui_actions?: ("schema-select" | "attribute-select" | "target-delete" | "target-add" | "target")[];
314
+ /**
315
+ * Whether its a read-only ui or not. Can be each target, or only the first. Overwrites uiActions
316
+ */
317
+ locked?: "each" | "first" | "system_recommendation";
318
+ /**
319
+ * Whether all source mappings flow into a single attribute (e.g. address)
320
+ */
321
+ isSingleTarget?: boolean;
322
+ /**
323
+ * Determines whether a mapping target should be shown or not. Use if there are targets which cannot be manipulated by the UI. E.g journey_data
324
+ */
325
+ visibility?: {
326
+ mode: "hide" | "show" | "message";
327
+ if: {
328
+ [name: string]: string;
329
+ };
330
+ message?: string;
331
+ };
332
+ };
333
+ }
334
+ export interface MappingSourceProperty {
335
+ value: string;
336
+ label: string;
337
+ initial_target_value?: string;
338
+ /**
339
+ * Data Structure Type of the underlaying output value
340
+ */
341
+ possible_target_types?: MappingSourceTargetType[];
342
+ /**
343
+ * Whether the raw value should be used, or whether the value is enriched by a path
344
+ */
345
+ raw?: boolean;
346
+ }
347
+ export type MappingSourceTargetType = "string" | "date" | "datetime" | "boolean" | "number" | "image" | "file" | "address" | "email" | "phone" | "select" | "multiselect" | "payment" | "link" | "currency" | "sequence" | "relation" | "array";
348
+ export interface MappingWarning {
349
+ explanation: string;
350
+ context?: string;
351
+ id?: string;
352
+ }
353
+ export interface NewRelationItem {
354
+ source_entity_id: string;
355
+ target_entity_id: string;
356
+ relation_attr: string;
357
+ tags?: string[];
358
+ }
359
+ /**
360
+ * Mapping operation nodes are either primitive values or operation node objects
361
+ */
362
+ export type OperationNode = /* Mapping operation nodes are either primitive values or operation node objects */ OperationObjectNode | /* Represents any primitive JSON value */ PrimitiveJSONValue;
363
+ export interface OperationObjectNode {
364
+ [name: string]: any;
365
+ _set?: /* Represents any primitive JSON value */ PrimitiveJSONValue;
366
+ /**
367
+ * Append to array
368
+ */
369
+ _append?: any;
370
+ /**
371
+ * Prepend to an array
372
+ */
373
+ _prepend?: any;
374
+ /**
375
+ * Unique array
376
+ */
377
+ _uniq?: /* Unique array */ boolean | string[];
378
+ /**
379
+ * Merge strategy when _uniq is defined
380
+ * example:
381
+ * true
382
+ */
383
+ _retain_old_values?: boolean;
384
+ /**
385
+ * Copy JSONPath value from source entity context
386
+ * example:
387
+ * contact.first_name
388
+ */
389
+ _copy?: string;
390
+ /**
391
+ * Define handlebars template to output a string
392
+ * example:
393
+ * {{contact.first_name}} {{contact.last_name}}
394
+ */
395
+ _template?: string;
396
+ /**
397
+ * Generate random ids / numbers
398
+ */
399
+ _random?: RandomOperation;
400
+ }
401
+ export interface Owner {
402
+ type: "user" | "internal_service";
403
+ org_id?: string;
404
+ user_id?: string;
405
+ }
406
+ /**
407
+ * Represents any primitive JSON value
408
+ */
409
+ export type PrimitiveJSONValue = /* Represents any primitive JSON value */ string | boolean | number | {
410
+ [name: string]: any;
411
+ } | any[];
412
+ export type RandomOperation = {
413
+ type: "uuid" | "nanoid";
414
+ } | {
415
+ type: "number";
416
+ min?: number;
417
+ max?: number;
418
+ };
419
+ export interface RelationAttribute {
420
+ /**
421
+ * Target attribute to store the relation in
422
+ */
423
+ target: string;
424
+ /**
425
+ * Relation tags (labels) to set for the stored relations
426
+ */
427
+ target_tags?: string[];
428
+ /**
429
+ * Include all relation tags (labels) present on the main entity relation
430
+ */
431
+ target_tags_include_source?: boolean;
432
+ /**
433
+ * Whether to override the relation source_filter with the specified one
434
+ */
435
+ override_with_source_filter?: boolean;
436
+ /**
437
+ * A filter to identify which source entities to pick as relations from main entity
438
+ */
439
+ source_filter?: {
440
+ /**
441
+ * Limit relations to maximum number (default, all matched relations)
442
+ */
443
+ limit?: number;
444
+ /**
445
+ * Filter by specific schema
446
+ */
447
+ schema?: string;
448
+ /**
449
+ * Filter by a specific relation attribute on the main entity
450
+ */
451
+ attribute?: string;
452
+ /**
453
+ * Filter by relation tag (label) on the main entity
454
+ */
455
+ relation_tag?: string;
456
+ /**
457
+ * Filter by a specific tag on the related entity
458
+ */
459
+ tag?: string;
460
+ /**
461
+ * Picks main entity as relation (overrides other filters)
462
+ */
463
+ self?: boolean;
464
+ };
465
+ related_to?: {
466
+ [name: string]: any;
467
+ };
468
+ mode: "append" | "prepend" | "set";
469
+ origin?: /* Origin of an attribute. */ AttributeOrigin;
470
+ }
471
+ export interface RelationItem {
472
+ entity_id: string;
473
+ attribute: string;
474
+ }
475
+ export interface SearchMappingReq {
476
+ source?: SourceConfig;
477
+ }
478
+ export interface SetValueMapper {
479
+ mode: /**
480
+ * - copy_if_exists - it replaces the target attribute with the source value - append_if_exists - it currently replaces target attribute with array like values. Useful when you have multiple values to be added into one attribute. - set_value - it sets a value to a predefined value. Must be used together with value property.
481
+ *
482
+ */
483
+ MappingAttributeMode;
484
+ /**
485
+ * JSON like target path for the attribute. Eg. last_name
486
+ */
487
+ target: string;
488
+ /**
489
+ * Any value to be set: string, number, string[], number[], JSON object, etc. It will override existing values, if any.
490
+ *
491
+ */
492
+ value: any;
493
+ }
494
+ export interface SourceConfig {
495
+ type?: "journey" | "entity";
496
+ config?: JourneyRef | EntityRef;
497
+ }
498
+ export interface TargetConfig {
499
+ /**
500
+ * Identifier for target configuration. Useful for later usages when trying to identify which target config to map to.
501
+ */
502
+ id?: string;
503
+ /**
504
+ * A name for this configuration
505
+ */
506
+ name?: string;
507
+ /**
508
+ * Pass it as true, when you don't want failures to interrupt the mapping process.
509
+ */
510
+ allow_failure?: boolean;
511
+ /**
512
+ * Schema of target entity
513
+ */
514
+ target_schema: string;
515
+ /**
516
+ * Unique key for target entity (see upsertEntity of Entity API)
517
+ */
518
+ target_unique?: string[];
519
+ /**
520
+ * contains config in case of running in loop mode
521
+ */
522
+ loop_config?: {
523
+ /**
524
+ * path to the array from the entity payload
525
+ */
526
+ source_path?: string;
527
+ /**
528
+ * a hard limit of how many times the loop is allowed to run.
529
+ */
530
+ length?: number;
531
+ };
532
+ /**
533
+ * Mode of how conditions are considered valid
534
+ */
535
+ conditionMode?: "oneOf" | "anyOf" | "allOf";
536
+ /**
537
+ * Conditions necessary to hold for the target entity to be mapped
538
+ */
539
+ conditions?: MapCondition[];
540
+ /**
541
+ * Attribute mappings
542
+ */
543
+ mapping_attributes: (/**
544
+ * example:
545
+ * {
546
+ * "target": "_tags",
547
+ * "operation": {
548
+ * "_append": [
549
+ * "new",
550
+ * "tags"
551
+ * ],
552
+ * "_uniq": true
553
+ * }
554
+ * }
555
+ */
556
+ MappingAttributeV2 | MappingAttribute)[];
557
+ /**
558
+ * Relation mappings
559
+ */
560
+ relation_attributes?: RelationAttribute[];
561
+ /**
562
+ * Relation attribute on the main entity where the target entity will be linked. Set to false to disable linkback
563
+ *
564
+ */
565
+ linkback_relation_attribute?: string;
566
+ /**
567
+ * Relation tags (labels) to include in main entity linkback relation attribute
568
+ */
569
+ linkback_relation_tags?: string[];
570
+ }
571
+ }
572
+ }
573
+ declare namespace Paths {
574
+ namespace DeleteConfig {
575
+ namespace Parameters {
576
+ /**
577
+ * example:
578
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
579
+ */
580
+ export type Id = string;
581
+ }
582
+ export interface PathParameters {
583
+ id: /**
584
+ * example:
585
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
586
+ */
587
+ Parameters.Id;
588
+ }
589
+ namespace Responses {
590
+ export type $200 = Components.Schemas.MappingConfig;
591
+ }
592
+ }
593
+ namespace ExecuteMapping {
594
+ namespace Parameters {
595
+ /**
596
+ * example:
597
+ * true
598
+ */
599
+ export type PreviewMode = boolean;
600
+ }
601
+ export interface QueryParameters {
602
+ preview_mode?: /**
603
+ * example:
604
+ * true
605
+ */
606
+ Parameters.PreviewMode;
607
+ }
608
+ export type RequestBody = /* Pass either source or source_entity */ Components.Schemas.ExecuteMappingReq;
609
+ namespace Responses {
610
+ export type $200 = Components.Schemas.ExecuteMappingResp;
611
+ }
612
+ }
613
+ namespace ExecuteRelations {
614
+ export type RequestBody = /* Build relations between a source entity and one or more target entities, dynamically identified */ Components.Schemas.ExecuteRelationsReq;
615
+ namespace Responses {
616
+ export type $200 = Components.Schemas.ExecuteRelationsResp;
617
+ }
618
+ }
619
+ namespace GetAllVersions {
620
+ namespace Parameters {
621
+ /**
622
+ * example:
623
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
624
+ */
625
+ export type Id = string;
626
+ }
627
+ export interface PathParameters {
628
+ id: /**
629
+ * example:
630
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
631
+ */
632
+ Parameters.Id;
633
+ }
634
+ namespace Responses {
635
+ export type $200 = Components.Schemas.MappingConfigsResp;
636
+ }
637
+ }
638
+ namespace GetConfig {
639
+ namespace Parameters {
640
+ /**
641
+ * example:
642
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
643
+ */
644
+ export type Id = string;
645
+ }
646
+ export interface PathParameters {
647
+ id: /**
648
+ * example:
649
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
650
+ */
651
+ Parameters.Id;
652
+ }
653
+ namespace Responses {
654
+ export type $200 = Components.Schemas.MappingConfig;
655
+ }
656
+ }
657
+ namespace GetConfigVersion {
658
+ namespace Parameters {
659
+ /**
660
+ * example:
661
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
662
+ */
663
+ export type Id = string;
664
+ /**
665
+ * example:
666
+ * 3
667
+ */
668
+ export type Version = number;
669
+ }
670
+ export interface PathParameters {
671
+ id: /**
672
+ * example:
673
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
674
+ */
675
+ Parameters.Id;
676
+ version: /**
677
+ * example:
678
+ * 3
679
+ */
680
+ Parameters.Version;
681
+ }
682
+ namespace Responses {
683
+ export type $200 = Components.Schemas.MappingConfig;
684
+ }
685
+ }
686
+ namespace GetMappingConfig {
687
+ namespace Parameters {
688
+ /**
689
+ * example:
690
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
691
+ */
692
+ export type Id = string;
693
+ }
694
+ export interface PathParameters {
695
+ id: /**
696
+ * example:
697
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
698
+ */
699
+ Parameters.Id;
700
+ }
701
+ namespace Responses {
702
+ export type $200 = Components.Schemas.MappingConfigV2;
703
+ }
704
+ }
705
+ namespace PutMappingConfig {
706
+ namespace Parameters {
707
+ /**
708
+ * example:
709
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
710
+ */
711
+ export type Id = string;
712
+ }
713
+ export interface PathParameters {
714
+ id: /**
715
+ * example:
716
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
717
+ */
718
+ Parameters.Id;
719
+ }
720
+ export type RequestBody = Components.Schemas.MappingConfigV2;
721
+ namespace Responses {
722
+ export type $200 = Components.Schemas.MappingConfigV2;
723
+ }
724
+ }
725
+ namespace QueryMappingHistory {
726
+ namespace Parameters {
727
+ export type From = string; // datetime
728
+ export type SourceEntityId = string; // uuid
729
+ export type TargetEntityId = string; // uuid
730
+ export type To = string; // datetime
731
+ }
732
+ export interface QueryParameters {
733
+ from?: Parameters.From /* datetime */;
734
+ to?: Parameters.To /* datetime */;
735
+ targetEntityId?: Parameters.TargetEntityId /* uuid */;
736
+ sourceEntityId?: Parameters.SourceEntityId /* uuid */;
737
+ }
738
+ namespace Responses {
739
+ export interface $200 {
740
+ results?: Components.Schemas.MappingHistoryResp[];
741
+ }
742
+ }
743
+ }
744
+ namespace SearchConfigs {
745
+ export type RequestBody = Components.Schemas.SearchMappingReq;
746
+ namespace Responses {
747
+ export type $200 = Components.Schemas.MappingConfig;
748
+ }
749
+ }
750
+ namespace StoreConfig {
751
+ namespace Parameters {
752
+ export type WithId = string;
753
+ }
754
+ export interface QueryParameters {
755
+ with_id?: Parameters.WithId;
756
+ }
757
+ export type RequestBody = Components.Schemas.MappingConfig;
758
+ namespace Responses {
759
+ export type $201 = Components.Schemas.MappingConfig;
760
+ }
761
+ }
762
+ namespace StoreNewVersion {
763
+ namespace Parameters {
764
+ /**
765
+ * example:
766
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
767
+ */
768
+ export type Id = string;
769
+ }
770
+ export interface PathParameters {
771
+ id: /**
772
+ * example:
773
+ * 70542580-2b38-4bfc-af8d-bb90102f9f47
774
+ */
775
+ Parameters.Id;
776
+ }
777
+ export type RequestBody = Components.Schemas.MappingConfig;
778
+ namespace Responses {
779
+ export type $200 = Components.Schemas.MappingConfig;
780
+ }
781
+ }
782
+ }
783
+
784
+
785
+ interface OperationMethods {
786
+ /**
787
+ * storeConfig - storeConfig
788
+ *
789
+ * Store new MappingConfig
790
+ */
791
+ 'storeConfig'(
792
+ parameters?: Parameters<Paths.StoreConfig.QueryParameters> | null,
793
+ data?: Paths.StoreConfig.RequestBody,
794
+ config?: AxiosRequestConfig
795
+ ): OperationResponse<Paths.StoreConfig.Responses.$201>
796
+ /**
797
+ * getConfig - getConfig
798
+ *
799
+ * Get latest version of a mapping config by id
800
+ */
801
+ 'getConfig'(
802
+ parameters?: Parameters<Paths.GetConfig.PathParameters> | null,
803
+ data?: any,
804
+ config?: AxiosRequestConfig
805
+ ): OperationResponse<Paths.GetConfig.Responses.$200>
806
+ /**
807
+ * deleteConfig - deleteConfig
808
+ *
809
+ * Delete entity mapping config
810
+ */
811
+ 'deleteConfig'(
812
+ parameters?: Parameters<Paths.DeleteConfig.PathParameters> | null,
813
+ data?: any,
814
+ config?: AxiosRequestConfig
815
+ ): OperationResponse<Paths.DeleteConfig.Responses.$200>
816
+ /**
817
+ * getAllVersions - getAllVersions
818
+ *
819
+ * Get all version of MappingConfig
820
+ */
821
+ 'getAllVersions'(
822
+ parameters?: Parameters<Paths.GetAllVersions.PathParameters> | null,
823
+ data?: any,
824
+ config?: AxiosRequestConfig
825
+ ): OperationResponse<Paths.GetAllVersions.Responses.$200>
826
+ /**
827
+ * storeNewVersion - storeNewVersion
828
+ *
829
+ * Store new version of MappingConfig
830
+ */
831
+ 'storeNewVersion'(
832
+ parameters?: Parameters<Paths.StoreNewVersion.PathParameters> | null,
833
+ data?: Paths.StoreNewVersion.RequestBody,
834
+ config?: AxiosRequestConfig
835
+ ): OperationResponse<Paths.StoreNewVersion.Responses.$200>
836
+ /**
837
+ * getConfigVersion - getConfigVersion
838
+ *
839
+ * Get specific version of a mapping config by id & version
840
+ */
841
+ 'getConfigVersion'(
842
+ parameters?: Parameters<Paths.GetConfigVersion.PathParameters> | null,
843
+ data?: any,
844
+ config?: AxiosRequestConfig
845
+ ): OperationResponse<Paths.GetConfigVersion.Responses.$200>
846
+ /**
847
+ * executeMapping - executeMapping
848
+ *
849
+ * Execute entity mapping based on a config
850
+ */
851
+ 'executeMapping'(
852
+ parameters?: Parameters<Paths.ExecuteMapping.QueryParameters> | null,
853
+ data?: Paths.ExecuteMapping.RequestBody,
854
+ config?: AxiosRequestConfig
855
+ ): OperationResponse<Paths.ExecuteMapping.Responses.$200>
856
+ /**
857
+ * searchConfigs - searchConfigs
858
+ *
859
+ * Search mapping configs
860
+ */
861
+ 'searchConfigs'(
862
+ parameters?: Parameters<UnknownParamsObject> | null,
863
+ data?: Paths.SearchConfigs.RequestBody,
864
+ config?: AxiosRequestConfig
865
+ ): OperationResponse<Paths.SearchConfigs.Responses.$200>
866
+ /**
867
+ * queryMappingHistory - queryMappingHistory
868
+ *
869
+ * Get the Mapping History
870
+ */
871
+ 'queryMappingHistory'(
872
+ parameters?: Parameters<Paths.QueryMappingHistory.QueryParameters> | null,
873
+ data?: any,
874
+ config?: AxiosRequestConfig
875
+ ): OperationResponse<Paths.QueryMappingHistory.Responses.$200>
876
+ /**
877
+ * executeRelations - executeRelations
878
+ *
879
+ * Execute relation mapping between source entity and target entities
880
+ */
881
+ 'executeRelations'(
882
+ parameters?: Parameters<UnknownParamsObject> | null,
883
+ data?: Paths.ExecuteRelations.RequestBody,
884
+ config?: AxiosRequestConfig
885
+ ): OperationResponse<Paths.ExecuteRelations.Responses.$200>
886
+ /**
887
+ * getMappingConfig - getMappingConfig
888
+ *
889
+ * Get latest version of a mapping config by id V2
890
+ */
891
+ 'getMappingConfig'(
892
+ parameters?: Parameters<Paths.GetMappingConfig.PathParameters> | null,
893
+ data?: any,
894
+ config?: AxiosRequestConfig
895
+ ): OperationResponse<Paths.GetMappingConfig.Responses.$200>
896
+ /**
897
+ * putMappingConfig - putMappingConfig
898
+ *
899
+ * Stores new version of entity mapping config
900
+ */
901
+ 'putMappingConfig'(
902
+ parameters?: Parameters<Paths.PutMappingConfig.PathParameters> | null,
903
+ data?: Paths.PutMappingConfig.RequestBody,
904
+ config?: AxiosRequestConfig
905
+ ): OperationResponse<Paths.PutMappingConfig.Responses.$200>
906
+ }
907
+
908
+ interface PathsDictionary {
909
+ ['/v1/mappings']: {
910
+ /**
911
+ * storeConfig - storeConfig
912
+ *
913
+ * Store new MappingConfig
914
+ */
915
+ 'post'(
916
+ parameters?: Parameters<Paths.StoreConfig.QueryParameters> | null,
917
+ data?: Paths.StoreConfig.RequestBody,
918
+ config?: AxiosRequestConfig
919
+ ): OperationResponse<Paths.StoreConfig.Responses.$201>
920
+ }
921
+ ['/v1/mappings/{id}']: {
922
+ /**
923
+ * getConfig - getConfig
924
+ *
925
+ * Get latest version of a mapping config by id
926
+ */
927
+ 'get'(
928
+ parameters?: Parameters<Paths.GetConfig.PathParameters> | null,
929
+ data?: any,
930
+ config?: AxiosRequestConfig
931
+ ): OperationResponse<Paths.GetConfig.Responses.$200>
932
+ /**
933
+ * deleteConfig - deleteConfig
934
+ *
935
+ * Delete entity mapping config
936
+ */
937
+ 'delete'(
938
+ parameters?: Parameters<Paths.DeleteConfig.PathParameters> | null,
939
+ data?: any,
940
+ config?: AxiosRequestConfig
941
+ ): OperationResponse<Paths.DeleteConfig.Responses.$200>
942
+ }
943
+ ['/v1/mappings/{id}/versions']: {
944
+ /**
945
+ * getAllVersions - getAllVersions
946
+ *
947
+ * Get all version of MappingConfig
948
+ */
949
+ 'get'(
950
+ parameters?: Parameters<Paths.GetAllVersions.PathParameters> | null,
951
+ data?: any,
952
+ config?: AxiosRequestConfig
953
+ ): OperationResponse<Paths.GetAllVersions.Responses.$200>
954
+ /**
955
+ * storeNewVersion - storeNewVersion
956
+ *
957
+ * Store new version of MappingConfig
958
+ */
959
+ 'post'(
960
+ parameters?: Parameters<Paths.StoreNewVersion.PathParameters> | null,
961
+ data?: Paths.StoreNewVersion.RequestBody,
962
+ config?: AxiosRequestConfig
963
+ ): OperationResponse<Paths.StoreNewVersion.Responses.$200>
964
+ }
965
+ ['/v1/mappings/{id}/versions/{version}']: {
966
+ /**
967
+ * getConfigVersion - getConfigVersion
968
+ *
969
+ * Get specific version of a mapping config by id & version
970
+ */
971
+ 'get'(
972
+ parameters?: Parameters<Paths.GetConfigVersion.PathParameters> | null,
973
+ data?: any,
974
+ config?: AxiosRequestConfig
975
+ ): OperationResponse<Paths.GetConfigVersion.Responses.$200>
976
+ }
977
+ ['/v1/mappings:execute']: {
978
+ /**
979
+ * executeMapping - executeMapping
980
+ *
981
+ * Execute entity mapping based on a config
982
+ */
983
+ 'post'(
984
+ parameters?: Parameters<Paths.ExecuteMapping.QueryParameters> | null,
985
+ data?: Paths.ExecuteMapping.RequestBody,
986
+ config?: AxiosRequestConfig
987
+ ): OperationResponse<Paths.ExecuteMapping.Responses.$200>
988
+ }
989
+ ['/v1/mappings:search']: {
990
+ /**
991
+ * searchConfigs - searchConfigs
992
+ *
993
+ * Search mapping configs
994
+ */
995
+ 'post'(
996
+ parameters?: Parameters<UnknownParamsObject> | null,
997
+ data?: Paths.SearchConfigs.RequestBody,
998
+ config?: AxiosRequestConfig
999
+ ): OperationResponse<Paths.SearchConfigs.Responses.$200>
1000
+ }
1001
+ ['/v1/mappings/history']: {
1002
+ /**
1003
+ * queryMappingHistory - queryMappingHistory
1004
+ *
1005
+ * Get the Mapping History
1006
+ */
1007
+ 'get'(
1008
+ parameters?: Parameters<Paths.QueryMappingHistory.QueryParameters> | null,
1009
+ data?: any,
1010
+ config?: AxiosRequestConfig
1011
+ ): OperationResponse<Paths.QueryMappingHistory.Responses.$200>
1012
+ }
1013
+ ['/v1/relations:execute']: {
1014
+ /**
1015
+ * executeRelations - executeRelations
1016
+ *
1017
+ * Execute relation mapping between source entity and target entities
1018
+ */
1019
+ 'post'(
1020
+ parameters?: Parameters<UnknownParamsObject> | null,
1021
+ data?: Paths.ExecuteRelations.RequestBody,
1022
+ config?: AxiosRequestConfig
1023
+ ): OperationResponse<Paths.ExecuteRelations.Responses.$200>
1024
+ }
1025
+ ['/v2/mappings/{id}']: {
1026
+ /**
1027
+ * getMappingConfig - getMappingConfig
1028
+ *
1029
+ * Get latest version of a mapping config by id V2
1030
+ */
1031
+ 'get'(
1032
+ parameters?: Parameters<Paths.GetMappingConfig.PathParameters> | null,
1033
+ data?: any,
1034
+ config?: AxiosRequestConfig
1035
+ ): OperationResponse<Paths.GetMappingConfig.Responses.$200>
1036
+ /**
1037
+ * putMappingConfig - putMappingConfig
1038
+ *
1039
+ * Stores new version of entity mapping config
1040
+ */
1041
+ 'put'(
1042
+ parameters?: Parameters<Paths.PutMappingConfig.PathParameters> | null,
1043
+ data?: Paths.PutMappingConfig.RequestBody,
1044
+ config?: AxiosRequestConfig
1045
+ ): OperationResponse<Paths.PutMappingConfig.Responses.$200>
1046
+ }
1047
+ }
1048
+
1049
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
1050
+
1051
+
1052
+ type AppendValueMapper = Components.Schemas.AppendValueMapper;
1053
+ type AttributeOrigin = Components.Schemas.AttributeOrigin;
1054
+ type ConditionNode = Components.Schemas.ConditionNode;
1055
+ type CopyValueMapper = Components.Schemas.CopyValueMapper;
1056
+ type Entity = Components.Schemas.Entity;
1057
+ type EntityRef = Components.Schemas.EntityRef;
1058
+ type ExecuteMappingReq = Components.Schemas.ExecuteMappingReq;
1059
+ type ExecuteMappingResp = Components.Schemas.ExecuteMappingResp;
1060
+ type ExecuteRelationsReq = Components.Schemas.ExecuteRelationsReq;
1061
+ type ExecuteRelationsResp = Components.Schemas.ExecuteRelationsResp;
1062
+ type JourneyRef = Components.Schemas.JourneyRef;
1063
+ type Loop_Index_String = Components.Schemas.LoopIndexString;
1064
+ type MapCondition = Components.Schemas.MapCondition;
1065
+ type MappingAttribute = Components.Schemas.MappingAttribute;
1066
+ type MappingAttributeMode = Components.Schemas.MappingAttributeMode;
1067
+ type MappingAttributeV2 = Components.Schemas.MappingAttributeV2;
1068
+ type MappingConfig = Components.Schemas.MappingConfig;
1069
+ type MappingConfigCommonFields = Components.Schemas.MappingConfigCommonFields;
1070
+ type MappingConfigV2 = Components.Schemas.MappingConfigV2;
1071
+ type MappingConfigs = Components.Schemas.MappingConfigs;
1072
+ type MappingConfigsResp = Components.Schemas.MappingConfigsResp;
1073
+ type MappingFailure = Components.Schemas.MappingFailure;
1074
+ type MappingHistoryEntry = Components.Schemas.MappingHistoryEntry;
1075
+ type MappingHistoryResp = Components.Schemas.MappingHistoryResp;
1076
+ type MappingSource = Components.Schemas.MappingSource;
1077
+ type MappingSourceProperty = Components.Schemas.MappingSourceProperty;
1078
+ type MappingSourceTargetType = Components.Schemas.MappingSourceTargetType;
1079
+ type MappingWarning = Components.Schemas.MappingWarning;
1080
+ type NewRelationItem = Components.Schemas.NewRelationItem;
1081
+ type OperationNode = Components.Schemas.OperationNode;
1082
+ type OperationObjectNode = Components.Schemas.OperationObjectNode;
1083
+ type Owner = Components.Schemas.Owner;
1084
+ type PrimitiveJSONValue = Components.Schemas.PrimitiveJSONValue;
1085
+ type RandomOperation = Components.Schemas.RandomOperation;
1086
+ type RelationAttribute = Components.Schemas.RelationAttribute;
1087
+ type RelationItem = Components.Schemas.RelationItem;
1088
+ type SearchMappingReq = Components.Schemas.SearchMappingReq;
1089
+ type SetValueMapper = Components.Schemas.SetValueMapper;
1090
+ type SourceConfig = Components.Schemas.SourceConfig;
1091
+ type TargetConfig = Components.Schemas.TargetConfig;
1092
+
1093
+ export type { AppendValueMapper as A, PrimitiveJSONValue as B, Client as C, RelationAttribute as D, Entity as E, RelationItem as F, SetValueMapper as G, SourceConfig as H, JourneyRef as J, Loop_Index_String as L, MapCondition as M, NewRelationItem as N, OperationMethods as O, PathsDictionary as P, RandomOperation as R, SearchMappingReq as S, TargetConfig as T, AttributeOrigin as a, ConditionNode as b, CopyValueMapper as c, EntityRef as d, ExecuteMappingReq as e, ExecuteMappingResp as f, ExecuteRelationsReq as g, ExecuteRelationsResp as h, MappingAttribute as i, MappingAttributeMode as j, MappingAttributeV2 as k, MappingConfig as l, MappingConfigCommonFields as m, MappingConfigV2 as n, MappingConfigs as o, MappingConfigsResp as p, MappingFailure as q, MappingHistoryEntry as r, MappingHistoryResp as s, MappingSource as t, MappingSourceProperty as u, MappingSourceTargetType as v, MappingWarning as w, OperationNode as x, OperationObjectNode as y, Owner as z };