@epilot/sdk 2.4.4-alpha.0 → 2.5.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 +137 -58
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +496 -24
- package/definitions/entity.json +185 -8
- package/definitions/webhooks-runtime.json +1 -1
- package/definitions/webhooks.json +134 -4
- package/dist/access-token.d-CnmUTOlq.d.cts +552 -0
- package/dist/access-token.d-CnmUTOlq.d.ts +552 -0
- package/dist/address-suggestions.d-_YwTOR-9.d.cts +339 -0
- package/dist/address-suggestions.d-_YwTOR-9.d.ts +339 -0
- package/dist/address.d-CwAPOVxa.d.cts +437 -0
- package/dist/address.d-CwAPOVxa.d.ts +437 -0
- package/dist/ai-agents.d-OkXfr2bz.d.cts +1339 -0
- package/dist/ai-agents.d-OkXfr2bz.d.ts +1339 -0
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.d.cts +18 -0
- package/dist/apis/access-token.d.ts +12 -9
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.d.cts +18 -0
- package/dist/apis/address-suggestions.d.ts +12 -9
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.d.cts +18 -0
- package/dist/apis/address.d.ts +12 -9
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.d.cts +18 -0
- package/dist/apis/ai-agents.d.ts +12 -9
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +8 -8
- package/dist/apis/app.d.cts +18 -0
- package/dist/apis/app.d.ts +12 -9
- package/dist/apis/app.js +2 -2
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.d.cts +18 -0
- package/dist/apis/audit-logs.d.ts +12 -9
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.d.cts +18 -0
- package/dist/apis/automation.d.ts +12 -9
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.d.cts +18 -0
- package/dist/apis/billing.d.ts +12 -9
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.d.cts +18 -0
- package/dist/apis/blueprint-manifest.d.ts +12 -9
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.d.cts +18 -0
- package/dist/apis/calendar.d.ts +12 -9
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.d.cts +18 -0
- package/dist/apis/configuration-hub.d.ts +12 -9
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.d.cts +18 -0
- package/dist/apis/consent.d.ts +12 -9
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +8 -8
- package/dist/apis/customer-portal.d.cts +18 -0
- package/dist/apis/customer-portal.d.ts +12 -9
- package/dist/apis/customer-portal.js +2 -2
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.d.cts +18 -0
- package/dist/apis/dashboard.d.ts +12 -9
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.d.cts +18 -0
- package/dist/apis/data-governance.d.ts +12 -9
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.d.cts +18 -0
- package/dist/apis/deduplication.d.ts +12 -9
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.d.cts +18 -0
- package/dist/apis/design.d.ts +12 -9
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.d.cts +18 -0
- package/dist/apis/document.d.ts +12 -9
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.d.cts +18 -0
- package/dist/apis/email-settings.d.ts +12 -9
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.d.cts +18 -0
- package/dist/apis/email-template.d.ts +12 -9
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.d.cts +18 -0
- package/dist/apis/entity-mapping.d.ts +12 -9
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.d.cts +18 -0
- package/dist/apis/entity.d.ts +12 -9
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.d.cts +18 -0
- package/dist/apis/environments.d.ts +12 -9
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.d.cts +18 -0
- package/dist/apis/event-catalog.d.ts +12 -9
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.d.cts +18 -0
- package/dist/apis/file.d.ts +12 -9
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.d.cts +18 -0
- package/dist/apis/iban.d.ts +12 -9
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.d.cts +18 -0
- package/dist/apis/integration-toolkit.d.ts +12 -9
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.d.cts +18 -0
- package/dist/apis/journey.d.ts +12 -9
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.d.cts +18 -0
- package/dist/apis/kanban.d.ts +12 -9
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.d.cts +18 -0
- package/dist/apis/message.d.ts +12 -9
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.d.cts +18 -0
- package/dist/apis/metering.d.ts +12 -9
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.d.cts +18 -0
- package/dist/apis/notes.d.ts +12 -9
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.d.cts +18 -0
- package/dist/apis/notification.d.ts +12 -9
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.d.cts +18 -0
- package/dist/apis/organization.d.ts +12 -9
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.d.cts +18 -0
- package/dist/apis/partner-directory.d.ts +12 -9
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.d.cts +18 -0
- package/dist/apis/permissions.d.ts +12 -9
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.d.cts +18 -0
- package/dist/apis/pricing-tier.d.ts +12 -9
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.d.cts +18 -0
- package/dist/apis/pricing.d.ts +12 -9
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.d.cts +18 -0
- package/dist/apis/purpose.d.ts +12 -9
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.d.cts +18 -0
- package/dist/apis/query.d.ts +12 -9
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.d.cts +18 -0
- package/dist/apis/sandbox.d.ts +12 -9
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.d.cts +18 -0
- package/dist/apis/sharing.d.ts +12 -9
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.d.cts +18 -0
- package/dist/apis/submission.d.ts +12 -9
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.d.cts +597 -0
- package/dist/apis/target.d.ts +591 -9
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.d.cts +18 -0
- package/dist/apis/targeting.d.ts +12 -9
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.d.cts +18 -0
- package/dist/apis/template-variables.d.ts +12 -9
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.d.cts +18 -0
- package/dist/apis/user.d.ts +12 -9
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.d.cts +18 -0
- package/dist/apis/validation-rules.d.ts +12 -9
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +8 -8
- package/dist/apis/webhooks.d.cts +18 -0
- package/dist/apis/webhooks.d.ts +12 -9
- package/dist/apis/webhooks.js +2 -2
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.d.cts +18 -0
- package/dist/apis/workflow-definition.d.ts +12 -9
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.d.cts +18 -0
- package/dist/apis/workflow.d.ts +12 -9
- package/dist/apis/workflow.js +1 -1
- package/dist/app-34OBBTA4.js +7 -0
- package/dist/app-SSF545U7.cjs +7 -0
- package/dist/app-runtime-AFNM67YN.cjs +5 -0
- package/dist/{app-runtime-U7RGV7KT.js → app-runtime-DBUXZL6E.js} +1 -1
- package/dist/app.d--5n0FQQ4.d.cts +3757 -0
- package/dist/app.d--5n0FQQ4.d.ts +3757 -0
- package/dist/audit-logs.d-BRToFqeX.d.cts +287 -0
- package/dist/audit-logs.d-BRToFqeX.d.ts +287 -0
- package/dist/automation.d-Du6-uiz5.d.cts +5283 -0
- package/dist/automation.d-Du6-uiz5.d.ts +5283 -0
- package/dist/billing.d-Bs8Ku9qE.d.cts +993 -0
- package/dist/billing.d-Bs8Ku9qE.d.ts +993 -0
- package/dist/bin/cli.js +1 -1
- package/dist/blueprint-manifest.d-BPyzoR0X.d.cts +4343 -0
- package/dist/blueprint-manifest.d-BPyzoR0X.d.ts +4343 -0
- package/dist/calendar.d-BEjLDagH.d.cts +353 -0
- package/dist/calendar.d-BEjLDagH.d.ts +353 -0
- package/dist/chunk-5OBMZHRL.cjs +14 -0
- package/dist/{chunk-CD4OX2U6.cjs → chunk-C7GDYBXX.cjs} +9 -9
- package/dist/{chunk-L66IX6GX.cjs → chunk-KMVJYNLB.cjs} +1 -1
- package/dist/chunk-KYCVV2XE.cjs +14 -0
- package/dist/chunk-RGO3LTAM.js +14 -0
- package/dist/{chunk-TSV242UN.js → chunk-WRD2XFHY.js} +9 -9
- package/dist/{chunk-LLZYRINH.js → chunk-Z4H2FZ2K.js} +1 -1
- package/dist/chunk-Z6HGUGXK.js +14 -0
- package/dist/configuration-hub.d-Cqaq2F-W.d.cts +478 -0
- package/dist/configuration-hub.d-Cqaq2F-W.d.ts +478 -0
- package/dist/consent.d-C2PROHhX.d.cts +265 -0
- package/dist/consent.d-C2PROHhX.d.ts +265 -0
- package/dist/customer-portal-5I7ZGQDU.cjs +7 -0
- package/dist/customer-portal-YL2YMPZL.js +7 -0
- package/dist/{customer-portal-runtime-PSM55KGU.js → customer-portal-runtime-N4NWQ67M.js} +1 -1
- package/dist/{customer-portal-runtime-DULJLR7F.cjs → customer-portal-runtime-OEXTSMSE.cjs} +2 -2
- package/dist/customer-portal.d-ChSEioI5.d.cts +17113 -0
- package/dist/customer-portal.d-ChSEioI5.d.ts +17113 -0
- package/dist/dashboard.d-CsGcA74I.d.cts +440 -0
- package/dist/dashboard.d-CsGcA74I.d.ts +440 -0
- package/dist/data-governance.d-BbZ466j5.d.cts +1178 -0
- package/dist/data-governance.d-BbZ466j5.d.ts +1178 -0
- package/dist/deduplication.d-D5GYddVu.d.cts +218 -0
- package/dist/deduplication.d-D5GYddVu.d.ts +218 -0
- package/dist/design.d-BRre8iLg.d.cts +2346 -0
- package/dist/design.d-BRre8iLg.d.ts +2346 -0
- package/dist/document.d-DN37pjdx.d.cts +648 -0
- package/dist/document.d-DN37pjdx.d.ts +648 -0
- package/dist/email-settings.d-B7Q_xT25.d.cts +2417 -0
- package/dist/email-settings.d-B7Q_xT25.d.ts +2417 -0
- package/dist/email-template.d-gtQkdaXM.d.cts +1188 -0
- package/dist/email-template.d-gtQkdaXM.d.ts +1188 -0
- package/dist/entity-SS36LQO6.cjs +7 -0
- package/dist/entity-Z4YWKDVG.js +7 -0
- package/dist/entity-mapping.d-DKSW3sfy.d.cts +1092 -0
- package/dist/entity-mapping.d-DKSW3sfy.d.ts +1092 -0
- package/dist/entity.d-fospShiN.d.cts +18544 -0
- package/dist/entity.d-fospShiN.d.ts +18544 -0
- package/dist/environments.d-BvqvN-PD.d.cts +382 -0
- package/dist/environments.d-BvqvN-PD.d.ts +382 -0
- package/dist/event-catalog.d-ENw6HO-w.d.cts +1511 -0
- package/dist/event-catalog.d-ENw6HO-w.d.ts +1511 -0
- package/dist/file.d-DcTJxjp7.d.cts +2992 -0
- package/dist/file.d-DcTJxjp7.d.ts +2992 -0
- package/dist/iban.d-BwdiGbxi.d.cts +70 -0
- package/dist/iban.d-BwdiGbxi.d.ts +70 -0
- package/dist/index.cjs +14 -14
- package/dist/index.d.cts +182 -0
- package/dist/index.d.ts +182 -12
- package/dist/index.js +4 -4
- package/dist/integration-toolkit.d-Ry-KC9ow.d.cts +5796 -0
- package/dist/integration-toolkit.d-Ry-KC9ow.d.ts +5796 -0
- package/dist/journey.d-ClXO0xK8.d.cts +1931 -0
- package/dist/journey.d-ClXO0xK8.d.ts +1931 -0
- package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
- package/dist/kanban.d-BHnSRCYW.d.cts +760 -0
- package/dist/kanban.d-BHnSRCYW.d.ts +760 -0
- package/dist/message.d-B5UuSqgw.d.cts +3811 -0
- package/dist/message.d-B5UuSqgw.d.ts +3811 -0
- package/dist/metering.d-DvtPv7wk.d.cts +1841 -0
- package/dist/metering.d-DvtPv7wk.d.ts +1841 -0
- package/dist/notes-K2IIFCX3.cjs +7 -0
- package/dist/notes-Q7JGS7O3.js +7 -0
- package/dist/notes.d-BcV_m5fe.d.cts +1068 -0
- package/dist/notes.d-BcV_m5fe.d.ts +1068 -0
- package/dist/notification.d-BfBL3lga.d.cts +1147 -0
- package/dist/notification.d-BfBL3lga.d.ts +1147 -0
- package/dist/organization.d-DqwnNxMg.d.cts +1271 -0
- package/dist/organization.d-DqwnNxMg.d.ts +1271 -0
- package/dist/partner-directory.d-BCIjHoGs.d.cts +2337 -0
- package/dist/partner-directory.d-BCIjHoGs.d.ts +2337 -0
- package/dist/permissions.d-l6AT8SYP.d.cts +1279 -0
- package/dist/permissions.d-l6AT8SYP.d.ts +1279 -0
- package/dist/{pricing-XAET4G7T.cjs → pricing-FODHQFCB.cjs} +1 -1
- package/dist/{pricing-G67CH3XH.js → pricing-XRIDVZFC.js} +1 -1
- package/dist/pricing-tier.d-Cg0jl6n_.d.cts +81 -0
- package/dist/pricing-tier.d-Cg0jl6n_.d.ts +81 -0
- package/dist/pricing.d-BHpMU4KU.d.cts +12255 -0
- package/dist/pricing.d-BHpMU4KU.d.ts +12255 -0
- package/dist/purpose.d-CbIYfTua.d.cts +372 -0
- package/dist/purpose.d-CbIYfTua.d.ts +372 -0
- package/dist/query.d-Cmp78IhZ.d.cts +2375 -0
- package/dist/query.d-Cmp78IhZ.d.ts +2375 -0
- package/dist/sandbox.d-BdbOFzDu.d.cts +465 -0
- package/dist/sandbox.d-BdbOFzDu.d.ts +465 -0
- package/dist/sharing.d-sOXq-gtz.d.cts +571 -0
- package/dist/sharing.d-sOXq-gtz.d.ts +571 -0
- package/dist/submission.d-BamwfhXw.d.cts +469 -0
- package/dist/submission.d-BamwfhXw.d.ts +469 -0
- package/dist/targeting.d-BNmcVsNS.d.cts +2057 -0
- package/dist/targeting.d-BNmcVsNS.d.ts +2057 -0
- package/dist/template-variables.d-Ble9TSBa.d.cts +1320 -0
- package/dist/template-variables.d-Ble9TSBa.d.ts +1320 -0
- package/dist/types-ChU9Acbv.d.cts +37 -0
- package/dist/types-ChU9Acbv.d.ts +37 -0
- package/dist/user.d-D18fe97W.d.cts +2270 -0
- package/dist/user.d-D18fe97W.d.ts +2270 -0
- package/dist/validation-rules.d-Db5c5zTf.d.cts +807 -0
- package/dist/validation-rules.d-Db5c5zTf.d.ts +807 -0
- package/dist/webhooks-NZ3TM3AY.cjs +7 -0
- package/dist/webhooks-XLBUXXCS.js +7 -0
- package/dist/{webhooks-runtime-EBM4M3SU.cjs → webhooks-runtime-QVAFNBDW.cjs} +2 -2
- package/dist/{webhooks-runtime-XCQYIGQK.js → webhooks-runtime-UYTPQQVG.js} +1 -1
- package/dist/webhooks.d-D79qib9f.d.cts +1366 -0
- package/dist/webhooks.d-D79qib9f.d.ts +1366 -0
- package/dist/workflow-definition.d-DOeb0KVV.d.cts +1922 -0
- package/dist/workflow-definition.d-DOeb0KVV.d.ts +1922 -0
- package/dist/workflow.d-CMSKt8oN.d.cts +3151 -0
- package/dist/workflow.d-CMSKt8oN.d.ts +3151 -0
- package/docs/app.md +244 -9
- package/docs/customer-portal.md +340 -113
- package/docs/entity.md +65 -0
- package/docs/notes.md +19 -12
- package/docs/pricing.md +3 -1
- package/docs/webhooks.md +49 -0
- package/package.json +1 -1
- package/dist/apis/_registry.d.ts +0 -8
- package/dist/app-5KSVSKDU.js +0 -7
- package/dist/app-PL3IOROO.cjs +0 -7
- package/dist/app-runtime-SSNHSBR7.cjs +0 -5
- package/dist/authorize.d.ts +0 -3
- package/dist/bin/cli.d.ts +0 -1
- package/dist/chunk-2MMSXUOL.cjs +0 -14
- package/dist/chunk-A7AAVJGM.js +0 -14
- package/dist/chunk-GVNT76UU.js +0 -14
- package/dist/chunk-HHMXS5NC.cjs +0 -14
- package/dist/client-factory.d.ts +0 -9
- package/dist/client-map.d.ts +0 -102
- package/dist/compact.d.ts +0 -22
- package/dist/customer-portal-5LMHNBMD.cjs +0 -7
- package/dist/customer-portal-RZACUF4N.js +0 -7
- package/dist/entity-H6ESUH3Y.js +0 -7
- package/dist/entity-ZVDKWQSF.cjs +0 -7
- package/dist/help.d.ts +0 -12
- package/dist/large-response.d.ts +0 -9
- package/dist/notes-3AO5GXIT.js +0 -7
- package/dist/notes-MPWOQC5J.cjs +0 -7
- package/dist/openapi.d.ts +0 -12
- package/dist/overrides.d.ts +0 -9
- package/dist/proxy.d.ts +0 -14
- package/dist/registry.d.ts +0 -19
- package/dist/retry.d.ts +0 -11
- package/dist/sdk.d.ts +0 -29
- package/dist/types.d.ts +0 -53
- package/dist/webhooks-H3RT33BF.cjs +0 -7
- package/dist/webhooks-RTOU3MS5.js +0 -7
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* Auto-copied from calendar-client */
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
declare namespace Components {
|
|
7
|
+
namespace Schemas {
|
|
8
|
+
export interface Attendee {
|
|
9
|
+
email: string; // email
|
|
10
|
+
name?: string | null;
|
|
11
|
+
response: /* Caller's response to the invite */ ResponseStatus;
|
|
12
|
+
type: "required" | "optional" | "resource";
|
|
13
|
+
}
|
|
14
|
+
export interface Calendar {
|
|
15
|
+
/**
|
|
16
|
+
* epilot calendar ID
|
|
17
|
+
*/
|
|
18
|
+
_id: string;
|
|
19
|
+
_schema: "calendar";
|
|
20
|
+
/**
|
|
21
|
+
* Organization the calendar belongs to
|
|
22
|
+
*/
|
|
23
|
+
_org: string;
|
|
24
|
+
/**
|
|
25
|
+
* Computed display title
|
|
26
|
+
*/
|
|
27
|
+
_title?: string;
|
|
28
|
+
name: string;
|
|
29
|
+
description?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Hex color (e.g. "#3b82f6") or provider-defined named color
|
|
32
|
+
*/
|
|
33
|
+
color?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* True if this is the user's primary calendar
|
|
36
|
+
*/
|
|
37
|
+
is_default: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* True if the caller cannot modify events in this calendar
|
|
40
|
+
*/
|
|
41
|
+
read_only: boolean;
|
|
42
|
+
owner_email?: string | null; // email
|
|
43
|
+
source: CalendarSource;
|
|
44
|
+
_created_at?: string; // date-time
|
|
45
|
+
_updated_at?: string; // date-time
|
|
46
|
+
}
|
|
47
|
+
export interface CalendarEvent {
|
|
48
|
+
/**
|
|
49
|
+
* epilot event ID
|
|
50
|
+
*/
|
|
51
|
+
_id: string;
|
|
52
|
+
_schema: "calendar_event";
|
|
53
|
+
_org: string;
|
|
54
|
+
/**
|
|
55
|
+
* Null when sensitivity is private or confidential
|
|
56
|
+
*/
|
|
57
|
+
_title?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Provider categories (Outlook) or colours (Google) as epilot tags
|
|
60
|
+
*/
|
|
61
|
+
_tags?: string[];
|
|
62
|
+
/**
|
|
63
|
+
* epilot calendar this event belongs to
|
|
64
|
+
*/
|
|
65
|
+
calendar_id: string;
|
|
66
|
+
event_type: EventType;
|
|
67
|
+
/**
|
|
68
|
+
* Preview of the event body, truncated to 255 chars
|
|
69
|
+
*/
|
|
70
|
+
description?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* Event start in UTC
|
|
73
|
+
*/
|
|
74
|
+
start_time: string; // date-time
|
|
75
|
+
/**
|
|
76
|
+
* Event end in UTC
|
|
77
|
+
*/
|
|
78
|
+
end_time: string; // date-time
|
|
79
|
+
/**
|
|
80
|
+
* IANA timezone of the original event (for display)
|
|
81
|
+
*/
|
|
82
|
+
timezone: string;
|
|
83
|
+
is_all_day: boolean;
|
|
84
|
+
location?: string | null;
|
|
85
|
+
status: /* Free/busy state derived from provider `showAs` */ EventStatus;
|
|
86
|
+
/**
|
|
87
|
+
* Convenience flag, true when status is busy/oof/tentative
|
|
88
|
+
*/
|
|
89
|
+
busy: boolean;
|
|
90
|
+
is_cancelled: boolean;
|
|
91
|
+
sensitivity: Sensitivity;
|
|
92
|
+
importance: Importance;
|
|
93
|
+
is_online_meeting: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Teams, Meet, Zoom, or similar join URL
|
|
96
|
+
*/
|
|
97
|
+
online_meeting_url?: string | null; // uri
|
|
98
|
+
/**
|
|
99
|
+
* Deep link to open the event in the originating provider
|
|
100
|
+
*/
|
|
101
|
+
web_link?: string | null; // uri
|
|
102
|
+
response_status: /* Caller's response to the invite */ ResponseStatus;
|
|
103
|
+
organizer_email?: string | null; // email
|
|
104
|
+
/**
|
|
105
|
+
* Null when sensitivity is private or confidential
|
|
106
|
+
*/
|
|
107
|
+
attendees?: Attendee[] | null;
|
|
108
|
+
is_recurring: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* ID of the recurring series this occurrence belongs to
|
|
111
|
+
*/
|
|
112
|
+
series_master_id?: string | null;
|
|
113
|
+
source: EventSource;
|
|
114
|
+
_created_at?: string; // date-time
|
|
115
|
+
_updated_at?: string; // date-time
|
|
116
|
+
}
|
|
117
|
+
export interface CalendarSource {
|
|
118
|
+
/**
|
|
119
|
+
* `native` = hosted by epilot. `synced` = mirrored from an external provider.
|
|
120
|
+
*/
|
|
121
|
+
type: "native" | "synced";
|
|
122
|
+
provider?: /* Null for native epilot calendars */ Provider;
|
|
123
|
+
provider_calendar_id?: string | null;
|
|
124
|
+
last_synced_at?: string | null; // date-time
|
|
125
|
+
}
|
|
126
|
+
export interface Error {
|
|
127
|
+
message: string;
|
|
128
|
+
code?: string;
|
|
129
|
+
}
|
|
130
|
+
export interface EventSource {
|
|
131
|
+
/**
|
|
132
|
+
* `native` = hosted by epilot. `synced` = mirrored from an external provider.
|
|
133
|
+
*/
|
|
134
|
+
type: "native" | "synced";
|
|
135
|
+
provider?: /* Null for native epilot calendars */ Provider;
|
|
136
|
+
provider_event_id?: string | null;
|
|
137
|
+
/**
|
|
138
|
+
* Deep link to open the event in the originating provider
|
|
139
|
+
*/
|
|
140
|
+
provider_event_url?: string | null; // uri
|
|
141
|
+
last_synced_at?: string | null; // date-time
|
|
142
|
+
/**
|
|
143
|
+
* Provider-supplied version tag used for conflict detection
|
|
144
|
+
*/
|
|
145
|
+
etag?: string | null;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Free/busy state derived from provider `showAs`
|
|
149
|
+
*/
|
|
150
|
+
export type EventStatus = "free" | "tentative" | "busy" | "oof" | "workingElsewhere" | "unknown";
|
|
151
|
+
export type EventType = "singleInstance" | "occurrence" | "exception" | "seriesMaster";
|
|
152
|
+
export type Importance = "low" | "normal" | "high";
|
|
153
|
+
/**
|
|
154
|
+
* Null for native epilot calendars
|
|
155
|
+
*/
|
|
156
|
+
export type Provider = "outlook" | "google" | null;
|
|
157
|
+
/**
|
|
158
|
+
* Caller's response to the invite
|
|
159
|
+
*/
|
|
160
|
+
export type ResponseStatus = "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded";
|
|
161
|
+
export type Sensitivity = "normal" | "personal" | "private" | "confidential";
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
declare namespace Paths {
|
|
165
|
+
namespace GetCalendar {
|
|
166
|
+
namespace Parameters {
|
|
167
|
+
export type CalendarId = string;
|
|
168
|
+
}
|
|
169
|
+
export interface PathParameters {
|
|
170
|
+
calendar_id: Parameters.CalendarId;
|
|
171
|
+
}
|
|
172
|
+
namespace Responses {
|
|
173
|
+
export type $200 = Components.Schemas.Calendar;
|
|
174
|
+
export type $404 = Components.Schemas.Error;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
namespace GetEvent {
|
|
178
|
+
namespace Parameters {
|
|
179
|
+
export type EventId = string;
|
|
180
|
+
}
|
|
181
|
+
export interface PathParameters {
|
|
182
|
+
event_id: Parameters.EventId;
|
|
183
|
+
}
|
|
184
|
+
namespace Responses {
|
|
185
|
+
export type $200 = Components.Schemas.CalendarEvent;
|
|
186
|
+
export type $404 = Components.Schemas.Error;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
namespace ListCalendars {
|
|
190
|
+
namespace Parameters {
|
|
191
|
+
/**
|
|
192
|
+
* Opaque cursor from a previous response
|
|
193
|
+
*/
|
|
194
|
+
export type Cursor = string;
|
|
195
|
+
export type Size = number;
|
|
196
|
+
}
|
|
197
|
+
export interface QueryParameters {
|
|
198
|
+
size?: Parameters.Size;
|
|
199
|
+
cursor?: /* Opaque cursor from a previous response */ Parameters.Cursor;
|
|
200
|
+
}
|
|
201
|
+
namespace Responses {
|
|
202
|
+
export interface $200 {
|
|
203
|
+
results: Components.Schemas.Calendar[];
|
|
204
|
+
next_cursor?: string | null;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
namespace ListEvents {
|
|
209
|
+
namespace Parameters {
|
|
210
|
+
/**
|
|
211
|
+
* Filter to a single calendar. Omit to query across all accessible calendars.
|
|
212
|
+
*/
|
|
213
|
+
export type CalendarId = string;
|
|
214
|
+
export type Cursor = string;
|
|
215
|
+
/**
|
|
216
|
+
* Start of the time window (inclusive)
|
|
217
|
+
*/
|
|
218
|
+
export type From = string; // date-time
|
|
219
|
+
export type Size = number;
|
|
220
|
+
/**
|
|
221
|
+
* End of the time window (exclusive)
|
|
222
|
+
*/
|
|
223
|
+
export type To = string; // date-time
|
|
224
|
+
}
|
|
225
|
+
export interface QueryParameters {
|
|
226
|
+
from: /* Start of the time window (inclusive) */ Parameters.From /* date-time */;
|
|
227
|
+
to: /* End of the time window (exclusive) */ Parameters.To /* date-time */;
|
|
228
|
+
calendar_id?: /* Filter to a single calendar. Omit to query across all accessible calendars. */ Parameters.CalendarId;
|
|
229
|
+
size?: Parameters.Size;
|
|
230
|
+
cursor?: Parameters.Cursor;
|
|
231
|
+
}
|
|
232
|
+
namespace Responses {
|
|
233
|
+
export interface $200 {
|
|
234
|
+
results: Components.Schemas.CalendarEvent[];
|
|
235
|
+
next_cursor?: string | null;
|
|
236
|
+
}
|
|
237
|
+
export type $400 = Components.Schemas.Error;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
interface OperationMethods {
|
|
244
|
+
/**
|
|
245
|
+
* listCalendars - listCalendars
|
|
246
|
+
*
|
|
247
|
+
* List calendars visible to the caller.
|
|
248
|
+
*/
|
|
249
|
+
'listCalendars'(
|
|
250
|
+
parameters?: Parameters<Paths.ListCalendars.QueryParameters> | null,
|
|
251
|
+
data?: any,
|
|
252
|
+
config?: AxiosRequestConfig
|
|
253
|
+
): OperationResponse<Paths.ListCalendars.Responses.$200>
|
|
254
|
+
/**
|
|
255
|
+
* getCalendar - getCalendar
|
|
256
|
+
*
|
|
257
|
+
* Get a single calendar by its epilot ID.
|
|
258
|
+
*/
|
|
259
|
+
'getCalendar'(
|
|
260
|
+
parameters?: Parameters<Paths.GetCalendar.PathParameters> | null,
|
|
261
|
+
data?: any,
|
|
262
|
+
config?: AxiosRequestConfig
|
|
263
|
+
): OperationResponse<Paths.GetCalendar.Responses.$200>
|
|
264
|
+
/**
|
|
265
|
+
* listEvents - listEvents
|
|
266
|
+
*
|
|
267
|
+
* List events in a time window. Recurring events are returned as expanded occurrences – each instance appears as its own event.
|
|
268
|
+
*/
|
|
269
|
+
'listEvents'(
|
|
270
|
+
parameters?: Parameters<Paths.ListEvents.QueryParameters> | null,
|
|
271
|
+
data?: any,
|
|
272
|
+
config?: AxiosRequestConfig
|
|
273
|
+
): OperationResponse<Paths.ListEvents.Responses.$200>
|
|
274
|
+
/**
|
|
275
|
+
* getEvent - getEvent
|
|
276
|
+
*
|
|
277
|
+
* Get a single event by its epilot ID.
|
|
278
|
+
*/
|
|
279
|
+
'getEvent'(
|
|
280
|
+
parameters?: Parameters<Paths.GetEvent.PathParameters> | null,
|
|
281
|
+
data?: any,
|
|
282
|
+
config?: AxiosRequestConfig
|
|
283
|
+
): OperationResponse<Paths.GetEvent.Responses.$200>
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
interface PathsDictionary {
|
|
287
|
+
['/v1/calendar']: {
|
|
288
|
+
/**
|
|
289
|
+
* listCalendars - listCalendars
|
|
290
|
+
*
|
|
291
|
+
* List calendars visible to the caller.
|
|
292
|
+
*/
|
|
293
|
+
'get'(
|
|
294
|
+
parameters?: Parameters<Paths.ListCalendars.QueryParameters> | null,
|
|
295
|
+
data?: any,
|
|
296
|
+
config?: AxiosRequestConfig
|
|
297
|
+
): OperationResponse<Paths.ListCalendars.Responses.$200>
|
|
298
|
+
}
|
|
299
|
+
['/v1/calendar/{calendar_id}']: {
|
|
300
|
+
/**
|
|
301
|
+
* getCalendar - getCalendar
|
|
302
|
+
*
|
|
303
|
+
* Get a single calendar by its epilot ID.
|
|
304
|
+
*/
|
|
305
|
+
'get'(
|
|
306
|
+
parameters?: Parameters<Paths.GetCalendar.PathParameters> | null,
|
|
307
|
+
data?: any,
|
|
308
|
+
config?: AxiosRequestConfig
|
|
309
|
+
): OperationResponse<Paths.GetCalendar.Responses.$200>
|
|
310
|
+
}
|
|
311
|
+
['/v1/calendar/events']: {
|
|
312
|
+
/**
|
|
313
|
+
* listEvents - listEvents
|
|
314
|
+
*
|
|
315
|
+
* List events in a time window. Recurring events are returned as expanded occurrences – each instance appears as its own event.
|
|
316
|
+
*/
|
|
317
|
+
'get'(
|
|
318
|
+
parameters?: Parameters<Paths.ListEvents.QueryParameters> | null,
|
|
319
|
+
data?: any,
|
|
320
|
+
config?: AxiosRequestConfig
|
|
321
|
+
): OperationResponse<Paths.ListEvents.Responses.$200>
|
|
322
|
+
}
|
|
323
|
+
['/v1/calendar/events/{event_id}']: {
|
|
324
|
+
/**
|
|
325
|
+
* getEvent - getEvent
|
|
326
|
+
*
|
|
327
|
+
* Get a single event by its epilot ID.
|
|
328
|
+
*/
|
|
329
|
+
'get'(
|
|
330
|
+
parameters?: Parameters<Paths.GetEvent.PathParameters> | null,
|
|
331
|
+
data?: any,
|
|
332
|
+
config?: AxiosRequestConfig
|
|
333
|
+
): OperationResponse<Paths.GetEvent.Responses.$200>
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
type Attendee = Components.Schemas.Attendee;
|
|
341
|
+
type Calendar = Components.Schemas.Calendar;
|
|
342
|
+
type CalendarEvent = Components.Schemas.CalendarEvent;
|
|
343
|
+
type CalendarSource = Components.Schemas.CalendarSource;
|
|
344
|
+
type Error = Components.Schemas.Error;
|
|
345
|
+
type EventSource = Components.Schemas.EventSource;
|
|
346
|
+
type EventStatus = Components.Schemas.EventStatus;
|
|
347
|
+
type EventType = Components.Schemas.EventType;
|
|
348
|
+
type Importance = Components.Schemas.Importance;
|
|
349
|
+
type Provider = Components.Schemas.Provider;
|
|
350
|
+
type ResponseStatus = Components.Schemas.ResponseStatus;
|
|
351
|
+
type Sensitivity = Components.Schemas.Sensitivity;
|
|
352
|
+
|
|
353
|
+
export { type Attendee as A, type Client as C, type Error as E, type Importance as I, type OperationMethods as O, Paths as P, type ResponseStatus as R, type Sensitivity as S, Components as a, type PathsDictionary as b, type Calendar as c, type CalendarEvent as d, type CalendarSource as e, type EventSource as f, type EventStatus as g, type EventType as h, type Provider as i };
|
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* Auto-copied from calendar-client */
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
declare namespace Components {
|
|
7
|
+
namespace Schemas {
|
|
8
|
+
export interface Attendee {
|
|
9
|
+
email: string; // email
|
|
10
|
+
name?: string | null;
|
|
11
|
+
response: /* Caller's response to the invite */ ResponseStatus;
|
|
12
|
+
type: "required" | "optional" | "resource";
|
|
13
|
+
}
|
|
14
|
+
export interface Calendar {
|
|
15
|
+
/**
|
|
16
|
+
* epilot calendar ID
|
|
17
|
+
*/
|
|
18
|
+
_id: string;
|
|
19
|
+
_schema: "calendar";
|
|
20
|
+
/**
|
|
21
|
+
* Organization the calendar belongs to
|
|
22
|
+
*/
|
|
23
|
+
_org: string;
|
|
24
|
+
/**
|
|
25
|
+
* Computed display title
|
|
26
|
+
*/
|
|
27
|
+
_title?: string;
|
|
28
|
+
name: string;
|
|
29
|
+
description?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Hex color (e.g. "#3b82f6") or provider-defined named color
|
|
32
|
+
*/
|
|
33
|
+
color?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* True if this is the user's primary calendar
|
|
36
|
+
*/
|
|
37
|
+
is_default: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* True if the caller cannot modify events in this calendar
|
|
40
|
+
*/
|
|
41
|
+
read_only: boolean;
|
|
42
|
+
owner_email?: string | null; // email
|
|
43
|
+
source: CalendarSource;
|
|
44
|
+
_created_at?: string; // date-time
|
|
45
|
+
_updated_at?: string; // date-time
|
|
46
|
+
}
|
|
47
|
+
export interface CalendarEvent {
|
|
48
|
+
/**
|
|
49
|
+
* epilot event ID
|
|
50
|
+
*/
|
|
51
|
+
_id: string;
|
|
52
|
+
_schema: "calendar_event";
|
|
53
|
+
_org: string;
|
|
54
|
+
/**
|
|
55
|
+
* Null when sensitivity is private or confidential
|
|
56
|
+
*/
|
|
57
|
+
_title?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Provider categories (Outlook) or colours (Google) as epilot tags
|
|
60
|
+
*/
|
|
61
|
+
_tags?: string[];
|
|
62
|
+
/**
|
|
63
|
+
* epilot calendar this event belongs to
|
|
64
|
+
*/
|
|
65
|
+
calendar_id: string;
|
|
66
|
+
event_type: EventType;
|
|
67
|
+
/**
|
|
68
|
+
* Preview of the event body, truncated to 255 chars
|
|
69
|
+
*/
|
|
70
|
+
description?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* Event start in UTC
|
|
73
|
+
*/
|
|
74
|
+
start_time: string; // date-time
|
|
75
|
+
/**
|
|
76
|
+
* Event end in UTC
|
|
77
|
+
*/
|
|
78
|
+
end_time: string; // date-time
|
|
79
|
+
/**
|
|
80
|
+
* IANA timezone of the original event (for display)
|
|
81
|
+
*/
|
|
82
|
+
timezone: string;
|
|
83
|
+
is_all_day: boolean;
|
|
84
|
+
location?: string | null;
|
|
85
|
+
status: /* Free/busy state derived from provider `showAs` */ EventStatus;
|
|
86
|
+
/**
|
|
87
|
+
* Convenience flag, true when status is busy/oof/tentative
|
|
88
|
+
*/
|
|
89
|
+
busy: boolean;
|
|
90
|
+
is_cancelled: boolean;
|
|
91
|
+
sensitivity: Sensitivity;
|
|
92
|
+
importance: Importance;
|
|
93
|
+
is_online_meeting: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Teams, Meet, Zoom, or similar join URL
|
|
96
|
+
*/
|
|
97
|
+
online_meeting_url?: string | null; // uri
|
|
98
|
+
/**
|
|
99
|
+
* Deep link to open the event in the originating provider
|
|
100
|
+
*/
|
|
101
|
+
web_link?: string | null; // uri
|
|
102
|
+
response_status: /* Caller's response to the invite */ ResponseStatus;
|
|
103
|
+
organizer_email?: string | null; // email
|
|
104
|
+
/**
|
|
105
|
+
* Null when sensitivity is private or confidential
|
|
106
|
+
*/
|
|
107
|
+
attendees?: Attendee[] | null;
|
|
108
|
+
is_recurring: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* ID of the recurring series this occurrence belongs to
|
|
111
|
+
*/
|
|
112
|
+
series_master_id?: string | null;
|
|
113
|
+
source: EventSource;
|
|
114
|
+
_created_at?: string; // date-time
|
|
115
|
+
_updated_at?: string; // date-time
|
|
116
|
+
}
|
|
117
|
+
export interface CalendarSource {
|
|
118
|
+
/**
|
|
119
|
+
* `native` = hosted by epilot. `synced` = mirrored from an external provider.
|
|
120
|
+
*/
|
|
121
|
+
type: "native" | "synced";
|
|
122
|
+
provider?: /* Null for native epilot calendars */ Provider;
|
|
123
|
+
provider_calendar_id?: string | null;
|
|
124
|
+
last_synced_at?: string | null; // date-time
|
|
125
|
+
}
|
|
126
|
+
export interface Error {
|
|
127
|
+
message: string;
|
|
128
|
+
code?: string;
|
|
129
|
+
}
|
|
130
|
+
export interface EventSource {
|
|
131
|
+
/**
|
|
132
|
+
* `native` = hosted by epilot. `synced` = mirrored from an external provider.
|
|
133
|
+
*/
|
|
134
|
+
type: "native" | "synced";
|
|
135
|
+
provider?: /* Null for native epilot calendars */ Provider;
|
|
136
|
+
provider_event_id?: string | null;
|
|
137
|
+
/**
|
|
138
|
+
* Deep link to open the event in the originating provider
|
|
139
|
+
*/
|
|
140
|
+
provider_event_url?: string | null; // uri
|
|
141
|
+
last_synced_at?: string | null; // date-time
|
|
142
|
+
/**
|
|
143
|
+
* Provider-supplied version tag used for conflict detection
|
|
144
|
+
*/
|
|
145
|
+
etag?: string | null;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Free/busy state derived from provider `showAs`
|
|
149
|
+
*/
|
|
150
|
+
export type EventStatus = "free" | "tentative" | "busy" | "oof" | "workingElsewhere" | "unknown";
|
|
151
|
+
export type EventType = "singleInstance" | "occurrence" | "exception" | "seriesMaster";
|
|
152
|
+
export type Importance = "low" | "normal" | "high";
|
|
153
|
+
/**
|
|
154
|
+
* Null for native epilot calendars
|
|
155
|
+
*/
|
|
156
|
+
export type Provider = "outlook" | "google" | null;
|
|
157
|
+
/**
|
|
158
|
+
* Caller's response to the invite
|
|
159
|
+
*/
|
|
160
|
+
export type ResponseStatus = "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded";
|
|
161
|
+
export type Sensitivity = "normal" | "personal" | "private" | "confidential";
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
declare namespace Paths {
|
|
165
|
+
namespace GetCalendar {
|
|
166
|
+
namespace Parameters {
|
|
167
|
+
export type CalendarId = string;
|
|
168
|
+
}
|
|
169
|
+
export interface PathParameters {
|
|
170
|
+
calendar_id: Parameters.CalendarId;
|
|
171
|
+
}
|
|
172
|
+
namespace Responses {
|
|
173
|
+
export type $200 = Components.Schemas.Calendar;
|
|
174
|
+
export type $404 = Components.Schemas.Error;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
namespace GetEvent {
|
|
178
|
+
namespace Parameters {
|
|
179
|
+
export type EventId = string;
|
|
180
|
+
}
|
|
181
|
+
export interface PathParameters {
|
|
182
|
+
event_id: Parameters.EventId;
|
|
183
|
+
}
|
|
184
|
+
namespace Responses {
|
|
185
|
+
export type $200 = Components.Schemas.CalendarEvent;
|
|
186
|
+
export type $404 = Components.Schemas.Error;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
namespace ListCalendars {
|
|
190
|
+
namespace Parameters {
|
|
191
|
+
/**
|
|
192
|
+
* Opaque cursor from a previous response
|
|
193
|
+
*/
|
|
194
|
+
export type Cursor = string;
|
|
195
|
+
export type Size = number;
|
|
196
|
+
}
|
|
197
|
+
export interface QueryParameters {
|
|
198
|
+
size?: Parameters.Size;
|
|
199
|
+
cursor?: /* Opaque cursor from a previous response */ Parameters.Cursor;
|
|
200
|
+
}
|
|
201
|
+
namespace Responses {
|
|
202
|
+
export interface $200 {
|
|
203
|
+
results: Components.Schemas.Calendar[];
|
|
204
|
+
next_cursor?: string | null;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
namespace ListEvents {
|
|
209
|
+
namespace Parameters {
|
|
210
|
+
/**
|
|
211
|
+
* Filter to a single calendar. Omit to query across all accessible calendars.
|
|
212
|
+
*/
|
|
213
|
+
export type CalendarId = string;
|
|
214
|
+
export type Cursor = string;
|
|
215
|
+
/**
|
|
216
|
+
* Start of the time window (inclusive)
|
|
217
|
+
*/
|
|
218
|
+
export type From = string; // date-time
|
|
219
|
+
export type Size = number;
|
|
220
|
+
/**
|
|
221
|
+
* End of the time window (exclusive)
|
|
222
|
+
*/
|
|
223
|
+
export type To = string; // date-time
|
|
224
|
+
}
|
|
225
|
+
export interface QueryParameters {
|
|
226
|
+
from: /* Start of the time window (inclusive) */ Parameters.From /* date-time */;
|
|
227
|
+
to: /* End of the time window (exclusive) */ Parameters.To /* date-time */;
|
|
228
|
+
calendar_id?: /* Filter to a single calendar. Omit to query across all accessible calendars. */ Parameters.CalendarId;
|
|
229
|
+
size?: Parameters.Size;
|
|
230
|
+
cursor?: Parameters.Cursor;
|
|
231
|
+
}
|
|
232
|
+
namespace Responses {
|
|
233
|
+
export interface $200 {
|
|
234
|
+
results: Components.Schemas.CalendarEvent[];
|
|
235
|
+
next_cursor?: string | null;
|
|
236
|
+
}
|
|
237
|
+
export type $400 = Components.Schemas.Error;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
interface OperationMethods {
|
|
244
|
+
/**
|
|
245
|
+
* listCalendars - listCalendars
|
|
246
|
+
*
|
|
247
|
+
* List calendars visible to the caller.
|
|
248
|
+
*/
|
|
249
|
+
'listCalendars'(
|
|
250
|
+
parameters?: Parameters<Paths.ListCalendars.QueryParameters> | null,
|
|
251
|
+
data?: any,
|
|
252
|
+
config?: AxiosRequestConfig
|
|
253
|
+
): OperationResponse<Paths.ListCalendars.Responses.$200>
|
|
254
|
+
/**
|
|
255
|
+
* getCalendar - getCalendar
|
|
256
|
+
*
|
|
257
|
+
* Get a single calendar by its epilot ID.
|
|
258
|
+
*/
|
|
259
|
+
'getCalendar'(
|
|
260
|
+
parameters?: Parameters<Paths.GetCalendar.PathParameters> | null,
|
|
261
|
+
data?: any,
|
|
262
|
+
config?: AxiosRequestConfig
|
|
263
|
+
): OperationResponse<Paths.GetCalendar.Responses.$200>
|
|
264
|
+
/**
|
|
265
|
+
* listEvents - listEvents
|
|
266
|
+
*
|
|
267
|
+
* List events in a time window. Recurring events are returned as expanded occurrences – each instance appears as its own event.
|
|
268
|
+
*/
|
|
269
|
+
'listEvents'(
|
|
270
|
+
parameters?: Parameters<Paths.ListEvents.QueryParameters> | null,
|
|
271
|
+
data?: any,
|
|
272
|
+
config?: AxiosRequestConfig
|
|
273
|
+
): OperationResponse<Paths.ListEvents.Responses.$200>
|
|
274
|
+
/**
|
|
275
|
+
* getEvent - getEvent
|
|
276
|
+
*
|
|
277
|
+
* Get a single event by its epilot ID.
|
|
278
|
+
*/
|
|
279
|
+
'getEvent'(
|
|
280
|
+
parameters?: Parameters<Paths.GetEvent.PathParameters> | null,
|
|
281
|
+
data?: any,
|
|
282
|
+
config?: AxiosRequestConfig
|
|
283
|
+
): OperationResponse<Paths.GetEvent.Responses.$200>
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
interface PathsDictionary {
|
|
287
|
+
['/v1/calendar']: {
|
|
288
|
+
/**
|
|
289
|
+
* listCalendars - listCalendars
|
|
290
|
+
*
|
|
291
|
+
* List calendars visible to the caller.
|
|
292
|
+
*/
|
|
293
|
+
'get'(
|
|
294
|
+
parameters?: Parameters<Paths.ListCalendars.QueryParameters> | null,
|
|
295
|
+
data?: any,
|
|
296
|
+
config?: AxiosRequestConfig
|
|
297
|
+
): OperationResponse<Paths.ListCalendars.Responses.$200>
|
|
298
|
+
}
|
|
299
|
+
['/v1/calendar/{calendar_id}']: {
|
|
300
|
+
/**
|
|
301
|
+
* getCalendar - getCalendar
|
|
302
|
+
*
|
|
303
|
+
* Get a single calendar by its epilot ID.
|
|
304
|
+
*/
|
|
305
|
+
'get'(
|
|
306
|
+
parameters?: Parameters<Paths.GetCalendar.PathParameters> | null,
|
|
307
|
+
data?: any,
|
|
308
|
+
config?: AxiosRequestConfig
|
|
309
|
+
): OperationResponse<Paths.GetCalendar.Responses.$200>
|
|
310
|
+
}
|
|
311
|
+
['/v1/calendar/events']: {
|
|
312
|
+
/**
|
|
313
|
+
* listEvents - listEvents
|
|
314
|
+
*
|
|
315
|
+
* List events in a time window. Recurring events are returned as expanded occurrences – each instance appears as its own event.
|
|
316
|
+
*/
|
|
317
|
+
'get'(
|
|
318
|
+
parameters?: Parameters<Paths.ListEvents.QueryParameters> | null,
|
|
319
|
+
data?: any,
|
|
320
|
+
config?: AxiosRequestConfig
|
|
321
|
+
): OperationResponse<Paths.ListEvents.Responses.$200>
|
|
322
|
+
}
|
|
323
|
+
['/v1/calendar/events/{event_id}']: {
|
|
324
|
+
/**
|
|
325
|
+
* getEvent - getEvent
|
|
326
|
+
*
|
|
327
|
+
* Get a single event by its epilot ID.
|
|
328
|
+
*/
|
|
329
|
+
'get'(
|
|
330
|
+
parameters?: Parameters<Paths.GetEvent.PathParameters> | null,
|
|
331
|
+
data?: any,
|
|
332
|
+
config?: AxiosRequestConfig
|
|
333
|
+
): OperationResponse<Paths.GetEvent.Responses.$200>
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
type Attendee = Components.Schemas.Attendee;
|
|
341
|
+
type Calendar = Components.Schemas.Calendar;
|
|
342
|
+
type CalendarEvent = Components.Schemas.CalendarEvent;
|
|
343
|
+
type CalendarSource = Components.Schemas.CalendarSource;
|
|
344
|
+
type Error = Components.Schemas.Error;
|
|
345
|
+
type EventSource = Components.Schemas.EventSource;
|
|
346
|
+
type EventStatus = Components.Schemas.EventStatus;
|
|
347
|
+
type EventType = Components.Schemas.EventType;
|
|
348
|
+
type Importance = Components.Schemas.Importance;
|
|
349
|
+
type Provider = Components.Schemas.Provider;
|
|
350
|
+
type ResponseStatus = Components.Schemas.ResponseStatus;
|
|
351
|
+
type Sensitivity = Components.Schemas.Sensitivity;
|
|
352
|
+
|
|
353
|
+
export { type Attendee as A, type Client as C, type Error as E, type Importance as I, type OperationMethods as O, Paths as P, type ResponseStatus as R, type Sensitivity as S, Components as a, type PathsDictionary as b, type Calendar as c, type CalendarEvent as d, type CalendarSource as e, type EventSource as f, type EventStatus as g, type EventType as h, type Provider as i };
|