@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
|
@@ -1,1922 +0,0 @@
|
|
|
1
|
-
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
-
|
|
3
|
-
/* Auto-copied from workflow-definition-client */
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
declare namespace Components {
|
|
7
|
-
namespace Schemas {
|
|
8
|
-
export type ActionSchedule = ImmediateSchedule | DelayedSchedule | RelativeSchedule;
|
|
9
|
-
/**
|
|
10
|
-
* Configuration for AI Agent to run
|
|
11
|
-
*/
|
|
12
|
-
export interface AgentConfig {
|
|
13
|
-
[name: string]: any;
|
|
14
|
-
/**
|
|
15
|
-
* Id of the configured AI Agent to run
|
|
16
|
-
*/
|
|
17
|
-
agent_id: string;
|
|
18
|
-
}
|
|
19
|
-
export interface AiAgentTask {
|
|
20
|
-
id: string;
|
|
21
|
-
name: string;
|
|
22
|
-
description?: /* Longer information regarding Task */ StepDescription;
|
|
23
|
-
journey?: StepJourney;
|
|
24
|
-
/**
|
|
25
|
-
* example:
|
|
26
|
-
* 2021-04-27T12:00:00.000Z
|
|
27
|
-
*/
|
|
28
|
-
due_date?: string;
|
|
29
|
-
due_date_config?: /* Set due date for the task based on a dynamic condition */ DueDateConfig;
|
|
30
|
-
/**
|
|
31
|
-
* requirements that need to be fulfilled in order to enable the task while flow instances are running
|
|
32
|
-
*/
|
|
33
|
-
requirements?: /* describe the requirement for a task to be enabled */ EnableRequirement[];
|
|
34
|
-
assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
|
|
35
|
-
ecp?: /* Details regarding ECP for the workflow step */ ECPDetails;
|
|
36
|
-
installer?: /* Details regarding ECP for the workflow step */ ECPDetails;
|
|
37
|
-
partner?: /* Details regarding partner for the workflow step */ PartnerDetails;
|
|
38
|
-
/**
|
|
39
|
-
* Taxonomy ids that are associated with this workflow and used for filtering
|
|
40
|
-
*/
|
|
41
|
-
taxonomies?: string[];
|
|
42
|
-
phase_id?: string;
|
|
43
|
-
task_type: TaskType;
|
|
44
|
-
agent_config?: /* Configuration for AI Agent to run */ AgentConfig;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Configuration for automation execution to run
|
|
48
|
-
*/
|
|
49
|
-
export interface AutomationConfig {
|
|
50
|
-
/**
|
|
51
|
-
* Id of the configured automation to run
|
|
52
|
-
*/
|
|
53
|
-
flow_id?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Transient field. The full automation action configuration following the automation API action schema. Processed by the backend during create/update and stripped before storage. When present without a flow_id, a new automation flow is created. When present with a flow_id, the existing automation flow is updated.
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
action_config?: {
|
|
59
|
-
[name: string]: any;
|
|
60
|
-
/**
|
|
61
|
-
* The action type (e.g. send-email, trigger-workflow)
|
|
62
|
-
*/
|
|
63
|
-
type: string;
|
|
64
|
-
/**
|
|
65
|
-
* Action-specific configuration
|
|
66
|
-
*/
|
|
67
|
-
config?: {
|
|
68
|
-
[name: string]: any;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Transient field. When present, the backend clones the automation flow referenced by this ID and assigns the new flow_id to the task. Used when duplicating an automation task to give it an independent automation. Stripped before storage.
|
|
73
|
-
*
|
|
74
|
-
*/
|
|
75
|
-
duplicated_flow_id?: string;
|
|
76
|
-
input_context?: /**
|
|
77
|
-
* Optional. Source of the entity fed into this automation task. If omitted, the workflow's primary entity is used.
|
|
78
|
-
*
|
|
79
|
-
*/
|
|
80
|
-
AutomationInputContext;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Optional. Source of the entity fed into this automation task. If omitted, the workflow's primary entity is used.
|
|
84
|
-
*
|
|
85
|
-
*/
|
|
86
|
-
export interface AutomationInputContext {
|
|
87
|
-
/**
|
|
88
|
-
* `trigger` = workflow's primary (trigger) entity. `task` = entity produced by an upstream task in the graph.
|
|
89
|
-
*
|
|
90
|
-
*/
|
|
91
|
-
source: "trigger" | "task";
|
|
92
|
-
/**
|
|
93
|
-
* Required when source is `task`. The id of the upstream task whose output entity should feed this task.
|
|
94
|
-
*/
|
|
95
|
-
task_id?: string;
|
|
96
|
-
}
|
|
97
|
-
export interface AutomationTask {
|
|
98
|
-
id: string;
|
|
99
|
-
name: string;
|
|
100
|
-
description?: /* Longer information regarding Task */ StepDescription;
|
|
101
|
-
journey?: StepJourney;
|
|
102
|
-
/**
|
|
103
|
-
* example:
|
|
104
|
-
* 2021-04-27T12:00:00.000Z
|
|
105
|
-
*/
|
|
106
|
-
due_date?: string;
|
|
107
|
-
due_date_config?: /* Set due date for the task based on a dynamic condition */ DueDateConfig;
|
|
108
|
-
/**
|
|
109
|
-
* requirements that need to be fulfilled in order to enable the task while flow instances are running
|
|
110
|
-
*/
|
|
111
|
-
requirements?: /* describe the requirement for a task to be enabled */ EnableRequirement[];
|
|
112
|
-
assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
|
|
113
|
-
ecp?: /* Details regarding ECP for the workflow step */ ECPDetails;
|
|
114
|
-
installer?: /* Details regarding ECP for the workflow step */ ECPDetails;
|
|
115
|
-
partner?: /* Details regarding partner for the workflow step */ PartnerDetails;
|
|
116
|
-
/**
|
|
117
|
-
* Taxonomy ids that are associated with this workflow and used for filtering
|
|
118
|
-
*/
|
|
119
|
-
taxonomies?: string[];
|
|
120
|
-
phase_id?: string;
|
|
121
|
-
task_type: TaskType;
|
|
122
|
-
automation_config: /* Configuration for automation execution to run */ AutomationConfig;
|
|
123
|
-
trigger_mode?: TriggerMode;
|
|
124
|
-
schedule?: ActionSchedule;
|
|
125
|
-
/**
|
|
126
|
-
* Indicates whether this task was created automatically by journeys or manually by an user
|
|
127
|
-
*/
|
|
128
|
-
created_automatically?: boolean;
|
|
129
|
-
}
|
|
130
|
-
export interface AutomationTrigger {
|
|
131
|
-
id?: string;
|
|
132
|
-
type: "automation";
|
|
133
|
-
/**
|
|
134
|
-
* Id of the automation config that triggers this workflow
|
|
135
|
-
*/
|
|
136
|
-
automation_id?: string;
|
|
137
|
-
/**
|
|
138
|
-
* For email thread triggers, specifies which entity from the triggered email thread to use as the primary input for automation and decision tasks. Defaults to `thread` when not specified.
|
|
139
|
-
*
|
|
140
|
-
*/
|
|
141
|
-
input_entity?: "thread" | "first_email" | "last_email";
|
|
142
|
-
/**
|
|
143
|
-
* Transient field. Trigger configurations for creating or updating the trigger automation flow. Each item follows the automation API trigger schema. Processed by the backend during create/update and stripped before storage.
|
|
144
|
-
*
|
|
145
|
-
*/
|
|
146
|
-
trigger_config?: {
|
|
147
|
-
[name: string]: any;
|
|
148
|
-
/**
|
|
149
|
-
* The trigger type (e.g. entity_operation, activity)
|
|
150
|
-
*/
|
|
151
|
-
type: string;
|
|
152
|
-
/**
|
|
153
|
-
* Trigger-specific configuration
|
|
154
|
-
*/
|
|
155
|
-
configuration?: {
|
|
156
|
-
[name: string]: any;
|
|
157
|
-
};
|
|
158
|
-
}[];
|
|
159
|
-
}
|
|
160
|
-
export interface ChangeReasonStatusReq {
|
|
161
|
-
status: ClosingReasonsStatus;
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* One Closing reason for a workflow
|
|
165
|
-
*/
|
|
166
|
-
export interface ClosingReason {
|
|
167
|
-
id?: string;
|
|
168
|
-
title?: string;
|
|
169
|
-
status?: ClosingReasonsStatus;
|
|
170
|
-
lastUpdateTime?: string;
|
|
171
|
-
creationTime?: string;
|
|
172
|
-
}
|
|
173
|
-
export interface ClosingReasonId {
|
|
174
|
-
/**
|
|
175
|
-
* example:
|
|
176
|
-
* x739cew
|
|
177
|
-
*/
|
|
178
|
-
id: string;
|
|
179
|
-
}
|
|
180
|
-
/**
|
|
181
|
-
* Closing reason could be not found
|
|
182
|
-
*/
|
|
183
|
-
export interface ClosingReasonNotFoundResp {
|
|
184
|
-
message?: string;
|
|
185
|
-
}
|
|
186
|
-
export interface ClosingReasons {
|
|
187
|
-
reasons: /* One Closing reason for a workflow */ ClosingReason[];
|
|
188
|
-
}
|
|
189
|
-
export interface ClosingReasonsIds {
|
|
190
|
-
reasons: ClosingReasonId[];
|
|
191
|
-
}
|
|
192
|
-
export type ClosingReasonsStatus = "ACTIVE" | "INACTIVE";
|
|
193
|
-
export interface Condition {
|
|
194
|
-
id: string;
|
|
195
|
-
/**
|
|
196
|
-
* The name of the branch
|
|
197
|
-
* example:
|
|
198
|
-
* Branch 1
|
|
199
|
-
*/
|
|
200
|
-
branch_name: string;
|
|
201
|
-
logical_operator: "AND" | "OR";
|
|
202
|
-
statements: Statement[] | null;
|
|
203
|
-
}
|
|
204
|
-
export interface CreateFlowTemplate {
|
|
205
|
-
id?: string;
|
|
206
|
-
org_id?: string;
|
|
207
|
-
name: string;
|
|
208
|
-
description?: string;
|
|
209
|
-
trigger?: /**
|
|
210
|
-
* example:
|
|
211
|
-
* {
|
|
212
|
-
* "type": "automation",
|
|
213
|
-
* "automation_id": "g92j2-sg9ug92hjt1gh-9s9gajgs-a979gg"
|
|
214
|
-
* }
|
|
215
|
-
*/
|
|
216
|
-
Trigger;
|
|
217
|
-
/**
|
|
218
|
-
* Whether the workflow is enabled or not
|
|
219
|
-
*/
|
|
220
|
-
enabled?: boolean;
|
|
221
|
-
version?: /**
|
|
222
|
-
* Version of the workflow schema.
|
|
223
|
-
*
|
|
224
|
-
* - `v1` – *Deprecated*. The initial version of workflows with limited structure and automation capabilities.
|
|
225
|
-
* - `v2` – Linear workflows. Supports sequential task execution with basic automation triggers.
|
|
226
|
-
* - `v3` – Advanced workflows. Adds support for branching logic (conditions), parallel paths, and enhanced automation features such as dynamic triggers and flow control.
|
|
227
|
-
*
|
|
228
|
-
* example:
|
|
229
|
-
* 2
|
|
230
|
-
*/
|
|
231
|
-
Version;
|
|
232
|
-
/**
|
|
233
|
-
* ISO String Date & Time
|
|
234
|
-
* example:
|
|
235
|
-
* 2021-04-27T12:01:13.000Z
|
|
236
|
-
*/
|
|
237
|
-
created_at?: string;
|
|
238
|
-
/**
|
|
239
|
-
* ISO String Date & Time
|
|
240
|
-
* example:
|
|
241
|
-
* 2021-04-27T12:01:13.000Z
|
|
242
|
-
*/
|
|
243
|
-
updated_at?: string;
|
|
244
|
-
/**
|
|
245
|
-
* example:
|
|
246
|
-
* 2021-04-27T12:00:00.000Z
|
|
247
|
-
*/
|
|
248
|
-
due_date?: string;
|
|
249
|
-
due_date_config?: /* Set due date for the task based on a dynamic condition */ DueDateConfig;
|
|
250
|
-
assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
|
|
251
|
-
/**
|
|
252
|
-
* Indicates whether this workflow is available for End Customer Portal or not. By default it's not.
|
|
253
|
-
*/
|
|
254
|
-
available_in_ecp?: boolean;
|
|
255
|
-
/**
|
|
256
|
-
* Additional trigger configurations that can also start this flow. Useful for flows that should be startable via multiple methods (e.g., both automation AND manual).
|
|
257
|
-
*/
|
|
258
|
-
additional_triggers?: /**
|
|
259
|
-
* example:
|
|
260
|
-
* {
|
|
261
|
-
* "type": "automation",
|
|
262
|
-
* "automation_id": "g92j2-sg9ug92hjt1gh-9s9gajgs-a979gg"
|
|
263
|
-
* }
|
|
264
|
-
*/
|
|
265
|
-
Trigger[];
|
|
266
|
-
phases?: Phase[];
|
|
267
|
-
tasks: Task[];
|
|
268
|
-
edges: Edge[];
|
|
269
|
-
closing_reasons?: /* One Closing reason for a workflow */ ClosingReason[];
|
|
270
|
-
entity_sync?: /**
|
|
271
|
-
* example:
|
|
272
|
-
* {
|
|
273
|
-
* "trigger": {
|
|
274
|
-
* "event": "FlowStarted"
|
|
275
|
-
* },
|
|
276
|
-
* "target": {
|
|
277
|
-
* "entitySchema": "opportunity",
|
|
278
|
-
* "entityAttribute": "title"
|
|
279
|
-
* },
|
|
280
|
-
* "value": {
|
|
281
|
-
* "source": "workflow_name"
|
|
282
|
-
* }
|
|
283
|
-
* }
|
|
284
|
-
*/
|
|
285
|
-
EntitySync[];
|
|
286
|
-
/**
|
|
287
|
-
* Taxonomy ids that are associated with this workflow and used for filtering
|
|
288
|
-
*/
|
|
289
|
-
taxonomies?: string[];
|
|
290
|
-
/**
|
|
291
|
-
* Whether only a single closing reason can be selected
|
|
292
|
-
*/
|
|
293
|
-
singleClosingReasonSelection?: boolean;
|
|
294
|
-
/**
|
|
295
|
-
* The manifest IDs associated with this workflow
|
|
296
|
-
*/
|
|
297
|
-
_manifest?: string[];
|
|
298
|
-
}
|
|
299
|
-
export interface DecisionTask {
|
|
300
|
-
id: string;
|
|
301
|
-
name: string;
|
|
302
|
-
description?: /* Longer information regarding Task */ StepDescription;
|
|
303
|
-
journey?: StepJourney;
|
|
304
|
-
/**
|
|
305
|
-
* example:
|
|
306
|
-
* 2021-04-27T12:00:00.000Z
|
|
307
|
-
*/
|
|
308
|
-
due_date?: string;
|
|
309
|
-
due_date_config?: /* Set due date for the task based on a dynamic condition */ DueDateConfig;
|
|
310
|
-
/**
|
|
311
|
-
* requirements that need to be fulfilled in order to enable the task while flow instances are running
|
|
312
|
-
*/
|
|
313
|
-
requirements?: /* describe the requirement for a task to be enabled */ EnableRequirement[];
|
|
314
|
-
assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
|
|
315
|
-
ecp?: /* Details regarding ECP for the workflow step */ ECPDetails;
|
|
316
|
-
installer?: /* Details regarding ECP for the workflow step */ ECPDetails;
|
|
317
|
-
partner?: /* Details regarding partner for the workflow step */ PartnerDetails;
|
|
318
|
-
/**
|
|
319
|
-
* Taxonomy ids that are associated with this workflow and used for filtering
|
|
320
|
-
*/
|
|
321
|
-
taxonomies?: string[];
|
|
322
|
-
phase_id?: string;
|
|
323
|
-
task_type: TaskType;
|
|
324
|
-
trigger_mode: TriggerMode;
|
|
325
|
-
conditions: Condition[];
|
|
326
|
-
/**
|
|
327
|
-
* When true, all branches with met conditions execute in parallel. When false, only the first branch with a met condition is executed. Defaults to true for backwards compatibility.
|
|
328
|
-
*/
|
|
329
|
-
allow_parallel_execution?: boolean;
|
|
330
|
-
schedule?: DelayedSchedule | RelativeSchedule;
|
|
331
|
-
loop_config?: {
|
|
332
|
-
/**
|
|
333
|
-
* The id of the branch that will be looped
|
|
334
|
-
*/
|
|
335
|
-
loop_branch_id: string;
|
|
336
|
-
/**
|
|
337
|
-
* The id of the branch that will be used to exit the loop
|
|
338
|
-
*/
|
|
339
|
-
exit_branch_id: string;
|
|
340
|
-
/**
|
|
341
|
-
* Maximum number of iterations for the loop branch
|
|
342
|
-
*/
|
|
343
|
-
max_iterations: number;
|
|
344
|
-
};
|
|
345
|
-
}
|
|
346
|
-
/**
|
|
347
|
-
* Definition could be not found
|
|
348
|
-
*/
|
|
349
|
-
export interface DefinitionNotFoundResp {
|
|
350
|
-
message?: string;
|
|
351
|
-
}
|
|
352
|
-
export interface DelayedSchedule {
|
|
353
|
-
mode: "delayed";
|
|
354
|
-
duration: number;
|
|
355
|
-
unit: TimeUnit;
|
|
356
|
-
}
|
|
357
|
-
/**
|
|
358
|
-
* Set due date for the task based on a dynamic condition
|
|
359
|
-
*/
|
|
360
|
-
export interface DueDateConfig {
|
|
361
|
-
duration: number;
|
|
362
|
-
unit: TimeUnit;
|
|
363
|
-
type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED";
|
|
364
|
-
task_id?: string;
|
|
365
|
-
phase_id?: string;
|
|
366
|
-
}
|
|
367
|
-
/**
|
|
368
|
-
* set a Duedate for a step then a specific
|
|
369
|
-
*/
|
|
370
|
-
export interface DynamicDueDate {
|
|
371
|
-
numberOfUnits: number;
|
|
372
|
-
timePeriod: TimeUnit;
|
|
373
|
-
actionTypeCondition: "WORKFLOW_STARTED" | "STEP_CLOSED" | "PHASE_FINISHED";
|
|
374
|
-
stepId?: string;
|
|
375
|
-
phaseId?: string;
|
|
376
|
-
}
|
|
377
|
-
/**
|
|
378
|
-
* Details regarding ECP for the workflow step
|
|
379
|
-
*/
|
|
380
|
-
export interface ECPDetails {
|
|
381
|
-
enabled?: boolean;
|
|
382
|
-
label?: string;
|
|
383
|
-
description?: string;
|
|
384
|
-
journey?: StepJourney;
|
|
385
|
-
}
|
|
386
|
-
export interface Edge {
|
|
387
|
-
id: string;
|
|
388
|
-
from_id: string;
|
|
389
|
-
to_id?: string | null;
|
|
390
|
-
condition_id?: string;
|
|
391
|
-
/**
|
|
392
|
-
* Indicates a default case for a decision task. Only decision task edges can have this field and the flow advances using this edge if no conditions are met.
|
|
393
|
-
*/
|
|
394
|
-
none_met?: boolean;
|
|
395
|
-
}
|
|
396
|
-
/**
|
|
397
|
-
* describe the requirement for a task to be enabled
|
|
398
|
-
*/
|
|
399
|
-
export interface EnableRequirement {
|
|
400
|
-
/**
|
|
401
|
-
* The id of the task that it points to
|
|
402
|
-
*/
|
|
403
|
-
task_id?: string;
|
|
404
|
-
/**
|
|
405
|
-
* The id of the phase that it points to
|
|
406
|
-
*/
|
|
407
|
-
phase_id?: string;
|
|
408
|
-
when: "TASK_FINISHED" | "PHASE_FINISHED";
|
|
409
|
-
}
|
|
410
|
-
/**
|
|
411
|
-
* example:
|
|
412
|
-
* {
|
|
413
|
-
* "trigger": {
|
|
414
|
-
* "event": "FlowStarted"
|
|
415
|
-
* },
|
|
416
|
-
* "target": {
|
|
417
|
-
* "entitySchema": "opportunity",
|
|
418
|
-
* "entityAttribute": "title"
|
|
419
|
-
* },
|
|
420
|
-
* "value": {
|
|
421
|
-
* "source": "workflow_name"
|
|
422
|
-
* }
|
|
423
|
-
* }
|
|
424
|
-
*/
|
|
425
|
-
export interface EntitySync {
|
|
426
|
-
/**
|
|
427
|
-
* Trigger configuration that determines when entity sync occurs.
|
|
428
|
-
* Contains the event type and optional filter to target specific tasks/phases.
|
|
429
|
-
*
|
|
430
|
-
*/
|
|
431
|
-
trigger: {
|
|
432
|
-
/**
|
|
433
|
-
* Event or condition that triggers the entity sync.
|
|
434
|
-
* Direct triggers match EventBridge event names (PascalCase).
|
|
435
|
-
* Status triggers are deduced from event + entity status combination.
|
|
436
|
-
*
|
|
437
|
-
*/
|
|
438
|
-
event: "FlowStarted" | "FlowCompleted" | "FlowCancelled" | "FlowReopened" | "FlowDeleted" | "FlowAssigned" | "FlowDueDateChanged" | "FlowContextsChanged" | "TaskUpdated" | "CurrTaskChanged" | "TaskCompleted" | "TaskSkipped" | "TaskMarkedInProgress" | "TaskMarkedOnHold" | "PhaseUpdated" | "PhaseCompleted" | "PhaseSkipped" | "PhaseMarkedInProgress";
|
|
439
|
-
/**
|
|
440
|
-
* Optional filter to target specific tasks or phases.
|
|
441
|
-
* Specify either task_template_id OR phase_template_id (mutually exclusive).
|
|
442
|
-
* If omitted, trigger applies to all tasks/phases.
|
|
443
|
-
*
|
|
444
|
-
*/
|
|
445
|
-
filter?: {
|
|
446
|
-
/**
|
|
447
|
-
* Target a specific task by its template ID (stable across executions)
|
|
448
|
-
*/
|
|
449
|
-
task_template_id?: string;
|
|
450
|
-
/**
|
|
451
|
-
* Target a specific phase by its template ID (stable across executions)
|
|
452
|
-
*/
|
|
453
|
-
phase_template_id?: string;
|
|
454
|
-
};
|
|
455
|
-
};
|
|
456
|
-
value: {
|
|
457
|
-
source: "workflow_name" | "workflow_status" | "workflow_assigned_to" | "task_name" | "task_status" | "task_assigned_to" | "phase_name" | "phase_status" | "phase_assigned_to" | "custom_value";
|
|
458
|
-
value?: string;
|
|
459
|
-
};
|
|
460
|
-
target: {
|
|
461
|
-
/**
|
|
462
|
-
* example:
|
|
463
|
-
* opportunity
|
|
464
|
-
*/
|
|
465
|
-
entitySchema: string;
|
|
466
|
-
/**
|
|
467
|
-
* example:
|
|
468
|
-
* title
|
|
469
|
-
*/
|
|
470
|
-
entityAttribute: string;
|
|
471
|
-
};
|
|
472
|
-
}
|
|
473
|
-
export interface ErrorResp {
|
|
474
|
-
message?: string;
|
|
475
|
-
}
|
|
476
|
-
export interface EvaluationSource {
|
|
477
|
-
/**
|
|
478
|
-
* The id of the action or trigger
|
|
479
|
-
*/
|
|
480
|
-
id?: string;
|
|
481
|
-
origin?: "trigger" | "action";
|
|
482
|
-
origin_type?: "entity" | "workflow" | "journey_block";
|
|
483
|
-
schema?: string;
|
|
484
|
-
attribute?: string;
|
|
485
|
-
attribute_type?: "string" | "text" | "number" | "boolean" | "date" | "datetime" | "tags" | "country" | "email" | "phone" | "product" | "price" | "status" | "relation" | "multiselect" | "select" | "radio" | "relation_user" | "purpose" | "label" | "message_email_address";
|
|
486
|
-
attribute_repeatable?: boolean;
|
|
487
|
-
attribute_operation?: "all" | "updated" | "added" | "deleted";
|
|
488
|
-
/**
|
|
489
|
-
* For complex attribute types, specifies which sub-field to extract (e.g., "address", "name", "email_type")
|
|
490
|
-
*/
|
|
491
|
-
attribute_sub_field?: string;
|
|
492
|
-
/**
|
|
493
|
-
* Offset to apply to the source date value before comparison (e.g., +18 years for age check, +30 days for expiry)
|
|
494
|
-
*/
|
|
495
|
-
date_offset?: {
|
|
496
|
-
/**
|
|
497
|
-
* Number of units to offset
|
|
498
|
-
*/
|
|
499
|
-
amount?: number;
|
|
500
|
-
/**
|
|
501
|
-
* Unit of the offset
|
|
502
|
-
*/
|
|
503
|
-
unit?: "days" | "months" | "years";
|
|
504
|
-
};
|
|
505
|
-
}
|
|
506
|
-
export interface FlowTemplate {
|
|
507
|
-
id?: string;
|
|
508
|
-
org_id?: string;
|
|
509
|
-
name: string;
|
|
510
|
-
description?: string;
|
|
511
|
-
trigger?: /**
|
|
512
|
-
* example:
|
|
513
|
-
* {
|
|
514
|
-
* "type": "automation",
|
|
515
|
-
* "automation_id": "g92j2-sg9ug92hjt1gh-9s9gajgs-a979gg"
|
|
516
|
-
* }
|
|
517
|
-
*/
|
|
518
|
-
Trigger;
|
|
519
|
-
/**
|
|
520
|
-
* Whether the workflow is enabled or not
|
|
521
|
-
*/
|
|
522
|
-
enabled?: boolean;
|
|
523
|
-
version?: /**
|
|
524
|
-
* Version of the workflow schema.
|
|
525
|
-
*
|
|
526
|
-
* - `v1` – *Deprecated*. The initial version of workflows with limited structure and automation capabilities.
|
|
527
|
-
* - `v2` – Linear workflows. Supports sequential task execution with basic automation triggers.
|
|
528
|
-
* - `v3` – Advanced workflows. Adds support for branching logic (conditions), parallel paths, and enhanced automation features such as dynamic triggers and flow control.
|
|
529
|
-
*
|
|
530
|
-
* example:
|
|
531
|
-
* 2
|
|
532
|
-
*/
|
|
533
|
-
Version;
|
|
534
|
-
/**
|
|
535
|
-
* ISO String Date & Time
|
|
536
|
-
* example:
|
|
537
|
-
* 2021-04-27T12:01:13.000Z
|
|
538
|
-
*/
|
|
539
|
-
created_at?: string;
|
|
540
|
-
/**
|
|
541
|
-
* ISO String Date & Time
|
|
542
|
-
* example:
|
|
543
|
-
* 2021-04-27T12:01:13.000Z
|
|
544
|
-
*/
|
|
545
|
-
updated_at?: string;
|
|
546
|
-
/**
|
|
547
|
-
* example:
|
|
548
|
-
* 2021-04-27T12:00:00.000Z
|
|
549
|
-
*/
|
|
550
|
-
due_date?: string;
|
|
551
|
-
due_date_config?: /* Set due date for the task based on a dynamic condition */ DueDateConfig;
|
|
552
|
-
assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
|
|
553
|
-
/**
|
|
554
|
-
* Indicates whether this workflow is available for End Customer Portal or not. By default it's not.
|
|
555
|
-
*/
|
|
556
|
-
available_in_ecp?: boolean;
|
|
557
|
-
/**
|
|
558
|
-
* Additional trigger configurations that can also start this flow. Useful for flows that should be startable via multiple methods (e.g., both automation AND manual).
|
|
559
|
-
*/
|
|
560
|
-
additional_triggers?: /**
|
|
561
|
-
* example:
|
|
562
|
-
* {
|
|
563
|
-
* "type": "automation",
|
|
564
|
-
* "automation_id": "g92j2-sg9ug92hjt1gh-9s9gajgs-a979gg"
|
|
565
|
-
* }
|
|
566
|
-
*/
|
|
567
|
-
Trigger[];
|
|
568
|
-
phases?: Phase[];
|
|
569
|
-
tasks: Task[];
|
|
570
|
-
edges: Edge[];
|
|
571
|
-
closing_reasons?: /* One Closing reason for a workflow */ ClosingReason[];
|
|
572
|
-
entity_sync?: /**
|
|
573
|
-
* example:
|
|
574
|
-
* {
|
|
575
|
-
* "trigger": {
|
|
576
|
-
* "event": "FlowStarted"
|
|
577
|
-
* },
|
|
578
|
-
* "target": {
|
|
579
|
-
* "entitySchema": "opportunity",
|
|
580
|
-
* "entityAttribute": "title"
|
|
581
|
-
* },
|
|
582
|
-
* "value": {
|
|
583
|
-
* "source": "workflow_name"
|
|
584
|
-
* }
|
|
585
|
-
* }
|
|
586
|
-
*/
|
|
587
|
-
EntitySync[];
|
|
588
|
-
/**
|
|
589
|
-
* Taxonomy ids that are associated with this workflow and used for filtering
|
|
590
|
-
*/
|
|
591
|
-
taxonomies?: string[];
|
|
592
|
-
/**
|
|
593
|
-
* Whether only a single closing reason can be selected
|
|
594
|
-
*/
|
|
595
|
-
singleClosingReasonSelection?: boolean;
|
|
596
|
-
/**
|
|
597
|
-
* The manifest IDs associated with this workflow
|
|
598
|
-
*/
|
|
599
|
-
_manifest?: string[];
|
|
600
|
-
}
|
|
601
|
-
export interface FlowTemplateBase {
|
|
602
|
-
id?: string;
|
|
603
|
-
org_id?: string;
|
|
604
|
-
name: string;
|
|
605
|
-
description?: string;
|
|
606
|
-
trigger?: /**
|
|
607
|
-
* example:
|
|
608
|
-
* {
|
|
609
|
-
* "type": "automation",
|
|
610
|
-
* "automation_id": "g92j2-sg9ug92hjt1gh-9s9gajgs-a979gg"
|
|
611
|
-
* }
|
|
612
|
-
*/
|
|
613
|
-
Trigger;
|
|
614
|
-
/**
|
|
615
|
-
* Whether the workflow is enabled or not
|
|
616
|
-
*/
|
|
617
|
-
enabled?: boolean;
|
|
618
|
-
version?: /**
|
|
619
|
-
* Version of the workflow schema.
|
|
620
|
-
*
|
|
621
|
-
* - `v1` – *Deprecated*. The initial version of workflows with limited structure and automation capabilities.
|
|
622
|
-
* - `v2` – Linear workflows. Supports sequential task execution with basic automation triggers.
|
|
623
|
-
* - `v3` – Advanced workflows. Adds support for branching logic (conditions), parallel paths, and enhanced automation features such as dynamic triggers and flow control.
|
|
624
|
-
*
|
|
625
|
-
* example:
|
|
626
|
-
* 2
|
|
627
|
-
*/
|
|
628
|
-
Version;
|
|
629
|
-
/**
|
|
630
|
-
* ISO String Date & Time
|
|
631
|
-
* example:
|
|
632
|
-
* 2021-04-27T12:01:13.000Z
|
|
633
|
-
*/
|
|
634
|
-
created_at?: string;
|
|
635
|
-
/**
|
|
636
|
-
* ISO String Date & Time
|
|
637
|
-
* example:
|
|
638
|
-
* 2021-04-27T12:01:13.000Z
|
|
639
|
-
*/
|
|
640
|
-
updated_at?: string;
|
|
641
|
-
/**
|
|
642
|
-
* example:
|
|
643
|
-
* 2021-04-27T12:00:00.000Z
|
|
644
|
-
*/
|
|
645
|
-
due_date?: string;
|
|
646
|
-
due_date_config?: /* Set due date for the task based on a dynamic condition */ DueDateConfig;
|
|
647
|
-
assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
|
|
648
|
-
/**
|
|
649
|
-
* Indicates whether this workflow is available for End Customer Portal or not. By default it's not.
|
|
650
|
-
*/
|
|
651
|
-
available_in_ecp?: boolean;
|
|
652
|
-
/**
|
|
653
|
-
* Additional trigger configurations that can also start this flow. Useful for flows that should be startable via multiple methods (e.g., both automation AND manual).
|
|
654
|
-
*/
|
|
655
|
-
additional_triggers?: /**
|
|
656
|
-
* example:
|
|
657
|
-
* {
|
|
658
|
-
* "type": "automation",
|
|
659
|
-
* "automation_id": "g92j2-sg9ug92hjt1gh-9s9gajgs-a979gg"
|
|
660
|
-
* }
|
|
661
|
-
*/
|
|
662
|
-
Trigger[];
|
|
663
|
-
phases?: Phase[];
|
|
664
|
-
tasks: Task[];
|
|
665
|
-
edges: Edge[];
|
|
666
|
-
closing_reasons?: /* One Closing reason for a workflow */ ClosingReason[];
|
|
667
|
-
entity_sync?: /**
|
|
668
|
-
* example:
|
|
669
|
-
* {
|
|
670
|
-
* "trigger": {
|
|
671
|
-
* "event": "FlowStarted"
|
|
672
|
-
* },
|
|
673
|
-
* "target": {
|
|
674
|
-
* "entitySchema": "opportunity",
|
|
675
|
-
* "entityAttribute": "title"
|
|
676
|
-
* },
|
|
677
|
-
* "value": {
|
|
678
|
-
* "source": "workflow_name"
|
|
679
|
-
* }
|
|
680
|
-
* }
|
|
681
|
-
*/
|
|
682
|
-
EntitySync[];
|
|
683
|
-
/**
|
|
684
|
-
* Taxonomy ids that are associated with this workflow and used for filtering
|
|
685
|
-
*/
|
|
686
|
-
taxonomies?: string[];
|
|
687
|
-
/**
|
|
688
|
-
* Whether only a single closing reason can be selected
|
|
689
|
-
*/
|
|
690
|
-
singleClosingReasonSelection?: boolean;
|
|
691
|
-
/**
|
|
692
|
-
* The manifest IDs associated with this workflow
|
|
693
|
-
*/
|
|
694
|
-
_manifest?: string[];
|
|
695
|
-
}
|
|
696
|
-
/**
|
|
697
|
-
* Short unique id (length 8) to identify the Flow Template.
|
|
698
|
-
* example:
|
|
699
|
-
* 7hj28akg
|
|
700
|
-
*/
|
|
701
|
-
export type FlowTemplateId = string;
|
|
702
|
-
export interface FlowTemplatesList {
|
|
703
|
-
results: FlowTemplate[];
|
|
704
|
-
}
|
|
705
|
-
export interface ImmediateSchedule {
|
|
706
|
-
mode?: "immediate";
|
|
707
|
-
}
|
|
708
|
-
export type ItemType = "STEP" | "SECTION";
|
|
709
|
-
export interface JourneyAutomationTrigger {
|
|
710
|
-
id?: string;
|
|
711
|
-
type: "journey_automation";
|
|
712
|
-
/**
|
|
713
|
-
* Schema of the main entity where flow will be triggered. The entity will be picked from automation context.
|
|
714
|
-
*/
|
|
715
|
-
entity_schema?: string;
|
|
716
|
-
}
|
|
717
|
-
export interface JourneySubmissionTrigger {
|
|
718
|
-
id?: string;
|
|
719
|
-
type: "journey_submission";
|
|
720
|
-
/**
|
|
721
|
-
* ID of the journey that will trigger this flow
|
|
722
|
-
*/
|
|
723
|
-
journey_id: string;
|
|
724
|
-
/**
|
|
725
|
-
* Name of the journey that will trigger this flow
|
|
726
|
-
*/
|
|
727
|
-
journey_name?: string;
|
|
728
|
-
automation_id?: string;
|
|
729
|
-
}
|
|
730
|
-
export interface ManualTask {
|
|
731
|
-
id: string;
|
|
732
|
-
name: string;
|
|
733
|
-
description?: /* Longer information regarding Task */ StepDescription;
|
|
734
|
-
journey?: StepJourney;
|
|
735
|
-
/**
|
|
736
|
-
* example:
|
|
737
|
-
* 2021-04-27T12:00:00.000Z
|
|
738
|
-
*/
|
|
739
|
-
due_date?: string;
|
|
740
|
-
due_date_config?: /* Set due date for the task based on a dynamic condition */ DueDateConfig;
|
|
741
|
-
/**
|
|
742
|
-
* requirements that need to be fulfilled in order to enable the task while flow instances are running
|
|
743
|
-
*/
|
|
744
|
-
requirements?: /* describe the requirement for a task to be enabled */ EnableRequirement[];
|
|
745
|
-
assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
|
|
746
|
-
ecp?: /* Details regarding ECP for the workflow step */ ECPDetails;
|
|
747
|
-
installer?: /* Details regarding ECP for the workflow step */ ECPDetails;
|
|
748
|
-
partner?: /* Details regarding partner for the workflow step */ PartnerDetails;
|
|
749
|
-
/**
|
|
750
|
-
* Taxonomy ids that are associated with this workflow and used for filtering
|
|
751
|
-
*/
|
|
752
|
-
taxonomies?: string[];
|
|
753
|
-
phase_id?: string;
|
|
754
|
-
task_type: TaskType;
|
|
755
|
-
}
|
|
756
|
-
export interface ManualTrigger {
|
|
757
|
-
id?: string;
|
|
758
|
-
type: "manual";
|
|
759
|
-
entity_schema?: string;
|
|
760
|
-
}
|
|
761
|
-
export interface MaxAllowedLimit {
|
|
762
|
-
currentNoOfWorkflows?: number;
|
|
763
|
-
maxAllowed?: number;
|
|
764
|
-
}
|
|
765
|
-
export type Operator = "equals" | "not_equals" | "any_of" | "none_of" | "contains" | "not_contains" | "starts_with" | "ends_with" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "is_empty" | "is_not_empty";
|
|
766
|
-
/**
|
|
767
|
-
* Details regarding partner for the workflow step
|
|
768
|
-
*/
|
|
769
|
-
export interface PartnerDetails {
|
|
770
|
-
enabled?: boolean;
|
|
771
|
-
label?: string;
|
|
772
|
-
description?: string;
|
|
773
|
-
}
|
|
774
|
-
export interface Phase {
|
|
775
|
-
id: string;
|
|
776
|
-
name: string;
|
|
777
|
-
/**
|
|
778
|
-
* example:
|
|
779
|
-
* 2021-04-27T12:00:00.000Z
|
|
780
|
-
*/
|
|
781
|
-
due_date?: string;
|
|
782
|
-
due_date_config?: /* Set due date for the task based on a dynamic condition */ DueDateConfig;
|
|
783
|
-
assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
|
|
784
|
-
/**
|
|
785
|
-
* Taxonomy ids that are associated with this workflow and used for filtering
|
|
786
|
-
*/
|
|
787
|
-
taxonomies?: string[];
|
|
788
|
-
}
|
|
789
|
-
export interface RelativeSchedule {
|
|
790
|
-
mode: "relative";
|
|
791
|
-
direction: "before" | "after";
|
|
792
|
-
duration: number;
|
|
793
|
-
unit: TimeUnit;
|
|
794
|
-
reference: {
|
|
795
|
-
/**
|
|
796
|
-
* The id of the entity / workflow / task, based on the origin of the schedule. For all_preceding_tasks_completed, use the sentinel value "all_preceding_tasks_completed".
|
|
797
|
-
*/
|
|
798
|
-
id: string;
|
|
799
|
-
origin: "flow_started" | "task_completed" | "trigger_entity_attribute" | "all_preceding_tasks_completed";
|
|
800
|
-
/**
|
|
801
|
-
* The schema of the entity
|
|
802
|
-
*/
|
|
803
|
-
schema?: string;
|
|
804
|
-
/**
|
|
805
|
-
* An entity attribute that identifies a date / datetime
|
|
806
|
-
*/
|
|
807
|
-
attribute?: string;
|
|
808
|
-
};
|
|
809
|
-
}
|
|
810
|
-
export interface SearchFlowTemplates {
|
|
811
|
-
name?: string;
|
|
812
|
-
definition_id?: string;
|
|
813
|
-
trigger_type?: "journey_submission" | "manual" | "automation";
|
|
814
|
-
enabled?: boolean;
|
|
815
|
-
from?: number;
|
|
816
|
-
size?: number;
|
|
817
|
-
sort_by?: "created_at" | "updated_at";
|
|
818
|
-
sort_order?: "asc" | "desc";
|
|
819
|
-
}
|
|
820
|
-
/**
|
|
821
|
-
* A group of Steps that define the progress of the Workflow
|
|
822
|
-
*/
|
|
823
|
-
export interface Section {
|
|
824
|
-
id?: string;
|
|
825
|
-
name: string;
|
|
826
|
-
order: number;
|
|
827
|
-
type: ItemType;
|
|
828
|
-
/**
|
|
829
|
-
* example:
|
|
830
|
-
* 2021-04-27T12:00:00.000Z
|
|
831
|
-
*/
|
|
832
|
-
dueDate?: string;
|
|
833
|
-
dynamicDueDate?: /* set a Duedate for a step then a specific */ DynamicDueDate;
|
|
834
|
-
assignedTo?: string[];
|
|
835
|
-
steps: /* Action that needs to be done in a Workflow */ Step[];
|
|
836
|
-
/**
|
|
837
|
-
* Taxonomy ids that are associated with this workflow and used for filtering
|
|
838
|
-
*/
|
|
839
|
-
taxonomies?: string[];
|
|
840
|
-
}
|
|
841
|
-
export interface Statement {
|
|
842
|
-
id: string;
|
|
843
|
-
source: EvaluationSource;
|
|
844
|
-
operator: Operator;
|
|
845
|
-
values: string[];
|
|
846
|
-
/**
|
|
847
|
-
* How to interpret values. "static" (default) means literal values. "relative_date" means values[0] is a dynamic date token like "today".
|
|
848
|
-
*/
|
|
849
|
-
value_type?: "static" | "relative_date";
|
|
850
|
-
}
|
|
851
|
-
/**
|
|
852
|
-
* Action that needs to be done in a Workflow
|
|
853
|
-
*/
|
|
854
|
-
export interface Step {
|
|
855
|
-
id?: string;
|
|
856
|
-
name: string;
|
|
857
|
-
description?: /* Longer information regarding Task */ StepDescription;
|
|
858
|
-
executionType?: StepType;
|
|
859
|
-
automationConfig?: {
|
|
860
|
-
/**
|
|
861
|
-
* Id of the configured automation to run
|
|
862
|
-
*/
|
|
863
|
-
flowId: string;
|
|
864
|
-
};
|
|
865
|
-
journey?: StepJourney;
|
|
866
|
-
order: number;
|
|
867
|
-
/**
|
|
868
|
-
* example:
|
|
869
|
-
* 2021-04-27T12:00:00.000Z
|
|
870
|
-
*/
|
|
871
|
-
dueDate?: string;
|
|
872
|
-
dynamicDueDate?: /* set a Duedate for a step then a specific */ DynamicDueDate;
|
|
873
|
-
/**
|
|
874
|
-
* This field is deprecated. Please use assignedTo
|
|
875
|
-
*/
|
|
876
|
-
userIds?: number[];
|
|
877
|
-
/**
|
|
878
|
-
* requirements that need to be fulfilled in order to enable the step execution
|
|
879
|
-
*/
|
|
880
|
-
requirements?: /* describe the requirement for step enablement */ StepRequirement[];
|
|
881
|
-
assignedTo?: string[];
|
|
882
|
-
type: ItemType;
|
|
883
|
-
ecp?: /* Details regarding ECP for the workflow step */ ECPDetails;
|
|
884
|
-
installer?: /* Details regarding ECP for the workflow step */ ECPDetails;
|
|
885
|
-
/**
|
|
886
|
-
* Partner-specific task details shown to partner org users viewing shared resources
|
|
887
|
-
*/
|
|
888
|
-
partner?: /* Details regarding partner for the workflow step */ PartnerDetails;
|
|
889
|
-
/**
|
|
890
|
-
* Taxonomy ids that are associated with this workflow and used for filtering
|
|
891
|
-
*/
|
|
892
|
-
taxonomies?: string[];
|
|
893
|
-
}
|
|
894
|
-
/**
|
|
895
|
-
* Longer information regarding Task
|
|
896
|
-
*/
|
|
897
|
-
export interface StepDescription {
|
|
898
|
-
enabled?: boolean;
|
|
899
|
-
value?: string;
|
|
900
|
-
}
|
|
901
|
-
export interface StepJourney {
|
|
902
|
-
id?: string;
|
|
903
|
-
journeyId?: string;
|
|
904
|
-
name?: string;
|
|
905
|
-
/**
|
|
906
|
-
* If true, the task be auto completed when the journey is completed. By default it is true.
|
|
907
|
-
*/
|
|
908
|
-
complete_task_automatically?: boolean;
|
|
909
|
-
}
|
|
910
|
-
/**
|
|
911
|
-
* describe the requirement for step enablement
|
|
912
|
-
*/
|
|
913
|
-
export interface StepRequirement {
|
|
914
|
-
definitionId: string;
|
|
915
|
-
type: ItemType;
|
|
916
|
-
condition: "CLOSED";
|
|
917
|
-
}
|
|
918
|
-
export type StepType = "MANUAL" | "AUTOMATION";
|
|
919
|
-
export type Task = ManualTask | AutomationTask | DecisionTask | AiAgentTask;
|
|
920
|
-
export interface TaskBase {
|
|
921
|
-
id: string;
|
|
922
|
-
name: string;
|
|
923
|
-
description?: /* Longer information regarding Task */ StepDescription;
|
|
924
|
-
journey?: StepJourney;
|
|
925
|
-
/**
|
|
926
|
-
* example:
|
|
927
|
-
* 2021-04-27T12:00:00.000Z
|
|
928
|
-
*/
|
|
929
|
-
due_date?: string;
|
|
930
|
-
due_date_config?: /* Set due date for the task based on a dynamic condition */ DueDateConfig;
|
|
931
|
-
/**
|
|
932
|
-
* requirements that need to be fulfilled in order to enable the task while flow instances are running
|
|
933
|
-
*/
|
|
934
|
-
requirements?: /* describe the requirement for a task to be enabled */ EnableRequirement[];
|
|
935
|
-
assigned_to?: (string | /* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution. */ VariableAssignment)[];
|
|
936
|
-
ecp?: /* Details regarding ECP for the workflow step */ ECPDetails;
|
|
937
|
-
installer?: /* Details regarding ECP for the workflow step */ ECPDetails;
|
|
938
|
-
/**
|
|
939
|
-
* Partner-specific task details shown to partner org users viewing shared resources
|
|
940
|
-
*/
|
|
941
|
-
partner?: /* Details regarding partner for the workflow step */ PartnerDetails;
|
|
942
|
-
/**
|
|
943
|
-
* Taxonomy ids that are associated with this workflow and used for filtering
|
|
944
|
-
*/
|
|
945
|
-
taxonomies?: string[];
|
|
946
|
-
phase_id?: string;
|
|
947
|
-
task_type: TaskType;
|
|
948
|
-
}
|
|
949
|
-
export type TaskType = "MANUAL" | "AUTOMATION" | "DECISION" | "AI_AGENT";
|
|
950
|
-
export type TimeUnit = "minutes" | "hours" | "days" | "weeks" | "months";
|
|
951
|
-
/**
|
|
952
|
-
* example:
|
|
953
|
-
* {
|
|
954
|
-
* "type": "automation",
|
|
955
|
-
* "automation_id": "g92j2-sg9ug92hjt1gh-9s9gajgs-a979gg"
|
|
956
|
-
* }
|
|
957
|
-
*/
|
|
958
|
-
export type Trigger = /**
|
|
959
|
-
* example:
|
|
960
|
-
* {
|
|
961
|
-
* "type": "automation",
|
|
962
|
-
* "automation_id": "g92j2-sg9ug92hjt1gh-9s9gajgs-a979gg"
|
|
963
|
-
* }
|
|
964
|
-
*/
|
|
965
|
-
ManualTrigger | AutomationTrigger | JourneySubmissionTrigger | JourneyAutomationTrigger;
|
|
966
|
-
export type TriggerMode = "manual" | "automatic";
|
|
967
|
-
export type TriggerType = "MANUAL" | "AUTOMATIC";
|
|
968
|
-
export interface UpdateEntityAttributes {
|
|
969
|
-
source: "workflow_status" | "current_section" | "current_step";
|
|
970
|
-
target: {
|
|
971
|
-
/**
|
|
972
|
-
* example:
|
|
973
|
-
* opportunity
|
|
974
|
-
*/
|
|
975
|
-
entitySchema: string;
|
|
976
|
-
/**
|
|
977
|
-
* example:
|
|
978
|
-
* my_status
|
|
979
|
-
*/
|
|
980
|
-
entityAttribute: string;
|
|
981
|
-
};
|
|
982
|
-
}
|
|
983
|
-
/**
|
|
984
|
-
* Represents a variable assignment with its expression and optional resolved value. Used for dynamic user assignments that get resolved during workflow execution.
|
|
985
|
-
*/
|
|
986
|
-
export interface VariableAssignment {
|
|
987
|
-
/**
|
|
988
|
-
* The variable expression, e.g., "{{entity.owner}}"
|
|
989
|
-
* example:
|
|
990
|
-
* {{entity.owner}}
|
|
991
|
-
*/
|
|
992
|
-
variable: string;
|
|
993
|
-
/**
|
|
994
|
-
* The resolved values after variable evaluation (populated during execution)
|
|
995
|
-
* example:
|
|
996
|
-
* [
|
|
997
|
-
* "user_12345"
|
|
998
|
-
* ]
|
|
999
|
-
*/
|
|
1000
|
-
value?: string[];
|
|
1001
|
-
}
|
|
1002
|
-
/**
|
|
1003
|
-
* Version of the workflow schema.
|
|
1004
|
-
*
|
|
1005
|
-
* - `v1` – *Deprecated*. The initial version of workflows with limited structure and automation capabilities.
|
|
1006
|
-
* - `v2` – Linear workflows. Supports sequential task execution with basic automation triggers.
|
|
1007
|
-
* - `v3` – Advanced workflows. Adds support for branching logic (conditions), parallel paths, and enhanced automation features such as dynamic triggers and flow control.
|
|
1008
|
-
*
|
|
1009
|
-
* example:
|
|
1010
|
-
* 2
|
|
1011
|
-
*/
|
|
1012
|
-
export type Version = "v1" | "v2" | "v3";
|
|
1013
|
-
export interface WorkflowDefinition {
|
|
1014
|
-
id?: string;
|
|
1015
|
-
name: string;
|
|
1016
|
-
description?: string;
|
|
1017
|
-
/**
|
|
1018
|
-
* ISO String Date & Time
|
|
1019
|
-
* example:
|
|
1020
|
-
* 2021-04-27T12:01:13.000Z
|
|
1021
|
-
*/
|
|
1022
|
-
creationTime?: string;
|
|
1023
|
-
/**
|
|
1024
|
-
* Whether the workflow is enabled or not
|
|
1025
|
-
*/
|
|
1026
|
-
enabled?: boolean;
|
|
1027
|
-
/**
|
|
1028
|
-
* ISO String Date & Time
|
|
1029
|
-
* example:
|
|
1030
|
-
* 2021-04-27T12:01:13.000Z
|
|
1031
|
-
*/
|
|
1032
|
-
lastUpdateTime?: string;
|
|
1033
|
-
/**
|
|
1034
|
-
* example:
|
|
1035
|
-
* 2021-04-27T12:00:00.000Z
|
|
1036
|
-
*/
|
|
1037
|
-
dueDate?: string;
|
|
1038
|
-
dynamicDueDate?: /* set a Duedate for a step then a specific */ DynamicDueDate;
|
|
1039
|
-
/**
|
|
1040
|
-
* This field is deprecated. Please use assignedTo
|
|
1041
|
-
*/
|
|
1042
|
-
userIds?: number[];
|
|
1043
|
-
assignedTo?: string[];
|
|
1044
|
-
/**
|
|
1045
|
-
* Indicates whether this workflow is available for End Customer Portal or not. By default it's not.
|
|
1046
|
-
*/
|
|
1047
|
-
enableECPWorkflow?: boolean;
|
|
1048
|
-
flow: (/* A group of Steps that define the progress of the Workflow */ Section | /* Action that needs to be done in a Workflow */ Step)[];
|
|
1049
|
-
closingReasons?: ClosingReasonId[];
|
|
1050
|
-
updateEntityAttributes?: UpdateEntityAttributes[];
|
|
1051
|
-
/**
|
|
1052
|
-
* Taxonomy ids that are associated with this workflow and used for filtering
|
|
1053
|
-
*/
|
|
1054
|
-
taxonomies?: string[];
|
|
1055
|
-
/**
|
|
1056
|
-
* Whether only a single closing reason can be selected
|
|
1057
|
-
*/
|
|
1058
|
-
singleClosingReasonSelection?: boolean;
|
|
1059
|
-
/**
|
|
1060
|
-
* The manifest IDs associated with this workflow
|
|
1061
|
-
*/
|
|
1062
|
-
_manifest?: string[];
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
declare namespace Paths {
|
|
1067
|
-
namespace ChangeReasonStatus {
|
|
1068
|
-
namespace Parameters {
|
|
1069
|
-
export type ReasonId = string;
|
|
1070
|
-
}
|
|
1071
|
-
export interface PathParameters {
|
|
1072
|
-
reasonId: Parameters.ReasonId;
|
|
1073
|
-
}
|
|
1074
|
-
export type RequestBody = Components.Schemas.ChangeReasonStatusReq;
|
|
1075
|
-
namespace Responses {
|
|
1076
|
-
export interface $202 {
|
|
1077
|
-
}
|
|
1078
|
-
export type $400 = Components.Schemas.ErrorResp;
|
|
1079
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
1080
|
-
}
|
|
1081
|
-
}
|
|
1082
|
-
namespace CreateClosingReason {
|
|
1083
|
-
export type RequestBody = /* One Closing reason for a workflow */ Components.Schemas.ClosingReason;
|
|
1084
|
-
namespace Responses {
|
|
1085
|
-
export type $201 = /* One Closing reason for a workflow */ Components.Schemas.ClosingReason;
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
namespace CreateDefinition {
|
|
1089
|
-
export type RequestBody = Components.Schemas.WorkflowDefinition;
|
|
1090
|
-
namespace Responses {
|
|
1091
|
-
export type $201 = Components.Schemas.WorkflowDefinition;
|
|
1092
|
-
export type $400 = Components.Schemas.ErrorResp;
|
|
1093
|
-
export type $401 = Components.Schemas.ErrorResp;
|
|
1094
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1097
|
-
namespace CreateFlowTemplate {
|
|
1098
|
-
export type RequestBody = Components.Schemas.CreateFlowTemplate;
|
|
1099
|
-
namespace Responses {
|
|
1100
|
-
export type $201 = Components.Schemas.FlowTemplate;
|
|
1101
|
-
export type $400 = Components.Schemas.ErrorResp;
|
|
1102
|
-
export type $401 = Components.Schemas.ErrorResp;
|
|
1103
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
1104
|
-
}
|
|
1105
|
-
}
|
|
1106
|
-
namespace DeleteClosingReason {
|
|
1107
|
-
namespace Parameters {
|
|
1108
|
-
/**
|
|
1109
|
-
* example:
|
|
1110
|
-
* x739cew
|
|
1111
|
-
*/
|
|
1112
|
-
export type ReasonId = string;
|
|
1113
|
-
}
|
|
1114
|
-
export interface PathParameters {
|
|
1115
|
-
reasonId: /**
|
|
1116
|
-
* example:
|
|
1117
|
-
* x739cew
|
|
1118
|
-
*/
|
|
1119
|
-
Parameters.ReasonId;
|
|
1120
|
-
}
|
|
1121
|
-
namespace Responses {
|
|
1122
|
-
export interface $204 {
|
|
1123
|
-
}
|
|
1124
|
-
export type $403 = Components.Schemas.ErrorResp;
|
|
1125
|
-
export type $404 = /* Closing reason could be not found */ Components.Schemas.ClosingReasonNotFoundResp;
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
namespace DeleteDefinition {
|
|
1129
|
-
namespace Parameters {
|
|
1130
|
-
export type DefinitionId = string;
|
|
1131
|
-
}
|
|
1132
|
-
export interface PathParameters {
|
|
1133
|
-
definitionId: Parameters.DefinitionId;
|
|
1134
|
-
}
|
|
1135
|
-
namespace Responses {
|
|
1136
|
-
export interface $204 {
|
|
1137
|
-
}
|
|
1138
|
-
export type $401 = Components.Schemas.ErrorResp;
|
|
1139
|
-
export interface $404 {
|
|
1140
|
-
}
|
|
1141
|
-
}
|
|
1142
|
-
}
|
|
1143
|
-
namespace DeleteFlowTemplate {
|
|
1144
|
-
namespace Parameters {
|
|
1145
|
-
export type FlowId = /**
|
|
1146
|
-
* Short unique id (length 8) to identify the Flow Template.
|
|
1147
|
-
* example:
|
|
1148
|
-
* 7hj28akg
|
|
1149
|
-
*/
|
|
1150
|
-
Components.Schemas.FlowTemplateId;
|
|
1151
|
-
}
|
|
1152
|
-
export interface PathParameters {
|
|
1153
|
-
flowId: Parameters.FlowId;
|
|
1154
|
-
}
|
|
1155
|
-
namespace Responses {
|
|
1156
|
-
export interface $204 {
|
|
1157
|
-
}
|
|
1158
|
-
export type $401 = Components.Schemas.ErrorResp;
|
|
1159
|
-
export interface $404 {
|
|
1160
|
-
}
|
|
1161
|
-
}
|
|
1162
|
-
}
|
|
1163
|
-
namespace DuplicateFlowTemplate {
|
|
1164
|
-
namespace Parameters {
|
|
1165
|
-
export type FlowId = /**
|
|
1166
|
-
* Short unique id (length 8) to identify the Flow Template.
|
|
1167
|
-
* example:
|
|
1168
|
-
* 7hj28akg
|
|
1169
|
-
*/
|
|
1170
|
-
Components.Schemas.FlowTemplateId;
|
|
1171
|
-
}
|
|
1172
|
-
export interface PathParameters {
|
|
1173
|
-
flowId: Parameters.FlowId;
|
|
1174
|
-
}
|
|
1175
|
-
namespace Responses {
|
|
1176
|
-
export type $201 = Components.Schemas.FlowTemplate;
|
|
1177
|
-
export type $400 = Components.Schemas.ErrorResp;
|
|
1178
|
-
export type $401 = Components.Schemas.ErrorResp;
|
|
1179
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
1180
|
-
}
|
|
1181
|
-
}
|
|
1182
|
-
namespace GetAllClosingReasons {
|
|
1183
|
-
namespace Parameters {
|
|
1184
|
-
export type IncludeInactive = boolean;
|
|
1185
|
-
}
|
|
1186
|
-
export interface QueryParameters {
|
|
1187
|
-
includeInactive?: Parameters.IncludeInactive;
|
|
1188
|
-
}
|
|
1189
|
-
namespace Responses {
|
|
1190
|
-
export type $200 = Components.Schemas.ClosingReasons;
|
|
1191
|
-
}
|
|
1192
|
-
}
|
|
1193
|
-
namespace GetClosingReason {
|
|
1194
|
-
namespace Parameters {
|
|
1195
|
-
/**
|
|
1196
|
-
* example:
|
|
1197
|
-
* x739cew
|
|
1198
|
-
*/
|
|
1199
|
-
export type ReasonId = string;
|
|
1200
|
-
}
|
|
1201
|
-
export interface PathParameters {
|
|
1202
|
-
reasonId: /**
|
|
1203
|
-
* example:
|
|
1204
|
-
* x739cew
|
|
1205
|
-
*/
|
|
1206
|
-
Parameters.ReasonId;
|
|
1207
|
-
}
|
|
1208
|
-
namespace Responses {
|
|
1209
|
-
export type $200 = /* One Closing reason for a workflow */ Components.Schemas.ClosingReason;
|
|
1210
|
-
export type $400 = Components.Schemas.ErrorResp;
|
|
1211
|
-
export type $403 = Components.Schemas.ErrorResp;
|
|
1212
|
-
export type $404 = /* Closing reason could be not found */ Components.Schemas.ClosingReasonNotFoundResp;
|
|
1213
|
-
}
|
|
1214
|
-
}
|
|
1215
|
-
namespace GetClosingReasonV1 {
|
|
1216
|
-
namespace Parameters {
|
|
1217
|
-
export type ReasonId = string;
|
|
1218
|
-
}
|
|
1219
|
-
export interface PathParameters {
|
|
1220
|
-
reasonId: Parameters.ReasonId;
|
|
1221
|
-
}
|
|
1222
|
-
namespace Responses {
|
|
1223
|
-
export type $200 = /* One Closing reason for a workflow */ Components.Schemas.ClosingReason;
|
|
1224
|
-
export type $400 = Components.Schemas.ErrorResp;
|
|
1225
|
-
export type $401 = Components.Schemas.ErrorResp;
|
|
1226
|
-
export type $404 = /* Closing reason could be not found */ Components.Schemas.ClosingReasonNotFoundResp;
|
|
1227
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1230
|
-
namespace GetDefinition {
|
|
1231
|
-
namespace Parameters {
|
|
1232
|
-
export type DefinitionId = string;
|
|
1233
|
-
}
|
|
1234
|
-
export interface PathParameters {
|
|
1235
|
-
definitionId: Parameters.DefinitionId;
|
|
1236
|
-
}
|
|
1237
|
-
namespace Responses {
|
|
1238
|
-
export type $200 = Components.Schemas.WorkflowDefinition;
|
|
1239
|
-
export type $400 = Components.Schemas.ErrorResp;
|
|
1240
|
-
export type $401 = Components.Schemas.ErrorResp;
|
|
1241
|
-
export type $404 = /* Definition could be not found */ Components.Schemas.DefinitionNotFoundResp;
|
|
1242
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
1243
|
-
}
|
|
1244
|
-
}
|
|
1245
|
-
namespace GetDefinitions {
|
|
1246
|
-
namespace Responses {
|
|
1247
|
-
export type $200 = Components.Schemas.WorkflowDefinition[];
|
|
1248
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
namespace GetFlowTemplate {
|
|
1252
|
-
namespace Parameters {
|
|
1253
|
-
export type FlowId = /**
|
|
1254
|
-
* Short unique id (length 8) to identify the Flow Template.
|
|
1255
|
-
* example:
|
|
1256
|
-
* 7hj28akg
|
|
1257
|
-
*/
|
|
1258
|
-
Components.Schemas.FlowTemplateId;
|
|
1259
|
-
}
|
|
1260
|
-
export interface PathParameters {
|
|
1261
|
-
flowId: Parameters.FlowId;
|
|
1262
|
-
}
|
|
1263
|
-
namespace Responses {
|
|
1264
|
-
export type $200 = Components.Schemas.FlowTemplate;
|
|
1265
|
-
export type $400 = Components.Schemas.ErrorResp;
|
|
1266
|
-
export type $401 = Components.Schemas.ErrorResp;
|
|
1267
|
-
export type $404 = /* Definition could be not found */ Components.Schemas.DefinitionNotFoundResp;
|
|
1268
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
namespace GetMaxAllowedLimit {
|
|
1272
|
-
namespace Responses {
|
|
1273
|
-
export type $200 = Components.Schemas.MaxAllowedLimit;
|
|
1274
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
1275
|
-
}
|
|
1276
|
-
}
|
|
1277
|
-
namespace GetWorkflowClosingReasons {
|
|
1278
|
-
namespace Parameters {
|
|
1279
|
-
export type DefinitionId = string;
|
|
1280
|
-
}
|
|
1281
|
-
export interface PathParameters {
|
|
1282
|
-
definitionId: Parameters.DefinitionId;
|
|
1283
|
-
}
|
|
1284
|
-
namespace Responses {
|
|
1285
|
-
export type $200 = Components.Schemas.ClosingReasonsIds;
|
|
1286
|
-
}
|
|
1287
|
-
}
|
|
1288
|
-
namespace ListFlowTemplates {
|
|
1289
|
-
namespace Parameters {
|
|
1290
|
-
export type TriggerSchema = string;
|
|
1291
|
-
export type TriggerSourceId = string;
|
|
1292
|
-
export type TriggerType = "automation" | "manual" | "journey_submission";
|
|
1293
|
-
}
|
|
1294
|
-
export interface QueryParameters {
|
|
1295
|
-
trigger_type?: Parameters.TriggerType;
|
|
1296
|
-
trigger_source_id?: Parameters.TriggerSourceId;
|
|
1297
|
-
trigger_schema?: Parameters.TriggerSchema;
|
|
1298
|
-
}
|
|
1299
|
-
namespace Responses {
|
|
1300
|
-
export type $200 = Components.Schemas.FlowTemplatesList;
|
|
1301
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
namespace SearchFlowTemplates {
|
|
1305
|
-
export type RequestBody = Components.Schemas.SearchFlowTemplates;
|
|
1306
|
-
namespace Responses {
|
|
1307
|
-
export interface $200 {
|
|
1308
|
-
hits?: number;
|
|
1309
|
-
results?: Components.Schemas.FlowTemplate[];
|
|
1310
|
-
}
|
|
1311
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
1312
|
-
}
|
|
1313
|
-
}
|
|
1314
|
-
namespace SetWorkflowClosingReasons {
|
|
1315
|
-
namespace Parameters {
|
|
1316
|
-
export type DefinitionId = string;
|
|
1317
|
-
}
|
|
1318
|
-
export interface PathParameters {
|
|
1319
|
-
definitionId: Parameters.DefinitionId;
|
|
1320
|
-
}
|
|
1321
|
-
export type RequestBody = Components.Schemas.ClosingReasonsIds;
|
|
1322
|
-
namespace Responses {
|
|
1323
|
-
export interface $201 {
|
|
1324
|
-
}
|
|
1325
|
-
}
|
|
1326
|
-
}
|
|
1327
|
-
namespace UpdateClosingReason {
|
|
1328
|
-
namespace Parameters {
|
|
1329
|
-
/**
|
|
1330
|
-
* example:
|
|
1331
|
-
* x739cew
|
|
1332
|
-
*/
|
|
1333
|
-
export type ReasonId = string;
|
|
1334
|
-
}
|
|
1335
|
-
export interface PathParameters {
|
|
1336
|
-
reasonId: /**
|
|
1337
|
-
* example:
|
|
1338
|
-
* x739cew
|
|
1339
|
-
*/
|
|
1340
|
-
Parameters.ReasonId;
|
|
1341
|
-
}
|
|
1342
|
-
export type RequestBody = /* One Closing reason for a workflow */ Components.Schemas.ClosingReason;
|
|
1343
|
-
namespace Responses {
|
|
1344
|
-
export type $200 = /* One Closing reason for a workflow */ Components.Schemas.ClosingReason;
|
|
1345
|
-
export type $400 = Components.Schemas.ErrorResp;
|
|
1346
|
-
export type $403 = Components.Schemas.ErrorResp;
|
|
1347
|
-
export type $404 = /* Closing reason could be not found */ Components.Schemas.ClosingReasonNotFoundResp;
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
namespace UpdateDefinition {
|
|
1351
|
-
namespace Parameters {
|
|
1352
|
-
export type DefinitionId = string;
|
|
1353
|
-
}
|
|
1354
|
-
export interface PathParameters {
|
|
1355
|
-
definitionId: Parameters.DefinitionId;
|
|
1356
|
-
}
|
|
1357
|
-
export type RequestBody = Components.Schemas.WorkflowDefinition;
|
|
1358
|
-
namespace Responses {
|
|
1359
|
-
export type $200 = Components.Schemas.WorkflowDefinition;
|
|
1360
|
-
export type $400 = Components.Schemas.ErrorResp;
|
|
1361
|
-
export type $401 = Components.Schemas.ErrorResp;
|
|
1362
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
|
-
namespace UpdateFlowTemplate {
|
|
1366
|
-
namespace Parameters {
|
|
1367
|
-
export type FlowId = /**
|
|
1368
|
-
* Short unique id (length 8) to identify the Flow Template.
|
|
1369
|
-
* example:
|
|
1370
|
-
* 7hj28akg
|
|
1371
|
-
*/
|
|
1372
|
-
Components.Schemas.FlowTemplateId;
|
|
1373
|
-
}
|
|
1374
|
-
export interface PathParameters {
|
|
1375
|
-
flowId: Parameters.FlowId;
|
|
1376
|
-
}
|
|
1377
|
-
export type RequestBody = Components.Schemas.FlowTemplate;
|
|
1378
|
-
namespace Responses {
|
|
1379
|
-
export type $200 = Components.Schemas.FlowTemplate;
|
|
1380
|
-
export type $400 = Components.Schemas.ErrorResp;
|
|
1381
|
-
export type $401 = Components.Schemas.ErrorResp;
|
|
1382
|
-
export type $409 = Components.Schemas.ErrorResp;
|
|
1383
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
1384
|
-
}
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
interface OperationMethods {
|
|
1390
|
-
/**
|
|
1391
|
-
* getMaxAllowedLimit - getMaxAllowedLimit
|
|
1392
|
-
*
|
|
1393
|
-
* Get limits and number of created executions for an Organization.
|
|
1394
|
-
*/
|
|
1395
|
-
'getMaxAllowedLimit'(
|
|
1396
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1397
|
-
data?: any,
|
|
1398
|
-
config?: AxiosRequestConfig
|
|
1399
|
-
): OperationResponse<Paths.GetMaxAllowedLimit.Responses.$200>
|
|
1400
|
-
/**
|
|
1401
|
-
* getDefinitions - getDefinitions
|
|
1402
|
-
*
|
|
1403
|
-
* Retrieve all Workflow Definitions from an Organization
|
|
1404
|
-
*/
|
|
1405
|
-
'getDefinitions'(
|
|
1406
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1407
|
-
data?: any,
|
|
1408
|
-
config?: AxiosRequestConfig
|
|
1409
|
-
): OperationResponse<Paths.GetDefinitions.Responses.$200>
|
|
1410
|
-
/**
|
|
1411
|
-
* createDefinition - createDefinition
|
|
1412
|
-
*
|
|
1413
|
-
* Create a Workflow Definition.
|
|
1414
|
-
*/
|
|
1415
|
-
'createDefinition'(
|
|
1416
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1417
|
-
data?: Paths.CreateDefinition.RequestBody,
|
|
1418
|
-
config?: AxiosRequestConfig
|
|
1419
|
-
): OperationResponse<Paths.CreateDefinition.Responses.$201>
|
|
1420
|
-
/**
|
|
1421
|
-
* listFlowTemplates - listFlowTemplates
|
|
1422
|
-
*
|
|
1423
|
-
* List all Flow Templates for a customer. Optionally, you can filter flow templates by trigger values.
|
|
1424
|
-
*/
|
|
1425
|
-
'listFlowTemplates'(
|
|
1426
|
-
parameters?: Parameters<Paths.ListFlowTemplates.QueryParameters> | null,
|
|
1427
|
-
data?: any,
|
|
1428
|
-
config?: AxiosRequestConfig
|
|
1429
|
-
): OperationResponse<Paths.ListFlowTemplates.Responses.$200>
|
|
1430
|
-
/**
|
|
1431
|
-
* createFlowTemplate - createFlowTemplate
|
|
1432
|
-
*
|
|
1433
|
-
* Create a new Flow Template.
|
|
1434
|
-
*/
|
|
1435
|
-
'createFlowTemplate'(
|
|
1436
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1437
|
-
data?: Paths.CreateFlowTemplate.RequestBody,
|
|
1438
|
-
config?: AxiosRequestConfig
|
|
1439
|
-
): OperationResponse<Paths.CreateFlowTemplate.Responses.$201>
|
|
1440
|
-
/**
|
|
1441
|
-
* searchFlowTemplates - searchFlowTemplates
|
|
1442
|
-
*
|
|
1443
|
-
* Search for flow templates by name, trigger type, enabled status, and more.
|
|
1444
|
-
*/
|
|
1445
|
-
'searchFlowTemplates'(
|
|
1446
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1447
|
-
data?: Paths.SearchFlowTemplates.RequestBody,
|
|
1448
|
-
config?: AxiosRequestConfig
|
|
1449
|
-
): OperationResponse<Paths.SearchFlowTemplates.Responses.$200>
|
|
1450
|
-
/**
|
|
1451
|
-
* getFlowTemplate - getFlowTemplate
|
|
1452
|
-
*
|
|
1453
|
-
* Get specific FLow template for a customer
|
|
1454
|
-
*/
|
|
1455
|
-
'getFlowTemplate'(
|
|
1456
|
-
parameters?: Parameters<Paths.GetFlowTemplate.PathParameters> | null,
|
|
1457
|
-
data?: any,
|
|
1458
|
-
config?: AxiosRequestConfig
|
|
1459
|
-
): OperationResponse<Paths.GetFlowTemplate.Responses.$200>
|
|
1460
|
-
/**
|
|
1461
|
-
* updateFlowTemplate - updateFlowTemplate
|
|
1462
|
-
*
|
|
1463
|
-
* Update Flow Template.
|
|
1464
|
-
*/
|
|
1465
|
-
'updateFlowTemplate'(
|
|
1466
|
-
parameters?: Parameters<Paths.UpdateFlowTemplate.PathParameters> | null,
|
|
1467
|
-
data?: Paths.UpdateFlowTemplate.RequestBody,
|
|
1468
|
-
config?: AxiosRequestConfig
|
|
1469
|
-
): OperationResponse<Paths.UpdateFlowTemplate.Responses.$200>
|
|
1470
|
-
/**
|
|
1471
|
-
* deleteFlowTemplate - deleteFlowTemplate
|
|
1472
|
-
*
|
|
1473
|
-
* Delete Flow Template.
|
|
1474
|
-
*/
|
|
1475
|
-
'deleteFlowTemplate'(
|
|
1476
|
-
parameters?: Parameters<Paths.DeleteFlowTemplate.PathParameters> | null,
|
|
1477
|
-
data?: any,
|
|
1478
|
-
config?: AxiosRequestConfig
|
|
1479
|
-
): OperationResponse<Paths.DeleteFlowTemplate.Responses.$204>
|
|
1480
|
-
/**
|
|
1481
|
-
* duplicateFlowTemplate - duplicateFlowTemplate
|
|
1482
|
-
*
|
|
1483
|
-
* Duplicate a Flow Template from an existing workflow.
|
|
1484
|
-
*/
|
|
1485
|
-
'duplicateFlowTemplate'(
|
|
1486
|
-
parameters?: Parameters<Paths.DuplicateFlowTemplate.PathParameters> | null,
|
|
1487
|
-
data?: any,
|
|
1488
|
-
config?: AxiosRequestConfig
|
|
1489
|
-
): OperationResponse<Paths.DuplicateFlowTemplate.Responses.$201>
|
|
1490
|
-
/**
|
|
1491
|
-
* getDefinition - getDefinition
|
|
1492
|
-
*
|
|
1493
|
-
* Get specific Definition by id from the Organization.
|
|
1494
|
-
*/
|
|
1495
|
-
'getDefinition'(
|
|
1496
|
-
parameters?: Parameters<Paths.GetDefinition.PathParameters> | null,
|
|
1497
|
-
data?: any,
|
|
1498
|
-
config?: AxiosRequestConfig
|
|
1499
|
-
): OperationResponse<Paths.GetDefinition.Responses.$200>
|
|
1500
|
-
/**
|
|
1501
|
-
* updateDefinition - updateDefinition
|
|
1502
|
-
*
|
|
1503
|
-
* Update Workflow Definition.
|
|
1504
|
-
*/
|
|
1505
|
-
'updateDefinition'(
|
|
1506
|
-
parameters?: Parameters<Paths.UpdateDefinition.PathParameters> | null,
|
|
1507
|
-
data?: Paths.UpdateDefinition.RequestBody,
|
|
1508
|
-
config?: AxiosRequestConfig
|
|
1509
|
-
): OperationResponse<Paths.UpdateDefinition.Responses.$200>
|
|
1510
|
-
/**
|
|
1511
|
-
* deleteDefinition - deleteDefinition
|
|
1512
|
-
*
|
|
1513
|
-
* Delete Workflow Definition.
|
|
1514
|
-
*/
|
|
1515
|
-
'deleteDefinition'(
|
|
1516
|
-
parameters?: Parameters<Paths.DeleteDefinition.PathParameters> | null,
|
|
1517
|
-
data?: any,
|
|
1518
|
-
config?: AxiosRequestConfig
|
|
1519
|
-
): OperationResponse<Paths.DeleteDefinition.Responses.$204>
|
|
1520
|
-
/**
|
|
1521
|
-
* getAllClosingReasons - getAllClosingReasons
|
|
1522
|
-
*
|
|
1523
|
-
* Get all Closing Reasons defined in the organization by default all Active.
|
|
1524
|
-
*/
|
|
1525
|
-
'getAllClosingReasons'(
|
|
1526
|
-
parameters?: Parameters<Paths.GetAllClosingReasons.QueryParameters> | null,
|
|
1527
|
-
data?: any,
|
|
1528
|
-
config?: AxiosRequestConfig
|
|
1529
|
-
): OperationResponse<Paths.GetAllClosingReasons.Responses.$200>
|
|
1530
|
-
/**
|
|
1531
|
-
* createClosingReason - createClosingReason
|
|
1532
|
-
*
|
|
1533
|
-
* A created Closing Reason is stored for the organization and will be displayed in the library of reasons.
|
|
1534
|
-
*/
|
|
1535
|
-
'createClosingReason'(
|
|
1536
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1537
|
-
data?: Paths.CreateClosingReason.RequestBody,
|
|
1538
|
-
config?: AxiosRequestConfig
|
|
1539
|
-
): OperationResponse<Paths.CreateClosingReason.Responses.$201>
|
|
1540
|
-
/**
|
|
1541
|
-
* getClosingReason - getClosingReason
|
|
1542
|
-
*
|
|
1543
|
-
* Get specific closing reason by id from the organisation.
|
|
1544
|
-
*/
|
|
1545
|
-
'getClosingReason'(
|
|
1546
|
-
parameters?: Parameters<Paths.GetClosingReason.PathParameters> | null,
|
|
1547
|
-
data?: any,
|
|
1548
|
-
config?: AxiosRequestConfig
|
|
1549
|
-
): OperationResponse<Paths.GetClosingReason.Responses.$200>
|
|
1550
|
-
/**
|
|
1551
|
-
* updateClosingReason - updateClosingReason
|
|
1552
|
-
*
|
|
1553
|
-
* Update an existing closing reason
|
|
1554
|
-
*/
|
|
1555
|
-
'updateClosingReason'(
|
|
1556
|
-
parameters?: Parameters<Paths.UpdateClosingReason.PathParameters> | null,
|
|
1557
|
-
data?: Paths.UpdateClosingReason.RequestBody,
|
|
1558
|
-
config?: AxiosRequestConfig
|
|
1559
|
-
): OperationResponse<Paths.UpdateClosingReason.Responses.$200>
|
|
1560
|
-
/**
|
|
1561
|
-
* deleteClosingReason - deleteClosingReason
|
|
1562
|
-
*
|
|
1563
|
-
* Permanently delete a closing reason (Using INACTIVE status is recommended instead)
|
|
1564
|
-
*/
|
|
1565
|
-
'deleteClosingReason'(
|
|
1566
|
-
parameters?: Parameters<Paths.DeleteClosingReason.PathParameters> | null,
|
|
1567
|
-
data?: any,
|
|
1568
|
-
config?: AxiosRequestConfig
|
|
1569
|
-
): OperationResponse<Paths.DeleteClosingReason.Responses.$204>
|
|
1570
|
-
/**
|
|
1571
|
-
* getClosingReasonV1 - getClosingReasonV1
|
|
1572
|
-
*
|
|
1573
|
-
* Get specific closing reason by id from the organisation.
|
|
1574
|
-
*/
|
|
1575
|
-
'getClosingReasonV1'(
|
|
1576
|
-
parameters?: Parameters<Paths.GetClosingReasonV1.PathParameters> | null,
|
|
1577
|
-
data?: any,
|
|
1578
|
-
config?: AxiosRequestConfig
|
|
1579
|
-
): OperationResponse<Paths.GetClosingReasonV1.Responses.$200>
|
|
1580
|
-
/**
|
|
1581
|
-
* changeReasonStatus - changeReasonStatus
|
|
1582
|
-
*
|
|
1583
|
-
* Change the status of a Closing Reason (eg. ACTIVE to INACTIVE).
|
|
1584
|
-
*/
|
|
1585
|
-
'changeReasonStatus'(
|
|
1586
|
-
parameters?: Parameters<Paths.ChangeReasonStatus.PathParameters> | null,
|
|
1587
|
-
data?: Paths.ChangeReasonStatus.RequestBody,
|
|
1588
|
-
config?: AxiosRequestConfig
|
|
1589
|
-
): OperationResponse<Paths.ChangeReasonStatus.Responses.$202>
|
|
1590
|
-
/**
|
|
1591
|
-
* getWorkflowClosingReasons - getWorkflowClosingReasons
|
|
1592
|
-
*
|
|
1593
|
-
* Returns all closing reasons defined for the workflow.
|
|
1594
|
-
*/
|
|
1595
|
-
'getWorkflowClosingReasons'(
|
|
1596
|
-
parameters?: Parameters<Paths.GetWorkflowClosingReasons.PathParameters> | null,
|
|
1597
|
-
data?: any,
|
|
1598
|
-
config?: AxiosRequestConfig
|
|
1599
|
-
): OperationResponse<Paths.GetWorkflowClosingReasons.Responses.$200>
|
|
1600
|
-
/**
|
|
1601
|
-
* setWorkflowClosingReasons - setWorkflowClosingReasons
|
|
1602
|
-
*
|
|
1603
|
-
* Sets which closing reasons are defined for this workflow, based on the entire closing reasons catalog.
|
|
1604
|
-
*/
|
|
1605
|
-
'setWorkflowClosingReasons'(
|
|
1606
|
-
parameters?: Parameters<Paths.SetWorkflowClosingReasons.PathParameters> | null,
|
|
1607
|
-
data?: Paths.SetWorkflowClosingReasons.RequestBody,
|
|
1608
|
-
config?: AxiosRequestConfig
|
|
1609
|
-
): OperationResponse<Paths.SetWorkflowClosingReasons.Responses.$201>
|
|
1610
|
-
}
|
|
1611
|
-
|
|
1612
|
-
interface PathsDictionary {
|
|
1613
|
-
['/v1/workflows/limits/max-allowed']: {
|
|
1614
|
-
/**
|
|
1615
|
-
* getMaxAllowedLimit - getMaxAllowedLimit
|
|
1616
|
-
*
|
|
1617
|
-
* Get limits and number of created executions for an Organization.
|
|
1618
|
-
*/
|
|
1619
|
-
'get'(
|
|
1620
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1621
|
-
data?: any,
|
|
1622
|
-
config?: AxiosRequestConfig
|
|
1623
|
-
): OperationResponse<Paths.GetMaxAllowedLimit.Responses.$200>
|
|
1624
|
-
}
|
|
1625
|
-
['/v1/workflows/definitions']: {
|
|
1626
|
-
/**
|
|
1627
|
-
* getDefinitions - getDefinitions
|
|
1628
|
-
*
|
|
1629
|
-
* Retrieve all Workflow Definitions from an Organization
|
|
1630
|
-
*/
|
|
1631
|
-
'get'(
|
|
1632
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1633
|
-
data?: any,
|
|
1634
|
-
config?: AxiosRequestConfig
|
|
1635
|
-
): OperationResponse<Paths.GetDefinitions.Responses.$200>
|
|
1636
|
-
/**
|
|
1637
|
-
* createDefinition - createDefinition
|
|
1638
|
-
*
|
|
1639
|
-
* Create a Workflow Definition.
|
|
1640
|
-
*/
|
|
1641
|
-
'post'(
|
|
1642
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1643
|
-
data?: Paths.CreateDefinition.RequestBody,
|
|
1644
|
-
config?: AxiosRequestConfig
|
|
1645
|
-
): OperationResponse<Paths.CreateDefinition.Responses.$201>
|
|
1646
|
-
}
|
|
1647
|
-
['/v2/flows/templates']: {
|
|
1648
|
-
/**
|
|
1649
|
-
* listFlowTemplates - listFlowTemplates
|
|
1650
|
-
*
|
|
1651
|
-
* List all Flow Templates for a customer. Optionally, you can filter flow templates by trigger values.
|
|
1652
|
-
*/
|
|
1653
|
-
'get'(
|
|
1654
|
-
parameters?: Parameters<Paths.ListFlowTemplates.QueryParameters> | null,
|
|
1655
|
-
data?: any,
|
|
1656
|
-
config?: AxiosRequestConfig
|
|
1657
|
-
): OperationResponse<Paths.ListFlowTemplates.Responses.$200>
|
|
1658
|
-
/**
|
|
1659
|
-
* createFlowTemplate - createFlowTemplate
|
|
1660
|
-
*
|
|
1661
|
-
* Create a new Flow Template.
|
|
1662
|
-
*/
|
|
1663
|
-
'post'(
|
|
1664
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1665
|
-
data?: Paths.CreateFlowTemplate.RequestBody,
|
|
1666
|
-
config?: AxiosRequestConfig
|
|
1667
|
-
): OperationResponse<Paths.CreateFlowTemplate.Responses.$201>
|
|
1668
|
-
}
|
|
1669
|
-
['/v2/flows/templates:search']: {
|
|
1670
|
-
/**
|
|
1671
|
-
* searchFlowTemplates - searchFlowTemplates
|
|
1672
|
-
*
|
|
1673
|
-
* Search for flow templates by name, trigger type, enabled status, and more.
|
|
1674
|
-
*/
|
|
1675
|
-
'post'(
|
|
1676
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1677
|
-
data?: Paths.SearchFlowTemplates.RequestBody,
|
|
1678
|
-
config?: AxiosRequestConfig
|
|
1679
|
-
): OperationResponse<Paths.SearchFlowTemplates.Responses.$200>
|
|
1680
|
-
}
|
|
1681
|
-
['/v2/flows/templates/{flowId}']: {
|
|
1682
|
-
/**
|
|
1683
|
-
* getFlowTemplate - getFlowTemplate
|
|
1684
|
-
*
|
|
1685
|
-
* Get specific FLow template for a customer
|
|
1686
|
-
*/
|
|
1687
|
-
'get'(
|
|
1688
|
-
parameters?: Parameters<Paths.GetFlowTemplate.PathParameters> | null,
|
|
1689
|
-
data?: any,
|
|
1690
|
-
config?: AxiosRequestConfig
|
|
1691
|
-
): OperationResponse<Paths.GetFlowTemplate.Responses.$200>
|
|
1692
|
-
/**
|
|
1693
|
-
* updateFlowTemplate - updateFlowTemplate
|
|
1694
|
-
*
|
|
1695
|
-
* Update Flow Template.
|
|
1696
|
-
*/
|
|
1697
|
-
'put'(
|
|
1698
|
-
parameters?: Parameters<Paths.UpdateFlowTemplate.PathParameters> | null,
|
|
1699
|
-
data?: Paths.UpdateFlowTemplate.RequestBody,
|
|
1700
|
-
config?: AxiosRequestConfig
|
|
1701
|
-
): OperationResponse<Paths.UpdateFlowTemplate.Responses.$200>
|
|
1702
|
-
/**
|
|
1703
|
-
* deleteFlowTemplate - deleteFlowTemplate
|
|
1704
|
-
*
|
|
1705
|
-
* Delete Flow Template.
|
|
1706
|
-
*/
|
|
1707
|
-
'delete'(
|
|
1708
|
-
parameters?: Parameters<Paths.DeleteFlowTemplate.PathParameters> | null,
|
|
1709
|
-
data?: any,
|
|
1710
|
-
config?: AxiosRequestConfig
|
|
1711
|
-
): OperationResponse<Paths.DeleteFlowTemplate.Responses.$204>
|
|
1712
|
-
}
|
|
1713
|
-
['/v2/flows/templates/{flowId}/duplicate']: {
|
|
1714
|
-
/**
|
|
1715
|
-
* duplicateFlowTemplate - duplicateFlowTemplate
|
|
1716
|
-
*
|
|
1717
|
-
* Duplicate a Flow Template from an existing workflow.
|
|
1718
|
-
*/
|
|
1719
|
-
'post'(
|
|
1720
|
-
parameters?: Parameters<Paths.DuplicateFlowTemplate.PathParameters> | null,
|
|
1721
|
-
data?: any,
|
|
1722
|
-
config?: AxiosRequestConfig
|
|
1723
|
-
): OperationResponse<Paths.DuplicateFlowTemplate.Responses.$201>
|
|
1724
|
-
}
|
|
1725
|
-
['/v1/workflows/definitions/{definitionId}']: {
|
|
1726
|
-
/**
|
|
1727
|
-
* getDefinition - getDefinition
|
|
1728
|
-
*
|
|
1729
|
-
* Get specific Definition by id from the Organization.
|
|
1730
|
-
*/
|
|
1731
|
-
'get'(
|
|
1732
|
-
parameters?: Parameters<Paths.GetDefinition.PathParameters> | null,
|
|
1733
|
-
data?: any,
|
|
1734
|
-
config?: AxiosRequestConfig
|
|
1735
|
-
): OperationResponse<Paths.GetDefinition.Responses.$200>
|
|
1736
|
-
/**
|
|
1737
|
-
* updateDefinition - updateDefinition
|
|
1738
|
-
*
|
|
1739
|
-
* Update Workflow Definition.
|
|
1740
|
-
*/
|
|
1741
|
-
'put'(
|
|
1742
|
-
parameters?: Parameters<Paths.UpdateDefinition.PathParameters> | null,
|
|
1743
|
-
data?: Paths.UpdateDefinition.RequestBody,
|
|
1744
|
-
config?: AxiosRequestConfig
|
|
1745
|
-
): OperationResponse<Paths.UpdateDefinition.Responses.$200>
|
|
1746
|
-
/**
|
|
1747
|
-
* deleteDefinition - deleteDefinition
|
|
1748
|
-
*
|
|
1749
|
-
* Delete Workflow Definition.
|
|
1750
|
-
*/
|
|
1751
|
-
'delete'(
|
|
1752
|
-
parameters?: Parameters<Paths.DeleteDefinition.PathParameters> | null,
|
|
1753
|
-
data?: any,
|
|
1754
|
-
config?: AxiosRequestConfig
|
|
1755
|
-
): OperationResponse<Paths.DeleteDefinition.Responses.$204>
|
|
1756
|
-
}
|
|
1757
|
-
['/v1/workflows/closing-reasons']: {
|
|
1758
|
-
/**
|
|
1759
|
-
* getAllClosingReasons - getAllClosingReasons
|
|
1760
|
-
*
|
|
1761
|
-
* Get all Closing Reasons defined in the organization by default all Active.
|
|
1762
|
-
*/
|
|
1763
|
-
'get'(
|
|
1764
|
-
parameters?: Parameters<Paths.GetAllClosingReasons.QueryParameters> | null,
|
|
1765
|
-
data?: any,
|
|
1766
|
-
config?: AxiosRequestConfig
|
|
1767
|
-
): OperationResponse<Paths.GetAllClosingReasons.Responses.$200>
|
|
1768
|
-
/**
|
|
1769
|
-
* createClosingReason - createClosingReason
|
|
1770
|
-
*
|
|
1771
|
-
* A created Closing Reason is stored for the organization and will be displayed in the library of reasons.
|
|
1772
|
-
*/
|
|
1773
|
-
'post'(
|
|
1774
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1775
|
-
data?: Paths.CreateClosingReason.RequestBody,
|
|
1776
|
-
config?: AxiosRequestConfig
|
|
1777
|
-
): OperationResponse<Paths.CreateClosingReason.Responses.$201>
|
|
1778
|
-
}
|
|
1779
|
-
['/v2/workflows/closing-reasons/{reasonId}']: {
|
|
1780
|
-
/**
|
|
1781
|
-
* getClosingReason - getClosingReason
|
|
1782
|
-
*
|
|
1783
|
-
* Get specific closing reason by id from the organisation.
|
|
1784
|
-
*/
|
|
1785
|
-
'get'(
|
|
1786
|
-
parameters?: Parameters<Paths.GetClosingReason.PathParameters> | null,
|
|
1787
|
-
data?: any,
|
|
1788
|
-
config?: AxiosRequestConfig
|
|
1789
|
-
): OperationResponse<Paths.GetClosingReason.Responses.$200>
|
|
1790
|
-
/**
|
|
1791
|
-
* updateClosingReason - updateClosingReason
|
|
1792
|
-
*
|
|
1793
|
-
* Update an existing closing reason
|
|
1794
|
-
*/
|
|
1795
|
-
'patch'(
|
|
1796
|
-
parameters?: Parameters<Paths.UpdateClosingReason.PathParameters> | null,
|
|
1797
|
-
data?: Paths.UpdateClosingReason.RequestBody,
|
|
1798
|
-
config?: AxiosRequestConfig
|
|
1799
|
-
): OperationResponse<Paths.UpdateClosingReason.Responses.$200>
|
|
1800
|
-
/**
|
|
1801
|
-
* deleteClosingReason - deleteClosingReason
|
|
1802
|
-
*
|
|
1803
|
-
* Permanently delete a closing reason (Using INACTIVE status is recommended instead)
|
|
1804
|
-
*/
|
|
1805
|
-
'delete'(
|
|
1806
|
-
parameters?: Parameters<Paths.DeleteClosingReason.PathParameters> | null,
|
|
1807
|
-
data?: any,
|
|
1808
|
-
config?: AxiosRequestConfig
|
|
1809
|
-
): OperationResponse<Paths.DeleteClosingReason.Responses.$204>
|
|
1810
|
-
}
|
|
1811
|
-
['/v1/workflows/closing-reasons/{reasonId}']: {
|
|
1812
|
-
/**
|
|
1813
|
-
* getClosingReasonV1 - getClosingReasonV1
|
|
1814
|
-
*
|
|
1815
|
-
* Get specific closing reason by id from the organisation.
|
|
1816
|
-
*/
|
|
1817
|
-
'get'(
|
|
1818
|
-
parameters?: Parameters<Paths.GetClosingReasonV1.PathParameters> | null,
|
|
1819
|
-
data?: any,
|
|
1820
|
-
config?: AxiosRequestConfig
|
|
1821
|
-
): OperationResponse<Paths.GetClosingReasonV1.Responses.$200>
|
|
1822
|
-
/**
|
|
1823
|
-
* changeReasonStatus - changeReasonStatus
|
|
1824
|
-
*
|
|
1825
|
-
* Change the status of a Closing Reason (eg. ACTIVE to INACTIVE).
|
|
1826
|
-
*/
|
|
1827
|
-
'patch'(
|
|
1828
|
-
parameters?: Parameters<Paths.ChangeReasonStatus.PathParameters> | null,
|
|
1829
|
-
data?: Paths.ChangeReasonStatus.RequestBody,
|
|
1830
|
-
config?: AxiosRequestConfig
|
|
1831
|
-
): OperationResponse<Paths.ChangeReasonStatus.Responses.$202>
|
|
1832
|
-
}
|
|
1833
|
-
['/v1/workflows/definitions/{definitionId}/closing-reasons']: {
|
|
1834
|
-
/**
|
|
1835
|
-
* getWorkflowClosingReasons - getWorkflowClosingReasons
|
|
1836
|
-
*
|
|
1837
|
-
* Returns all closing reasons defined for the workflow.
|
|
1838
|
-
*/
|
|
1839
|
-
'get'(
|
|
1840
|
-
parameters?: Parameters<Paths.GetWorkflowClosingReasons.PathParameters> | null,
|
|
1841
|
-
data?: any,
|
|
1842
|
-
config?: AxiosRequestConfig
|
|
1843
|
-
): OperationResponse<Paths.GetWorkflowClosingReasons.Responses.$200>
|
|
1844
|
-
/**
|
|
1845
|
-
* setWorkflowClosingReasons - setWorkflowClosingReasons
|
|
1846
|
-
*
|
|
1847
|
-
* Sets which closing reasons are defined for this workflow, based on the entire closing reasons catalog.
|
|
1848
|
-
*/
|
|
1849
|
-
'patch'(
|
|
1850
|
-
parameters?: Parameters<Paths.SetWorkflowClosingReasons.PathParameters> | null,
|
|
1851
|
-
data?: Paths.SetWorkflowClosingReasons.RequestBody,
|
|
1852
|
-
config?: AxiosRequestConfig
|
|
1853
|
-
): OperationResponse<Paths.SetWorkflowClosingReasons.Responses.$201>
|
|
1854
|
-
}
|
|
1855
|
-
}
|
|
1856
|
-
|
|
1857
|
-
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
type ActionSchedule = Components.Schemas.ActionSchedule;
|
|
1861
|
-
type AgentConfig = Components.Schemas.AgentConfig;
|
|
1862
|
-
type AiAgentTask = Components.Schemas.AiAgentTask;
|
|
1863
|
-
type AutomationConfig = Components.Schemas.AutomationConfig;
|
|
1864
|
-
type AutomationInputContext = Components.Schemas.AutomationInputContext;
|
|
1865
|
-
type AutomationTask = Components.Schemas.AutomationTask;
|
|
1866
|
-
type AutomationTrigger = Components.Schemas.AutomationTrigger;
|
|
1867
|
-
type ChangeReasonStatusReq = Components.Schemas.ChangeReasonStatusReq;
|
|
1868
|
-
type ClosingReason = Components.Schemas.ClosingReason;
|
|
1869
|
-
type ClosingReasonId = Components.Schemas.ClosingReasonId;
|
|
1870
|
-
type ClosingReasonNotFoundResp = Components.Schemas.ClosingReasonNotFoundResp;
|
|
1871
|
-
type ClosingReasons = Components.Schemas.ClosingReasons;
|
|
1872
|
-
type ClosingReasonsIds = Components.Schemas.ClosingReasonsIds;
|
|
1873
|
-
type ClosingReasonsStatus = Components.Schemas.ClosingReasonsStatus;
|
|
1874
|
-
type Condition = Components.Schemas.Condition;
|
|
1875
|
-
type CreateFlowTemplate = Components.Schemas.CreateFlowTemplate;
|
|
1876
|
-
type DecisionTask = Components.Schemas.DecisionTask;
|
|
1877
|
-
type DefinitionNotFoundResp = Components.Schemas.DefinitionNotFoundResp;
|
|
1878
|
-
type DelayedSchedule = Components.Schemas.DelayedSchedule;
|
|
1879
|
-
type DueDateConfig = Components.Schemas.DueDateConfig;
|
|
1880
|
-
type DynamicDueDate = Components.Schemas.DynamicDueDate;
|
|
1881
|
-
type ECPDetails = Components.Schemas.ECPDetails;
|
|
1882
|
-
type Edge = Components.Schemas.Edge;
|
|
1883
|
-
type EnableRequirement = Components.Schemas.EnableRequirement;
|
|
1884
|
-
type EntitySync = Components.Schemas.EntitySync;
|
|
1885
|
-
type ErrorResp = Components.Schemas.ErrorResp;
|
|
1886
|
-
type EvaluationSource = Components.Schemas.EvaluationSource;
|
|
1887
|
-
type FlowTemplate = Components.Schemas.FlowTemplate;
|
|
1888
|
-
type FlowTemplateBase = Components.Schemas.FlowTemplateBase;
|
|
1889
|
-
type FlowTemplateId = Components.Schemas.FlowTemplateId;
|
|
1890
|
-
type FlowTemplatesList = Components.Schemas.FlowTemplatesList;
|
|
1891
|
-
type ImmediateSchedule = Components.Schemas.ImmediateSchedule;
|
|
1892
|
-
type ItemType = Components.Schemas.ItemType;
|
|
1893
|
-
type JourneyAutomationTrigger = Components.Schemas.JourneyAutomationTrigger;
|
|
1894
|
-
type JourneySubmissionTrigger = Components.Schemas.JourneySubmissionTrigger;
|
|
1895
|
-
type ManualTask = Components.Schemas.ManualTask;
|
|
1896
|
-
type ManualTrigger = Components.Schemas.ManualTrigger;
|
|
1897
|
-
type MaxAllowedLimit = Components.Schemas.MaxAllowedLimit;
|
|
1898
|
-
type Operator = Components.Schemas.Operator;
|
|
1899
|
-
type PartnerDetails = Components.Schemas.PartnerDetails;
|
|
1900
|
-
type Phase = Components.Schemas.Phase;
|
|
1901
|
-
type RelativeSchedule = Components.Schemas.RelativeSchedule;
|
|
1902
|
-
type SearchFlowTemplates = Components.Schemas.SearchFlowTemplates;
|
|
1903
|
-
type Section = Components.Schemas.Section;
|
|
1904
|
-
type Statement = Components.Schemas.Statement;
|
|
1905
|
-
type Step = Components.Schemas.Step;
|
|
1906
|
-
type StepDescription = Components.Schemas.StepDescription;
|
|
1907
|
-
type StepJourney = Components.Schemas.StepJourney;
|
|
1908
|
-
type StepRequirement = Components.Schemas.StepRequirement;
|
|
1909
|
-
type StepType = Components.Schemas.StepType;
|
|
1910
|
-
type Task = Components.Schemas.Task;
|
|
1911
|
-
type TaskBase = Components.Schemas.TaskBase;
|
|
1912
|
-
type TaskType = Components.Schemas.TaskType;
|
|
1913
|
-
type TimeUnit = Components.Schemas.TimeUnit;
|
|
1914
|
-
type Trigger = Components.Schemas.Trigger;
|
|
1915
|
-
type TriggerMode = Components.Schemas.TriggerMode;
|
|
1916
|
-
type TriggerType = Components.Schemas.TriggerType;
|
|
1917
|
-
type UpdateEntityAttributes = Components.Schemas.UpdateEntityAttributes;
|
|
1918
|
-
type VariableAssignment = Components.Schemas.VariableAssignment;
|
|
1919
|
-
type Version = Components.Schemas.Version;
|
|
1920
|
-
type WorkflowDefinition = Components.Schemas.WorkflowDefinition;
|
|
1921
|
-
|
|
1922
|
-
export { type StepRequirement as $, type ActionSchedule as A, type FlowTemplateBase as B, type Client as C, type DecisionTask as D, type ECPDetails as E, type FlowTemplate as F, type FlowTemplateId as G, type FlowTemplatesList as H, type ImmediateSchedule as I, type ItemType as J, type JourneyAutomationTrigger as K, type JourneySubmissionTrigger as L, type ManualTask as M, type ManualTrigger as N, type OperationMethods as O, Paths as P, type MaxAllowedLimit as Q, type Operator as R, type PartnerDetails as S, type Phase as T, type RelativeSchedule as U, SearchFlowTemplates as V, type Section as W, type Statement as X, type Step as Y, type StepDescription as Z, type StepJourney as _, Components as a, type StepType as a0, type Task as a1, type TaskBase as a2, type TaskType as a3, type TimeUnit as a4, type Trigger as a5, type TriggerMode as a6, type TriggerType as a7, type UpdateEntityAttributes as a8, type VariableAssignment as a9, type Version as aa, type WorkflowDefinition as ab, type PathsDictionary as b, type AgentConfig as c, type AiAgentTask as d, type AutomationConfig as e, type AutomationInputContext as f, type AutomationTask as g, type AutomationTrigger as h, type ChangeReasonStatusReq as i, type ClosingReason as j, type ClosingReasonId as k, type ClosingReasonNotFoundResp as l, type ClosingReasons as m, type ClosingReasonsIds as n, type ClosingReasonsStatus as o, type Condition as p, CreateFlowTemplate as q, type DefinitionNotFoundResp as r, type DelayedSchedule as s, type DueDateConfig as t, type DynamicDueDate as u, type Edge as v, type EnableRequirement as w, type EntitySync as x, type ErrorResp as y, type EvaluationSource as z };
|