@serverlessworkflow/sdk 1.0.0-alpha5.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/LICENSE +201 -0
- package/README.md +250 -0
- package/esm/index.esm.js +29803 -0
- package/esm/index.esm.js.map +1 -0
- package/esm/index.esm.min.js +10 -0
- package/esm/index.esm.min.js.map +1 -0
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -0
- package/lib/builder.d.ts +49 -0
- package/lib/builder.d.ts.map +1 -0
- package/lib/generated/builders/all-event-consumption-strategy-builder.d.ts +14 -0
- package/lib/generated/builders/all-event-consumption-strategy-builder.d.ts.map +1 -0
- package/lib/generated/builders/all-event-consumption-strategy-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/all-event-consumption-strategy-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/any-event-consumption-strategy-builder.d.ts +14 -0
- package/lib/generated/builders/any-event-consumption-strategy-builder.d.ts.map +1 -0
- package/lib/generated/builders/any-event-consumption-strategy-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/any-event-consumption-strategy-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/async-api-arguments-builder.d.ts +14 -0
- package/lib/generated/builders/async-api-arguments-builder.d.ts.map +1 -0
- package/lib/generated/builders/authentication-policy-builder.d.ts +14 -0
- package/lib/generated/builders/authentication-policy-builder.d.ts.map +1 -0
- package/lib/generated/builders/authentication-policy-reference-builder.d.ts +14 -0
- package/lib/generated/builders/authentication-policy-reference-builder.d.ts.map +1 -0
- package/lib/generated/builders/basic-authentication-policy-builder.d.ts +14 -0
- package/lib/generated/builders/basic-authentication-policy-builder.d.ts.map +1 -0
- package/lib/generated/builders/basic-authentication-policy-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/basic-authentication-policy-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/basic-authentication-properties-builder.d.ts +14 -0
- package/lib/generated/builders/basic-authentication-properties-builder.d.ts.map +1 -0
- package/lib/generated/builders/bearer-authentication-policy-builder.d.ts +14 -0
- package/lib/generated/builders/bearer-authentication-policy-builder.d.ts.map +1 -0
- package/lib/generated/builders/bearer-authentication-policy-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/bearer-authentication-policy-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/bearer-authentication-properties-builder.d.ts +14 -0
- package/lib/generated/builders/bearer-authentication-properties-builder.d.ts.map +1 -0
- package/lib/generated/builders/call-async-api-builder.d.ts +14 -0
- package/lib/generated/builders/call-async-api-builder.d.ts.map +1 -0
- package/lib/generated/builders/call-function-builder.d.ts +14 -0
- package/lib/generated/builders/call-function-builder.d.ts.map +1 -0
- package/lib/generated/builders/call-grpc-builder.d.ts +14 -0
- package/lib/generated/builders/call-grpc-builder.d.ts.map +1 -0
- package/lib/generated/builders/call-http-builder.d.ts +14 -0
- package/lib/generated/builders/call-http-builder.d.ts.map +1 -0
- package/lib/generated/builders/call-open-api-builder.d.ts +14 -0
- package/lib/generated/builders/call-open-api-builder.d.ts.map +1 -0
- package/lib/generated/builders/call-task-builder.d.ts +14 -0
- package/lib/generated/builders/call-task-builder.d.ts.map +1 -0
- package/lib/generated/builders/catalog-builder.d.ts +14 -0
- package/lib/generated/builders/catalog-builder.d.ts.map +1 -0
- package/lib/generated/builders/catch-errors-builder.d.ts +14 -0
- package/lib/generated/builders/catch-errors-builder.d.ts.map +1 -0
- package/lib/generated/builders/constant-backoff-builder.d.ts +14 -0
- package/lib/generated/builders/constant-backoff-builder.d.ts.map +1 -0
- package/lib/generated/builders/container-builder.d.ts +14 -0
- package/lib/generated/builders/container-builder.d.ts.map +1 -0
- package/lib/generated/builders/container-environment-builder.d.ts +14 -0
- package/lib/generated/builders/container-environment-builder.d.ts.map +1 -0
- package/lib/generated/builders/container-ports-builder.d.ts +14 -0
- package/lib/generated/builders/container-ports-builder.d.ts.map +1 -0
- package/lib/generated/builders/container-volumes-builder.d.ts +14 -0
- package/lib/generated/builders/container-volumes-builder.d.ts.map +1 -0
- package/lib/generated/builders/digest-authentication-policy-builder.d.ts +14 -0
- package/lib/generated/builders/digest-authentication-policy-builder.d.ts.map +1 -0
- package/lib/generated/builders/digest-authentication-policy-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/digest-authentication-policy-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/digest-authentication-properties-builder.d.ts +14 -0
- package/lib/generated/builders/digest-authentication-properties-builder.d.ts.map +1 -0
- package/lib/generated/builders/do-task-builder.d.ts +14 -0
- package/lib/generated/builders/do-task-builder.d.ts.map +1 -0
- package/lib/generated/builders/document-builder.d.ts +14 -0
- package/lib/generated/builders/document-builder.d.ts.map +1 -0
- package/lib/generated/builders/duration-builder.d.ts +14 -0
- package/lib/generated/builders/duration-builder.d.ts.map +1 -0
- package/lib/generated/builders/duration-inline-builder.d.ts +14 -0
- package/lib/generated/builders/duration-inline-builder.d.ts.map +1 -0
- package/lib/generated/builders/emit-event-definition-builder.d.ts +14 -0
- package/lib/generated/builders/emit-event-definition-builder.d.ts.map +1 -0
- package/lib/generated/builders/emit-event-with-builder.d.ts +14 -0
- package/lib/generated/builders/emit-event-with-builder.d.ts.map +1 -0
- package/lib/generated/builders/emit-task-builder.d.ts +14 -0
- package/lib/generated/builders/emit-task-builder.d.ts.map +1 -0
- package/lib/generated/builders/emit-task-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/emit-task-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/endpoint-builder.d.ts +14 -0
- package/lib/generated/builders/endpoint-builder.d.ts.map +1 -0
- package/lib/generated/builders/endpoint-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/endpoint-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/endpoint-uri-builder.d.ts +14 -0
- package/lib/generated/builders/endpoint-uri-builder.d.ts.map +1 -0
- package/lib/generated/builders/error-builder.d.ts +14 -0
- package/lib/generated/builders/error-builder.d.ts.map +1 -0
- package/lib/generated/builders/error-instance-builder.d.ts +14 -0
- package/lib/generated/builders/error-instance-builder.d.ts.map +1 -0
- package/lib/generated/builders/error-type-builder.d.ts +14 -0
- package/lib/generated/builders/error-type-builder.d.ts.map +1 -0
- package/lib/generated/builders/event-consumption-strategy-builder.d.ts +14 -0
- package/lib/generated/builders/event-consumption-strategy-builder.d.ts.map +1 -0
- package/lib/generated/builders/event-dataschema-builder.d.ts +14 -0
- package/lib/generated/builders/event-dataschema-builder.d.ts.map +1 -0
- package/lib/generated/builders/event-filter-builder.d.ts +14 -0
- package/lib/generated/builders/event-filter-builder.d.ts.map +1 -0
- package/lib/generated/builders/event-filter-correlate-builder.d.ts +14 -0
- package/lib/generated/builders/event-filter-correlate-builder.d.ts.map +1 -0
- package/lib/generated/builders/event-source-builder.d.ts +14 -0
- package/lib/generated/builders/event-source-builder.d.ts.map +1 -0
- package/lib/generated/builders/event-time-builder.d.ts +14 -0
- package/lib/generated/builders/event-time-builder.d.ts.map +1 -0
- package/lib/generated/builders/exponential-back-off-builder.d.ts +14 -0
- package/lib/generated/builders/exponential-back-off-builder.d.ts.map +1 -0
- package/lib/generated/builders/export-as-builder.d.ts +14 -0
- package/lib/generated/builders/export-as-builder.d.ts.map +1 -0
- package/lib/generated/builders/export-builder.d.ts +14 -0
- package/lib/generated/builders/export-builder.d.ts.map +1 -0
- package/lib/generated/builders/extension-builder.d.ts +14 -0
- package/lib/generated/builders/extension-builder.d.ts.map +1 -0
- package/lib/generated/builders/extension-item-builder.d.ts +14 -0
- package/lib/generated/builders/extension-item-builder.d.ts.map +1 -0
- package/lib/generated/builders/external-resource-builder.d.ts +14 -0
- package/lib/generated/builders/external-resource-builder.d.ts.map +1 -0
- package/lib/generated/builders/external-script-builder.d.ts +14 -0
- package/lib/generated/builders/external-script-builder.d.ts.map +1 -0
- package/lib/generated/builders/flow-directive-builder.d.ts +14 -0
- package/lib/generated/builders/flow-directive-builder.d.ts.map +1 -0
- package/lib/generated/builders/for-task-builder.d.ts +14 -0
- package/lib/generated/builders/for-task-builder.d.ts.map +1 -0
- package/lib/generated/builders/for-task-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/for-task-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/fork-task-builder.d.ts +14 -0
- package/lib/generated/builders/fork-task-builder.d.ts.map +1 -0
- package/lib/generated/builders/fork-task-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/fork-task-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/function-arguments-builder.d.ts +14 -0
- package/lib/generated/builders/function-arguments-builder.d.ts.map +1 -0
- package/lib/generated/builders/grpc-arguments-builder.d.ts +14 -0
- package/lib/generated/builders/grpc-arguments-builder.d.ts.map +1 -0
- package/lib/generated/builders/http-arguments-builder.d.ts +14 -0
- package/lib/generated/builders/http-arguments-builder.d.ts.map +1 -0
- package/lib/generated/builders/index.d.ts +156 -0
- package/lib/generated/builders/index.d.ts.map +1 -0
- package/lib/generated/builders/inline-script-builder.d.ts +14 -0
- package/lib/generated/builders/inline-script-builder.d.ts.map +1 -0
- package/lib/generated/builders/input-builder.d.ts +14 -0
- package/lib/generated/builders/input-builder.d.ts.map +1 -0
- package/lib/generated/builders/input-from-builder.d.ts +14 -0
- package/lib/generated/builders/input-from-builder.d.ts.map +1 -0
- package/lib/generated/builders/linear-backoff-builder.d.ts +14 -0
- package/lib/generated/builders/linear-backoff-builder.d.ts.map +1 -0
- package/lib/generated/builders/listen-task-builder.d.ts +14 -0
- package/lib/generated/builders/listen-task-builder.d.ts.map +1 -0
- package/lib/generated/builders/listen-task-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/listen-task-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/oauth2-autenthication-data-audiences-builder.d.ts +14 -0
- package/lib/generated/builders/oauth2-autenthication-data-audiences-builder.d.ts.map +1 -0
- package/lib/generated/builders/oauth2-autenthication-data-builder.d.ts +14 -0
- package/lib/generated/builders/oauth2-autenthication-data-builder.d.ts.map +1 -0
- package/lib/generated/builders/oauth2-autenthication-data-client-builder.d.ts +14 -0
- package/lib/generated/builders/oauth2-autenthication-data-client-builder.d.ts.map +1 -0
- package/lib/generated/builders/oauth2-autenthication-data-scopes-builder.d.ts +14 -0
- package/lib/generated/builders/oauth2-autenthication-data-scopes-builder.d.ts.map +1 -0
- package/lib/generated/builders/oauth2-authentication-policy-builder.d.ts +14 -0
- package/lib/generated/builders/oauth2-authentication-policy-builder.d.ts.map +1 -0
- package/lib/generated/builders/oauth2-authentication-policy-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/oauth2-authentication-policy-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/oauth2-authentication-properties-endpoints-builder.d.ts +14 -0
- package/lib/generated/builders/oauth2-authentication-properties-endpoints-builder.d.ts.map +1 -0
- package/lib/generated/builders/oauth2-connect-authentication-properties-builder.d.ts +14 -0
- package/lib/generated/builders/oauth2-connect-authentication-properties-builder.d.ts.map +1 -0
- package/lib/generated/builders/oauth2-issuers-builder.d.ts +14 -0
- package/lib/generated/builders/oauth2-issuers-builder.d.ts.map +1 -0
- package/lib/generated/builders/oauth2-token-definition-builder.d.ts +14 -0
- package/lib/generated/builders/oauth2-token-definition-builder.d.ts.map +1 -0
- package/lib/generated/builders/oauth2-token-request-builder.d.ts +14 -0
- package/lib/generated/builders/oauth2-token-request-builder.d.ts.map +1 -0
- package/lib/generated/builders/one-event-consumption-strategy-builder.d.ts +14 -0
- package/lib/generated/builders/one-event-consumption-strategy-builder.d.ts.map +1 -0
- package/lib/generated/builders/open-api-arguments-builder.d.ts +14 -0
- package/lib/generated/builders/open-api-arguments-builder.d.ts.map +1 -0
- package/lib/generated/builders/open-id-connect-authentication-policy-builder.d.ts +14 -0
- package/lib/generated/builders/open-id-connect-authentication-policy-builder.d.ts.map +1 -0
- package/lib/generated/builders/open-id-connect-authentication-policy-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/open-id-connect-authentication-policy-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/open-id-connect-authentication-properties-builder.d.ts +14 -0
- package/lib/generated/builders/open-id-connect-authentication-properties-builder.d.ts.map +1 -0
- package/lib/generated/builders/output-as-builder.d.ts +14 -0
- package/lib/generated/builders/output-as-builder.d.ts.map +1 -0
- package/lib/generated/builders/output-builder.d.ts +14 -0
- package/lib/generated/builders/output-builder.d.ts.map +1 -0
- package/lib/generated/builders/raise-task-builder.d.ts +14 -0
- package/lib/generated/builders/raise-task-builder.d.ts.map +1 -0
- package/lib/generated/builders/raise-task-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/raise-task-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/raise-task-raise-error-builder.d.ts +14 -0
- package/lib/generated/builders/raise-task-raise-error-builder.d.ts.map +1 -0
- package/lib/generated/builders/referenceable-authentication-policy-builder.d.ts +14 -0
- package/lib/generated/builders/referenceable-authentication-policy-builder.d.ts.map +1 -0
- package/lib/generated/builders/retry-backoff-builder.d.ts +14 -0
- package/lib/generated/builders/retry-backoff-builder.d.ts.map +1 -0
- package/lib/generated/builders/retry-limit-attempt-builder.d.ts +14 -0
- package/lib/generated/builders/retry-limit-attempt-builder.d.ts.map +1 -0
- package/lib/generated/builders/retry-limit-builder.d.ts +14 -0
- package/lib/generated/builders/retry-limit-builder.d.ts.map +1 -0
- package/lib/generated/builders/retry-policy-builder.d.ts +14 -0
- package/lib/generated/builders/retry-policy-builder.d.ts.map +1 -0
- package/lib/generated/builders/retry-policy-jitter-builder.d.ts +14 -0
- package/lib/generated/builders/retry-policy-jitter-builder.d.ts.map +1 -0
- package/lib/generated/builders/run-container-builder.d.ts +14 -0
- package/lib/generated/builders/run-container-builder.d.ts.map +1 -0
- package/lib/generated/builders/run-script-builder.d.ts +14 -0
- package/lib/generated/builders/run-script-builder.d.ts.map +1 -0
- package/lib/generated/builders/run-shell-builder.d.ts +14 -0
- package/lib/generated/builders/run-shell-builder.d.ts.map +1 -0
- package/lib/generated/builders/run-task-builder.d.ts +14 -0
- package/lib/generated/builders/run-task-builder.d.ts.map +1 -0
- package/lib/generated/builders/run-task-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/run-task-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/run-workflow-builder.d.ts +14 -0
- package/lib/generated/builders/run-workflow-builder.d.ts.map +1 -0
- package/lib/generated/builders/runtime-expression-builder.d.ts +14 -0
- package/lib/generated/builders/runtime-expression-builder.d.ts.map +1 -0
- package/lib/generated/builders/schedule-builder.d.ts +14 -0
- package/lib/generated/builders/schedule-builder.d.ts.map +1 -0
- package/lib/generated/builders/schema-builder.d.ts +14 -0
- package/lib/generated/builders/schema-builder.d.ts.map +1 -0
- package/lib/generated/builders/schema-external-builder.d.ts +14 -0
- package/lib/generated/builders/schema-external-builder.d.ts.map +1 -0
- package/lib/generated/builders/schema-inline-builder.d.ts +14 -0
- package/lib/generated/builders/schema-inline-builder.d.ts.map +1 -0
- package/lib/generated/builders/script-builder.d.ts +14 -0
- package/lib/generated/builders/script-builder.d.ts.map +1 -0
- package/lib/generated/builders/secret-based-authentication-policy-builder.d.ts +14 -0
- package/lib/generated/builders/secret-based-authentication-policy-builder.d.ts.map +1 -0
- package/lib/generated/builders/set-task-builder.d.ts +14 -0
- package/lib/generated/builders/set-task-builder.d.ts.map +1 -0
- package/lib/generated/builders/set-task-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/set-task-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/shell-arguments-builder.d.ts +14 -0
- package/lib/generated/builders/shell-arguments-builder.d.ts.map +1 -0
- package/lib/generated/builders/shell-builder.d.ts +14 -0
- package/lib/generated/builders/shell-builder.d.ts.map +1 -0
- package/lib/generated/builders/shell-environment-builder.d.ts +14 -0
- package/lib/generated/builders/shell-environment-builder.d.ts.map +1 -0
- package/lib/generated/builders/subflow-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/subflow-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/subflow-input-builder.d.ts +14 -0
- package/lib/generated/builders/subflow-input-builder.d.ts.map +1 -0
- package/lib/generated/builders/switch-case-builder.d.ts +14 -0
- package/lib/generated/builders/switch-case-builder.d.ts.map +1 -0
- package/lib/generated/builders/switch-item-builder.d.ts +14 -0
- package/lib/generated/builders/switch-item-builder.d.ts.map +1 -0
- package/lib/generated/builders/switch-task-builder.d.ts +14 -0
- package/lib/generated/builders/switch-task-builder.d.ts.map +1 -0
- package/lib/generated/builders/switch-task-configuration-builder.d.ts +14 -0
- package/lib/generated/builders/switch-task-configuration-builder.d.ts.map +1 -0
- package/lib/generated/builders/task-base-builder.d.ts +14 -0
- package/lib/generated/builders/task-base-builder.d.ts.map +1 -0
- package/lib/generated/builders/task-base-if-builder.d.ts +14 -0
- package/lib/generated/builders/task-base-if-builder.d.ts.map +1 -0
- package/lib/generated/builders/task-base-timeout-builder.d.ts +14 -0
- package/lib/generated/builders/task-base-timeout-builder.d.ts.map +1 -0
- package/lib/generated/builders/task-builder.d.ts +14 -0
- package/lib/generated/builders/task-builder.d.ts.map +1 -0
- package/lib/generated/builders/task-item-builder.d.ts +14 -0
- package/lib/generated/builders/task-item-builder.d.ts.map +1 -0
- package/lib/generated/builders/task-list-builder.d.ts +14 -0
- package/lib/generated/builders/task-list-builder.d.ts.map +1 -0
- package/lib/generated/builders/task-metadata-builder.d.ts +14 -0
- package/lib/generated/builders/task-metadata-builder.d.ts.map +1 -0
- package/lib/generated/builders/timeout-builder.d.ts +14 -0
- package/lib/generated/builders/timeout-builder.d.ts.map +1 -0
- package/lib/generated/builders/try-task-builder.d.ts +14 -0
- package/lib/generated/builders/try-task-builder.d.ts.map +1 -0
- package/lib/generated/builders/try-task-catch-builder.d.ts +14 -0
- package/lib/generated/builders/try-task-catch-builder.d.ts.map +1 -0
- package/lib/generated/builders/try-task-catch-retry-builder.d.ts +14 -0
- package/lib/generated/builders/try-task-catch-retry-builder.d.ts.map +1 -0
- package/lib/generated/builders/uri-template-builder.d.ts +14 -0
- package/lib/generated/builders/uri-template-builder.d.ts.map +1 -0
- package/lib/generated/builders/use-authentications-builder.d.ts +14 -0
- package/lib/generated/builders/use-authentications-builder.d.ts.map +1 -0
- package/lib/generated/builders/use-builder.d.ts +14 -0
- package/lib/generated/builders/use-builder.d.ts.map +1 -0
- package/lib/generated/builders/use-catalogs-builder.d.ts +14 -0
- package/lib/generated/builders/use-catalogs-builder.d.ts.map +1 -0
- package/lib/generated/builders/use-errors-builder.d.ts +14 -0
- package/lib/generated/builders/use-errors-builder.d.ts.map +1 -0
- package/lib/generated/builders/use-extensions-builder.d.ts +14 -0
- package/lib/generated/builders/use-extensions-builder.d.ts.map +1 -0
- package/lib/generated/builders/use-functions-builder.d.ts +14 -0
- package/lib/generated/builders/use-functions-builder.d.ts.map +1 -0
- package/lib/generated/builders/use-retries-builder.d.ts +14 -0
- package/lib/generated/builders/use-retries-builder.d.ts.map +1 -0
- package/lib/generated/builders/use-secrets-builder.d.ts +14 -0
- package/lib/generated/builders/use-secrets-builder.d.ts.map +1 -0
- package/lib/generated/builders/use-timeouts-builder.d.ts +14 -0
- package/lib/generated/builders/use-timeouts-builder.d.ts.map +1 -0
- package/lib/generated/builders/wait-task-builder.d.ts +14 -0
- package/lib/generated/builders/wait-task-builder.d.ts.map +1 -0
- package/lib/generated/builders/with-async-api-payload-builder.d.ts +14 -0
- package/lib/generated/builders/with-async-api-payload-builder.d.ts.map +1 -0
- package/lib/generated/builders/with-event-builder.d.ts +14 -0
- package/lib/generated/builders/with-event-builder.d.ts.map +1 -0
- package/lib/generated/builders/with-grpc-arguments-builder.d.ts +14 -0
- package/lib/generated/builders/with-grpc-arguments-builder.d.ts.map +1 -0
- package/lib/generated/builders/with-grpc-service-builder.d.ts +14 -0
- package/lib/generated/builders/with-grpc-service-builder.d.ts.map +1 -0
- package/lib/generated/builders/with-http-body-builder.d.ts +14 -0
- package/lib/generated/builders/with-http-body-builder.d.ts.map +1 -0
- package/lib/generated/builders/with-http-headers-builder.d.ts +14 -0
- package/lib/generated/builders/with-http-headers-builder.d.ts.map +1 -0
- package/lib/generated/builders/with-http-query-builder.d.ts +14 -0
- package/lib/generated/builders/with-http-query-builder.d.ts.map +1 -0
- package/lib/generated/builders/with-open-api-parameters-builder.d.ts +14 -0
- package/lib/generated/builders/with-open-api-parameters-builder.d.ts.map +1 -0
- package/lib/generated/builders/workflow-builder.d.ts +14 -0
- package/lib/generated/builders/workflow-builder.d.ts.map +1 -0
- package/lib/generated/builders/workflow-metadata-builder.d.ts +14 -0
- package/lib/generated/builders/workflow-metadata-builder.d.ts.map +1 -0
- package/lib/generated/builders/workflow-tags-builder.d.ts +14 -0
- package/lib/generated/builders/workflow-tags-builder.d.ts.map +1 -0
- package/lib/generated/builders/workflow-timeout-builder.d.ts +14 -0
- package/lib/generated/builders/workflow-timeout-builder.d.ts.map +1 -0
- package/lib/generated/classes/all-event-consumption-strategy-configuration.d.ts +38 -0
- package/lib/generated/classes/all-event-consumption-strategy-configuration.d.ts.map +1 -0
- package/lib/generated/classes/all-event-consumption-strategy.d.ts +39 -0
- package/lib/generated/classes/all-event-consumption-strategy.d.ts.map +1 -0
- package/lib/generated/classes/any-event-consumption-strategy-configuration.d.ts +38 -0
- package/lib/generated/classes/any-event-consumption-strategy-configuration.d.ts.map +1 -0
- package/lib/generated/classes/any-event-consumption-strategy.d.ts +39 -0
- package/lib/generated/classes/any-event-consumption-strategy.d.ts.map +1 -0
- package/lib/generated/classes/async-api-arguments.d.ts +39 -0
- package/lib/generated/classes/async-api-arguments.d.ts.map +1 -0
- package/lib/generated/classes/authentication-policy-reference.d.ts +44 -0
- package/lib/generated/classes/authentication-policy-reference.d.ts.map +1 -0
- package/lib/generated/classes/authentication-policy.d.ts +39 -0
- package/lib/generated/classes/authentication-policy.d.ts.map +1 -0
- package/lib/generated/classes/basic-authentication-policy-configuration.d.ts +44 -0
- package/lib/generated/classes/basic-authentication-policy-configuration.d.ts.map +1 -0
- package/lib/generated/classes/basic-authentication-policy.d.ts +39 -0
- package/lib/generated/classes/basic-authentication-policy.d.ts.map +1 -0
- package/lib/generated/classes/basic-authentication-properties.d.ts +44 -0
- package/lib/generated/classes/basic-authentication-properties.d.ts.map +1 -0
- package/lib/generated/classes/bearer-authentication-policy-configuration.d.ts +44 -0
- package/lib/generated/classes/bearer-authentication-policy-configuration.d.ts.map +1 -0
- package/lib/generated/classes/bearer-authentication-policy.d.ts +39 -0
- package/lib/generated/classes/bearer-authentication-policy.d.ts.map +1 -0
- package/lib/generated/classes/bearer-authentication-properties.d.ts +44 -0
- package/lib/generated/classes/bearer-authentication-properties.d.ts.map +1 -0
- package/lib/generated/classes/call-async-api.d.ts +39 -0
- package/lib/generated/classes/call-async-api.d.ts.map +1 -0
- package/lib/generated/classes/call-function.d.ts +39 -0
- package/lib/generated/classes/call-function.d.ts.map +1 -0
- package/lib/generated/classes/call-grpc.d.ts +39 -0
- package/lib/generated/classes/call-grpc.d.ts.map +1 -0
- package/lib/generated/classes/call-http.d.ts +39 -0
- package/lib/generated/classes/call-http.d.ts.map +1 -0
- package/lib/generated/classes/call-open-api.d.ts +39 -0
- package/lib/generated/classes/call-open-api.d.ts.map +1 -0
- package/lib/generated/classes/call-task.d.ts +39 -0
- package/lib/generated/classes/call-task.d.ts.map +1 -0
- package/lib/generated/classes/catalog.d.ts +39 -0
- package/lib/generated/classes/catalog.d.ts.map +1 -0
- package/lib/generated/classes/catch-errors.d.ts +44 -0
- package/lib/generated/classes/catch-errors.d.ts.map +1 -0
- package/lib/generated/classes/constant-backoff.d.ts +44 -0
- package/lib/generated/classes/constant-backoff.d.ts.map +1 -0
- package/lib/generated/classes/container-environment.d.ts +44 -0
- package/lib/generated/classes/container-environment.d.ts.map +1 -0
- package/lib/generated/classes/container-ports.d.ts +44 -0
- package/lib/generated/classes/container-ports.d.ts.map +1 -0
- package/lib/generated/classes/container-volumes.d.ts +44 -0
- package/lib/generated/classes/container-volumes.d.ts.map +1 -0
- package/lib/generated/classes/container.d.ts +39 -0
- package/lib/generated/classes/container.d.ts.map +1 -0
- package/lib/generated/classes/digest-authentication-policy-configuration.d.ts +44 -0
- package/lib/generated/classes/digest-authentication-policy-configuration.d.ts.map +1 -0
- package/lib/generated/classes/digest-authentication-policy.d.ts +39 -0
- package/lib/generated/classes/digest-authentication-policy.d.ts.map +1 -0
- package/lib/generated/classes/digest-authentication-properties.d.ts +44 -0
- package/lib/generated/classes/digest-authentication-properties.d.ts.map +1 -0
- package/lib/generated/classes/do-task.d.ts +39 -0
- package/lib/generated/classes/do-task.d.ts.map +1 -0
- package/lib/generated/classes/document.d.ts +39 -0
- package/lib/generated/classes/document.d.ts.map +1 -0
- package/lib/generated/classes/duration-inline.d.ts +44 -0
- package/lib/generated/classes/duration-inline.d.ts.map +1 -0
- package/lib/generated/classes/duration.d.ts +44 -0
- package/lib/generated/classes/duration.d.ts.map +1 -0
- package/lib/generated/classes/emit-event-definition.d.ts +39 -0
- package/lib/generated/classes/emit-event-definition.d.ts.map +1 -0
- package/lib/generated/classes/emit-event-with.d.ts +44 -0
- package/lib/generated/classes/emit-event-with.d.ts.map +1 -0
- package/lib/generated/classes/emit-task-configuration.d.ts +39 -0
- package/lib/generated/classes/emit-task-configuration.d.ts.map +1 -0
- package/lib/generated/classes/emit-task.d.ts +39 -0
- package/lib/generated/classes/emit-task.d.ts.map +1 -0
- package/lib/generated/classes/endpoint-configuration.d.ts +39 -0
- package/lib/generated/classes/endpoint-configuration.d.ts.map +1 -0
- package/lib/generated/classes/endpoint-uri.d.ts +44 -0
- package/lib/generated/classes/endpoint-uri.d.ts.map +1 -0
- package/lib/generated/classes/endpoint.d.ts +39 -0
- package/lib/generated/classes/endpoint.d.ts.map +1 -0
- package/lib/generated/classes/error-instance.d.ts +44 -0
- package/lib/generated/classes/error-instance.d.ts.map +1 -0
- package/lib/generated/classes/error-type.d.ts +44 -0
- package/lib/generated/classes/error-type.d.ts.map +1 -0
- package/lib/generated/classes/error.d.ts +44 -0
- package/lib/generated/classes/error.d.ts.map +1 -0
- package/lib/generated/classes/event-consumption-strategy.d.ts +39 -0
- package/lib/generated/classes/event-consumption-strategy.d.ts.map +1 -0
- package/lib/generated/classes/event-dataschema.d.ts +44 -0
- package/lib/generated/classes/event-dataschema.d.ts.map +1 -0
- package/lib/generated/classes/event-filter-correlate.d.ts +44 -0
- package/lib/generated/classes/event-filter-correlate.d.ts.map +1 -0
- package/lib/generated/classes/event-filter.d.ts +39 -0
- package/lib/generated/classes/event-filter.d.ts.map +1 -0
- package/lib/generated/classes/event-source.d.ts +44 -0
- package/lib/generated/classes/event-source.d.ts.map +1 -0
- package/lib/generated/classes/event-time.d.ts +44 -0
- package/lib/generated/classes/event-time.d.ts.map +1 -0
- package/lib/generated/classes/exponential-back-off.d.ts +44 -0
- package/lib/generated/classes/exponential-back-off.d.ts.map +1 -0
- package/lib/generated/classes/export-as.d.ts +44 -0
- package/lib/generated/classes/export-as.d.ts.map +1 -0
- package/lib/generated/classes/export.d.ts +39 -0
- package/lib/generated/classes/export.d.ts.map +1 -0
- package/lib/generated/classes/extension-item.d.ts +39 -0
- package/lib/generated/classes/extension-item.d.ts.map +1 -0
- package/lib/generated/classes/extension.d.ts +39 -0
- package/lib/generated/classes/extension.d.ts.map +1 -0
- package/lib/generated/classes/external-resource.d.ts +39 -0
- package/lib/generated/classes/external-resource.d.ts.map +1 -0
- package/lib/generated/classes/external-script.d.ts +39 -0
- package/lib/generated/classes/external-script.d.ts.map +1 -0
- package/lib/generated/classes/flow-directive.d.ts +44 -0
- package/lib/generated/classes/flow-directive.d.ts.map +1 -0
- package/lib/generated/classes/for-task-configuration.d.ts +44 -0
- package/lib/generated/classes/for-task-configuration.d.ts.map +1 -0
- package/lib/generated/classes/for-task.d.ts +39 -0
- package/lib/generated/classes/for-task.d.ts.map +1 -0
- package/lib/generated/classes/fork-task-configuration.d.ts +39 -0
- package/lib/generated/classes/fork-task-configuration.d.ts.map +1 -0
- package/lib/generated/classes/fork-task.d.ts +39 -0
- package/lib/generated/classes/fork-task.d.ts.map +1 -0
- package/lib/generated/classes/function-arguments.d.ts +44 -0
- package/lib/generated/classes/function-arguments.d.ts.map +1 -0
- package/lib/generated/classes/grpc-arguments.d.ts +39 -0
- package/lib/generated/classes/grpc-arguments.d.ts.map +1 -0
- package/lib/generated/classes/http-arguments.d.ts +39 -0
- package/lib/generated/classes/http-arguments.d.ts.map +1 -0
- package/lib/generated/classes/index.d.ts +161 -0
- package/lib/generated/classes/index.d.ts.map +1 -0
- package/lib/generated/classes/inline-script.d.ts +44 -0
- package/lib/generated/classes/inline-script.d.ts.map +1 -0
- package/lib/generated/classes/input-from.d.ts +44 -0
- package/lib/generated/classes/input-from.d.ts.map +1 -0
- package/lib/generated/classes/input.d.ts +39 -0
- package/lib/generated/classes/input.d.ts.map +1 -0
- package/lib/generated/classes/linear-backoff.d.ts +44 -0
- package/lib/generated/classes/linear-backoff.d.ts.map +1 -0
- package/lib/generated/classes/listen-task-configuration.d.ts +39 -0
- package/lib/generated/classes/listen-task-configuration.d.ts.map +1 -0
- package/lib/generated/classes/listen-task.d.ts +39 -0
- package/lib/generated/classes/listen-task.d.ts.map +1 -0
- package/lib/generated/classes/oauth2-autenthication-data-audiences.d.ts +43 -0
- package/lib/generated/classes/oauth2-autenthication-data-audiences.d.ts.map +1 -0
- package/lib/generated/classes/oauth2-autenthication-data-client.d.ts +44 -0
- package/lib/generated/classes/oauth2-autenthication-data-client.d.ts.map +1 -0
- package/lib/generated/classes/oauth2-autenthication-data-scopes.d.ts +43 -0
- package/lib/generated/classes/oauth2-autenthication-data-scopes.d.ts.map +1 -0
- package/lib/generated/classes/oauth2-autenthication-data.d.ts +39 -0
- package/lib/generated/classes/oauth2-autenthication-data.d.ts.map +1 -0
- package/lib/generated/classes/oauth2-authentication-policy-configuration.d.ts +39 -0
- package/lib/generated/classes/oauth2-authentication-policy-configuration.d.ts.map +1 -0
- package/lib/generated/classes/oauth2-authentication-policy.d.ts +39 -0
- package/lib/generated/classes/oauth2-authentication-policy.d.ts.map +1 -0
- package/lib/generated/classes/oauth2-authentication-properties-endpoints.d.ts +44 -0
- package/lib/generated/classes/oauth2-authentication-properties-endpoints.d.ts.map +1 -0
- package/lib/generated/classes/oauth2-connect-authentication-properties.d.ts +39 -0
- package/lib/generated/classes/oauth2-connect-authentication-properties.d.ts.map +1 -0
- package/lib/generated/classes/oauth2-issuers.d.ts +43 -0
- package/lib/generated/classes/oauth2-issuers.d.ts.map +1 -0
- package/lib/generated/classes/oauth2-token-definition.d.ts +44 -0
- package/lib/generated/classes/oauth2-token-definition.d.ts.map +1 -0
- package/lib/generated/classes/oauth2-token-request.d.ts +44 -0
- package/lib/generated/classes/oauth2-token-request.d.ts.map +1 -0
- package/lib/generated/classes/one-event-consumption-strategy.d.ts +39 -0
- package/lib/generated/classes/one-event-consumption-strategy.d.ts.map +1 -0
- package/lib/generated/classes/open-api-arguments.d.ts +39 -0
- package/lib/generated/classes/open-api-arguments.d.ts.map +1 -0
- package/lib/generated/classes/open-id-connect-authentication-policy-configuration.d.ts +39 -0
- package/lib/generated/classes/open-id-connect-authentication-policy-configuration.d.ts.map +1 -0
- package/lib/generated/classes/open-id-connect-authentication-policy.d.ts +39 -0
- package/lib/generated/classes/open-id-connect-authentication-policy.d.ts.map +1 -0
- package/lib/generated/classes/open-id-connect-authentication-properties.d.ts +39 -0
- package/lib/generated/classes/open-id-connect-authentication-properties.d.ts.map +1 -0
- package/lib/generated/classes/output-as.d.ts +44 -0
- package/lib/generated/classes/output-as.d.ts.map +1 -0
- package/lib/generated/classes/output.d.ts +39 -0
- package/lib/generated/classes/output.d.ts.map +1 -0
- package/lib/generated/classes/raise-task-configuration.d.ts +39 -0
- package/lib/generated/classes/raise-task-configuration.d.ts.map +1 -0
- package/lib/generated/classes/raise-task-raise-error.d.ts +44 -0
- package/lib/generated/classes/raise-task-raise-error.d.ts.map +1 -0
- package/lib/generated/classes/raise-task.d.ts +39 -0
- package/lib/generated/classes/raise-task.d.ts.map +1 -0
- package/lib/generated/classes/referenceable-authentication-policy.d.ts +39 -0
- package/lib/generated/classes/referenceable-authentication-policy.d.ts.map +1 -0
- package/lib/generated/classes/retry-backoff.d.ts +44 -0
- package/lib/generated/classes/retry-backoff.d.ts.map +1 -0
- package/lib/generated/classes/retry-limit-attempt.d.ts +39 -0
- package/lib/generated/classes/retry-limit-attempt.d.ts.map +1 -0
- package/lib/generated/classes/retry-limit.d.ts +39 -0
- package/lib/generated/classes/retry-limit.d.ts.map +1 -0
- package/lib/generated/classes/retry-policy-jitter.d.ts +39 -0
- package/lib/generated/classes/retry-policy-jitter.d.ts.map +1 -0
- package/lib/generated/classes/retry-policy.d.ts +39 -0
- package/lib/generated/classes/retry-policy.d.ts.map +1 -0
- package/lib/generated/classes/run-container.d.ts +39 -0
- package/lib/generated/classes/run-container.d.ts.map +1 -0
- package/lib/generated/classes/run-script.d.ts +39 -0
- package/lib/generated/classes/run-script.d.ts.map +1 -0
- package/lib/generated/classes/run-shell.d.ts +39 -0
- package/lib/generated/classes/run-shell.d.ts.map +1 -0
- package/lib/generated/classes/run-task-configuration.d.ts +39 -0
- package/lib/generated/classes/run-task-configuration.d.ts.map +1 -0
- package/lib/generated/classes/run-task.d.ts +39 -0
- package/lib/generated/classes/run-task.d.ts.map +1 -0
- package/lib/generated/classes/run-workflow.d.ts +39 -0
- package/lib/generated/classes/run-workflow.d.ts.map +1 -0
- package/lib/generated/classes/runtime-expression.d.ts +44 -0
- package/lib/generated/classes/runtime-expression.d.ts.map +1 -0
- package/lib/generated/classes/schedule.d.ts +39 -0
- package/lib/generated/classes/schedule.d.ts.map +1 -0
- package/lib/generated/classes/schema-external.d.ts +39 -0
- package/lib/generated/classes/schema-external.d.ts.map +1 -0
- package/lib/generated/classes/schema-inline.d.ts +44 -0
- package/lib/generated/classes/schema-inline.d.ts.map +1 -0
- package/lib/generated/classes/schema.d.ts +39 -0
- package/lib/generated/classes/schema.d.ts.map +1 -0
- package/lib/generated/classes/script.d.ts +39 -0
- package/lib/generated/classes/script.d.ts.map +1 -0
- package/lib/generated/classes/secret-based-authentication-policy.d.ts +44 -0
- package/lib/generated/classes/secret-based-authentication-policy.d.ts.map +1 -0
- package/lib/generated/classes/set-task-configuration.d.ts +44 -0
- package/lib/generated/classes/set-task-configuration.d.ts.map +1 -0
- package/lib/generated/classes/set-task.d.ts +39 -0
- package/lib/generated/classes/set-task.d.ts.map +1 -0
- package/lib/generated/classes/shell-arguments.d.ts +44 -0
- package/lib/generated/classes/shell-arguments.d.ts.map +1 -0
- package/lib/generated/classes/shell-environment.d.ts +44 -0
- package/lib/generated/classes/shell-environment.d.ts.map +1 -0
- package/lib/generated/classes/shell.d.ts +39 -0
- package/lib/generated/classes/shell.d.ts.map +1 -0
- package/lib/generated/classes/subflow-configuration.d.ts +39 -0
- package/lib/generated/classes/subflow-configuration.d.ts.map +1 -0
- package/lib/generated/classes/subflow-input.d.ts +44 -0
- package/lib/generated/classes/subflow-input.d.ts.map +1 -0
- package/lib/generated/classes/switch-case.d.ts +44 -0
- package/lib/generated/classes/switch-case.d.ts.map +1 -0
- package/lib/generated/classes/switch-item.d.ts +39 -0
- package/lib/generated/classes/switch-item.d.ts.map +1 -0
- package/lib/generated/classes/switch-task-configuration.d.ts +38 -0
- package/lib/generated/classes/switch-task-configuration.d.ts.map +1 -0
- package/lib/generated/classes/switch-task.d.ts +39 -0
- package/lib/generated/classes/switch-task.d.ts.map +1 -0
- package/lib/generated/classes/task-base-if.d.ts +44 -0
- package/lib/generated/classes/task-base-if.d.ts.map +1 -0
- package/lib/generated/classes/task-base-timeout.d.ts +39 -0
- package/lib/generated/classes/task-base-timeout.d.ts.map +1 -0
- package/lib/generated/classes/task-base.d.ts +39 -0
- package/lib/generated/classes/task-base.d.ts.map +1 -0
- package/lib/generated/classes/task-item.d.ts +39 -0
- package/lib/generated/classes/task-item.d.ts.map +1 -0
- package/lib/generated/classes/task-list.d.ts +38 -0
- package/lib/generated/classes/task-list.d.ts.map +1 -0
- package/lib/generated/classes/task-metadata.d.ts +44 -0
- package/lib/generated/classes/task-metadata.d.ts.map +1 -0
- package/lib/generated/classes/task.d.ts +39 -0
- package/lib/generated/classes/task.d.ts.map +1 -0
- package/lib/generated/classes/timeout.d.ts +39 -0
- package/lib/generated/classes/timeout.d.ts.map +1 -0
- package/lib/generated/classes/try-task-catch-retry.d.ts +39 -0
- package/lib/generated/classes/try-task-catch-retry.d.ts.map +1 -0
- package/lib/generated/classes/try-task-catch.d.ts +39 -0
- package/lib/generated/classes/try-task-catch.d.ts.map +1 -0
- package/lib/generated/classes/try-task.d.ts +39 -0
- package/lib/generated/classes/try-task.d.ts.map +1 -0
- package/lib/generated/classes/uri-template.d.ts +44 -0
- package/lib/generated/classes/uri-template.d.ts.map +1 -0
- package/lib/generated/classes/use-authentications.d.ts +39 -0
- package/lib/generated/classes/use-authentications.d.ts.map +1 -0
- package/lib/generated/classes/use-catalogs.d.ts +39 -0
- package/lib/generated/classes/use-catalogs.d.ts.map +1 -0
- package/lib/generated/classes/use-errors.d.ts +39 -0
- package/lib/generated/classes/use-errors.d.ts.map +1 -0
- package/lib/generated/classes/use-extensions.d.ts +38 -0
- package/lib/generated/classes/use-extensions.d.ts.map +1 -0
- package/lib/generated/classes/use-functions.d.ts +39 -0
- package/lib/generated/classes/use-functions.d.ts.map +1 -0
- package/lib/generated/classes/use-retries.d.ts +39 -0
- package/lib/generated/classes/use-retries.d.ts.map +1 -0
- package/lib/generated/classes/use-secrets.d.ts +43 -0
- package/lib/generated/classes/use-secrets.d.ts.map +1 -0
- package/lib/generated/classes/use-timeouts.d.ts +39 -0
- package/lib/generated/classes/use-timeouts.d.ts.map +1 -0
- package/lib/generated/classes/use.d.ts +39 -0
- package/lib/generated/classes/use.d.ts.map +1 -0
- package/lib/generated/classes/wait-task.d.ts +39 -0
- package/lib/generated/classes/wait-task.d.ts.map +1 -0
- package/lib/generated/classes/with-async-api-payload.d.ts +44 -0
- package/lib/generated/classes/with-async-api-payload.d.ts.map +1 -0
- package/lib/generated/classes/with-event.d.ts +44 -0
- package/lib/generated/classes/with-event.d.ts.map +1 -0
- package/lib/generated/classes/with-grpc-arguments.d.ts +44 -0
- package/lib/generated/classes/with-grpc-arguments.d.ts.map +1 -0
- package/lib/generated/classes/with-grpc-service.d.ts +39 -0
- package/lib/generated/classes/with-grpc-service.d.ts.map +1 -0
- package/lib/generated/classes/with-http-body.d.ts +44 -0
- package/lib/generated/classes/with-http-body.d.ts.map +1 -0
- package/lib/generated/classes/with-http-headers.d.ts +44 -0
- package/lib/generated/classes/with-http-headers.d.ts.map +1 -0
- package/lib/generated/classes/with-http-query.d.ts +44 -0
- package/lib/generated/classes/with-http-query.d.ts.map +1 -0
- package/lib/generated/classes/with-open-api-parameters.d.ts +44 -0
- package/lib/generated/classes/with-open-api-parameters.d.ts.map +1 -0
- package/lib/generated/classes/workflow-metadata.d.ts +44 -0
- package/lib/generated/classes/workflow-metadata.d.ts.map +1 -0
- package/lib/generated/classes/workflow-tags.d.ts +44 -0
- package/lib/generated/classes/workflow-tags.d.ts.map +1 -0
- package/lib/generated/classes/workflow-timeout.d.ts +39 -0
- package/lib/generated/classes/workflow-timeout.d.ts.map +1 -0
- package/lib/generated/classes/workflow.d.ts +63 -0
- package/lib/generated/classes/workflow.d.ts.map +1 -0
- package/lib/generated/definitions/index.d.ts +2 -0
- package/lib/generated/definitions/index.d.ts.map +1 -0
- package/lib/generated/definitions/specification.d.ts +1257 -0
- package/lib/generated/definitions/specification.d.ts.map +1 -0
- package/lib/generated/validation/index.d.ts +2 -0
- package/lib/generated/validation/index.d.ts.map +1 -0
- package/lib/generated/validation/validation-pointers.d.ts +166 -0
- package/lib/generated/validation/validation-pointers.d.ts.map +1 -0
- package/lib/hooks/index.d.ts +2 -0
- package/lib/hooks/index.d.ts.map +1 -0
- package/lib/hooks/workflow-hooks.d.ts +4 -0
- package/lib/hooks/workflow-hooks.d.ts.map +1 -0
- package/lib/hydrator.d.ts +13 -0
- package/lib/hydrator.d.ts.map +1 -0
- package/lib/lifecycle-hooks.d.ts +42 -0
- package/lib/lifecycle-hooks.d.ts.map +1 -0
- package/lib/utils.d.ts +19 -0
- package/lib/utils.d.ts.map +1 -0
- package/lib/validation.d.ts +10 -0
- package/lib/validation.d.ts.map +1 -0
- package/package.json +93 -0
- package/serverless-workflow-sdk.d.ts +5 -0
- package/serverless-workflow-sdk.d.ts.map +1 -0
- package/systemjs/index.systemjs.js +29811 -0
- package/systemjs/index.systemjs.js.map +1 -0
- package/systemjs/index.systemjs.min.js +10 -0
- package/systemjs/index.systemjs.min.js.map +1 -0
- package/umd/index.umd.js +29970 -0
- package/umd/index.umd.js.map +1 -0
- package/umd/index.umd.min.js +10 -0
- package/umd/index.umd.min.js.map +1 -0
|
@@ -0,0 +1,1257 @@
|
|
|
1
|
+
/*****************************************************************************************
|
|
2
|
+
*
|
|
3
|
+
* /!\ This file is computer generated. Any manual modification can and will be lost. /!\
|
|
4
|
+
*
|
|
5
|
+
*****************************************************************************************/
|
|
6
|
+
/**
|
|
7
|
+
* Represents the definition of a schema.
|
|
8
|
+
*/
|
|
9
|
+
export type Schema = SchemaInline | SchemaExternal;
|
|
10
|
+
/**
|
|
11
|
+
* Represents an endpoint.
|
|
12
|
+
*/
|
|
13
|
+
export type Endpoint = RuntimeExpression | UriTemplate | EndpointConfiguration;
|
|
14
|
+
/**
|
|
15
|
+
* A runtime expression.
|
|
16
|
+
*/
|
|
17
|
+
export type RuntimeExpression = string;
|
|
18
|
+
export type UriTemplate = string;
|
|
19
|
+
/**
|
|
20
|
+
* The endpoint's URI.
|
|
21
|
+
*/
|
|
22
|
+
export type EndpointUri = UriTemplate | RuntimeExpression;
|
|
23
|
+
/**
|
|
24
|
+
* Represents a referenceable authentication policy.
|
|
25
|
+
*/
|
|
26
|
+
export type ReferenceableAuthenticationPolicy = AuthenticationPolicyReference | AuthenticationPolicy;
|
|
27
|
+
/**
|
|
28
|
+
* Defines an authentication policy.
|
|
29
|
+
*/
|
|
30
|
+
export type AuthenticationPolicy = BasicAuthenticationPolicy | BearerAuthenticationPolicy | DigestAuthenticationPolicy | OAuth2AuthenticationPolicy | OpenIdConnectAuthenticationPolicy;
|
|
31
|
+
/**
|
|
32
|
+
* The configuration of the basic authentication policy.
|
|
33
|
+
*/
|
|
34
|
+
export type BasicAuthenticationPolicyConfiguration = BasicAuthenticationProperties | SecretBasedAuthenticationPolicy;
|
|
35
|
+
/**
|
|
36
|
+
* The configuration of the bearer authentication policy.
|
|
37
|
+
*/
|
|
38
|
+
export type BearerAuthenticationPolicyConfiguration = BearerAuthenticationProperties | SecretBasedAuthenticationPolicy;
|
|
39
|
+
/**
|
|
40
|
+
* The configuration of the digest authentication policy.
|
|
41
|
+
*/
|
|
42
|
+
export type DigestAuthenticationPolicyConfiguration = DigestAuthenticationProperties | SecretBasedAuthenticationPolicy;
|
|
43
|
+
/**
|
|
44
|
+
* The configuration of the OAuth2 authentication policy.
|
|
45
|
+
*/
|
|
46
|
+
export type OAuth2AuthenticationPolicyConfiguration = OAuth2ConnectAuthenticationProperties | SecretBasedAuthenticationPolicy;
|
|
47
|
+
/**
|
|
48
|
+
* The inline configuration of the OAuth2 authentication policy.
|
|
49
|
+
*/
|
|
50
|
+
export type OAuth2ConnectAuthenticationProperties = OAuth2AutenthicationData & {
|
|
51
|
+
endpoints?: OAuth2AuthenticationPropertiesEndpoints;
|
|
52
|
+
[k: string]: unknown;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* A list that contains that contains valid issuers that will be used to check against the issuer of generated tokens.
|
|
56
|
+
*/
|
|
57
|
+
export type OAuth2Issuers = string[];
|
|
58
|
+
/**
|
|
59
|
+
* The scopes, if any, to request the token for.
|
|
60
|
+
*/
|
|
61
|
+
export type OAuth2AutenthicationDataScopes = string[];
|
|
62
|
+
/**
|
|
63
|
+
* The audiences, if any, to request the token for.
|
|
64
|
+
*/
|
|
65
|
+
export type OAuth2AutenthicationDataAudiences = string[];
|
|
66
|
+
/**
|
|
67
|
+
* The configuration of the OpenIdConnect authentication policy.
|
|
68
|
+
*/
|
|
69
|
+
export type OpenIdConnectAuthenticationPolicyConfiguration = OpenIdConnectAuthenticationProperties | SecretBasedAuthenticationPolicy;
|
|
70
|
+
/**
|
|
71
|
+
* A runtime expression, if any, used to mutate and/or filter the input of the workflow or task.
|
|
72
|
+
*/
|
|
73
|
+
export type InputFrom = string | {
|
|
74
|
+
[k: string]: unknown;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* A URI reference that identifies the error type.
|
|
78
|
+
*/
|
|
79
|
+
export type ErrorType = UriTemplate | RuntimeExpression;
|
|
80
|
+
/**
|
|
81
|
+
* A JSON Pointer used to reference the component the error originates from.
|
|
82
|
+
*/
|
|
83
|
+
export type ErrorInstance = RuntimeExpression;
|
|
84
|
+
/**
|
|
85
|
+
* A discrete unit of work that contributes to achieving the overall objectives defined by the workflow.
|
|
86
|
+
*/
|
|
87
|
+
export type Task = CallTask | DoTask | ForkTask | EmitTask | ForTask | ListenTask | RaiseTask | RunTask | SetTask | SwitchTask | TryTask | WaitTask;
|
|
88
|
+
/**
|
|
89
|
+
* Defines the call to perform.
|
|
90
|
+
*/
|
|
91
|
+
export type CallTask = CallAsyncAPI | CallGRPC | CallHTTP | CallOpenAPI | CallFunction;
|
|
92
|
+
/**
|
|
93
|
+
* Defines the AsyncAPI call to perform.
|
|
94
|
+
*/
|
|
95
|
+
export type CallAsyncAPI = TaskBase & {
|
|
96
|
+
call?: 'asyncapi';
|
|
97
|
+
with?: AsyncApiArguments;
|
|
98
|
+
[k: string]: unknown;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* A runtime expression, if any, used to determine whether or not the task should be run.
|
|
102
|
+
*/
|
|
103
|
+
export type TaskBaseIf = string;
|
|
104
|
+
/**
|
|
105
|
+
* A runtime expression, if any, used to mutate and/or filter the output of the workflow or task.
|
|
106
|
+
*/
|
|
107
|
+
export type OutputAs = string | {
|
|
108
|
+
[k: string]: unknown;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* A runtime expression, if any, used to export the output data to the context.
|
|
112
|
+
*/
|
|
113
|
+
export type ExportAs = string | {
|
|
114
|
+
[k: string]: unknown;
|
|
115
|
+
};
|
|
116
|
+
export type TaskBaseTimeout = Timeout | string;
|
|
117
|
+
export type Duration = DurationInline | string;
|
|
118
|
+
/**
|
|
119
|
+
* Represents different transition options for a workflow.
|
|
120
|
+
*/
|
|
121
|
+
export type FlowDirective = ('continue' | 'exit' | 'end') | string;
|
|
122
|
+
/**
|
|
123
|
+
* Defines the GRPC call to perform.
|
|
124
|
+
*/
|
|
125
|
+
export type CallGRPC = TaskBase & {
|
|
126
|
+
call?: 'grpc';
|
|
127
|
+
with?: GRPCArguments;
|
|
128
|
+
[k: string]: unknown;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Defines the HTTP call to perform.
|
|
132
|
+
*/
|
|
133
|
+
export type CallHTTP = TaskBase & {
|
|
134
|
+
call?: 'http';
|
|
135
|
+
with?: HTTPArguments;
|
|
136
|
+
[k: string]: unknown;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Defines the OpenAPI call to perform.
|
|
140
|
+
*/
|
|
141
|
+
export type CallOpenAPI = TaskBase & {
|
|
142
|
+
call?: 'openapi';
|
|
143
|
+
with?: OpenAPIArguments;
|
|
144
|
+
[k: string]: unknown;
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* Defines the function call to perform.
|
|
148
|
+
*/
|
|
149
|
+
export type CallFunction = TaskBase & {
|
|
150
|
+
/**
|
|
151
|
+
* The name of the function to call.
|
|
152
|
+
*/
|
|
153
|
+
call?: string;
|
|
154
|
+
with?: FunctionArguments;
|
|
155
|
+
[k: string]: unknown;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Allows to execute a list of tasks in sequence.
|
|
159
|
+
*/
|
|
160
|
+
export type DoTask = TaskBase & {
|
|
161
|
+
do?: TaskList;
|
|
162
|
+
[k: string]: unknown;
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* Allows workflows to execute multiple tasks concurrently and optionally race them against each other, with a single possible winner, which sets the task's output.
|
|
166
|
+
*/
|
|
167
|
+
export type ForkTask = TaskBase & {
|
|
168
|
+
fork?: ForkTaskConfiguration;
|
|
169
|
+
[k: string]: unknown;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* Allows workflows to publish events to event brokers or messaging systems, facilitating communication and coordination between different components and services.
|
|
173
|
+
*/
|
|
174
|
+
export type EmitTask = TaskBase & {
|
|
175
|
+
emit?: EmitTaskConfiguration;
|
|
176
|
+
[k: string]: unknown;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* Identifies the context in which an event happened.
|
|
180
|
+
*/
|
|
181
|
+
export type EventSource = UriTemplate | RuntimeExpression;
|
|
182
|
+
/**
|
|
183
|
+
* When the event occured.
|
|
184
|
+
*/
|
|
185
|
+
export type EventTime = RuntimeExpression;
|
|
186
|
+
/**
|
|
187
|
+
* The schema describing the event format.
|
|
188
|
+
*/
|
|
189
|
+
export type EventDataschema = UriTemplate | RuntimeExpression;
|
|
190
|
+
/**
|
|
191
|
+
* Allows workflows to iterate over a collection of items, executing a defined set of subtasks for each item in the collection. This task type is instrumental in handling scenarios such as batch processing, data transformation, and repetitive operations across datasets.
|
|
192
|
+
*/
|
|
193
|
+
export type ForTask = TaskBase & {
|
|
194
|
+
for?: ForTaskConfiguration;
|
|
195
|
+
/**
|
|
196
|
+
* A runtime expression that represents the condition, if any, that must be met for the iteration to continue.
|
|
197
|
+
*/
|
|
198
|
+
while?: string;
|
|
199
|
+
do?: TaskList;
|
|
200
|
+
[k: string]: unknown;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Provides a mechanism for workflows to await and react to external events, enabling event-driven behavior within workflow systems.
|
|
204
|
+
*/
|
|
205
|
+
export type ListenTask = TaskBase & {
|
|
206
|
+
listen?: ListenTaskConfiguration;
|
|
207
|
+
[k: string]: unknown;
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
* Describe the event consumption strategy to adopt.
|
|
211
|
+
*/
|
|
212
|
+
export type EventConsumptionStrategy = AllEventConsumptionStrategy | AnyEventConsumptionStrategy | OneEventConsumptionStrategy;
|
|
213
|
+
/**
|
|
214
|
+
* A list containing all the events that must be consumed.
|
|
215
|
+
*/
|
|
216
|
+
export type AllEventConsumptionStrategyConfiguration = EventFilter[];
|
|
217
|
+
/**
|
|
218
|
+
* A list containing any of the events to consume.
|
|
219
|
+
*/
|
|
220
|
+
export type AnyEventConsumptionStrategyConfiguration = EventFilter[];
|
|
221
|
+
/**
|
|
222
|
+
* Intentionally triggers and propagates errors.
|
|
223
|
+
*/
|
|
224
|
+
export type RaiseTask = TaskBase & {
|
|
225
|
+
raise?: RaiseTaskConfiguration;
|
|
226
|
+
[k: string]: unknown;
|
|
227
|
+
};
|
|
228
|
+
export type RaiseTaskRaiseError = Error | string;
|
|
229
|
+
/**
|
|
230
|
+
* Provides the capability to execute external containers, shell commands, scripts, or workflows.
|
|
231
|
+
*/
|
|
232
|
+
export type RunTask = TaskBase & {
|
|
233
|
+
run?: RunTaskConfiguration;
|
|
234
|
+
[k: string]: unknown;
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* The configuration of the process to execute.
|
|
238
|
+
*/
|
|
239
|
+
export type RunTaskConfiguration = RunContainer | RunScript | RunShell | RunWorkflow;
|
|
240
|
+
/**
|
|
241
|
+
* The configuration of the script to run.
|
|
242
|
+
*/
|
|
243
|
+
export type Script = InlineScript | ExternalScript;
|
|
244
|
+
/**
|
|
245
|
+
* A task used to set data.
|
|
246
|
+
*/
|
|
247
|
+
export type SetTask = TaskBase & {
|
|
248
|
+
set?: SetTaskConfiguration;
|
|
249
|
+
[k: string]: unknown;
|
|
250
|
+
};
|
|
251
|
+
/**
|
|
252
|
+
* Enables conditional branching within workflows, allowing them to dynamically select different paths based on specified conditions or criteria.
|
|
253
|
+
*/
|
|
254
|
+
export type SwitchTask = TaskBase & {
|
|
255
|
+
switch?: SwitchTaskConfiguration;
|
|
256
|
+
[k: string]: unknown;
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* The definition of the switch to use.
|
|
260
|
+
*
|
|
261
|
+
* @minItems 1
|
|
262
|
+
*/
|
|
263
|
+
export type SwitchTaskConfiguration = [SwitchItem, ...SwitchItem[]];
|
|
264
|
+
/**
|
|
265
|
+
* Serves as a mechanism within workflows to handle errors gracefully, potentially retrying failed tasks before proceeding with alternate ones.
|
|
266
|
+
*/
|
|
267
|
+
export type TryTask = TaskBase & {
|
|
268
|
+
try?: TaskList;
|
|
269
|
+
catch?: TryTaskCatch;
|
|
270
|
+
[k: string]: unknown;
|
|
271
|
+
};
|
|
272
|
+
export type TryTaskCatchRetry = RetryPolicy | string;
|
|
273
|
+
/**
|
|
274
|
+
* The retry duration backoff.
|
|
275
|
+
*/
|
|
276
|
+
export type RetryBackoff = ConstantBackoff | ExponentialBackOff | LinearBackoff;
|
|
277
|
+
/**
|
|
278
|
+
* Allows workflows to pause or delay their execution for a specified period of time.
|
|
279
|
+
*/
|
|
280
|
+
export type WaitTask = TaskBase & {
|
|
281
|
+
wait?: Duration;
|
|
282
|
+
[k: string]: unknown;
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* List of named tasks to perform.
|
|
286
|
+
*/
|
|
287
|
+
export type TaskList = TaskItem[];
|
|
288
|
+
/**
|
|
289
|
+
* The workflow's extensions.
|
|
290
|
+
*/
|
|
291
|
+
export type UseExtensions = ExtensionItem[];
|
|
292
|
+
/**
|
|
293
|
+
* The workflow's reusable secrets.
|
|
294
|
+
*/
|
|
295
|
+
export type UseSecrets = string[];
|
|
296
|
+
export type WorkflowTimeout = Timeout | string;
|
|
297
|
+
/**
|
|
298
|
+
* Serverless Workflow DSL - Workflow Schema.
|
|
299
|
+
*/
|
|
300
|
+
export interface Workflow {
|
|
301
|
+
document: Document;
|
|
302
|
+
input?: Input;
|
|
303
|
+
use?: Use;
|
|
304
|
+
do: TaskList;
|
|
305
|
+
timeout?: WorkflowTimeout;
|
|
306
|
+
output?: Output;
|
|
307
|
+
schedule?: Schedule;
|
|
308
|
+
[k: string]: unknown;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Documents the workflow.
|
|
312
|
+
*/
|
|
313
|
+
export interface Document {
|
|
314
|
+
/**
|
|
315
|
+
* The version of the DSL used by the workflow.
|
|
316
|
+
*/
|
|
317
|
+
dsl: string;
|
|
318
|
+
/**
|
|
319
|
+
* The workflow's namespace.
|
|
320
|
+
*/
|
|
321
|
+
namespace: string;
|
|
322
|
+
/**
|
|
323
|
+
* The workflow's name.
|
|
324
|
+
*/
|
|
325
|
+
name: string;
|
|
326
|
+
/**
|
|
327
|
+
* The workflow's semantic version.
|
|
328
|
+
*/
|
|
329
|
+
version: string;
|
|
330
|
+
/**
|
|
331
|
+
* The workflow's title.
|
|
332
|
+
*/
|
|
333
|
+
title?: string;
|
|
334
|
+
/**
|
|
335
|
+
* The workflow's Markdown summary.
|
|
336
|
+
*/
|
|
337
|
+
summary?: string;
|
|
338
|
+
tags?: WorkflowTags;
|
|
339
|
+
metadata?: WorkflowMetadata;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* A key/value mapping of the workflow's tags, if any.
|
|
343
|
+
*/
|
|
344
|
+
export interface WorkflowTags {
|
|
345
|
+
[k: string]: unknown;
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Holds additional information about the workflow.
|
|
349
|
+
*/
|
|
350
|
+
export interface WorkflowMetadata {
|
|
351
|
+
[k: string]: unknown;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* Configures the input of a workflow or task.
|
|
355
|
+
*/
|
|
356
|
+
export interface Input {
|
|
357
|
+
schema?: Schema;
|
|
358
|
+
from?: InputFrom;
|
|
359
|
+
}
|
|
360
|
+
export interface SchemaInline {
|
|
361
|
+
/**
|
|
362
|
+
* The schema's inline definition.
|
|
363
|
+
*/
|
|
364
|
+
document: {
|
|
365
|
+
[k: string]: unknown;
|
|
366
|
+
};
|
|
367
|
+
[k: string]: unknown;
|
|
368
|
+
}
|
|
369
|
+
export interface SchemaExternal {
|
|
370
|
+
resource: ExternalResource;
|
|
371
|
+
[k: string]: unknown;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* Represents an external resource.
|
|
375
|
+
*/
|
|
376
|
+
export interface ExternalResource {
|
|
377
|
+
/**
|
|
378
|
+
* The name of the external resource, if any.
|
|
379
|
+
*/
|
|
380
|
+
name?: string;
|
|
381
|
+
endpoint: Endpoint;
|
|
382
|
+
}
|
|
383
|
+
export interface EndpointConfiguration {
|
|
384
|
+
uri: EndpointUri;
|
|
385
|
+
authentication?: ReferenceableAuthenticationPolicy;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* The reference of the authentication policy to use.
|
|
389
|
+
*/
|
|
390
|
+
export interface AuthenticationPolicyReference {
|
|
391
|
+
/**
|
|
392
|
+
* The name of the authentication policy to use.
|
|
393
|
+
*/
|
|
394
|
+
use: string;
|
|
395
|
+
[k: string]: unknown;
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* Use basic authentication.
|
|
399
|
+
*/
|
|
400
|
+
export interface BasicAuthenticationPolicy {
|
|
401
|
+
basic: BasicAuthenticationPolicyConfiguration;
|
|
402
|
+
[k: string]: unknown;
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Inline configuration of the basic authentication policy.
|
|
406
|
+
*/
|
|
407
|
+
export interface BasicAuthenticationProperties {
|
|
408
|
+
/**
|
|
409
|
+
* The username to use.
|
|
410
|
+
*/
|
|
411
|
+
username: string;
|
|
412
|
+
/**
|
|
413
|
+
* The password to use.
|
|
414
|
+
*/
|
|
415
|
+
password: string;
|
|
416
|
+
[k: string]: unknown;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* Represents an authentication policy based on secrets.
|
|
420
|
+
*/
|
|
421
|
+
export interface SecretBasedAuthenticationPolicy {
|
|
422
|
+
/**
|
|
423
|
+
* The name of the authentication policy to use.
|
|
424
|
+
*/
|
|
425
|
+
use: string;
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* Use bearer authentication.
|
|
429
|
+
*/
|
|
430
|
+
export interface BearerAuthenticationPolicy {
|
|
431
|
+
bearer: BearerAuthenticationPolicyConfiguration;
|
|
432
|
+
[k: string]: unknown;
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* Inline configuration of the bearer authentication policy.
|
|
436
|
+
*/
|
|
437
|
+
export interface BearerAuthenticationProperties {
|
|
438
|
+
/**
|
|
439
|
+
* The bearer token to use.
|
|
440
|
+
*/
|
|
441
|
+
token: string;
|
|
442
|
+
[k: string]: unknown;
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* Use digest authentication.
|
|
446
|
+
*/
|
|
447
|
+
export interface DigestAuthenticationPolicy {
|
|
448
|
+
digest: DigestAuthenticationPolicyConfiguration;
|
|
449
|
+
[k: string]: unknown;
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Inline configuration of the digest authentication policy.
|
|
453
|
+
*/
|
|
454
|
+
export interface DigestAuthenticationProperties {
|
|
455
|
+
/**
|
|
456
|
+
* The username to use.
|
|
457
|
+
*/
|
|
458
|
+
username: string;
|
|
459
|
+
/**
|
|
460
|
+
* The password to use.
|
|
461
|
+
*/
|
|
462
|
+
password: string;
|
|
463
|
+
[k: string]: unknown;
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Use OAuth2 authentication.
|
|
467
|
+
*/
|
|
468
|
+
export interface OAuth2AuthenticationPolicy {
|
|
469
|
+
oauth2: OAuth2AuthenticationPolicyConfiguration;
|
|
470
|
+
[k: string]: unknown;
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* Inline configuration of the OAuth2 authentication policy.
|
|
474
|
+
*/
|
|
475
|
+
export interface OAuth2AutenthicationData {
|
|
476
|
+
authority?: UriTemplate;
|
|
477
|
+
/**
|
|
478
|
+
* The grant type to use.
|
|
479
|
+
*/
|
|
480
|
+
grant?: 'authorization_code' | 'client_credentials' | 'password' | 'refresh_token' | 'urn:ietf:params:oauth:grant-type:token-exchange';
|
|
481
|
+
client?: OAuth2AutenthicationDataClient;
|
|
482
|
+
request?: OAuth2TokenRequest;
|
|
483
|
+
issuers?: OAuth2Issuers;
|
|
484
|
+
scopes?: OAuth2AutenthicationDataScopes;
|
|
485
|
+
audiences?: OAuth2AutenthicationDataAudiences;
|
|
486
|
+
/**
|
|
487
|
+
* The username to use. Used only if the grant type is Password.
|
|
488
|
+
*/
|
|
489
|
+
username?: string;
|
|
490
|
+
/**
|
|
491
|
+
* The password to use. Used only if the grant type is Password.
|
|
492
|
+
*/
|
|
493
|
+
password?: string;
|
|
494
|
+
subject?: OAuth2TokenDefinition;
|
|
495
|
+
actor?: OAuth2TokenDefinition;
|
|
496
|
+
[k: string]: unknown;
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* The definition of an OAuth2 client.
|
|
500
|
+
*/
|
|
501
|
+
export interface OAuth2AutenthicationDataClient {
|
|
502
|
+
/**
|
|
503
|
+
* The client id to use.
|
|
504
|
+
*/
|
|
505
|
+
id?: string;
|
|
506
|
+
/**
|
|
507
|
+
* The client secret to use, if any.
|
|
508
|
+
*/
|
|
509
|
+
secret?: string;
|
|
510
|
+
/**
|
|
511
|
+
* A JWT containing a signed assertion with your application credentials.
|
|
512
|
+
*/
|
|
513
|
+
assertion?: string;
|
|
514
|
+
/**
|
|
515
|
+
* The authentication method to use to authenticate the client.
|
|
516
|
+
*/
|
|
517
|
+
authentication?: 'client_secret_basic' | 'client_secret_post' | 'client_secret_jwt' | 'private_key_jwt' | 'none';
|
|
518
|
+
}
|
|
519
|
+
/**
|
|
520
|
+
* The configuration of an OAuth2 token request
|
|
521
|
+
*/
|
|
522
|
+
export interface OAuth2TokenRequest {
|
|
523
|
+
encoding?: 'application/x-www-form-urlencoded' | 'application/json';
|
|
524
|
+
[k: string]: unknown;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* Represents an OAuth2 token.
|
|
528
|
+
*/
|
|
529
|
+
export interface OAuth2TokenDefinition {
|
|
530
|
+
/**
|
|
531
|
+
* The security token to use.
|
|
532
|
+
*/
|
|
533
|
+
token: string;
|
|
534
|
+
/**
|
|
535
|
+
* The type of the security token to use.
|
|
536
|
+
*/
|
|
537
|
+
type: string;
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
* The endpoint configurations for OAuth2.
|
|
541
|
+
*/
|
|
542
|
+
export interface OAuth2AuthenticationPropertiesEndpoints {
|
|
543
|
+
/**
|
|
544
|
+
* The relative path to the token endpoint. Defaults to `/oauth2/token`.
|
|
545
|
+
*/
|
|
546
|
+
token?: string;
|
|
547
|
+
/**
|
|
548
|
+
* The relative path to the revocation endpoint. Defaults to `/oauth2/revoke`.
|
|
549
|
+
*/
|
|
550
|
+
revocation?: string;
|
|
551
|
+
/**
|
|
552
|
+
* The relative path to the introspection endpoint. Defaults to `/oauth2/introspect`.
|
|
553
|
+
*/
|
|
554
|
+
introspection?: string;
|
|
555
|
+
[k: string]: unknown;
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* Use OpenIdConnect authentication.
|
|
559
|
+
*/
|
|
560
|
+
export interface OpenIdConnectAuthenticationPolicy {
|
|
561
|
+
oidc: OpenIdConnectAuthenticationPolicyConfiguration;
|
|
562
|
+
[k: string]: unknown;
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* Inline configuration of the OAuth2 authentication policy.
|
|
566
|
+
*/
|
|
567
|
+
export interface OpenIdConnectAuthenticationProperties {
|
|
568
|
+
authority?: UriTemplate;
|
|
569
|
+
/**
|
|
570
|
+
* The grant type to use.
|
|
571
|
+
*/
|
|
572
|
+
grant?: 'authorization_code' | 'client_credentials' | 'password' | 'refresh_token' | 'urn:ietf:params:oauth:grant-type:token-exchange';
|
|
573
|
+
client?: OAuth2AutenthicationDataClient;
|
|
574
|
+
request?: OAuth2TokenRequest;
|
|
575
|
+
issuers?: OAuth2Issuers;
|
|
576
|
+
scopes?: OAuth2AutenthicationDataScopes;
|
|
577
|
+
audiences?: OAuth2AutenthicationDataAudiences;
|
|
578
|
+
/**
|
|
579
|
+
* The username to use. Used only if the grant type is Password.
|
|
580
|
+
*/
|
|
581
|
+
username?: string;
|
|
582
|
+
/**
|
|
583
|
+
* The password to use. Used only if the grant type is Password.
|
|
584
|
+
*/
|
|
585
|
+
password?: string;
|
|
586
|
+
subject?: OAuth2TokenDefinition;
|
|
587
|
+
actor?: OAuth2TokenDefinition;
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* Defines the workflow's reusable components.
|
|
591
|
+
*/
|
|
592
|
+
export interface Use {
|
|
593
|
+
authentications?: UseAuthentications;
|
|
594
|
+
errors?: UseErrors;
|
|
595
|
+
extensions?: UseExtensions;
|
|
596
|
+
functions?: UseFunctions;
|
|
597
|
+
retries?: UseRetries;
|
|
598
|
+
secrets?: UseSecrets;
|
|
599
|
+
timeouts?: UseTimeouts;
|
|
600
|
+
catalogs?: UseCatalogs;
|
|
601
|
+
}
|
|
602
|
+
/**
|
|
603
|
+
* The workflow's reusable authentication policies.
|
|
604
|
+
*/
|
|
605
|
+
export interface UseAuthentications {
|
|
606
|
+
[k: string]: AuthenticationPolicy;
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* The workflow's reusable errors.
|
|
610
|
+
*/
|
|
611
|
+
export interface UseErrors {
|
|
612
|
+
[k: string]: Error;
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* Represents an error.
|
|
616
|
+
*/
|
|
617
|
+
export interface Error {
|
|
618
|
+
type: ErrorType;
|
|
619
|
+
/**
|
|
620
|
+
* The status code generated by the origin for this occurrence of the error.
|
|
621
|
+
*/
|
|
622
|
+
status: number;
|
|
623
|
+
instance?: ErrorInstance;
|
|
624
|
+
/**
|
|
625
|
+
* A short, human-readable summary of the error.
|
|
626
|
+
*/
|
|
627
|
+
title?: string;
|
|
628
|
+
/**
|
|
629
|
+
* A human-readable explanation specific to this occurrence of the error.
|
|
630
|
+
*/
|
|
631
|
+
detail?: string;
|
|
632
|
+
}
|
|
633
|
+
export interface ExtensionItem {
|
|
634
|
+
[k: string]: Extension;
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* The definition of an extension.
|
|
638
|
+
*/
|
|
639
|
+
export interface Extension {
|
|
640
|
+
/**
|
|
641
|
+
* The type of task to extend.
|
|
642
|
+
*/
|
|
643
|
+
extend: 'call' | 'composite' | 'emit' | 'for' | 'listen' | 'raise' | 'run' | 'set' | 'switch' | 'try' | 'wait' | 'all';
|
|
644
|
+
/**
|
|
645
|
+
* A runtime expression, if any, used to determine whether or not the extension should apply in the specified context.
|
|
646
|
+
*/
|
|
647
|
+
when?: string;
|
|
648
|
+
before?: TaskList;
|
|
649
|
+
after?: TaskList;
|
|
650
|
+
}
|
|
651
|
+
export interface TaskItem {
|
|
652
|
+
[k: string]: Task;
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* An object inherited by all tasks.
|
|
656
|
+
*/
|
|
657
|
+
export interface TaskBase {
|
|
658
|
+
if?: TaskBaseIf;
|
|
659
|
+
input?: Input;
|
|
660
|
+
output?: Output;
|
|
661
|
+
export?: Export;
|
|
662
|
+
timeout?: TaskBaseTimeout;
|
|
663
|
+
then?: FlowDirective;
|
|
664
|
+
metadata?: TaskMetadata;
|
|
665
|
+
[k: string]: unknown;
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* Configures the output of a workflow or task.
|
|
669
|
+
*/
|
|
670
|
+
export interface Output {
|
|
671
|
+
schema?: Schema;
|
|
672
|
+
as?: OutputAs;
|
|
673
|
+
}
|
|
674
|
+
/**
|
|
675
|
+
* Set the content of the context. .
|
|
676
|
+
*/
|
|
677
|
+
export interface Export {
|
|
678
|
+
schema?: Schema;
|
|
679
|
+
as?: ExportAs;
|
|
680
|
+
}
|
|
681
|
+
/**
|
|
682
|
+
* The definition of a timeout.
|
|
683
|
+
*/
|
|
684
|
+
export interface Timeout {
|
|
685
|
+
after: Duration;
|
|
686
|
+
}
|
|
687
|
+
/**
|
|
688
|
+
* The inline definition of a duration.
|
|
689
|
+
*/
|
|
690
|
+
export interface DurationInline {
|
|
691
|
+
/**
|
|
692
|
+
* Number of days, if any.
|
|
693
|
+
*/
|
|
694
|
+
days?: number;
|
|
695
|
+
/**
|
|
696
|
+
* Number of days, if any.
|
|
697
|
+
*/
|
|
698
|
+
hours?: number;
|
|
699
|
+
/**
|
|
700
|
+
* Number of minutes, if any.
|
|
701
|
+
*/
|
|
702
|
+
minutes?: number;
|
|
703
|
+
/**
|
|
704
|
+
* Number of seconds, if any.
|
|
705
|
+
*/
|
|
706
|
+
seconds?: number;
|
|
707
|
+
/**
|
|
708
|
+
* Number of milliseconds, if any.
|
|
709
|
+
*/
|
|
710
|
+
milliseconds?: number;
|
|
711
|
+
}
|
|
712
|
+
/**
|
|
713
|
+
* Holds additional information about the task.
|
|
714
|
+
*/
|
|
715
|
+
export interface TaskMetadata {
|
|
716
|
+
[k: string]: unknown;
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* The Async API call arguments.
|
|
720
|
+
*/
|
|
721
|
+
export interface AsyncApiArguments {
|
|
722
|
+
document: ExternalResource;
|
|
723
|
+
/**
|
|
724
|
+
* A reference to the AsyncAPI operation to call.
|
|
725
|
+
*/
|
|
726
|
+
operationRef: string;
|
|
727
|
+
/**
|
|
728
|
+
* A a reference to the server to call the specified AsyncAPI operation on. If not set, default to the first server matching the operation's channel.
|
|
729
|
+
*/
|
|
730
|
+
server?: string;
|
|
731
|
+
/**
|
|
732
|
+
* The name of the message to use. If not set, defaults to the first message defined by the operation.
|
|
733
|
+
*/
|
|
734
|
+
message?: string;
|
|
735
|
+
/**
|
|
736
|
+
* The name of the binding to use. If not set, defaults to the first binding defined by the operation.
|
|
737
|
+
*/
|
|
738
|
+
binding?: string;
|
|
739
|
+
payload?: WithAsyncAPIPayload;
|
|
740
|
+
authentication?: ReferenceableAuthenticationPolicy;
|
|
741
|
+
}
|
|
742
|
+
/**
|
|
743
|
+
* The payload to call the AsyncAPI operation with, if any.
|
|
744
|
+
*/
|
|
745
|
+
export interface WithAsyncAPIPayload {
|
|
746
|
+
[k: string]: unknown;
|
|
747
|
+
}
|
|
748
|
+
/**
|
|
749
|
+
* The GRPC call arguments.
|
|
750
|
+
*/
|
|
751
|
+
export interface GRPCArguments {
|
|
752
|
+
proto: ExternalResource;
|
|
753
|
+
service: WithGRPCService;
|
|
754
|
+
/**
|
|
755
|
+
* The name of the method to call on the defined GRPC service.
|
|
756
|
+
*/
|
|
757
|
+
method: string;
|
|
758
|
+
arguments?: WithGRPCArguments;
|
|
759
|
+
}
|
|
760
|
+
export interface WithGRPCService {
|
|
761
|
+
/**
|
|
762
|
+
* The name of the GRPC service to call.
|
|
763
|
+
*/
|
|
764
|
+
name: string;
|
|
765
|
+
/**
|
|
766
|
+
* The hostname of the GRPC service to call.
|
|
767
|
+
*/
|
|
768
|
+
host: string;
|
|
769
|
+
/**
|
|
770
|
+
* The port number of the GRPC service to call.
|
|
771
|
+
*/
|
|
772
|
+
port?: number;
|
|
773
|
+
authentication?: ReferenceableAuthenticationPolicy;
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* The arguments, if any, to call the method with.
|
|
777
|
+
*/
|
|
778
|
+
export interface WithGRPCArguments {
|
|
779
|
+
[k: string]: unknown;
|
|
780
|
+
}
|
|
781
|
+
/**
|
|
782
|
+
* The HTTP call arguments.
|
|
783
|
+
*/
|
|
784
|
+
export interface HTTPArguments {
|
|
785
|
+
/**
|
|
786
|
+
* The HTTP method of the HTTP request to perform.
|
|
787
|
+
*/
|
|
788
|
+
method: string;
|
|
789
|
+
endpoint: Endpoint;
|
|
790
|
+
headers?: WithHTTPHeaders;
|
|
791
|
+
body?: WithHTTPBody;
|
|
792
|
+
query?: WithHTTPQuery;
|
|
793
|
+
/**
|
|
794
|
+
* The http call output format. Defaults to 'content'.
|
|
795
|
+
*/
|
|
796
|
+
output?: 'raw' | 'content' | 'response';
|
|
797
|
+
}
|
|
798
|
+
/**
|
|
799
|
+
* A name/value mapping of the headers, if any, of the HTTP request to perform.
|
|
800
|
+
*/
|
|
801
|
+
export interface WithHTTPHeaders {
|
|
802
|
+
[k: string]: unknown;
|
|
803
|
+
}
|
|
804
|
+
/**
|
|
805
|
+
* The body, if any, of the HTTP request to perform.
|
|
806
|
+
*/
|
|
807
|
+
export interface WithHTTPBody {
|
|
808
|
+
[k: string]: unknown;
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* A name/value mapping of the query parameters, if any, of the HTTP request to perform.
|
|
812
|
+
*/
|
|
813
|
+
export interface WithHTTPQuery {
|
|
814
|
+
[k: string]: unknown;
|
|
815
|
+
}
|
|
816
|
+
/**
|
|
817
|
+
* The OpenAPI call arguments.
|
|
818
|
+
*/
|
|
819
|
+
export interface OpenAPIArguments {
|
|
820
|
+
document: ExternalResource;
|
|
821
|
+
/**
|
|
822
|
+
* The id of the OpenAPI operation to call.
|
|
823
|
+
*/
|
|
824
|
+
operationId: string;
|
|
825
|
+
parameters?: WithOpenAPIParameters;
|
|
826
|
+
authentication?: ReferenceableAuthenticationPolicy;
|
|
827
|
+
/**
|
|
828
|
+
* The http call output format. Defaults to 'content'.
|
|
829
|
+
*/
|
|
830
|
+
output?: 'raw' | 'content' | 'response';
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* A name/value mapping of the parameters of the OpenAPI operation to call.
|
|
834
|
+
*/
|
|
835
|
+
export interface WithOpenAPIParameters {
|
|
836
|
+
[k: string]: unknown;
|
|
837
|
+
}
|
|
838
|
+
/**
|
|
839
|
+
* A name/value mapping of the parameters, if any, to call the function with.
|
|
840
|
+
*/
|
|
841
|
+
export interface FunctionArguments {
|
|
842
|
+
[k: string]: unknown;
|
|
843
|
+
}
|
|
844
|
+
/**
|
|
845
|
+
* The configuration of the branches to perform concurrently.
|
|
846
|
+
*/
|
|
847
|
+
export interface ForkTaskConfiguration {
|
|
848
|
+
branches: TaskList;
|
|
849
|
+
/**
|
|
850
|
+
* Indicates whether or not the concurrent tasks are racing against each other, with a single possible winner, which sets the composite task's output.
|
|
851
|
+
*/
|
|
852
|
+
compete?: boolean;
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* The configuration of an event's emission.
|
|
856
|
+
*/
|
|
857
|
+
export interface EmitTaskConfiguration {
|
|
858
|
+
event: EmitEventDefinition;
|
|
859
|
+
}
|
|
860
|
+
/**
|
|
861
|
+
* The definition of the event to emit.
|
|
862
|
+
*/
|
|
863
|
+
export interface EmitEventDefinition {
|
|
864
|
+
with?: EmitEventWith;
|
|
865
|
+
[k: string]: unknown;
|
|
866
|
+
}
|
|
867
|
+
/**
|
|
868
|
+
* Defines the properties of event to emit.
|
|
869
|
+
*/
|
|
870
|
+
export interface EmitEventWith {
|
|
871
|
+
/**
|
|
872
|
+
* The event's unique identifier.
|
|
873
|
+
*/
|
|
874
|
+
id?: string;
|
|
875
|
+
source: EventSource;
|
|
876
|
+
/**
|
|
877
|
+
* This attribute contains a value describing the type of event related to the originating occurrence.
|
|
878
|
+
*/
|
|
879
|
+
type: string;
|
|
880
|
+
time?: EventTime;
|
|
881
|
+
/**
|
|
882
|
+
* The subject of the event.
|
|
883
|
+
*/
|
|
884
|
+
subject?: string;
|
|
885
|
+
/**
|
|
886
|
+
* Content type of data value. This attribute enables data to carry any type of content, whereby format and encoding might differ from that of the chosen event format.
|
|
887
|
+
*/
|
|
888
|
+
datacontenttype?: string;
|
|
889
|
+
dataschema?: EventDataschema;
|
|
890
|
+
[k: string]: unknown;
|
|
891
|
+
}
|
|
892
|
+
/**
|
|
893
|
+
* The definition of the loop that iterates over a range of values.
|
|
894
|
+
*/
|
|
895
|
+
export interface ForTaskConfiguration {
|
|
896
|
+
/**
|
|
897
|
+
* The name of the variable used to store the current item being enumerated.
|
|
898
|
+
*/
|
|
899
|
+
each?: string;
|
|
900
|
+
/**
|
|
901
|
+
* A runtime expression used to get the collection to enumerate.
|
|
902
|
+
*/
|
|
903
|
+
in: string;
|
|
904
|
+
/**
|
|
905
|
+
* The name of the variable used to store the index of the current item being enumerated.
|
|
906
|
+
*/
|
|
907
|
+
at?: string;
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* The configuration of the listener to use.
|
|
911
|
+
*/
|
|
912
|
+
export interface ListenTaskConfiguration {
|
|
913
|
+
to: EventConsumptionStrategy;
|
|
914
|
+
}
|
|
915
|
+
export interface AllEventConsumptionStrategy {
|
|
916
|
+
all: AllEventConsumptionStrategyConfiguration;
|
|
917
|
+
[k: string]: unknown;
|
|
918
|
+
}
|
|
919
|
+
/**
|
|
920
|
+
* An event filter is a mechanism used to selectively process or handle events based on predefined criteria, such as event type, source, or specific attributes.
|
|
921
|
+
*/
|
|
922
|
+
export interface EventFilter {
|
|
923
|
+
with: WithEvent;
|
|
924
|
+
correlate?: EventFilterCorrelate;
|
|
925
|
+
}
|
|
926
|
+
/**
|
|
927
|
+
* An event filter is a mechanism used to selectively process or handle events based on predefined criteria, such as event type, source, or specific attributes.
|
|
928
|
+
*/
|
|
929
|
+
export interface WithEvent {
|
|
930
|
+
/**
|
|
931
|
+
* The event's unique identifier.
|
|
932
|
+
*/
|
|
933
|
+
id?: string;
|
|
934
|
+
source?: EventSource;
|
|
935
|
+
/**
|
|
936
|
+
* This attribute contains a value describing the type of event related to the originating occurrence.
|
|
937
|
+
*/
|
|
938
|
+
type?: string;
|
|
939
|
+
time?: EventTime;
|
|
940
|
+
/**
|
|
941
|
+
* The subject of the event.
|
|
942
|
+
*/
|
|
943
|
+
subject?: string;
|
|
944
|
+
/**
|
|
945
|
+
* Content type of data value. This attribute enables data to carry any type of content, whereby format and encoding might differ from that of the chosen event format.
|
|
946
|
+
*/
|
|
947
|
+
datacontenttype?: string;
|
|
948
|
+
dataschema?: EventDataschema;
|
|
949
|
+
[k: string]: unknown;
|
|
950
|
+
}
|
|
951
|
+
/**
|
|
952
|
+
* A correlation is a link between events and data, established by mapping event attributes to specific data attributes, allowing for coordinated processing or handling based on event characteristics.
|
|
953
|
+
*/
|
|
954
|
+
export interface EventFilterCorrelate {
|
|
955
|
+
[k: string]: {
|
|
956
|
+
/**
|
|
957
|
+
* A runtime expression used to extract the correlation value from the filtered event.
|
|
958
|
+
*/
|
|
959
|
+
from: string;
|
|
960
|
+
/**
|
|
961
|
+
* A constant or a runtime expression, if any, used to determine whether or not the extracted correlation value matches expectations. If not set, the first extracted value will be used as the correlation's expectation.
|
|
962
|
+
*/
|
|
963
|
+
expect?: string;
|
|
964
|
+
[k: string]: unknown;
|
|
965
|
+
};
|
|
966
|
+
}
|
|
967
|
+
export interface AnyEventConsumptionStrategy {
|
|
968
|
+
any: AnyEventConsumptionStrategyConfiguration;
|
|
969
|
+
[k: string]: unknown;
|
|
970
|
+
}
|
|
971
|
+
export interface OneEventConsumptionStrategy {
|
|
972
|
+
one: EventFilter;
|
|
973
|
+
[k: string]: unknown;
|
|
974
|
+
}
|
|
975
|
+
/**
|
|
976
|
+
* The definition of the error to raise.
|
|
977
|
+
*/
|
|
978
|
+
export interface RaiseTaskConfiguration {
|
|
979
|
+
error: RaiseTaskRaiseError;
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
* Enables the execution of external processes encapsulated within a containerized environment.
|
|
983
|
+
*/
|
|
984
|
+
export interface RunContainer {
|
|
985
|
+
container: Container;
|
|
986
|
+
[k: string]: unknown;
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* The configuration of the container to run.
|
|
990
|
+
*/
|
|
991
|
+
export interface Container {
|
|
992
|
+
/**
|
|
993
|
+
* The name of the container image to run.
|
|
994
|
+
*/
|
|
995
|
+
image: string;
|
|
996
|
+
/**
|
|
997
|
+
* The command, if any, to execute on the container.
|
|
998
|
+
*/
|
|
999
|
+
command?: string;
|
|
1000
|
+
ports?: ContainerPorts;
|
|
1001
|
+
volumes?: ContainerVolumes;
|
|
1002
|
+
environment?: ContainerEnvironment;
|
|
1003
|
+
}
|
|
1004
|
+
/**
|
|
1005
|
+
* The container's port mappings, if any.
|
|
1006
|
+
*/
|
|
1007
|
+
export interface ContainerPorts {
|
|
1008
|
+
[k: string]: unknown;
|
|
1009
|
+
}
|
|
1010
|
+
/**
|
|
1011
|
+
* The container's volume mappings, if any.
|
|
1012
|
+
*/
|
|
1013
|
+
export interface ContainerVolumes {
|
|
1014
|
+
[k: string]: unknown;
|
|
1015
|
+
}
|
|
1016
|
+
/**
|
|
1017
|
+
* A key/value mapping of the environment variables, if any, to use when running the configured process.
|
|
1018
|
+
*/
|
|
1019
|
+
export interface ContainerEnvironment {
|
|
1020
|
+
[k: string]: unknown;
|
|
1021
|
+
}
|
|
1022
|
+
/**
|
|
1023
|
+
* Enables the execution of custom scripts or code within a workflow, empowering workflows to perform specialized logic, data processing, or integration tasks by executing user-defined scripts written in various programming languages.
|
|
1024
|
+
*/
|
|
1025
|
+
export interface RunScript {
|
|
1026
|
+
script: Script;
|
|
1027
|
+
[k: string]: unknown;
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* The script's code.
|
|
1031
|
+
*/
|
|
1032
|
+
export interface InlineScript {
|
|
1033
|
+
code: string;
|
|
1034
|
+
[k: string]: unknown;
|
|
1035
|
+
}
|
|
1036
|
+
/**
|
|
1037
|
+
* The script's resource.
|
|
1038
|
+
*/
|
|
1039
|
+
export interface ExternalScript {
|
|
1040
|
+
source: ExternalResource;
|
|
1041
|
+
[k: string]: unknown;
|
|
1042
|
+
}
|
|
1043
|
+
/**
|
|
1044
|
+
* Enables the execution of shell commands within a workflow, enabling workflows to interact with the underlying operating system and perform system-level operations, such as file manipulation, environment configuration, or system administration tasks.
|
|
1045
|
+
*/
|
|
1046
|
+
export interface RunShell {
|
|
1047
|
+
shell: Shell;
|
|
1048
|
+
[k: string]: unknown;
|
|
1049
|
+
}
|
|
1050
|
+
/**
|
|
1051
|
+
* The configuration of the shell command to run.
|
|
1052
|
+
*/
|
|
1053
|
+
export interface Shell {
|
|
1054
|
+
/**
|
|
1055
|
+
* The shell command to run.
|
|
1056
|
+
*/
|
|
1057
|
+
command: string;
|
|
1058
|
+
arguments?: ShellArguments;
|
|
1059
|
+
environment?: ShellEnvironment;
|
|
1060
|
+
}
|
|
1061
|
+
/**
|
|
1062
|
+
* A list of the arguments of the shell command to run.
|
|
1063
|
+
*/
|
|
1064
|
+
export interface ShellArguments {
|
|
1065
|
+
[k: string]: unknown;
|
|
1066
|
+
}
|
|
1067
|
+
/**
|
|
1068
|
+
* A key/value mapping of the environment variables, if any, to use when running the configured process.
|
|
1069
|
+
*/
|
|
1070
|
+
export interface ShellEnvironment {
|
|
1071
|
+
[k: string]: unknown;
|
|
1072
|
+
}
|
|
1073
|
+
/**
|
|
1074
|
+
* Enables the invocation and execution of nested workflows within a parent workflow, facilitating modularization, reusability, and abstraction of complex logic or business processes by encapsulating them into standalone workflow units.
|
|
1075
|
+
*/
|
|
1076
|
+
export interface RunWorkflow {
|
|
1077
|
+
workflow: SubflowConfiguration;
|
|
1078
|
+
[k: string]: unknown;
|
|
1079
|
+
}
|
|
1080
|
+
/**
|
|
1081
|
+
* The configuration of the workflow to run.
|
|
1082
|
+
*/
|
|
1083
|
+
export interface SubflowConfiguration {
|
|
1084
|
+
/**
|
|
1085
|
+
* The namespace the workflow to run belongs to.
|
|
1086
|
+
*/
|
|
1087
|
+
namespace: string;
|
|
1088
|
+
/**
|
|
1089
|
+
* The name of the workflow to run.
|
|
1090
|
+
*/
|
|
1091
|
+
name: string;
|
|
1092
|
+
/**
|
|
1093
|
+
* The version of the workflow to run. Defaults to latest.
|
|
1094
|
+
*/
|
|
1095
|
+
version: string;
|
|
1096
|
+
input?: SubflowInput;
|
|
1097
|
+
}
|
|
1098
|
+
/**
|
|
1099
|
+
* The data, if any, to pass as input to the workflow to execute. The value should be validated against the target workflow's input schema, if specified.
|
|
1100
|
+
*/
|
|
1101
|
+
export interface SubflowInput {
|
|
1102
|
+
[k: string]: unknown;
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
* The data to set.
|
|
1106
|
+
*/
|
|
1107
|
+
export interface SetTaskConfiguration {
|
|
1108
|
+
[k: string]: unknown;
|
|
1109
|
+
}
|
|
1110
|
+
export interface SwitchItem {
|
|
1111
|
+
[k: string]: SwitchCase;
|
|
1112
|
+
}
|
|
1113
|
+
/**
|
|
1114
|
+
* The definition of a case within a switch task, defining a condition and corresponding tasks to execute if the condition is met.
|
|
1115
|
+
*/
|
|
1116
|
+
export interface SwitchCase {
|
|
1117
|
+
/**
|
|
1118
|
+
* A runtime expression used to determine whether or not the case matches.
|
|
1119
|
+
*/
|
|
1120
|
+
when?: string;
|
|
1121
|
+
then: FlowDirective;
|
|
1122
|
+
[k: string]: unknown;
|
|
1123
|
+
}
|
|
1124
|
+
/**
|
|
1125
|
+
* The object used to define the errors to catch.
|
|
1126
|
+
*/
|
|
1127
|
+
export interface TryTaskCatch {
|
|
1128
|
+
errors?: CatchErrors;
|
|
1129
|
+
/**
|
|
1130
|
+
* The name of the runtime expression variable to save the error as. Defaults to 'error'.
|
|
1131
|
+
*/
|
|
1132
|
+
as?: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* A runtime expression used to determine whether or not to catch the filtered error.
|
|
1135
|
+
*/
|
|
1136
|
+
when?: string;
|
|
1137
|
+
/**
|
|
1138
|
+
* A runtime expression used to determine whether or not to catch the filtered error.
|
|
1139
|
+
*/
|
|
1140
|
+
exceptWhen?: string;
|
|
1141
|
+
retry?: TryTaskCatchRetry;
|
|
1142
|
+
do?: TaskList;
|
|
1143
|
+
}
|
|
1144
|
+
/**
|
|
1145
|
+
* The configuration of a concept used to catch errors.
|
|
1146
|
+
*/
|
|
1147
|
+
export interface CatchErrors {
|
|
1148
|
+
[k: string]: unknown;
|
|
1149
|
+
}
|
|
1150
|
+
/**
|
|
1151
|
+
* Defines a retry policy.
|
|
1152
|
+
*/
|
|
1153
|
+
export interface RetryPolicy {
|
|
1154
|
+
/**
|
|
1155
|
+
* A runtime expression, if any, used to determine whether or not to retry running the task, in a given context.
|
|
1156
|
+
*/
|
|
1157
|
+
when?: string;
|
|
1158
|
+
/**
|
|
1159
|
+
* A runtime expression used to determine whether or not to retry running the task, in a given context.
|
|
1160
|
+
*/
|
|
1161
|
+
exceptWhen?: string;
|
|
1162
|
+
delay?: Duration;
|
|
1163
|
+
backoff?: RetryBackoff;
|
|
1164
|
+
limit?: RetryLimit;
|
|
1165
|
+
jitter?: RetryPolicyJitter;
|
|
1166
|
+
}
|
|
1167
|
+
export interface ConstantBackoff {
|
|
1168
|
+
/**
|
|
1169
|
+
* The definition of the constant backoff to use, if any.
|
|
1170
|
+
*/
|
|
1171
|
+
constant: {
|
|
1172
|
+
[k: string]: unknown;
|
|
1173
|
+
};
|
|
1174
|
+
[k: string]: unknown;
|
|
1175
|
+
}
|
|
1176
|
+
export interface ExponentialBackOff {
|
|
1177
|
+
/**
|
|
1178
|
+
* The definition of the exponential backoff to use, if any.
|
|
1179
|
+
*/
|
|
1180
|
+
exponential: {
|
|
1181
|
+
[k: string]: unknown;
|
|
1182
|
+
};
|
|
1183
|
+
[k: string]: unknown;
|
|
1184
|
+
}
|
|
1185
|
+
export interface LinearBackoff {
|
|
1186
|
+
/**
|
|
1187
|
+
* The definition of the linear backoff to use, if any.
|
|
1188
|
+
*/
|
|
1189
|
+
linear: {
|
|
1190
|
+
[k: string]: unknown;
|
|
1191
|
+
};
|
|
1192
|
+
[k: string]: unknown;
|
|
1193
|
+
}
|
|
1194
|
+
/**
|
|
1195
|
+
* The retry limit, if any.
|
|
1196
|
+
*/
|
|
1197
|
+
export interface RetryLimit {
|
|
1198
|
+
attempt?: RetryLimitAttempt;
|
|
1199
|
+
duration?: Duration;
|
|
1200
|
+
}
|
|
1201
|
+
export interface RetryLimitAttempt {
|
|
1202
|
+
/**
|
|
1203
|
+
* The maximum amount of retry attempts, if any.
|
|
1204
|
+
*/
|
|
1205
|
+
count?: number;
|
|
1206
|
+
duration?: Duration;
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
* The parameters, if any, that control the randomness or variability of the delay between retry attempts.
|
|
1210
|
+
*/
|
|
1211
|
+
export interface RetryPolicyJitter {
|
|
1212
|
+
from: Duration;
|
|
1213
|
+
to: Duration;
|
|
1214
|
+
}
|
|
1215
|
+
/**
|
|
1216
|
+
* The workflow's reusable functions.
|
|
1217
|
+
*/
|
|
1218
|
+
export interface UseFunctions {
|
|
1219
|
+
[k: string]: Task;
|
|
1220
|
+
}
|
|
1221
|
+
/**
|
|
1222
|
+
* The workflow's reusable retry policies.
|
|
1223
|
+
*/
|
|
1224
|
+
export interface UseRetries {
|
|
1225
|
+
[k: string]: RetryPolicy;
|
|
1226
|
+
}
|
|
1227
|
+
/**
|
|
1228
|
+
* The workflow's reusable timeouts.
|
|
1229
|
+
*/
|
|
1230
|
+
export interface UseTimeouts {
|
|
1231
|
+
[k: string]: Timeout;
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* The workflow's reusable catalogs.
|
|
1235
|
+
*/
|
|
1236
|
+
export interface UseCatalogs {
|
|
1237
|
+
[k: string]: Catalog;
|
|
1238
|
+
}
|
|
1239
|
+
/**
|
|
1240
|
+
* The definition of a resource catalog
|
|
1241
|
+
*/
|
|
1242
|
+
export interface Catalog {
|
|
1243
|
+
endpoint: Endpoint;
|
|
1244
|
+
}
|
|
1245
|
+
/**
|
|
1246
|
+
* Schedules the workflow.
|
|
1247
|
+
*/
|
|
1248
|
+
export interface Schedule {
|
|
1249
|
+
every?: Duration;
|
|
1250
|
+
/**
|
|
1251
|
+
* Specifies the schedule using a cron expression, e.g., '0 0 * * *' for daily at midnight.
|
|
1252
|
+
*/
|
|
1253
|
+
cron?: string;
|
|
1254
|
+
after?: Duration;
|
|
1255
|
+
on?: EventConsumptionStrategy;
|
|
1256
|
+
}
|
|
1257
|
+
//# sourceMappingURL=specification.d.ts.map
|