@epilot/sdk 2.1.0-rc.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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-VG67PX4R.js +7 -0
- package/dist/README-W4B35MRN.cjs +7 -0
- package/dist/_index-AMVZBT2K.cjs +99 -0
- package/dist/_index-S6LFD3ER.js +99 -0
- package/dist/access-token-6BJDZSFE.cjs +7 -0
- package/dist/access-token-GSQZLDXR.js +7 -0
- package/dist/address-HA4RMRNQ.cjs +7 -0
- package/dist/address-QVJUGMOG.js +7 -0
- package/dist/address-suggestions-74244BAJ.js +7 -0
- package/dist/address-suggestions-IUQMYF27.cjs +7 -0
- package/dist/ai-agents-IZWFEUSH.js +7 -0
- package/dist/ai-agents-PWHKNRCX.cjs +7 -0
- package/dist/apis/access-token.cjs +10 -8
- package/dist/apis/access-token.js +5 -3
- package/dist/apis/address-suggestions.cjs +10 -8
- package/dist/apis/address-suggestions.js +5 -3
- package/dist/apis/address.cjs +10 -8
- package/dist/apis/address.js +5 -3
- package/dist/apis/ai-agents.cjs +10 -8
- package/dist/apis/ai-agents.js +5 -3
- package/dist/apis/app.cjs +10 -8
- package/dist/apis/app.js +5 -3
- package/dist/apis/audit-logs.cjs +10 -8
- package/dist/apis/audit-logs.js +5 -3
- package/dist/apis/automation.cjs +10 -8
- package/dist/apis/automation.js +5 -3
- package/dist/apis/billing.cjs +10 -8
- package/dist/apis/billing.js +5 -3
- package/dist/apis/blueprint-manifest.cjs +10 -8
- package/dist/apis/blueprint-manifest.js +5 -3
- package/dist/apis/consent.cjs +10 -8
- package/dist/apis/consent.js +5 -3
- package/dist/apis/customer-portal.cjs +10 -8
- package/dist/apis/customer-portal.js +5 -3
- package/dist/apis/dashboard.cjs +10 -8
- package/dist/apis/dashboard.js +5 -3
- package/dist/apis/data-management.cjs +10 -8
- package/dist/apis/data-management.js +5 -3
- package/dist/apis/deduplication.cjs +10 -8
- package/dist/apis/deduplication.js +5 -3
- package/dist/apis/design.cjs +10 -8
- package/dist/apis/design.js +5 -3
- package/dist/apis/document.cjs +10 -8
- package/dist/apis/document.js +5 -3
- package/dist/apis/email-settings.cjs +10 -8
- package/dist/apis/email-settings.js +5 -3
- package/dist/apis/email-template.cjs +10 -8
- package/dist/apis/email-template.js +5 -3
- package/dist/apis/entity-mapping.cjs +10 -8
- package/dist/apis/entity-mapping.js +5 -3
- package/dist/apis/entity.cjs +10 -8
- package/dist/apis/entity.js +5 -3
- package/dist/apis/environments.cjs +10 -8
- package/dist/apis/environments.js +5 -3
- package/dist/apis/erp-integration.cjs +10 -8
- package/dist/apis/erp-integration.js +5 -3
- package/dist/apis/event-catalog.cjs +10 -8
- package/dist/apis/event-catalog.js +5 -3
- package/dist/apis/file.cjs +10 -8
- package/dist/apis/file.js +5 -3
- package/dist/apis/iban.cjs +10 -8
- package/dist/apis/iban.js +5 -3
- package/dist/apis/journey.cjs +10 -8
- package/dist/apis/journey.js +5 -3
- package/dist/apis/kanban.cjs +10 -8
- package/dist/apis/kanban.js +5 -3
- package/dist/apis/message.cjs +10 -8
- package/dist/apis/message.js +5 -3
- package/dist/apis/metering.cjs +10 -8
- package/dist/apis/metering.js +5 -3
- package/dist/apis/notes.cjs +10 -8
- package/dist/apis/notes.js +5 -3
- package/dist/apis/notification.cjs +10 -8
- package/dist/apis/notification.js +5 -3
- package/dist/apis/organization.cjs +10 -8
- package/dist/apis/organization.d.cts +2 -2
- package/dist/apis/organization.d.ts +2 -2
- package/dist/apis/organization.js +5 -3
- package/dist/apis/partner-directory.cjs +10 -8
- package/dist/apis/partner-directory.js +5 -3
- package/dist/apis/permissions.cjs +10 -8
- package/dist/apis/permissions.js +5 -3
- package/dist/apis/pricing-tier.cjs +10 -8
- package/dist/apis/pricing-tier.js +5 -3
- package/dist/apis/pricing.cjs +10 -8
- package/dist/apis/pricing.js +5 -3
- package/dist/apis/purpose.cjs +10 -8
- package/dist/apis/purpose.js +5 -3
- package/dist/apis/sandbox.cjs +10 -8
- package/dist/apis/sandbox.js +5 -3
- package/dist/apis/submission.cjs +10 -8
- package/dist/apis/submission.js +5 -3
- package/dist/apis/targeting.cjs +10 -8
- package/dist/apis/targeting.js +5 -3
- package/dist/apis/template-variables.cjs +10 -8
- package/dist/apis/template-variables.js +5 -3
- package/dist/apis/user.cjs +10 -8
- package/dist/apis/user.js +5 -3
- package/dist/apis/validation-rules.cjs +10 -8
- package/dist/apis/validation-rules.js +5 -3
- package/dist/apis/webhooks.cjs +10 -8
- package/dist/apis/webhooks.js +5 -3
- package/dist/apis/workflow-definition.cjs +10 -8
- package/dist/apis/workflow-definition.js +5 -3
- package/dist/apis/workflow.cjs +10 -8
- package/dist/apis/workflow.js +5 -3
- package/dist/app-IKHWU222.cjs +7 -0
- package/dist/app-VLM3SWKA.js +7 -0
- package/dist/audit-logs-5VXHOQ7S.js +7 -0
- package/dist/audit-logs-D2LFUA2R.cjs +7 -0
- package/dist/automation-3HGCK725.cjs +7 -0
- package/dist/automation-72VGEJCY.js +7 -0
- package/dist/billing-DUWDISHP.cjs +7 -0
- package/dist/billing-IPALEAG2.js +7 -0
- package/dist/blueprint-manifest-CXSCRQ5X.js +7 -0
- package/dist/blueprint-manifest-SHNZPK5O.cjs +7 -0
- package/dist/{chunk-6J7CIOKR.js → chunk-2HOJWFQ4.js} +1 -1
- package/dist/{chunk-BDIJHJOG.js → chunk-372VUPHN.js} +1 -1
- package/dist/{chunk-Q5TESEDZ.cjs → chunk-3HJEWWPS.cjs} +2 -2
- package/dist/{chunk-ID6BXIOZ.js → chunk-3N67SSL3.js} +1 -1
- package/dist/chunk-3XEP56SV.cjs +204 -0
- package/dist/{chunk-7KFKA3AH.cjs → chunk-3ZZ57K3S.cjs} +2 -2
- package/dist/{chunk-CVSQT5PV.cjs → chunk-4SWC43JO.cjs} +2 -2
- package/dist/{chunk-O3R6C3WW.js → chunk-4VFQTSJQ.js} +1 -1
- package/dist/{chunk-LXAJ722U.js → chunk-57QIBYDN.js} +1 -1
- package/dist/{chunk-SPZSDRM6.cjs → chunk-5SNJAD6F.cjs} +2 -2
- package/dist/{chunk-OI2M6FSB.js → chunk-73H6TVKN.js} +1 -1
- package/dist/{chunk-BB7WFIE2.cjs → chunk-A6JOROUC.cjs} +2 -2
- package/dist/{chunk-SHPXCOTN.cjs → chunk-AJKH25H2.cjs} +3 -3
- package/dist/{chunk-DBNEZWK2.cjs → chunk-ARWMTXJV.cjs} +2 -2
- package/dist/{chunk-7BPPP4M2.js → chunk-B3ZGAG7B.js} +1 -1
- package/dist/{chunk-5WN2YXNU.cjs → chunk-BH5ZXK4J.cjs} +2 -2
- package/dist/{chunk-JM6HKPSC.cjs → chunk-BWFXLUK5.cjs} +2 -2
- package/dist/{chunk-V56ZCL54.js → chunk-C6UTZEHH.js} +1 -1
- package/dist/{chunk-ZPCMZO2O.js → chunk-CPKBR34V.js} +1 -1
- package/dist/{chunk-UTQY2DSM.js → chunk-CWSHYFVZ.js} +1 -1
- package/dist/{chunk-5YVVQBA2.js → chunk-DJKSULPK.js} +1 -1
- package/dist/{chunk-XLOXC52O.js → chunk-DNJ54L2G.js} +1 -1
- package/dist/{chunk-YXPUCBVK.cjs → chunk-DY2D2IW5.cjs} +2 -2
- package/dist/{chunk-Z5LLUUFD.cjs → chunk-E26ZO7QM.cjs} +2 -2
- package/dist/{chunk-RNKZDJOY.js → chunk-EBCHCYUO.js} +1 -1
- package/dist/{chunk-4MO4WLKA.cjs → chunk-EPAIOB5U.cjs} +2 -2
- package/dist/{chunk-UX2IZQNM.cjs → chunk-EQZMT2HF.cjs} +2 -2
- package/dist/{chunk-U52A2DMK.cjs → chunk-F376L6PP.cjs} +2 -2
- package/dist/{chunk-TBBLLEB2.cjs → chunk-F472YLJG.cjs} +2 -2
- package/dist/{chunk-W3MM2BSK.cjs → chunk-FXOX3X7E.cjs} +2 -2
- package/dist/{chunk-E4IFBCNM.cjs → chunk-G2REP2VZ.cjs} +2 -2
- package/dist/{chunk-CFGXI3FX.js → chunk-GLO477NZ.js} +1 -1
- package/dist/{chunk-PBNPZ7UX.js → chunk-H4VSK4KF.js} +1 -1
- package/dist/{chunk-33TQRYMY.js → chunk-HPSGM6QP.js} +1 -1
- package/dist/{chunk-RQKN4WTW.cjs → chunk-HPYHWTTA.cjs} +2 -2
- package/dist/{chunk-5RXE7X63.js → chunk-IH4CMOML.js} +2 -2
- package/dist/{chunk-VD5TBK2T.cjs → chunk-IMT3IE5M.cjs} +2 -2
- package/dist/{chunk-DIP442PL.js → chunk-IP2WWEOU.js} +1 -1
- package/dist/{chunk-FCLW3FLF.js → chunk-IS2VB342.js} +1 -1
- package/dist/{chunk-UNHWLNE4.js → chunk-ITX53XAZ.js} +1 -1
- package/dist/{chunk-KU2XF4TS.cjs → chunk-JXBXDTFG.cjs} +2 -2
- package/dist/{chunk-Y4YQEDR3.js → chunk-K62XK7KU.js} +1 -1
- package/dist/chunk-KA3TGFJP.js +14 -0
- package/dist/{chunk-IXRDP4VP.js → chunk-KBOVBUBM.js} +1 -1
- package/dist/{chunk-MKZGM4A6.js → chunk-KPGC2D6E.js} +1 -1
- package/dist/{chunk-ZAPA4RPI.js → chunk-KSXTBGIV.js} +1 -1
- package/dist/{chunk-PLBIQ2Y7.cjs → chunk-LCIJ4TJ4.cjs} +2 -2
- package/dist/{chunk-TUAAE3UC.cjs → chunk-LQOLYXGQ.cjs} +2 -2
- package/dist/{chunk-6ADJEPMJ.js → chunk-LSIWCIQV.js} +1 -1
- package/dist/{chunk-CBRWUULQ.js → chunk-MHNSZ4HE.js} +1 -1
- package/dist/{chunk-WOOKHE7Y.cjs → chunk-MKX4CKAB.cjs} +2 -2
- package/dist/{chunk-N2P26AAD.js → chunk-MRTAFRO7.js} +1 -1
- package/dist/{chunk-YGULLD73.js → chunk-MRZ7LGKZ.js} +1 -1
- package/dist/{chunk-CLMZ2EXW.js → chunk-MSASBR2Y.js} +1 -1
- package/dist/{chunk-KEJRWMXR.cjs → chunk-NAWLLC3T.cjs} +2 -2
- package/dist/chunk-NJK5F5TF.cjs +21 -0
- package/dist/{chunk-HBPCJRZX.cjs → chunk-NLSZVGHK.cjs} +2 -2
- package/dist/{chunk-CK36RZXR.js → chunk-O4LRVGOY.js} +1 -1
- package/dist/chunk-OG2DMGU6.cjs +14 -0
- package/dist/{chunk-TIJGLQKO.js → chunk-OGQKJTXF.js} +1 -1
- package/dist/{chunk-UE4XPL43.js → chunk-PETLAONH.js} +1 -1
- package/dist/{chunk-MK4ZGXVE.cjs → chunk-PVSS2WPM.cjs} +2 -2
- package/dist/{chunk-ONN5COYQ.cjs → chunk-PXITFTJA.cjs} +2 -2
- package/dist/{chunk-ZAXYMQ2B.cjs → chunk-QDVPPRWI.cjs} +2 -2
- package/dist/{chunk-IPFHV2FV.cjs → chunk-QKERXNJJ.cjs} +2 -2
- package/dist/{chunk-ZDJ3J6Z6.cjs → chunk-QLML3IP5.cjs} +2 -2
- package/dist/{chunk-YFHQYQII.js → chunk-QVAJ5JP4.js} +1 -1
- package/dist/{chunk-S2QF6HG2.cjs → chunk-RD7E4OSJ.cjs} +2 -2
- package/dist/{chunk-XIB2G42L.cjs → chunk-RWSA3LXE.cjs} +2 -2
- package/dist/{chunk-R6WNZVTA.cjs → chunk-RXSS67VI.cjs} +2 -2
- package/dist/{chunk-UXVV3BSC.cjs → chunk-S3ZNESMC.cjs} +2 -2
- package/dist/{chunk-YNPRF4BX.js → chunk-S7NDMDRX.js} +1 -1
- package/dist/{chunk-HO7KACZZ.cjs → chunk-SK3VYIZ6.cjs} +2 -2
- package/dist/{chunk-CX3KG7D2.cjs → chunk-SMGHAG5C.cjs} +2 -2
- package/dist/{chunk-D5FJ26GG.js → chunk-T46LODOF.js} +1 -1
- package/dist/{chunk-Y4ZMNMYI.js → chunk-TIJWJVKZ.js} +1 -1
- package/dist/{chunk-EIILOQ6X.js → chunk-TLWCYLNA.js} +1 -1
- package/dist/{chunk-JX45ME2Z.js → chunk-TRJLYZHD.js} +1 -1
- package/dist/{chunk-RNBO3DEN.js → chunk-UKKJMCNH.js} +1 -1
- package/dist/chunk-ULBEEHG4.js +204 -0
- package/dist/{chunk-UDO4JYVU.cjs → chunk-VGTUK3QD.cjs} +2 -2
- package/dist/{chunk-4JPVFLVU.js → chunk-VQ7R36AC.js} +1 -1
- package/dist/{chunk-IPDIEZBN.cjs → chunk-VVQB5W7U.cjs} +2 -2
- package/dist/{chunk-HKZQ56AS.cjs → chunk-VVVATFGK.cjs} +2 -2
- package/dist/{chunk-URRL33D5.cjs → chunk-WMTYO5OX.cjs} +2 -2
- package/dist/{chunk-U4BMKRG6.js → chunk-WOSSSFXB.js} +1 -1
- package/dist/{chunk-OBQIS3KU.js → chunk-WOXXNKTE.js} +1 -1
- package/dist/{chunk-WAKSLH7V.cjs → chunk-XKI2OAYV.cjs} +2 -2
- package/dist/{chunk-5Y2KLUU6.cjs → chunk-XR4QF6KQ.cjs} +2 -2
- package/dist/{chunk-6BERHKDQ.cjs → chunk-XYHTQ523.cjs} +2 -2
- package/dist/{chunk-XD6XML3Z.cjs → chunk-XZYZLSUO.cjs} +2 -2
- package/dist/chunk-YPSWSI3M.js +21 -0
- package/dist/{chunk-4K3MX2J6.js → chunk-YYBIU5BQ.js} +1 -1
- package/dist/{chunk-HSGQSTVK.js → chunk-YZA5WZUS.js} +1 -1
- package/dist/{chunk-GGBSLAVO.cjs → chunk-Z4LUE424.cjs} +2 -2
- package/dist/{chunk-NSOHW3R6.js → chunk-ZV6XYUXS.js} +1 -1
- package/dist/consent-CS2ZBZX4.cjs +7 -0
- package/dist/consent-NNYHF2N4.js +7 -0
- package/dist/customer-portal-D3SLPAHZ.js +7 -0
- package/dist/customer-portal-UR3GN4VU.cjs +7 -0
- package/dist/dashboard-UHYR5RTY.cjs +7 -0
- package/dist/dashboard-UTPGXFW5.js +7 -0
- package/dist/data-management-QH2IJ5QV.js +7 -0
- package/dist/data-management-TEFRLGSU.cjs +7 -0
- package/dist/deduplication-ECVAZVVA.cjs +7 -0
- package/dist/deduplication-GYIST22B.js +7 -0
- package/dist/design-KUVXMFFK.cjs +7 -0
- package/dist/design-YKBXRW5C.js +7 -0
- package/dist/document-CY2A2OE7.js +7 -0
- package/dist/document-RYQ7MF6U.cjs +7 -0
- package/dist/email-settings-TQ5GGDYG.js +7 -0
- package/dist/email-settings-TQC34GST.cjs +7 -0
- package/dist/email-template-M2VVL4TI.cjs +7 -0
- package/dist/email-template-WYROV3UG.js +7 -0
- package/dist/entity-FA6PZX6S.js +7 -0
- package/dist/entity-IX5NSHPX.cjs +7 -0
- package/dist/entity-mapping-7J3IAGKQ.js +7 -0
- package/dist/entity-mapping-ZNMFCUKK.cjs +7 -0
- package/dist/environments-E3X6NYGX.js +7 -0
- package/dist/environments-P2JS4F5N.cjs +7 -0
- package/dist/erp-integration-EP2XFEH5.js +7 -0
- package/dist/erp-integration-NNV72VFI.cjs +7 -0
- package/dist/event-catalog-C45ISVMP.cjs +7 -0
- package/dist/event-catalog-D7VJ7WRS.js +7 -0
- package/dist/file-UOWBTDIU.cjs +7 -0
- package/dist/file-XSN3NAVZ.js +7 -0
- package/dist/iban-24GHLFDB.cjs +7 -0
- package/dist/iban-LDKYDVQV.js +7 -0
- package/dist/index.cjs +107 -100
- package/dist/index.d.cts +17 -2
- package/dist/index.d.ts +17 -2
- package/dist/index.js +58 -51
- package/dist/journey-7CKX67M7.js +7 -0
- package/dist/journey-EUZ6MVHG.cjs +7 -0
- package/dist/kanban-CHTH2ZSY.cjs +7 -0
- package/dist/kanban-HI6LL5WY.js +7 -0
- package/dist/message-3XZLJR6R.cjs +7 -0
- package/dist/message-ZNMCS5YH.js +7 -0
- package/dist/metering-DZNZPPY6.cjs +7 -0
- package/dist/metering-KOSCPPKB.js +7 -0
- package/dist/notes-3AO5GXIT.js +7 -0
- package/dist/notes-MPWOQC5J.cjs +7 -0
- package/dist/notification-PZOCUYD5.cjs +7 -0
- package/dist/notification-VWDZRSFZ.js +7 -0
- package/dist/organization-RARYYG2E.cjs +7 -0
- package/dist/organization-ZERPH2IH.js +7 -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-WHNTKQ5E.cjs +7 -0
- package/dist/permissions-4T3GFNB4.js +7 -0
- package/dist/permissions-FGBIJNN7.cjs +7 -0
- package/dist/pricing-4Z4TOETA.cjs +7 -0
- package/dist/pricing-C65DTZSX.js +7 -0
- package/dist/pricing-tier-NI35WOUP.cjs +7 -0
- package/dist/pricing-tier-VUOFK5Q7.js +7 -0
- package/dist/purpose-AKOEUHZ4.cjs +7 -0
- package/dist/purpose-RBRV3AQZ.js +7 -0
- package/dist/sandbox-2KN4X66E.cjs +7 -0
- package/dist/sandbox-L2SOOGGR.js +7 -0
- package/dist/submission-7BISSPO6.js +7 -0
- package/dist/submission-Q24BU4GS.cjs +7 -0
- package/dist/targeting-EYGYZD6M.cjs +7 -0
- package/dist/targeting-GEJTJN5Z.js +7 -0
- package/dist/template-variables-OAYS2E3G.cjs +1148 -0
- package/dist/template-variables-VKDJJZUT.js +1148 -0
- package/dist/user-EIEOI3OG.js +7 -0
- package/dist/user-NJJ7XVKB.cjs +7 -0
- package/dist/validation-rules-P6F5P73P.js +7 -0
- package/dist/validation-rules-VDU3CIZV.cjs +7 -0
- package/dist/webhooks-I7JWU34X.cjs +7 -0
- package/dist/webhooks-WPLEHVPX.js +7 -0
- package/dist/workflow-3LLURW3H.js +7 -0
- package/dist/workflow-RAGQDYXT.cjs +7 -0
- package/dist/workflow-definition-B6ELOZUR.cjs +7 -0
- package/dist/workflow-definition-D24CRCK2.js +7 -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 +3 -2
- 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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
4
|
|
|
5
5
|
// src/definitions/kanban-runtime.json
|
|
6
|
-
var require_kanban_runtime =
|
|
6
|
+
var require_kanban_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/kanban-runtime.json"(exports, module) {
|
|
8
8
|
module.exports = { s: "https://kanban.sls.epilot.io", o: [["createKanbanBoard", "post", "/v1/kanban/board", null, 1], ["getKanbanBoards", "get", "/v1/kanban/boards", [["filter", "q"]]], ["getKanbanBoard", "get", "/v1/kanban/board/{boardId}", [["boardId", "p", true]]], ["updateKanbanBoard", "put", "/v1/kanban/board/{boardId}", [["boardId", "p", true]], 1], ["patchKanbanBoard", "patch", "/v1/kanban/board/{boardId}", [["boardId", "p", true]], 1], ["deleteKanbanBoard", "delete", "/v1/kanban/board/{boardId}", [["boardId", "p", true]]], ["setDefaultKanbanBoard", "put", "/v1/kanban/org/default-board", [["boardId", "q", true]]], ["clearDefaultKanbanBoard", "delete", "/v1/kanban/org/default-board"], ["flowsAutocomplete", "get", "/v1/kanban/query/flows:autocomplete", [["input", "q"], ["attribute", "q", true], ["size", "q"], ["from", "q"]]], ["executeFlowsQuery", "post", "/v1/kanban/query/flows:execute", null, 1]], v: "3.0.3" };
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
4
|
|
|
5
5
|
// src/definitions/partner-directory-runtime.json
|
|
6
|
-
var require_partner_directory_runtime =
|
|
6
|
+
var require_partner_directory_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/partner-directory-runtime.json"(exports, module) {
|
|
8
8
|
module.exports = { s: "https://partner-directory-api.sls.epilot.io", o: [["approvePartner", "post", "/v1/partners/{id}/approve", [["id", "p", true]]], ["rejectPartner", "post", "/v1/partners/{id}/reject", [["id", "p", true]]], ["searchAssignable", "post", "/v1/partners/assignables:search", null, 1], ["batchGetAssignable", "post", "/v1/partners/assignables:batchGet", null, 1], ["getPartnerByToken", "get", "/v1/partner-directory/public/getPartnerByToken", [["token", "q", true]]], ["activatePartner", "post", "/v1/partner-directory/public/activate", [["token", "q", true]], 1], ["searchGeolocationForText", "post", "/v1/geolocation/text:search", null, 1], ["invitePartnerV2", "post", "/v2/partners/{id}/invite", [["id", "p", true]], 1], ["getPartnerUsers", "get", "/v2/partners/{orgId}/users", [["orgId", "p", true]]], ["createPartnerUser", "post", "/v2/partners/{orgId}/users", [["orgId", "p", true]], 1], ["deletePartnerUser", "delete", "/v2/partners/{orgId}/users/{userId}", [["orgId", "p", true], ["userId", "p", true]]], ["getPartnerRoles", "get", "/v2/partners/{orgId}/roles", [["orgId", "p", true]]], ["createPartnerRole", "post", "/v2/partners/{orgId}/roles", [["orgId", "p", true]], 1], ["updatePartnerRole", "put", "/v2/partners/{orgId}/roles/{roleId}", [["orgId", "p", true], ["roleId", "p", true]], 1], ["assignPartnerUserRoles", "post", "/v2/partners/{orgId}/users/{userId}/roles", [["orgId", "p", true], ["userId", "p", true]], 1], ["unassignPartnerUserRoles", "delete", "/v2/partners/{orgId}/users/{userId}/roles", [["orgId", "p", true], ["userId", "p", true]], 1]], v: "3.0.3" };
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
4
|
|
|
5
5
|
// src/definitions/targeting-runtime.json
|
|
6
|
-
var require_targeting_runtime =
|
|
6
|
+
var require_targeting_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/targeting-runtime.json"(exports, module) {
|
|
8
8
|
module.exports = { s: "https://targeting.sls.epilot.io", o: [["changeCampaignStatus", "post", "/v1/campaign/{campaign_id}/status", [["CampaignIdPathParam"]]], ["getCampaignJobStatus", "get", "/v1/campaign/{campaign_id}/job", [["CampaignIdPathParam"]]], ["getCampaignPortals", "get", "/v1/campaign/{campaign_id}/portals", [["CampaignIdPathParam"]]], ["retriggerCampaignAutomations", "post", "/v1/campaign/{campaign_id}/automations:retrigger", [["CampaignIdPathParam"]], 1], ["matchCampaigns", "post", "/v1/campaign:match", null, 1], ["matchTargets", "post", "/v1/target:match", null, 1], ["getTargetQueries", "post", "/v1/target/queries", null, 1], ["createRecipient", "post", "/v1/campaign/{campaign_id}/recipient", [["CampaignIdPathParam"]], 1], ["updateRecipient", "patch", "/v1/campaign/{campaign_id}/recipient/{recipient_id}", [["CampaignIdPathParam"], ["RecipientIdPathParam"]], 1], ["updateRecipientPortalStatus", "patch", "/v1/campaign/{campaign_id}/recipient/{recipient_id}/portal:status", [["CampaignIdPathParam"], ["RecipientIdPathParam"]], 1], ["getRecipients", "get", "/v1/campaign/{campaign_id}/recipients", [["CampaignIdPathParam"], ["limit", "q"], ["next", "q"], ["q", "q"], ["automation_status", "q"], ["portal_status", "q"]]]], v: "3.0.3", cp: { CampaignIdPathParam: ["campaign_id", "p", true], RecipientIdPathParam: ["recipient_id", "p", true] } };
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
4
|
|
|
5
5
|
// src/definitions/iban-runtime.json
|
|
6
|
-
var require_iban_runtime =
|
|
6
|
+
var require_iban_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/iban-runtime.json"(exports, module) {
|
|
8
8
|
module.exports = { s: "https://iban-api.sls.epilot.io", o: [["validateIban", "post", "/v1/public/iban:validate", null, 1]], v: "3.0.3" };
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
4
|
|
|
5
5
|
// src/definitions/pricing-runtime.json
|
|
6
|
-
var require_pricing_runtime =
|
|
6
|
+
var require_pricing_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/pricing-runtime.json"(exports, module) {
|
|
8
8
|
module.exports = { s: "https://pricing-api.sls.epilot.io", o: [["$calculatePricingDetails", "post", "/v1/pricing:compute", null, 1], ["createOrder", "post", "/v1/order", null, 1], ["putOrder", "put", "/v1/order/{id}", [["id", "p", true]], 1], ["$checkoutCart", "post", "/v1/public/cart:checkout", [["X-Ivy-Org-ID", "h", true]], 1], ["$searchCatalog", "post", "/v1/public/catalog", [["X-Ivy-Org-ID", "h"], ["Authorization", "h"]], 1], ["$privateSearchCatalog", "post", "/v1/catalog", null, 1], ["$validatePromoCodes", "post", "/v1/public/validate-promo-codes", [["X-Ivy-Org-ID", "h", true]], 1], ["$availabilityCheck", "post", "/v1/public/availability:check", [["X-Ivy-Org-ID", "h", true]], 1], ["$validateAvailabilityFile", "get", "/v1/validate-availability/{id}", [["id", "p", true], ["X-Epilot-Org-ID", "h", true]]], ["$historicMarketPrices", "get", "/v1/public/historicMarketPrices", [["market", "q", true], ["bidding_zone", "q", true], ["frequency", "q", true], ["from", "q", true], ["to", "q", true]]], ["$averageMarketPrice", "get", "/v1/public/averageMarketPrice", [["market", "q", true], ["bidding_zone", "q", true], ["from", "q", true], ["to", "q", true]]], ["$searchExternalProducts", "post", "/v1/public/integration/{integrationId}/products", [["integrationId", "p", true]], 1], ["$searchExternalProductRecommendations", "post", "/v1/public/integration/{integrationId}/product-recommendations", [["integrationId", "p", true]], 1], ["$searchProviders", "post", "/v1/public/integration/{integrationId}/providers:search", [["X-Epilot-Org-ID", "h", true], ["integrationId", "p", true]], 1], ["$searchStreets", "post", "/v1/public/integration/{integrationId}/streets:search", [["X-Epilot-Org-ID", "h", true], ["integrationId", "p", true]], 1], ["$computePrice", "post", "/v1/public/integration/{integrationId}/compute-price", [["X-Epilot-Org-ID", "h", true], ["integrationId", "p", true]], 1], ["$getCredentials", "get", "/v1/integration/{integrationId}/credentials", [["integrationId", "p", true]]], ["$saveCredentials", "put", "/v1/integration/{integrationId}/credentials:save", [["integrationId", "p", true]], 1], ["$deleteCredentials", "delete", "/v1/integration/{integrationId}/credentials:delete", [["integrationId", "p", true]]], ["$getExternalCatalogProducts", "post", "/v1/public/external-catalog/products", null, 1], ["$getExternalCatalogProductRecommendations", "post", "/v1/public/external-catalog/product-recommendations", null, 1], ["$productRecommendations", "post", "/v1/public/product-recommendations", [["X-Ivy-Org-ID", "h"]], 1]], v: "3.0.3" };
|
|
9
9
|
}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__glob
|
|
3
|
+
} from "./chunk-YPSWSI3M.js";
|
|
4
|
+
|
|
5
|
+
// src/authorize.ts
|
|
6
|
+
var authorize = (client, token) => {
|
|
7
|
+
if (typeof token === "string") {
|
|
8
|
+
client.defaults.headers.common.authorization = `Bearer ${token}`;
|
|
9
|
+
} else {
|
|
10
|
+
client.interceptors.request.use(async (config) => {
|
|
11
|
+
const resolved = await token();
|
|
12
|
+
config.headers.authorization = `Bearer ${resolved}`;
|
|
13
|
+
return config;
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return client;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
// import("./docs/**/*") in src/help.ts
|
|
20
|
+
var globImport_docs = __glob({
|
|
21
|
+
"./docs/README.json": () => import("./README-VG67PX4R.js"),
|
|
22
|
+
"./docs/_index.json": () => import("./_index-S6LFD3ER.js"),
|
|
23
|
+
"./docs/access-token.json": () => import("./access-token-GSQZLDXR.js"),
|
|
24
|
+
"./docs/address-suggestions.json": () => import("./address-suggestions-74244BAJ.js"),
|
|
25
|
+
"./docs/address.json": () => import("./address-QVJUGMOG.js"),
|
|
26
|
+
"./docs/ai-agents.json": () => import("./ai-agents-IZWFEUSH.js"),
|
|
27
|
+
"./docs/app.json": () => import("./app-VLM3SWKA.js"),
|
|
28
|
+
"./docs/audit-logs.json": () => import("./audit-logs-5VXHOQ7S.js"),
|
|
29
|
+
"./docs/automation.json": () => import("./automation-72VGEJCY.js"),
|
|
30
|
+
"./docs/billing.json": () => import("./billing-IPALEAG2.js"),
|
|
31
|
+
"./docs/blueprint-manifest.json": () => import("./blueprint-manifest-CXSCRQ5X.js"),
|
|
32
|
+
"./docs/consent.json": () => import("./consent-NNYHF2N4.js"),
|
|
33
|
+
"./docs/customer-portal.json": () => import("./customer-portal-D3SLPAHZ.js"),
|
|
34
|
+
"./docs/dashboard.json": () => import("./dashboard-UTPGXFW5.js"),
|
|
35
|
+
"./docs/data-management.json": () => import("./data-management-QH2IJ5QV.js"),
|
|
36
|
+
"./docs/deduplication.json": () => import("./deduplication-GYIST22B.js"),
|
|
37
|
+
"./docs/design.json": () => import("./design-YKBXRW5C.js"),
|
|
38
|
+
"./docs/document.json": () => import("./document-CY2A2OE7.js"),
|
|
39
|
+
"./docs/email-settings.json": () => import("./email-settings-TQ5GGDYG.js"),
|
|
40
|
+
"./docs/email-template.json": () => import("./email-template-WYROV3UG.js"),
|
|
41
|
+
"./docs/entity-mapping.json": () => import("./entity-mapping-7J3IAGKQ.js"),
|
|
42
|
+
"./docs/entity.json": () => import("./entity-FA6PZX6S.js"),
|
|
43
|
+
"./docs/environments.json": () => import("./environments-E3X6NYGX.js"),
|
|
44
|
+
"./docs/erp-integration.json": () => import("./erp-integration-EP2XFEH5.js"),
|
|
45
|
+
"./docs/event-catalog.json": () => import("./event-catalog-D7VJ7WRS.js"),
|
|
46
|
+
"./docs/file.json": () => import("./file-XSN3NAVZ.js"),
|
|
47
|
+
"./docs/iban.json": () => import("./iban-LDKYDVQV.js"),
|
|
48
|
+
"./docs/journey.json": () => import("./journey-7CKX67M7.js"),
|
|
49
|
+
"./docs/kanban.json": () => import("./kanban-HI6LL5WY.js"),
|
|
50
|
+
"./docs/message.json": () => import("./message-ZNMCS5YH.js"),
|
|
51
|
+
"./docs/metering.json": () => import("./metering-KOSCPPKB.js"),
|
|
52
|
+
"./docs/notes.json": () => import("./notes-3AO5GXIT.js"),
|
|
53
|
+
"./docs/notification.json": () => import("./notification-VWDZRSFZ.js"),
|
|
54
|
+
"./docs/organization.json": () => import("./organization-ZERPH2IH.js"),
|
|
55
|
+
"./docs/partner-directory.json": () => import("./partner-directory-2XMPQWWX.js"),
|
|
56
|
+
"./docs/permissions.json": () => import("./permissions-4T3GFNB4.js"),
|
|
57
|
+
"./docs/pricing-tier.json": () => import("./pricing-tier-VUOFK5Q7.js"),
|
|
58
|
+
"./docs/pricing.json": () => import("./pricing-C65DTZSX.js"),
|
|
59
|
+
"./docs/purpose.json": () => import("./purpose-RBRV3AQZ.js"),
|
|
60
|
+
"./docs/sandbox.json": () => import("./sandbox-L2SOOGGR.js"),
|
|
61
|
+
"./docs/submission.json": () => import("./submission-7BISSPO6.js"),
|
|
62
|
+
"./docs/targeting.json": () => import("./targeting-GEJTJN5Z.js"),
|
|
63
|
+
"./docs/template-variables.json": () => import("./template-variables-VKDJJZUT.js"),
|
|
64
|
+
"./docs/user.json": () => import("./user-EIEOI3OG.js"),
|
|
65
|
+
"./docs/validation-rules.json": () => import("./validation-rules-P6F5P73P.js"),
|
|
66
|
+
"./docs/webhooks.json": () => import("./webhooks-WPLEHVPX.js"),
|
|
67
|
+
"./docs/workflow-definition.json": () => import("./workflow-definition-D24CRCK2.js"),
|
|
68
|
+
"./docs/workflow.json": () => import("./workflow-3LLURW3H.js")
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
// src/help.ts
|
|
72
|
+
var docsCache = /* @__PURE__ */ new Map();
|
|
73
|
+
var kebabCase = (str) => str.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
|
|
74
|
+
var resolveDoc = async (filename) => {
|
|
75
|
+
if (docsCache.has(filename)) {
|
|
76
|
+
return docsCache.get(filename);
|
|
77
|
+
}
|
|
78
|
+
try {
|
|
79
|
+
const mod = await globImport_docs(`./docs/${filename}`);
|
|
80
|
+
const content = mod.default ?? mod;
|
|
81
|
+
docsCache.set(filename, content);
|
|
82
|
+
return content;
|
|
83
|
+
} catch {
|
|
84
|
+
return `No documentation found for "${filename}". Run help() to see available APIs.`;
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
var help = async (apiName) => {
|
|
88
|
+
return resolveDoc(apiName ? `${kebabCase(apiName)}.json` : "README.json");
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
// src/compact.ts
|
|
92
|
+
var L = { p: "path", q: "query", h: "header", c: "cookie" };
|
|
93
|
+
var ep = (p) => {
|
|
94
|
+
const r = { name: p[0], in: L[p[1]] };
|
|
95
|
+
let i = 2;
|
|
96
|
+
if (typeof p[i] === "boolean") {
|
|
97
|
+
if (p[i]) r.required = true;
|
|
98
|
+
i++;
|
|
99
|
+
}
|
|
100
|
+
if (typeof p[i] === "string") {
|
|
101
|
+
r.style = p[i];
|
|
102
|
+
i++;
|
|
103
|
+
}
|
|
104
|
+
if (typeof p[i] === "boolean") {
|
|
105
|
+
r.explode = p[i];
|
|
106
|
+
i++;
|
|
107
|
+
}
|
|
108
|
+
return r;
|
|
109
|
+
};
|
|
110
|
+
var mp = (ps) => ps.map((p) => p.length === 1 ? { $ref: `#/components/parameters/${p[0]}` } : ep(p));
|
|
111
|
+
var expand = (c) => {
|
|
112
|
+
const paths = {};
|
|
113
|
+
for (const [id, m, p, ps, b] of c.o) {
|
|
114
|
+
const op = { operationId: id, responses: {} };
|
|
115
|
+
if (ps?.length) op.parameters = mp(ps);
|
|
116
|
+
if (b) op.requestBody = { content: { "application/json": {} } };
|
|
117
|
+
if (!paths[p]) paths[p] = {};
|
|
118
|
+
paths[p][m] = op;
|
|
119
|
+
}
|
|
120
|
+
if (c.pp)
|
|
121
|
+
for (const [p, ps] of Object.entries(c.pp)) {
|
|
122
|
+
if (!paths[p]) paths[p] = {};
|
|
123
|
+
paths[p].parameters = mp(ps);
|
|
124
|
+
}
|
|
125
|
+
const doc = {
|
|
126
|
+
openapi: c.v || "3.0.2",
|
|
127
|
+
info: { title: "", version: "" },
|
|
128
|
+
paths,
|
|
129
|
+
servers: c.s ? [{ url: c.s }] : []
|
|
130
|
+
};
|
|
131
|
+
if (c.cp) {
|
|
132
|
+
const params = {};
|
|
133
|
+
for (const [k, v] of Object.entries(c.cp)) params[k] = ep(v);
|
|
134
|
+
doc.components = { parameters: params };
|
|
135
|
+
}
|
|
136
|
+
return doc;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
// src/client-factory.ts
|
|
140
|
+
import OpenAPIClientAxios from "openapi-client-axios";
|
|
141
|
+
var createApiClient = (params) => {
|
|
142
|
+
const { definition, token, headers } = params;
|
|
143
|
+
const api = new OpenAPIClientAxios({ definition, quick: true });
|
|
144
|
+
const client = api.initSync();
|
|
145
|
+
if (headers && Object.keys(headers).length > 0) {
|
|
146
|
+
client.defaults.headers.common = {
|
|
147
|
+
...client.defaults.headers.common ?? {},
|
|
148
|
+
...headers
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
if (token) {
|
|
152
|
+
authorize(client, token);
|
|
153
|
+
}
|
|
154
|
+
return client;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
// src/proxy.ts
|
|
158
|
+
var createApiHandle = (params) => {
|
|
159
|
+
const { resolveClient, createClient, apiName } = params;
|
|
160
|
+
return new Proxy({}, {
|
|
161
|
+
get(_, prop) {
|
|
162
|
+
if (prop === "getClient") {
|
|
163
|
+
return () => {
|
|
164
|
+
const client = resolveClient();
|
|
165
|
+
if (apiName && !("help" in client)) {
|
|
166
|
+
client.help = () => help(apiName);
|
|
167
|
+
}
|
|
168
|
+
return client;
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
if (prop === "createClient") {
|
|
172
|
+
return () => {
|
|
173
|
+
const client = createClient();
|
|
174
|
+
if (apiName) {
|
|
175
|
+
client.help = () => help(apiName);
|
|
176
|
+
}
|
|
177
|
+
return client;
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
if (prop === "help") {
|
|
181
|
+
return () => apiName ? help(apiName) : "No API name available. Use epilot.help(apiName) instead.";
|
|
182
|
+
}
|
|
183
|
+
if (prop === "then" || prop === "catch" || prop === "finally") {
|
|
184
|
+
return void 0;
|
|
185
|
+
}
|
|
186
|
+
return (...args) => {
|
|
187
|
+
const client = resolveClient();
|
|
188
|
+
const method = client[prop];
|
|
189
|
+
if (typeof method === "function") {
|
|
190
|
+
return method.apply(client, args);
|
|
191
|
+
}
|
|
192
|
+
return method;
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
export {
|
|
199
|
+
authorize,
|
|
200
|
+
help,
|
|
201
|
+
expand,
|
|
202
|
+
createApiClient,
|
|
203
|
+
createApiHandle
|
|
204
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
4
|
|
|
5
5
|
// src/definitions/app-runtime.json
|
|
6
|
-
var require_app_runtime =
|
|
6
|
+
var require_app_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/app-runtime.json"(exports, module) {
|
|
8
8
|
module.exports = { s: "https://app.sls.epilot.io", o: [["getPublicFacingComponent", "get", "/v1/public/app/{appId}/components/{componentId}"], ["listConfigurations", "get", "/v1/app-configurations", [["page", "q"], ["pageSize", "q"]]], ["createConfiguration", "post", "/v1/app-configurations", null, 1], ["listPublicConfigurations", "get", "/v1/app-configurations/public", [["page", "q"], ["pageSize", "q"]]], ["getPublicConfiguration", "get", "/v1/app-configurations/public/{appId}", [["version", "q"]]], ["getConfiguration", "get", "/v1/app-configurations/{appId}", [["version", "q"]]], ["patchMetadata", "patch", "/v1/app-configurations/{appId}", null, 1], ["deleteConfiguration", "delete", "/v1/app-configurations/{appId}"], ["queryEvents", "post", "/v1/app-configurations/{appId}/events", [["appId", "p", true]], 1], ["createBundleUploadUrl", "post", "/v1/app-configurations/{appId}/bundle", [["appId", "p", true]], 1], ["createZipUploadUrl", "post", "/v1/app-configurations/{appId}/zip", [["appId", "p", true]], 1], ["createLogoUploadUrl", "post", "/v1/app-configurations/{appId}/logo", null, 1], ["deleteLogo", "delete", "/v1/app-configurations/{appId}/logo"], ["listVersions", "get", "/v1/app-configurations/{appId}/versions", [["appId", "p", true], ["page", "q"], ["pageSize", "q"]]], ["getVersion", "get", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["deleteVersion", "delete", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["patchVersion", "patch", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]], 1], ["getReview", "get", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]]], ["createReview", "post", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]], 1], ["createComponent", "post", "/v1/app-configurations/{appId}/versions/{version}/components", [["appId", "p", true], ["version", "p", true]], 1], ["patchComponent", "patch", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]], 1], ["deleteComponent", "delete", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]]], ["cloneVersion", "post", "/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}", [["appId", "p", true], ["sourceVersion", "p", true], ["targetVersion", "p", true]]], ["listInstallations", "get", "/v1/app", [["componentType", "q"], ["enabled", "q"], ["page", "q"], ["pageSize", "q"]]], ["getInstallation", "get", "/v1/app/{appId}", [["appId", "p", true]]], ["install", "post", "/v1/app/{appId}", [["appId", "p", true]], 1], ["patchInstallation", "patch", "/v1/app/{appId}", [["appId", "p", true]], 1], ["uninstall", "delete", "/v1/app/{appId}", [["appId", "p", true]]], ["promoteVersion", "post", "/v1/app/{appId}/promote-to/{version}", [["appId", "p", true], ["version", "p", true]]], ["ingestEvent", "post", "/v1/app-events", null, 1]], v: "3.1.0", pp: { "/v1/public/app/{appId}/components/{componentId}": [["appId", "p", true], ["componentId", "p", true]], "/v1/app-configurations/public/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}/logo": [["appId", "p", true]] } };
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
4
|
|
|
5
5
|
// src/definitions/address-runtime.json
|
|
6
|
-
var require_address_runtime =
|
|
6
|
+
var require_address_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/address-runtime.json"(exports, module) {
|
|
8
8
|
module.exports = { s: "https://address.sls.epilot.io", o: [["getAddressSuggestions", "get", "/v1/public/suggestions", [["fileRef", "q", true], ["countryCodeSearchTerm", "q"], ["postalCodeSearchTerm", "q"], ["streetSearchTerm", "q"]]], ["availabilityCheck", "post", "/v1/public/availability", null, 1], ["validateAvailabilityFile", "get", "/v1/availability/{id}/validate", [["id", "p", true]]]], v: "3.1.0" };
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
4
|
|
|
5
5
|
// src/definitions/access-token-runtime.json
|
|
6
|
-
var require_access_token_runtime =
|
|
6
|
+
var require_access_token_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/access-token-runtime.json"(exports, module) {
|
|
8
8
|
module.exports = { s: "https://access-token.sls.epilot.io", o: [["createAccessToken", "post", "/v1/access-tokens", null, 1], ["listAccessTokens", "get", "/v1/access-tokens", [["token_type", "q"]]], ["revokeAccessToken", "delete", "/v1/access-tokens/{id}", [["id", "p", true]]], ["getAccessTokenJwks", "get", "/v1/access-tokens/.well-known/jwks.json"], ["getAccessTokenOIDC", "get", "/v1/access-tokens/.well-known/openid-configuration"], ["getPublicTokenJwks", "get", "/v1/access-tokens/public/.well-known/jwks.json"], ["getPublicTokenOIDC", "get", "/v1/access-tokens/public/.well-known/openid-configuration"]], v: "3.0.3" };
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
4
|
|
|
5
5
|
// src/definitions/notification-runtime.json
|
|
6
|
-
var require_notification_runtime =
|
|
6
|
+
var require_notification_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/notification-runtime.json"(exports, module) {
|
|
8
8
|
module.exports = { s: "https://notification.sls.epilot.io", o: [["getNotificationsV2", "get", "/v2/notification/notifications", [["cursor", "q"], ["after_id", "q"], ["limit", "q"]]], ["createNotification", "post", "/v1/notification/notifications", null, 1], ["getNotifications", "get", "/v1/notification/notifications", [["after_id", "q"], ["limit", "q"], ["no_hydrate", "q"]]], ["getNotification", "get", "/v1/notification/notifications/{id}", [["id", "p", true]]], ["markAllAsRead", "put", "/v1/notification/notifications/mark"], ["markAsRead", "put", "/v1/notification/notifications/{id}/mark", [["id", "p", true]]], ["getTotalUnread", "get", "/v1/notification/unreads"], ["listNotificationTemplates", "get", "/v1/notification/templates", [["q", "q"], ["from", "q"], ["size", "q"], ["sort", "q"], ["fields", "q"], ["hydrate", "q"]]], ["createNotificationTemplate", "post", "/v1/notification/templates", null, 1], ["getNotificationTemplate", "get", "/v1/notification/templates/{id}", [["TemplateIdPathParam"]]], ["updateNotificationTemplate", "put", "/v1/notification/templates/{id}", [["TemplateIdPathParam"]], 1], ["patchNotificationTemplate", "patch", "/v1/notification/templates/{id}", [["TemplateIdPathParam"]], 1], ["deleteNotificationTemplate", "delete", "/v1/notification/templates/{id}", [["TemplateIdPathParam"]]], ["sendPreview", "post", "/v1/notification/templates/send-preview", null, 1]], v: "3.0.3", cp: { TemplateIdPathParam: ["id", "p", true] } };
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
4
|
|
|
5
5
|
// src/definitions/ai-agents-runtime.json
|
|
6
|
-
var require_ai_agents_runtime =
|
|
6
|
+
var require_ai_agents_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/ai-agents-runtime.json"(exports, module) {
|
|
8
8
|
module.exports = { s: "https://ai-agents.sls.epilot.io", o: [["createAgent", "post", "/v1/agents", null, 1], ["listAgents", "get", "/v1/agents", [["source", "q"], ["availability", "q"], ["entity_schema", "q"]]], ["getAgentById", "get", "/v1/agents/{agent_id}", [["agent_id", "p", true]]], ["updateAgentById", "put", "/v1/agents/{agent_id}", [["agent_id", "p", true]], 1], ["deleteAgentById", "delete", "/v1/agents/{agent_id}", [["agent_id", "p", true]]], ["executeAgent", "post", "/v1/agents/{agent_id}/execute", [["agent_id", "p", true]], 1], ["listExecutions", "get", "/v1/executions", [["agent_id", "q"], ["status", "q"], ["limit", "q"]]], ["getExecution", "get", "/v1/executions/{execution_id}", [["execution_id", "p", true]]], ["cancelExecution", "delete", "/v1/executions/{execution_id}", [["execution_id", "p", true]]], ["getExecutionTrace", "get", "/v1/executions/{execution_id}/trace", [["execution_id", "p", true]]], ["approveExecution", "post", "/v1/executions/{execution_id}/approve", [["execution_id", "p", true]], 1], ["rejectExecution", "post", "/v1/executions/{execution_id}/reject", [["execution_id", "p", true]], 1]], v: "3.0.0" };
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
4
|
|
|
5
5
|
// src/definitions/email-settings-runtime.json
|
|
6
|
-
var require_email_settings_runtime =
|
|
6
|
+
var require_email_settings_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/email-settings-runtime.json"(exports, module) {
|
|
8
8
|
module.exports = { s: "https://email-settings.sls.epilot.io", o: [["provisionEpilotEmailAddress", "put", "/v2/email-settings/email-addresses/epilot:provision", null, 1], ["setEmailAddressPrimary", "post", "/v2/email-settings/email-addresses/primary", null, 1], ["getEmailAddress", "get", "/v2/email-settings/email-addresses/{id}", [["EmailAddressId"]]], ["deleteEmailAddress", "delete", "/v2/email-settings/email-addresses/{id}", [["EmailAddressId"]]], ["updateEmailAddress", "put", "/v2/email-settings/email-addresses/{id}", [["EmailAddressId"]], 1], ["listEmailAddresses", "get", "/v2/email-settings/email-addresses"], ["addEmailAddress", "post", "/v2/email-settings/email-addresses", null, 1], ["getSharedInbox", "get", "/v2/email-settings/shared-inboxes/{id}", [["SharedInboxId"]]], ["deleteSharedInbox", "delete", "/v2/email-settings/shared-inboxes/{id}", [["SharedInboxId"], ["successorInboxId", "q"]]], ["updateSharedInbox", "put", "/v2/email-settings/shared-inboxes/{id}", [["SharedInboxId"]], 1], ["listSharedInboxes", "get", "/v2/email-settings/shared-inboxes"], ["addSharedInbox", "post", "/v2/email-settings/shared-inboxes", null, 1], ["listInboxBuckets", "get", "/v2/email-settings/inbox-buckets"], ["connectOutlook", "get", "/v2/outlook/connect"], ["getOutlookConnectionStatus", "get", "/v2/outlook/connection/status"], ["disconnectOutlook", "post", "/v2/outlook/connection/disconnect", null, 1], ["connectOutlookMailbox", "post", "/v2/outlook/mailbox/connect", null, 1], ["disconnectOutlookMailbox", "post", "/v2/outlook/mailbox/{email}/disconnect", [["email", "p", true]]], ["startMailboxSync", "post", "/v2/outlook/mailbox/{email}/sync", [["email", "p", true]], 1], ["getMailboxSyncStatus", "get", "/v2/outlook/mailbox/{email}/sync/status", [["email", "p", true]]], ["retryMailboxSync", "post", "/v2/outlook/mailbox/{email}/sync/retry", [["email", "p", true]], 1], ["getConnectedOutlookEmails", "get", "/v2/outlook/mailbox/mappings"], ["outlookOAuthCallback", "get", "/v2/outlook/oauth/callback", [["code", "q"], ["state", "q", true], ["session_state", "q"], ["error", "q"], ["error_description", "q"], ["error_subcode", "q"], ["client_info", "q"], ["error_uri", "q"], ["admin_consent", "q"], ["tenant", "q"]]], ["getSettings", "get", "/v1/email-settings", [["type", "q", true], ["id", "q"]]], ["addSetting", "post", "/v1/email-settings", null, 1], ["deleteSetting", "delete", "/v1/email-settings", null, 1], ["updateSetting", "post", "/v1/email-settings/{id}", [["id", "p", true]], 1], ["addDomain", "post", "/v1/email-settings/domain", null, 1], ["deleteDomain", "delete", "/v1/email-settings/domain", null, 1], ["verifyNameServers", "post", "/v1/email-settings/domain/name-servers:verify", null, 1], ["verifyDomain", "post", "/v1/email-settings/domain:verify", null, 1]], v: "3.0.3", cp: { EmailAddressId: ["id", "p", true], SharedInboxId: ["id", "p", true] } };
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
4
|
|
|
5
5
|
// src/definitions/user-runtime.json
|
|
6
|
-
var require_user_runtime =
|
|
6
|
+
var require_user_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/user-runtime.json"(exports, module) {
|
|
8
8
|
module.exports = { s: "https://user.sls.epilot.io", o: [["signUpUser", "post", "/v2/users/public/signup", [["token", "q"]], 1], ["getMeV2", "get", "/v2/users/me"], ["listUsersV2", "get", "/v2/users", [["query", "q"], ["limit", "q"], ["offset", "q"]]], ["getUserV2", "get", "/v2/users/{id}", [["id", "p", true]]], ["updateUserV2", "patch", "/v2/users/{id}", [["id", "p", true]], 1], ["deleteUserV2", "delete", "/v2/users/{id}", [["id", "p", true]]], ["inviteUser", "post", "/v2/users/invite", null, 1], ["resendUserInvitation", "post", "/v2/users/invite:resendEmail", null, 1], ["getGroupsForUser", "get", "/v2/users/{id}/groups", [["id", "p", true]]], ["getGroups", "get", "/v1/groups", [["query", "q"], ["limit", "q"], ["offset", "q"], ["hydrate", "q"]]], ["createGroup", "post", "/v1/groups", null, 1], ["getGroup", "get", "/v1/groups/{id}", [["id", "p", true], ["hydrate", "q"]]], ["updateGroup", "patch", "/v1/groups/{id}", [["id", "p", true]], 1], ["deleteGroup", "delete", "/v1/groups/{id}", [["id", "p", true]]], ["advanceUserAssignment", "post", "/v1/groups/{id}/user:next", [["id", "p", true]]], ["createNavigation", "post", "/v2/user/navigations", null, 1], ["getNavigation", "get", "/v2/user/navigations/{id}", [["id", "p", true]]], ["verifyEmailWithToken", "post", "/v2/users/public/verifyEmail", [["token", "q", true]], 1], ["checkInviteToken", "get", "/v2/users/public/checkToken", [["token", "q", true]]], ["activateUser", "post", "/v2/users/public/activate", [["token", "q", true]], 1], ["rejectInvite", "delete", "/v2/users/public/reject", [["token", "q", true]]], ["getUserLoginParametersV2", "get", "/v2/users/public/username/{username}:getLoginParameters", [["username", "p", true]]], ["beginPasskeyAuthentication", "post", "/v2/users/public/passkeys:authenticateBegin", null, 1], ["beginDiscoverablePasskeyAuthentication", "post", "/v2/users/public/passkeys:authenticateBeginDiscoverable"], ["resolveDiscoverableCredential", "post", "/v2/users/public/passkeys:resolveCredential", null, 1], ["beginPasskeyRegistration", "post", "/v2/users/me/passkeys:registerBegin", null, 1], ["completePasskeyRegistration", "post", "/v2/users/me/passkeys:registerComplete", null, 1], ["listPasskeys", "get", "/v2/users/me/passkeys"], ["deletePasskey", "delete", "/v2/users/me/passkeys/{credentialId}", [["credentialId", "p", true]]], ["switchOrganization", "post", "/v2/users/switchOrganization", null, 1], ["getMe", "get", "/v1/users/me"], ["listUsers", "get", "/v1/users", [["org_ids", "q", false, "form", false], ["query", "q"], ["limit", "q"], ["offset", "q"]]], ["getUser", "get", "/v1/users/{id}", [["id", "p", true]]], ["getUserLoginParameters", "get", "/v1/users/username/{username}:getLoginParameters", [["username", "p", true]]]] };
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
4
|
|
|
5
5
|
// src/definitions/message-runtime.json
|
|
6
|
-
var require_message_runtime =
|
|
6
|
+
var require_message_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/message-runtime.json"(exports, module) {
|
|
8
8
|
module.exports = { s: "https://message.sls.epilot.io", o: [["sendMessage", "post", "/v1/message/messages", [["do_not_create_entities", "q"]], 1], ["updateMessage", "put", "/v1/message/messages"], ["getMessage", "get", "/v1/message/messages/{id}", [["id", "p", true]]], ["deleteMessage", "delete", "/v1/message/messages/{id}", [["id", "p", true]]], ["getMessageEml", "get", "/v1/message/messages/{id}/eml", [["id", "p", true]]], ["searchMessages", "post", "/v1/message/messages:search", null, 1], ["trashMessage", "post", "/v1/message/messages/{id}/trash", [["id", "p", true]]], ["untrashMessage", "post", "/v1/message/messages/{id}/untrash", [["id", "p", true]]], ["markReadMessage", "post", "/v1/message/messages/{id}/read", [["id", "p", true]]], ["markReadMessageV2", "post", "/v2/message/messages/{id}/read", [["id", "p", true]], 1], ["markUnreadMessage", "post", "/v1/message/messages/{id}/unread", [["id", "p", true]]], ["getUnread", "get", "/v1/message/messages/unread/{actor}", [["actor", "p", true], ["email_filter", "q"]]], ["markUnreadMessageV2", "post", "/v2/message/messages/{id}/unread", [["id", "p", true]], 1], ["searchThreads", "post", "/v1/message/threads:search", null, 1], ["searchThreadsV2", "post", "/v2/message/threads:search", null, 1], ["searchIds", "post", "/v1/message/threads:searchIds", null, 1], ["updateThread", "put", "/v1/message/threads"], ["deleteThread", "delete", "/v1/message/threads/{id}", [["id", "p", true]]], ["moveThread", "post", "/v1/message/threads/{id}:move", [["id", "p", true]], 1], ["markThreadAsDone", "post", "/v1/message/threads/{id}:markAsDone", [["id", "p", true]]], ["markThreadAsOpen", "post", "/v1/message/threads/{id}:markAsOpen", [["id", "p", true]]], ["getThreadTimeline", "get", "/v1/message/threads/{id}/timeline", [["id", "p", true]]], ["trashThread", "post", "/v1/message/threads/{id}/trash", [["id", "p", true]]], ["untrashThread", "post", "/v1/message/threads/{id}/untrash", [["id", "p", true]]], ["threadBulkActionsRead", "post", "/v1/message/threads/bulk:read", null, 1], ["threadBulkActionsUnread", "post", "/v1/message/threads/bulk:unread", null, 1], ["threadBulkActionsFavorite", "post", "/v1/message/threads/bulk:favorite", null, 1], ["threadBulkActionsUnfavorite", "post", "/v1/message/threads/bulk:unfavorite", null, 1], ["threadBulkActionsTrash", "post", "/v1/message/threads/bulk:trash", null, 1], ["threadBulkActionsUntrash", "post", "/v1/message/threads/bulk:untrash", null, 1], ["threadBulkActionsDelete", "post", "/v1/message/threads/bulk:delete", null, 1], ["threadBulkActionsDone", "post", "/v1/message/threads/bulk:done", null, 1], ["threadBulkActionsOpen", "post", "/v1/message/threads/bulk:open", null, 1], ["markReadThread", "post", "/v1/message/threads/{id}/read", [["id", "p", true]]], ["markReadThreadV2", "post", "/v2/message/threads/{id}/read", [["id", "p", true]], 1], ["markUnreadThread", "post", "/v1/message/threads/{id}/unread", [["id", "p", true]]], ["markUnreadThreadV2", "post", "/v2/message/threads/{id}/unread", [["id", "p", true]], 1], ["assignThread", "post", "/v1/message/threads/{id}/assign", [["id", "p", true]], 1], ["unassignThread", "post", "/v1/message/threads/{id}/unassign", [["id", "p", true]], 1], ["assignUsers", "post", "/v1/message/threads/{id}/assign:users", [["id", "p", true]], 1], ["assignUsersV2", "post", "/v2/message/threads/{id}/assign:users", [["id", "p", true]], 1], ["pinThread", "post", "/v1/message/threads/{id}:pin", [["id", "p", true]]], ["unpinThread", "delete", "/v1/message/threads/{id}:pin", [["id", "p", true]]], ["createDraft", "post", "/v1/message/drafts", null, 1], ["sendDraft", "post", "/v1/message/drafts:send"], ["getMessageV2", "get", "/v2/message/messages/{id}", [["id", "p", true]]]] };
|
|
9
9
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
2
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
3
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
4
|
+
}) : x)(function(x) {
|
|
5
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
6
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
7
|
+
});
|
|
8
|
+
var __glob = (map) => (path) => {
|
|
9
|
+
var fn = map[path];
|
|
10
|
+
if (fn) return fn();
|
|
11
|
+
throw new Error("Module not found in bundle: " + path);
|
|
12
|
+
};
|
|
13
|
+
var __commonJS = (cb, mod) => function __require2() {
|
|
14
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export {
|
|
18
|
+
__require,
|
|
19
|
+
__glob,
|
|
20
|
+
__commonJS
|
|
21
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
4
|
|
|
5
5
|
// src/definitions/template-variables-runtime.json
|
|
6
|
-
var require_template_variables_runtime =
|
|
6
|
+
var require_template_variables_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/template-variables-runtime.json"(exports, module) {
|
|
8
8
|
module.exports = { s: "https://template-variables-api.sls.epilot.io", o: [["getCategories", "get", "/v1/template-variables/categories", [["lang", "q"]]], ["searchVariables", "post", "/v1/template-variables:search", null, 1], ["getVariableContext", "post", "/v1/template-variables:context", null, 1], ["replaceTemplates", "post", "/v1/template-variables:replace", null, 1], ["replaceTemplatesV2", "post", "/v2/template:replace", null, 1], ["getCustomVariables", "get", "/v1/custom-variables"], ["createCustomVariable", "post", "/v1/custom-variables", null, 1], ["searchCustomVariables", "post", "/v1/custom-variables:search", null, 1], ["updateCustomVariable", "put", "/v1/custom-variables/{id}", [["id", "p", true]], 1], ["getCustomVariable", "get", "/v1/custom-variables/{id}", [["id", "p", true]]], ["deleteCustomVariable", "delete", "/v1/custom-variables/{id}", [["id", "p", true]]], ["getBluePrintTableConfig", "get", "/v1/custom-variables/order-table-blueprint"]] };
|
|
9
9
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
|
|
2
|
+
|
|
3
|
+
// src/docs/consent.json
|
|
4
|
+
var consent_default = '# Consent API\n\n- **Base URL:** `https://consent.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/consent](https://docs.epilot.io/api/consent)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.consent.publishConsentEvent(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/consent\'\n\nconst consentClient = getClient()\nauthorize(consentClient, () => \'<token>\')\nconst { data } = await consentClient.publishConsentEvent(...)\n```\n\n## Operations\n\n**consent**\n- [`publishConsentEvent`](#publishconsentevent)\n- [`listConsentEvents`](#listconsentevents)\n- [`handleOptInWithToken`](#handleoptinwithtoken)\n\n**Schemas**\n- [`ConsentIdentifier`](#consentidentifier)\n- [`ConsentTopic`](#consenttopic)\n- [`ConsentSource`](#consentsource)\n- [`ConsentMeta`](#consentmeta)\n- [`ConsentEventRequestBody`](#consenteventrequestbody)\n- [`ConsentEvent`](#consentevent)\n- [`OrganizationId`](#organizationid)\n\n### `publishConsentEvent`\n\nPublishes consent event on event bus, which appends to consent store\n\n`POST /v1/consent/publish`\n\n```ts\nconst { data } = await client.publishConsentEvent(\n null,\n {\n type: \'OPT_IN\',\n topic: \'EMAIL_MARKETING\',\n source: \'www.frontend.epilot.cloud\',\n identifier: \'exampleuser@epilot.cloud\',\n meta: {\n double_opt_in: true,\n source_type: \'journey\',\n source_id: \'0e4f2a26-14f0-4ada-9294-a7d7a0b9b214\',\n ip_address: \'1.1.1.1\',\n user_agent: \'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36\'\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "type": "OPT_IN",\n "created_at": "1970-01-01T00:00:00.000Z",\n "topic": "EMAIL_MARKETING",\n "source": "www.frontend.epilot.cloud",\n "organization_id": "123",\n "identifier": "exampleuser@epilot.cloud",\n "meta": {\n "double_opt_in": true,\n "source_type": "journey",\n "source_id": "0e4f2a26-14f0-4ada-9294-a7d7a0b9b214",\n "ip_address": "1.1.1.1",\n "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"\n }\n}\n```\n\n</details>\n\n---\n\n### `listConsentEvents`\n\nList opt-ins and opt-outs by customer identifier\n\n`GET /v1/consent/{identifier}`\n\n```ts\nconst { data } = await client.listConsentEvents({\n identifier: \'example\',\n topic: \'example\',\n limit: 1,\n from: 1,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "events": [\n {\n "type": "OPT_IN",\n "created_at": "1970-01-01T00:00:00.000Z",\n "topic": "EMAIL_MARKETING",\n "source": "www.frontend.epilot.cloud",\n "organization_id": "123",\n "identifier": "exampleuser@epilot.cloud",\n "meta": {\n "double_opt_in": true,\n "source_type": "journey",\n "source_id": "0e4f2a26-14f0-4ada-9294-a7d7a0b9b214",\n "ip_address": "1.1.1.1",\n "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"\n }\n }\n ],\n "total": 1\n}\n```\n\n</details>\n\n---\n\n### `handleOptInWithToken`\n\nEndpoint to handle opt-in links\n\n`GET /v1/opt-in/{token}`\n\n```ts\nconst { data } = await client.handleOptInWithToken({\n token: \'example\',\n lang: \'example\',\n})\n```\n\n---\n\n## Schemas\n\n### `ConsentIdentifier`\n\nUnique identifier for consent source (e.g. customer email or phone)\n\n```ts\ntype ConsentIdentifier = string\n```\n\n### `ConsentTopic`\n\nConsent Topic (what the person is opting into)\n\n```ts\ntype ConsentTopic = string\n```\n\n### `ConsentSource`\n\nConsent Source (Origin of the Consent Event)\n\n```ts\ntype ConsentSource = string\n```\n\n### `ConsentMeta`\n\n```ts\ntype ConsentMeta = Record<string, unknown>\n```\n\n### `ConsentEventRequestBody`\n\n```ts\ntype ConsentEventRequestBody = {\n type: "OPT_IN" | "OPT_OUT"\n topic: string\n source?: string\n identifier: string\n meta?: Record<string, unknown>\n}\n```\n\n### `ConsentEvent`\n\n```ts\ntype ConsentEvent = {\n type: "OPT_IN" | "OPT_OUT" | "DOUBLE_OPT_IN_REQUESTED" | "DOUBLE_OPT_IN"\n created_at?: string // date-time\n topic: string\n source?: string\n organization_id?: string\n identifier: string\n meta?: Record<string, unknown>\n}\n```\n\n### `OrganizationId`\n\n```ts\ntype OrganizationId = string\n```\n';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.default = consent_default;
|