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