@versori/run 0.3.0-beta.7 → 0.3.0-beta.9
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/{script/deps/jsr.io/@std/fs/1.0.19 → esm/deps/jsr.io/@std/fs/1.0.20}/exists.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
- package/esm/mod.d.ts +1 -66
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +1 -78
- package/esm/src/connection/DirectConnectionFactory.d.ts +1 -1
- package/esm/src/connection/DirectConnectionFactory.d.ts.map +1 -1
- package/esm/src/connection/DirectConnectionFactory.js +7 -22
- package/esm/src/connection/DynamicFetchFactory.d.ts.map +1 -1
- package/esm/src/connection/DynamicFetchFactory.js +0 -12
- package/esm/src/connection/StaticFetchFactory.d.ts.map +1 -1
- package/esm/src/connection/StaticFetchFactory.js +0 -12
- package/esm/src/connection/internal/CredentialHolder.d.ts +2 -2
- package/esm/src/connection/internal/CredentialHolder.d.ts.map +1 -1
- package/esm/src/connection/internal/CredentialHolder.js +3 -24
- package/esm/src/connection/internal/FetchBuilder.d.ts +1 -1
- package/esm/src/connection/internal/FetchBuilder.d.ts.map +1 -1
- package/esm/src/connection/internal/FetchBuilder.js +1 -13
- package/esm/src/connection/internal/HttpClientFactory.d.ts.map +1 -1
- package/esm/src/connection/internal/HttpClientFactory.js +0 -12
- package/esm/src/connection/internal/InboundConnectionFactory.d.ts.map +1 -1
- package/esm/src/connection/internal/InboundConnectionFactory.js +0 -12
- package/esm/src/connection/internal/OutboundConnectionFactory.d.ts +1 -1
- package/esm/src/connection/internal/OutboundConnectionFactory.d.ts.map +1 -1
- package/esm/src/connection/internal/OutboundConnectionFactory.js +6 -22
- package/esm/src/connection/types.d.ts +5 -1
- package/esm/src/connection/types.d.ts.map +1 -1
- package/esm/src/connection/types.js +0 -12
- package/esm/src/context/ActivationImpl.d.ts.map +1 -1
- package/esm/src/context/ActivationImpl.js +1 -13
- package/esm/src/context/AsyncWorkflow.d.ts +0 -30
- package/esm/src/context/AsyncWorkflow.d.ts.map +1 -1
- package/esm/src/context/AsyncWorkflow.js +8 -44
- package/esm/src/context/Context.d.ts +8 -72
- package/esm/src/context/Context.d.ts.map +1 -1
- package/esm/src/context/Context.js +13 -15
- package/esm/src/context/ContextFunc.d.ts +0 -22
- package/esm/src/context/ContextFunc.d.ts.map +1 -1
- package/esm/src/context/ContextFunc.js +0 -12
- package/esm/src/context/ContextProvider.d.ts +2 -0
- package/esm/src/context/ContextProvider.d.ts.map +1 -1
- package/esm/src/context/ContextProvider.js +5 -14
- package/esm/src/context/WorkflowClient.d.ts +29 -0
- package/esm/src/context/WorkflowClient.d.ts.map +1 -0
- package/esm/src/context/WorkflowClient.js +95 -0
- package/esm/src/context/mod.d.ts +2 -8
- package/esm/src/context/mod.d.ts.map +1 -1
- package/esm/src/context/mod.js +2 -12
- package/esm/src/dsl/Task.d.ts +1 -46
- package/esm/src/dsl/Task.d.ts.map +1 -1
- package/esm/src/dsl/Task.js +0 -15
- package/esm/src/dsl/Trigger.d.ts +0 -16
- package/esm/src/dsl/Trigger.d.ts.map +1 -1
- package/esm/src/dsl/Trigger.js +0 -15
- package/esm/src/dsl/Workflow.d.ts +0 -24
- package/esm/src/dsl/Workflow.d.ts.map +1 -1
- package/esm/src/dsl/Workflow.js +0 -12
- package/esm/src/dsl/ensureTask.d.ts.map +1 -1
- package/esm/src/dsl/ensureTask.js +0 -12
- package/esm/src/dsl/http/default.d.ts.map +1 -1
- package/esm/src/dsl/http/default.js +8 -18
- package/esm/src/dsl/http/types.d.ts +1 -45
- package/esm/src/dsl/http/types.d.ts.map +1 -1
- package/esm/src/dsl/http/types.js +0 -12
- package/esm/src/dsl/http/versori/cli.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/cli.js +1 -13
- package/esm/src/dsl/http/versori/configloader.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/configloader.js +0 -12
- package/esm/src/dsl/http/versori/constants.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/constants.js +0 -12
- package/esm/src/dsl/http/versori/contextcredentials.d.ts +0 -44
- package/esm/src/dsl/http/versori/contextcredentials.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/contextcredentials.js +0 -12
- package/esm/src/dsl/http/versori/credential/oauth1/v1/authorization_metadata_pb.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/credential/oauth1/v1/authorization_metadata_pb.js +3 -3
- package/esm/src/dsl/http/versori/credential/oauth1/v1/authorization_service_pb.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/credential/oauth1/v1/authorization_service_pb.js +4 -7
- package/esm/src/dsl/http/versori/credential/v1alpha1/credential_pb.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/credential/v1alpha1/credential_pb.js +3 -3
- package/esm/src/dsl/http/versori/cronapi.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/cronapi.js +2 -15
- package/esm/src/dsl/http/versori/helpers.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/helpers.js +0 -12
- package/esm/src/dsl/http/versori/internalauth.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/internalauth.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/core/ApiError.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/core/ApiError.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/core/ApiRequestOptions.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/core/ApiRequestOptions.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/core/ApiResult.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/core/ApiResult.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/core/CancelablePromise.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/core/CancelablePromise.js +1 -13
- package/esm/src/dsl/http/versori/kvapi/core/OpenAPI.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/core/OpenAPI.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/core/request.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/core/request.js +7 -19
- package/esm/src/dsl/http/versori/kvapi/index.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/index.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/BatchDeleteKVResponse.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/BatchDeleteKVResponse.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/BatchEntries.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/BatchEntries.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/BatchEntry.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/BatchEntry.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/BatchGetKVResponse.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/BatchGetKVResponse.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/BatchSetKVRequest.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/BatchSetKVRequest.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/BatchSetKVResponse.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/BatchSetKVResponse.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/CountKVRequest.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/CountKVRequest.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/CountKVResponse.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/CountKVResponse.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/CountSelector.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/CountSelector.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/CreateStoreRequest.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/CreateStoreRequest.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/CreateStoreResponse.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/CreateStoreResponse.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/DeleteKVResponse.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/DeleteKVResponse.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/DeleteOptions.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/DeleteOptions.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/Error.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/Error.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/ErrorField.d.ts +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/ErrorField.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/ErrorField.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/GetKVResponse.d.ts +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/GetKVResponse.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/GetKVResponse.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/GetOptions.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/GetOptions.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/KVBatchFailure.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/KVBatchFailure.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/KVBatchResult.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/KVBatchResult.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/KVCommitResult.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/KVCommitResult.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/KVEntry.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/KVEntry.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/KVFilter.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/KVFilter.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/KVKey.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/KVKey.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/ListKVRequest.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/ListKVRequest.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/ListKVResponse.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/ListKVResponse.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/ListOptions.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/ListOptions.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/ListSelector.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/ListSelector.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/ListStoresResponse.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/ListStoresResponse.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/Pagination.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/Pagination.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/SetKVResponse.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/SetKVResponse.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/SetOptions.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/SetOptions.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/models/Store.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/models/Store.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/services/BatchOperationsService.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/services/BatchOperationsService.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/services/KvOperationsService.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/services/KvOperationsService.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/services/QueryOperationsService.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/services/QueryOperationsService.js +0 -12
- package/esm/src/dsl/http/versori/kvapi/services/StoresService.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/kvapi/services/StoresService.js +0 -12
- package/esm/src/dsl/http/versori/proxyroundtripper.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/proxyroundtripper.js +4 -16
- package/esm/src/dsl/http/versori/webhookmiddleware.d.ts +1 -1
- package/esm/src/dsl/http/versori/webhookmiddleware.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/webhookmiddleware.js +20 -30
- package/esm/src/dsl/mod.d.ts +1 -17
- package/esm/src/dsl/mod.d.ts.map +1 -1
- package/esm/src/dsl/mod.js +1 -26
- package/esm/src/dsl/tasks/BackgroundTask.d.ts.map +1 -1
- package/esm/src/dsl/tasks/BackgroundTask.js +0 -12
- package/esm/src/dsl/tasks/CatchTask.d.ts.map +1 -1
- package/esm/src/dsl/tasks/CatchTask.js +0 -12
- package/esm/src/dsl/tasks/ChainTask.d.ts.map +1 -1
- package/esm/src/dsl/tasks/ChainTask.js +2 -14
- package/esm/src/dsl/tasks/FnTask.d.ts +1 -25
- package/esm/src/dsl/tasks/FnTask.d.ts.map +1 -1
- package/esm/src/dsl/tasks/FnTask.js +0 -36
- package/esm/src/dsl/tasks/HttpTask.d.ts +7 -81
- package/esm/src/dsl/tasks/HttpTask.d.ts.map +1 -1
- package/esm/src/dsl/tasks/HttpTask.js +3 -37
- package/esm/src/dsl/tasks/ParallelTask.d.ts.map +1 -1
- package/esm/src/dsl/tasks/ParallelTask.js +0 -12
- package/esm/src/dsl/tasks/SerialTask.d.ts.map +1 -1
- package/esm/src/dsl/tasks/SerialTask.js +0 -12
- package/esm/src/dsl/tasks/UnpackTask.d.ts.map +1 -1
- package/esm/src/dsl/tasks/UnpackTask.js +0 -12
- package/esm/src/dsl/tasks/mod.d.ts +9 -1
- package/esm/src/dsl/tasks/mod.d.ts.map +1 -1
- package/esm/src/dsl/tasks/mod.js +1 -13
- package/esm/src/dsl/triggers/DurableTrigger.d.ts +1 -42
- package/esm/src/dsl/triggers/DurableTrigger.d.ts.map +1 -1
- package/esm/src/dsl/triggers/DurableTrigger.js +1 -35
- package/esm/src/dsl/triggers/ScheduleTrigger.d.ts +1 -35
- package/esm/src/dsl/triggers/ScheduleTrigger.d.ts.map +1 -1
- package/esm/src/dsl/triggers/ScheduleTrigger.js +2 -37
- package/esm/src/dsl/triggers/WebhookTrigger.d.ts +1 -71
- package/esm/src/dsl/triggers/WebhookTrigger.d.ts.map +1 -1
- package/esm/src/dsl/triggers/WebhookTrigger.js +1 -36
- package/esm/src/dsl/triggers/mod.d.ts +5 -3
- package/esm/src/dsl/triggers/mod.d.ts.map +1 -1
- package/esm/src/dsl/triggers/mod.js +3 -15
- package/esm/src/internal/InternalAuth.d.ts +0 -1
- package/esm/src/internal/InternalAuth.d.ts.map +1 -1
- package/esm/src/internal/InternalAuth.js +1 -26
- package/esm/src/internal/constants.d.ts.map +1 -1
- package/esm/src/internal/constants.js +0 -12
- package/esm/src/interpreter/durable/DurableInterpreter.d.ts +8 -44
- package/esm/src/interpreter/durable/DurableInterpreter.d.ts.map +1 -1
- package/esm/src/interpreter/durable/DurableInterpreter.js +5 -60
- package/esm/src/interpreter/durable/ExecutionError.d.ts +0 -17
- package/esm/src/interpreter/durable/ExecutionError.d.ts.map +1 -1
- package/esm/src/interpreter/durable/ExecutionError.js +0 -29
- package/esm/src/interpreter/durable/ObservableCompiler.d.ts.map +1 -1
- package/esm/src/interpreter/durable/ObservableCompiler.js +0 -12
- package/esm/src/interpreter/durable/Queue.d.ts +24 -16
- package/esm/src/interpreter/durable/Queue.d.ts.map +1 -1
- package/esm/src/interpreter/durable/Queue.js +3 -16
- package/esm/src/interpreter/durable/compilers/background.d.ts.map +1 -1
- package/esm/src/interpreter/durable/compilers/background.js +0 -12
- package/esm/src/interpreter/durable/compilers/catch.d.ts.map +1 -1
- package/esm/src/interpreter/durable/compilers/catch.js +2 -14
- package/esm/src/interpreter/durable/compilers/chain.d.ts.map +1 -1
- package/esm/src/interpreter/durable/compilers/chain.js +0 -12
- package/esm/src/interpreter/durable/compilers/durableworkflow.d.ts +2 -2
- package/esm/src/interpreter/durable/compilers/durableworkflow.d.ts.map +1 -1
- package/esm/src/interpreter/durable/compilers/durableworkflow.js +21 -33
- package/esm/src/interpreter/durable/compilers/fn.d.ts.map +1 -1
- package/esm/src/interpreter/durable/compilers/fn.js +1 -13
- package/esm/src/interpreter/durable/compilers/http.d.ts.map +1 -1
- package/esm/src/interpreter/durable/compilers/http.js +1 -13
- package/esm/src/interpreter/durable/compilers/mod.d.ts.map +1 -1
- package/esm/src/interpreter/durable/compilers/mod.js +0 -12
- package/esm/src/interpreter/durable/compilers/parallel.d.ts.map +1 -1
- package/esm/src/interpreter/durable/compilers/parallel.js +0 -12
- package/esm/src/interpreter/durable/compilers/schedule.d.ts.map +1 -1
- package/esm/src/interpreter/durable/compilers/schedule.js +0 -12
- package/esm/src/interpreter/durable/compilers/serial.d.ts.map +1 -1
- package/esm/src/interpreter/durable/compilers/serial.js +1 -13
- package/esm/src/interpreter/durable/compilers/types.d.ts +2 -2
- package/esm/src/interpreter/durable/compilers/types.d.ts.map +1 -1
- package/esm/src/interpreter/durable/compilers/types.js +0 -12
- package/esm/src/interpreter/durable/compilers/unpack.d.ts.map +1 -1
- package/esm/src/interpreter/durable/compilers/unpack.js +1 -13
- package/esm/src/interpreter/durable/compilers/webhook.d.ts.map +1 -1
- package/esm/src/interpreter/durable/compilers/webhook.js +3 -15
- package/esm/src/interpreter/durable/mod.d.ts +2 -0
- package/esm/src/interpreter/durable/mod.d.ts.map +1 -1
- package/esm/src/interpreter/durable/mod.js +2 -12
- package/esm/src/interpreter/memory/ExecutionError.d.ts +0 -17
- package/esm/src/interpreter/memory/ExecutionError.d.ts.map +1 -1
- package/esm/src/interpreter/memory/ExecutionError.js +0 -29
- package/esm/src/interpreter/memory/MemoryInterpreter.d.ts +1 -41
- package/esm/src/interpreter/memory/MemoryInterpreter.d.ts.map +1 -1
- package/esm/src/interpreter/memory/MemoryInterpreter.js +7 -39
- package/esm/src/interpreter/memory/ObservableCompiler.d.ts.map +1 -1
- package/esm/src/interpreter/memory/ObservableCompiler.js +0 -12
- package/esm/src/interpreter/memory/compilers/background.d.ts.map +1 -1
- package/esm/src/interpreter/memory/compilers/background.js +0 -12
- package/esm/src/interpreter/memory/compilers/catch.d.ts.map +1 -1
- package/esm/src/interpreter/memory/compilers/catch.js +2 -14
- package/esm/src/interpreter/memory/compilers/chain.d.ts.map +1 -1
- package/esm/src/interpreter/memory/compilers/chain.js +0 -12
- package/esm/src/interpreter/memory/compilers/fn.d.ts.map +1 -1
- package/esm/src/interpreter/memory/compilers/fn.js +1 -13
- package/esm/src/interpreter/memory/compilers/http.d.ts.map +1 -1
- package/esm/src/interpreter/memory/compilers/http.js +1 -13
- package/esm/src/interpreter/memory/compilers/mod.d.ts +2 -0
- package/esm/src/interpreter/memory/compilers/mod.d.ts.map +1 -0
- package/esm/src/interpreter/memory/compilers/mod.js +1 -0
- package/esm/src/interpreter/memory/compilers/parallel.d.ts.map +1 -1
- package/esm/src/interpreter/memory/compilers/parallel.js +0 -12
- package/esm/src/interpreter/memory/compilers/schedule.d.ts.map +1 -1
- package/esm/src/interpreter/memory/compilers/schedule.js +0 -12
- package/esm/src/interpreter/memory/compilers/serial.d.ts.map +1 -1
- package/esm/src/interpreter/memory/compilers/serial.js +1 -13
- package/esm/src/interpreter/memory/compilers/types.d.ts +2 -2
- package/esm/src/interpreter/memory/compilers/types.d.ts.map +1 -1
- package/esm/src/interpreter/memory/compilers/types.js +0 -12
- package/esm/src/interpreter/memory/compilers/unpack.d.ts.map +1 -1
- package/esm/src/interpreter/memory/compilers/unpack.js +1 -13
- package/esm/src/interpreter/memory/compilers/webhook.d.ts.map +1 -1
- package/esm/src/interpreter/memory/compilers/webhook.js +3 -15
- package/esm/src/interpreter/memory/mod.d.ts +2 -0
- package/esm/src/interpreter/memory/mod.d.ts.map +1 -1
- package/esm/src/interpreter/memory/mod.js +2 -12
- package/esm/src/interpreter/mod.d.ts +0 -13
- package/esm/src/interpreter/mod.d.ts.map +1 -1
- package/esm/src/interpreter/mod.js +0 -25
- package/esm/src/issues/Issues.d.ts +1 -1
- package/esm/src/issues/Issues.d.ts.map +1 -1
- package/esm/src/issues/Issues.js +1 -13
- package/esm/src/kv/KVNotFoundError.d.ts +0 -10
- package/esm/src/kv/KVNotFoundError.d.ts.map +1 -1
- package/esm/src/kv/KVNotFoundError.js +0 -22
- package/esm/src/kv/KeyValue.d.ts +6 -75
- package/esm/src/kv/KeyValue.d.ts.map +1 -1
- package/esm/src/kv/KeyValue.js +5 -13
- package/esm/src/kv/memory/MemoryKeyValue.d.ts.map +1 -1
- package/esm/src/kv/memory/MemoryKeyValue.js +0 -12
- package/esm/src/kv/memory/MemoryKeyValueProvider.d.ts.map +1 -1
- package/esm/src/kv/memory/MemoryKeyValueProvider.js +0 -12
- package/esm/src/kv/memory/mod.d.ts +3 -0
- package/esm/src/kv/memory/mod.d.ts.map +1 -0
- package/esm/src/kv/memory/mod.js +2 -0
- package/esm/src/kv/mod.d.ts +2 -5
- package/esm/src/kv/mod.d.ts.map +1 -1
- package/esm/src/kv/mod.js +2 -17
- package/esm/src/kv/nats/NatsKeyValue.d.ts.map +1 -1
- package/esm/src/kv/nats/NatsKeyValue.js +0 -12
- package/esm/src/kv/nats/NatsKeyValueProvider.d.ts.map +1 -1
- package/esm/src/kv/nats/NatsKeyValueProvider.js +1 -13
- package/esm/src/kv/sdk/SDKKeyValue.d.ts.map +1 -1
- package/esm/src/kv/sdk/SDKKeyValue.js +16 -23
- package/esm/src/kv/sdk/SDKKeyValueProvider.d.ts.map +1 -1
- package/esm/src/kv/sdk/SDKKeyValueProvider.js +11 -23
- package/esm/src/kv/sdk/mod.d.ts +3 -0
- package/esm/src/kv/sdk/mod.d.ts.map +1 -0
- package/esm/src/kv/sdk/mod.js +2 -0
- package/esm/src/mod.d.ts +5 -6
- package/esm/src/mod.d.ts.map +1 -1
- package/esm/src/mod.js +5 -18
- package/esm/src/observability/logging/ConsoleLogger.d.ts +1 -4
- package/esm/src/observability/logging/ConsoleLogger.d.ts.map +1 -1
- package/esm/src/observability/logging/ConsoleLogger.js +1 -16
- package/esm/src/observability/logging/Logger.d.ts +0 -45
- package/esm/src/observability/logging/Logger.d.ts.map +1 -1
- package/esm/src/observability/logging/Logger.js +0 -12
- package/esm/src/observability/logging/mod.d.ts.map +1 -1
- package/esm/src/observability/logging/mod.js +0 -12
- package/esm/src/observability/mod.d.ts +0 -7
- package/esm/src/observability/mod.d.ts.map +1 -1
- package/esm/src/observability/mod.js +0 -19
- package/esm/src/services/credentials/credential-v1alpha1.d.ts.map +1 -1
- package/esm/src/services/credentials/credential-v1alpha1.js +0 -12
- package/esm/src/services/credentials/generated/versori/credential/oauth1/v1/authorization_metadata_pb.d.ts +3 -3
- package/esm/src/services/credentials/generated/versori/credential/oauth1/v1/authorization_metadata_pb.d.ts.map +1 -1
- package/esm/src/services/credentials/generated/versori/credential/oauth1/v1/authorization_metadata_pb.js +3 -3
- package/esm/src/services/credentials/generated/versori/credential/oauth1/v1/authorization_service_pb.d.ts +13 -13
- package/esm/src/services/credentials/generated/versori/credential/oauth1/v1/authorization_service_pb.d.ts.map +1 -1
- package/esm/src/services/credentials/generated/versori/credential/oauth1/v1/authorization_service_pb.js +4 -7
- package/esm/src/services/credentials/generated/versori/credential/oauth2/v1/token_pb.d.ts +4 -4
- package/esm/src/services/credentials/generated/versori/credential/oauth2/v1/token_pb.d.ts.map +1 -1
- package/esm/src/services/credentials/generated/versori/credential/oauth2/v1/token_pb.js +3 -3
- package/esm/src/services/credentials/generated/versori/credential/oauth2/v1/token_service_pb.d.ts +21 -21
- package/esm/src/services/credentials/generated/versori/credential/oauth2/v1/token_service_pb.d.ts.map +1 -1
- package/esm/src/services/credentials/generated/versori/credential/oauth2/v1/token_service_pb.js +5 -10
- package/esm/src/services/credentials/generated/versori/credential/tokens/v1/token_pb.d.ts +4 -4
- package/esm/src/services/credentials/generated/versori/credential/tokens/v1/token_pb.d.ts.map +1 -1
- package/esm/src/services/credentials/generated/versori/credential/tokens/v1/token_pb.js +3 -3
- package/esm/src/services/credentials/generated/versori/credential/tokens/v1/token_service_pb.d.ts +10 -10
- package/esm/src/services/credentials/generated/versori/credential/tokens/v1/token_service_pb.d.ts.map +1 -1
- package/esm/src/services/credentials/generated/versori/credential/tokens/v1/token_service_pb.js +5 -10
- package/esm/src/services/credentials/generated/versori/credential/v1alpha1/common_pb.d.ts +5 -5
- package/esm/src/services/credentials/generated/versori/credential/v1alpha1/common_pb.d.ts.map +1 -1
- package/esm/src/services/credentials/generated/versori/credential/v1alpha1/common_pb.js +2 -2
- package/esm/src/services/credentials/generated/versori/credential/v1alpha1/credential_pb.d.ts +41 -41
- package/esm/src/services/credentials/generated/versori/credential/v1alpha1/credential_pb.d.ts.map +1 -1
- package/esm/src/services/credentials/generated/versori/credential/v1alpha1/credential_pb.js +3 -3
- package/esm/src/services/credentials/generated/versori/credential/v1alpha1/credential_service_pb.d.ts +27 -27
- package/esm/src/services/credentials/generated/versori/credential/v1alpha1/credential_service_pb.d.ts.map +1 -1
- package/esm/src/services/credentials/generated/versori/credential/v1alpha1/credential_service_pb.js +5 -9
- package/esm/src/services/credentials/isTokenValid.d.ts.map +1 -1
- package/esm/src/services/credentials/isTokenValid.js +1 -13
- package/esm/src/services/credentials/mod.d.ts +0 -6
- package/esm/src/services/credentials/mod.d.ts.map +1 -1
- package/esm/src/services/credentials/mod.js +0 -18
- package/esm/src/services/credentials/oauth1-v1.d.ts.map +1 -1
- package/esm/src/services/credentials/oauth1-v1.js +0 -12
- package/esm/src/services/credentials/oauth2-v1.d.ts.map +1 -1
- package/esm/src/services/credentials/oauth2-v1.js +0 -12
- package/esm/src/services/credentials/tokens-v1.d.ts.map +1 -1
- package/esm/src/services/credentials/tokens-v1.js +0 -12
- package/esm/src/services/platform/PlatformApi.d.ts +1 -23
- package/esm/src/services/platform/PlatformApi.d.ts.map +1 -1
- package/esm/src/services/platform/PlatformApi.js +7 -38
- package/esm/src/services/platform/generated/client/client.gen.d.ts.map +1 -1
- package/esm/src/services/platform/generated/client/client.gen.js +24 -16
- package/esm/src/services/platform/generated/client/index.d.ts.map +1 -1
- package/esm/src/services/platform/generated/client/index.js +1 -12
- package/esm/src/services/platform/generated/client/types.gen.d.ts.map +1 -1
- package/esm/src/services/platform/generated/client/utils.gen.d.ts.map +1 -1
- package/esm/src/services/platform/generated/client.gen.d.ts +1 -1
- package/esm/src/services/platform/generated/client.gen.d.ts.map +1 -1
- package/esm/src/services/platform/generated/client.gen.js +2 -2
- package/esm/src/services/platform/generated/core/auth.gen.d.ts.map +1 -1
- package/esm/src/services/platform/generated/core/bodySerializer.gen.d.ts.map +1 -1
- package/esm/src/services/platform/generated/core/params.gen.d.ts.map +1 -1
- package/esm/src/services/platform/generated/core/pathSerializer.gen.d.ts.map +1 -1
- package/esm/src/services/platform/generated/core/pathSerializer.gen.js +6 -2
- package/esm/src/services/platform/generated/core/serverSentEvents.gen.d.ts.map +1 -1
- package/esm/src/services/platform/generated/core/serverSentEvents.gen.js +1 -2
- package/esm/src/services/platform/generated/core/types.gen.d.ts.map +1 -1
- package/esm/src/services/platform/generated/core/utils.gen.d.ts.map +1 -1
- package/esm/src/services/platform/generated/index.d.ts +3 -0
- package/esm/src/services/platform/generated/index.d.ts.map +1 -0
- package/esm/src/services/platform/generated/index.js +3 -0
- package/esm/src/services/platform/generated/sdk.gen.d.ts +57 -2
- package/esm/src/services/platform/generated/sdk.gen.d.ts.map +1 -1
- package/esm/src/services/platform/generated/sdk.gen.js +412 -357
- package/esm/src/services/platform/generated/types.gen.d.ts +128 -0
- package/esm/src/services/platform/generated/types.gen.d.ts.map +1 -1
- package/esm/src/services/platform/mod.d.ts +1 -14
- package/esm/src/services/platform/mod.d.ts.map +1 -1
- package/esm/src/services/platform/mod.js +1 -13
- package/package.json +3 -2
- package/{esm/deps/jsr.io/@std/fs/1.0.19 → script/deps/jsr.io/@std/fs/1.0.20}/exists.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
- package/script/mod.d.ts +1 -66
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +1 -82
- package/script/src/connection/DirectConnectionFactory.d.ts +1 -1
- package/script/src/connection/DirectConnectionFactory.d.ts.map +1 -1
- package/script/src/connection/DirectConnectionFactory.js +6 -21
- package/script/src/connection/DynamicFetchFactory.d.ts.map +1 -1
- package/script/src/connection/DynamicFetchFactory.js +0 -12
- package/script/src/connection/StaticFetchFactory.d.ts.map +1 -1
- package/script/src/connection/StaticFetchFactory.js +0 -12
- package/script/src/connection/internal/CredentialHolder.d.ts +2 -2
- package/script/src/connection/internal/CredentialHolder.d.ts.map +1 -1
- package/script/src/connection/internal/CredentialHolder.js +3 -24
- package/script/src/connection/internal/FetchBuilder.d.ts +1 -1
- package/script/src/connection/internal/FetchBuilder.d.ts.map +1 -1
- package/script/src/connection/internal/FetchBuilder.js +1 -13
- package/script/src/connection/internal/HttpClientFactory.d.ts.map +1 -1
- package/script/src/connection/internal/HttpClientFactory.js +0 -12
- package/script/src/connection/internal/InboundConnectionFactory.d.ts.map +1 -1
- package/script/src/connection/internal/InboundConnectionFactory.js +0 -12
- package/script/src/connection/internal/OutboundConnectionFactory.d.ts +1 -1
- package/script/src/connection/internal/OutboundConnectionFactory.d.ts.map +1 -1
- package/script/src/connection/internal/OutboundConnectionFactory.js +6 -22
- package/script/src/connection/types.d.ts +5 -1
- package/script/src/connection/types.d.ts.map +1 -1
- package/script/src/connection/types.js +0 -12
- package/script/src/context/ActivationImpl.d.ts.map +1 -1
- package/script/src/context/ActivationImpl.js +1 -13
- package/script/src/context/AsyncWorkflow.d.ts +0 -30
- package/script/src/context/AsyncWorkflow.d.ts.map +1 -1
- package/script/src/context/AsyncWorkflow.js +8 -44
- package/script/src/context/Context.d.ts +8 -72
- package/script/src/context/Context.d.ts.map +1 -1
- package/script/src/context/Context.js +13 -15
- package/script/src/context/ContextFunc.d.ts +0 -22
- package/script/src/context/ContextFunc.d.ts.map +1 -1
- package/script/src/context/ContextFunc.js +0 -12
- package/script/src/context/ContextProvider.d.ts +2 -0
- package/script/src/context/ContextProvider.d.ts.map +1 -1
- package/script/src/context/ContextProvider.js +5 -14
- package/script/src/context/WorkflowClient.d.ts +29 -0
- package/script/src/context/WorkflowClient.d.ts.map +1 -0
- package/script/src/context/WorkflowClient.js +99 -0
- package/script/src/context/mod.d.ts +2 -8
- package/script/src/context/mod.d.ts.map +1 -1
- package/script/src/context/mod.js +2 -12
- package/script/src/dsl/Task.d.ts +1 -46
- package/script/src/dsl/Task.d.ts.map +1 -1
- package/script/src/dsl/Task.js +0 -15
- package/script/src/dsl/Trigger.d.ts +0 -16
- package/script/src/dsl/Trigger.d.ts.map +1 -1
- package/script/src/dsl/Trigger.js +0 -15
- package/script/src/dsl/Workflow.d.ts +0 -24
- package/script/src/dsl/Workflow.d.ts.map +1 -1
- package/script/src/dsl/Workflow.js +0 -12
- package/script/src/dsl/ensureTask.d.ts.map +1 -1
- package/script/src/dsl/ensureTask.js +0 -12
- package/script/src/dsl/http/default.d.ts.map +1 -1
- package/script/src/dsl/http/default.js +8 -18
- package/script/src/dsl/http/types.d.ts +1 -45
- package/script/src/dsl/http/types.d.ts.map +1 -1
- package/script/src/dsl/http/types.js +0 -12
- package/script/src/dsl/http/versori/cli.d.ts.map +1 -1
- package/script/src/dsl/http/versori/cli.js +2 -14
- package/script/src/dsl/http/versori/configloader.d.ts.map +1 -1
- package/script/src/dsl/http/versori/configloader.js +0 -12
- package/script/src/dsl/http/versori/constants.d.ts.map +1 -1
- package/script/src/dsl/http/versori/constants.js +1 -13
- package/script/src/dsl/http/versori/contextcredentials.d.ts +0 -44
- package/script/src/dsl/http/versori/contextcredentials.d.ts.map +1 -1
- package/script/src/dsl/http/versori/contextcredentials.js +0 -12
- package/script/src/dsl/http/versori/credential/oauth1/v1/authorization_metadata_pb.d.ts.map +1 -1
- package/script/src/dsl/http/versori/credential/oauth1/v1/authorization_metadata_pb.js +1 -1
- package/script/src/dsl/http/versori/credential/oauth1/v1/authorization_service_pb.d.ts.map +1 -1
- package/script/src/dsl/http/versori/credential/oauth1/v1/authorization_service_pb.js +1 -4
- package/script/src/dsl/http/versori/credential/v1alpha1/credential_pb.d.ts.map +1 -1
- package/script/src/dsl/http/versori/credential/v1alpha1/credential_pb.js +1 -1
- package/script/src/dsl/http/versori/cronapi.d.ts.map +1 -1
- package/script/src/dsl/http/versori/cronapi.js +1 -14
- package/script/src/dsl/http/versori/helpers.d.ts.map +1 -1
- package/script/src/dsl/http/versori/helpers.js +0 -12
- package/script/src/dsl/http/versori/internalauth.d.ts.map +1 -1
- package/script/src/dsl/http/versori/internalauth.js +0 -12
- package/script/src/dsl/http/versori/kvapi/core/ApiError.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/core/ApiError.js +0 -12
- package/script/src/dsl/http/versori/kvapi/core/ApiRequestOptions.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/core/ApiRequestOptions.js +0 -12
- package/script/src/dsl/http/versori/kvapi/core/ApiResult.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/core/ApiResult.js +0 -12
- package/script/src/dsl/http/versori/kvapi/core/CancelablePromise.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/core/CancelablePromise.js +1 -13
- package/script/src/dsl/http/versori/kvapi/core/OpenAPI.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/core/OpenAPI.js +0 -12
- package/script/src/dsl/http/versori/kvapi/core/request.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/core/request.js +6 -18
- package/script/src/dsl/http/versori/kvapi/index.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/index.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/BatchDeleteKVResponse.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/BatchDeleteKVResponse.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/BatchEntries.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/BatchEntries.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/BatchEntry.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/BatchEntry.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/BatchGetKVResponse.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/BatchGetKVResponse.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/BatchSetKVRequest.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/BatchSetKVRequest.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/BatchSetKVResponse.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/BatchSetKVResponse.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/CountKVRequest.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/CountKVRequest.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/CountKVResponse.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/CountKVResponse.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/CountSelector.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/CountSelector.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/CreateStoreRequest.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/CreateStoreRequest.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/CreateStoreResponse.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/CreateStoreResponse.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/DeleteKVResponse.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/DeleteKVResponse.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/DeleteOptions.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/DeleteOptions.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/Error.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/Error.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/ErrorField.d.ts +1 -0
- package/script/src/dsl/http/versori/kvapi/models/ErrorField.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/ErrorField.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/GetKVResponse.d.ts +1 -1
- package/script/src/dsl/http/versori/kvapi/models/GetKVResponse.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/GetKVResponse.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/GetOptions.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/GetOptions.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/KVBatchFailure.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/KVBatchFailure.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/KVBatchResult.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/KVBatchResult.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/KVCommitResult.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/KVCommitResult.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/KVEntry.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/KVEntry.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/KVFilter.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/KVFilter.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/KVKey.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/KVKey.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/ListKVRequest.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/ListKVRequest.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/ListKVResponse.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/ListKVResponse.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/ListOptions.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/ListOptions.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/ListSelector.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/ListSelector.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/ListStoresResponse.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/ListStoresResponse.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/Pagination.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/Pagination.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/SetKVResponse.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/SetKVResponse.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/SetOptions.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/SetOptions.js +0 -12
- package/script/src/dsl/http/versori/kvapi/models/Store.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/models/Store.js +0 -12
- package/script/src/dsl/http/versori/kvapi/services/BatchOperationsService.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/services/BatchOperationsService.js +0 -12
- package/script/src/dsl/http/versori/kvapi/services/KvOperationsService.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/services/KvOperationsService.js +0 -12
- package/script/src/dsl/http/versori/kvapi/services/QueryOperationsService.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/services/QueryOperationsService.js +0 -12
- package/script/src/dsl/http/versori/kvapi/services/StoresService.d.ts.map +1 -1
- package/script/src/dsl/http/versori/kvapi/services/StoresService.js +0 -12
- package/script/src/dsl/http/versori/proxyroundtripper.d.ts.map +1 -1
- package/script/src/dsl/http/versori/proxyroundtripper.js +4 -16
- package/script/src/dsl/http/versori/webhookmiddleware.d.ts +1 -1
- package/script/src/dsl/http/versori/webhookmiddleware.d.ts.map +1 -1
- package/script/src/dsl/http/versori/webhookmiddleware.js +20 -30
- package/script/src/dsl/mod.d.ts +1 -17
- package/script/src/dsl/mod.d.ts.map +1 -1
- package/script/src/dsl/mod.js +1 -26
- package/script/src/dsl/tasks/BackgroundTask.d.ts.map +1 -1
- package/script/src/dsl/tasks/BackgroundTask.js +0 -12
- package/script/src/dsl/tasks/CatchTask.d.ts.map +1 -1
- package/script/src/dsl/tasks/CatchTask.js +0 -12
- package/script/src/dsl/tasks/ChainTask.d.ts.map +1 -1
- package/script/src/dsl/tasks/ChainTask.js +2 -14
- package/script/src/dsl/tasks/FnTask.d.ts +1 -25
- package/script/src/dsl/tasks/FnTask.d.ts.map +1 -1
- package/script/src/dsl/tasks/FnTask.js +0 -36
- package/script/src/dsl/tasks/HttpTask.d.ts +7 -81
- package/script/src/dsl/tasks/HttpTask.d.ts.map +1 -1
- package/script/src/dsl/tasks/HttpTask.js +3 -37
- package/script/src/dsl/tasks/ParallelTask.d.ts.map +1 -1
- package/script/src/dsl/tasks/ParallelTask.js +0 -12
- package/script/src/dsl/tasks/SerialTask.d.ts.map +1 -1
- package/script/src/dsl/tasks/SerialTask.js +0 -12
- package/script/src/dsl/tasks/UnpackTask.d.ts.map +1 -1
- package/script/src/dsl/tasks/UnpackTask.js +0 -12
- package/script/src/dsl/tasks/mod.d.ts +9 -1
- package/script/src/dsl/tasks/mod.d.ts.map +1 -1
- package/script/src/dsl/tasks/mod.js +0 -12
- package/script/src/dsl/triggers/DurableTrigger.d.ts +1 -42
- package/script/src/dsl/triggers/DurableTrigger.d.ts.map +1 -1
- package/script/src/dsl/triggers/DurableTrigger.js +1 -35
- package/script/src/dsl/triggers/ScheduleTrigger.d.ts +1 -35
- package/script/src/dsl/triggers/ScheduleTrigger.d.ts.map +1 -1
- package/script/src/dsl/triggers/ScheduleTrigger.js +1 -36
- package/script/src/dsl/triggers/WebhookTrigger.d.ts +1 -71
- package/script/src/dsl/triggers/WebhookTrigger.d.ts.map +1 -1
- package/script/src/dsl/triggers/WebhookTrigger.js +0 -35
- package/script/src/dsl/triggers/mod.d.ts +5 -3
- package/script/src/dsl/triggers/mod.d.ts.map +1 -1
- package/script/src/dsl/triggers/mod.js +0 -12
- package/script/src/internal/InternalAuth.d.ts +0 -1
- package/script/src/internal/InternalAuth.d.ts.map +1 -1
- package/script/src/internal/InternalAuth.js +0 -25
- package/script/src/internal/constants.d.ts.map +1 -1
- package/script/src/internal/constants.js +0 -12
- package/script/src/interpreter/durable/DurableInterpreter.d.ts +8 -44
- package/script/src/interpreter/durable/DurableInterpreter.d.ts.map +1 -1
- package/script/src/interpreter/durable/DurableInterpreter.js +4 -59
- package/script/src/interpreter/durable/ExecutionError.d.ts +0 -17
- package/script/src/interpreter/durable/ExecutionError.d.ts.map +1 -1
- package/script/src/interpreter/durable/ExecutionError.js +0 -29
- package/script/src/interpreter/durable/ObservableCompiler.d.ts.map +1 -1
- package/script/src/interpreter/durable/ObservableCompiler.js +0 -12
- package/script/src/interpreter/durable/Queue.d.ts +24 -16
- package/script/src/interpreter/durable/Queue.d.ts.map +1 -1
- package/script/src/interpreter/durable/Queue.js +3 -16
- package/script/src/interpreter/durable/compilers/background.d.ts.map +1 -1
- package/script/src/interpreter/durable/compilers/background.js +0 -12
- package/script/src/interpreter/durable/compilers/catch.d.ts.map +1 -1
- package/script/src/interpreter/durable/compilers/catch.js +2 -14
- package/script/src/interpreter/durable/compilers/chain.d.ts.map +1 -1
- package/script/src/interpreter/durable/compilers/chain.js +0 -12
- package/script/src/interpreter/durable/compilers/durableworkflow.d.ts +2 -2
- package/script/src/interpreter/durable/compilers/durableworkflow.d.ts.map +1 -1
- package/script/src/interpreter/durable/compilers/durableworkflow.js +21 -33
- package/script/src/interpreter/durable/compilers/fn.d.ts.map +1 -1
- package/script/src/interpreter/durable/compilers/fn.js +1 -13
- package/script/src/interpreter/durable/compilers/http.d.ts.map +1 -1
- package/script/src/interpreter/durable/compilers/http.js +1 -13
- package/script/src/interpreter/durable/compilers/mod.d.ts.map +1 -1
- package/script/src/interpreter/durable/compilers/mod.js +0 -12
- package/script/src/interpreter/durable/compilers/parallel.d.ts.map +1 -1
- package/script/src/interpreter/durable/compilers/parallel.js +0 -12
- package/script/src/interpreter/durable/compilers/schedule.d.ts.map +1 -1
- package/script/src/interpreter/durable/compilers/schedule.js +0 -12
- package/script/src/interpreter/durable/compilers/serial.d.ts.map +1 -1
- package/script/src/interpreter/durable/compilers/serial.js +0 -12
- package/script/src/interpreter/durable/compilers/types.d.ts +2 -2
- package/script/src/interpreter/durable/compilers/types.d.ts.map +1 -1
- package/script/src/interpreter/durable/compilers/types.js +0 -12
- package/script/src/interpreter/durable/compilers/unpack.d.ts.map +1 -1
- package/script/src/interpreter/durable/compilers/unpack.js +1 -13
- package/script/src/interpreter/durable/compilers/webhook.d.ts.map +1 -1
- package/script/src/interpreter/durable/compilers/webhook.js +3 -15
- package/script/src/interpreter/durable/mod.d.ts +2 -0
- package/script/src/interpreter/durable/mod.d.ts.map +1 -1
- package/script/src/interpreter/durable/mod.js +2 -12
- package/script/src/interpreter/memory/ExecutionError.d.ts +0 -17
- package/script/src/interpreter/memory/ExecutionError.d.ts.map +1 -1
- package/script/src/interpreter/memory/ExecutionError.js +0 -29
- package/script/src/interpreter/memory/MemoryInterpreter.d.ts +1 -41
- package/script/src/interpreter/memory/MemoryInterpreter.d.ts.map +1 -1
- package/script/src/interpreter/memory/MemoryInterpreter.js +7 -39
- package/script/src/interpreter/memory/ObservableCompiler.d.ts.map +1 -1
- package/script/src/interpreter/memory/ObservableCompiler.js +0 -12
- package/script/src/interpreter/memory/compilers/background.d.ts.map +1 -1
- package/script/src/interpreter/memory/compilers/background.js +0 -12
- package/script/src/interpreter/memory/compilers/catch.d.ts.map +1 -1
- package/script/src/interpreter/memory/compilers/catch.js +2 -14
- package/script/src/interpreter/memory/compilers/chain.d.ts.map +1 -1
- package/script/src/interpreter/memory/compilers/chain.js +0 -12
- package/script/src/interpreter/memory/compilers/fn.d.ts.map +1 -1
- package/script/src/interpreter/memory/compilers/fn.js +1 -13
- package/script/src/interpreter/memory/compilers/http.d.ts.map +1 -1
- package/script/src/interpreter/memory/compilers/http.js +1 -13
- package/script/src/interpreter/memory/compilers/mod.d.ts +2 -0
- package/script/src/interpreter/memory/compilers/mod.d.ts.map +1 -0
- package/script/src/interpreter/memory/compilers/mod.js +2 -0
- package/script/src/interpreter/memory/compilers/parallel.d.ts.map +1 -1
- package/script/src/interpreter/memory/compilers/parallel.js +0 -12
- package/script/src/interpreter/memory/compilers/schedule.d.ts.map +1 -1
- package/script/src/interpreter/memory/compilers/schedule.js +0 -12
- package/script/src/interpreter/memory/compilers/serial.d.ts.map +1 -1
- package/script/src/interpreter/memory/compilers/serial.js +0 -12
- package/script/src/interpreter/memory/compilers/types.d.ts +2 -2
- package/script/src/interpreter/memory/compilers/types.d.ts.map +1 -1
- package/script/src/interpreter/memory/compilers/types.js +0 -12
- package/script/src/interpreter/memory/compilers/unpack.d.ts.map +1 -1
- package/script/src/interpreter/memory/compilers/unpack.js +1 -13
- package/script/src/interpreter/memory/compilers/webhook.d.ts.map +1 -1
- package/script/src/interpreter/memory/compilers/webhook.js +3 -15
- package/script/src/interpreter/memory/mod.d.ts +2 -0
- package/script/src/interpreter/memory/mod.d.ts.map +1 -1
- package/script/src/interpreter/memory/mod.js +2 -12
- package/script/src/interpreter/mod.d.ts +0 -13
- package/script/src/interpreter/mod.d.ts.map +1 -1
- package/script/src/interpreter/mod.js +0 -25
- package/script/src/issues/Issues.d.ts +1 -1
- package/script/src/issues/Issues.d.ts.map +1 -1
- package/script/src/issues/Issues.js +1 -13
- package/script/src/kv/KVNotFoundError.d.ts +0 -10
- package/script/src/kv/KVNotFoundError.d.ts.map +1 -1
- package/script/src/kv/KVNotFoundError.js +0 -22
- package/script/src/kv/KeyValue.d.ts +6 -75
- package/script/src/kv/KeyValue.d.ts.map +1 -1
- package/script/src/kv/KeyValue.js +6 -12
- package/script/src/kv/memory/MemoryKeyValue.d.ts.map +1 -1
- package/script/src/kv/memory/MemoryKeyValue.js +0 -12
- package/script/src/kv/memory/MemoryKeyValueProvider.d.ts.map +1 -1
- package/script/src/kv/memory/MemoryKeyValueProvider.js +0 -12
- package/script/src/kv/memory/mod.d.ts +3 -0
- package/script/src/kv/memory/mod.d.ts.map +1 -0
- package/script/src/kv/memory/mod.js +18 -0
- package/script/src/kv/mod.d.ts +2 -5
- package/script/src/kv/mod.d.ts.map +1 -1
- package/script/src/kv/mod.js +2 -17
- package/script/src/kv/nats/NatsKeyValue.d.ts.map +1 -1
- package/script/src/kv/nats/NatsKeyValue.js +0 -12
- package/script/src/kv/nats/NatsKeyValueProvider.d.ts.map +1 -1
- package/script/src/kv/nats/NatsKeyValueProvider.js +2 -14
- package/script/src/kv/sdk/SDKKeyValue.d.ts.map +1 -1
- package/script/src/kv/sdk/SDKKeyValue.js +16 -23
- package/script/src/kv/sdk/SDKKeyValueProvider.d.ts.map +1 -1
- package/script/src/kv/sdk/SDKKeyValueProvider.js +12 -24
- package/script/src/kv/sdk/mod.d.ts +3 -0
- package/script/src/kv/sdk/mod.d.ts.map +1 -0
- package/script/src/kv/sdk/mod.js +18 -0
- package/script/src/mod.d.ts +5 -6
- package/script/src/mod.d.ts.map +1 -1
- package/script/src/mod.js +0 -13
- package/script/src/observability/logging/ConsoleLogger.d.ts +1 -4
- package/script/src/observability/logging/ConsoleLogger.d.ts.map +1 -1
- package/script/src/observability/logging/ConsoleLogger.js +1 -16
- package/script/src/observability/logging/Logger.d.ts +0 -45
- package/script/src/observability/logging/Logger.d.ts.map +1 -1
- package/script/src/observability/logging/Logger.js +0 -12
- package/script/src/observability/logging/mod.d.ts.map +1 -1
- package/script/src/observability/logging/mod.js +0 -12
- package/script/src/observability/mod.d.ts +0 -7
- package/script/src/observability/mod.d.ts.map +1 -1
- package/script/src/observability/mod.js +0 -19
- package/script/src/services/credentials/credential-v1alpha1.d.ts.map +1 -1
- package/script/src/services/credentials/credential-v1alpha1.js +0 -12
- package/script/src/services/credentials/generated/versori/credential/oauth1/v1/authorization_metadata_pb.d.ts +3 -3
- package/script/src/services/credentials/generated/versori/credential/oauth1/v1/authorization_metadata_pb.d.ts.map +1 -1
- package/script/src/services/credentials/generated/versori/credential/oauth1/v1/authorization_metadata_pb.js +1 -1
- package/script/src/services/credentials/generated/versori/credential/oauth1/v1/authorization_service_pb.d.ts +13 -13
- package/script/src/services/credentials/generated/versori/credential/oauth1/v1/authorization_service_pb.d.ts.map +1 -1
- package/script/src/services/credentials/generated/versori/credential/oauth1/v1/authorization_service_pb.js +1 -4
- package/script/src/services/credentials/generated/versori/credential/oauth2/v1/token_pb.d.ts +4 -4
- package/script/src/services/credentials/generated/versori/credential/oauth2/v1/token_pb.d.ts.map +1 -1
- package/script/src/services/credentials/generated/versori/credential/oauth2/v1/token_pb.js +1 -1
- package/script/src/services/credentials/generated/versori/credential/oauth2/v1/token_service_pb.d.ts +21 -21
- package/script/src/services/credentials/generated/versori/credential/oauth2/v1/token_service_pb.d.ts.map +1 -1
- package/script/src/services/credentials/generated/versori/credential/oauth2/v1/token_service_pb.js +1 -6
- package/script/src/services/credentials/generated/versori/credential/tokens/v1/token_pb.d.ts +4 -4
- package/script/src/services/credentials/generated/versori/credential/tokens/v1/token_pb.d.ts.map +1 -1
- package/script/src/services/credentials/generated/versori/credential/tokens/v1/token_pb.js +1 -1
- package/script/src/services/credentials/generated/versori/credential/tokens/v1/token_service_pb.d.ts +10 -10
- package/script/src/services/credentials/generated/versori/credential/tokens/v1/token_service_pb.d.ts.map +1 -1
- package/script/src/services/credentials/generated/versori/credential/tokens/v1/token_service_pb.js +1 -6
- package/script/src/services/credentials/generated/versori/credential/v1alpha1/common_pb.d.ts +5 -5
- package/script/src/services/credentials/generated/versori/credential/v1alpha1/common_pb.d.ts.map +1 -1
- package/script/src/services/credentials/generated/versori/credential/v1alpha1/common_pb.js +1 -1
- package/script/src/services/credentials/generated/versori/credential/v1alpha1/credential_pb.d.ts +41 -41
- package/script/src/services/credentials/generated/versori/credential/v1alpha1/credential_pb.d.ts.map +1 -1
- package/script/src/services/credentials/generated/versori/credential/v1alpha1/credential_pb.js +1 -1
- package/script/src/services/credentials/generated/versori/credential/v1alpha1/credential_service_pb.d.ts +27 -27
- package/script/src/services/credentials/generated/versori/credential/v1alpha1/credential_service_pb.d.ts.map +1 -1
- package/script/src/services/credentials/generated/versori/credential/v1alpha1/credential_service_pb.js +1 -5
- package/script/src/services/credentials/isTokenValid.d.ts.map +1 -1
- package/script/src/services/credentials/isTokenValid.js +1 -13
- package/script/src/services/credentials/mod.d.ts +0 -6
- package/script/src/services/credentials/mod.d.ts.map +1 -1
- package/script/src/services/credentials/mod.js +0 -18
- package/script/src/services/credentials/oauth1-v1.d.ts.map +1 -1
- package/script/src/services/credentials/oauth1-v1.js +0 -12
- package/script/src/services/credentials/oauth2-v1.d.ts.map +1 -1
- package/script/src/services/credentials/oauth2-v1.js +0 -12
- package/script/src/services/credentials/tokens-v1.d.ts.map +1 -1
- package/script/src/services/credentials/tokens-v1.js +0 -12
- package/script/src/services/platform/PlatformApi.d.ts +1 -23
- package/script/src/services/platform/PlatformApi.d.ts.map +1 -1
- package/script/src/services/platform/PlatformApi.js +3 -34
- package/script/src/services/platform/generated/client/client.gen.d.ts.map +1 -1
- package/script/src/services/platform/generated/client/client.gen.js +24 -16
- package/script/src/services/platform/generated/client/index.d.ts.map +1 -1
- package/script/src/services/platform/generated/client/index.js +1 -12
- package/script/src/services/platform/generated/client/types.gen.d.ts.map +1 -1
- package/script/src/services/platform/generated/client/utils.gen.d.ts.map +1 -1
- package/script/src/services/platform/generated/client.gen.d.ts +1 -1
- package/script/src/services/platform/generated/client.gen.d.ts.map +1 -1
- package/script/src/services/platform/generated/client.gen.js +1 -1
- package/script/src/services/platform/generated/core/auth.gen.d.ts.map +1 -1
- package/script/src/services/platform/generated/core/bodySerializer.gen.d.ts.map +1 -1
- package/script/src/services/platform/generated/core/params.gen.d.ts.map +1 -1
- package/script/src/services/platform/generated/core/pathSerializer.gen.d.ts.map +1 -1
- package/script/src/services/platform/generated/core/pathSerializer.gen.js +6 -2
- package/script/src/services/platform/generated/core/serverSentEvents.gen.d.ts.map +1 -1
- package/script/src/services/platform/generated/core/serverSentEvents.gen.js +1 -2
- package/script/src/services/platform/generated/core/types.gen.d.ts.map +1 -1
- package/script/src/services/platform/generated/core/utils.gen.d.ts.map +1 -1
- package/script/src/services/platform/generated/index.d.ts +3 -0
- package/script/src/services/platform/generated/index.d.ts.map +1 -0
- package/script/src/services/platform/generated/index.js +19 -0
- package/script/src/services/platform/generated/sdk.gen.d.ts +57 -2
- package/script/src/services/platform/generated/sdk.gen.d.ts.map +1 -1
- package/script/src/services/platform/generated/sdk.gen.js +412 -357
- package/script/src/services/platform/generated/types.gen.d.ts +128 -0
- package/script/src/services/platform/generated/types.gen.d.ts.map +1 -1
- package/script/src/services/platform/mod.d.ts +1 -14
- package/script/src/services/platform/mod.d.ts.map +1 -1
- package/script/src/services/platform/mod.js +1 -13
- package/esm/src/dsl/http/mod.d.ts +0 -3
- package/esm/src/dsl/http/mod.d.ts.map +0 -1
- package/esm/src/dsl/http/mod.js +0 -13
- package/esm/src/internal/cli.d.ts +0 -2
- package/esm/src/internal/cli.d.ts.map +0 -1
- package/esm/src/internal/cli.js +0 -32
- package/esm/src/kv/isKVOptionsExecution.d.ts +0 -3
- package/esm/src/kv/isKVOptionsExecution.d.ts.map +0 -1
- package/esm/src/kv/isKVOptionsExecution.js +0 -17
- package/esm/src/services/createConnectRpcClient.d.ts +0 -16
- package/esm/src/services/createConnectRpcClient.d.ts.map +0 -1
- package/esm/src/services/createConnectRpcClient.js +0 -75
- package/esm/src/services/mod.d.ts +0 -11
- package/esm/src/services/mod.d.ts.map +0 -1
- package/esm/src/services/mod.js +0 -22
- package/script/src/dsl/http/mod.d.ts +0 -3
- package/script/src/dsl/http/mod.d.ts.map +0 -1
- package/script/src/dsl/http/mod.js +0 -14
- package/script/src/internal/cli.d.ts +0 -2
- package/script/src/internal/cli.d.ts.map +0 -1
- package/script/src/internal/cli.js +0 -35
- package/script/src/kv/isKVOptionsExecution.d.ts +0 -3
- package/script/src/kv/isKVOptionsExecution.d.ts.map +0 -1
- package/script/src/kv/isKVOptionsExecution.js +0 -20
- package/script/src/services/createConnectRpcClient.d.ts +0 -16
- package/script/src/services/createConnectRpcClient.d.ts.map +0 -1
- package/script/src/services/createConnectRpcClient.js +0 -78
- package/script/src/services/mod.d.ts +0 -11
- package/script/src/services/mod.d.ts.map +0 -1
- package/script/src/services/mod.js +0 -38
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.20}/exists.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.20}/exists.js +0 -0
- /package/script/deps/jsr.io/@std/fs/{1.0.19 → 1.0.20}/exists.d.ts +0 -0
- /package/script/deps/jsr.io/@std/fs/{1.0.19 → 1.0.20}/exists.js +0 -0
|
@@ -8,6 +8,7 @@ export type Activation = {
|
|
|
8
8
|
export type ActivationsList = Array<Activation>;
|
|
9
9
|
/**
|
|
10
10
|
* ActivationCreate is the request payload to activate an environment for End User
|
|
11
|
+
*
|
|
11
12
|
*/
|
|
12
13
|
export type ActivationCreate = {
|
|
13
14
|
/**
|
|
@@ -39,6 +40,7 @@ export type ConnectionCreate = {
|
|
|
39
40
|
* An example is where the system's baseURL is https://shopifyplaceholder.com and you want to connect to your own shopify
|
|
40
41
|
* which is at https://myshopify.com. Everything after the top-level domain will be ignored. If the scheme is missing, then
|
|
41
42
|
* https:// will be used.
|
|
43
|
+
*
|
|
42
44
|
*/
|
|
43
45
|
baseUrl?: string;
|
|
44
46
|
};
|
|
@@ -48,6 +50,7 @@ export type EnvSystemConnectionCreate = {
|
|
|
48
50
|
};
|
|
49
51
|
/**
|
|
50
52
|
* LinkConnectionEnvironment is the request payload to link an existing connection to an environment.
|
|
53
|
+
*
|
|
51
54
|
*/
|
|
52
55
|
export type LinkConnectionEnvironment = {
|
|
53
56
|
connectionTemplateId: TemplateId;
|
|
@@ -117,6 +120,7 @@ export type ProjectsList = {
|
|
|
117
120
|
};
|
|
118
121
|
/**
|
|
119
122
|
* The Project represents a deployable unit within our platform that includes both the functional components (files) and configuration. It serves as the backbone of custom or predefined functionalities, allowing organizations to create, update, and manage APIs and projects.
|
|
123
|
+
*
|
|
120
124
|
*/
|
|
121
125
|
export type ProjectSummary = {
|
|
122
126
|
/**
|
|
@@ -127,17 +131,20 @@ export type ProjectSummary = {
|
|
|
127
131
|
createdAt: string;
|
|
128
132
|
/**
|
|
129
133
|
* List of environments for the project.
|
|
134
|
+
*
|
|
130
135
|
*/
|
|
131
136
|
environments: Array<ProjectEnvironment>;
|
|
132
137
|
};
|
|
133
138
|
/**
|
|
134
139
|
* DynamicVariablesSchema is the JSON schema for the project's dynamic variables.
|
|
140
|
+
*
|
|
135
141
|
*/
|
|
136
142
|
export type DynamicVariablesSchema = {
|
|
137
143
|
[key: string]: unknown;
|
|
138
144
|
};
|
|
139
145
|
/**
|
|
140
146
|
* DynamicVariablesSchemaPatch is the request body for updating the project's dynamic variables.
|
|
147
|
+
*
|
|
141
148
|
*/
|
|
142
149
|
export type DynamicVariablesSchemaPatch = {
|
|
143
150
|
op: 'add' | 'remove' | 'replace';
|
|
@@ -157,11 +164,13 @@ export type DynamicVariablesSchemaPatch = {
|
|
|
157
164
|
* ```
|
|
158
165
|
*
|
|
159
166
|
* The path would be `/properties/newVar`.
|
|
167
|
+
*
|
|
160
168
|
*/
|
|
161
169
|
path: string;
|
|
162
170
|
/**
|
|
163
171
|
* The value to set the field to. This should be valid JSON schema containing the name of the variable, its type
|
|
164
172
|
* and any other properties. An example would be `{"newVar": {"type": "string"}}`.
|
|
173
|
+
*
|
|
165
174
|
*/
|
|
166
175
|
value?: {
|
|
167
176
|
[key: string]: unknown;
|
|
@@ -169,6 +178,7 @@ export type DynamicVariablesSchemaPatch = {
|
|
|
169
178
|
};
|
|
170
179
|
/**
|
|
171
180
|
* The Project represents a deployable unit within our platform that includes both the functional components (files) and configuration. It serves as the backbone of custom or predefined functionalities, allowing organizations to create, update, and manage APIs and projects.
|
|
181
|
+
*
|
|
172
182
|
*/
|
|
173
183
|
export type Project = {
|
|
174
184
|
/**
|
|
@@ -177,6 +187,7 @@ export type Project = {
|
|
|
177
187
|
id: string;
|
|
178
188
|
/**
|
|
179
189
|
* List of environments for the project.
|
|
190
|
+
*
|
|
180
191
|
*/
|
|
181
192
|
environments: Array<ProjectEnvironment>;
|
|
182
193
|
name: string;
|
|
@@ -224,6 +235,7 @@ export type Files = {
|
|
|
224
235
|
/**
|
|
225
236
|
* The labels associated with the project. Labels are stored as key-value pairs.
|
|
226
237
|
* Only string-string values are allowed
|
|
238
|
+
*
|
|
227
239
|
*/
|
|
228
240
|
labels: {
|
|
229
241
|
[key: string]: unknown;
|
|
@@ -236,6 +248,7 @@ export type ErrorField = {
|
|
|
236
248
|
/**
|
|
237
249
|
* Field is the name of the field which has an error, this may be a path to a nested field, including array
|
|
238
250
|
* elements. The format of this field is of the form: "field1.field2[0].field3"
|
|
251
|
+
*
|
|
239
252
|
*/
|
|
240
253
|
field: string;
|
|
241
254
|
/**
|
|
@@ -278,10 +291,12 @@ export type PageInfo = {
|
|
|
278
291
|
};
|
|
279
292
|
/**
|
|
280
293
|
* This is the ID of the template that the connection is created against.
|
|
294
|
+
*
|
|
281
295
|
*/
|
|
282
296
|
export type TemplateId = string;
|
|
283
297
|
/**
|
|
284
298
|
* ConnectionUpdate is the request payload to update an existing connection.
|
|
299
|
+
*
|
|
285
300
|
*/
|
|
286
301
|
export type ConnectionUpdate = {
|
|
287
302
|
/**
|
|
@@ -296,17 +311,20 @@ export type ConnectionUpdate = {
|
|
|
296
311
|
* For example, a user may have their own instance of shopify and their url is `https://myshopify.com`. They can
|
|
297
312
|
* override the base url of the connection to `https://myshopify.com` and all requests will be made to this url.
|
|
298
313
|
* If it is left as an empty string, it will be ignored.
|
|
314
|
+
*
|
|
299
315
|
*/
|
|
300
316
|
baseUrl: string;
|
|
301
317
|
};
|
|
302
318
|
/**
|
|
303
319
|
* Connection defines the credentials for the owning Connector, and additional variables
|
|
304
320
|
* which can be used to customize the Connector in a particular connection.
|
|
321
|
+
*
|
|
305
322
|
*/
|
|
306
323
|
export type Connection = {
|
|
307
324
|
/**
|
|
308
325
|
* ID is the unique identifier of the Connection. Typically this is only used internally and most (if not all)
|
|
309
326
|
* public-facing APIs will use the `name` in combination with the Connector's `id` instead.
|
|
327
|
+
*
|
|
310
328
|
*/
|
|
311
329
|
id: string;
|
|
312
330
|
/**
|
|
@@ -321,6 +339,7 @@ export type Connection = {
|
|
|
321
339
|
* For example, a user may have their own instance of shopify and their url is `https://myshopify.com`. They can
|
|
322
340
|
* override the base url of the connection to `https://myshopify.com` and all requests will be made to this url.
|
|
323
341
|
* If it is left as an empty string, it will be ignored.
|
|
342
|
+
*
|
|
324
343
|
*/
|
|
325
344
|
baseUrl?: string;
|
|
326
345
|
/**
|
|
@@ -341,6 +360,7 @@ export type Connection = {
|
|
|
341
360
|
* ConnectionCredentials defines the credentials for the owning Connector. If multiple
|
|
342
361
|
* credentials are defined for each type, they are applied to the request in the order they are defined. This is to
|
|
343
362
|
* enable Connectors which require both a user session token and an API key to be provided in the request.
|
|
363
|
+
*
|
|
344
364
|
*/
|
|
345
365
|
export type ConnectionCredentials = Array<ConnectionCredential>;
|
|
346
366
|
/**
|
|
@@ -360,6 +380,7 @@ export type ConnectionCredential = {
|
|
|
360
380
|
/**
|
|
361
381
|
* CredentialBase is the base type for all credentials. It contains the common properties which are shared across
|
|
362
382
|
* all credential types.
|
|
383
|
+
*
|
|
363
384
|
*/
|
|
364
385
|
export type Credential = {
|
|
365
386
|
/**
|
|
@@ -379,6 +400,7 @@ export type Credential = {
|
|
|
379
400
|
* Errors is a list of errors which occurred when attempting to validate the credential. This field may be
|
|
380
401
|
* undefined, which implies that validation has not occurred and the consumer cannot assume whether this
|
|
381
402
|
* Credential is valid or not. An empty array indicates that the Credential is valid.
|
|
403
|
+
*
|
|
382
404
|
*/
|
|
383
405
|
errors?: Array<string>;
|
|
384
406
|
data?: CredentialData;
|
|
@@ -386,6 +408,7 @@ export type Credential = {
|
|
|
386
408
|
* ExpiresAt denotes the time this credential should be automatically deleted. External systems can subscribe
|
|
387
409
|
* to deletion events and if the reason is "expired", can trigger the correct notifications to interested
|
|
388
410
|
* parties (such as un-publishing jobs which rely on the credential and emailing the owner to rectify it).
|
|
411
|
+
*
|
|
389
412
|
*/
|
|
390
413
|
expiresAt?: string;
|
|
391
414
|
};
|
|
@@ -417,12 +440,14 @@ export type CredentialData = {
|
|
|
417
440
|
* - oauth1: The credential is an OAuth1 access_token to be used for OAuth1 authentication.
|
|
418
441
|
* - oauth1-token: The credential is the oatuh1 token allowing bypassing the user authorization step.
|
|
419
442
|
* - certificate: The credential is a PEM encoded certificate, key and CA to be used for TLS client authentication.
|
|
443
|
+
*
|
|
420
444
|
*/
|
|
421
445
|
export type CredentialType = 'none' | 'string' | 'binary' | 'basic-auth' | 'oauth2-client' | 'oauth1' | 'oauth1-token' | 'oauth2-code' | 'oauth2-password' | 'oauth2-token' | 'certificate';
|
|
422
446
|
/**
|
|
423
447
|
* None
|
|
424
448
|
* CredentialDataNone contains no data as no credential is required to authenticate with the Connector. It is used
|
|
425
449
|
* purely as a placeholder to implement a consistent interface across all CredentialType/AuthSchemeTypes.
|
|
450
|
+
*
|
|
426
451
|
*/
|
|
427
452
|
export type CredentialDataNone = {
|
|
428
453
|
[key: string]: never;
|
|
@@ -431,10 +456,12 @@ export type CredentialDataNone = {
|
|
|
431
456
|
* String
|
|
432
457
|
* CredentialDataString contains a string value and nothing else and is commonly used for API keys. This value
|
|
433
458
|
* will be redacted when returned in a response.
|
|
459
|
+
*
|
|
434
460
|
*/
|
|
435
461
|
export type CredentialDataString = {
|
|
436
462
|
/**
|
|
437
463
|
* Value is a UTF-8 string containing the credential data. When read from the API this field will be redacted.
|
|
464
|
+
*
|
|
438
465
|
*/
|
|
439
466
|
value: string;
|
|
440
467
|
};
|
|
@@ -442,26 +469,31 @@ export type CredentialDataString = {
|
|
|
442
469
|
* JWT
|
|
443
470
|
* CredentialJWTBearer contains the username and password required to authenticate with the Connector. The
|
|
444
471
|
* `secret` property will be redacted when returned in a response.
|
|
472
|
+
*
|
|
445
473
|
*/
|
|
446
474
|
export type CredentialJwtBearer = {
|
|
447
475
|
algorithm: 'HS256' | 'HS384' | 'HS512' | 'RS256' | 'RS384' | 'RS512';
|
|
448
476
|
/**
|
|
449
477
|
* Secret is the base64 encoded secret used to sign new JWTs.
|
|
478
|
+
*
|
|
450
479
|
*/
|
|
451
480
|
secret: string;
|
|
452
481
|
/**
|
|
453
482
|
* Payload is stringified JSON object containing the default set of claims to include in the JWT payload.
|
|
454
483
|
* Issued JWTs may contain additional claims and may overwrite ones defined here, such as `exp` and `iat`.
|
|
484
|
+
*
|
|
455
485
|
*/
|
|
456
486
|
payload: string;
|
|
457
487
|
/**
|
|
458
488
|
* Expires in is a duration in the form `1h2m3s` (see Go's `time.Duration` documentation) which defined
|
|
459
489
|
* how long a newly issued JWT should be valid for.
|
|
490
|
+
*
|
|
460
491
|
*/
|
|
461
492
|
expiresIn: string;
|
|
462
493
|
/**
|
|
463
494
|
* AuthorizationHeaderPrefix is the prefix to use when setting the Authorization header, for example,
|
|
464
495
|
* "Bearer" or "JWT".
|
|
496
|
+
*
|
|
465
497
|
*/
|
|
466
498
|
authorizationHeaderPrefix: string;
|
|
467
499
|
};
|
|
@@ -469,6 +501,7 @@ export type CredentialJwtBearer = {
|
|
|
469
501
|
* Username/Password
|
|
470
502
|
* CredentialDataBasicAuth contains the username and password required to authenticate with the Connector. The
|
|
471
503
|
* `password` property will be redacted when returned in a response.
|
|
504
|
+
*
|
|
472
505
|
*/
|
|
473
506
|
export type CredentialDataBasicAuth = {
|
|
474
507
|
/**
|
|
@@ -478,12 +511,14 @@ export type CredentialDataBasicAuth = {
|
|
|
478
511
|
/**
|
|
479
512
|
* Password is the password used to authenticate with the Connector. Will be redacted when returned in a
|
|
480
513
|
* response.
|
|
514
|
+
*
|
|
481
515
|
*/
|
|
482
516
|
password: string;
|
|
483
517
|
};
|
|
484
518
|
/**
|
|
485
519
|
* Certificate
|
|
486
520
|
* CredentialDataCertificate contains the Certificate, Certificate key and CA(Certificate authority).
|
|
521
|
+
*
|
|
487
522
|
*/
|
|
488
523
|
export type CredentialDataCertificate = {
|
|
489
524
|
/**
|
|
@@ -503,6 +538,7 @@ export type CredentialDataCertificate = {
|
|
|
503
538
|
* OAuth 2.0 Password
|
|
504
539
|
* CredentialDataOAuth2Password contains the username and password of a Resource Owner within an OAuth 2.0
|
|
505
540
|
* application. The `password` property will be redacted when returned in a response.
|
|
541
|
+
*
|
|
506
542
|
*/
|
|
507
543
|
export type CredentialDataOAuth2Password = {
|
|
508
544
|
/**
|
|
@@ -512,6 +548,7 @@ export type CredentialDataOAuth2Password = {
|
|
|
512
548
|
/**
|
|
513
549
|
* Password is the password used to authenticate with the Connector. Will be redacted when returned in a
|
|
514
550
|
* response.
|
|
551
|
+
*
|
|
515
552
|
*/
|
|
516
553
|
password: string;
|
|
517
554
|
};
|
|
@@ -520,15 +557,18 @@ export type CredentialDataOAuth2Password = {
|
|
|
520
557
|
* CredentialDataOAuth2Client contains the OAuth2 client credentials required to either issue an access token from
|
|
521
558
|
* a refresh_token, or via the `client_credentials` and `authorization_code` grant types. The `clientSecret` property will be redacted when
|
|
522
559
|
* returned in a response.
|
|
560
|
+
*
|
|
523
561
|
*/
|
|
524
562
|
export type CredentialDataOAuth2Client = {
|
|
525
563
|
/**
|
|
526
564
|
* ClientID is the OAuth2 client ID used to authenticate with the Connector.
|
|
565
|
+
*
|
|
527
566
|
*/
|
|
528
567
|
clientId: string;
|
|
529
568
|
/**
|
|
530
569
|
* ClientSecret is the OAuth2 client secret used to authenticate with the Connector. Will be redacted when
|
|
531
570
|
* returned in a response.
|
|
571
|
+
*
|
|
532
572
|
*/
|
|
533
573
|
clientSecret: string;
|
|
534
574
|
/**
|
|
@@ -539,12 +579,14 @@ export type CredentialDataOAuth2Client = {
|
|
|
539
579
|
* Scopes is a list of scopes which should be requested when issuing an access token. This is only required if
|
|
540
580
|
* this credential is being used on a `client_credentials` grant type, for `authorization_code` grant types the
|
|
541
581
|
* requested scopes come from the `CredentialDataOAuth2Token` credential.
|
|
582
|
+
*
|
|
542
583
|
*/
|
|
543
584
|
scopes?: Array<string>;
|
|
544
585
|
/**
|
|
545
586
|
* AdditionalParams is a URL-encoded query string which can be used to pass additional
|
|
546
587
|
* parameters to the OAuth 2.0 token endpoint. These parameters are attached to the body
|
|
547
588
|
* in the formatted as the `application/x-www-form-urlencoded` content-type.
|
|
589
|
+
*
|
|
548
590
|
*/
|
|
549
591
|
additionalParams?: string;
|
|
550
592
|
/**
|
|
@@ -552,11 +594,13 @@ export type CredentialDataOAuth2Client = {
|
|
|
552
594
|
* communicating with the OAuth2 provider. If enabled, the `mTLSCredentialId` field must be set, or it must be
|
|
553
595
|
* created via the `CreateConnection` endpoint with an associated mTLS credential defined beforehand, in which
|
|
554
596
|
* case the mTLSCredentialID field will be populated upon saving by the API.
|
|
597
|
+
*
|
|
555
598
|
*/
|
|
556
599
|
mTLSEnabled?: boolean;
|
|
557
600
|
/**
|
|
558
601
|
* MTLSCredentialID is an optional reference to another credential being created.
|
|
559
602
|
* If set the certificate credential will be used when making a request to the tokenUrl.
|
|
603
|
+
*
|
|
560
604
|
*/
|
|
561
605
|
mTLSCredentialId?: string;
|
|
562
606
|
};
|
|
@@ -567,6 +611,7 @@ export type CredentialDataOAuth2Client = {
|
|
|
567
611
|
* via the API are the `scopes` which the user has granted consent for. This can be used to determine whether
|
|
568
612
|
* the user should be prompted to re-authorize the application with additional scopes in the event they choose to
|
|
569
613
|
* use a new endpoint which requires additional scopes to what they've already consented to.
|
|
614
|
+
*
|
|
570
615
|
*/
|
|
571
616
|
export type CredentialDataOAuth2Token = {
|
|
572
617
|
/**
|
|
@@ -576,10 +621,12 @@ export type CredentialDataOAuth2Token = {
|
|
|
576
621
|
/**
|
|
577
622
|
* AccessToken is the OAuth2 access token which can be used to authenticate with the Connector. This
|
|
578
623
|
* information is redacted when read from the API.
|
|
624
|
+
*
|
|
579
625
|
*/
|
|
580
626
|
accessToken?: string;
|
|
581
627
|
/**
|
|
582
628
|
* TokenType is the type of token which is being issued. Defaults to "Bearer" if not set.
|
|
629
|
+
*
|
|
583
630
|
*/
|
|
584
631
|
tokenType?: string;
|
|
585
632
|
/**
|
|
@@ -587,6 +634,7 @@ export type CredentialDataOAuth2Token = {
|
|
|
587
634
|
* reused until a 401 response is received from the Connector, at which point the token should be refreshed
|
|
588
635
|
* with the provided `refreshToken`. Ideally this should be provided so that erroneous failures can be
|
|
589
636
|
* avoided.
|
|
637
|
+
*
|
|
590
638
|
*/
|
|
591
639
|
expiresAt?: string;
|
|
592
640
|
/**
|
|
@@ -596,6 +644,7 @@ export type CredentialDataOAuth2Token = {
|
|
|
596
644
|
* This is a required field as it is used to refresh the access token when it expires. If users are providing
|
|
597
645
|
* an access token which does not expire using this credential type, then the same functionality may be
|
|
598
646
|
* achieved by using a simple API key and OAuth 2.0 need not be used.
|
|
647
|
+
*
|
|
599
648
|
*/
|
|
600
649
|
refreshToken: string;
|
|
601
650
|
};
|
|
@@ -606,14 +655,17 @@ export type CredentialDataOAuth2Token = {
|
|
|
606
655
|
* This is only used when creating or updating an OAuth 2.0 connection using the
|
|
607
656
|
* `authorization_code` grant type. Retrieving this credential will return a payload of
|
|
608
657
|
* type `oauth2-token` in the shape of a `CredentialDataOAuth2Token` object.
|
|
658
|
+
*
|
|
609
659
|
*/
|
|
610
660
|
export type CredentialDataOAuth2Code = {
|
|
611
661
|
/**
|
|
612
662
|
* Code is the authorization code which will be exchanged for an access token.
|
|
663
|
+
*
|
|
613
664
|
*/
|
|
614
665
|
code: string;
|
|
615
666
|
/**
|
|
616
667
|
* State is the state value which is propagated through the OAuth2 flow.
|
|
668
|
+
*
|
|
617
669
|
*/
|
|
618
670
|
state: string;
|
|
619
671
|
};
|
|
@@ -641,12 +693,14 @@ export type AdditionalParam = {
|
|
|
641
693
|
* Binary
|
|
642
694
|
* CredentialDataBinary is commonly used to store non-string data such as binary files or encryption keys. This
|
|
643
695
|
* value will be redacted when returned in a response.
|
|
696
|
+
*
|
|
644
697
|
*/
|
|
645
698
|
export type CredentialDataBinary = {
|
|
646
699
|
/**
|
|
647
700
|
* Value is a base64 encoded string containing the credential data. This could decode to a valid utf-8 string,
|
|
648
701
|
* or it could decode to a binary file such as a private key etc. When read from the API this field will be
|
|
649
702
|
* redacted.
|
|
703
|
+
*
|
|
650
704
|
*/
|
|
651
705
|
valueBase64: string;
|
|
652
706
|
};
|
|
@@ -657,6 +711,7 @@ export type CredentialDataBinary = {
|
|
|
657
711
|
* This type contains a string called `type` which denotes which field in this object should be populated.
|
|
658
712
|
* For example if the `type` is `api-key`, then the `apiKey` field will be populated with an
|
|
659
713
|
* `AuthSchemeConfigAPIKey` object.
|
|
714
|
+
*
|
|
660
715
|
*/
|
|
661
716
|
export type AuthSchemeConfig = {
|
|
662
717
|
type: AuthSchemeType;
|
|
@@ -671,6 +726,7 @@ export type AuthSchemeConfig = {
|
|
|
671
726
|
/**
|
|
672
727
|
* API Key
|
|
673
728
|
* AuthSchemeConfigAPIKey defines how a Connector uses an API key credential to authenticate with the system.
|
|
729
|
+
*
|
|
674
730
|
*/
|
|
675
731
|
export type AuthSchemeConfigApiKey = AuthSchemeConfigBase & {
|
|
676
732
|
/**
|
|
@@ -681,25 +737,30 @@ export type AuthSchemeConfigApiKey = AuthSchemeConfigBase & {
|
|
|
681
737
|
};
|
|
682
738
|
/**
|
|
683
739
|
* AuthSchemeConfigAPIKeyIn defines the location of the API key in the request.
|
|
740
|
+
*
|
|
684
741
|
*/
|
|
685
742
|
export type AuthSchemeConfigApiKeyIn = 'query' | 'header' | 'cookie';
|
|
686
743
|
/**
|
|
687
744
|
* Type is a unique identifier of the AuthScheme, this is a kebab-case formatted string, see
|
|
688
745
|
* enum values for possible options.
|
|
746
|
+
*
|
|
689
747
|
*/
|
|
690
748
|
export type AuthSchemeType = 'none' | 'api-key' | 'basic-auth' | 'oauth2' | 'hmac' | 'jwt-bearer' | 'certificate' | 'oauth1' | 'secret';
|
|
691
749
|
/**
|
|
692
750
|
* OAuth2Scope represents a single scope which can be requested by an OAuth2 application.
|
|
751
|
+
*
|
|
693
752
|
*/
|
|
694
753
|
export type OAuth2Scope = {
|
|
695
754
|
/**
|
|
696
755
|
* Name is the name of the scope as determined by the application to which this Connector
|
|
697
756
|
* is connecting to.
|
|
757
|
+
*
|
|
698
758
|
*/
|
|
699
759
|
name: string;
|
|
700
760
|
/**
|
|
701
761
|
* Description describes the scope in human-friendly terminology. This text may be
|
|
702
762
|
* displayed to users via a help tooltip or similar.
|
|
763
|
+
*
|
|
703
764
|
*/
|
|
704
765
|
description?: string;
|
|
705
766
|
};
|
|
@@ -707,11 +768,13 @@ export type AuthSchemeConfigBase = {
|
|
|
707
768
|
/**
|
|
708
769
|
* ID is the unique identifier of the AuthSchemeConfig, this is generated by the client and
|
|
709
770
|
* only requires to be unique amongst the elements of the array in which is it contained.
|
|
771
|
+
*
|
|
710
772
|
*/
|
|
711
773
|
id: string;
|
|
712
774
|
/**
|
|
713
775
|
* Description enables users to distinguish multiple configurations which use the same
|
|
714
776
|
* schemeType.
|
|
777
|
+
*
|
|
715
778
|
*/
|
|
716
779
|
description: string;
|
|
717
780
|
/**
|
|
@@ -720,6 +783,7 @@ export type AuthSchemeConfigBase = {
|
|
|
720
783
|
* creating or updating the AuthSchemeConfig.
|
|
721
784
|
*
|
|
722
785
|
* This field will be ignored if sent to the API.
|
|
786
|
+
*
|
|
723
787
|
*/
|
|
724
788
|
validationMessages?: Array<Message>;
|
|
725
789
|
};
|
|
@@ -736,27 +800,32 @@ export type AuthSchemeConfigOAuth2GrantType = 'authorizationCode' | 'clientCrede
|
|
|
736
800
|
* - Otherwise, both the credential and the database are updated using JSON Merge Patch, with
|
|
737
801
|
* undefined properties not being updated.
|
|
738
802
|
* - Any other permutation will result in a 400 Bad Request.
|
|
803
|
+
*
|
|
739
804
|
*/
|
|
740
805
|
export type AuthSchemeConfigOAuth2GrantAuthorizationCode = {
|
|
741
806
|
/**
|
|
742
807
|
* CredentialID is the unique identifier of the Credential which contains the client ID and
|
|
743
808
|
* client secret to be used as part of the `password` flow.
|
|
809
|
+
*
|
|
744
810
|
*/
|
|
745
811
|
credentialId?: string;
|
|
746
812
|
/**
|
|
747
813
|
* OrganisationID is the unique identifier of the Organisation that owns the Credential.
|
|
748
814
|
* This can be different to the Connector's OrganisationID since some may be imported from
|
|
749
815
|
* Versori's public library.
|
|
816
|
+
*
|
|
750
817
|
*/
|
|
751
818
|
organisationId?: string;
|
|
752
819
|
/**
|
|
753
820
|
* ClientID is the OAuth 2.0 client's identifier. This is not a sensitive value and may be
|
|
754
821
|
* presented to the user in plaintext.
|
|
822
|
+
*
|
|
755
823
|
*/
|
|
756
824
|
clientId?: string;
|
|
757
825
|
/**
|
|
758
826
|
* ClientSecret is the OAuth 2.0 client's secret. This is a sensitive value and will not be
|
|
759
827
|
* displayed to the user.
|
|
828
|
+
*
|
|
760
829
|
*/
|
|
761
830
|
clientSecret?: string;
|
|
762
831
|
};
|
|
@@ -778,26 +847,31 @@ export type AuthSchemeConfigOAuth2GrantClientCredentials = {
|
|
|
778
847
|
* database.
|
|
779
848
|
* - Otherwise, both the credential and the database are updated using JSON Merge Patch.
|
|
780
849
|
* - Any other permutation will result in a 400 Bad Request.
|
|
850
|
+
*
|
|
781
851
|
*/
|
|
782
852
|
export type AuthSchemeConfigOAuth2GrantPassword = {
|
|
783
853
|
/**
|
|
784
854
|
* CredentialID is the unique identifier of the Credential which contains the client ID and
|
|
785
855
|
* client secret to be used as part of the `password` flow.
|
|
856
|
+
*
|
|
786
857
|
*/
|
|
787
858
|
credentialId?: string;
|
|
788
859
|
/**
|
|
789
860
|
* OrganisationID is the unique identifier of the Organisation that owns the Credential. This can be different
|
|
790
861
|
* to the Connector's OrganisationID since some may be imported from Versori's public library.
|
|
862
|
+
*
|
|
791
863
|
*/
|
|
792
864
|
organisationId?: string;
|
|
793
865
|
/**
|
|
794
866
|
* ClientID is the OAuth 2.0 client's identifier. This is not a sensitive value and may be presented to the
|
|
795
867
|
* user in plaintext.
|
|
868
|
+
*
|
|
796
869
|
*/
|
|
797
870
|
clientId?: string;
|
|
798
871
|
/**
|
|
799
872
|
* ClientSecret is the OAuth 2.0 client's secret. This is a sensitive value and will not be displayed to the
|
|
800
873
|
* user. It may be populated when updating the Credential.
|
|
874
|
+
*
|
|
801
875
|
*/
|
|
802
876
|
clientSecret?: string;
|
|
803
877
|
};
|
|
@@ -811,18 +885,21 @@ export type AuthSchemeConfigOAuth2Grant = {
|
|
|
811
885
|
* None
|
|
812
886
|
* AuthSchemeConfigNone is a placeholder object with the schemeType set to `none`. There is no other configuration
|
|
813
887
|
* required.
|
|
888
|
+
*
|
|
814
889
|
*/
|
|
815
890
|
export type AuthSchemeConfigNone = AuthSchemeConfigBase;
|
|
816
891
|
/**
|
|
817
892
|
* Basic Auth
|
|
818
893
|
* AuthSchemeConfigBasicAuth is a placeholder object with the schemeType set to `basic-auth`. There is no other
|
|
819
894
|
* configuration required.
|
|
895
|
+
*
|
|
820
896
|
*/
|
|
821
897
|
export type AuthSchemeConfigBasicAuth = AuthSchemeConfigBase;
|
|
822
898
|
/**
|
|
823
899
|
* TLS Certificate
|
|
824
900
|
* AuthSchemeConfigCertificate is a placeholder object with the schemeType set to `certificate`.
|
|
825
901
|
* There is no other config required
|
|
902
|
+
*
|
|
826
903
|
*/
|
|
827
904
|
export type AuthSchemeConfigCertificate = AuthSchemeConfigBase;
|
|
828
905
|
/**
|
|
@@ -833,26 +910,31 @@ export type AuthSchemeConfigCertificate = AuthSchemeConfigBase;
|
|
|
833
910
|
* `client_credentials` grant type, where the user provides the Client ID and Client Secret at
|
|
834
911
|
* the point where they connect, should use the `AuthSchemeConfigOAuth2ClientCredentials` type
|
|
835
912
|
* instead.
|
|
913
|
+
*
|
|
836
914
|
*/
|
|
837
915
|
export type AuthSchemeConfigOAuth2 = AuthSchemeConfigBase & {
|
|
838
916
|
/**
|
|
839
917
|
* AuthorizeURL is the URL which the user will be redirected to in order to authorize
|
|
840
918
|
* the application.
|
|
919
|
+
*
|
|
841
920
|
*/
|
|
842
921
|
authorizeUrl?: string;
|
|
843
922
|
/**
|
|
844
923
|
* TokenURL is the URL which the application will use to issue an access token.
|
|
924
|
+
*
|
|
845
925
|
*/
|
|
846
926
|
tokenUrl: string;
|
|
847
927
|
/**
|
|
848
928
|
* Scopes is the list of all OAuth2 scopes which the application supports. The user
|
|
849
929
|
* will be allowed to choose which scopes to request when configuring the Connection.
|
|
930
|
+
*
|
|
850
931
|
*/
|
|
851
932
|
scopes: Array<OAuth2Scope>;
|
|
852
933
|
/**
|
|
853
934
|
* DefaultScopes is the list of scopes which will be requested by default when the user
|
|
854
935
|
* connects the Connector. This is useful for Connectors which require a specific set
|
|
855
936
|
* of scopes to function correctly.
|
|
937
|
+
*
|
|
856
938
|
*/
|
|
857
939
|
defaultScopes: Array<string>;
|
|
858
940
|
/**
|
|
@@ -862,18 +944,21 @@ export type AuthSchemeConfigOAuth2 = AuthSchemeConfigBase & {
|
|
|
862
944
|
*
|
|
863
945
|
* This value is only used by the UI to drive the default values when connecting, the
|
|
864
946
|
* API to `InitialiseOAuth2Connection` can be provided a different value if required.
|
|
947
|
+
*
|
|
865
948
|
*/
|
|
866
949
|
additionalAuthorizeParams?: string;
|
|
867
950
|
/**
|
|
868
951
|
* AdditionalTokenParams is a URL-encoded string following the
|
|
869
952
|
* `application/x-www-form-urlencoded` mime-type, which can be used to pass additional
|
|
870
953
|
* parameters to the OAuth 2.0 token endpoint within the request body.
|
|
954
|
+
*
|
|
871
955
|
*/
|
|
872
956
|
additionalTokenParams?: string;
|
|
873
957
|
/**
|
|
874
958
|
* MTLSEnabled is a flag which determines whether the Connector should use Mutual TLS
|
|
875
959
|
* (mTLS) to authenticate with the OAuth 2.0 token endpoint. This is useful for
|
|
876
960
|
* Connectors which require a higher level of security.
|
|
961
|
+
*
|
|
877
962
|
*/
|
|
878
963
|
mtlsEnabled?: boolean;
|
|
879
964
|
/**
|
|
@@ -883,6 +968,7 @@ export type AuthSchemeConfigOAuth2 = AuthSchemeConfigBase & {
|
|
|
883
968
|
* This may be unset when creating a connection, in which case if `mtlsEnabled` is
|
|
884
969
|
* true, then the API will find an associated AuthSchemeConfigCertificate and link
|
|
885
970
|
* them automatically.
|
|
971
|
+
*
|
|
886
972
|
*/
|
|
887
973
|
mtlsCredentialId?: string;
|
|
888
974
|
pkce?: boolean;
|
|
@@ -895,6 +981,7 @@ export type AuthSchemeConfigOAuth1 = AuthSchemeConfigBase & {
|
|
|
895
981
|
/**
|
|
896
982
|
* If set to 'true' the endpoints are optional but when connecting you need to use oauth1-token credentials and provide the token and token secret.
|
|
897
983
|
* If left empty or set to 'false' you need to provide all the endpoint and connect using the oauth1 credentials which uses the browser authorize flow.
|
|
984
|
+
*
|
|
898
985
|
*/
|
|
899
986
|
tokenAuth?: boolean;
|
|
900
987
|
consumerKey: string;
|
|
@@ -946,6 +1033,7 @@ export type AuthSchemeConfigHmacIn = 'query' | 'header' | 'cookie';
|
|
|
946
1033
|
*
|
|
947
1034
|
* This may be used on outbound requests to sign the request body, however it is more commonly used on inbound
|
|
948
1035
|
* requests (i.e. from Webhook Triggers) to verify the sender of the request is allowed to invoke the Trigger.
|
|
1036
|
+
*
|
|
949
1037
|
*/
|
|
950
1038
|
export type AuthSchemeConfigHmac = AuthSchemeConfigBase & {
|
|
951
1039
|
/**
|
|
@@ -961,16 +1049,19 @@ export type AuthSchemeConfigHmac = AuthSchemeConfigBase & {
|
|
|
961
1049
|
* AuthSchemeConfigHMACInputs defines what parts of a HTTP request are consumed to generate the HMAC signature. Some systems
|
|
962
1050
|
* only generate the signature from the request body, others may include the URL. The order of this array
|
|
963
1051
|
* defines the order in which the input is fed into the hashing function.
|
|
1052
|
+
*
|
|
964
1053
|
*/
|
|
965
1054
|
digestInputs: Array<'body' | 'url'>;
|
|
966
1055
|
/**
|
|
967
1056
|
* Encoding defines how the HMAC signature was encoded. This can be one of `hex`, `base64` or `base64url`.
|
|
1057
|
+
*
|
|
968
1058
|
*/
|
|
969
1059
|
encoding: 'hex' | 'base64' | 'base64url';
|
|
970
1060
|
};
|
|
971
1061
|
/**
|
|
972
1062
|
* Message is a message to be displayed to the user to indicate some information about the
|
|
973
1063
|
* preceding request.
|
|
1064
|
+
*
|
|
974
1065
|
*/
|
|
975
1066
|
export type Message = {
|
|
976
1067
|
/**
|
|
@@ -981,12 +1072,14 @@ export type Message = {
|
|
|
981
1072
|
/**
|
|
982
1073
|
* Details contains additional information about the message. This is intended to be used
|
|
983
1074
|
* to provide more information about the message, such as a list of validation errors.
|
|
1075
|
+
*
|
|
984
1076
|
*/
|
|
985
1077
|
detail?: Array<string>;
|
|
986
1078
|
};
|
|
987
1079
|
export type MessageSeverity = 'info' | 'warning' | 'error';
|
|
988
1080
|
/**
|
|
989
1081
|
* InitialiseOAuth2ConnectionRequest is the payload to initialise an OAuth 2.0 connection.
|
|
1082
|
+
*
|
|
990
1083
|
*/
|
|
991
1084
|
export type InitialiseOAuth2ConnectionRequest = {
|
|
992
1085
|
credential: {
|
|
@@ -994,23 +1087,27 @@ export type InitialiseOAuth2ConnectionRequest = {
|
|
|
994
1087
|
* ID is the unique identifier of the credential which is being used to
|
|
995
1088
|
* initialise the connection. This is used to load the client_secret when the authorisation
|
|
996
1089
|
* code is exchanged for an access token.
|
|
1090
|
+
*
|
|
997
1091
|
*/
|
|
998
1092
|
id: string;
|
|
999
1093
|
/**
|
|
1000
1094
|
* OrganisationID is the unique identifier of the organisation which the credential is
|
|
1001
1095
|
* associated with. This is used to ensure that the credential is only used to initialise
|
|
1002
1096
|
* connections for the organisation which owns the credential.
|
|
1097
|
+
*
|
|
1003
1098
|
*/
|
|
1004
1099
|
organisationId: string;
|
|
1005
1100
|
};
|
|
1006
1101
|
/**
|
|
1007
1102
|
* AuthorizeURL is the URL which the user will be redirected to in order to authorize
|
|
1008
1103
|
* the application.
|
|
1104
|
+
*
|
|
1009
1105
|
*/
|
|
1010
1106
|
authorizeUrl: string;
|
|
1011
1107
|
/**
|
|
1012
1108
|
* ClientID is the OAuth 2.0 client ID which is used to identify the application to the
|
|
1013
1109
|
* OAuth 2.0 provider.
|
|
1110
|
+
*
|
|
1014
1111
|
*/
|
|
1015
1112
|
clientId: string;
|
|
1016
1113
|
/**
|
|
@@ -1018,6 +1115,7 @@ export type InitialiseOAuth2ConnectionRequest = {
|
|
|
1018
1115
|
*
|
|
1019
1116
|
* Unless `disableOfflineAccess` is set to true, the API will also include the standard
|
|
1020
1117
|
* `offline_access` scope in addition to the ones provided here.
|
|
1118
|
+
*
|
|
1021
1119
|
*/
|
|
1022
1120
|
scopes?: Array<string>;
|
|
1023
1121
|
/**
|
|
@@ -1026,6 +1124,7 @@ export type InitialiseOAuth2ConnectionRequest = {
|
|
|
1026
1124
|
* `scopes` to make it clear that the API will always include the `offline_access` scope
|
|
1027
1125
|
* by default, but can be disabled if the system does not implement the standards so that
|
|
1028
1126
|
* the user can define their own custom scope as part of `scopes`.
|
|
1127
|
+
*
|
|
1029
1128
|
*/
|
|
1030
1129
|
disableOfflineAccess?: boolean;
|
|
1031
1130
|
/**
|
|
@@ -1041,6 +1140,7 @@ export type InitialiseOAuth2ConnectionRequest = {
|
|
|
1041
1140
|
* If not provided, this API defaults to "login", unless `additionalParams` contains the
|
|
1042
1141
|
* `approval_prompt` parameter (thanks, Google refresh tokens), in which case this value
|
|
1043
1142
|
* does not default to anything.
|
|
1143
|
+
*
|
|
1044
1144
|
*/
|
|
1045
1145
|
prompt?: string;
|
|
1046
1146
|
/**
|
|
@@ -1049,12 +1149,14 @@ export type InitialiseOAuth2ConnectionRequest = {
|
|
|
1049
1149
|
* other parameters defined by the request, an attempt to do so will result in an error.
|
|
1050
1150
|
*
|
|
1051
1151
|
* These parameters are attached to returned URL as query parameters.
|
|
1152
|
+
*
|
|
1052
1153
|
*/
|
|
1053
1154
|
additionalParams?: string;
|
|
1054
1155
|
};
|
|
1055
1156
|
/**
|
|
1056
1157
|
* InitialiseOAuth2ConnectionResponse contains the URL to redirect the user to in order to
|
|
1057
1158
|
* initiate an OAuth 2.0 `authorization_code` grant flow.
|
|
1159
|
+
*
|
|
1058
1160
|
*/
|
|
1059
1161
|
export type InitialiseOAuth2ConnectionResponse = {
|
|
1060
1162
|
/**
|
|
@@ -1064,6 +1166,7 @@ export type InitialiseOAuth2ConnectionResponse = {
|
|
|
1064
1166
|
};
|
|
1065
1167
|
/**
|
|
1066
1168
|
* InitialiseOAuth1ConnectionRequest is the payload to initialise an OAuth 1.0 connection.
|
|
1169
|
+
*
|
|
1067
1170
|
*/
|
|
1068
1171
|
export type InitialiseOAuth1ConnectionRequest = {
|
|
1069
1172
|
credential: {
|
|
@@ -1082,16 +1185,19 @@ export type EndUser = {
|
|
|
1082
1185
|
/**
|
|
1083
1186
|
* ID is the Versori identifier for the user. Most APIs will not use this field but instead reference
|
|
1084
1187
|
* users by their externalId.
|
|
1188
|
+
*
|
|
1085
1189
|
*/
|
|
1086
1190
|
id: string;
|
|
1087
1191
|
/**
|
|
1088
1192
|
* ExternalID is the identifier for the user as determined by the organisation. This typically should
|
|
1089
1193
|
* be the same as the user's ID on the organisations system. Regardless of the value, it must
|
|
1090
1194
|
* be unique within the Organisation.
|
|
1195
|
+
*
|
|
1091
1196
|
*/
|
|
1092
1197
|
externalId: string;
|
|
1093
1198
|
/**
|
|
1094
1199
|
* DisplayName is an optional human-readable name for the user. If not set, the default is an empty string.
|
|
1200
|
+
*
|
|
1095
1201
|
*/
|
|
1096
1202
|
displayName: string;
|
|
1097
1203
|
/**
|
|
@@ -1212,6 +1318,7 @@ export type LinkSystem = {
|
|
|
1212
1318
|
* If the connections to the system need to be dynamic or static.
|
|
1213
1319
|
* Dynamic connections are used when the integration runs for multiple end users.
|
|
1214
1320
|
* Defaults to false if not set.
|
|
1321
|
+
*
|
|
1215
1322
|
*/
|
|
1216
1323
|
dynamic?: boolean;
|
|
1217
1324
|
};
|
|
@@ -1245,6 +1352,7 @@ export type Action = {
|
|
|
1245
1352
|
/**
|
|
1246
1353
|
* ContentType is the content type that this action expects to receive in the request body if any, and the
|
|
1247
1354
|
* content type of the response body if any. If this field is left blank, then "application/json" is assumed.
|
|
1355
|
+
*
|
|
1248
1356
|
*/
|
|
1249
1357
|
contentType?: string;
|
|
1250
1358
|
summary?: string;
|
|
@@ -1254,6 +1362,7 @@ export type Action = {
|
|
|
1254
1362
|
* Path is the path of the action, which may contain templated values in curly braces.
|
|
1255
1363
|
* For example, `/users/{userId}`. The path should be the full path relative to the base URL of the system,
|
|
1256
1364
|
* the base URL containing everything before (and including) the top-level domain (.com, .gov, .org etc).
|
|
1365
|
+
*
|
|
1257
1366
|
*/
|
|
1258
1367
|
path: string;
|
|
1259
1368
|
/**
|
|
@@ -1261,18 +1370,22 @@ export type Action = {
|
|
|
1261
1370
|
* used to set values in the path, query string or headers of the request. Note that when creating an action,
|
|
1262
1371
|
* if the path contains templated values in curly braces, these will automatically be converted into
|
|
1263
1372
|
* parameters of type `path` with the name of the parameter being the name of the templated value.
|
|
1373
|
+
*
|
|
1264
1374
|
*/
|
|
1265
1375
|
parameters: Array<ActionParameter>;
|
|
1266
1376
|
/**
|
|
1267
1377
|
* GraphQLQuery is the GraphQL query to execute for the action. This is only used if the action type is `graphql`.
|
|
1378
|
+
*
|
|
1268
1379
|
*/
|
|
1269
1380
|
graphqlQuery?: string;
|
|
1270
1381
|
/**
|
|
1271
1382
|
* Request is the request body of the action. This is only used if the action type is `http`.
|
|
1383
|
+
*
|
|
1272
1384
|
*/
|
|
1273
1385
|
request?: string;
|
|
1274
1386
|
/**
|
|
1275
1387
|
* Response is the response body of the action. This is only used if the action type is `http`.
|
|
1388
|
+
*
|
|
1276
1389
|
*/
|
|
1277
1390
|
response?: string;
|
|
1278
1391
|
};
|
|
@@ -1298,6 +1411,7 @@ export type CreateActions = {
|
|
|
1298
1411
|
/**
|
|
1299
1412
|
* ContentType is the content type that this action expects to receive in the request body if any, and the
|
|
1300
1413
|
* content type of the response body if any. If this field is left blank, then "application/json" is assumed.
|
|
1414
|
+
*
|
|
1301
1415
|
*/
|
|
1302
1416
|
contentType?: string;
|
|
1303
1417
|
parameters?: Array<ActionParameter>;
|
|
@@ -1325,6 +1439,7 @@ export type UpdateConnectionTemplate = {
|
|
|
1325
1439
|
/**
|
|
1326
1440
|
* The IDs of the auth scheme config to use for this connection template. The overwhelming majority of the time,
|
|
1327
1441
|
* this will only be a single ID. To see about multiple auth scheme configs, see ConnectionTemplate for details.
|
|
1442
|
+
*
|
|
1328
1443
|
*/
|
|
1329
1444
|
authSchemeConfigIds?: Array<string>;
|
|
1330
1445
|
};
|
|
@@ -1346,6 +1461,7 @@ export type ConnectionTemplate = {
|
|
|
1346
1461
|
* configs for different authentication methods. The overwhelming majority of the time, this will be a single config.
|
|
1347
1462
|
* There does exist cases where credentials may need to be applied in sequence, such as mTLS. If there are multiple
|
|
1348
1463
|
* auth scheme configs here, it acts like a queue and they are applied in order.
|
|
1464
|
+
*
|
|
1349
1465
|
*/
|
|
1350
1466
|
authSchemeConfigs: Array<AuthSchemeConfig>;
|
|
1351
1467
|
templateBaseUrl: string;
|
|
@@ -1368,6 +1484,7 @@ export type SystemPage = PageInfo & {
|
|
|
1368
1484
|
* Labels is a map of key-value pairs that can be used to store arbitrary metadata about a resource.
|
|
1369
1485
|
* Keys must start with a letter and can only contain letters, numbers, and underscores.
|
|
1370
1486
|
* Values can be any string.
|
|
1487
|
+
*
|
|
1371
1488
|
*/
|
|
1372
1489
|
export type Labels = {
|
|
1373
1490
|
[key: string]: unknown;
|
|
@@ -1740,6 +1857,7 @@ export type ActivationId = string;
|
|
|
1740
1857
|
/**
|
|
1741
1858
|
* The static query parameter is used to list the static activation/user on endpoints.
|
|
1742
1859
|
* This query parameter is really only intended for internal use or by the UI.
|
|
1860
|
+
*
|
|
1743
1861
|
*/
|
|
1744
1862
|
export type Static = boolean;
|
|
1745
1863
|
export type EnvSystemId = string;
|
|
@@ -2116,6 +2234,7 @@ export type ListTracesData = {
|
|
|
2116
2234
|
* - "url.path"
|
|
2117
2235
|
* - "url.query"
|
|
2118
2236
|
* - "url.scheme"
|
|
2237
|
+
*
|
|
2119
2238
|
*/
|
|
2120
2239
|
filter?: string;
|
|
2121
2240
|
error?: boolean;
|
|
@@ -2316,11 +2435,13 @@ export type ListEndUsersData = {
|
|
|
2316
2435
|
/**
|
|
2317
2436
|
* Search is a string that is used to filter the list of End Users. The search string is matched against the
|
|
2318
2437
|
* id, externalId and displayName fields.
|
|
2438
|
+
*
|
|
2319
2439
|
*/
|
|
2320
2440
|
search?: string;
|
|
2321
2441
|
/**
|
|
2322
2442
|
* Filter users by their activation status. Must be used together with environment_id.
|
|
2323
2443
|
* If not provided, returns all users regardless of activation status.
|
|
2444
|
+
*
|
|
2324
2445
|
*/
|
|
2325
2446
|
activated?: boolean;
|
|
2326
2447
|
/**
|
|
@@ -2328,6 +2449,7 @@ export type ListEndUsersData = {
|
|
|
2328
2449
|
* When combined with 'activated=true', it returns users that are activated in the specified environment.
|
|
2329
2450
|
* When combined with 'activated=false', it returns users that are not activated in this specific environment.
|
|
2330
2451
|
* If not provided, returns users from all environments.
|
|
2452
|
+
*
|
|
2331
2453
|
*/
|
|
2332
2454
|
environment_id?: string;
|
|
2333
2455
|
};
|
|
@@ -2696,6 +2818,7 @@ export type ListActivationsData = {
|
|
|
2696
2818
|
/**
|
|
2697
2819
|
* The static query parameter is used to list the static activation/user on endpoints.
|
|
2698
2820
|
* This query parameter is really only intended for internal use or by the UI.
|
|
2821
|
+
*
|
|
2699
2822
|
*/
|
|
2700
2823
|
static?: boolean;
|
|
2701
2824
|
};
|
|
@@ -3484,26 +3607,31 @@ export type ListIssuesData = {
|
|
|
3484
3607
|
/**
|
|
3485
3608
|
* Which date to use in after and before queries. If not provided, defaults to createdAt.
|
|
3486
3609
|
* The result will also be ordered by this date.
|
|
3610
|
+
*
|
|
3487
3611
|
*/
|
|
3488
3612
|
search_date?: 'createdAt' | 'lastSeenAt';
|
|
3489
3613
|
/**
|
|
3490
3614
|
* Filter issues by status. Can be one of 'open', 'closed', 'acked' or 'resolved'.
|
|
3491
3615
|
* If not provided, defaults to getting issues of all statuses.
|
|
3616
|
+
*
|
|
3492
3617
|
*/
|
|
3493
3618
|
status?: IssueStatusEnum;
|
|
3494
3619
|
/**
|
|
3495
3620
|
* Filter issues by project ID. If not provided, issues from all projects are returned.
|
|
3496
3621
|
* This is useful for filtering issues related to a specific project.
|
|
3622
|
+
*
|
|
3497
3623
|
*/
|
|
3498
3624
|
project_id?: string;
|
|
3499
3625
|
/**
|
|
3500
3626
|
* Filter issues by environment ID. If not provided, issues from all projects are returned.
|
|
3501
3627
|
* This is useful for filtering issues related to a specific environment.
|
|
3628
|
+
*
|
|
3502
3629
|
*/
|
|
3503
3630
|
environment_id?: string;
|
|
3504
3631
|
/**
|
|
3505
3632
|
* Filter issues by severity. Can be one of 'low', 'medium', or 'high'.
|
|
3506
3633
|
* If not provided, issues of all severities are returned.
|
|
3634
|
+
*
|
|
3507
3635
|
*/
|
|
3508
3636
|
severity?: IssueSeverityEnum;
|
|
3509
3637
|
};
|