@epilot/sdk 2.4.2 → 2.4.4-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/definitions/app-runtime.json +1 -1
- package/definitions/app.json +346 -10
- package/definitions/automation.json +42 -0
- package/definitions/calendar-runtime.json +1 -0
- package/definitions/calendar.json +675 -0
- package/definitions/customer-portal.json +29 -0
- package/definitions/notes.json +175 -130
- package/definitions/pricing-runtime.json +1 -1
- package/definitions/pricing.json +163 -84
- package/dist/README-46VYEGGW.js +7 -0
- package/dist/README-IVBISSWB.cjs +7 -0
- package/dist/{_index-HE4B6FOA.js → _index-5FB6F5YY.js} +3 -0
- package/dist/{_index-55HAH24D.cjs → _index-DB2VV4PQ.cjs} +4 -1
- package/dist/apis/_registry.d.ts +8 -0
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.d.ts +9 -12
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.d.ts +9 -12
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.d.ts +9 -12
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.d.ts +9 -12
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.d.ts +9 -12
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.d.ts +9 -12
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.d.ts +9 -12
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.d.ts +9 -12
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.d.ts +9 -12
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +38 -0
- package/dist/apis/calendar.d.ts +15 -0
- package/dist/apis/calendar.js +38 -0
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.d.ts +9 -12
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.d.ts +9 -12
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.d.ts +9 -12
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.d.ts +9 -12
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.d.ts +9 -12
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.d.ts +9 -12
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.d.ts +9 -12
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.d.ts +9 -12
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.d.ts +9 -12
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.d.ts +9 -12
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.d.ts +9 -12
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.d.ts +9 -12
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.d.ts +9 -12
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.d.ts +9 -12
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.d.ts +9 -12
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.d.ts +9 -12
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.d.ts +9 -12
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.d.ts +9 -12
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.d.ts +9 -12
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.d.ts +9 -12
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.d.ts +9 -12
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.d.ts +9 -12
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.d.ts +9 -12
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.d.ts +9 -12
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.d.ts +9 -12
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.d.ts +9 -12
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.d.ts +9 -12
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +8 -8
- package/dist/apis/pricing.d.ts +9 -12
- package/dist/apis/pricing.js +2 -2
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.d.ts +9 -12
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.d.ts +9 -12
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.d.ts +9 -12
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.d.ts +9 -12
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.d.ts +9 -12
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.d.ts +9 -591
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.d.ts +9 -12
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.d.ts +9 -12
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.d.ts +9 -12
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.d.ts +9 -12
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.d.ts +9 -12
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.d.ts +9 -12
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.d.ts +9 -12
- package/dist/apis/workflow.js +1 -1
- package/dist/authorize.d.ts +3 -0
- package/dist/automation-BMO7ZFTN.cjs +7 -0
- package/dist/automation-MEZTSUR3.js +7 -0
- package/dist/bin/cli.d.ts +1 -0
- package/dist/bin/cli.js +1 -1
- package/dist/calendar-2YDAYG7S.cjs +7 -0
- package/dist/calendar-ACFIHQ2N.js +7 -0
- package/dist/calendar-runtime-6CMMEQMG.js +5 -0
- package/dist/calendar-runtime-G4SN5PDY.cjs +5 -0
- package/dist/{chunk-MEUS7LCE.js → chunk-63BFJKWV.js} +1 -1
- package/dist/{chunk-YLJD7G7H.cjs → chunk-CD4OX2U6.cjs} +7 -5
- package/dist/chunk-CKLEBO4K.cjs +14 -0
- package/dist/chunk-JNH37UUH.js +14 -0
- package/dist/{chunk-JXJC6WEW.cjs → chunk-KP7H52BF.cjs} +1 -1
- package/dist/{chunk-CQ3AKMIJ.js → chunk-TSV242UN.js} +7 -5
- package/dist/client-factory.d.ts +9 -0
- package/dist/client-map.d.ts +102 -0
- package/dist/compact.d.ts +22 -0
- package/dist/help.d.ts +12 -0
- package/dist/index.cjs +27 -19
- package/dist/index.d.ts +12 -180
- package/dist/index.js +22 -14
- package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
- package/dist/large-response.d.ts +9 -0
- package/dist/openapi.d.ts +12 -0
- package/dist/overrides.d.ts +9 -0
- package/dist/pricing-G67CH3XH.js +7 -0
- package/dist/pricing-XAET4G7T.cjs +7 -0
- package/dist/{pricing-runtime-JRR4FWFI.js → pricing-runtime-2YKEJJMZ.js} +1 -1
- package/dist/{pricing-runtime-6XNS4EOF.cjs → pricing-runtime-XDCOKL47.cjs} +2 -2
- package/dist/proxy.d.ts +14 -0
- package/dist/registry.d.ts +19 -0
- package/dist/retry.d.ts +11 -0
- package/dist/sdk.d.ts +29 -0
- package/dist/types.d.ts +53 -0
- package/docs/automation.md +42 -5
- package/docs/calendar.md +441 -0
- package/docs/pricing.md +39 -15
- package/package.json +10 -1
- package/dist/README-6MG272KM.cjs +0 -7
- package/dist/README-7N542PBL.js +0 -7
- package/dist/access-token.d-CnmUTOlq.d.cts +0 -552
- package/dist/access-token.d-CnmUTOlq.d.ts +0 -552
- package/dist/address-suggestions.d-_YwTOR-9.d.cts +0 -339
- package/dist/address-suggestions.d-_YwTOR-9.d.ts +0 -339
- package/dist/address.d-CwAPOVxa.d.cts +0 -437
- package/dist/address.d-CwAPOVxa.d.ts +0 -437
- package/dist/ai-agents.d-OkXfr2bz.d.cts +0 -1339
- package/dist/ai-agents.d-OkXfr2bz.d.ts +0 -1339
- package/dist/apis/access-token.d.cts +0 -18
- package/dist/apis/address-suggestions.d.cts +0 -18
- package/dist/apis/address.d.cts +0 -18
- package/dist/apis/ai-agents.d.cts +0 -18
- package/dist/apis/app.d.cts +0 -18
- package/dist/apis/audit-logs.d.cts +0 -18
- package/dist/apis/automation.d.cts +0 -18
- package/dist/apis/billing.d.cts +0 -18
- package/dist/apis/blueprint-manifest.d.cts +0 -18
- package/dist/apis/configuration-hub.d.cts +0 -18
- package/dist/apis/consent.d.cts +0 -18
- package/dist/apis/customer-portal.d.cts +0 -18
- package/dist/apis/dashboard.d.cts +0 -18
- package/dist/apis/data-governance.d.cts +0 -18
- package/dist/apis/deduplication.d.cts +0 -18
- package/dist/apis/design.d.cts +0 -18
- package/dist/apis/document.d.cts +0 -18
- package/dist/apis/email-settings.d.cts +0 -18
- package/dist/apis/email-template.d.cts +0 -18
- package/dist/apis/entity-mapping.d.cts +0 -18
- package/dist/apis/entity.d.cts +0 -18
- package/dist/apis/environments.d.cts +0 -18
- package/dist/apis/event-catalog.d.cts +0 -18
- package/dist/apis/file.d.cts +0 -18
- package/dist/apis/iban.d.cts +0 -18
- package/dist/apis/integration-toolkit.d.cts +0 -18
- package/dist/apis/journey.d.cts +0 -18
- package/dist/apis/kanban.d.cts +0 -18
- package/dist/apis/message.d.cts +0 -18
- package/dist/apis/metering.d.cts +0 -18
- package/dist/apis/notes.d.cts +0 -18
- package/dist/apis/notification.d.cts +0 -18
- package/dist/apis/organization.d.cts +0 -18
- package/dist/apis/partner-directory.d.cts +0 -18
- package/dist/apis/permissions.d.cts +0 -18
- package/dist/apis/pricing-tier.d.cts +0 -18
- package/dist/apis/pricing.d.cts +0 -18
- package/dist/apis/purpose.d.cts +0 -18
- package/dist/apis/query.d.cts +0 -18
- package/dist/apis/sandbox.d.cts +0 -18
- package/dist/apis/sharing.d.cts +0 -18
- package/dist/apis/submission.d.cts +0 -18
- package/dist/apis/target.d.cts +0 -597
- package/dist/apis/targeting.d.cts +0 -18
- package/dist/apis/template-variables.d.cts +0 -18
- package/dist/apis/user.d.cts +0 -18
- package/dist/apis/validation-rules.d.cts +0 -18
- package/dist/apis/webhooks.d.cts +0 -18
- package/dist/apis/workflow-definition.d.cts +0 -18
- package/dist/apis/workflow.d.cts +0 -18
- package/dist/app.d-u7Dq42kU.d.cts +0 -3391
- package/dist/app.d-u7Dq42kU.d.ts +0 -3391
- package/dist/audit-logs.d-BRToFqeX.d.cts +0 -287
- package/dist/audit-logs.d-BRToFqeX.d.ts +0 -287
- package/dist/automation-GFNNLSIN.js +0 -7
- package/dist/automation-IOCVCTKR.cjs +0 -7
- package/dist/automation.d-CzhG2m4L.d.cts +0 -5252
- package/dist/automation.d-CzhG2m4L.d.ts +0 -5252
- package/dist/billing.d-Bs8Ku9qE.d.cts +0 -993
- package/dist/billing.d-Bs8Ku9qE.d.ts +0 -993
- package/dist/blueprint-manifest.d-BPyzoR0X.d.cts +0 -4343
- package/dist/blueprint-manifest.d-BPyzoR0X.d.ts +0 -4343
- package/dist/configuration-hub.d-Cqaq2F-W.d.cts +0 -478
- package/dist/configuration-hub.d-Cqaq2F-W.d.ts +0 -478
- package/dist/consent.d-C2PROHhX.d.cts +0 -265
- package/dist/consent.d-C2PROHhX.d.ts +0 -265
- package/dist/customer-portal.d-DyZ2n2dW.d.cts +0 -16728
- package/dist/customer-portal.d-DyZ2n2dW.d.ts +0 -16728
- package/dist/dashboard.d-CsGcA74I.d.cts +0 -440
- package/dist/dashboard.d-CsGcA74I.d.ts +0 -440
- package/dist/data-governance.d-BbZ466j5.d.cts +0 -1178
- package/dist/data-governance.d-BbZ466j5.d.ts +0 -1178
- package/dist/deduplication.d-D5GYddVu.d.cts +0 -218
- package/dist/deduplication.d-D5GYddVu.d.ts +0 -218
- package/dist/design.d-BRre8iLg.d.cts +0 -2346
- package/dist/design.d-BRre8iLg.d.ts +0 -2346
- package/dist/document.d-DN37pjdx.d.cts +0 -648
- package/dist/document.d-DN37pjdx.d.ts +0 -648
- package/dist/email-settings.d-B7Q_xT25.d.cts +0 -2417
- package/dist/email-settings.d-B7Q_xT25.d.ts +0 -2417
- package/dist/email-template.d-gtQkdaXM.d.cts +0 -1188
- package/dist/email-template.d-gtQkdaXM.d.ts +0 -1188
- package/dist/entity-mapping.d-DKSW3sfy.d.cts +0 -1092
- package/dist/entity-mapping.d-DKSW3sfy.d.ts +0 -1092
- package/dist/entity.d-BHR9dEon.d.cts +0 -18479
- package/dist/entity.d-BHR9dEon.d.ts +0 -18479
- package/dist/environments.d-BvqvN-PD.d.cts +0 -382
- package/dist/environments.d-BvqvN-PD.d.ts +0 -382
- package/dist/event-catalog.d-ENw6HO-w.d.cts +0 -1511
- package/dist/event-catalog.d-ENw6HO-w.d.ts +0 -1511
- package/dist/file.d-DcTJxjp7.d.cts +0 -2992
- package/dist/file.d-DcTJxjp7.d.ts +0 -2992
- package/dist/iban.d-BwdiGbxi.d.cts +0 -70
- package/dist/iban.d-BwdiGbxi.d.ts +0 -70
- package/dist/index.d.cts +0 -180
- package/dist/integration-toolkit.d-Ry-KC9ow.d.cts +0 -5796
- package/dist/integration-toolkit.d-Ry-KC9ow.d.ts +0 -5796
- package/dist/journey.d-ClXO0xK8.d.cts +0 -1931
- package/dist/journey.d-ClXO0xK8.d.ts +0 -1931
- package/dist/kanban.d-BHnSRCYW.d.cts +0 -760
- package/dist/kanban.d-BHnSRCYW.d.ts +0 -760
- package/dist/message.d-B5UuSqgw.d.cts +0 -3811
- package/dist/message.d-B5UuSqgw.d.ts +0 -3811
- package/dist/metering.d-DvtPv7wk.d.cts +0 -1841
- package/dist/metering.d-DvtPv7wk.d.ts +0 -1841
- package/dist/notes.d-BC-scR42.d.cts +0 -1046
- package/dist/notes.d-BC-scR42.d.ts +0 -1046
- package/dist/notification.d-BfBL3lga.d.cts +0 -1147
- package/dist/notification.d-BfBL3lga.d.ts +0 -1147
- package/dist/organization.d-DqwnNxMg.d.cts +0 -1271
- package/dist/organization.d-DqwnNxMg.d.ts +0 -1271
- package/dist/partner-directory.d-BCIjHoGs.d.cts +0 -2337
- package/dist/partner-directory.d-BCIjHoGs.d.ts +0 -2337
- package/dist/permissions.d-l6AT8SYP.d.cts +0 -1279
- package/dist/permissions.d-l6AT8SYP.d.ts +0 -1279
- package/dist/pricing-4Z4TOETA.cjs +0 -7
- package/dist/pricing-C65DTZSX.js +0 -7
- package/dist/pricing-tier.d-Cg0jl6n_.d.cts +0 -81
- package/dist/pricing-tier.d-Cg0jl6n_.d.ts +0 -81
- package/dist/pricing.d-Cv39plGm.d.cts +0 -12200
- package/dist/pricing.d-Cv39plGm.d.ts +0 -12200
- package/dist/purpose.d-CbIYfTua.d.cts +0 -372
- package/dist/purpose.d-CbIYfTua.d.ts +0 -372
- package/dist/query.d-Cmp78IhZ.d.cts +0 -2375
- package/dist/query.d-Cmp78IhZ.d.ts +0 -2375
- package/dist/sandbox.d-BdbOFzDu.d.cts +0 -465
- package/dist/sandbox.d-BdbOFzDu.d.ts +0 -465
- package/dist/sharing.d-sOXq-gtz.d.cts +0 -571
- package/dist/sharing.d-sOXq-gtz.d.ts +0 -571
- package/dist/submission.d-BamwfhXw.d.cts +0 -469
- package/dist/submission.d-BamwfhXw.d.ts +0 -469
- package/dist/targeting.d-BNmcVsNS.d.cts +0 -2057
- package/dist/targeting.d-BNmcVsNS.d.ts +0 -2057
- package/dist/template-variables.d-Ble9TSBa.d.cts +0 -1320
- package/dist/template-variables.d-Ble9TSBa.d.ts +0 -1320
- package/dist/types-ChU9Acbv.d.cts +0 -37
- package/dist/types-ChU9Acbv.d.ts +0 -37
- package/dist/user.d-D18fe97W.d.cts +0 -2270
- package/dist/user.d-D18fe97W.d.ts +0 -2270
- package/dist/validation-rules.d-Db5c5zTf.d.cts +0 -807
- package/dist/validation-rules.d-Db5c5zTf.d.ts +0 -807
- package/dist/webhooks.d-pLHIL_io.d.cts +0 -1256
- package/dist/webhooks.d-pLHIL_io.d.ts +0 -1256
- package/dist/workflow-definition.d-DOeb0KVV.d.cts +0 -1922
- package/dist/workflow-definition.d-DOeb0KVV.d.ts +0 -1922
- package/dist/workflow.d-CMSKt8oN.d.cts +0 -3151
- package/dist/workflow.d-CMSKt8oN.d.ts +0 -3151
package/docs/automation.md
CHANGED
|
@@ -192,6 +192,7 @@ const { data } = await client.searchFlows({
|
|
|
192
192
|
size: 1,
|
|
193
193
|
from: 1,
|
|
194
194
|
trigger_source_id: 'example',
|
|
195
|
+
target_workflow: 'example',
|
|
195
196
|
include_flows: true,
|
|
196
197
|
})
|
|
197
198
|
```
|
|
@@ -340,7 +341,14 @@ const { data } = await client.startExecution(
|
|
|
340
341
|
parent_execution_id: 'string',
|
|
341
342
|
parent_task_id: 'string',
|
|
342
343
|
depth: 0
|
|
343
|
-
}
|
|
344
|
+
},
|
|
345
|
+
entity_contexts: [
|
|
346
|
+
{
|
|
347
|
+
entity_id: 'string',
|
|
348
|
+
entity_schema: 'string',
|
|
349
|
+
is_primary: true
|
|
350
|
+
}
|
|
351
|
+
]
|
|
344
352
|
},
|
|
345
353
|
flow_execution_id: 'string',
|
|
346
354
|
flow_automation_task_id: 'string'
|
|
@@ -451,7 +459,10 @@ const { data } = await client.startExecution(
|
|
|
451
459
|
"parent_execution_id": "string",
|
|
452
460
|
"parent_task_id": "string",
|
|
453
461
|
"depth": 0
|
|
454
|
-
}
|
|
462
|
+
},
|
|
463
|
+
"entity_contexts": [
|
|
464
|
+
{}
|
|
465
|
+
]
|
|
455
466
|
}
|
|
456
467
|
}
|
|
457
468
|
```
|
|
@@ -735,7 +746,10 @@ const { data } = await client.getExecution({
|
|
|
735
746
|
"parent_execution_id": "string",
|
|
736
747
|
"parent_task_id": "string",
|
|
737
748
|
"depth": 0
|
|
738
|
-
}
|
|
749
|
+
},
|
|
750
|
+
"entity_contexts": [
|
|
751
|
+
{}
|
|
752
|
+
]
|
|
739
753
|
}
|
|
740
754
|
}
|
|
741
755
|
```
|
|
@@ -859,7 +873,10 @@ const { data } = await client.cancelExecution({
|
|
|
859
873
|
"parent_execution_id": "string",
|
|
860
874
|
"parent_task_id": "string",
|
|
861
875
|
"depth": 0
|
|
862
|
-
}
|
|
876
|
+
},
|
|
877
|
+
"entity_contexts": [
|
|
878
|
+
{}
|
|
879
|
+
]
|
|
863
880
|
}
|
|
864
881
|
}
|
|
865
882
|
```
|
|
@@ -954,7 +971,8 @@ const { data } = await client.resumeExecutionWithToken(
|
|
|
954
971
|
"workflow_exec_id": "string",
|
|
955
972
|
"workflow_exec_task_id": "string",
|
|
956
973
|
"workflow_role": "trigger_workflow",
|
|
957
|
-
"_execution_chain": {}
|
|
974
|
+
"_execution_chain": {},
|
|
975
|
+
"entity_contexts": []
|
|
958
976
|
}
|
|
959
977
|
},
|
|
960
978
|
"resumedAction": {
|
|
@@ -2176,6 +2194,7 @@ type SendEmailActionConfig = {
|
|
|
2176
2194
|
reply_to_sender?: boolean
|
|
2177
2195
|
reply_mode?: "reply_in_thread" | "new_email"
|
|
2178
2196
|
mark_as_done?: boolean
|
|
2197
|
+
mark_as_read?: boolean
|
|
2179
2198
|
attachments?: Array<{
|
|
2180
2199
|
source_filter?: { ... }
|
|
2181
2200
|
}>
|
|
@@ -2209,6 +2228,7 @@ type SendEmailAction = {
|
|
|
2209
2228
|
reply_to_sender?: boolean
|
|
2210
2229
|
reply_mode?: "reply_in_thread" | "new_email"
|
|
2211
2230
|
mark_as_done?: boolean
|
|
2231
|
+
mark_as_read?: boolean
|
|
2212
2232
|
attachments?: Array<{
|
|
2213
2233
|
source_filter?: { ... }
|
|
2214
2234
|
}>
|
|
@@ -2235,6 +2255,7 @@ type ForwardEmailActionConfig = {
|
|
|
2235
2255
|
include_attachments?: boolean
|
|
2236
2256
|
subject_prefix?: string
|
|
2237
2257
|
mark_as_done?: boolean
|
|
2258
|
+
mark_as_read?: boolean
|
|
2238
2259
|
}
|
|
2239
2260
|
allow_failure?: boolean
|
|
2240
2261
|
created_automatically?: boolean
|
|
@@ -2261,6 +2282,7 @@ type ForwardEmailAction = {
|
|
|
2261
2282
|
include_attachments?: boolean
|
|
2262
2283
|
subject_prefix?: string
|
|
2263
2284
|
mark_as_done?: boolean
|
|
2285
|
+
mark_as_read?: boolean
|
|
2264
2286
|
}
|
|
2265
2287
|
}
|
|
2266
2288
|
```
|
|
@@ -2276,6 +2298,7 @@ type ForwardEmailConfig = {
|
|
|
2276
2298
|
include_attachments?: boolean
|
|
2277
2299
|
subject_prefix?: string
|
|
2278
2300
|
mark_as_done?: boolean
|
|
2301
|
+
mark_as_read?: boolean
|
|
2279
2302
|
}
|
|
2280
2303
|
```
|
|
2281
2304
|
|
|
@@ -2292,6 +2315,7 @@ type ReplyEmailActionConfig = {
|
|
|
2292
2315
|
language_code?: "de" | "en"
|
|
2293
2316
|
reply_mode?: "reply_in_thread" | "new_email"
|
|
2294
2317
|
mark_as_done?: boolean
|
|
2318
|
+
mark_as_read?: boolean
|
|
2295
2319
|
}
|
|
2296
2320
|
allow_failure?: boolean
|
|
2297
2321
|
created_automatically?: boolean
|
|
@@ -2315,6 +2339,7 @@ type ReplyEmailAction = {
|
|
|
2315
2339
|
language_code?: "de" | "en"
|
|
2316
2340
|
reply_mode?: "reply_in_thread" | "new_email"
|
|
2317
2341
|
mark_as_done?: boolean
|
|
2342
|
+
mark_as_read?: boolean
|
|
2318
2343
|
}
|
|
2319
2344
|
}
|
|
2320
2345
|
```
|
|
@@ -2327,6 +2352,7 @@ type ReplyEmailConfig = {
|
|
|
2327
2352
|
language_code?: "de" | "en"
|
|
2328
2353
|
reply_mode?: "reply_in_thread" | "new_email"
|
|
2329
2354
|
mark_as_done?: boolean
|
|
2355
|
+
mark_as_read?: boolean
|
|
2330
2356
|
}
|
|
2331
2357
|
```
|
|
2332
2358
|
|
|
@@ -2342,6 +2368,7 @@ type SendEmailConfig = {
|
|
|
2342
2368
|
reply_to_sender?: boolean
|
|
2343
2369
|
reply_mode?: "reply_in_thread" | "new_email"
|
|
2344
2370
|
mark_as_done?: boolean
|
|
2371
|
+
mark_as_read?: boolean
|
|
2345
2372
|
attachments?: Array<{
|
|
2346
2373
|
source_filter?: {
|
|
2347
2374
|
limit?: { ... }
|
|
@@ -2993,6 +3020,11 @@ type WorkflowExecutionContext = {
|
|
|
2993
3020
|
parent_task_id?: string
|
|
2994
3021
|
depth?: number
|
|
2995
3022
|
}
|
|
3023
|
+
entity_contexts?: Array<{
|
|
3024
|
+
entity_id?: string
|
|
3025
|
+
entity_schema?: string
|
|
3026
|
+
is_primary?: boolean
|
|
3027
|
+
}>
|
|
2996
3028
|
}
|
|
2997
3029
|
```
|
|
2998
3030
|
|
|
@@ -3229,6 +3261,11 @@ type StartExecutionRequest = {
|
|
|
3229
3261
|
parent_task_id?: { ... }
|
|
3230
3262
|
depth?: { ... }
|
|
3231
3263
|
}
|
|
3264
|
+
entity_contexts?: Array<{
|
|
3265
|
+
entity_id?: { ... }
|
|
3266
|
+
entity_schema?: { ... }
|
|
3267
|
+
is_primary?: { ... }
|
|
3268
|
+
}>
|
|
3232
3269
|
}
|
|
3233
3270
|
flow_execution_id?: string
|
|
3234
3271
|
flow_automation_task_id?: string
|
package/docs/calendar.md
ADDED
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
# Calendar API
|
|
2
|
+
|
|
3
|
+
- **Base URL:** `https://calendar.sls.epilot.io`
|
|
4
|
+
- **Full API Docs:** [https://docs.epilot.io/api/calendar](https://docs.epilot.io/api/calendar)
|
|
5
|
+
|
|
6
|
+
## Usage
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
import { epilot } from '@epilot/sdk'
|
|
10
|
+
|
|
11
|
+
epilot.authorize(() => '<token>')
|
|
12
|
+
const { data } = await epilot.calendar.listCalendars(...)
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Tree-shakeable import
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
import { getClient, authorize } from '@epilot/sdk/calendar'
|
|
19
|
+
|
|
20
|
+
const calendarClient = getClient()
|
|
21
|
+
authorize(calendarClient, () => '<token>')
|
|
22
|
+
const { data } = await calendarClient.listCalendars(...)
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Operations
|
|
26
|
+
|
|
27
|
+
**Calendars**
|
|
28
|
+
- [`listCalendars`](#listcalendars)
|
|
29
|
+
- [`getCalendar`](#getcalendar)
|
|
30
|
+
|
|
31
|
+
**Events**
|
|
32
|
+
- [`listEvents`](#listevents)
|
|
33
|
+
- [`getEvent`](#getevent)
|
|
34
|
+
|
|
35
|
+
**Schemas**
|
|
36
|
+
- [`Calendar`](#calendar)
|
|
37
|
+
- [`CalendarSource`](#calendarsource)
|
|
38
|
+
- [`Provider`](#provider)
|
|
39
|
+
- [`Error`](#error)
|
|
40
|
+
- [`CalendarEvent`](#calendarevent)
|
|
41
|
+
- [`EventType`](#eventtype)
|
|
42
|
+
- [`EventStatus`](#eventstatus)
|
|
43
|
+
- [`Sensitivity`](#sensitivity)
|
|
44
|
+
- [`Importance`](#importance)
|
|
45
|
+
- [`ResponseStatus`](#responsestatus)
|
|
46
|
+
- [`Attendee`](#attendee)
|
|
47
|
+
- [`EventSource`](#eventsource)
|
|
48
|
+
|
|
49
|
+
### `listCalendars`
|
|
50
|
+
|
|
51
|
+
List calendars visible to the caller.
|
|
52
|
+
|
|
53
|
+
`GET /v1/calendar`
|
|
54
|
+
|
|
55
|
+
```ts
|
|
56
|
+
const { data } = await client.listCalendars({
|
|
57
|
+
size: 1,
|
|
58
|
+
cursor: 'example',
|
|
59
|
+
})
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
<details>
|
|
63
|
+
<summary>Response</summary>
|
|
64
|
+
|
|
65
|
+
```json
|
|
66
|
+
{
|
|
67
|
+
"results": [
|
|
68
|
+
{
|
|
69
|
+
"_id": "string",
|
|
70
|
+
"_schema": "calendar",
|
|
71
|
+
"_org": "string",
|
|
72
|
+
"_title": "string",
|
|
73
|
+
"name": "string",
|
|
74
|
+
"description": "string",
|
|
75
|
+
"color": "string",
|
|
76
|
+
"is_default": true,
|
|
77
|
+
"read_only": true,
|
|
78
|
+
"owner_email": "user@example.com",
|
|
79
|
+
"source": {
|
|
80
|
+
"type": "native",
|
|
81
|
+
"provider": "outlook",
|
|
82
|
+
"provider_calendar_id": "string",
|
|
83
|
+
"last_synced_at": "1970-01-01T00:00:00.000Z"
|
|
84
|
+
},
|
|
85
|
+
"_created_at": "1970-01-01T00:00:00.000Z",
|
|
86
|
+
"_updated_at": "1970-01-01T00:00:00.000Z"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"next_cursor": "string"
|
|
90
|
+
}
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
</details>
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
### `getCalendar`
|
|
98
|
+
|
|
99
|
+
Get a single calendar by its epilot ID.
|
|
100
|
+
|
|
101
|
+
`GET /v1/calendar/{calendar_id}`
|
|
102
|
+
|
|
103
|
+
```ts
|
|
104
|
+
const { data } = await client.getCalendar({
|
|
105
|
+
calendar_id: 'example',
|
|
106
|
+
})
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
<details>
|
|
110
|
+
<summary>Response</summary>
|
|
111
|
+
|
|
112
|
+
```json
|
|
113
|
+
{
|
|
114
|
+
"_id": "string",
|
|
115
|
+
"_schema": "calendar",
|
|
116
|
+
"_org": "string",
|
|
117
|
+
"_title": "string",
|
|
118
|
+
"name": "string",
|
|
119
|
+
"description": "string",
|
|
120
|
+
"color": "string",
|
|
121
|
+
"is_default": true,
|
|
122
|
+
"read_only": true,
|
|
123
|
+
"owner_email": "user@example.com",
|
|
124
|
+
"source": {
|
|
125
|
+
"type": "native",
|
|
126
|
+
"provider": "outlook",
|
|
127
|
+
"provider_calendar_id": "string",
|
|
128
|
+
"last_synced_at": "1970-01-01T00:00:00.000Z"
|
|
129
|
+
},
|
|
130
|
+
"_created_at": "1970-01-01T00:00:00.000Z",
|
|
131
|
+
"_updated_at": "1970-01-01T00:00:00.000Z"
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
</details>
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
### `listEvents`
|
|
140
|
+
|
|
141
|
+
List events in a time window. Recurring events are returned as expanded occurrences – each instance appears as its own event.
|
|
142
|
+
|
|
143
|
+
`GET /v1/calendar/events`
|
|
144
|
+
|
|
145
|
+
```ts
|
|
146
|
+
const { data } = await client.listEvents({
|
|
147
|
+
from: 'example',
|
|
148
|
+
to: 'example',
|
|
149
|
+
calendar_id: 'example',
|
|
150
|
+
size: 1,
|
|
151
|
+
cursor: 'example',
|
|
152
|
+
})
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
<details>
|
|
156
|
+
<summary>Response</summary>
|
|
157
|
+
|
|
158
|
+
```json
|
|
159
|
+
{
|
|
160
|
+
"results": [
|
|
161
|
+
{
|
|
162
|
+
"_id": "string",
|
|
163
|
+
"_schema": "calendar_event",
|
|
164
|
+
"_org": "string",
|
|
165
|
+
"_title": "string",
|
|
166
|
+
"_tags": ["string"],
|
|
167
|
+
"calendar_id": "string",
|
|
168
|
+
"event_type": "singleInstance",
|
|
169
|
+
"description": "string",
|
|
170
|
+
"start_time": "1970-01-01T00:00:00.000Z",
|
|
171
|
+
"end_time": "1970-01-01T00:00:00.000Z",
|
|
172
|
+
"timezone": "string",
|
|
173
|
+
"is_all_day": true,
|
|
174
|
+
"location": "string",
|
|
175
|
+
"status": "free",
|
|
176
|
+
"busy": true,
|
|
177
|
+
"is_cancelled": true,
|
|
178
|
+
"sensitivity": "normal",
|
|
179
|
+
"importance": "low",
|
|
180
|
+
"is_online_meeting": true,
|
|
181
|
+
"online_meeting_url": "https://example.com/path",
|
|
182
|
+
"web_link": "https://example.com/path",
|
|
183
|
+
"response_status": "none",
|
|
184
|
+
"organizer_email": "user@example.com",
|
|
185
|
+
"attendees": [
|
|
186
|
+
{
|
|
187
|
+
"email": "user@example.com",
|
|
188
|
+
"name": "string",
|
|
189
|
+
"response": "none",
|
|
190
|
+
"type": "required"
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
"is_recurring": true,
|
|
194
|
+
"series_master_id": "string",
|
|
195
|
+
"source": {
|
|
196
|
+
"type": "native",
|
|
197
|
+
"provider": "outlook",
|
|
198
|
+
"provider_event_id": "string",
|
|
199
|
+
"provider_event_url": "https://example.com/path",
|
|
200
|
+
"last_synced_at": "1970-01-01T00:00:00.000Z",
|
|
201
|
+
"etag": "string"
|
|
202
|
+
},
|
|
203
|
+
"_created_at": "1970-01-01T00:00:00.000Z",
|
|
204
|
+
"_updated_at": "1970-01-01T00:00:00.000Z"
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"next_cursor": "string"
|
|
208
|
+
}
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
</details>
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
### `getEvent`
|
|
216
|
+
|
|
217
|
+
Get a single event by its epilot ID.
|
|
218
|
+
|
|
219
|
+
`GET /v1/calendar/events/{event_id}`
|
|
220
|
+
|
|
221
|
+
```ts
|
|
222
|
+
const { data } = await client.getEvent({
|
|
223
|
+
event_id: 'example',
|
|
224
|
+
})
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
<details>
|
|
228
|
+
<summary>Response</summary>
|
|
229
|
+
|
|
230
|
+
```json
|
|
231
|
+
{
|
|
232
|
+
"_id": "string",
|
|
233
|
+
"_schema": "calendar_event",
|
|
234
|
+
"_org": "string",
|
|
235
|
+
"_title": "string",
|
|
236
|
+
"_tags": ["string"],
|
|
237
|
+
"calendar_id": "string",
|
|
238
|
+
"event_type": "singleInstance",
|
|
239
|
+
"description": "string",
|
|
240
|
+
"start_time": "1970-01-01T00:00:00.000Z",
|
|
241
|
+
"end_time": "1970-01-01T00:00:00.000Z",
|
|
242
|
+
"timezone": "string",
|
|
243
|
+
"is_all_day": true,
|
|
244
|
+
"location": "string",
|
|
245
|
+
"status": "free",
|
|
246
|
+
"busy": true,
|
|
247
|
+
"is_cancelled": true,
|
|
248
|
+
"sensitivity": "normal",
|
|
249
|
+
"importance": "low",
|
|
250
|
+
"is_online_meeting": true,
|
|
251
|
+
"online_meeting_url": "https://example.com/path",
|
|
252
|
+
"web_link": "https://example.com/path",
|
|
253
|
+
"response_status": "none",
|
|
254
|
+
"organizer_email": "user@example.com",
|
|
255
|
+
"attendees": [
|
|
256
|
+
{
|
|
257
|
+
"email": "user@example.com",
|
|
258
|
+
"name": "string",
|
|
259
|
+
"response": "none",
|
|
260
|
+
"type": "required"
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
"is_recurring": true,
|
|
264
|
+
"series_master_id": "string",
|
|
265
|
+
"source": {
|
|
266
|
+
"type": "native",
|
|
267
|
+
"provider": "outlook",
|
|
268
|
+
"provider_event_id": "string",
|
|
269
|
+
"provider_event_url": "https://example.com/path",
|
|
270
|
+
"last_synced_at": "1970-01-01T00:00:00.000Z",
|
|
271
|
+
"etag": "string"
|
|
272
|
+
},
|
|
273
|
+
"_created_at": "1970-01-01T00:00:00.000Z",
|
|
274
|
+
"_updated_at": "1970-01-01T00:00:00.000Z"
|
|
275
|
+
}
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
</details>
|
|
279
|
+
|
|
280
|
+
---
|
|
281
|
+
|
|
282
|
+
## Schemas
|
|
283
|
+
|
|
284
|
+
### `Calendar`
|
|
285
|
+
|
|
286
|
+
```ts
|
|
287
|
+
type Calendar = {
|
|
288
|
+
_id: string
|
|
289
|
+
_schema: "calendar"
|
|
290
|
+
_org: string
|
|
291
|
+
_title?: string
|
|
292
|
+
name: string
|
|
293
|
+
description?: string
|
|
294
|
+
color?: string
|
|
295
|
+
is_default: boolean
|
|
296
|
+
read_only: boolean
|
|
297
|
+
owner_email?: string // email
|
|
298
|
+
source: {
|
|
299
|
+
type: "native" | "synced"
|
|
300
|
+
provider?: "outlook" | "google" | null
|
|
301
|
+
provider_calendar_id?: string
|
|
302
|
+
last_synced_at?: string // date-time
|
|
303
|
+
}
|
|
304
|
+
_created_at?: string // date-time
|
|
305
|
+
_updated_at?: string // date-time
|
|
306
|
+
}
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
### `CalendarSource`
|
|
310
|
+
|
|
311
|
+
```ts
|
|
312
|
+
type CalendarSource = {
|
|
313
|
+
type: "native" | "synced"
|
|
314
|
+
provider?: "outlook" | "google" | null
|
|
315
|
+
provider_calendar_id?: string
|
|
316
|
+
last_synced_at?: string // date-time
|
|
317
|
+
}
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
### `Provider`
|
|
321
|
+
|
|
322
|
+
Null for native epilot calendars
|
|
323
|
+
|
|
324
|
+
```ts
|
|
325
|
+
type Provider = "outlook" | "google" | null
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
### `Error`
|
|
329
|
+
|
|
330
|
+
```ts
|
|
331
|
+
type Error = {
|
|
332
|
+
message: string
|
|
333
|
+
code?: string
|
|
334
|
+
}
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### `CalendarEvent`
|
|
338
|
+
|
|
339
|
+
```ts
|
|
340
|
+
type CalendarEvent = {
|
|
341
|
+
_id: string
|
|
342
|
+
_schema: "calendar_event"
|
|
343
|
+
_org: string
|
|
344
|
+
_title?: string
|
|
345
|
+
_tags?: string[]
|
|
346
|
+
calendar_id: string
|
|
347
|
+
event_type: "singleInstance" | "occurrence" | "exception" | "seriesMaster"
|
|
348
|
+
description?: string
|
|
349
|
+
start_time: string // date-time
|
|
350
|
+
end_time: string // date-time
|
|
351
|
+
timezone: string
|
|
352
|
+
is_all_day: boolean
|
|
353
|
+
location?: string
|
|
354
|
+
status: "free" | "tentative" | "busy" | "oof" | "workingElsewhere" | "unknown"
|
|
355
|
+
busy: boolean
|
|
356
|
+
is_cancelled: boolean
|
|
357
|
+
sensitivity: "normal" | "personal" | "private" | "confidential"
|
|
358
|
+
importance: "low" | "normal" | "high"
|
|
359
|
+
is_online_meeting: boolean
|
|
360
|
+
online_meeting_url?: string // uri
|
|
361
|
+
web_link?: string // uri
|
|
362
|
+
response_status: "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded"
|
|
363
|
+
organizer_email?: string // email
|
|
364
|
+
attendees?: Array<{
|
|
365
|
+
email: string // email
|
|
366
|
+
name?: string
|
|
367
|
+
response: "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded"
|
|
368
|
+
type: "required" | "optional" | "resource"
|
|
369
|
+
}>
|
|
370
|
+
is_recurring: boolean
|
|
371
|
+
series_master_id?: string
|
|
372
|
+
source: {
|
|
373
|
+
type: "native" | "synced"
|
|
374
|
+
provider?: "outlook" | "google" | null
|
|
375
|
+
provider_event_id?: string
|
|
376
|
+
provider_event_url?: string // uri
|
|
377
|
+
last_synced_at?: string // date-time
|
|
378
|
+
etag?: string
|
|
379
|
+
}
|
|
380
|
+
_created_at?: string // date-time
|
|
381
|
+
_updated_at?: string // date-time
|
|
382
|
+
}
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
### `EventType`
|
|
386
|
+
|
|
387
|
+
```ts
|
|
388
|
+
type EventType = "singleInstance" | "occurrence" | "exception" | "seriesMaster"
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
### `EventStatus`
|
|
392
|
+
|
|
393
|
+
Free/busy state derived from provider `showAs`
|
|
394
|
+
|
|
395
|
+
```ts
|
|
396
|
+
type EventStatus = "free" | "tentative" | "busy" | "oof" | "workingElsewhere" | "unknown"
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
### `Sensitivity`
|
|
400
|
+
|
|
401
|
+
```ts
|
|
402
|
+
type Sensitivity = "normal" | "personal" | "private" | "confidential"
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
### `Importance`
|
|
406
|
+
|
|
407
|
+
```ts
|
|
408
|
+
type Importance = "low" | "normal" | "high"
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
### `ResponseStatus`
|
|
412
|
+
|
|
413
|
+
Caller's response to the invite
|
|
414
|
+
|
|
415
|
+
```ts
|
|
416
|
+
type ResponseStatus = "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded"
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
### `Attendee`
|
|
420
|
+
|
|
421
|
+
```ts
|
|
422
|
+
type Attendee = {
|
|
423
|
+
email: string // email
|
|
424
|
+
name?: string
|
|
425
|
+
response: "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded"
|
|
426
|
+
type: "required" | "optional" | "resource"
|
|
427
|
+
}
|
|
428
|
+
```
|
|
429
|
+
|
|
430
|
+
### `EventSource`
|
|
431
|
+
|
|
432
|
+
```ts
|
|
433
|
+
type EventSource = {
|
|
434
|
+
type: "native" | "synced"
|
|
435
|
+
provider?: "outlook" | "google" | null
|
|
436
|
+
provider_event_id?: string
|
|
437
|
+
provider_event_url?: string // uri
|
|
438
|
+
last_synced_at?: string // date-time
|
|
439
|
+
etag?: string
|
|
440
|
+
}
|
|
441
|
+
```
|
package/docs/pricing.md
CHANGED
|
@@ -1473,7 +1473,9 @@ getExternalCatalogProducts
|
|
|
1473
1473
|
|
|
1474
1474
|
```ts
|
|
1475
1475
|
const { data } = await client.$getExternalCatalogProducts(
|
|
1476
|
-
|
|
1476
|
+
{
|
|
1477
|
+
x-epilot-org-id: 'example',
|
|
1478
|
+
},
|
|
1477
1479
|
{
|
|
1478
1480
|
config: {
|
|
1479
1481
|
appId: '1234567890',
|
|
@@ -1539,7 +1541,9 @@ getExternalCatalogProductRecommendations
|
|
|
1539
1541
|
|
|
1540
1542
|
```ts
|
|
1541
1543
|
const { data } = await client.$getExternalCatalogProductRecommendations(
|
|
1542
|
-
|
|
1544
|
+
{
|
|
1545
|
+
x-epilot-org-id: 'example',
|
|
1546
|
+
},
|
|
1543
1547
|
{
|
|
1544
1548
|
config: {
|
|
1545
1549
|
appId: '1234567890',
|
|
@@ -5598,6 +5602,19 @@ type ExternalCatalogPortalRequest = {
|
|
|
5598
5602
|
contracts?: { ... }
|
|
5599
5603
|
external_id?: { ... }
|
|
5600
5604
|
}
|
|
5605
|
+
availability_address?: {
|
|
5606
|
+
postal_code?: { ... }
|
|
5607
|
+
city?: { ... }
|
|
5608
|
+
street?: { ... }
|
|
5609
|
+
street_number?: { ... }
|
|
5610
|
+
journey_target_block?: { ... }
|
|
5611
|
+
}
|
|
5612
|
+
variable_inputs?: Array<{
|
|
5613
|
+
value?: { ... }
|
|
5614
|
+
unit?: { ... }
|
|
5615
|
+
frequency_unit?: { ... }
|
|
5616
|
+
journey_target_block?: { ... }
|
|
5617
|
+
}>
|
|
5601
5618
|
}
|
|
5602
5619
|
}
|
|
5603
5620
|
```
|
|
@@ -5651,19 +5668,19 @@ type PortalContext = {
|
|
|
5651
5668
|
assignee?: string
|
|
5652
5669
|
status?: "draft" | "in_approval_process" | "approved" | "active" | "deactivated" | "revoked" | "terminated" | "expired"
|
|
5653
5670
|
description?: string
|
|
5654
|
-
billing_account?:
|
|
5671
|
+
billing_account?: object
|
|
5655
5672
|
account_number?: string
|
|
5656
|
-
branch?:
|
|
5673
|
+
branch?: string
|
|
5657
5674
|
move_in_date?: string // date
|
|
5658
5675
|
move_out_date?: string // date
|
|
5659
5676
|
billing_address?: object
|
|
5660
|
-
delivery_address?: object
|
|
5677
|
+
delivery_address?: object[]
|
|
5661
5678
|
additional_addresses?: object[]
|
|
5662
5679
|
termination_date?: string // date
|
|
5663
5680
|
termination_reason?: string
|
|
5664
5681
|
start_date?: string // date
|
|
5665
5682
|
end_date?: string // date
|
|
5666
|
-
customer?:
|
|
5683
|
+
customer?: object
|
|
5667
5684
|
order?: string
|
|
5668
5685
|
type?: "one_time" | "recurring"
|
|
5669
5686
|
billing_period?: "weekly" | "monthly" | "every_quarter" | "every_6_months" | "yearly"
|
|
@@ -5676,16 +5693,10 @@ type PortalContext = {
|
|
|
5676
5693
|
renewal_duration_amount?: number
|
|
5677
5694
|
renewal_duration_unit?: "weeks" | "months" | "years"
|
|
5678
5695
|
billing_due_day?: number
|
|
5679
|
-
installment_amount?:
|
|
5680
|
-
|
|
5681
|
-
currency?: { ... }
|
|
5682
|
-
}
|
|
5683
|
-
balance?: {
|
|
5684
|
-
value?: { ... }
|
|
5685
|
-
currency?: { ... }
|
|
5686
|
-
}
|
|
5696
|
+
installment_amount?: number
|
|
5697
|
+
balance?: number
|
|
5687
5698
|
meters?: string[]
|
|
5688
|
-
payment?:
|
|
5699
|
+
payment?: object
|
|
5689
5700
|
last_sync_at?: string // date
|
|
5690
5701
|
external_id?: string
|
|
5691
5702
|
}
|
|
@@ -5730,6 +5741,19 @@ type PortalContext = {
|
|
|
5730
5741
|
contracts?: string[]
|
|
5731
5742
|
external_id?: string
|
|
5732
5743
|
}
|
|
5744
|
+
availability_address?: {
|
|
5745
|
+
postal_code?: string
|
|
5746
|
+
city?: string
|
|
5747
|
+
street?: string
|
|
5748
|
+
street_number?: string
|
|
5749
|
+
journey_target_block?: string
|
|
5750
|
+
}
|
|
5751
|
+
variable_inputs?: Array<{
|
|
5752
|
+
value?: number
|
|
5753
|
+
unit?: string
|
|
5754
|
+
frequency_unit?: "weekly" | "monthly" | "every_quarter" | "every_6_months" | "yearly" | "one_time"
|
|
5755
|
+
journey_target_block?: string
|
|
5756
|
+
}>
|
|
5733
5757
|
}
|
|
5734
5758
|
```
|
|
5735
5759
|
|