@epilot/sdk 2.1.0-rc.1 → 2.1.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.
- package/README.md +24 -0
- package/definitions/app.json +38 -0
- package/definitions/automation.json +2 -37
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +115 -1
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +279 -42
- package/definitions/data-management.json +10 -0
- package/definitions/email-template.json +25 -3
- package/definitions/entity.json +205 -3
- package/definitions/environments-runtime.json +1 -1
- package/definitions/erp-integration-runtime.json +1 -1
- package/definitions/erp-integration.json +472 -13
- package/definitions/journey.json +257 -12
- package/definitions/kanban.json +630 -78
- package/definitions/organization-runtime.json +1 -1
- package/definitions/organization.json +614 -51
- package/definitions/workflow.json +40 -0
- package/dist/README-6OOYWQYJ.cjs +7 -0
- package/dist/README-JUWX7KNV.js +7 -0
- package/dist/_index-NWNYWBIF.js +146 -0
- package/dist/_index-ONGE545F.cjs +146 -0
- package/dist/access-token-2O6ULCCN.js +633 -0
- package/dist/access-token-6BJDZSFE.cjs +7 -0
- package/dist/access-token-GSQZLDXR.js +7 -0
- package/dist/access-token-RKP2A2F7.cjs +633 -0
- package/dist/access-token-runtime-KCKGT4O7.js +5 -0
- package/dist/access-token-runtime-NZWZJPWV.cjs +5 -0
- package/dist/address-HA4RMRNQ.cjs +7 -0
- package/dist/address-HLBX47SQ.cjs +567 -0
- package/dist/address-IJF4N2UV.js +567 -0
- package/dist/address-QVJUGMOG.js +7 -0
- package/dist/address-runtime-2MNO2YRD.cjs +5 -0
- package/dist/address-runtime-YFCNBJBW.js +5 -0
- package/dist/address-suggestions-74244BAJ.js +7 -0
- package/dist/address-suggestions-BYUTV7OU.js +574 -0
- package/dist/address-suggestions-ERVGGO6Z.cjs +574 -0
- package/dist/address-suggestions-IUQMYF27.cjs +7 -0
- package/dist/address-suggestions-runtime-NIMC2J32.js +5 -0
- package/dist/address-suggestions-runtime-ZNGLDADE.cjs +5 -0
- package/dist/ai-agents-6VHVYRCC.cjs +1612 -0
- package/dist/ai-agents-IZWFEUSH.js +7 -0
- package/dist/ai-agents-PKCHKKJS.js +1612 -0
- package/dist/ai-agents-PWHKNRCX.cjs +7 -0
- package/dist/ai-agents-runtime-25YRUJHI.js +5 -0
- package/dist/ai-agents-runtime-TILIO3UM.cjs +5 -0
- package/dist/apis/access-token.cjs +10 -8
- package/dist/apis/access-token.d.cts +2 -2
- package/dist/apis/access-token.d.ts +2 -2
- package/dist/apis/access-token.js +6 -4
- package/dist/apis/address-suggestions.cjs +10 -8
- package/dist/apis/address-suggestions.d.cts +2 -2
- package/dist/apis/address-suggestions.d.ts +2 -2
- package/dist/apis/address-suggestions.js +6 -4
- package/dist/apis/address.cjs +10 -8
- package/dist/apis/address.d.cts +2 -2
- package/dist/apis/address.d.ts +2 -2
- package/dist/apis/address.js +6 -4
- package/dist/apis/ai-agents.cjs +10 -8
- package/dist/apis/ai-agents.d.cts +2 -2
- package/dist/apis/ai-agents.d.ts +2 -2
- package/dist/apis/ai-agents.js +6 -4
- package/dist/apis/app.cjs +10 -8
- package/dist/apis/app.d.cts +2 -2
- package/dist/apis/app.d.ts +2 -2
- package/dist/apis/app.js +6 -4
- package/dist/apis/audit-logs.cjs +10 -8
- package/dist/apis/audit-logs.d.cts +2 -2
- package/dist/apis/audit-logs.d.ts +2 -2
- package/dist/apis/audit-logs.js +6 -4
- package/dist/apis/automation.cjs +10 -8
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/automation.js +6 -4
- package/dist/apis/billing.cjs +10 -8
- package/dist/apis/billing.d.cts +2 -2
- package/dist/apis/billing.d.ts +2 -2
- package/dist/apis/billing.js +6 -4
- package/dist/apis/blueprint-manifest.cjs +10 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +6 -4
- package/dist/apis/consent.cjs +10 -8
- package/dist/apis/consent.d.cts +2 -2
- package/dist/apis/consent.d.ts +2 -2
- package/dist/apis/consent.js +6 -4
- package/dist/apis/customer-portal.cjs +10 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +6 -4
- package/dist/apis/dashboard.cjs +10 -8
- package/dist/apis/dashboard.d.cts +2 -2
- package/dist/apis/dashboard.d.ts +2 -2
- package/dist/apis/dashboard.js +6 -4
- package/dist/apis/data-management.cjs +10 -8
- package/dist/apis/data-management.d.cts +2 -2
- package/dist/apis/data-management.d.ts +2 -2
- package/dist/apis/data-management.js +6 -4
- package/dist/apis/deduplication.cjs +10 -8
- package/dist/apis/deduplication.d.cts +2 -2
- package/dist/apis/deduplication.d.ts +2 -2
- package/dist/apis/deduplication.js +6 -4
- package/dist/apis/design.cjs +10 -8
- package/dist/apis/design.d.cts +2 -2
- package/dist/apis/design.d.ts +2 -2
- package/dist/apis/design.js +6 -4
- package/dist/apis/document.cjs +10 -8
- package/dist/apis/document.d.cts +2 -2
- package/dist/apis/document.d.ts +2 -2
- package/dist/apis/document.js +6 -4
- package/dist/apis/email-settings.cjs +10 -8
- package/dist/apis/email-settings.d.cts +2 -2
- package/dist/apis/email-settings.d.ts +2 -2
- package/dist/apis/email-settings.js +6 -4
- package/dist/apis/email-template.cjs +10 -8
- package/dist/apis/email-template.d.cts +2 -2
- package/dist/apis/email-template.d.ts +2 -2
- package/dist/apis/email-template.js +6 -4
- package/dist/apis/entity-mapping.cjs +10 -8
- package/dist/apis/entity-mapping.d.cts +2 -2
- package/dist/apis/entity-mapping.d.ts +2 -2
- package/dist/apis/entity-mapping.js +6 -4
- package/dist/apis/entity.cjs +10 -8
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +6 -4
- package/dist/apis/environments.cjs +10 -8
- package/dist/apis/environments.d.cts +2 -2
- package/dist/apis/environments.d.ts +2 -2
- package/dist/apis/environments.js +6 -4
- package/dist/apis/erp-integration.cjs +10 -8
- package/dist/apis/erp-integration.d.cts +2 -2
- package/dist/apis/erp-integration.d.ts +2 -2
- package/dist/apis/erp-integration.js +6 -4
- package/dist/apis/event-catalog.cjs +10 -8
- package/dist/apis/event-catalog.d.cts +2 -2
- package/dist/apis/event-catalog.d.ts +2 -2
- package/dist/apis/event-catalog.js +6 -4
- package/dist/apis/file.cjs +10 -8
- package/dist/apis/file.d.cts +2 -2
- package/dist/apis/file.d.ts +2 -2
- package/dist/apis/file.js +6 -4
- package/dist/apis/iban.cjs +10 -8
- package/dist/apis/iban.d.cts +2 -2
- package/dist/apis/iban.d.ts +2 -2
- package/dist/apis/iban.js +6 -4
- package/dist/apis/journey.cjs +10 -8
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- package/dist/apis/journey.js +6 -4
- package/dist/apis/kanban.cjs +10 -8
- package/dist/apis/kanban.d.cts +2 -2
- package/dist/apis/kanban.d.ts +2 -2
- package/dist/apis/kanban.js +6 -4
- package/dist/apis/message.cjs +10 -8
- package/dist/apis/message.d.cts +2 -2
- package/dist/apis/message.d.ts +2 -2
- package/dist/apis/message.js +6 -4
- package/dist/apis/metering.cjs +10 -8
- package/dist/apis/metering.d.cts +2 -2
- package/dist/apis/metering.d.ts +2 -2
- package/dist/apis/metering.js +6 -4
- package/dist/apis/notes.cjs +10 -8
- package/dist/apis/notes.d.cts +2 -2
- package/dist/apis/notes.d.ts +2 -2
- package/dist/apis/notes.js +6 -4
- package/dist/apis/notification.cjs +10 -8
- package/dist/apis/notification.d.cts +2 -2
- package/dist/apis/notification.d.ts +2 -2
- package/dist/apis/notification.js +6 -4
- package/dist/apis/organization.cjs +10 -8
- package/dist/apis/organization.d.cts +4 -4
- package/dist/apis/organization.d.ts +4 -4
- package/dist/apis/organization.js +6 -4
- package/dist/apis/partner-directory.cjs +10 -8
- package/dist/apis/partner-directory.d.cts +2 -2
- package/dist/apis/partner-directory.d.ts +2 -2
- package/dist/apis/partner-directory.js +6 -4
- package/dist/apis/permissions.cjs +10 -8
- package/dist/apis/permissions.d.cts +2 -2
- package/dist/apis/permissions.d.ts +2 -2
- package/dist/apis/permissions.js +6 -4
- package/dist/apis/pricing-tier.cjs +10 -8
- package/dist/apis/pricing-tier.d.cts +2 -2
- package/dist/apis/pricing-tier.d.ts +2 -2
- package/dist/apis/pricing-tier.js +6 -4
- package/dist/apis/pricing.cjs +10 -8
- package/dist/apis/pricing.d.cts +2 -2
- package/dist/apis/pricing.d.ts +2 -2
- package/dist/apis/pricing.js +6 -4
- package/dist/apis/purpose.cjs +10 -8
- package/dist/apis/purpose.d.cts +2 -2
- package/dist/apis/purpose.d.ts +2 -2
- package/dist/apis/purpose.js +6 -4
- package/dist/apis/sandbox.cjs +10 -8
- package/dist/apis/sandbox.d.cts +2 -2
- package/dist/apis/sandbox.d.ts +2 -2
- package/dist/apis/sandbox.js +6 -4
- package/dist/apis/submission.cjs +10 -8
- package/dist/apis/submission.d.cts +2 -2
- package/dist/apis/submission.d.ts +2 -2
- package/dist/apis/submission.js +6 -4
- package/dist/apis/targeting.cjs +10 -8
- package/dist/apis/targeting.d.cts +2 -2
- package/dist/apis/targeting.d.ts +2 -2
- package/dist/apis/targeting.js +6 -4
- package/dist/apis/template-variables.cjs +10 -8
- package/dist/apis/template-variables.d.cts +2 -2
- package/dist/apis/template-variables.d.ts +2 -2
- package/dist/apis/template-variables.js +6 -4
- package/dist/apis/user.cjs +10 -8
- package/dist/apis/user.d.cts +2 -2
- package/dist/apis/user.d.ts +2 -2
- package/dist/apis/user.js +6 -4
- package/dist/apis/validation-rules.cjs +10 -8
- package/dist/apis/validation-rules.d.cts +2 -2
- package/dist/apis/validation-rules.d.ts +2 -2
- package/dist/apis/validation-rules.js +6 -4
- package/dist/apis/webhooks.cjs +10 -8
- package/dist/apis/webhooks.d.cts +2 -2
- package/dist/apis/webhooks.d.ts +2 -2
- package/dist/apis/webhooks.js +6 -4
- package/dist/apis/workflow-definition.cjs +10 -8
- package/dist/apis/workflow-definition.d.cts +2 -2
- package/dist/apis/workflow-definition.d.ts +2 -2
- package/dist/apis/workflow-definition.js +6 -4
- package/dist/apis/workflow.cjs +10 -8
- package/dist/apis/workflow.d.cts +2 -2
- package/dist/apis/workflow.d.ts +2 -2
- package/dist/apis/workflow.js +6 -4
- package/dist/app-5VPBDFW2.cjs +4047 -0
- package/dist/app-IKHWU222.cjs +7 -0
- package/dist/app-VJW2KKWE.js +4047 -0
- package/dist/app-VLM3SWKA.js +7 -0
- package/dist/app-runtime-SSNHSBR7.cjs +5 -0
- package/dist/app-runtime-U7RGV7KT.js +5 -0
- package/dist/audit-logs-5VXHOQ7S.js +7 -0
- package/dist/audit-logs-D2LFUA2R.cjs +7 -0
- package/dist/audit-logs-F2NHDISQ.js +312 -0
- package/dist/audit-logs-RFEMBILB.cjs +312 -0
- package/dist/audit-logs-runtime-4WMHPWNX.cjs +5 -0
- package/dist/audit-logs-runtime-76R6WRAB.js +5 -0
- package/dist/automation-3HGCK725.cjs +7 -0
- package/dist/automation-72VGEJCY.js +7 -0
- package/dist/automation-HZASSUCS.cjs +4460 -0
- package/dist/automation-WEVRW77F.js +4460 -0
- package/dist/automation-runtime-L5UKEFLA.js +5 -0
- package/dist/automation-runtime-YBGGE5PL.cjs +5 -0
- package/dist/billing-3VZPNG6M.cjs +796 -0
- package/dist/billing-ASWY7HC3.js +796 -0
- package/dist/billing-DUWDISHP.cjs +7 -0
- package/dist/billing-IPALEAG2.js +7 -0
- package/dist/billing-runtime-C6BMGWCX.js +5 -0
- package/dist/billing-runtime-L4Y7MLM3.cjs +5 -0
- package/dist/blueprint-manifest-5TNVSDKC.cjs +3169 -0
- package/dist/blueprint-manifest-CXSCRQ5X.js +7 -0
- package/dist/blueprint-manifest-SHNZPK5O.cjs +7 -0
- package/dist/blueprint-manifest-UGGYWGRZ.js +3169 -0
- package/dist/blueprint-manifest-runtime-2RTW5C52.js +5 -0
- package/dist/blueprint-manifest-runtime-AF3FIDVX.cjs +5 -0
- package/dist/{chunk-ZPCMZO2O.js → chunk-24T6CJTG.js} +1 -1
- package/dist/{chunk-4JPVFLVU.js → chunk-265TE2OV.js} +1 -1
- package/dist/{chunk-NSOHW3R6.js → chunk-2BPBDRRO.js} +1 -1
- package/dist/{chunk-ZAPA4RPI.js → chunk-3XKBB5AE.js} +1 -1
- package/dist/{chunk-CFGXI3FX.js → chunk-3YSEO476.js} +1 -1
- package/dist/{chunk-WOOKHE7Y.cjs → chunk-46HU6232.cjs} +2 -2
- package/dist/{chunk-KU2XF4TS.cjs → chunk-4G6LO3JY.cjs} +2 -2
- package/dist/{chunk-GGBSLAVO.cjs → chunk-4QCVVDTA.cjs} +2 -2
- package/dist/{chunk-TUAAE3UC.cjs → chunk-4W22EIRF.cjs} +2 -2
- package/dist/{chunk-BDIJHJOG.js → chunk-4ZGZDE6D.js} +1 -1
- package/dist/{chunk-VD5TBK2T.cjs → chunk-4ZMLRFDX.cjs} +2 -2
- package/dist/{chunk-YNPRF4BX.js → chunk-5JPM6YUD.js} +1 -1
- package/dist/{chunk-FCLW3FLF.js → chunk-5MFHAXBT.js} +1 -1
- package/dist/{chunk-OBQIS3KU.js → chunk-5NKXJA43.js} +1 -1
- package/dist/{chunk-UXVV3BSC.cjs → chunk-5WNEYQII.cjs} +2 -2
- package/dist/chunk-6OYECNL2.js +14 -0
- package/dist/{chunk-D5FJ26GG.js → chunk-6UAS2VVG.js} +1 -1
- package/dist/{chunk-UE4XPL43.js → chunk-6VWCUZ5M.js} +1 -1
- package/dist/{chunk-HSGQSTVK.js → chunk-75EI2Q64.js} +1 -1
- package/dist/{chunk-6J7CIOKR.js → chunk-75ZWZM3L.js} +1 -1
- package/dist/{chunk-LXAJ722U.js → chunk-7IKQIVUS.js} +1 -1
- package/dist/{chunk-5YVVQBA2.js → chunk-A7AAVJGM.js} +1 -1
- package/dist/{chunk-ZDJ3J6Z6.cjs → chunk-ANN2QTMY.cjs} +2 -2
- package/dist/{chunk-MKZGM4A6.js → chunk-AUH6NP6Y.js} +1 -1
- package/dist/{chunk-BB7WFIE2.cjs → chunk-BLNXQAMX.cjs} +2 -2
- package/dist/{chunk-PLBIQ2Y7.cjs → chunk-BM6NCHPL.cjs} +2 -2
- package/dist/{chunk-5Y2KLUU6.cjs → chunk-BPHOGIQM.cjs} +2 -2
- package/dist/{chunk-Y4YQEDR3.js → chunk-BTTPWE2P.js} +1 -1
- package/dist/{chunk-Z5LLUUFD.cjs → chunk-COQMJFAB.cjs} +2 -2
- package/dist/{chunk-YFHQYQII.js → chunk-CSK5ZUTS.js} +1 -1
- package/dist/{chunk-7KFKA3AH.cjs → chunk-D32L2HMX.cjs} +2 -2
- package/dist/{chunk-Y4ZMNMYI.js → chunk-D7Q4JGN7.js} +1 -1
- package/dist/{chunk-UTQY2DSM.js → chunk-DZ3P537S.js} +1 -1
- package/dist/{chunk-CLMZ2EXW.js → chunk-E2WMGOM5.js} +1 -1
- package/dist/{chunk-R6WNZVTA.cjs → chunk-F5JVW2D5.cjs} +2 -2
- package/dist/{chunk-WAKSLH7V.cjs → chunk-FARDEGPH.cjs} +2 -2
- package/dist/{chunk-XIB2G42L.cjs → chunk-G3VDRMOH.cjs} +2 -2
- package/dist/{chunk-ZAXYMQ2B.cjs → chunk-G5FKTWUC.cjs} +2 -2
- package/dist/{chunk-URRL33D5.cjs → chunk-GWKHOJGD.cjs} +2 -2
- package/dist/{chunk-XLOXC52O.js → chunk-H45V55VT.js} +1 -1
- package/dist/{chunk-TBBLLEB2.cjs → chunk-HAZ3WP7V.cjs} +2 -2
- package/dist/{chunk-KEJRWMXR.cjs → chunk-HHMXS5NC.cjs} +2 -2
- package/dist/{chunk-YXPUCBVK.cjs → chunk-IGVVJMX7.cjs} +2 -2
- package/dist/{chunk-IXRDP4VP.js → chunk-IJR3GZKC.js} +1 -1
- package/dist/{chunk-OI2M6FSB.js → chunk-IQOCHPWU.js} +1 -1
- package/dist/{chunk-6ADJEPMJ.js → chunk-JENQHXFI.js} +1 -1
- package/dist/{chunk-E4IFBCNM.cjs → chunk-JICWF5VI.cjs} +2 -2
- package/dist/{chunk-Q5TESEDZ.cjs → chunk-JIUTCNTB.cjs} +2 -2
- package/dist/{chunk-RNKZDJOY.js → chunk-JJWJLY42.js} +1 -1
- package/dist/{chunk-CX3KG7D2.cjs → chunk-JXJC6WEW.cjs} +2 -2
- package/dist/{chunk-RQKN4WTW.cjs → chunk-K2UZPY6U.cjs} +2 -2
- package/dist/{chunk-UDO4JYVU.cjs → chunk-L66IX6GX.cjs} +2 -2
- package/dist/{chunk-HBPCJRZX.cjs → chunk-LKRBFBFN.cjs} +2 -2
- package/dist/{chunk-EIILOQ6X.js → chunk-LLZYRINH.js} +1 -1
- package/dist/{chunk-CVSQT5PV.cjs → chunk-M2SSGV7K.cjs} +2 -2
- package/dist/{chunk-MK4ZGXVE.cjs → chunk-M2UDF7PY.cjs} +2 -2
- package/dist/{chunk-SPZSDRM6.cjs → chunk-M56QQHVA.cjs} +2 -2
- package/dist/{chunk-IPFHV2FV.cjs → chunk-MB6NKETA.cjs} +2 -2
- package/dist/{chunk-PBNPZ7UX.js → chunk-MEUS7LCE.js} +1 -1
- package/dist/{chunk-S2QF6HG2.cjs → chunk-N5NFJW7Y.cjs} +2 -2
- package/dist/chunk-NBYH536J.js +291 -0
- package/dist/{chunk-W3MM2BSK.cjs → chunk-NEVFKRDU.cjs} +2 -2
- package/dist/chunk-NJK5F5TF.cjs +21 -0
- package/dist/{chunk-CK36RZXR.js → chunk-O4JDWMYD.js} +1 -1
- package/dist/{chunk-5RXE7X63.js → chunk-OEBV2PMV.js} +2 -2
- package/dist/{chunk-HKZQ56AS.cjs → chunk-OXJOO2YF.cjs} +2 -2
- package/dist/{chunk-U4BMKRG6.js → chunk-PSQMDY3B.js} +1 -1
- package/dist/{chunk-SHPXCOTN.cjs → chunk-QOAWSFXA.cjs} +3 -3
- package/dist/{chunk-RNBO3DEN.js → chunk-QT44OHHL.js} +1 -1
- package/dist/{chunk-7BPPP4M2.js → chunk-QTR3RH4N.js} +1 -1
- package/dist/{chunk-ID6BXIOZ.js → chunk-RELUU5QZ.js} +1 -1
- package/dist/{chunk-4K3MX2J6.js → chunk-RJ3DWFSK.js} +1 -1
- package/dist/{chunk-DBNEZWK2.cjs → chunk-RUZRPIHW.cjs} +2 -2
- package/dist/{chunk-O3R6C3WW.js → chunk-RW5JOHG7.js} +1 -1
- package/dist/{chunk-4MO4WLKA.cjs → chunk-RXMOHUBP.cjs} +2 -2
- package/dist/{chunk-YGULLD73.js → chunk-SBSIGQDU.js} +1 -1
- package/dist/{chunk-JX45ME2Z.js → chunk-SITPUXIR.js} +1 -1
- package/dist/{chunk-TIJGLQKO.js → chunk-SZMCMLOQ.js} +1 -1
- package/dist/{chunk-IPDIEZBN.cjs → chunk-T67ZXTVG.cjs} +2 -2
- package/dist/{chunk-33TQRYMY.js → chunk-TME4YJNP.js} +1 -1
- package/dist/{chunk-N2P26AAD.js → chunk-TPA4HEAO.js} +1 -1
- package/dist/{chunk-U52A2DMK.cjs → chunk-TTNPMFXL.cjs} +2 -2
- package/dist/chunk-TXDVGTQD.cjs +14 -0
- package/dist/{chunk-XD6XML3Z.cjs → chunk-UNCVJH6J.cjs} +2 -2
- package/dist/{chunk-CBRWUULQ.js → chunk-UUVJYJHD.js} +1 -1
- package/dist/{chunk-V56ZCL54.js → chunk-VSZEOCIE.js} +1 -1
- package/dist/{chunk-UX2IZQNM.cjs → chunk-WQBBB6BN.cjs} +2 -2
- package/dist/chunk-WSZWUQDD.cjs +291 -0
- package/dist/{chunk-5WN2YXNU.cjs → chunk-WTMV77T2.cjs} +2 -2
- package/dist/{chunk-JM6HKPSC.cjs → chunk-WWOAKRNG.cjs} +2 -2
- package/dist/{chunk-UNHWLNE4.js → chunk-XSE4CFSM.js} +1 -1
- package/dist/{chunk-HO7KACZZ.cjs → chunk-YO4M3BZL.cjs} +2 -2
- package/dist/chunk-YPSWSI3M.js +21 -0
- package/dist/{chunk-6BERHKDQ.cjs → chunk-Z5TVWG3I.cjs} +2 -2
- package/dist/{chunk-ONN5COYQ.cjs → chunk-ZI33AJQ5.cjs} +2 -2
- package/dist/{chunk-DIP442PL.js → chunk-ZKQ573B7.js} +1 -1
- package/dist/consent-6SIH4NQS.cjs +342 -0
- package/dist/consent-7MNRAINV.js +342 -0
- package/dist/consent-CS2ZBZX4.cjs +7 -0
- package/dist/consent-NNYHF2N4.js +7 -0
- package/dist/consent-runtime-KZ5D4XZU.cjs +5 -0
- package/dist/consent-runtime-OAPXBJH2.js +5 -0
- package/dist/customer-portal-D3SLPAHZ.js +7 -0
- package/dist/customer-portal-L5DEQEGC.js +14142 -0
- package/dist/customer-portal-MXILX4KH.cjs +14142 -0
- package/dist/customer-portal-UR3GN4VU.cjs +7 -0
- package/dist/customer-portal-runtime-MRVZ7JR4.js +5 -0
- package/dist/customer-portal-runtime-VGK7RMLC.cjs +5 -0
- package/dist/dashboard-RKUQLIME.cjs +483 -0
- package/dist/dashboard-UDL26RGG.js +483 -0
- package/dist/dashboard-UHYR5RTY.cjs +7 -0
- package/dist/dashboard-UTPGXFW5.js +7 -0
- package/dist/dashboard-runtime-EXP2AM44.cjs +5 -0
- package/dist/dashboard-runtime-PSKSGLCF.js +5 -0
- package/dist/data-management-QH2IJ5QV.js +7 -0
- package/dist/data-management-TEFRLGSU.cjs +7 -0
- package/dist/data-management-W5JQGGGH.js +925 -0
- package/dist/data-management-XFSRLFYA.cjs +925 -0
- package/dist/data-management-runtime-PAC7UFGT.cjs +5 -0
- package/dist/data-management-runtime-XZ347IUB.js +5 -0
- package/dist/deduplication-7RTGTLN5.cjs +193 -0
- package/dist/deduplication-ECVAZVVA.cjs +7 -0
- package/dist/deduplication-GYIST22B.js +7 -0
- package/dist/deduplication-RKLRTNZU.js +193 -0
- package/dist/deduplication-runtime-BBHG7MJW.cjs +5 -0
- package/dist/deduplication-runtime-DLGBF4RN.js +5 -0
- package/dist/design-AO6EGLHD.cjs +1352 -0
- package/dist/design-KUVXMFFK.cjs +7 -0
- package/dist/design-VLRA2WGV.js +1352 -0
- package/dist/design-YKBXRW5C.js +7 -0
- package/dist/design-runtime-3SKJA7QH.js +5 -0
- package/dist/design-runtime-Y3VGTQLP.cjs +5 -0
- package/dist/document-CY2A2OE7.js +7 -0
- package/dist/document-OVTR7RVH.cjs +744 -0
- package/dist/document-RYQ7MF6U.cjs +7 -0
- package/dist/document-SEZ45XAO.js +744 -0
- package/dist/document-runtime-GFEBGNMS.js +5 -0
- package/dist/document-runtime-RG3F4R6O.cjs +5 -0
- package/dist/email-settings-QGCIUWLC.js +2427 -0
- package/dist/email-settings-SEGEKVMF.cjs +2427 -0
- package/dist/email-settings-TQ5GGDYG.js +7 -0
- package/dist/email-settings-TQC34GST.cjs +7 -0
- package/dist/email-settings-runtime-NS7MU3RB.cjs +5 -0
- package/dist/email-settings-runtime-X7F3EPAB.js +5 -0
- package/dist/email-template-26SANLRD.cjs +1308 -0
- package/dist/email-template-346NDG4D.js +1308 -0
- package/dist/email-template-M2VVL4TI.cjs +7 -0
- package/dist/email-template-WYROV3UG.js +7 -0
- package/dist/email-template-runtime-QBB64BJQ.js +5 -0
- package/dist/email-template-runtime-UI2FS4H5.cjs +5 -0
- package/dist/entity-FA6PZX6S.js +7 -0
- package/dist/entity-HSCBRIOS.js +9411 -0
- package/dist/entity-IX5NSHPX.cjs +7 -0
- package/dist/entity-UKAWTND4.cjs +9411 -0
- package/dist/entity-mapping-7J3IAGKQ.js +7 -0
- package/dist/entity-mapping-PK2XAARN.cjs +1506 -0
- package/dist/entity-mapping-UOGYYCZH.js +1506 -0
- package/dist/entity-mapping-ZNMFCUKK.cjs +7 -0
- package/dist/entity-mapping-runtime-734TTUA2.cjs +5 -0
- package/dist/entity-mapping-runtime-HCOJM6DV.js +5 -0
- package/dist/entity-runtime-QSFVEFJ6.js +5 -0
- package/dist/entity-runtime-XSAICIVR.cjs +5 -0
- package/dist/environments-5IS2ZJYQ.cjs +352 -0
- package/dist/environments-E3X6NYGX.js +7 -0
- package/dist/environments-P2JS4F5N.cjs +7 -0
- package/dist/environments-VCREW73K.js +352 -0
- package/dist/environments-runtime-BPR47PW7.js +5 -0
- package/dist/environments-runtime-L6TJCVW6.cjs +5 -0
- package/dist/erp-integration-735KQ73W.js +5295 -0
- package/dist/erp-integration-EP2XFEH5.js +7 -0
- package/dist/erp-integration-NNV72VFI.cjs +7 -0
- package/dist/erp-integration-W7FZDJOB.cjs +5295 -0
- package/dist/erp-integration-runtime-FNJXDO75.js +5 -0
- package/dist/erp-integration-runtime-WXZIQCLJ.cjs +5 -0
- package/dist/event-catalog-C45ISVMP.cjs +7 -0
- package/dist/event-catalog-D7VJ7WRS.js +7 -0
- package/dist/event-catalog-MZYFJ23V.cjs +965 -0
- package/dist/event-catalog-ZUFXLY7B.js +965 -0
- package/dist/event-catalog-runtime-5HQSAJVX.cjs +5 -0
- package/dist/event-catalog-runtime-6FA3SCRI.js +5 -0
- package/dist/file-637CTR4Y.cjs +2744 -0
- package/dist/file-EJJBQEQI.js +2744 -0
- package/dist/file-UOWBTDIU.cjs +7 -0
- package/dist/file-XSN3NAVZ.js +7 -0
- package/dist/file-runtime-B6AAGZQF.js +5 -0
- package/dist/file-runtime-SFZIKODF.cjs +5 -0
- package/dist/iban-24GHLFDB.cjs +7 -0
- package/dist/iban-ETTCKOHK.cjs +148 -0
- package/dist/iban-HXFDAF4I.js +148 -0
- package/dist/iban-LDKYDVQV.js +7 -0
- package/dist/iban-runtime-EVXLFPPP.js +5 -0
- package/dist/iban-runtime-TUM5LVHO.cjs +5 -0
- package/dist/index.cjs +113 -101
- package/dist/index.d.cts +36 -5
- package/dist/index.d.ts +36 -5
- package/dist/index.js +64 -52
- package/dist/journey-7CKX67M7.js +7 -0
- package/dist/journey-EUZ6MVHG.cjs +7 -0
- package/dist/journey-KW3ZFQAL.js +2194 -0
- package/dist/journey-XIMSLSZC.cjs +2194 -0
- package/dist/journey-runtime-SPBL3F32.cjs +5 -0
- package/dist/journey-runtime-YXIAOTMD.js +5 -0
- package/dist/kanban-CHTH2ZSY.cjs +7 -0
- package/dist/kanban-HI6LL5WY.js +7 -0
- package/dist/kanban-M4P7R5TM.cjs +890 -0
- package/dist/kanban-QXQEQIF4.js +890 -0
- package/dist/kanban-runtime-NHEUWTCG.cjs +5 -0
- package/dist/kanban-runtime-R6EWHBFS.js +5 -0
- package/dist/message-2VOVRXBB.cjs +2447 -0
- package/dist/message-3XZLJR6R.cjs +7 -0
- package/dist/message-M62W3KP2.js +2447 -0
- package/dist/message-ZNMCS5YH.js +7 -0
- package/dist/message-runtime-ITR7MPKT.cjs +5 -0
- package/dist/message-runtime-YMKW2N3R.js +5 -0
- package/dist/metering-DZNZPPY6.cjs +7 -0
- package/dist/metering-KEMILE75.cjs +2198 -0
- package/dist/metering-KOSCPPKB.js +7 -0
- package/dist/metering-W3TA6ZUQ.js +2198 -0
- package/dist/metering-runtime-HAIWXZXJ.cjs +5 -0
- package/dist/metering-runtime-NJ6NEUMB.js +5 -0
- package/dist/notes-3AO5GXIT.js +7 -0
- package/dist/notes-4LVCGLBE.js +1427 -0
- package/dist/notes-MPWOQC5J.cjs +7 -0
- package/dist/notes-OBM5POWI.cjs +1427 -0
- package/dist/notes-runtime-CVNAVKPP.js +5 -0
- package/dist/notes-runtime-E3YYF74V.cjs +5 -0
- package/dist/notification-EEYPLPUV.cjs +1381 -0
- package/dist/notification-MJQGIBM7.js +1381 -0
- package/dist/notification-PZOCUYD5.cjs +7 -0
- package/dist/notification-VWDZRSFZ.js +7 -0
- package/dist/notification-runtime-7QLZTPHG.cjs +5 -0
- package/dist/notification-runtime-KREP32YP.js +5 -0
- package/dist/organization-2UK7QZLQ.cjs +615 -0
- package/dist/organization-RARYYG2E.cjs +7 -0
- package/dist/organization-U5HPX627.js +615 -0
- package/dist/organization-ZERPH2IH.js +7 -0
- package/dist/organization-runtime-LBCVCZ3W.cjs +5 -0
- package/dist/organization-runtime-P3WZ2BBU.js +5 -0
- package/dist/{organization.d-Bd2Hmk8v.d.cts → organization.d-DqwnNxMg.d.cts} +34 -7
- package/dist/{organization.d-Bd2Hmk8v.d.ts → organization.d-DqwnNxMg.d.ts} +34 -7
- package/dist/partner-directory-2XMPQWWX.js +7 -0
- package/dist/partner-directory-CG5CYJGB.cjs +1600 -0
- package/dist/partner-directory-WHNTKQ5E.cjs +7 -0
- package/dist/partner-directory-XJ7KI7EX.js +1600 -0
- package/dist/partner-directory-runtime-QURDOO4Z.js +5 -0
- package/dist/partner-directory-runtime-RSONSDNJ.cjs +5 -0
- package/dist/permissions-4T3GFNB4.js +7 -0
- package/dist/permissions-FGBIJNN7.cjs +7 -0
- package/dist/permissions-SGPGANEP.js +1415 -0
- package/dist/permissions-WCOABHKQ.cjs +1415 -0
- package/dist/permissions-runtime-D74HOCVO.js +5 -0
- package/dist/permissions-runtime-O5LH7WOU.cjs +5 -0
- package/dist/pricing-3RNPCUR6.js +9362 -0
- package/dist/pricing-4Z4TOETA.cjs +7 -0
- package/dist/pricing-C65DTZSX.js +7 -0
- package/dist/pricing-VYHPSVKM.cjs +9362 -0
- package/dist/pricing-runtime-6XNS4EOF.cjs +5 -0
- package/dist/pricing-runtime-JRR4FWFI.js +5 -0
- package/dist/pricing-tier-36WV4P4X.js +121 -0
- package/dist/pricing-tier-FKQPW2ND.cjs +121 -0
- package/dist/pricing-tier-NI35WOUP.cjs +7 -0
- package/dist/pricing-tier-VUOFK5Q7.js +7 -0
- package/dist/pricing-tier-runtime-32BCKJ7Y.cjs +5 -0
- package/dist/pricing-tier-runtime-LEGBNNLA.js +5 -0
- package/dist/purpose-AKOEUHZ4.cjs +7 -0
- package/dist/purpose-JC2E7W3M.cjs +523 -0
- package/dist/purpose-QFQ4W255.js +523 -0
- package/dist/purpose-RBRV3AQZ.js +7 -0
- package/dist/purpose-runtime-C6IGTUA6.cjs +5 -0
- package/dist/purpose-runtime-V5X5ESZV.js +5 -0
- package/dist/sandbox-2KN4X66E.cjs +7 -0
- package/dist/sandbox-CLZTN7IW.cjs +445 -0
- package/dist/sandbox-L2SOOGGR.js +7 -0
- package/dist/sandbox-O2NWMZGJ.js +445 -0
- package/dist/sandbox-runtime-4MLOMFPK.js +5 -0
- package/dist/sandbox-runtime-GKEK3GQB.cjs +5 -0
- package/dist/submission-6FD67HIE.cjs +308 -0
- package/dist/submission-7BISSPO6.js +7 -0
- package/dist/submission-MWJU4L32.js +308 -0
- package/dist/submission-Q24BU4GS.cjs +7 -0
- package/dist/submission-runtime-5FD4AQSD.cjs +5 -0
- package/dist/submission-runtime-JPHKPQ77.js +5 -0
- package/dist/targeting-4CQDSEKL.cjs +1369 -0
- package/dist/targeting-EYGYZD6M.cjs +7 -0
- package/dist/targeting-GEJTJN5Z.js +7 -0
- package/dist/targeting-RB7LBQMX.js +1369 -0
- package/dist/targeting-runtime-6JFMP262.cjs +5 -0
- package/dist/targeting-runtime-M2VSTKFT.js +5 -0
- package/dist/template-variables-JYHE2VCH.cjs +1447 -0
- package/dist/template-variables-OAYS2E3G.cjs +1148 -0
- package/dist/template-variables-VKDJJZUT.js +1148 -0
- package/dist/template-variables-XLIW4GY6.js +1447 -0
- package/dist/template-variables-runtime-62U3ZY5P.js +5 -0
- package/dist/template-variables-runtime-LFOA32UM.cjs +5 -0
- package/dist/{types-BwBvJkY_.d.ts → types-ChU9Acbv.d.cts} +3 -0
- package/dist/{types-BwBvJkY_.d.cts → types-ChU9Acbv.d.ts} +3 -0
- package/dist/user-DKA6DDPX.cjs +2265 -0
- package/dist/user-EIEOI3OG.js +7 -0
- package/dist/user-NJJ7XVKB.cjs +7 -0
- package/dist/user-O4JDAIRO.js +2265 -0
- package/dist/user-runtime-7O2HLFVQ.cjs +5 -0
- package/dist/user-runtime-U4HYUWJU.js +5 -0
- package/dist/validation-rules-AYCAOVDZ.cjs +1344 -0
- package/dist/validation-rules-GCI64B57.js +1344 -0
- package/dist/validation-rules-P6F5P73P.js +7 -0
- package/dist/validation-rules-VDU3CIZV.cjs +7 -0
- package/dist/validation-rules-runtime-6MRCS5X2.js +5 -0
- package/dist/validation-rules-runtime-X7M3QE5I.cjs +5 -0
- package/dist/webhooks-I7JWU34X.cjs +7 -0
- package/dist/webhooks-L3FXPRKT.cjs +1431 -0
- package/dist/webhooks-WPLEHVPX.js +7 -0
- package/dist/webhooks-XXLU2KWP.js +1431 -0
- package/dist/webhooks-runtime-EBM4M3SU.cjs +5 -0
- package/dist/webhooks-runtime-XCQYIGQK.js +5 -0
- package/dist/workflow-3LLURW3H.js +7 -0
- package/dist/workflow-RAGQDYXT.cjs +7 -0
- package/dist/workflow-VLNZNE3S.js +3834 -0
- package/dist/workflow-YJHUCGVK.cjs +3834 -0
- package/dist/workflow-definition-7BA4H6W3.cjs +3100 -0
- package/dist/workflow-definition-B6ELOZUR.cjs +7 -0
- package/dist/workflow-definition-D24CRCK2.js +7 -0
- package/dist/workflow-definition-VFYWBQQ3.js +3100 -0
- package/dist/workflow-definition-runtime-S7AZHOU7.js +5 -0
- package/dist/workflow-definition-runtime-VRND6VQR.cjs +5 -0
- package/dist/workflow-runtime-RLZO2OQB.js +5 -0
- package/dist/workflow-runtime-WCJ7NRTH.cjs +5 -0
- package/docs/access-token.md +440 -0
- package/docs/address-suggestions.md +256 -0
- package/docs/address.md +284 -0
- package/docs/ai-agents.md +1891 -0
- package/docs/app.md +3388 -0
- package/docs/audit-logs.md +242 -0
- package/docs/automation.md +4044 -0
- package/docs/billing.md +783 -0
- package/docs/blueprint-manifest.md +3234 -0
- package/docs/consent.md +213 -0
- package/docs/customer-portal.md +11399 -0
- package/docs/dashboard.md +640 -0
- package/docs/data-management.md +883 -0
- package/docs/deduplication.md +135 -0
- package/docs/design.md +1273 -0
- package/docs/document.md +590 -0
- package/docs/email-settings.md +1544 -0
- package/docs/email-template.md +1197 -0
- package/docs/entity-mapping.md +2864 -0
- package/docs/entity.md +9595 -0
- package/docs/environments.md +259 -0
- package/docs/erp-integration.md +4572 -0
- package/docs/event-catalog.md +835 -0
- package/docs/file.md +1453 -0
- package/docs/iban.md +61 -0
- package/docs/journey.md +2268 -0
- package/docs/kanban.md +882 -0
- package/docs/message.md +2122 -0
- package/docs/metering.md +1431 -0
- package/docs/notes.md +670 -0
- package/docs/notification.md +1207 -0
- package/docs/organization.md +733 -0
- package/docs/partner-directory.md +1197 -0
- package/docs/permissions.md +1047 -0
- package/docs/pricing-tier.md +81 -0
- package/docs/pricing.md +5923 -0
- package/docs/purpose.md +283 -0
- package/docs/sandbox.md +389 -0
- package/docs/submission.md +195 -0
- package/docs/targeting.md +959 -0
- package/docs/template-variables.md +1141 -0
- package/docs/user.md +2555 -0
- package/docs/validation-rules.md +1597 -0
- package/docs/webhooks.md +996 -0
- package/docs/workflow-definition.md +3842 -0
- package/docs/workflow.md +4465 -0
- package/package.json +5 -3
- package/dist/chunk-GMBRXWMD.cjs +0 -14
- package/dist/chunk-L43U5IO3.js +0 -14
- package/dist/chunk-XE25WERA.js +0 -125
- package/dist/chunk-XEQMAKGA.cjs +0 -125
|
@@ -0,0 +1,483 @@
|
|
|
1
|
+
import "./chunk-YPSWSI3M.js";
|
|
2
|
+
|
|
3
|
+
// src/definitions/dashboard.json
|
|
4
|
+
var openapi = "3.0.0";
|
|
5
|
+
var info = {
|
|
6
|
+
title: "Dashboard API",
|
|
7
|
+
version: "0.0.1",
|
|
8
|
+
description: "API to store the dashboard configuration for the epilot 360 dashboard\n"
|
|
9
|
+
};
|
|
10
|
+
var security = [
|
|
11
|
+
{
|
|
12
|
+
EpilotAuth: []
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
EpilotOrg: []
|
|
16
|
+
}
|
|
17
|
+
];
|
|
18
|
+
var tags = [
|
|
19
|
+
{
|
|
20
|
+
name: "Dashboards"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "Visualisations"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: "Examples"
|
|
27
|
+
}
|
|
28
|
+
];
|
|
29
|
+
var paths = {
|
|
30
|
+
"/v1/dashboard/dashboards": {
|
|
31
|
+
get: {
|
|
32
|
+
operationId: "listDashboards",
|
|
33
|
+
summary: "listDashboards",
|
|
34
|
+
description: "List dashboards available to the user",
|
|
35
|
+
tags: ["Dashboards"],
|
|
36
|
+
responses: {
|
|
37
|
+
"200": {
|
|
38
|
+
description: "List of dashboards available to the user",
|
|
39
|
+
content: {
|
|
40
|
+
"application/json": {
|
|
41
|
+
schema: {
|
|
42
|
+
type: "object",
|
|
43
|
+
properties: {
|
|
44
|
+
results: {
|
|
45
|
+
type: "array",
|
|
46
|
+
items: {
|
|
47
|
+
$ref: "#/components/schemas/Dashboard"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
post: {
|
|
58
|
+
operationId: "createDashboard",
|
|
59
|
+
summary: "createDashboard",
|
|
60
|
+
description: "Create new dashboard",
|
|
61
|
+
tags: ["Dashboards"],
|
|
62
|
+
requestBody: {
|
|
63
|
+
description: "The dashboard to create",
|
|
64
|
+
content: {
|
|
65
|
+
"application/json": {
|
|
66
|
+
schema: {
|
|
67
|
+
$ref: "#/components/schemas/Dashboard"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
responses: {
|
|
73
|
+
"201": {
|
|
74
|
+
description: "The created dashboard",
|
|
75
|
+
content: {
|
|
76
|
+
"application/json": {
|
|
77
|
+
schema: {
|
|
78
|
+
$ref: "#/components/schemas/Dashboard"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"/v1/dashboard/dashboards/{id}": {
|
|
87
|
+
parameters: [
|
|
88
|
+
{
|
|
89
|
+
name: "id",
|
|
90
|
+
in: "path",
|
|
91
|
+
required: true,
|
|
92
|
+
schema: {
|
|
93
|
+
$ref: "#/components/schemas/DashboardID"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
get: {
|
|
98
|
+
operationId: "getDashboard",
|
|
99
|
+
summary: "getDashboard",
|
|
100
|
+
description: "Get dashboard by ID",
|
|
101
|
+
tags: ["Dashboards"],
|
|
102
|
+
responses: {
|
|
103
|
+
"200": {
|
|
104
|
+
description: "The dashboard with the passed ID",
|
|
105
|
+
content: {
|
|
106
|
+
"application/json": {
|
|
107
|
+
schema: {
|
|
108
|
+
$ref: "#/components/schemas/Dashboard"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
put: {
|
|
116
|
+
operationId: "putDashboard",
|
|
117
|
+
summary: "putDashboard",
|
|
118
|
+
description: "Update a dashboard by ID",
|
|
119
|
+
tags: ["Dashboards"],
|
|
120
|
+
requestBody: {
|
|
121
|
+
description: "The updated dashboard",
|
|
122
|
+
content: {
|
|
123
|
+
"application/json": {
|
|
124
|
+
schema: {
|
|
125
|
+
$ref: "#/components/schemas/Dashboard"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
responses: {
|
|
131
|
+
"200": {
|
|
132
|
+
description: "The dashboard with the passed ID",
|
|
133
|
+
content: {
|
|
134
|
+
"application/json": {
|
|
135
|
+
schema: {
|
|
136
|
+
$ref: "#/components/schemas/Dashboard"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
delete: {
|
|
144
|
+
operationId: "deleteDashboard",
|
|
145
|
+
summary: "deleteDashboard",
|
|
146
|
+
description: "Delete a dashboard by ID",
|
|
147
|
+
tags: ["Dashboards"],
|
|
148
|
+
responses: {
|
|
149
|
+
"200": {
|
|
150
|
+
description: "The deleted dashboard",
|
|
151
|
+
content: {
|
|
152
|
+
"application/json": {
|
|
153
|
+
schema: {
|
|
154
|
+
$ref: "#/components/schemas/Dashboard"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"/v1/dashboard/visualisations": {
|
|
163
|
+
get: {
|
|
164
|
+
operationId: "listAvailableVisualisations",
|
|
165
|
+
summary: "listAvailableVisualisations",
|
|
166
|
+
description: "Returns list of available Visualisations to configure new dashboard tiles",
|
|
167
|
+
tags: ["Visualisations"],
|
|
168
|
+
responses: {
|
|
169
|
+
"200": {
|
|
170
|
+
description: "List of available Visualisations to configure new dashboard tiles",
|
|
171
|
+
content: {
|
|
172
|
+
"application/json": {
|
|
173
|
+
schema: {
|
|
174
|
+
type: "object",
|
|
175
|
+
properties: {
|
|
176
|
+
results: {
|
|
177
|
+
type: "array",
|
|
178
|
+
items: {
|
|
179
|
+
$ref: "#/components/schemas/Visualisation"
|
|
180
|
+
},
|
|
181
|
+
example: [
|
|
182
|
+
{
|
|
183
|
+
visualisation: "timechart",
|
|
184
|
+
title: "Time Series Visualisation",
|
|
185
|
+
description: "Visualise your metrics with respect to time series",
|
|
186
|
+
package_name: "@epilot360/highcharts"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
visualisation: "kpi",
|
|
190
|
+
title: "KPI Visualisation",
|
|
191
|
+
description: "Visualise your key performance indicators",
|
|
192
|
+
package_name: "@epilot360/kpi"
|
|
193
|
+
}
|
|
194
|
+
]
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"/v1/dashboard/examples": {
|
|
205
|
+
get: {
|
|
206
|
+
operationId: "listAvailableExamples",
|
|
207
|
+
summary: "listAvailableExamples",
|
|
208
|
+
description: "Returns list of available exampless for visualisations to configure new dashboard tiles",
|
|
209
|
+
tags: ["Examples"],
|
|
210
|
+
responses: {
|
|
211
|
+
"200": {
|
|
212
|
+
description: "List of available exampless for visualisations to configure new dashboard tiles",
|
|
213
|
+
content: {
|
|
214
|
+
"application/json": {
|
|
215
|
+
schema: {
|
|
216
|
+
type: "object",
|
|
217
|
+
properties: {
|
|
218
|
+
results: {
|
|
219
|
+
type: "array",
|
|
220
|
+
items: {
|
|
221
|
+
$ref: "#/components/schemas/Example"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
var components = {
|
|
234
|
+
schemas: {
|
|
235
|
+
DashboardID: {
|
|
236
|
+
description: "Unique identifier for dashboard",
|
|
237
|
+
type: "string",
|
|
238
|
+
format: "uuid",
|
|
239
|
+
example: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
|
|
240
|
+
},
|
|
241
|
+
Dashboard: {
|
|
242
|
+
type: "object",
|
|
243
|
+
description: "Adashboard configuration with tiles",
|
|
244
|
+
properties: {
|
|
245
|
+
id: {
|
|
246
|
+
$ref: "#/components/schemas/DashboardID"
|
|
247
|
+
},
|
|
248
|
+
title: {
|
|
249
|
+
type: "string",
|
|
250
|
+
example: "Employee Dashboard"
|
|
251
|
+
},
|
|
252
|
+
tiles: {
|
|
253
|
+
type: "array",
|
|
254
|
+
items: {
|
|
255
|
+
$ref: "#/components/schemas/DashboardTile"
|
|
256
|
+
},
|
|
257
|
+
example: [
|
|
258
|
+
{
|
|
259
|
+
id: "e4af1297-1fd6-440f-9846-f475f580d40f",
|
|
260
|
+
coordinates: {},
|
|
261
|
+
visualisation: "timechart",
|
|
262
|
+
visualisation_config: {
|
|
263
|
+
query: {
|
|
264
|
+
dataset: "entity_operations",
|
|
265
|
+
measure: "count_operations",
|
|
266
|
+
filters: [
|
|
267
|
+
{
|
|
268
|
+
operation: ["createEntity"]
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
entity_schema: ["opportunity"]
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
dimensions: [
|
|
275
|
+
{
|
|
276
|
+
time_with_granularity: "month"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
entity_attribute: "source.title"
|
|
280
|
+
}
|
|
281
|
+
]
|
|
282
|
+
},
|
|
283
|
+
options: {
|
|
284
|
+
type: "line"
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
]
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
required: ["title", "tiles"]
|
|
292
|
+
},
|
|
293
|
+
DashboardTileID: {
|
|
294
|
+
description: "Unique identifier for a tile in a dashboard",
|
|
295
|
+
type: "string",
|
|
296
|
+
format: "uuid",
|
|
297
|
+
example: "e4af1297-1fd6-440f-9846-f475f580d40f"
|
|
298
|
+
},
|
|
299
|
+
DashboardTile: {
|
|
300
|
+
type: "object",
|
|
301
|
+
properties: {
|
|
302
|
+
id: {
|
|
303
|
+
$ref: "#/components/schemas/DashboardTileID"
|
|
304
|
+
},
|
|
305
|
+
coordinates: {
|
|
306
|
+
type: "object"
|
|
307
|
+
},
|
|
308
|
+
title: {
|
|
309
|
+
type: "string",
|
|
310
|
+
example: "Number of opportunities created by journeys every month"
|
|
311
|
+
},
|
|
312
|
+
visualisation_id: {
|
|
313
|
+
$ref: "#/components/schemas/VisualisationId"
|
|
314
|
+
},
|
|
315
|
+
visualisation_config: {
|
|
316
|
+
$ref: "#/components/schemas/VisualisationConfig"
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
VisualisationConfig: {
|
|
321
|
+
anyOf: [
|
|
322
|
+
{
|
|
323
|
+
$ref: "#/components/schemas/timechartVisualisationConfig"
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
timechartVisualisationConfig: {
|
|
328
|
+
type: "object",
|
|
329
|
+
properties: {
|
|
330
|
+
query: {
|
|
331
|
+
$ref: "#/components/schemas/DatalakeQuery"
|
|
332
|
+
},
|
|
333
|
+
options: {
|
|
334
|
+
type: "object",
|
|
335
|
+
additionalProperties: true,
|
|
336
|
+
example: {
|
|
337
|
+
type: "bar"
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
ExampleID: {
|
|
343
|
+
description: "Unique identifier for a visualisation examples for tiles in a dashboard",
|
|
344
|
+
type: "string",
|
|
345
|
+
format: "uuid",
|
|
346
|
+
example: "e4af1297-1fd6-440f-9846-f475f580d40f"
|
|
347
|
+
},
|
|
348
|
+
Example: {
|
|
349
|
+
type: "object",
|
|
350
|
+
properties: {
|
|
351
|
+
id: {
|
|
352
|
+
$ref: "#/components/schemas/ExampleID"
|
|
353
|
+
},
|
|
354
|
+
title: {
|
|
355
|
+
type: "string",
|
|
356
|
+
example: "Number of opportunities created by journeys every month"
|
|
357
|
+
},
|
|
358
|
+
visualisation: {
|
|
359
|
+
$ref: "#/components/schemas/VisualisationId"
|
|
360
|
+
},
|
|
361
|
+
query: {
|
|
362
|
+
$ref: "#/components/schemas/DatalakeQuery"
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
DatalakeQuery: {
|
|
367
|
+
type: "object",
|
|
368
|
+
properties: {
|
|
369
|
+
dataset: {
|
|
370
|
+
type: "string",
|
|
371
|
+
example: "entity_operations"
|
|
372
|
+
},
|
|
373
|
+
measure: {
|
|
374
|
+
type: "string",
|
|
375
|
+
example: "count_operations"
|
|
376
|
+
},
|
|
377
|
+
dimensions: {
|
|
378
|
+
type: "array",
|
|
379
|
+
items: {
|
|
380
|
+
type: "object",
|
|
381
|
+
additionalProperties: true,
|
|
382
|
+
example: {
|
|
383
|
+
time_with_granularity: "year-month"
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
filters: {
|
|
388
|
+
type: "array",
|
|
389
|
+
items: {
|
|
390
|
+
type: "object",
|
|
391
|
+
additionalProperties: true,
|
|
392
|
+
example: {
|
|
393
|
+
entity_schema: "opportunity"
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
additionalProperties: true
|
|
399
|
+
},
|
|
400
|
+
VisualisationId: {
|
|
401
|
+
description: "Unique identifier for a Visualisation",
|
|
402
|
+
type: "string",
|
|
403
|
+
example: "timechart",
|
|
404
|
+
enum: [
|
|
405
|
+
"kpi",
|
|
406
|
+
"funnel",
|
|
407
|
+
"toplist",
|
|
408
|
+
"timechart",
|
|
409
|
+
"pie",
|
|
410
|
+
"bar",
|
|
411
|
+
"entity_list",
|
|
412
|
+
"markdown",
|
|
413
|
+
"news_feed",
|
|
414
|
+
"workflow"
|
|
415
|
+
]
|
|
416
|
+
},
|
|
417
|
+
Visualisation: {
|
|
418
|
+
type: "object",
|
|
419
|
+
description: "A Visualisation that can be used to configure tiles in dashboards",
|
|
420
|
+
properties: {
|
|
421
|
+
visualisation: {
|
|
422
|
+
$ref: "#/components/schemas/VisualisationId"
|
|
423
|
+
},
|
|
424
|
+
title: {
|
|
425
|
+
type: "string",
|
|
426
|
+
example: "Time Series Visualisation"
|
|
427
|
+
},
|
|
428
|
+
description: {
|
|
429
|
+
type: "string"
|
|
430
|
+
},
|
|
431
|
+
package_name: {
|
|
432
|
+
type: "string",
|
|
433
|
+
description: "Package name of the Visualisation MFE bundle to import",
|
|
434
|
+
example: "@epilot360/highcharts"
|
|
435
|
+
},
|
|
436
|
+
import_url: {
|
|
437
|
+
type: "string",
|
|
438
|
+
format: "uri",
|
|
439
|
+
description: "URL to Visualisation MFE bundle to import",
|
|
440
|
+
example: "https://epilot-dashboard-visualisations.epilot.io/epilot360-datalake-visualisation/bundle.js?version=1650592827"
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
securitySchemes: {
|
|
446
|
+
EpilotAuth: {
|
|
447
|
+
type: "http",
|
|
448
|
+
scheme: "bearer",
|
|
449
|
+
description: "Authorization header with epilot OAuth2 bearer token",
|
|
450
|
+
bearerFormat: "JWT"
|
|
451
|
+
},
|
|
452
|
+
EpilotOrg: {
|
|
453
|
+
description: "Overrides the target organization to allow shared tenantaccess",
|
|
454
|
+
name: "x-epilot-org-id",
|
|
455
|
+
in: "header",
|
|
456
|
+
type: "apiKey"
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
};
|
|
460
|
+
var servers = [
|
|
461
|
+
{
|
|
462
|
+
url: "https://dashboard.sls.epilot.io"
|
|
463
|
+
}
|
|
464
|
+
];
|
|
465
|
+
var dashboard_default = {
|
|
466
|
+
openapi,
|
|
467
|
+
info,
|
|
468
|
+
security,
|
|
469
|
+
tags,
|
|
470
|
+
paths,
|
|
471
|
+
components,
|
|
472
|
+
servers
|
|
473
|
+
};
|
|
474
|
+
export {
|
|
475
|
+
components,
|
|
476
|
+
dashboard_default as default,
|
|
477
|
+
info,
|
|
478
|
+
openapi,
|
|
479
|
+
paths,
|
|
480
|
+
security,
|
|
481
|
+
servers,
|
|
482
|
+
tags
|
|
483
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
|
|
2
|
+
|
|
3
|
+
// src/docs/dashboard.json
|
|
4
|
+
var dashboard_default = '# Dashboard API\n\n- **Base URL:** `https://dashboard.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/dashboard](https://docs.epilot.io/api/dashboard)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.dashboard.listDashboards(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/dashboard\'\n\nconst dashboardClient = getClient()\nauthorize(dashboardClient, () => \'<token>\')\nconst { data } = await dashboardClient.listDashboards(...)\n```\n\n## Operations\n\n**Dashboards**\n- [`listDashboards`](#listdashboards)\n- [`createDashboard`](#createdashboard)\n- [`getDashboard`](#getdashboard)\n- [`putDashboard`](#putdashboard)\n- [`deleteDashboard`](#deletedashboard)\n\n**Visualisations**\n- [`listAvailableVisualisations`](#listavailablevisualisations)\n\n**Examples**\n- [`listAvailableExamples`](#listavailableexamples)\n\n**Schemas**\n- [`DashboardID`](#dashboardid)\n- [`Dashboard`](#dashboard)\n- [`DashboardTileID`](#dashboardtileid)\n- [`DashboardTile`](#dashboardtile)\n- [`VisualisationConfig`](#visualisationconfig)\n- [`timechartVisualisationConfig`](#timechartvisualisationconfig)\n- [`ExampleID`](#exampleid)\n- [`Example`](#example)\n- [`DatalakeQuery`](#datalakequery)\n- [`VisualisationId`](#visualisationid)\n- [`Visualisation`](#visualisation)\n\n### `listDashboards`\n\nList dashboards available to the user\n\n`GET /v1/dashboard/dashboards`\n\n```ts\nconst { data } = await client.listDashboards()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",\n "title": "Employee Dashboard",\n "tiles": [\n {\n "id": "e4af1297-1fd6-440f-9846-f475f580d40f",\n "coordinates": {},\n "visualisation": "timechart",\n "visualisation_config": {\n "query": {\n "dataset": "entity_operations",\n "measure": "count_operations",\n "filters": [\n {\n "operation": ["createEntity"]\n },\n {\n "entity_schema": ["opportunity"]\n }\n ],\n "dimensions": [\n {\n "time_with_granularity": "month"\n },\n {\n "entity_attribute": "source.title"\n }\n ]\n },\n "options": {\n "type": "line"\n }\n }\n }\n ]\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `createDashboard`\n\nCreate new dashboard\n\n`POST /v1/dashboard/dashboards`\n\n```ts\nconst { data } = await client.createDashboard(\n null,\n {\n id: \'3fa85f64-5717-4562-b3fc-2c963f66afa6\',\n title: \'Employee Dashboard\',\n tiles: [\n {\n id: \'e4af1297-1fd6-440f-9846-f475f580d40f\',\n coordinates: {},\n visualisation: \'timechart\',\n visualisation_config: {\n query: {\n dataset: \'entity_operations\',\n measure: \'count_operations\',\n filters: [\n {\n operation: [\'createEntity\']\n },\n {\n entity_schema: [\'opportunity\']\n }\n ],\n dimensions: [\n {\n time_with_granularity: \'month\'\n },\n {\n entity_attribute: \'source.title\'\n }\n ]\n },\n options: {\n type: \'line\'\n }\n }\n }\n ]\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",\n "title": "Employee Dashboard",\n "tiles": [\n {\n "id": "e4af1297-1fd6-440f-9846-f475f580d40f",\n "coordinates": {},\n "visualisation": "timechart",\n "visualisation_config": {\n "query": {\n "dataset": "entity_operations",\n "measure": "count_operations",\n "filters": [\n {\n "operation": ["createEntity"]\n },\n {\n "entity_schema": ["opportunity"]\n }\n ],\n "dimensions": [\n {\n "time_with_granularity": "month"\n },\n {\n "entity_attribute": "source.title"\n }\n ]\n },\n "options": {\n "type": "line"\n }\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getDashboard`\n\nGet dashboard by ID\n\n`GET /v1/dashboard/dashboards/{id}`\n\n```ts\nconst { data } = await client.getDashboard({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",\n "title": "Employee Dashboard",\n "tiles": [\n {\n "id": "e4af1297-1fd6-440f-9846-f475f580d40f",\n "coordinates": {},\n "visualisation": "timechart",\n "visualisation_config": {\n "query": {\n "dataset": "entity_operations",\n "measure": "count_operations",\n "filters": [\n {\n "operation": ["createEntity"]\n },\n {\n "entity_schema": ["opportunity"]\n }\n ],\n "dimensions": [\n {\n "time_with_granularity": "month"\n },\n {\n "entity_attribute": "source.title"\n }\n ]\n },\n "options": {\n "type": "line"\n }\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `putDashboard`\n\nUpdate a dashboard by ID\n\n`PUT /v1/dashboard/dashboards/{id}`\n\n```ts\nconst { data } = await client.putDashboard(\n {\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n },\n {\n id: \'3fa85f64-5717-4562-b3fc-2c963f66afa6\',\n title: \'Employee Dashboard\',\n tiles: [\n {\n id: \'e4af1297-1fd6-440f-9846-f475f580d40f\',\n coordinates: {},\n visualisation: \'timechart\',\n visualisation_config: {\n query: {\n dataset: \'entity_operations\',\n measure: \'count_operations\',\n filters: [\n {\n operation: [\'createEntity\']\n },\n {\n entity_schema: [\'opportunity\']\n }\n ],\n dimensions: [\n {\n time_with_granularity: \'month\'\n },\n {\n entity_attribute: \'source.title\'\n }\n ]\n },\n options: {\n type: \'line\'\n }\n }\n }\n ]\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",\n "title": "Employee Dashboard",\n "tiles": [\n {\n "id": "e4af1297-1fd6-440f-9846-f475f580d40f",\n "coordinates": {},\n "visualisation": "timechart",\n "visualisation_config": {\n "query": {\n "dataset": "entity_operations",\n "measure": "count_operations",\n "filters": [\n {\n "operation": ["createEntity"]\n },\n {\n "entity_schema": ["opportunity"]\n }\n ],\n "dimensions": [\n {\n "time_with_granularity": "month"\n },\n {\n "entity_attribute": "source.title"\n }\n ]\n },\n "options": {\n "type": "line"\n }\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `deleteDashboard`\n\nDelete a dashboard by ID\n\n`DELETE /v1/dashboard/dashboards/{id}`\n\n```ts\nconst { data } = await client.deleteDashboard({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",\n "title": "Employee Dashboard",\n "tiles": [\n {\n "id": "e4af1297-1fd6-440f-9846-f475f580d40f",\n "coordinates": {},\n "visualisation": "timechart",\n "visualisation_config": {\n "query": {\n "dataset": "entity_operations",\n "measure": "count_operations",\n "filters": [\n {\n "operation": ["createEntity"]\n },\n {\n "entity_schema": ["opportunity"]\n }\n ],\n "dimensions": [\n {\n "time_with_granularity": "month"\n },\n {\n "entity_attribute": "source.title"\n }\n ]\n },\n "options": {\n "type": "line"\n }\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `listAvailableVisualisations`\n\nReturns list of available Visualisations to configure new dashboard tiles\n\n`GET /v1/dashboard/visualisations`\n\n```ts\nconst { data } = await client.listAvailableVisualisations()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "visualisation": "timechart",\n "title": "Time Series Visualisation",\n "description": "Visualise your metrics with respect to time series",\n "package_name": "@epilot360/highcharts"\n },\n {\n "visualisation": "kpi",\n "title": "KPI Visualisation",\n "description": "Visualise your key performance indicators",\n "package_name": "@epilot360/kpi"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `listAvailableExamples`\n\nReturns list of available exampless for visualisations to configure new dashboard tiles\n\n`GET /v1/dashboard/examples`\n\n```ts\nconst { data } = await client.listAvailableExamples()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "id": "e4af1297-1fd6-440f-9846-f475f580d40f",\n "title": "Number of opportunities created by journeys every month",\n "visualisation": "timechart",\n "query": {\n "dataset": "entity_operations",\n "measure": "count_operations",\n "dimensions": [\n {\n "time_with_granularity": "year-month"\n }\n ],\n "filters": [\n {\n "entity_schema": "opportunity"\n }\n ]\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `DashboardID`\n\nUnique identifier for dashboard\n\n```ts\ntype DashboardID = string // uuid\n```\n\n### `Dashboard`\n\nAdashboard configuration with tiles\n\n```ts\ntype Dashboard = {\n id?: string // uuid\n title: string\n tiles: Array<{\n id?: string // uuid\n coordinates?: object\n title?: string\n visualisation_id?: "kpi" | "funnel" | "toplist" | "timechart" | "pie" | "bar" | "entity_list" | "markdown" | "news_feed" | "workflow"\n visualisation_config?: {\n query?: { ... }\n options?: { ... }\n }\n }>\n}\n```\n\n### `DashboardTileID`\n\nUnique identifier for a tile in a dashboard\n\n```ts\ntype DashboardTileID = string // uuid\n```\n\n### `DashboardTile`\n\n```ts\ntype DashboardTile = {\n id?: string // uuid\n coordinates?: object\n title?: string\n visualisation_id?: "kpi" | "funnel" | "toplist" | "timechart" | "pie" | "bar" | "entity_list" | "markdown" | "news_feed" | "workflow"\n visualisation_config?: {\n query?: {\n dataset?: { ... }\n measure?: { ... }\n dimensions?: { ... }\n filters?: { ... }\n }\n options?: Record<string, unknown>\n }\n}\n```\n\n### `VisualisationConfig`\n\n```ts\ntype VisualisationConfig = {\n query?: {\n dataset?: string\n measure?: string\n dimensions?: Record<string, unknown>[]\n filters?: Record<string, unknown>[]\n }\n options?: Record<string, unknown>\n}\n```\n\n### `timechartVisualisationConfig`\n\n```ts\ntype timechartVisualisationConfig = {\n query?: {\n dataset?: string\n measure?: string\n dimensions?: Record<string, unknown>[]\n filters?: Record<string, unknown>[]\n }\n options?: Record<string, unknown>\n}\n```\n\n### `ExampleID`\n\nUnique identifier for a visualisation examples for tiles in a dashboard\n\n```ts\ntype ExampleID = string // uuid\n```\n\n### `Example`\n\n```ts\ntype Example = {\n id?: string // uuid\n title?: string\n visualisation?: "kpi" | "funnel" | "toplist" | "timechart" | "pie" | "bar" | "entity_list" | "markdown" | "news_feed" | "workflow"\n query?: {\n dataset?: string\n measure?: string\n dimensions?: Record<string, unknown>[]\n filters?: Record<string, unknown>[]\n }\n}\n```\n\n### `DatalakeQuery`\n\n```ts\ntype DatalakeQuery = {\n dataset?: string\n measure?: string\n dimensions?: Record<string, unknown>[]\n filters?: Record<string, unknown>[]\n}\n```\n\n### `VisualisationId`\n\nUnique identifier for a Visualisation\n\n```ts\ntype VisualisationId = "kpi" | "funnel" | "toplist" | "timechart" | "pie" | "bar" | "entity_list" | "markdown" | "news_feed" | "workflow"\n```\n\n### `Visualisation`\n\nA Visualisation that can be used to configure tiles in dashboards\n\n```ts\ntype Visualisation = {\n visualisation?: "kpi" | "funnel" | "toplist" | "timechart" | "pie" | "bar" | "entity_list" | "markdown" | "news_feed" | "workflow"\n title?: string\n description?: string\n package_name?: string\n import_url?: string // uri\n}\n```\n';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.default = dashboard_default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./chunk-YPSWSI3M.js";
|
|
2
|
+
|
|
3
|
+
// src/docs/dashboard.json
|
|
4
|
+
var dashboard_default = '# Dashboard API\n\n- **Base URL:** `https://dashboard.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/dashboard](https://docs.epilot.io/api/dashboard)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.dashboard.listDashboards(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/dashboard\'\n\nconst dashboardClient = getClient()\nauthorize(dashboardClient, () => \'<token>\')\nconst { data } = await dashboardClient.listDashboards(...)\n```\n\n## Operations\n\n**Dashboards**\n- [`listDashboards`](#listdashboards)\n- [`createDashboard`](#createdashboard)\n- [`getDashboard`](#getdashboard)\n- [`putDashboard`](#putdashboard)\n- [`deleteDashboard`](#deletedashboard)\n\n**Visualisations**\n- [`listAvailableVisualisations`](#listavailablevisualisations)\n\n**Examples**\n- [`listAvailableExamples`](#listavailableexamples)\n\n**Schemas**\n- [`DashboardID`](#dashboardid)\n- [`Dashboard`](#dashboard)\n- [`DashboardTileID`](#dashboardtileid)\n- [`DashboardTile`](#dashboardtile)\n- [`VisualisationConfig`](#visualisationconfig)\n- [`timechartVisualisationConfig`](#timechartvisualisationconfig)\n- [`ExampleID`](#exampleid)\n- [`Example`](#example)\n- [`DatalakeQuery`](#datalakequery)\n- [`VisualisationId`](#visualisationid)\n- [`Visualisation`](#visualisation)\n\n### `listDashboards`\n\nList dashboards available to the user\n\n`GET /v1/dashboard/dashboards`\n\n```ts\nconst { data } = await client.listDashboards()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",\n "title": "Employee Dashboard",\n "tiles": [\n {\n "id": "e4af1297-1fd6-440f-9846-f475f580d40f",\n "coordinates": {},\n "visualisation": "timechart",\n "visualisation_config": {\n "query": {\n "dataset": "entity_operations",\n "measure": "count_operations",\n "filters": [\n {\n "operation": ["createEntity"]\n },\n {\n "entity_schema": ["opportunity"]\n }\n ],\n "dimensions": [\n {\n "time_with_granularity": "month"\n },\n {\n "entity_attribute": "source.title"\n }\n ]\n },\n "options": {\n "type": "line"\n }\n }\n }\n ]\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `createDashboard`\n\nCreate new dashboard\n\n`POST /v1/dashboard/dashboards`\n\n```ts\nconst { data } = await client.createDashboard(\n null,\n {\n id: \'3fa85f64-5717-4562-b3fc-2c963f66afa6\',\n title: \'Employee Dashboard\',\n tiles: [\n {\n id: \'e4af1297-1fd6-440f-9846-f475f580d40f\',\n coordinates: {},\n visualisation: \'timechart\',\n visualisation_config: {\n query: {\n dataset: \'entity_operations\',\n measure: \'count_operations\',\n filters: [\n {\n operation: [\'createEntity\']\n },\n {\n entity_schema: [\'opportunity\']\n }\n ],\n dimensions: [\n {\n time_with_granularity: \'month\'\n },\n {\n entity_attribute: \'source.title\'\n }\n ]\n },\n options: {\n type: \'line\'\n }\n }\n }\n ]\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",\n "title": "Employee Dashboard",\n "tiles": [\n {\n "id": "e4af1297-1fd6-440f-9846-f475f580d40f",\n "coordinates": {},\n "visualisation": "timechart",\n "visualisation_config": {\n "query": {\n "dataset": "entity_operations",\n "measure": "count_operations",\n "filters": [\n {\n "operation": ["createEntity"]\n },\n {\n "entity_schema": ["opportunity"]\n }\n ],\n "dimensions": [\n {\n "time_with_granularity": "month"\n },\n {\n "entity_attribute": "source.title"\n }\n ]\n },\n "options": {\n "type": "line"\n }\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getDashboard`\n\nGet dashboard by ID\n\n`GET /v1/dashboard/dashboards/{id}`\n\n```ts\nconst { data } = await client.getDashboard({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",\n "title": "Employee Dashboard",\n "tiles": [\n {\n "id": "e4af1297-1fd6-440f-9846-f475f580d40f",\n "coordinates": {},\n "visualisation": "timechart",\n "visualisation_config": {\n "query": {\n "dataset": "entity_operations",\n "measure": "count_operations",\n "filters": [\n {\n "operation": ["createEntity"]\n },\n {\n "entity_schema": ["opportunity"]\n }\n ],\n "dimensions": [\n {\n "time_with_granularity": "month"\n },\n {\n "entity_attribute": "source.title"\n }\n ]\n },\n "options": {\n "type": "line"\n }\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `putDashboard`\n\nUpdate a dashboard by ID\n\n`PUT /v1/dashboard/dashboards/{id}`\n\n```ts\nconst { data } = await client.putDashboard(\n {\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n },\n {\n id: \'3fa85f64-5717-4562-b3fc-2c963f66afa6\',\n title: \'Employee Dashboard\',\n tiles: [\n {\n id: \'e4af1297-1fd6-440f-9846-f475f580d40f\',\n coordinates: {},\n visualisation: \'timechart\',\n visualisation_config: {\n query: {\n dataset: \'entity_operations\',\n measure: \'count_operations\',\n filters: [\n {\n operation: [\'createEntity\']\n },\n {\n entity_schema: [\'opportunity\']\n }\n ],\n dimensions: [\n {\n time_with_granularity: \'month\'\n },\n {\n entity_attribute: \'source.title\'\n }\n ]\n },\n options: {\n type: \'line\'\n }\n }\n }\n ]\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",\n "title": "Employee Dashboard",\n "tiles": [\n {\n "id": "e4af1297-1fd6-440f-9846-f475f580d40f",\n "coordinates": {},\n "visualisation": "timechart",\n "visualisation_config": {\n "query": {\n "dataset": "entity_operations",\n "measure": "count_operations",\n "filters": [\n {\n "operation": ["createEntity"]\n },\n {\n "entity_schema": ["opportunity"]\n }\n ],\n "dimensions": [\n {\n "time_with_granularity": "month"\n },\n {\n "entity_attribute": "source.title"\n }\n ]\n },\n "options": {\n "type": "line"\n }\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `deleteDashboard`\n\nDelete a dashboard by ID\n\n`DELETE /v1/dashboard/dashboards/{id}`\n\n```ts\nconst { data } = await client.deleteDashboard({\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",\n "title": "Employee Dashboard",\n "tiles": [\n {\n "id": "e4af1297-1fd6-440f-9846-f475f580d40f",\n "coordinates": {},\n "visualisation": "timechart",\n "visualisation_config": {\n "query": {\n "dataset": "entity_operations",\n "measure": "count_operations",\n "filters": [\n {\n "operation": ["createEntity"]\n },\n {\n "entity_schema": ["opportunity"]\n }\n ],\n "dimensions": [\n {\n "time_with_granularity": "month"\n },\n {\n "entity_attribute": "source.title"\n }\n ]\n },\n "options": {\n "type": "line"\n }\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `listAvailableVisualisations`\n\nReturns list of available Visualisations to configure new dashboard tiles\n\n`GET /v1/dashboard/visualisations`\n\n```ts\nconst { data } = await client.listAvailableVisualisations()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "visualisation": "timechart",\n "title": "Time Series Visualisation",\n "description": "Visualise your metrics with respect to time series",\n "package_name": "@epilot360/highcharts"\n },\n {\n "visualisation": "kpi",\n "title": "KPI Visualisation",\n "description": "Visualise your key performance indicators",\n "package_name": "@epilot360/kpi"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `listAvailableExamples`\n\nReturns list of available exampless for visualisations to configure new dashboard tiles\n\n`GET /v1/dashboard/examples`\n\n```ts\nconst { data } = await client.listAvailableExamples()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "id": "e4af1297-1fd6-440f-9846-f475f580d40f",\n "title": "Number of opportunities created by journeys every month",\n "visualisation": "timechart",\n "query": {\n "dataset": "entity_operations",\n "measure": "count_operations",\n "dimensions": [\n {\n "time_with_granularity": "year-month"\n }\n ],\n "filters": [\n {\n "entity_schema": "opportunity"\n }\n ]\n }\n }\n ]\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `DashboardID`\n\nUnique identifier for dashboard\n\n```ts\ntype DashboardID = string // uuid\n```\n\n### `Dashboard`\n\nAdashboard configuration with tiles\n\n```ts\ntype Dashboard = {\n id?: string // uuid\n title: string\n tiles: Array<{\n id?: string // uuid\n coordinates?: object\n title?: string\n visualisation_id?: "kpi" | "funnel" | "toplist" | "timechart" | "pie" | "bar" | "entity_list" | "markdown" | "news_feed" | "workflow"\n visualisation_config?: {\n query?: { ... }\n options?: { ... }\n }\n }>\n}\n```\n\n### `DashboardTileID`\n\nUnique identifier for a tile in a dashboard\n\n```ts\ntype DashboardTileID = string // uuid\n```\n\n### `DashboardTile`\n\n```ts\ntype DashboardTile = {\n id?: string // uuid\n coordinates?: object\n title?: string\n visualisation_id?: "kpi" | "funnel" | "toplist" | "timechart" | "pie" | "bar" | "entity_list" | "markdown" | "news_feed" | "workflow"\n visualisation_config?: {\n query?: {\n dataset?: { ... }\n measure?: { ... }\n dimensions?: { ... }\n filters?: { ... }\n }\n options?: Record<string, unknown>\n }\n}\n```\n\n### `VisualisationConfig`\n\n```ts\ntype VisualisationConfig = {\n query?: {\n dataset?: string\n measure?: string\n dimensions?: Record<string, unknown>[]\n filters?: Record<string, unknown>[]\n }\n options?: Record<string, unknown>\n}\n```\n\n### `timechartVisualisationConfig`\n\n```ts\ntype timechartVisualisationConfig = {\n query?: {\n dataset?: string\n measure?: string\n dimensions?: Record<string, unknown>[]\n filters?: Record<string, unknown>[]\n }\n options?: Record<string, unknown>\n}\n```\n\n### `ExampleID`\n\nUnique identifier for a visualisation examples for tiles in a dashboard\n\n```ts\ntype ExampleID = string // uuid\n```\n\n### `Example`\n\n```ts\ntype Example = {\n id?: string // uuid\n title?: string\n visualisation?: "kpi" | "funnel" | "toplist" | "timechart" | "pie" | "bar" | "entity_list" | "markdown" | "news_feed" | "workflow"\n query?: {\n dataset?: string\n measure?: string\n dimensions?: Record<string, unknown>[]\n filters?: Record<string, unknown>[]\n }\n}\n```\n\n### `DatalakeQuery`\n\n```ts\ntype DatalakeQuery = {\n dataset?: string\n measure?: string\n dimensions?: Record<string, unknown>[]\n filters?: Record<string, unknown>[]\n}\n```\n\n### `VisualisationId`\n\nUnique identifier for a Visualisation\n\n```ts\ntype VisualisationId = "kpi" | "funnel" | "toplist" | "timechart" | "pie" | "bar" | "entity_list" | "markdown" | "news_feed" | "workflow"\n```\n\n### `Visualisation`\n\nA Visualisation that can be used to configure tiles in dashboards\n\n```ts\ntype Visualisation = {\n visualisation?: "kpi" | "funnel" | "toplist" | "timechart" | "pie" | "bar" | "entity_list" | "markdown" | "news_feed" | "workflow"\n title?: string\n description?: string\n package_name?: string\n import_url?: string // uri\n}\n```\n';
|
|
5
|
+
export {
|
|
6
|
+
dashboard_default as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./chunk-YPSWSI3M.js";
|
|
2
|
+
|
|
3
|
+
// src/docs/data-management.json
|
|
4
|
+
var data_management_default = '# Data Management API\n\n- **Base URL:** `https://data-management.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/data-management](https://docs.epilot.io/api/data-management)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.dataManagement.queryEntities(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/data-management\'\n\nconst dataManagementClient = getClient()\nauthorize(dataManagementClient, () => \'<token>\')\nconst { data } = await dataManagementClient.queryEntities(...)\n```\n\n## Operations\n\n**Data Management**\n- [`queryEntities`](#queryentities)\n- [`createJob`](#createjob)\n- [`updateJob`](#updatejob)\n- [`getJob`](#getjob)\n- [`getJobReportUrl`](#getjobreporturl)\n- [`getConfig`](#getconfig)\n- [`createJobForConfig`](#createjobforconfig)\n- [`upsertConfig`](#upsertconfig)\n- [`listConfigs`](#listconfigs)\n- [`listJobs`](#listjobs)\n\n**Schemas**\n- [`ConfigType`](#configtype)\n- [`JobStatus`](#jobstatus)\n- [`JobTrigger`](#jobtrigger)\n- [`JobReportFormat`](#jobreportformat)\n- [`JobReport`](#jobreport)\n- [`CreateJobRequest`](#createjobrequest)\n- [`JobDetails`](#jobdetails)\n- [`UpdateJobRequest`](#updatejobrequest)\n- [`Job`](#job)\n- [`ListJobsResponse`](#listjobsresponse)\n- [`JobReportUrlResponse`](#jobreporturlresponse)\n- [`QueryFilterType`](#queryfiltertype)\n- [`QueryFilter`](#queryfilter)\n- [`QueryConfig`](#queryconfig)\n- [`QueryEntitiesRequest`](#queryentitiesrequest)\n- [`QueryEntitiesResult`](#queryentitiesresult)\n- [`ConfigSchedule`](#configschedule)\n- [`IntervalConfigSchedule`](#intervalconfigschedule)\n- [`UpsertConfigRequest`](#upsertconfigrequest)\n- [`Config`](#config)\n- [`DeletionRelationEntitySchema`](#deletionrelationentityschema)\n- [`ListConfigsResponse`](#listconfigsresponse)\n\n### `queryEntities`\n\nQuery entities using a saved view with additional data filters\n\n`POST /data-management/v1/{entity_schema}/query`\n\n```ts\nconst { data } = await client.queryEntities(\n {\n entity_schema: \'example\',\n },\n {\n saved_view_id: \'string\',\n include_deleted: \'true\',\n filters: [\n {\n type: \'entity_workflows_only_in_closed_or_cancelled_status\',\n related_entity_schemas: [\'string\'],\n lookback_period_days: 0,\n message_type: [\'SENT\']\n }\n ],\n from: 0,\n size: 0,\n hydrate: true,\n fields: [\'string\']\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "hits": 0,\n "results": [\n {}\n ]\n}\n```\n\n</details>\n\n---\n\n### `createJob`\n\nCreate a new job run\n\n`POST /data-management/v1/{entity_schema}/jobs`\n\n```ts\nconst { data } = await client.createJob(\n {\n entity_schema: \'example\',\n },\n {\n type: \'deletion\',\n config_id: \'string\',\n scheduled_for: \'1970-01-01\',\n status: \'in_progress\',\n started_at: \'1970-01-01T00:00:00.000Z\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "type": "deletion",\n "config_id": "string",\n "entity_schema": "string",\n "scheduled_for": "1970-01-01",\n "status": "in_progress",\n "details": {},\n "started_at": "1970-01-01T00:00:00.000Z",\n "completed_at": "1970-01-01T00:00:00.000Z",\n "error": "string",\n "report": {\n "bucket": "string",\n "key": "string",\n "format": "csv"\n },\n "created_at": "1970-01-01T00:00:00.000Z",\n "last_updated_at": "1970-01-01T00:00:00.000Z",\n "trigger": "schedule",\n "triggered_by": "string"\n}\n```\n\n</details>\n\n---\n\n### `updateJob`\n\nUpdate an existing job run\n\n`PATCH /data-management/v1/{entity_schema}/jobs/{job_id}`\n\n```ts\nconst { data } = await client.updateJob(\n {\n entity_schema: \'example\',\n job_id: \'example\',\n },\n {\n status: \'in_progress\',\n details: {},\n completed_at: \'1970-01-01T00:00:00.000Z\',\n error: \'string\',\n report: {\n bucket: \'string\',\n key: \'string\',\n format: \'csv\'\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "type": "deletion",\n "config_id": "string",\n "entity_schema": "string",\n "scheduled_for": "1970-01-01",\n "status": "in_progress",\n "details": {},\n "started_at": "1970-01-01T00:00:00.000Z",\n "completed_at": "1970-01-01T00:00:00.000Z",\n "error": "string",\n "report": {\n "bucket": "string",\n "key": "string",\n "format": "csv"\n },\n "created_at": "1970-01-01T00:00:00.000Z",\n "last_updated_at": "1970-01-01T00:00:00.000Z",\n "trigger": "schedule",\n "triggered_by": "string"\n}\n```\n\n</details>\n\n---\n\n### `getJob`\n\nGet a job by id\n\n`GET /data-management/v1/jobs/{job_id}`\n\n```ts\nconst { data } = await client.getJob({\n job_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "type": "deletion",\n "config_id": "string",\n "entity_schema": "string",\n "scheduled_for": "1970-01-01",\n "status": "in_progress",\n "details": {},\n "started_at": "1970-01-01T00:00:00.000Z",\n "completed_at": "1970-01-01T00:00:00.000Z",\n "error": "string",\n "report": {\n "bucket": "string",\n "key": "string",\n "format": "csv"\n },\n "created_at": "1970-01-01T00:00:00.000Z",\n "last_updated_at": "1970-01-01T00:00:00.000Z",\n "trigger": "schedule",\n "triggered_by": "string"\n}\n```\n\n</details>\n\n---\n\n### `getJobReportUrl`\n\nGet report download URL for a job\n\n`GET /data-management/v1/jobs/{job_id}/report-url`\n\n```ts\nconst { data } = await client.getJobReportUrl({\n job_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "url": "string",\n "expires_in": 0\n}\n```\n\n</details>\n\n---\n\n### `getConfig`\n\nGet a config by id\n\n`GET /data-management/v1/configs/{config_id}`\n\n```ts\nconst { data } = await client.getConfig({\n config_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "type": "deletion",\n "entity_schema": "string",\n "query": {\n "saved_view_id": "string",\n "include_deleted": "true",\n "filters": [\n {\n "type": "entity_workflows_only_in_closed_or_cancelled_status",\n "related_entity_schemas": ["string"],\n "lookback_period_days": 0,\n "message_type": ["SENT"]\n }\n ]\n },\n "schedule": {\n "frequency": "interval",\n "interval_days": 1,\n "start_date": "1970-01-01",\n "end_date": "1970-01-01"\n },\n "enabled": true,\n "created_at": "1970-01-01T00:00:00.000Z",\n "last_updated_at": "1970-01-01T00:00:00.000Z",\n "next_run_at": "1970-01-01",\n "relations_for_deletion": ["contact"],\n "last_run_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `createJobForConfig`\n\nTrigger a manual job run for a config\n\n`POST /data-management/v1/configs/{config_id}/jobs`\n\n```ts\nconst { data } = await client.createJobForConfig({\n config_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "type": "deletion",\n "config_id": "string",\n "entity_schema": "string",\n "scheduled_for": "1970-01-01",\n "status": "in_progress",\n "details": {},\n "started_at": "1970-01-01T00:00:00.000Z",\n "completed_at": "1970-01-01T00:00:00.000Z",\n "error": "string",\n "report": {\n "bucket": "string",\n "key": "string",\n "format": "csv"\n },\n "created_at": "1970-01-01T00:00:00.000Z",\n "last_updated_at": "1970-01-01T00:00:00.000Z",\n "trigger": "schedule",\n "triggered_by": "string"\n}\n```\n\n</details>\n\n---\n\n### `upsertConfig`\n\nUpsert config\n\n`POST /data-management/v1/{entity_schema}/configs`\n\n```ts\nconst { data } = await client.upsertConfig(\n {\n entity_schema: \'example\',\n },\n {\n type: \'deletion\',\n query: {\n saved_view_id: \'string\',\n include_deleted: \'true\',\n filters: [\n {\n type: \'entity_workflows_only_in_closed_or_cancelled_status\',\n related_entity_schemas: [\'string\'],\n lookback_period_days: 0,\n message_type: [\'SENT\']\n }\n ]\n },\n schedule: {\n frequency: \'interval\',\n interval_days: 1,\n start_date: \'1970-01-01\',\n end_date: \'1970-01-01\'\n },\n relations_for_deletion: [\'contact\'],\n enabled: true\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "type": "deletion",\n "entity_schema": "string",\n "query": {\n "saved_view_id": "string",\n "include_deleted": "true",\n "filters": [\n {\n "type": "entity_workflows_only_in_closed_or_cancelled_status",\n "related_entity_schemas": ["string"],\n "lookback_period_days": 0,\n "message_type": ["SENT"]\n }\n ]\n },\n "schedule": {\n "frequency": "interval",\n "interval_days": 1,\n "start_date": "1970-01-01",\n "end_date": "1970-01-01"\n },\n "enabled": true,\n "created_at": "1970-01-01T00:00:00.000Z",\n "last_updated_at": "1970-01-01T00:00:00.000Z",\n "next_run_at": "1970-01-01",\n "relations_for_deletion": ["contact"],\n "last_run_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `listConfigs`\n\nList configs\n\n`GET /data-management/v1/configs`\n\n```ts\nconst { data } = await client.listConfigs({\n limit: 1,\n cursor: \'example\',\n entity_schema: \'example\',\n type: \'example\',\n next_run_at: \'example\',\n enabled: true,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "configs": [\n {\n "id": "string",\n "type": "deletion",\n "entity_schema": "string",\n "query": {\n "saved_view_id": "string",\n "include_deleted": "true",\n "filters": [\n {\n "type": "entity_workflows_only_in_closed_or_cancelled_status",\n "related_entity_schemas": ["string"],\n "lookback_period_days": 0,\n "message_type": ["SENT"]\n }\n ]\n },\n "schedule": {\n "frequency": "interval",\n "interval_days": 1,\n "start_date": "1970-01-01",\n "end_date": "1970-01-01"\n },\n "enabled": true,\n "created_at": "1970-01-01T00:00:00.000Z",\n "last_updated_at": "1970-01-01T00:00:00.000Z",\n "next_run_at": "1970-01-01",\n "relations_for_deletion": ["contact"],\n "last_run_at": "1970-01-01T00:00:00.000Z"\n }\n ],\n "cursor": "string"\n}\n```\n\n</details>\n\n---\n\n### `listJobs`\n\nList jobs\n\n`GET /data-management/v1/jobs`\n\n```ts\nconst { data } = await client.listJobs({\n limit: 1,\n cursor: \'example\',\n entity_schema: \'example\',\n type: \'example\',\n status: \'example\',\n config_id: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "jobs": [\n {\n "id": "string",\n "type": "deletion",\n "config_id": "string",\n "entity_schema": "string",\n "scheduled_for": "1970-01-01",\n "status": "in_progress",\n "details": {},\n "started_at": "1970-01-01T00:00:00.000Z",\n "completed_at": "1970-01-01T00:00:00.000Z",\n "error": "string",\n "report": {\n "bucket": "string",\n "key": "string",\n "format": "csv"\n },\n "created_at": "1970-01-01T00:00:00.000Z",\n "last_updated_at": "1970-01-01T00:00:00.000Z",\n "trigger": "schedule",\n "triggered_by": "string"\n }\n ],\n "cursor": "string"\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `ConfigType`\n\nType of configuration (e.g. deletion)\n\n```ts\ntype ConfigType = "deletion"\n```\n\n### `JobStatus`\n\n```ts\ntype JobStatus = "in_progress" | "success" | "failed"\n```\n\n### `JobTrigger`\n\n```ts\ntype JobTrigger = "schedule" | "manual"\n```\n\n### `JobReportFormat`\n\n```ts\ntype JobReportFormat = "csv"\n```\n\n### `JobReport`\n\n```ts\ntype JobReport = {\n bucket?: string\n key?: string\n format?: "csv"\n}\n```\n\n### `CreateJobRequest`\n\n```ts\ntype CreateJobRequest = {\n type: "deletion"\n config_id: string\n scheduled_for: string // date\n status?: "in_progress" | "success" | "failed"\n started_at?: string // date-time\n}\n```\n\n### `JobDetails`\n\nGeneric, type-specific job details payload (e.g. matched count, deleted count, failed count, etc.).\n\n```ts\ntype JobDetails = Record<string, unknown>\n```\n\n### `UpdateJobRequest`\n\n```ts\ntype UpdateJobRequest = {\n status?: "in_progress" | "success" | "failed"\n details?: Record<string, unknown>\n completed_at?: string // date-time\n error?: string\n report?: {\n bucket?: string\n key?: string\n format?: "csv"\n }\n}\n```\n\n### `Job`\n\n```ts\ntype Job = {\n id: string\n type: "deletion"\n config_id: string\n entity_schema: string\n scheduled_for: string // date\n status: "in_progress" | "success" | "failed"\n details?: Record<string, unknown>\n started_at?: string // date-time\n completed_at?: string // date-time\n error?: string\n report?: {\n bucket?: string\n key?: string\n format?: "csv"\n }\n created_at: string // date-time\n last_updated_at: string // date-time\n trigger?: "schedule" | "manual"\n triggered_by?: string\n}\n```\n\n### `ListJobsResponse`\n\n```ts\ntype ListJobsResponse = {\n jobs?: Array<{\n id: string\n type: "deletion"\n config_id: string\n entity_schema: string\n scheduled_for: string // date\n status: "in_progress" | "success" | "failed"\n details?: Record<string, unknown>\n started_at?: string // date-time\n completed_at?: string // date-time\n error?: string\n report?: {\n bucket?: { ... }\n key?: { ... }\n format?: { ... }\n }\n created_at: string // date-time\n last_updated_at: string // date-time\n trigger?: "schedule" | "manual"\n triggered_by?: string\n }>\n cursor?: string\n}\n```\n\n### `JobReportUrlResponse`\n\n```ts\ntype JobReportUrlResponse = {\n url?: string\n expires_in?: number\n}\n```\n\n### `QueryFilterType`\n\n```ts\ntype 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"\n```\n\n### `QueryFilter`\n\n```ts\ntype QueryFilter = {\n type: "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"\n related_entity_schemas?: string[]\n lookback_period_days?: number\n message_type?: "SENT" | "RECEIVED"[]\n}\n```\n\n### `QueryConfig`\n\n```ts\ntype QueryConfig = {\n saved_view_id: string\n include_deleted?: "true" | "false" | "only"\n filters?: Array<{\n type: "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"\n related_entity_schemas?: string[]\n lookback_period_days?: number\n message_type?: "SENT" | "RECEIVED"[]\n }>\n}\n```\n\n### `QueryEntitiesRequest`\n\n```ts\ntype QueryEntitiesRequest = {\n saved_view_id: string\n include_deleted?: "true" | "false" | "only"\n filters?: Array<{\n type: "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"\n related_entity_schemas?: string[]\n lookback_period_days?: number\n message_type?: "SENT" | "RECEIVED"[]\n }>\n from?: number\n size?: number\n hydrate?: boolean\n fields?: string[]\n}\n```\n\n### `QueryEntitiesResult`\n\n```ts\ntype QueryEntitiesResult = {\n hits?: number\n results?: Record<string, unknown>[]\n}\n```\n\n### `ConfigSchedule`\n\n```ts\ntype ConfigSchedule = {\n frequency: "interval"\n interval_days: number\n start_date?: string // date\n end_date?: string // date\n}\n```\n\n### `IntervalConfigSchedule`\n\n```ts\ntype IntervalConfigSchedule = {\n frequency: "interval"\n interval_days: number\n start_date?: string // date\n end_date?: string // date\n}\n```\n\n### `UpsertConfigRequest`\n\n```ts\ntype UpsertConfigRequest = {\n type: "deletion"\n query: {\n saved_view_id: string\n include_deleted?: "true" | "false" | "only"\n filters?: Array<{\n type: { ... }\n related_entity_schemas?: { ... }\n lookback_period_days?: { ... }\n message_type?: { ... }\n }>\n }\n schedule: {\n frequency: "interval"\n interval_days: number\n start_date?: string // date\n end_date?: string // date\n }\n relations_for_deletion?: "contact" | "file" | "opportunity" | "order" | "meter" | "ticket" | "message" | "account" | "submission" | "contract"[]\n enabled?: boolean\n}\n```\n\n### `Config`\n\n```ts\ntype Config = {\n id: string\n type: "deletion"\n entity_schema: string\n query: {\n saved_view_id: string\n include_deleted?: "true" | "false" | "only"\n filters?: Array<{\n type: { ... }\n related_entity_schemas?: { ... }\n lookback_period_days?: { ... }\n message_type?: { ... }\n }>\n }\n schedule?: {\n frequency: "interval"\n interval_days: number\n start_date?: string // date\n end_date?: string // date\n }\n enabled?: boolean\n created_at?: string // date-time\n last_updated_at?: string // date-time\n next_run_at?: string // date\n relations_for_deletion?: "contact" | "file" | "opportunity" | "order" | "meter" | "ticket" | "message" | "account" | "submission" | "contract"[]\n last_run_at?: string // date-time\n}\n```\n\n### `DeletionRelationEntitySchema`\n\n```ts\ntype DeletionRelationEntitySchema = "contact" | "file" | "opportunity" | "order" | "meter" | "ticket" | "message" | "account" | "submission" | "contract"\n```\n\n### `ListConfigsResponse`\n\n```ts\ntype ListConfigsResponse = {\n configs?: Array<{\n id: string\n type: "deletion"\n entity_schema: string\n query: {\n saved_view_id: { ... }\n include_deleted?: { ... }\n filters?: { ... }\n }\n schedule?: {\n frequency: { ... }\n interval_days: { ... }\n start_date?: { ... }\n end_date?: { ... }\n }\n enabled?: boolean\n created_at?: string // date-time\n last_updated_at?: string // date-time\n next_run_at?: string // date\n relations_for_deletion?: "contact" | "file" | "opportunity" | "order" | "meter" | "ticket" | "message" | "account" | "submission" | "contract"[]\n last_run_at?: string // date-time\n }>\n cursor?: string\n}\n```\n';
|
|
5
|
+
export {
|
|
6
|
+
data_management_default as default
|
|
7
|
+
};
|