@epilot/sdk 2.2.7 → 2.3.1

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 (332) hide show
  1. package/README.md +3 -2
  2. package/definitions/automation-runtime.json +1 -1
  3. package/definitions/automation.json +209 -0
  4. package/definitions/blueprint-manifest-runtime.json +1 -1
  5. package/definitions/blueprint-manifest.json +1279 -150
  6. package/definitions/data-governance-runtime.json +1 -0
  7. package/definitions/data-governance.json +1126 -0
  8. package/definitions/deduplication-runtime.json +1 -1
  9. package/definitions/deduplication.json +135 -4
  10. package/definitions/design-runtime.json +1 -1
  11. package/definitions/design.json +103 -57
  12. package/definitions/email-settings-runtime.json +1 -1
  13. package/definitions/email-settings.json +29 -0
  14. package/definitions/entity.json +44 -2
  15. package/definitions/{erp-integration-runtime.json → integration-toolkit-runtime.json} +1 -1
  16. package/definitions/{erp-integration.json → integration-toolkit.json} +76 -5
  17. package/definitions/journey.json +9 -0
  18. package/definitions/message-runtime.json +1 -1
  19. package/definitions/message.json +202 -0
  20. package/definitions/sharing-runtime.json +1 -0
  21. package/definitions/sharing.json +956 -0
  22. package/definitions/template-variables.json +12 -4
  23. package/definitions/user.json +52 -0
  24. package/definitions/workflow-definition.json +15 -1
  25. package/definitions/workflow-runtime.json +1 -1
  26. package/definitions/workflow.json +102 -0
  27. package/dist/README-KX4XC2HB.js +7 -0
  28. package/dist/README-PTYV6PQI.cjs +7 -0
  29. package/dist/{_index-NWNYWBIF.js → _index-CLT2KTVS.js} +9 -6
  30. package/dist/{_index-ONGE545F.cjs → _index-O7JDGRSE.cjs} +8 -5
  31. package/dist/apis/access-token.cjs +6 -6
  32. package/dist/apis/access-token.js +1 -1
  33. package/dist/apis/address-suggestions.cjs +6 -6
  34. package/dist/apis/address-suggestions.js +1 -1
  35. package/dist/apis/address.cjs +6 -6
  36. package/dist/apis/address.js +1 -1
  37. package/dist/apis/ai-agents.cjs +6 -6
  38. package/dist/apis/ai-agents.js +1 -1
  39. package/dist/apis/app.cjs +6 -6
  40. package/dist/apis/app.js +1 -1
  41. package/dist/apis/audit-logs.cjs +6 -6
  42. package/dist/apis/audit-logs.js +1 -1
  43. package/dist/apis/automation.cjs +8 -8
  44. package/dist/apis/automation.d.cts +2 -2
  45. package/dist/apis/automation.d.ts +2 -2
  46. package/dist/apis/automation.js +2 -2
  47. package/dist/apis/billing.cjs +6 -6
  48. package/dist/apis/billing.js +1 -1
  49. package/dist/apis/blueprint-manifest.cjs +8 -8
  50. package/dist/apis/blueprint-manifest.d.cts +2 -2
  51. package/dist/apis/blueprint-manifest.d.ts +2 -2
  52. package/dist/apis/blueprint-manifest.js +2 -2
  53. package/dist/apis/consent.cjs +6 -6
  54. package/dist/apis/consent.js +1 -1
  55. package/dist/apis/customer-portal.cjs +6 -6
  56. package/dist/apis/customer-portal.js +1 -1
  57. package/dist/apis/dashboard.cjs +6 -6
  58. package/dist/apis/dashboard.js +1 -1
  59. package/dist/apis/data-governance.cjs +38 -0
  60. package/dist/apis/{data-management.d.cts → data-governance.d.cts} +5 -5
  61. package/dist/apis/{data-management.d.ts → data-governance.d.ts} +5 -5
  62. package/dist/apis/{data-management.js → data-governance.js} +10 -10
  63. package/dist/apis/deduplication.cjs +8 -8
  64. package/dist/apis/deduplication.d.cts +2 -2
  65. package/dist/apis/deduplication.d.ts +2 -2
  66. package/dist/apis/deduplication.js +2 -2
  67. package/dist/apis/design.cjs +8 -8
  68. package/dist/apis/design.d.cts +2 -2
  69. package/dist/apis/design.d.ts +2 -2
  70. package/dist/apis/design.js +2 -2
  71. package/dist/apis/document.cjs +6 -6
  72. package/dist/apis/document.js +1 -1
  73. package/dist/apis/email-settings.cjs +8 -8
  74. package/dist/apis/email-settings.d.cts +2 -2
  75. package/dist/apis/email-settings.d.ts +2 -2
  76. package/dist/apis/email-settings.js +2 -2
  77. package/dist/apis/email-template.cjs +6 -6
  78. package/dist/apis/email-template.js +1 -1
  79. package/dist/apis/entity-mapping.cjs +6 -6
  80. package/dist/apis/entity-mapping.js +1 -1
  81. package/dist/apis/entity.cjs +6 -6
  82. package/dist/apis/entity.d.cts +2 -2
  83. package/dist/apis/entity.d.ts +2 -2
  84. package/dist/apis/entity.js +1 -1
  85. package/dist/apis/environments.cjs +6 -6
  86. package/dist/apis/environments.js +1 -1
  87. package/dist/apis/erp-integration.cjs +6 -6
  88. package/dist/apis/erp-integration.d.cts +5755 -3
  89. package/dist/apis/erp-integration.d.ts +5755 -3
  90. package/dist/apis/erp-integration.js +1 -1
  91. package/dist/apis/event-catalog.cjs +6 -6
  92. package/dist/apis/event-catalog.js +1 -1
  93. package/dist/apis/file.cjs +6 -6
  94. package/dist/apis/file.js +1 -1
  95. package/dist/apis/iban.cjs +6 -6
  96. package/dist/apis/iban.js +1 -1
  97. package/dist/apis/integration-toolkit.cjs +38 -0
  98. package/dist/apis/integration-toolkit.d.cts +18 -0
  99. package/dist/apis/integration-toolkit.d.ts +18 -0
  100. package/dist/apis/integration-toolkit.js +38 -0
  101. package/dist/apis/journey.cjs +6 -6
  102. package/dist/apis/journey.d.cts +2 -2
  103. package/dist/apis/journey.d.ts +2 -2
  104. package/dist/apis/journey.js +1 -1
  105. package/dist/apis/kanban.cjs +6 -6
  106. package/dist/apis/kanban.js +1 -1
  107. package/dist/apis/message.cjs +8 -8
  108. package/dist/apis/message.d.cts +2 -2
  109. package/dist/apis/message.d.ts +2 -2
  110. package/dist/apis/message.js +2 -2
  111. package/dist/apis/metering.cjs +6 -6
  112. package/dist/apis/metering.js +1 -1
  113. package/dist/apis/notes.cjs +6 -6
  114. package/dist/apis/notes.js +1 -1
  115. package/dist/apis/notification.cjs +6 -6
  116. package/dist/apis/notification.js +1 -1
  117. package/dist/apis/organization.cjs +6 -6
  118. package/dist/apis/organization.js +1 -1
  119. package/dist/apis/partner-directory.cjs +6 -6
  120. package/dist/apis/partner-directory.js +1 -1
  121. package/dist/apis/permissions.cjs +6 -6
  122. package/dist/apis/permissions.js +1 -1
  123. package/dist/apis/pricing-tier.cjs +6 -6
  124. package/dist/apis/pricing-tier.js +1 -1
  125. package/dist/apis/pricing.cjs +6 -6
  126. package/dist/apis/pricing.js +1 -1
  127. package/dist/apis/purpose.cjs +6 -6
  128. package/dist/apis/purpose.js +1 -1
  129. package/dist/apis/sandbox.cjs +6 -6
  130. package/dist/apis/sandbox.js +1 -1
  131. package/dist/apis/sharing.cjs +38 -0
  132. package/dist/apis/sharing.d.cts +18 -0
  133. package/dist/apis/sharing.d.ts +18 -0
  134. package/dist/apis/sharing.js +38 -0
  135. package/dist/apis/submission.cjs +6 -6
  136. package/dist/apis/submission.js +1 -1
  137. package/dist/apis/targeting.cjs +6 -6
  138. package/dist/apis/targeting.js +1 -1
  139. package/dist/apis/template-variables.cjs +6 -6
  140. package/dist/apis/template-variables.d.cts +2 -2
  141. package/dist/apis/template-variables.d.ts +2 -2
  142. package/dist/apis/template-variables.js +1 -1
  143. package/dist/apis/user.cjs +6 -6
  144. package/dist/apis/user.d.cts +2 -2
  145. package/dist/apis/user.d.ts +2 -2
  146. package/dist/apis/user.js +1 -1
  147. package/dist/apis/validation-rules.cjs +6 -6
  148. package/dist/apis/validation-rules.js +1 -1
  149. package/dist/apis/webhooks.cjs +6 -6
  150. package/dist/apis/webhooks.js +1 -1
  151. package/dist/apis/workflow-definition.cjs +6 -6
  152. package/dist/apis/workflow-definition.d.cts +2 -2
  153. package/dist/apis/workflow-definition.d.ts +2 -2
  154. package/dist/apis/workflow-definition.js +1 -1
  155. package/dist/apis/workflow.cjs +8 -8
  156. package/dist/apis/workflow.d.cts +2 -2
  157. package/dist/apis/workflow.d.ts +2 -2
  158. package/dist/apis/workflow.js +2 -2
  159. package/dist/automation-GFNNLSIN.js +7 -0
  160. package/dist/automation-IOCVCTKR.cjs +7 -0
  161. package/dist/{automation-runtime-YBGGE5PL.cjs → automation-runtime-DO5QSGJJ.cjs} +2 -2
  162. package/dist/{automation-runtime-L5UKEFLA.js → automation-runtime-VP4M7Z4R.js} +1 -1
  163. package/dist/{automation.d-D7BzN7Gq.d.cts → automation.d-CzhG2m4L.d.cts} +353 -3
  164. package/dist/{automation.d-D7BzN7Gq.d.ts → automation.d-CzhG2m4L.d.ts} +353 -3
  165. package/dist/blueprint-manifest-ELK4SGN7.js +7 -0
  166. package/dist/blueprint-manifest-VBOWPK52.cjs +7 -0
  167. package/dist/{blueprint-manifest-runtime-2RTW5C52.js → blueprint-manifest-runtime-E2FN43TB.js} +1 -1
  168. package/dist/{blueprint-manifest-runtime-AF3FIDVX.cjs → blueprint-manifest-runtime-G4UK5VEX.cjs} +2 -2
  169. package/dist/{blueprint-manifest.d-DECw6HdM.d.cts → blueprint-manifest.d-BGrGU787.d.cts} +712 -22
  170. package/dist/{blueprint-manifest.d-DECw6HdM.d.ts → blueprint-manifest.d-BGrGU787.d.ts} +712 -22
  171. package/dist/chunk-5APJZUIH.cjs +14 -0
  172. package/dist/chunk-5ED7FB3Q.js +14 -0
  173. package/dist/{chunk-UNCVJH6J.cjs → chunk-77JS7NDM.cjs} +1 -1
  174. package/dist/{chunk-6UAS2VVG.js → chunk-DLYPVF4U.js} +1 -1
  175. package/dist/chunk-DVM27A7E.cjs +14 -0
  176. package/dist/{chunk-3NLMZLCD.js → chunk-EFWPEVXI.js} +1 -1
  177. package/dist/chunk-EIIIKDOJ.cjs +14 -0
  178. package/dist/{chunk-HAZ3WP7V.cjs → chunk-IAHSYVYB.cjs} +1 -1
  179. package/dist/chunk-JTFWOEZF.cjs +14 -0
  180. package/dist/{chunk-A67W5WAP.cjs → chunk-KEI3GHDY.cjs} +1 -1
  181. package/dist/chunk-KIWRGUKM.js +14 -0
  182. package/dist/{chunk-PSQMDY3B.js → chunk-KQKBSWGI.js} +1 -1
  183. package/dist/chunk-NPDSA7T2.js +14 -0
  184. package/dist/{chunk-ZI33AJQ5.cjs → chunk-QNZPOA54.cjs} +1 -1
  185. package/dist/{chunk-BN6EJPDC.js → chunk-QSEIJWJW.js} +31 -26
  186. package/dist/{chunk-VUVWHQMP.cjs → chunk-TKTSGA7G.cjs} +31 -26
  187. package/dist/chunk-TZQFJ5GX.cjs +14 -0
  188. package/dist/chunk-U4PUHKZC.js +14 -0
  189. package/dist/chunk-VPDA5SAH.js +14 -0
  190. package/dist/chunk-WT26LFC2.js +14 -0
  191. package/dist/{chunk-3YSEO476.js → chunk-X2SC4GW5.js} +1 -1
  192. package/dist/chunk-ZL6KDJFT.cjs +14 -0
  193. package/dist/data-governance-2U5UU4GM.cjs +7 -0
  194. package/dist/data-governance-36Y33JVG.js +7 -0
  195. package/dist/{data-management-W5JQGGGH.js → data-governance-PLS5TJ7Z.js} +3 -3
  196. package/dist/{data-management-XFSRLFYA.cjs → data-governance-ZJ2K4ZWX.cjs} +3 -3
  197. package/dist/data-governance-runtime-LITKCNSG.js +5 -0
  198. package/dist/{data-management-runtime-J5IS7T47.cjs → data-governance-runtime-TDGFG67G.cjs} +2 -2
  199. package/dist/data-governance.d-BbZ466j5.d.cts +1178 -0
  200. package/dist/data-governance.d-BbZ466j5.d.ts +1178 -0
  201. package/dist/deduplication-G2ZY4NMX.js +7 -0
  202. package/dist/deduplication-PKKTZAEA.cjs +7 -0
  203. package/dist/{deduplication-runtime-BBHG7MJW.cjs → deduplication-runtime-5QS6I4S7.cjs} +2 -2
  204. package/dist/{deduplication-runtime-DLGBF4RN.js → deduplication-runtime-VL4R2VIG.js} +1 -1
  205. package/dist/deduplication.d-D5GYddVu.d.cts +218 -0
  206. package/dist/deduplication.d-D5GYddVu.d.ts +218 -0
  207. package/dist/design-NISDHPFD.cjs +7 -0
  208. package/dist/design-WL4AZIGX.js +7 -0
  209. package/dist/design-runtime-OXEXKZVG.cjs +5 -0
  210. package/dist/{design-runtime-3SKJA7QH.js → design-runtime-QMJM4FAF.js} +1 -1
  211. package/dist/{design.d-eA-irKEX.d.ts → design.d-DTo29S0F.d.cts} +142 -15
  212. package/dist/{design.d-eA-irKEX.d.cts → design.d-DTo29S0F.d.ts} +142 -15
  213. package/dist/email-settings-CKFJU4WZ.js +7 -0
  214. package/dist/email-settings-NQJJKS2P.cjs +7 -0
  215. package/dist/{email-settings-runtime-Q2HVKJDS.js → email-settings-runtime-EGIJ2AVQ.js} +1 -1
  216. package/dist/{email-settings-runtime-3NJIAWWI.cjs → email-settings-runtime-WGVLI7N6.cjs} +2 -2
  217. package/dist/{email-settings.d-DUvmLZMN.d.ts → email-settings.d-B7Q_xT25.d.cts} +29 -2
  218. package/dist/{email-settings.d-DUvmLZMN.d.cts → email-settings.d-B7Q_xT25.d.ts} +29 -2
  219. package/dist/entity-CK76MXVN.js +7 -0
  220. package/dist/entity-TFMH5VTZ.cjs +7 -0
  221. package/dist/{entity.d-__Tx1Y0J.d.cts → entity.d-ByufVI16.d.cts} +40 -1
  222. package/dist/{entity.d-__Tx1Y0J.d.ts → entity.d-ByufVI16.d.ts} +40 -1
  223. package/dist/erp-integration-PAVHSUDM.cjs +7 -0
  224. package/dist/erp-integration-SBQJ6HEG.js +7 -0
  225. package/dist/index.cjs +67 -40
  226. package/dist/index.d.cts +36 -34
  227. package/dist/index.d.ts +36 -34
  228. package/dist/index.js +54 -27
  229. package/dist/integration-toolkit-FRPFOYT2.js +7 -0
  230. package/dist/integration-toolkit-VNMDI55O.cjs +7 -0
  231. package/dist/integration-toolkit-runtime-5KG3LGXF.cjs +5 -0
  232. package/dist/integration-toolkit-runtime-LYHFVIRW.js +5 -0
  233. package/dist/{erp-integration.d-B4XPU_j-.d.cts → integration-toolkit.d-Ry-KC9ow.d.cts} +69 -3
  234. package/dist/{erp-integration.d-B4XPU_j-.d.ts → integration-toolkit.d-Ry-KC9ow.d.ts} +69 -3
  235. package/dist/journey-KDR5EU3W.js +7 -0
  236. package/dist/journey-REBN4TGQ.cjs +7 -0
  237. package/dist/{journey.d-BguKXj73.d.cts → journey.d-ClXO0xK8.d.cts} +8 -0
  238. package/dist/{journey.d-BguKXj73.d.ts → journey.d-ClXO0xK8.d.ts} +8 -0
  239. package/dist/message-HCA2KSH6.js +7 -0
  240. package/dist/message-J2SFQJNB.cjs +7 -0
  241. package/dist/{message-runtime-ITR7MPKT.cjs → message-runtime-CGFCT6FU.cjs} +2 -2
  242. package/dist/{message-runtime-YMKW2N3R.js → message-runtime-XDCFFLYK.js} +1 -1
  243. package/dist/{message.d-YEv1kmQd.d.cts → message.d-D3QUkBjg.d.cts} +230 -4
  244. package/dist/{message.d-YEv1kmQd.d.ts → message.d-D3QUkBjg.d.ts} +230 -4
  245. package/dist/sharing-KEWK5LNG.js +976 -0
  246. package/dist/sharing-MNDABPL7.js +7 -0
  247. package/dist/sharing-MR7ANOST.cjs +7 -0
  248. package/dist/sharing-WG4L7LH2.cjs +976 -0
  249. package/dist/sharing-runtime-OZGIZWL3.js +5 -0
  250. package/dist/sharing-runtime-VOFLBIFW.cjs +5 -0
  251. package/dist/sharing.d-sOXq-gtz.d.cts +571 -0
  252. package/dist/sharing.d-sOXq-gtz.d.ts +571 -0
  253. package/dist/{template-variables-VKDJJZUT.js → template-variables-6CLOG67C.js} +13 -0
  254. package/dist/{template-variables-OAYS2E3G.cjs → template-variables-I72B5WS6.cjs} +13 -0
  255. package/dist/{template-variables.d-Ch3H3zYf.d.cts → template-variables.d-Ble9TSBa.d.cts} +8 -2
  256. package/dist/{template-variables.d-Ch3H3zYf.d.ts → template-variables.d-Ble9TSBa.d.ts} +8 -2
  257. package/dist/user-7ZN2XO7G.cjs +7 -0
  258. package/dist/user-ZK7BK6VY.js +7 -0
  259. package/dist/{user.d-CXqM751M.d.cts → user.d-D18fe97W.d.cts} +75 -3
  260. package/dist/{user.d-CXqM751M.d.ts → user.d-D18fe97W.d.ts} +75 -3
  261. package/dist/workflow-CQOBZ25C.cjs +7 -0
  262. package/dist/workflow-G7VFCXY7.js +7 -0
  263. package/dist/workflow-definition-CVBYKAUY.cjs +7 -0
  264. package/dist/workflow-definition-GNAKDNG7.js +7 -0
  265. package/dist/{workflow-definition.d-CtmE-ymB.d.cts → workflow-definition.d-ByCJK9_x.d.cts} +16 -0
  266. package/dist/{workflow-definition.d-CtmE-ymB.d.ts → workflow-definition.d-ByCJK9_x.d.ts} +16 -0
  267. package/dist/{workflow-runtime-RLZO2OQB.js → workflow-runtime-DNTQDYPQ.js} +1 -1
  268. package/dist/{workflow-runtime-WCJ7NRTH.cjs → workflow-runtime-VKFESVFX.cjs} +2 -2
  269. package/dist/{workflow.d-DvhTpEtU.d.cts → workflow.d-pD8ISOg-.d.cts} +73 -1
  270. package/dist/{workflow.d-DvhTpEtU.d.ts → workflow.d-pD8ISOg-.d.ts} +73 -1
  271. package/docs/automation.md +141 -15
  272. package/docs/blueprint-manifest.md +854 -55
  273. package/docs/{data-management.md → data-governance.md} +113 -28
  274. package/docs/deduplication.md +122 -0
  275. package/docs/design.md +140 -82
  276. package/docs/email-settings.md +22 -0
  277. package/docs/entity.md +17 -0
  278. package/docs/erp-integration.md +21 -6
  279. package/docs/integration-toolkit.md +6048 -0
  280. package/docs/journey.md +6 -0
  281. package/docs/message.md +110 -1
  282. package/docs/sharing.md +1181 -0
  283. package/docs/template-variables.md +13 -0
  284. package/docs/user.md +62 -8
  285. package/docs/workflow-definition.md +28 -14
  286. package/docs/workflow.md +231 -30
  287. package/package.json +29 -17
  288. package/definitions/data-management-runtime.json +0 -1
  289. package/definitions/data-management.json +0 -978
  290. package/dist/README-6OOYWQYJ.cjs +0 -7
  291. package/dist/README-JUWX7KNV.js +0 -7
  292. package/dist/apis/data-management.cjs +0 -38
  293. package/dist/automation-3HGCK725.cjs +0 -7
  294. package/dist/automation-72VGEJCY.js +0 -7
  295. package/dist/blueprint-manifest-CXSCRQ5X.js +0 -7
  296. package/dist/blueprint-manifest-SHNZPK5O.cjs +0 -7
  297. package/dist/chunk-4BCQGZJB.cjs +0 -14
  298. package/dist/chunk-4G6LO3JY.cjs +0 -14
  299. package/dist/chunk-6GC363VV.js +0 -14
  300. package/dist/chunk-75ZWZM3L.js +0 -14
  301. package/dist/chunk-D32L2HMX.cjs +0 -14
  302. package/dist/chunk-O4JDWMYD.js +0 -14
  303. package/dist/chunk-RXMOHUBP.cjs +0 -14
  304. package/dist/chunk-ZKQ573B7.js +0 -14
  305. package/dist/data-management-3N3A3XBM.js +0 -7
  306. package/dist/data-management-YXFLQWLV.cjs +0 -7
  307. package/dist/data-management-runtime-DN7FGK7G.js +0 -5
  308. package/dist/data-management.d-BXS5jbJY.d.cts +0 -547
  309. package/dist/data-management.d-BXS5jbJY.d.ts +0 -547
  310. package/dist/deduplication-ECVAZVVA.cjs +0 -7
  311. package/dist/deduplication-GYIST22B.js +0 -7
  312. package/dist/deduplication.d-w_2aJD5f.d.cts +0 -113
  313. package/dist/deduplication.d-w_2aJD5f.d.ts +0 -113
  314. package/dist/design-KUVXMFFK.cjs +0 -7
  315. package/dist/design-YKBXRW5C.js +0 -7
  316. package/dist/design-runtime-Y3VGTQLP.cjs +0 -5
  317. package/dist/email-settings-EJ3DCPPN.js +0 -7
  318. package/dist/email-settings-TALOPLBC.cjs +0 -7
  319. package/dist/entity-M5F22DSS.cjs +0 -7
  320. package/dist/entity-RT4YRZDG.js +0 -7
  321. package/dist/erp-integration-76K5HOGL.js +0 -7
  322. package/dist/erp-integration-A33WOGPF.cjs +0 -7
  323. package/dist/journey-HKN7QXCZ.cjs +0 -7
  324. package/dist/journey-UBZCOJNW.js +0 -7
  325. package/dist/message-3XZLJR6R.cjs +0 -7
  326. package/dist/message-ZNMCS5YH.js +0 -7
  327. package/dist/user-EIEOI3OG.js +0 -7
  328. package/dist/user-NJJ7XVKB.cjs +0 -7
  329. package/dist/workflow-3LLURW3H.js +0 -7
  330. package/dist/workflow-RAGQDYXT.cjs +0 -7
  331. package/dist/workflow-definition-MBOMPMCG.js +0 -7
  332. package/dist/workflow-definition-SPAHD3HS.cjs +0 -7
@@ -0,0 +1,1178 @@
1
+ import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
+
3
+ /* Auto-copied from data-governance-client */
4
+
5
+
6
+ declare namespace Components {
7
+ namespace Schemas {
8
+ /**
9
+ * A data lifecycle config defining an automated policy (e.g., scheduled
10
+ * entity deletion) for a specific entity schema.
11
+ *
12
+ */
13
+ export interface Config {
14
+ /**
15
+ * Unique identifier of the config.
16
+ */
17
+ id: string;
18
+ /**
19
+ * Governance action type. Currently only `deletion` is supported.
20
+ */
21
+ type: /**
22
+ * The governance action type. Determines what operation is performed on
23
+ * matched entities when a job runs. Currently only `deletion` is supported.
24
+ *
25
+ */
26
+ ConfigType;
27
+ /**
28
+ * Entity schema slug this config targets.
29
+ */
30
+ entity_schema: string;
31
+ query: /**
32
+ * Defines the query used by a data lifecycle config to identify target
33
+ * entities. Combines a saved view with optional governance filters.
34
+ *
35
+ */
36
+ QueryConfig;
37
+ schedule?: /* Schedule definition controlling when a data lifecycle config runs. */ ConfigSchedule;
38
+ /**
39
+ * Whether this config is currently active.
40
+ */
41
+ enabled?: boolean;
42
+ /**
43
+ * ISO 8601 timestamp when the config was created.
44
+ */
45
+ created_at?: string; // date-time
46
+ /**
47
+ * ISO 8601 timestamp of the most recent update.
48
+ */
49
+ last_updated_at?: string; // date-time
50
+ /**
51
+ * Next scheduled run date (`YYYY-MM-DD`). Computed from the schedule
52
+ * after each job run.
53
+ *
54
+ */
55
+ next_run_at?: string; // date
56
+ /**
57
+ * Related entity schemas whose entities will also be deleted
58
+ * alongside the primary entity.
59
+ *
60
+ */
61
+ relations_for_deletion?: /**
62
+ * Entity schema slug that can be specified as a cascading deletion
63
+ * target. When a primary entity is deleted, related entities of these
64
+ * schemas are also removed.
65
+ *
66
+ */
67
+ DeletionRelationEntitySchema[];
68
+ /**
69
+ * ISO 8601 timestamp of the most recent job run.
70
+ */
71
+ last_run_at?: string; // date-time
72
+ }
73
+ /**
74
+ * Schedule definition controlling when a data lifecycle config runs.
75
+ */
76
+ export type ConfigSchedule = /**
77
+ * Interval-based schedule. The governance engine will create a job every
78
+ * `interval_days` days, optionally bounded by start and end dates.
79
+ *
80
+ */
81
+ IntervalConfigSchedule;
82
+ /**
83
+ * The governance action type. Determines what operation is performed on
84
+ * matched entities when a job runs. Currently only `deletion` is supported.
85
+ *
86
+ */
87
+ export type ConfigType = "deletion";
88
+ /**
89
+ * Request payload for creating a new job run.
90
+ */
91
+ export interface CreateJobRequest {
92
+ type: /**
93
+ * The governance action type. Determines what operation is performed on
94
+ * matched entities when a job runs. Currently only `deletion` is supported.
95
+ *
96
+ */
97
+ ConfigType;
98
+ /**
99
+ * ID of the data lifecycle config this job executes.
100
+ */
101
+ config_id: string;
102
+ /**
103
+ * The date this job is scheduled to process (format `YYYY-MM-DD`).
104
+ */
105
+ scheduled_for: string; // date
106
+ status?: /**
107
+ * Current execution status of a job run.
108
+ * - `in_progress` — the job is actively processing entities.
109
+ * - `success` — the job completed without critical errors.
110
+ * - `failed` — the job terminated due to an error.
111
+ *
112
+ */
113
+ JobStatus;
114
+ /**
115
+ * ISO 8601 timestamp marking when execution began.
116
+ */
117
+ started_at?: string; // date-time
118
+ }
119
+ /**
120
+ * Entity schema slug that can be specified as a cascading deletion
121
+ * target. When a primary entity is deleted, related entities of these
122
+ * schemas are also removed.
123
+ *
124
+ */
125
+ export type DeletionRelationEntitySchema = "contact" | "file" | "opportunity" | "order" | "meter" | "ticket" | "message" | "account" | "submission" | "contract";
126
+ /**
127
+ * Interval-based schedule. The governance engine will create a job every
128
+ * `interval_days` days, optionally bounded by start and end dates.
129
+ *
130
+ */
131
+ export interface IntervalConfigSchedule {
132
+ /**
133
+ * Schedule type. Currently only `interval` is supported.
134
+ */
135
+ frequency: "interval";
136
+ /**
137
+ * Number of days between consecutive job runs.
138
+ */
139
+ interval_days: number;
140
+ /**
141
+ * Earliest date (`YYYY-MM-DD`) the schedule is active. If omitted,
142
+ * the schedule starts immediately.
143
+ *
144
+ */
145
+ start_date?: string; // date
146
+ /**
147
+ * Latest date (`YYYY-MM-DD`) the schedule is active. If omitted,
148
+ * the schedule runs indefinitely.
149
+ *
150
+ */
151
+ end_date?: string; // date
152
+ }
153
+ /**
154
+ * Represents a single execution run of a data lifecycle config. Tracks the
155
+ * full lifecycle from creation through completion, including outcome
156
+ * details and an optional downloadable report.
157
+ *
158
+ */
159
+ export interface Job {
160
+ /**
161
+ * Unique identifier of the job.
162
+ */
163
+ id: string;
164
+ type: /**
165
+ * The governance action type. Determines what operation is performed on
166
+ * matched entities when a job runs. Currently only `deletion` is supported.
167
+ *
168
+ */
169
+ ConfigType;
170
+ /**
171
+ * ID of the data lifecycle config this job was created from.
172
+ */
173
+ config_id: string;
174
+ /**
175
+ * Entity schema slug this job operates on.
176
+ */
177
+ entity_schema: string;
178
+ /**
179
+ * The date this job was scheduled to process (`YYYY-MM-DD`).
180
+ */
181
+ scheduled_for: string; // date
182
+ status: /**
183
+ * Current execution status of a job run.
184
+ * - `in_progress` — the job is actively processing entities.
185
+ * - `success` — the job completed without critical errors.
186
+ * - `failed` — the job terminated due to an error.
187
+ *
188
+ */
189
+ JobStatus;
190
+ details?: /**
191
+ * Type-specific job outcome payload. The shape depends on the config type.
192
+ * For `deletion` jobs, typical fields include:
193
+ * - `matched_count` — total entities matched by the query
194
+ * - `deleted_count` — entities successfully deleted
195
+ * - `failed_count` — entities that could not be deleted
196
+ *
197
+ */
198
+ JobDetails;
199
+ /**
200
+ * ISO 8601 timestamp when execution started.
201
+ */
202
+ started_at?: string; // date-time
203
+ /**
204
+ * ISO 8601 timestamp when execution finished.
205
+ */
206
+ completed_at?: string; // date-time
207
+ /**
208
+ * Error message if the job failed.
209
+ */
210
+ error?: string;
211
+ report?: /**
212
+ * Reference to a report file stored in S3 that details the outcome of a
213
+ * job run (e.g., which entities were deleted or failed).
214
+ *
215
+ */
216
+ JobReport;
217
+ /**
218
+ * ISO 8601 timestamp when the job record was created.
219
+ */
220
+ created_at: string; // date-time
221
+ /**
222
+ * ISO 8601 timestamp of the most recent update to this job.
223
+ */
224
+ last_updated_at: string; // date-time
225
+ trigger?: /**
226
+ * Indicates how the job was initiated.
227
+ * - `schedule` — automatically created by the background scheduler.
228
+ * - `manual` — explicitly triggered by a user via the API.
229
+ *
230
+ */
231
+ JobTrigger;
232
+ /**
233
+ * Identifier of the user who triggered the job. Set when
234
+ * `trigger` is `manual`; `null` for scheduled jobs.
235
+ *
236
+ */
237
+ triggered_by?: string | null;
238
+ }
239
+ /**
240
+ * Type-specific job outcome payload. The shape depends on the config type.
241
+ * For `deletion` jobs, typical fields include:
242
+ * - `matched_count` — total entities matched by the query
243
+ * - `deleted_count` — entities successfully deleted
244
+ * - `failed_count` — entities that could not be deleted
245
+ *
246
+ */
247
+ export interface JobDetails {
248
+ [name: string]: any;
249
+ }
250
+ /**
251
+ * Reference to a report file stored in S3 that details the outcome of a
252
+ * job run (e.g., which entities were deleted or failed).
253
+ *
254
+ */
255
+ export interface JobReport {
256
+ /**
257
+ * S3 bucket where the report file is stored.
258
+ */
259
+ bucket?: string;
260
+ /**
261
+ * S3 object key of the report file.
262
+ */
263
+ key?: string;
264
+ format?: /* File format of the job report. Currently only CSV is supported. */ JobReportFormat;
265
+ }
266
+ /**
267
+ * File format of the job report. Currently only CSV is supported.
268
+ */
269
+ export type JobReportFormat = "csv";
270
+ /**
271
+ * Contains a time-limited pre-signed URL to download a job report.
272
+ */
273
+ export interface JobReportUrlResponse {
274
+ /**
275
+ * Pre-signed S3 URL for downloading the report file.
276
+ */
277
+ url?: string;
278
+ /**
279
+ * Number of seconds until the pre-signed URL expires.
280
+ */
281
+ expires_in?: number;
282
+ }
283
+ /**
284
+ * Current execution status of a job run.
285
+ * - `in_progress` — the job is actively processing entities.
286
+ * - `success` — the job completed without critical errors.
287
+ * - `failed` — the job terminated due to an error.
288
+ *
289
+ */
290
+ export type JobStatus = "in_progress" | "success" | "failed";
291
+ /**
292
+ * Indicates how the job was initiated.
293
+ * - `schedule` — automatically created by the background scheduler.
294
+ * - `manual` — explicitly triggered by a user via the API.
295
+ *
296
+ */
297
+ export type JobTrigger = "schedule" | "manual";
298
+ /**
299
+ * Paginated response containing a list of data lifecycle configs.
300
+ */
301
+ export interface ListConfigsResponse {
302
+ /**
303
+ * Array of config records for the current page.
304
+ */
305
+ configs?: /**
306
+ * A data lifecycle config defining an automated policy (e.g., scheduled
307
+ * entity deletion) for a specific entity schema.
308
+ *
309
+ */
310
+ Config[];
311
+ /**
312
+ * Opaque cursor for fetching the next page. `null` when there are
313
+ * no more results.
314
+ *
315
+ */
316
+ cursor?: string | null;
317
+ }
318
+ /**
319
+ * Paginated response containing a list of job runs.
320
+ */
321
+ export interface ListJobsResponse {
322
+ /**
323
+ * Array of job records for the current page.
324
+ */
325
+ jobs?: /**
326
+ * Represents a single execution run of a data lifecycle config. Tracks the
327
+ * full lifecycle from creation through completion, including outcome
328
+ * details and an optional downloadable report.
329
+ *
330
+ */
331
+ Job[];
332
+ /**
333
+ * Opaque cursor for fetching the next page. `null` when there are
334
+ * no more results.
335
+ *
336
+ */
337
+ cursor?: string | null;
338
+ }
339
+ /**
340
+ * Defines the query used by a data lifecycle config to identify target
341
+ * entities. Combines a saved view with optional governance filters.
342
+ *
343
+ */
344
+ export interface QueryConfig {
345
+ /**
346
+ * ID of the saved view that provides the base entity query.
347
+ */
348
+ saved_view_id: string;
349
+ /**
350
+ * Controls whether soft-deleted entities are included:
351
+ * - `true` — include both active and deleted entities
352
+ * - `false` — exclude deleted entities (default)
353
+ * - `only` — return only deleted entities
354
+ *
355
+ */
356
+ include_deleted?: "true" | "false" | "only";
357
+ /**
358
+ * Additional data governance filters layered on top of the saved view
359
+ * to further narrow the set of matched entities.
360
+ *
361
+ */
362
+ filters?: /**
363
+ * A single governance filter condition applied during entity querying.
364
+ * The required and optional fields depend on the `type`.
365
+ *
366
+ */
367
+ QueryFilter[];
368
+ }
369
+ /**
370
+ * Request body for the query endpoint. Extends `QueryConfig` with
371
+ * pagination and projection options.
372
+ *
373
+ */
374
+ export interface QueryEntitiesRequest {
375
+ /**
376
+ * ID of the saved view that provides the base entity query.
377
+ */
378
+ saved_view_id: string;
379
+ /**
380
+ * Controls whether soft-deleted entities are included:
381
+ * - `true` — include both active and deleted entities
382
+ * - `false` — exclude deleted entities (default)
383
+ * - `only` — return only deleted entities
384
+ *
385
+ */
386
+ include_deleted?: "true" | "false" | "only";
387
+ /**
388
+ * Additional data governance filters layered on top of the saved view
389
+ * to further narrow the set of matched entities.
390
+ *
391
+ */
392
+ filters?: /**
393
+ * A single governance filter condition applied during entity querying.
394
+ * The required and optional fields depend on the `type`.
395
+ *
396
+ */
397
+ QueryFilter[];
398
+ /**
399
+ * Zero-based offset for pagination.
400
+ */
401
+ from?: number;
402
+ /**
403
+ * Maximum number of results to return.
404
+ */
405
+ size?: number;
406
+ /**
407
+ * When `true`, return full entity payloads. When `false` (default),
408
+ * return only entity IDs and minimal metadata.
409
+ *
410
+ */
411
+ hydrate?: boolean;
412
+ /**
413
+ * List of entity attribute names to include in the response.
414
+ * Acts as a projection to reduce payload size.
415
+ *
416
+ */
417
+ fields?: string[];
418
+ }
419
+ /**
420
+ * Response from the entity query endpoint.
421
+ */
422
+ export interface QueryEntitiesResult {
423
+ /**
424
+ * Total number of entities matching the query.
425
+ */
426
+ hits?: number;
427
+ /**
428
+ * Array of matched entity objects. Shape depends on the `hydrate`
429
+ * and `fields` options in the request.
430
+ *
431
+ */
432
+ results?: {
433
+ [name: string]: any;
434
+ }[];
435
+ }
436
+ /**
437
+ * A single governance filter condition applied during entity querying.
438
+ * The required and optional fields depend on the `type`.
439
+ *
440
+ */
441
+ export interface QueryFilter {
442
+ type: /**
443
+ * Predefined data governance filter types that can be layered on top of
444
+ * a saved view to narrow down target entities:
445
+ * - `entity_workflows_only_in_closed_or_cancelled_status` — include only
446
+ * entities whose own workflows are all in a closed/cancelled state.
447
+ * - `no_related_entities` — include only entities with no related entities
448
+ * of the specified schemas.
449
+ * - `related_entities_all_in_closed_or_cancelled_status` — include only
450
+ * entities whose related entities are all closed or cancelled.
451
+ * - `related_entities_workflows_only_in_closed_or_cancelled_status` —
452
+ * include only entities whose related entities' workflows are all
453
+ * closed or cancelled.
454
+ * - `no_email_communication_since` — include only entities with no email
455
+ * communication (sent or received) within the lookback period.
456
+ *
457
+ */
458
+ QueryFilterType;
459
+ /**
460
+ * Entity schema slugs to consider when evaluating relationship-based
461
+ * filters (e.g. `no_related_entities`).
462
+ *
463
+ */
464
+ related_entity_schemas?: string[];
465
+ /**
466
+ * Number of days to look back when evaluating time-based filters
467
+ * such as `no_email_communication_since`.
468
+ *
469
+ */
470
+ lookback_period_days?: number;
471
+ /**
472
+ * Email message direction(s) to consider. Applicable to
473
+ * `no_email_communication_since`.
474
+ *
475
+ */
476
+ message_type?: ("SENT" | "RECEIVED")[];
477
+ /**
478
+ * Workflow statuses considered "terminal" for workflow-based filters.
479
+ *
480
+ */
481
+ workflow_status?: ("CLOSED" | "DONE")[];
482
+ }
483
+ /**
484
+ * Predefined data governance filter types that can be layered on top of
485
+ * a saved view to narrow down target entities:
486
+ * - `entity_workflows_only_in_closed_or_cancelled_status` — include only
487
+ * entities whose own workflows are all in a closed/cancelled state.
488
+ * - `no_related_entities` — include only entities with no related entities
489
+ * of the specified schemas.
490
+ * - `related_entities_all_in_closed_or_cancelled_status` — include only
491
+ * entities whose related entities are all closed or cancelled.
492
+ * - `related_entities_workflows_only_in_closed_or_cancelled_status` —
493
+ * include only entities whose related entities' workflows are all
494
+ * closed or cancelled.
495
+ * - `no_email_communication_since` — include only entities with no email
496
+ * communication (sent or received) within the lookback period.
497
+ *
498
+ */
499
+ export type QueryFilterType = "entity_workflows_only_in_closed_or_cancelled_status" | "no_related_entities" | "related_entities_all_in_closed_or_cancelled_status" | "related_entities_workflows_only_in_closed_or_cancelled_status" | "no_email_communication_since";
500
+ /**
501
+ * Partial update payload for an existing job. Only the fields provided
502
+ * will be merged into the job record.
503
+ *
504
+ */
505
+ export interface UpdateJobRequest {
506
+ status?: /**
507
+ * Current execution status of a job run.
508
+ * - `in_progress` — the job is actively processing entities.
509
+ * - `success` — the job completed without critical errors.
510
+ * - `failed` — the job terminated due to an error.
511
+ *
512
+ */
513
+ JobStatus;
514
+ details?: /**
515
+ * Type-specific job outcome payload. The shape depends on the config type.
516
+ * For `deletion` jobs, typical fields include:
517
+ * - `matched_count` — total entities matched by the query
518
+ * - `deleted_count` — entities successfully deleted
519
+ * - `failed_count` — entities that could not be deleted
520
+ *
521
+ */
522
+ JobDetails;
523
+ /**
524
+ * ISO 8601 timestamp marking when the job finished.
525
+ */
526
+ completed_at?: string; // date-time
527
+ /**
528
+ * Human-readable error message if the job failed.
529
+ */
530
+ error?: string;
531
+ report?: /**
532
+ * Reference to a report file stored in S3 that details the outcome of a
533
+ * job run (e.g., which entities were deleted or failed).
534
+ *
535
+ */
536
+ JobReport;
537
+ }
538
+ /**
539
+ * Request payload for creating or updating a data lifecycle config.
540
+ */
541
+ export interface UpsertConfigRequest {
542
+ type: /**
543
+ * The governance action type. Determines what operation is performed on
544
+ * matched entities when a job runs. Currently only `deletion` is supported.
545
+ *
546
+ */
547
+ ConfigType;
548
+ query: /**
549
+ * Defines the query used by a data lifecycle config to identify target
550
+ * entities. Combines a saved view with optional governance filters.
551
+ *
552
+ */
553
+ QueryConfig;
554
+ schedule: /* Schedule definition controlling when a data lifecycle config runs. */ ConfigSchedule;
555
+ /**
556
+ * Entity schemas whose related entities should also be deleted
557
+ * when the primary entity is removed. Only applicable when `type`
558
+ * is `deletion`.
559
+ *
560
+ */
561
+ relations_for_deletion?: /**
562
+ * Entity schema slug that can be specified as a cascading deletion
563
+ * target. When a primary entity is deleted, related entities of these
564
+ * schemas are also removed.
565
+ *
566
+ */
567
+ DeletionRelationEntitySchema[];
568
+ /**
569
+ * Whether this config is active and should be evaluated on schedule.
570
+ */
571
+ enabled?: boolean;
572
+ }
573
+ }
574
+ }
575
+ declare namespace Paths {
576
+ namespace CreateJob {
577
+ namespace Parameters {
578
+ export type EntitySchema = string;
579
+ }
580
+ export interface PathParameters {
581
+ entity_schema: Parameters.EntitySchema;
582
+ }
583
+ export type RequestBody = /* Request payload for creating a new job run. */ Components.Schemas.CreateJobRequest;
584
+ namespace Responses {
585
+ export type $201 = /**
586
+ * Represents a single execution run of a data lifecycle config. Tracks the
587
+ * full lifecycle from creation through completion, including outcome
588
+ * details and an optional downloadable report.
589
+ *
590
+ */
591
+ Components.Schemas.Job;
592
+ export interface $400 {
593
+ }
594
+ export interface $401 {
595
+ }
596
+ export interface $404 {
597
+ }
598
+ }
599
+ }
600
+ namespace CreateJobForConfig {
601
+ namespace Parameters {
602
+ export type ConfigId = string;
603
+ }
604
+ export interface PathParameters {
605
+ config_id: Parameters.ConfigId;
606
+ }
607
+ namespace Responses {
608
+ export type $201 = /**
609
+ * Represents a single execution run of a data lifecycle config. Tracks the
610
+ * full lifecycle from creation through completion, including outcome
611
+ * details and an optional downloadable report.
612
+ *
613
+ */
614
+ Components.Schemas.Job;
615
+ export interface $401 {
616
+ }
617
+ export interface $404 {
618
+ }
619
+ }
620
+ }
621
+ namespace GetConfig {
622
+ namespace Parameters {
623
+ export type ConfigId = string;
624
+ }
625
+ export interface PathParameters {
626
+ config_id: Parameters.ConfigId;
627
+ }
628
+ namespace Responses {
629
+ export type $200 = /**
630
+ * A data lifecycle config defining an automated policy (e.g., scheduled
631
+ * entity deletion) for a specific entity schema.
632
+ *
633
+ */
634
+ Components.Schemas.Config;
635
+ export interface $401 {
636
+ }
637
+ export interface $404 {
638
+ }
639
+ }
640
+ }
641
+ namespace GetJob {
642
+ namespace Parameters {
643
+ export type JobId = string;
644
+ }
645
+ export interface PathParameters {
646
+ job_id: Parameters.JobId;
647
+ }
648
+ namespace Responses {
649
+ export type $200 = /**
650
+ * Represents a single execution run of a data lifecycle config. Tracks the
651
+ * full lifecycle from creation through completion, including outcome
652
+ * details and an optional downloadable report.
653
+ *
654
+ */
655
+ Components.Schemas.Job;
656
+ export interface $401 {
657
+ }
658
+ export interface $404 {
659
+ }
660
+ }
661
+ }
662
+ namespace GetJobReportUrl {
663
+ namespace Parameters {
664
+ export type JobId = string;
665
+ }
666
+ export interface PathParameters {
667
+ job_id: Parameters.JobId;
668
+ }
669
+ namespace Responses {
670
+ export type $200 = /* Contains a time-limited pre-signed URL to download a job report. */ Components.Schemas.JobReportUrlResponse;
671
+ export interface $401 {
672
+ }
673
+ export interface $404 {
674
+ }
675
+ }
676
+ }
677
+ namespace ListConfigs {
678
+ namespace Parameters {
679
+ export type Cursor = string;
680
+ export type Enabled = boolean;
681
+ export type EntitySchema = string;
682
+ export type Limit = number;
683
+ export type NextRunAt = string; // date
684
+ export type Type = /**
685
+ * The governance action type. Determines what operation is performed on
686
+ * matched entities when a job runs. Currently only `deletion` is supported.
687
+ *
688
+ */
689
+ Components.Schemas.ConfigType;
690
+ }
691
+ export interface QueryParameters {
692
+ limit?: Parameters.Limit;
693
+ cursor?: Parameters.Cursor;
694
+ entity_schema?: Parameters.EntitySchema;
695
+ type?: Parameters.Type;
696
+ next_run_at?: Parameters.NextRunAt /* date */;
697
+ enabled?: Parameters.Enabled;
698
+ }
699
+ namespace Responses {
700
+ export type $200 = /* Paginated response containing a list of data lifecycle configs. */ Components.Schemas.ListConfigsResponse;
701
+ export interface $401 {
702
+ }
703
+ }
704
+ }
705
+ namespace ListJobs {
706
+ namespace Parameters {
707
+ export type ConfigId = string;
708
+ export type Cursor = string;
709
+ export type EntitySchema = string;
710
+ export type Limit = number;
711
+ export type Status = /**
712
+ * Current execution status of a job run.
713
+ * - `in_progress` — the job is actively processing entities.
714
+ * - `success` — the job completed without critical errors.
715
+ * - `failed` — the job terminated due to an error.
716
+ *
717
+ */
718
+ Components.Schemas.JobStatus;
719
+ export type Type = /**
720
+ * The governance action type. Determines what operation is performed on
721
+ * matched entities when a job runs. Currently only `deletion` is supported.
722
+ *
723
+ */
724
+ Components.Schemas.ConfigType;
725
+ }
726
+ export interface QueryParameters {
727
+ limit?: Parameters.Limit;
728
+ cursor?: Parameters.Cursor;
729
+ entity_schema?: Parameters.EntitySchema;
730
+ type?: Parameters.Type;
731
+ status?: Parameters.Status;
732
+ config_id?: Parameters.ConfigId;
733
+ }
734
+ namespace Responses {
735
+ export type $200 = /* Paginated response containing a list of job runs. */ Components.Schemas.ListJobsResponse;
736
+ export interface $401 {
737
+ }
738
+ }
739
+ }
740
+ namespace QueryEntities {
741
+ namespace Parameters {
742
+ export type EntitySchema = string;
743
+ }
744
+ export interface PathParameters {
745
+ entity_schema: Parameters.EntitySchema;
746
+ }
747
+ export type RequestBody = /**
748
+ * Request body for the query endpoint. Extends `QueryConfig` with
749
+ * pagination and projection options.
750
+ *
751
+ */
752
+ Components.Schemas.QueryEntitiesRequest;
753
+ namespace Responses {
754
+ export type $200 = /* Response from the entity query endpoint. */ Components.Schemas.QueryEntitiesResult;
755
+ export interface $400 {
756
+ }
757
+ export interface $401 {
758
+ }
759
+ export interface $403 {
760
+ }
761
+ }
762
+ }
763
+ namespace UpdateJob {
764
+ namespace Parameters {
765
+ export type EntitySchema = string;
766
+ export type JobId = string;
767
+ }
768
+ export interface PathParameters {
769
+ entity_schema: Parameters.EntitySchema;
770
+ job_id: Parameters.JobId;
771
+ }
772
+ export type RequestBody = /**
773
+ * Partial update payload for an existing job. Only the fields provided
774
+ * will be merged into the job record.
775
+ *
776
+ */
777
+ Components.Schemas.UpdateJobRequest;
778
+ namespace Responses {
779
+ export type $200 = /**
780
+ * Represents a single execution run of a data lifecycle config. Tracks the
781
+ * full lifecycle from creation through completion, including outcome
782
+ * details and an optional downloadable report.
783
+ *
784
+ */
785
+ Components.Schemas.Job;
786
+ export interface $401 {
787
+ }
788
+ export interface $404 {
789
+ }
790
+ }
791
+ }
792
+ namespace UpsertConfig {
793
+ namespace Parameters {
794
+ export type EntitySchema = string;
795
+ }
796
+ export interface PathParameters {
797
+ entity_schema: Parameters.EntitySchema;
798
+ }
799
+ export type RequestBody = /* Request payload for creating or updating a data lifecycle config. */ Components.Schemas.UpsertConfigRequest;
800
+ namespace Responses {
801
+ export type $200 = /**
802
+ * A data lifecycle config defining an automated policy (e.g., scheduled
803
+ * entity deletion) for a specific entity schema.
804
+ *
805
+ */
806
+ Components.Schemas.Config;
807
+ export type $201 = /**
808
+ * A data lifecycle config defining an automated policy (e.g., scheduled
809
+ * entity deletion) for a specific entity schema.
810
+ *
811
+ */
812
+ Components.Schemas.Config;
813
+ export interface $400 {
814
+ }
815
+ export interface $401 {
816
+ }
817
+ }
818
+ }
819
+ }
820
+
821
+
822
+ interface OperationMethods {
823
+ /**
824
+ * queryEntities - Query entities matching a data lifecycle config
825
+ *
826
+ * Executes a query against the specified entity schema using a saved view
827
+ * definition, optionally combined with additional data governance filters.
828
+ *
829
+ * This endpoint is typically used to **preview** which entities would be
830
+ * affected by a data lifecycle config before it runs. The response includes
831
+ * the total hit count and (optionally hydrated) entity results.
832
+ *
833
+ * Pagination is supported via `from` and `size` in the request body.
834
+ *
835
+ */
836
+ 'queryEntities'(
837
+ parameters?: Parameters<Paths.QueryEntities.PathParameters> | null,
838
+ data?: Paths.QueryEntities.RequestBody,
839
+ config?: AxiosRequestConfig
840
+ ): OperationResponse<Paths.QueryEntities.Responses.$200>
841
+ /**
842
+ * createJob - Create a new job run
843
+ *
844
+ * Creates a new job run for the given entity schema. The job is associated
845
+ * with an existing config and records the scheduled execution date.
846
+ *
847
+ * This is a low-level endpoint used internally by the scheduler. For
848
+ * manually triggering a config execution, prefer
849
+ * `POST /data-governance/v1/configs/{config_id}/jobs`.
850
+ *
851
+ */
852
+ 'createJob'(
853
+ parameters?: Parameters<Paths.CreateJob.PathParameters> | null,
854
+ data?: Paths.CreateJob.RequestBody,
855
+ config?: AxiosRequestConfig
856
+ ): OperationResponse<Paths.CreateJob.Responses.$201>
857
+ /**
858
+ * updateJob - Update an existing job run
859
+ *
860
+ * Partially updates an existing job run. Typically used to record
861
+ * progress or finalize a job by setting its status to `success` or
862
+ * `failed`, attaching details, error messages, or a report reference.
863
+ *
864
+ */
865
+ 'updateJob'(
866
+ parameters?: Parameters<Paths.UpdateJob.PathParameters> | null,
867
+ data?: Paths.UpdateJob.RequestBody,
868
+ config?: AxiosRequestConfig
869
+ ): OperationResponse<Paths.UpdateJob.Responses.$200>
870
+ /**
871
+ * getJob - Get a job by ID
872
+ *
873
+ * Returns full details of a single job run, including its current status,
874
+ * execution timestamps, type-specific details, and report reference
875
+ * (if available).
876
+ *
877
+ */
878
+ 'getJob'(
879
+ parameters?: Parameters<Paths.GetJob.PathParameters> | null,
880
+ data?: any,
881
+ config?: AxiosRequestConfig
882
+ ): OperationResponse<Paths.GetJob.Responses.$200>
883
+ /**
884
+ * getJobReportUrl - Get report download URL for a job
885
+ *
886
+ * Returns a short-lived, pre-signed S3 URL to download the CSV report
887
+ * file for the given job. The URL expires after the number of seconds
888
+ * indicated in the `expires_in` field.
889
+ *
890
+ * A report is only available after a job has completed. If the job is
891
+ * still in progress or did not produce a report, a 404 is returned.
892
+ *
893
+ */
894
+ 'getJobReportUrl'(
895
+ parameters?: Parameters<Paths.GetJobReportUrl.PathParameters> | null,
896
+ data?: any,
897
+ config?: AxiosRequestConfig
898
+ ): OperationResponse<Paths.GetJobReportUrl.Responses.$200>
899
+ /**
900
+ * getConfig - Get a config by ID
901
+ *
902
+ * Returns a single data data lifecycle config by its unique identifier,
903
+ * including its query definition, schedule, and current enabled state.
904
+ *
905
+ */
906
+ 'getConfig'(
907
+ parameters?: Parameters<Paths.GetConfig.PathParameters> | null,
908
+ data?: any,
909
+ config?: AxiosRequestConfig
910
+ ): OperationResponse<Paths.GetConfig.Responses.$200>
911
+ /**
912
+ * createJobForConfig - Trigger a manual job run for a config
913
+ *
914
+ * Manually triggers a new job run for the specified config. The job is
915
+ * created and queued for asynchronous execution.
916
+ *
917
+ * Returns the newly created job, whose `id` can be used to poll status
918
+ * via `GET /data-governance/v1/jobs/{job_id}`.
919
+ *
920
+ * The job's `trigger` field will be set to `manual` and `triggered_by`
921
+ * will contain the authenticated user's identifier.
922
+ *
923
+ */
924
+ 'createJobForConfig'(
925
+ parameters?: Parameters<Paths.CreateJobForConfig.PathParameters> | null,
926
+ data?: any,
927
+ config?: AxiosRequestConfig
928
+ ): OperationResponse<Paths.CreateJobForConfig.Responses.$201>
929
+ /**
930
+ * upsertConfig - Create or update a data lifecycle config
931
+ *
932
+ * Creates a new data lifecycle config or updates an existing one for the
933
+ * given entity schema. The config defines:
934
+ * - A **query** (saved view + optional filters) to identify target entities
935
+ * - A **schedule** controlling how often the policy runs
936
+ * - An **action type** (currently only `deletion`)
937
+ *
938
+ * Once created and enabled, the config is evaluated on its schedule by a
939
+ * background process that creates job runs automatically.
940
+ *
941
+ * Returns `201` when a new config is created, `200` when an existing
942
+ * config is updated.
943
+ *
944
+ */
945
+ 'upsertConfig'(
946
+ parameters?: Parameters<Paths.UpsertConfig.PathParameters> | null,
947
+ data?: Paths.UpsertConfig.RequestBody,
948
+ config?: AxiosRequestConfig
949
+ ): OperationResponse<Paths.UpsertConfig.Responses.$200 | Paths.UpsertConfig.Responses.$201>
950
+ /**
951
+ * listConfigs - List data lifecycle configs
952
+ *
953
+ * Returns a cursor-paginated list of data lifecycle configs. Results can be
954
+ * filtered by entity schema, config type, scheduled run date, or
955
+ * enabled status.
956
+ *
957
+ */
958
+ 'listConfigs'(
959
+ parameters?: Parameters<Paths.ListConfigs.QueryParameters> | null,
960
+ data?: any,
961
+ config?: AxiosRequestConfig
962
+ ): OperationResponse<Paths.ListConfigs.Responses.$200>
963
+ /**
964
+ * listJobs - List job runs
965
+ *
966
+ * Returns a cursor-paginated list of job runs. Results can be filtered
967
+ * by entity schema, action type, execution status, or parent config.
968
+ *
969
+ */
970
+ 'listJobs'(
971
+ parameters?: Parameters<Paths.ListJobs.QueryParameters> | null,
972
+ data?: any,
973
+ config?: AxiosRequestConfig
974
+ ): OperationResponse<Paths.ListJobs.Responses.$200>
975
+ }
976
+
977
+ interface PathsDictionary {
978
+ ['/data-governance/v1/{entity_schema}/query']: {
979
+ /**
980
+ * queryEntities - Query entities matching a data lifecycle config
981
+ *
982
+ * Executes a query against the specified entity schema using a saved view
983
+ * definition, optionally combined with additional data governance filters.
984
+ *
985
+ * This endpoint is typically used to **preview** which entities would be
986
+ * affected by a data lifecycle config before it runs. The response includes
987
+ * the total hit count and (optionally hydrated) entity results.
988
+ *
989
+ * Pagination is supported via `from` and `size` in the request body.
990
+ *
991
+ */
992
+ 'post'(
993
+ parameters?: Parameters<Paths.QueryEntities.PathParameters> | null,
994
+ data?: Paths.QueryEntities.RequestBody,
995
+ config?: AxiosRequestConfig
996
+ ): OperationResponse<Paths.QueryEntities.Responses.$200>
997
+ }
998
+ ['/data-governance/v1/{entity_schema}/jobs']: {
999
+ /**
1000
+ * createJob - Create a new job run
1001
+ *
1002
+ * Creates a new job run for the given entity schema. The job is associated
1003
+ * with an existing config and records the scheduled execution date.
1004
+ *
1005
+ * This is a low-level endpoint used internally by the scheduler. For
1006
+ * manually triggering a config execution, prefer
1007
+ * `POST /data-governance/v1/configs/{config_id}/jobs`.
1008
+ *
1009
+ */
1010
+ 'post'(
1011
+ parameters?: Parameters<Paths.CreateJob.PathParameters> | null,
1012
+ data?: Paths.CreateJob.RequestBody,
1013
+ config?: AxiosRequestConfig
1014
+ ): OperationResponse<Paths.CreateJob.Responses.$201>
1015
+ }
1016
+ ['/data-governance/v1/{entity_schema}/jobs/{job_id}']: {
1017
+ /**
1018
+ * updateJob - Update an existing job run
1019
+ *
1020
+ * Partially updates an existing job run. Typically used to record
1021
+ * progress or finalize a job by setting its status to `success` or
1022
+ * `failed`, attaching details, error messages, or a report reference.
1023
+ *
1024
+ */
1025
+ 'patch'(
1026
+ parameters?: Parameters<Paths.UpdateJob.PathParameters> | null,
1027
+ data?: Paths.UpdateJob.RequestBody,
1028
+ config?: AxiosRequestConfig
1029
+ ): OperationResponse<Paths.UpdateJob.Responses.$200>
1030
+ }
1031
+ ['/data-governance/v1/jobs/{job_id}']: {
1032
+ /**
1033
+ * getJob - Get a job by ID
1034
+ *
1035
+ * Returns full details of a single job run, including its current status,
1036
+ * execution timestamps, type-specific details, and report reference
1037
+ * (if available).
1038
+ *
1039
+ */
1040
+ 'get'(
1041
+ parameters?: Parameters<Paths.GetJob.PathParameters> | null,
1042
+ data?: any,
1043
+ config?: AxiosRequestConfig
1044
+ ): OperationResponse<Paths.GetJob.Responses.$200>
1045
+ }
1046
+ ['/data-governance/v1/jobs/{job_id}/report-url']: {
1047
+ /**
1048
+ * getJobReportUrl - Get report download URL for a job
1049
+ *
1050
+ * Returns a short-lived, pre-signed S3 URL to download the CSV report
1051
+ * file for the given job. The URL expires after the number of seconds
1052
+ * indicated in the `expires_in` field.
1053
+ *
1054
+ * A report is only available after a job has completed. If the job is
1055
+ * still in progress or did not produce a report, a 404 is returned.
1056
+ *
1057
+ */
1058
+ 'get'(
1059
+ parameters?: Parameters<Paths.GetJobReportUrl.PathParameters> | null,
1060
+ data?: any,
1061
+ config?: AxiosRequestConfig
1062
+ ): OperationResponse<Paths.GetJobReportUrl.Responses.$200>
1063
+ }
1064
+ ['/data-governance/v1/configs/{config_id}']: {
1065
+ /**
1066
+ * getConfig - Get a config by ID
1067
+ *
1068
+ * Returns a single data data lifecycle config by its unique identifier,
1069
+ * including its query definition, schedule, and current enabled state.
1070
+ *
1071
+ */
1072
+ 'get'(
1073
+ parameters?: Parameters<Paths.GetConfig.PathParameters> | null,
1074
+ data?: any,
1075
+ config?: AxiosRequestConfig
1076
+ ): OperationResponse<Paths.GetConfig.Responses.$200>
1077
+ }
1078
+ ['/data-governance/v1/configs/{config_id}/jobs']: {
1079
+ /**
1080
+ * createJobForConfig - Trigger a manual job run for a config
1081
+ *
1082
+ * Manually triggers a new job run for the specified config. The job is
1083
+ * created and queued for asynchronous execution.
1084
+ *
1085
+ * Returns the newly created job, whose `id` can be used to poll status
1086
+ * via `GET /data-governance/v1/jobs/{job_id}`.
1087
+ *
1088
+ * The job's `trigger` field will be set to `manual` and `triggered_by`
1089
+ * will contain the authenticated user's identifier.
1090
+ *
1091
+ */
1092
+ 'post'(
1093
+ parameters?: Parameters<Paths.CreateJobForConfig.PathParameters> | null,
1094
+ data?: any,
1095
+ config?: AxiosRequestConfig
1096
+ ): OperationResponse<Paths.CreateJobForConfig.Responses.$201>
1097
+ }
1098
+ ['/data-governance/v1/{entity_schema}/configs']: {
1099
+ /**
1100
+ * upsertConfig - Create or update a data lifecycle config
1101
+ *
1102
+ * Creates a new data lifecycle config or updates an existing one for the
1103
+ * given entity schema. The config defines:
1104
+ * - A **query** (saved view + optional filters) to identify target entities
1105
+ * - A **schedule** controlling how often the policy runs
1106
+ * - An **action type** (currently only `deletion`)
1107
+ *
1108
+ * Once created and enabled, the config is evaluated on its schedule by a
1109
+ * background process that creates job runs automatically.
1110
+ *
1111
+ * Returns `201` when a new config is created, `200` when an existing
1112
+ * config is updated.
1113
+ *
1114
+ */
1115
+ 'post'(
1116
+ parameters?: Parameters<Paths.UpsertConfig.PathParameters> | null,
1117
+ data?: Paths.UpsertConfig.RequestBody,
1118
+ config?: AxiosRequestConfig
1119
+ ): OperationResponse<Paths.UpsertConfig.Responses.$200 | Paths.UpsertConfig.Responses.$201>
1120
+ }
1121
+ ['/data-governance/v1/configs']: {
1122
+ /**
1123
+ * listConfigs - List data lifecycle configs
1124
+ *
1125
+ * Returns a cursor-paginated list of data lifecycle configs. Results can be
1126
+ * filtered by entity schema, config type, scheduled run date, or
1127
+ * enabled status.
1128
+ *
1129
+ */
1130
+ 'get'(
1131
+ parameters?: Parameters<Paths.ListConfigs.QueryParameters> | null,
1132
+ data?: any,
1133
+ config?: AxiosRequestConfig
1134
+ ): OperationResponse<Paths.ListConfigs.Responses.$200>
1135
+ }
1136
+ ['/data-governance/v1/jobs']: {
1137
+ /**
1138
+ * listJobs - List job runs
1139
+ *
1140
+ * Returns a cursor-paginated list of job runs. Results can be filtered
1141
+ * by entity schema, action type, execution status, or parent config.
1142
+ *
1143
+ */
1144
+ 'get'(
1145
+ parameters?: Parameters<Paths.ListJobs.QueryParameters> | null,
1146
+ data?: any,
1147
+ config?: AxiosRequestConfig
1148
+ ): OperationResponse<Paths.ListJobs.Responses.$200>
1149
+ }
1150
+ }
1151
+
1152
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
1153
+
1154
+
1155
+ type Config = Components.Schemas.Config;
1156
+ type ConfigSchedule = Components.Schemas.ConfigSchedule;
1157
+ type ConfigType = Components.Schemas.ConfigType;
1158
+ type CreateJobRequest = Components.Schemas.CreateJobRequest;
1159
+ type DeletionRelationEntitySchema = Components.Schemas.DeletionRelationEntitySchema;
1160
+ type IntervalConfigSchedule = Components.Schemas.IntervalConfigSchedule;
1161
+ type Job = Components.Schemas.Job;
1162
+ type JobDetails = Components.Schemas.JobDetails;
1163
+ type JobReport = Components.Schemas.JobReport;
1164
+ type JobReportFormat = Components.Schemas.JobReportFormat;
1165
+ type JobReportUrlResponse = Components.Schemas.JobReportUrlResponse;
1166
+ type JobStatus = Components.Schemas.JobStatus;
1167
+ type JobTrigger = Components.Schemas.JobTrigger;
1168
+ type ListConfigsResponse = Components.Schemas.ListConfigsResponse;
1169
+ type ListJobsResponse = Components.Schemas.ListJobsResponse;
1170
+ type QueryConfig = Components.Schemas.QueryConfig;
1171
+ type QueryEntitiesRequest = Components.Schemas.QueryEntitiesRequest;
1172
+ type QueryEntitiesResult = Components.Schemas.QueryEntitiesResult;
1173
+ type QueryFilter = Components.Schemas.QueryFilter;
1174
+ type QueryFilterType = Components.Schemas.QueryFilterType;
1175
+ type UpdateJobRequest = Components.Schemas.UpdateJobRequest;
1176
+ type UpsertConfigRequest = Components.Schemas.UpsertConfigRequest;
1177
+
1178
+ export { type Client as C, type DeletionRelationEntitySchema as D, type IntervalConfigSchedule as I, type Job as J, type ListConfigsResponse as L, type OperationMethods as O, Paths as P, type QueryConfig as Q, type UpdateJobRequest as U, Components as a, type PathsDictionary as b, type Config as c, type ConfigSchedule as d, type ConfigType as e, type CreateJobRequest as f, type JobDetails as g, type JobReport as h, type JobReportFormat as i, type JobReportUrlResponse as j, type JobStatus as k, type JobTrigger as l, type ListJobsResponse as m, type QueryEntitiesRequest as n, type QueryEntitiesResult as o, type QueryFilter as p, type QueryFilterType as q, type UpsertConfigRequest as r };