@zapier/zapier-sdk 0.77.0 → 0.77.2
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/CHANGELOG.md +26 -0
- package/dist/experimental.cjs +4 -3
- package/dist/experimental.d.mts +2 -3
- package/dist/experimental.d.ts +918 -934
- package/dist/experimental.mjs +4 -3
- package/dist/{index-BZShISEr.d.mts → index-kC0bJpsG.d.mts} +25 -3
- package/dist/{index-BZShISEr.d.ts → index-kC0bJpsG.d.ts} +25 -3
- package/dist/index.cjs +4 -3
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +6 -81
- package/dist/index.mjs +4 -3
- package/package.json +3 -3
- package/dist/api/approval-review-stream.d.ts +0 -25
- package/dist/api/approval-review-stream.d.ts.map +0 -1
- package/dist/api/approval-review-stream.js +0 -104
- package/dist/api/auth.d.ts +0 -14
- package/dist/api/auth.d.ts.map +0 -1
- package/dist/api/auth.js +0 -77
- package/dist/api/client.d.ts +0 -9
- package/dist/api/client.d.ts.map +0 -1
- package/dist/api/client.js +0 -1232
- package/dist/api/concurrency.d.ts +0 -28
- package/dist/api/concurrency.d.ts.map +0 -1
- package/dist/api/concurrency.js +0 -90
- package/dist/api/debug.d.ts +0 -14
- package/dist/api/debug.d.ts.map +0 -1
- package/dist/api/debug.js +0 -133
- package/dist/api/error-classification.d.ts +0 -19
- package/dist/api/error-classification.d.ts.map +0 -1
- package/dist/api/error-classification.js +0 -31
- package/dist/api/index.d.ts +0 -33
- package/dist/api/index.d.ts.map +0 -1
- package/dist/api/index.js +0 -44
- package/dist/api/polling.d.ts +0 -64
- package/dist/api/polling.d.ts.map +0 -1
- package/dist/api/polling.js +0 -180
- package/dist/api/schemas.d.ts +0 -423
- package/dist/api/schemas.d.ts.map +0 -1
- package/dist/api/schemas.js +0 -323
- package/dist/api/sse-parser.d.ts +0 -51
- package/dist/api/sse-parser.d.ts.map +0 -1
- package/dist/api/sse-parser.js +0 -95
- package/dist/api/types.d.ts +0 -215
- package/dist/api/types.d.ts.map +0 -1
- package/dist/api/types.js +0 -1
- package/dist/auth.d.ts +0 -149
- package/dist/auth.d.ts.map +0 -1
- package/dist/auth.js +0 -526
- package/dist/cache.d.ts +0 -50
- package/dist/cache.d.ts.map +0 -1
- package/dist/cache.js +0 -47
- package/dist/constants.d.ts +0 -84
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js +0 -122
- package/dist/core-stack.d.ts +0 -24
- package/dist/core-stack.d.ts.map +0 -1
- package/dist/core-stack.js +0 -32
- package/dist/credentials.d.ts +0 -57
- package/dist/credentials.d.ts.map +0 -1
- package/dist/credentials.js +0 -184
- package/dist/define/apps-entrypoint.d.ts +0 -3
- package/dist/define/apps-entrypoint.d.ts.map +0 -1
- package/dist/define/apps-entrypoint.js +0 -1
- package/dist/define/apps-registry-keys.d.ts +0 -2
- package/dist/define/apps-registry-keys.d.ts.map +0 -1
- package/dist/define/apps-registry-keys.js +0 -2
- package/dist/define/apps-registry.d.ts +0 -13
- package/dist/define/apps-registry.d.ts.map +0 -1
- package/dist/define/apps-registry.js +0 -31
- package/dist/define/apps-registry.json +0 -9010
- package/dist/define/apps.d.ts +0 -11
- package/dist/define/apps.d.ts.map +0 -1
- package/dist/define/apps.js +0 -2
- package/dist/define/define.d.ts +0 -13
- package/dist/define/define.d.ts.map +0 -1
- package/dist/define/define.js +0 -93
- package/dist/define/helpers.d.ts +0 -8
- package/dist/define/helpers.d.ts.map +0 -1
- package/dist/define/helpers.js +0 -6
- package/dist/define/index.d.ts +0 -5
- package/dist/define/index.d.ts.map +0 -1
- package/dist/define/index.js +0 -2
- package/dist/define/types.d.ts +0 -246
- package/dist/define/types.d.ts.map +0 -1
- package/dist/define/types.js +0 -1
- package/dist/experimental.d.ts.map +0 -1
- package/dist/experimental.js +0 -232
- package/dist/formatters/action.d.ts +0 -4
- package/dist/formatters/action.d.ts.map +0 -1
- package/dist/formatters/action.js +0 -18
- package/dist/formatters/actionResult.d.ts +0 -3
- package/dist/formatters/actionResult.d.ts.map +0 -1
- package/dist/formatters/actionResult.js +0 -25
- package/dist/formatters/app.d.ts +0 -4
- package/dist/formatters/app.d.ts.map +0 -1
- package/dist/formatters/app.js +0 -10
- package/dist/formatters/clientCredentials.d.ts +0 -5
- package/dist/formatters/clientCredentials.d.ts.map +0 -1
- package/dist/formatters/clientCredentials.js +0 -27
- package/dist/formatters/connection.d.ts +0 -4
- package/dist/formatters/connection.d.ts.map +0 -1
- package/dist/formatters/connection.js +0 -26
- package/dist/formatters/field.d.ts +0 -4
- package/dist/formatters/field.d.ts.map +0 -1
- package/dist/formatters/field.js +0 -51
- package/dist/formatters/index.d.ts +0 -2
- package/dist/formatters/index.d.ts.map +0 -1
- package/dist/formatters/index.js +0 -1
- package/dist/formatters/inputFieldChoice.d.ts +0 -4
- package/dist/formatters/inputFieldChoice.d.ts.map +0 -1
- package/dist/formatters/inputFieldChoice.js +0 -16
- package/dist/formatters/tableField.d.ts +0 -4
- package/dist/formatters/tableField.d.ts.map +0 -1
- package/dist/formatters/tableField.js +0 -7
- package/dist/formatters/tableRecord.d.ts +0 -8
- package/dist/formatters/tableRecord.d.ts.map +0 -1
- package/dist/formatters/tableRecord.js +0 -24
- package/dist/formatters/triggerInbox.d.ts +0 -4
- package/dist/formatters/triggerInbox.d.ts.map +0 -1
- package/dist/formatters/triggerInbox.js +0 -31
- package/dist/formatters/triggerMessage.d.ts +0 -5
- package/dist/formatters/triggerMessage.d.ts.map +0 -1
- package/dist/formatters/triggerMessage.js +0 -34
- package/dist/formatters/userProfile.d.ts +0 -4
- package/dist/formatters/userProfile.d.ts.map +0 -1
- package/dist/formatters/userProfile.js +0 -19
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -94
- package/dist/plugins/api/index.d.ts +0 -30
- package/dist/plugins/api/index.d.ts.map +0 -1
- package/dist/plugins/api/index.js +0 -35
- package/dist/plugins/apps/index.d.ts +0 -118
- package/dist/plugins/apps/index.d.ts.map +0 -1
- package/dist/plugins/apps/index.js +0 -156
- package/dist/plugins/apps/schemas.d.ts +0 -50
- package/dist/plugins/apps/schemas.d.ts.map +0 -1
- package/dist/plugins/apps/schemas.js +0 -37
- package/dist/plugins/capabilities/index.d.ts +0 -27
- package/dist/plugins/capabilities/index.d.ts.map +0 -1
- package/dist/plugins/capabilities/index.js +0 -75
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.d.ts +0 -70
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.js +0 -28
- package/dist/plugins/codeSubstrate/cancelDurableRun/schemas.d.ts +0 -11
- package/dist/plugins/codeSubstrate/cancelDurableRun/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/cancelDurableRun/schemas.js +0 -12
- package/dist/plugins/codeSubstrate/createWorkflow/index.d.ts +0 -49
- package/dist/plugins/codeSubstrate/createWorkflow/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/createWorkflow/index.js +0 -24
- package/dist/plugins/codeSubstrate/createWorkflow/schemas.d.ts +0 -20
- package/dist/plugins/codeSubstrate/createWorkflow/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/createWorkflow/schemas.js +0 -42
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts +0 -75
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.js +0 -28
- package/dist/plugins/codeSubstrate/deleteWorkflow/schemas.d.ts +0 -10
- package/dist/plugins/codeSubstrate/deleteWorkflow/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/deleteWorkflow/schemas.js +0 -13
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts +0 -76
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/index.js +0 -21
- package/dist/plugins/codeSubstrate/disableWorkflow/schemas.d.ts +0 -11
- package/dist/plugins/codeSubstrate/disableWorkflow/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/schemas.js +0 -12
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts +0 -76
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/index.js +0 -21
- package/dist/plugins/codeSubstrate/enableWorkflow/schemas.d.ts +0 -11
- package/dist/plugins/codeSubstrate/enableWorkflow/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/schemas.js +0 -12
- package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts +0 -119
- package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getDurableRun/index.js +0 -21
- package/dist/plugins/codeSubstrate/getDurableRun/schemas.d.ts +0 -178
- package/dist/plugins/codeSubstrate/getDurableRun/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getDurableRun/schemas.js +0 -126
- package/dist/plugins/codeSubstrate/getTriggerRun/index.d.ts +0 -47
- package/dist/plugins/codeSubstrate/getTriggerRun/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getTriggerRun/index.js +0 -23
- package/dist/plugins/codeSubstrate/getTriggerRun/schemas.d.ts +0 -24
- package/dist/plugins/codeSubstrate/getTriggerRun/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getTriggerRun/schemas.js +0 -30
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts +0 -114
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getWorkflow/index.js +0 -21
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.d.ts +0 -81
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.js +0 -71
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts +0 -112
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.js +0 -25
- package/dist/plugins/codeSubstrate/getWorkflowRun/schemas.d.ts +0 -26
- package/dist/plugins/codeSubstrate/getWorkflowRun/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/schemas.js +0 -43
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts +0 -132
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.js +0 -25
- package/dist/plugins/codeSubstrate/getWorkflowVersion/schemas.d.ts +0 -30
- package/dist/plugins/codeSubstrate/getWorkflowVersion/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/schemas.js +0 -35
- package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts +0 -55
- package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listDurableRuns/index.js +0 -31
- package/dist/plugins/codeSubstrate/listDurableRuns/schemas.d.ts +0 -73
- package/dist/plugins/codeSubstrate/listDurableRuns/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listDurableRuns/schemas.js +0 -58
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts +0 -88
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.js +0 -34
- package/dist/plugins/codeSubstrate/listWorkflowRuns/schemas.d.ts +0 -63
- package/dist/plugins/codeSubstrate/listWorkflowRuns/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/schemas.js +0 -69
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts +0 -98
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.js +0 -34
- package/dist/plugins/codeSubstrate/listWorkflowVersions/schemas.d.ts +0 -63
- package/dist/plugins/codeSubstrate/listWorkflowVersions/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listWorkflowVersions/schemas.js +0 -58
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts +0 -61
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listWorkflows/index.js +0 -28
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.d.ts +0 -86
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.js +0 -79
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts +0 -150
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.js +0 -80
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/schemas.d.ts +0 -158
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/schemas.js +0 -124
- package/dist/plugins/codeSubstrate/runDurable/index.d.ts +0 -94
- package/dist/plugins/codeSubstrate/runDurable/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/runDurable/index.js +0 -41
- package/dist/plugins/codeSubstrate/runDurable/schemas.d.ts +0 -149
- package/dist/plugins/codeSubstrate/runDurable/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/runDurable/schemas.js +0 -95
- package/dist/plugins/codeSubstrate/shared-schemas.d.ts +0 -41
- package/dist/plugins/codeSubstrate/shared-schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/shared-schemas.js +0 -83
- package/dist/plugins/codeSubstrate/shared.d.ts +0 -72
- package/dist/plugins/codeSubstrate/shared.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/shared.js +0 -115
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts +0 -78
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.js +0 -40
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.d.ts +0 -16
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.js +0 -26
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts +0 -85
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/updateWorkflow/index.js +0 -28
- package/dist/plugins/codeSubstrate/updateWorkflow/schemas.d.ts +0 -20
- package/dist/plugins/codeSubstrate/updateWorkflow/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/updateWorkflow/schemas.js +0 -37
- package/dist/plugins/connections/index.d.ts +0 -19
- package/dist/plugins/connections/index.d.ts.map +0 -1
- package/dist/plugins/connections/index.js +0 -21
- package/dist/plugins/createClientCredentials/index.d.ts +0 -32
- package/dist/plugins/createClientCredentials/index.d.ts.map +0 -1
- package/dist/plugins/createClientCredentials/index.js +0 -29
- package/dist/plugins/createClientCredentials/schemas.d.ts +0 -18
- package/dist/plugins/createClientCredentials/schemas.d.ts.map +0 -1
- package/dist/plugins/createClientCredentials/schemas.js +0 -16
- package/dist/plugins/createConnection/index.d.ts +0 -189
- package/dist/plugins/createConnection/index.d.ts.map +0 -1
- package/dist/plugins/createConnection/index.js +0 -71
- package/dist/plugins/createConnection/schemas.d.ts +0 -21
- package/dist/plugins/createConnection/schemas.d.ts.map +0 -1
- package/dist/plugins/createConnection/schemas.js +0 -38
- package/dist/plugins/deleteClientCredentials/index.d.ts +0 -48
- package/dist/plugins/deleteClientCredentials/index.d.ts.map +0 -1
- package/dist/plugins/deleteClientCredentials/index.js +0 -21
- package/dist/plugins/deleteClientCredentials/schemas.d.ts +0 -12
- package/dist/plugins/deleteClientCredentials/schemas.d.ts.map +0 -1
- package/dist/plugins/deleteClientCredentials/schemas.js +0 -8
- package/dist/plugins/deprecated/authentications.d.ts +0 -763
- package/dist/plugins/deprecated/authentications.d.ts.map +0 -1
- package/dist/plugins/deprecated/authentications.js +0 -100
- package/dist/plugins/deprecated/inputFields.d.ts +0 -503
- package/dist/plugins/deprecated/inputFields.d.ts.map +0 -1
- package/dist/plugins/deprecated/inputFields.js +0 -81
- package/dist/plugins/eventEmission/builders.d.ts +0 -14
- package/dist/plugins/eventEmission/builders.d.ts.map +0 -1
- package/dist/plugins/eventEmission/builders.js +0 -117
- package/dist/plugins/eventEmission/event-emission-hook.d.ts +0 -10
- package/dist/plugins/eventEmission/event-emission-hook.d.ts.map +0 -1
- package/dist/plugins/eventEmission/event-emission-hook.js +0 -47
- package/dist/plugins/eventEmission/index.d.ts +0 -50
- package/dist/plugins/eventEmission/index.d.ts.map +0 -1
- package/dist/plugins/eventEmission/index.js +0 -398
- package/dist/plugins/eventEmission/method-metadata.d.ts +0 -16
- package/dist/plugins/eventEmission/method-metadata.d.ts.map +0 -1
- package/dist/plugins/eventEmission/method-metadata.js +0 -20
- package/dist/plugins/eventEmission/transport.d.ts +0 -27
- package/dist/plugins/eventEmission/transport.d.ts.map +0 -1
- package/dist/plugins/eventEmission/transport.js +0 -105
- package/dist/plugins/eventEmission/types.d.ts +0 -67
- package/dist/plugins/eventEmission/types.d.ts.map +0 -1
- package/dist/plugins/eventEmission/types.js +0 -1
- package/dist/plugins/eventEmission/utils.d.ts +0 -56
- package/dist/plugins/eventEmission/utils.d.ts.map +0 -1
- package/dist/plugins/eventEmission/utils.js +0 -142
- package/dist/plugins/fetch/index.d.ts +0 -72
- package/dist/plugins/fetch/index.d.ts.map +0 -1
- package/dist/plugins/fetch/index.js +0 -238
- package/dist/plugins/fetch/schemas.d.ts +0 -28
- package/dist/plugins/fetch/schemas.d.ts.map +0 -1
- package/dist/plugins/fetch/schemas.js +0 -52
- package/dist/plugins/findFirstConnection/index.d.ts +0 -115
- package/dist/plugins/findFirstConnection/index.d.ts.map +0 -1
- package/dist/plugins/findFirstConnection/index.js +0 -25
- package/dist/plugins/findFirstConnection/schemas.d.ts +0 -25
- package/dist/plugins/findFirstConnection/schemas.d.ts.map +0 -1
- package/dist/plugins/findFirstConnection/schemas.js +0 -9
- package/dist/plugins/findUniqueConnection/index.d.ts +0 -115
- package/dist/plugins/findUniqueConnection/index.d.ts.map +0 -1
- package/dist/plugins/findUniqueConnection/index.js +0 -28
- package/dist/plugins/findUniqueConnection/schemas.d.ts +0 -25
- package/dist/plugins/findUniqueConnection/schemas.d.ts.map +0 -1
- package/dist/plugins/findUniqueConnection/schemas.js +0 -9
- package/dist/plugins/getAction/index.d.ts +0 -215
- package/dist/plugins/getAction/index.d.ts.map +0 -1
- package/dist/plugins/getAction/index.js +0 -41
- package/dist/plugins/getAction/schemas.d.ts +0 -82
- package/dist/plugins/getAction/schemas.d.ts.map +0 -1
- package/dist/plugins/getAction/schemas.js +0 -22
- package/dist/plugins/getActionInputFieldsSchema/index.d.ts +0 -301
- package/dist/plugins/getActionInputFieldsSchema/index.d.ts.map +0 -1
- package/dist/plugins/getActionInputFieldsSchema/index.js +0 -57
- package/dist/plugins/getActionInputFieldsSchema/schemas.d.ts +0 -97
- package/dist/plugins/getActionInputFieldsSchema/schemas.d.ts.map +0 -1
- package/dist/plugins/getActionInputFieldsSchema/schemas.js +0 -49
- package/dist/plugins/getApp/index.d.ts +0 -146
- package/dist/plugins/getApp/index.d.ts.map +0 -1
- package/dist/plugins/getApp/index.js +0 -24
- package/dist/plugins/getApp/schemas.d.ts +0 -32
- package/dist/plugins/getApp/schemas.d.ts.map +0 -1
- package/dist/plugins/getApp/schemas.js +0 -18
- package/dist/plugins/getConnection/index.d.ts +0 -179
- package/dist/plugins/getConnection/index.d.ts.map +0 -1
- package/dist/plugins/getConnection/index.js +0 -33
- package/dist/plugins/getConnection/schemas.d.ts +0 -12
- package/dist/plugins/getConnection/schemas.d.ts.map +0 -1
- package/dist/plugins/getConnection/schemas.js +0 -14
- package/dist/plugins/getConnectionStartUrl/index.d.ts +0 -206
- package/dist/plugins/getConnectionStartUrl/index.d.ts.map +0 -1
- package/dist/plugins/getConnectionStartUrl/index.js +0 -39
- package/dist/plugins/getConnectionStartUrl/schemas.d.ts +0 -15
- package/dist/plugins/getConnectionStartUrl/schemas.d.ts.map +0 -1
- package/dist/plugins/getConnectionStartUrl/schemas.js +0 -23
- package/dist/plugins/getProfile/index.d.ts +0 -32
- package/dist/plugins/getProfile/index.d.ts.map +0 -1
- package/dist/plugins/getProfile/index.js +0 -28
- package/dist/plugins/getProfile/schemas.d.ts +0 -4
- package/dist/plugins/getProfile/schemas.d.ts.map +0 -1
- package/dist/plugins/getProfile/schemas.js +0 -5
- package/dist/plugins/listActionInputFieldChoices/index.d.ts +0 -372
- package/dist/plugins/listActionInputFieldChoices/index.d.ts.map +0 -1
- package/dist/plugins/listActionInputFieldChoices/index.js +0 -110
- package/dist/plugins/listActionInputFieldChoices/schemas.d.ts +0 -133
- package/dist/plugins/listActionInputFieldChoices/schemas.d.ts.map +0 -1
- package/dist/plugins/listActionInputFieldChoices/schemas.js +0 -75
- package/dist/plugins/listActionInputFields/index.d.ts +0 -330
- package/dist/plugins/listActionInputFields/index.d.ts.map +0 -1
- package/dist/plugins/listActionInputFields/index.js +0 -208
- package/dist/plugins/listActionInputFields/schemas.d.ts +0 -113
- package/dist/plugins/listActionInputFields/schemas.d.ts.map +0 -1
- package/dist/plugins/listActionInputFields/schemas.js +0 -56
- package/dist/plugins/listActions/index.d.ts +0 -219
- package/dist/plugins/listActions/index.d.ts.map +0 -1
- package/dist/plugins/listActions/index.js +0 -60
- package/dist/plugins/listActions/schemas.d.ts +0 -78
- package/dist/plugins/listActions/schemas.d.ts.map +0 -1
- package/dist/plugins/listActions/schemas.js +0 -33
- package/dist/plugins/listApps/index.d.ts +0 -127
- package/dist/plugins/listApps/index.d.ts.map +0 -1
- package/dist/plugins/listApps/index.js +0 -63
- package/dist/plugins/listApps/schemas.d.ts +0 -43
- package/dist/plugins/listApps/schemas.d.ts.map +0 -1
- package/dist/plugins/listApps/schemas.js +0 -54
- package/dist/plugins/listClientCredentials/index.d.ts +0 -36
- package/dist/plugins/listClientCredentials/index.d.ts.map +0 -1
- package/dist/plugins/listClientCredentials/index.js +0 -32
- package/dist/plugins/listClientCredentials/schemas.d.ts +0 -17
- package/dist/plugins/listClientCredentials/schemas.d.ts.map +0 -1
- package/dist/plugins/listClientCredentials/schemas.js +0 -23
- package/dist/plugins/listConnections/index.d.ts +0 -243
- package/dist/plugins/listConnections/index.d.ts.map +0 -1
- package/dist/plugins/listConnections/index.js +0 -97
- package/dist/plugins/listConnections/schemas.d.ts +0 -34
- package/dist/plugins/listConnections/schemas.d.ts.map +0 -1
- package/dist/plugins/listConnections/schemas.js +0 -74
- package/dist/plugins/manifest/index.d.ts +0 -97
- package/dist/plugins/manifest/index.d.ts.map +0 -1
- package/dist/plugins/manifest/index.js +0 -395
- package/dist/plugins/manifest/schemas.d.ts +0 -88
- package/dist/plugins/manifest/schemas.d.ts.map +0 -1
- package/dist/plugins/manifest/schemas.js +0 -61
- package/dist/plugins/registry/index.d.ts +0 -17
- package/dist/plugins/registry/index.d.ts.map +0 -1
- package/dist/plugins/registry/index.js +0 -11
- package/dist/plugins/request/index.d.ts +0 -70
- package/dist/plugins/request/index.d.ts.map +0 -1
- package/dist/plugins/request/index.js +0 -28
- package/dist/plugins/request/schemas.d.ts +0 -46
- package/dist/plugins/request/schemas.d.ts.map +0 -1
- package/dist/plugins/request/schemas.js +0 -42
- package/dist/plugins/runAction/index.d.ts +0 -313
- package/dist/plugins/runAction/index.d.ts.map +0 -1
- package/dist/plugins/runAction/index.js +0 -189
- package/dist/plugins/runAction/schemas.d.ts +0 -108
- package/dist/plugins/runAction/schemas.d.ts.map +0 -1
- package/dist/plugins/runAction/schemas.js +0 -53
- package/dist/plugins/tables/createTable/index.d.ts +0 -48
- package/dist/plugins/tables/createTable/index.d.ts.map +0 -1
- package/dist/plugins/tables/createTable/index.js +0 -20
- package/dist/plugins/tables/createTable/schemas.d.ts +0 -36
- package/dist/plugins/tables/createTable/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/createTable/schemas.js +0 -16
- package/dist/plugins/tables/createTableFields/index.d.ts +0 -92
- package/dist/plugins/tables/createTableFields/index.d.ts.map +0 -1
- package/dist/plugins/tables/createTableFields/index.js +0 -29
- package/dist/plugins/tables/createTableFields/schemas.d.ts +0 -317
- package/dist/plugins/tables/createTableFields/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/createTableFields/schemas.js +0 -62
- package/dist/plugins/tables/createTableRecords/index.d.ts +0 -114
- package/dist/plugins/tables/createTableRecords/index.d.ts.map +0 -1
- package/dist/plugins/tables/createTableRecords/index.js +0 -43
- package/dist/plugins/tables/createTableRecords/schemas.d.ts +0 -92
- package/dist/plugins/tables/createTableRecords/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/createTableRecords/schemas.js +0 -55
- package/dist/plugins/tables/deleteTable/index.d.ts +0 -74
- package/dist/plugins/tables/deleteTable/index.d.ts.map +0 -1
- package/dist/plugins/tables/deleteTable/index.js +0 -23
- package/dist/plugins/tables/deleteTable/schemas.d.ts +0 -28
- package/dist/plugins/tables/deleteTable/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/deleteTable/schemas.js +0 -21
- package/dist/plugins/tables/deleteTableFields/index.d.ts +0 -102
- package/dist/plugins/tables/deleteTableFields/index.d.ts.map +0 -1
- package/dist/plugins/tables/deleteTableFields/index.js +0 -30
- package/dist/plugins/tables/deleteTableFields/schemas.d.ts +0 -34
- package/dist/plugins/tables/deleteTableFields/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/deleteTableFields/schemas.js +0 -29
- package/dist/plugins/tables/deleteTableRecords/index.d.ts +0 -123
- package/dist/plugins/tables/deleteTableRecords/index.d.ts.map +0 -1
- package/dist/plugins/tables/deleteTableRecords/index.js +0 -23
- package/dist/plugins/tables/deleteTableRecords/schemas.d.ts +0 -34
- package/dist/plugins/tables/deleteTableRecords/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/deleteTableRecords/schemas.js +0 -30
- package/dist/plugins/tables/getTable/index.d.ts +0 -81
- package/dist/plugins/tables/getTable/index.d.ts.map +0 -1
- package/dist/plugins/tables/getTable/index.js +0 -24
- package/dist/plugins/tables/getTable/schemas.d.ts +0 -49
- package/dist/plugins/tables/getTable/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/getTable/schemas.js +0 -27
- package/dist/plugins/tables/getTableRecord/index.d.ts +0 -131
- package/dist/plugins/tables/getTableRecord/index.d.ts.map +0 -1
- package/dist/plugins/tables/getTableRecord/index.js +0 -38
- package/dist/plugins/tables/getTableRecord/schemas.d.ts +0 -88
- package/dist/plugins/tables/getTableRecord/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/getTableRecord/schemas.js +0 -56
- package/dist/plugins/tables/listTableFields/index.d.ts +0 -86
- package/dist/plugins/tables/listTableFields/index.d.ts.map +0 -1
- package/dist/plugins/tables/listTableFields/index.js +0 -41
- package/dist/plugins/tables/listTableFields/schemas.d.ts +0 -225
- package/dist/plugins/tables/listTableFields/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/listTableFields/schemas.js +0 -93
- package/dist/plugins/tables/listTableRecords/index.d.ts +0 -136
- package/dist/plugins/tables/listTableRecords/index.d.ts.map +0 -1
- package/dist/plugins/tables/listTableRecords/index.js +0 -81
- package/dist/plugins/tables/listTableRecords/schemas.d.ts +0 -256
- package/dist/plugins/tables/listTableRecords/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/listTableRecords/schemas.js +0 -95
- package/dist/plugins/tables/listTables/index.d.ts +0 -60
- package/dist/plugins/tables/listTables/index.d.ts.map +0 -1
- package/dist/plugins/tables/listTables/index.js +0 -67
- package/dist/plugins/tables/listTables/schemas.d.ts +0 -85
- package/dist/plugins/tables/listTables/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/listTables/schemas.js +0 -72
- package/dist/plugins/tables/shared.d.ts +0 -10
- package/dist/plugins/tables/shared.d.ts.map +0 -1
- package/dist/plugins/tables/shared.js +0 -9
- package/dist/plugins/tables/updateTableRecords/index.d.ts +0 -116
- package/dist/plugins/tables/updateTableRecords/index.d.ts.map +0 -1
- package/dist/plugins/tables/updateTableRecords/index.js +0 -47
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts +0 -97
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/updateTableRecords/schemas.js +0 -55
- package/dist/plugins/tables/utils.d.ts +0 -69
- package/dist/plugins/tables/utils.d.ts.map +0 -1
- package/dist/plugins/tables/utils.js +0 -270
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.d.ts +0 -108
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.d.ts.map +0 -1
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.js +0 -36
- package/dist/plugins/triggers/ackTriggerInboxMessages/schemas.d.ts +0 -34
- package/dist/plugins/triggers/ackTriggerInboxMessages/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/ackTriggerInboxMessages/schemas.js +0 -17
- package/dist/plugins/triggers/createTriggerInbox/index.d.ts +0 -292
- package/dist/plugins/triggers/createTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/createTriggerInbox/index.js +0 -68
- package/dist/plugins/triggers/createTriggerInbox/schemas.d.ts +0 -20
- package/dist/plugins/triggers/createTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/createTriggerInbox/schemas.js +0 -21
- package/dist/plugins/triggers/deleteTriggerInbox/index.d.ts +0 -81
- package/dist/plugins/triggers/deleteTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/deleteTriggerInbox/index.js +0 -29
- package/dist/plugins/triggers/deleteTriggerInbox/schemas.d.ts +0 -13
- package/dist/plugins/triggers/deleteTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/deleteTriggerInbox/schemas.js +0 -9
- package/dist/plugins/triggers/drainTriggerInbox/index.d.ts +0 -277
- package/dist/plugins/triggers/drainTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/drainTriggerInbox/index.js +0 -260
- package/dist/plugins/triggers/drainTriggerInbox/pipeline.d.ts +0 -56
- package/dist/plugins/triggers/drainTriggerInbox/pipeline.d.ts.map +0 -1
- package/dist/plugins/triggers/drainTriggerInbox/pipeline.js +0 -225
- package/dist/plugins/triggers/drainTriggerInbox/schemas.d.ts +0 -104
- package/dist/plugins/triggers/drainTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/drainTriggerInbox/schemas.js +0 -102
- package/dist/plugins/triggers/ensureTriggerInbox/index.d.ts +0 -292
- package/dist/plugins/triggers/ensureTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/ensureTriggerInbox/index.js +0 -65
- package/dist/plugins/triggers/ensureTriggerInbox/schemas.d.ts +0 -20
- package/dist/plugins/triggers/ensureTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/ensureTriggerInbox/schemas.js +0 -21
- package/dist/plugins/triggers/getTriggerInbox/index.d.ts +0 -81
- package/dist/plugins/triggers/getTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/getTriggerInbox/index.js +0 -28
- package/dist/plugins/triggers/getTriggerInbox/schemas.d.ts +0 -13
- package/dist/plugins/triggers/getTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/getTriggerInbox/schemas.js +0 -9
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts +0 -277
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts.map +0 -1
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.js +0 -23
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/schemas.d.ts +0 -13
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/schemas.js +0 -10
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.d.ts +0 -89
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.d.ts.map +0 -1
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.js +0 -74
- package/dist/plugins/triggers/leaseTriggerInboxMessages/schemas.d.ts +0 -57
- package/dist/plugins/triggers/leaseTriggerInboxMessages/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/leaseTriggerInboxMessages/schemas.js +0 -25
- package/dist/plugins/triggers/listTriggerInboxMessages/index.d.ts +0 -82
- package/dist/plugins/triggers/listTriggerInboxMessages/index.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInboxMessages/index.js +0 -40
- package/dist/plugins/triggers/listTriggerInboxMessages/schemas.d.ts +0 -37
- package/dist/plugins/triggers/listTriggerInboxMessages/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInboxMessages/schemas.js +0 -27
- package/dist/plugins/triggers/listTriggerInboxes/index.d.ts +0 -56
- package/dist/plugins/triggers/listTriggerInboxes/index.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInboxes/index.js +0 -42
- package/dist/plugins/triggers/listTriggerInboxes/schemas.d.ts +0 -58
- package/dist/plugins/triggers/listTriggerInboxes/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInboxes/schemas.js +0 -35
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts +0 -360
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.js +0 -32
- package/dist/plugins/triggers/listTriggerInputFieldChoices/schemas.d.ts +0 -20
- package/dist/plugins/triggers/listTriggerInputFieldChoices/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInputFieldChoices/schemas.js +0 -28
- package/dist/plugins/triggers/listTriggerInputFields/index.d.ts +0 -330
- package/dist/plugins/triggers/listTriggerInputFields/index.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInputFields/index.js +0 -34
- package/dist/plugins/triggers/listTriggerInputFields/schemas.d.ts +0 -16
- package/dist/plugins/triggers/listTriggerInputFields/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInputFields/schemas.js +0 -21
- package/dist/plugins/triggers/listTriggers/index.d.ts +0 -207
- package/dist/plugins/triggers/listTriggers/index.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggers/index.js +0 -26
- package/dist/plugins/triggers/listTriggers/schemas.d.ts +0 -11
- package/dist/plugins/triggers/listTriggers/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggers/schemas.js +0 -18
- package/dist/plugins/triggers/pauseTriggerInbox/index.d.ts +0 -81
- package/dist/plugins/triggers/pauseTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/pauseTriggerInbox/index.js +0 -28
- package/dist/plugins/triggers/pauseTriggerInbox/schemas.d.ts +0 -13
- package/dist/plugins/triggers/pauseTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/pauseTriggerInbox/schemas.js +0 -9
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.d.ts +0 -108
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.d.ts.map +0 -1
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.js +0 -38
- package/dist/plugins/triggers/releaseTriggerInboxMessages/schemas.d.ts +0 -34
- package/dist/plugins/triggers/releaseTriggerInboxMessages/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/releaseTriggerInboxMessages/schemas.js +0 -17
- package/dist/plugins/triggers/resumeTriggerInbox/index.d.ts +0 -81
- package/dist/plugins/triggers/resumeTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/resumeTriggerInbox/index.js +0 -28
- package/dist/plugins/triggers/resumeTriggerInbox/schemas.d.ts +0 -13
- package/dist/plugins/triggers/resumeTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/resumeTriggerInbox/schemas.js +0 -9
- package/dist/plugins/triggers/shared.d.ts +0 -17
- package/dist/plugins/triggers/shared.d.ts.map +0 -1
- package/dist/plugins/triggers/shared.js +0 -16
- package/dist/plugins/triggers/updateTriggerInbox/index.d.ts +0 -82
- package/dist/plugins/triggers/updateTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/updateTriggerInbox/index.js +0 -32
- package/dist/plugins/triggers/updateTriggerInbox/schemas.d.ts +0 -14
- package/dist/plugins/triggers/updateTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/updateTriggerInbox/schemas.js +0 -15
- package/dist/plugins/triggers/utils.d.ts +0 -23
- package/dist/plugins/triggers/utils.d.ts.map +0 -1
- package/dist/plugins/triggers/utils.js +0 -45
- package/dist/plugins/triggers/watchTriggerInbox/index.d.ts +0 -221
- package/dist/plugins/triggers/watchTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/watchTriggerInbox/index.js +0 -402
- package/dist/plugins/triggers/watchTriggerInbox/sse.d.ts +0 -32
- package/dist/plugins/triggers/watchTriggerInbox/sse.d.ts.map +0 -1
- package/dist/plugins/triggers/watchTriggerInbox/sse.js +0 -36
- package/dist/plugins/waitForNewConnection/index.d.ts +0 -209
- package/dist/plugins/waitForNewConnection/index.d.ts.map +0 -1
- package/dist/plugins/waitForNewConnection/index.js +0 -75
- package/dist/plugins/waitForNewConnection/schemas.d.ts +0 -17
- package/dist/plugins/waitForNewConnection/schemas.d.ts.map +0 -1
- package/dist/plugins/waitForNewConnection/schemas.js +0 -39
- package/dist/resolvers/actionKey.d.ts +0 -16
- package/dist/resolvers/actionKey.d.ts.map +0 -1
- package/dist/resolvers/actionKey.js +0 -20
- package/dist/resolvers/actionType.d.ts +0 -14
- package/dist/resolvers/actionType.d.ts.map +0 -1
- package/dist/resolvers/actionType.js +0 -24
- package/dist/resolvers/appKey.d.ts +0 -13
- package/dist/resolvers/appKey.d.ts.map +0 -1
- package/dist/resolvers/appKey.js +0 -50
- package/dist/resolvers/clientCredentialsName.d.ts +0 -3
- package/dist/resolvers/clientCredentialsName.d.ts.map +0 -1
- package/dist/resolvers/clientCredentialsName.js +0 -5
- package/dist/resolvers/clientId.d.ts +0 -5
- package/dist/resolvers/clientId.d.ts.map +0 -1
- package/dist/resolvers/clientId.js +0 -14
- package/dist/resolvers/connectionId.d.ts +0 -12
- package/dist/resolvers/connectionId.d.ts.map +0 -1
- package/dist/resolvers/connectionId.js +0 -52
- package/dist/resolvers/durableRunId.d.ts +0 -5
- package/dist/resolvers/durableRunId.d.ts.map +0 -1
- package/dist/resolvers/durableRunId.js +0 -15
- package/dist/resolvers/index.d.ts +0 -27
- package/dist/resolvers/index.d.ts.map +0 -1
- package/dist/resolvers/index.js +0 -28
- package/dist/resolvers/inputFieldKey.d.ts +0 -12
- package/dist/resolvers/inputFieldKey.d.ts.map +0 -1
- package/dist/resolvers/inputFieldKey.js +0 -51
- package/dist/resolvers/inputs.d.ts +0 -17
- package/dist/resolvers/inputs.d.ts.map +0 -1
- package/dist/resolvers/inputs.js +0 -50
- package/dist/resolvers/tableFieldIds.d.ts +0 -7
- package/dist/resolvers/tableFieldIds.d.ts.map +0 -1
- package/dist/resolvers/tableFieldIds.js +0 -20
- package/dist/resolvers/tableFields.d.ts +0 -3
- package/dist/resolvers/tableFields.d.ts.map +0 -1
- package/dist/resolvers/tableFields.js +0 -31
- package/dist/resolvers/tableFilters.d.ts +0 -6
- package/dist/resolvers/tableFilters.d.ts.map +0 -1
- package/dist/resolvers/tableFilters.js +0 -74
- package/dist/resolvers/tableId.d.ts +0 -5
- package/dist/resolvers/tableId.d.ts.map +0 -1
- package/dist/resolvers/tableId.js +0 -30
- package/dist/resolvers/tableName.d.ts +0 -3
- package/dist/resolvers/tableName.d.ts.map +0 -1
- package/dist/resolvers/tableName.js +0 -5
- package/dist/resolvers/tableRecordId.d.ts +0 -10
- package/dist/resolvers/tableRecordId.d.ts.map +0 -1
- package/dist/resolvers/tableRecordId.js +0 -49
- package/dist/resolvers/tableRecords.d.ts +0 -9
- package/dist/resolvers/tableRecords.d.ts.map +0 -1
- package/dist/resolvers/tableRecords.js +0 -77
- package/dist/resolvers/tableSort.d.ts +0 -6
- package/dist/resolvers/tableSort.d.ts.map +0 -1
- package/dist/resolvers/tableSort.js +0 -43
- package/dist/resolvers/triggerInbox.d.ts +0 -5
- package/dist/resolvers/triggerInbox.d.ts.map +0 -1
- package/dist/resolvers/triggerInbox.js +0 -19
- package/dist/resolvers/triggerMessages.d.ts +0 -7
- package/dist/resolvers/triggerMessages.d.ts.map +0 -1
- package/dist/resolvers/triggerMessages.js +0 -21
- package/dist/resolvers/workflowId.d.ts +0 -5
- package/dist/resolvers/workflowId.d.ts.map +0 -1
- package/dist/resolvers/workflowId.js +0 -15
- package/dist/resolvers/workflowRunId.d.ts +0 -7
- package/dist/resolvers/workflowRunId.d.ts.map +0 -1
- package/dist/resolvers/workflowRunId.js +0 -20
- package/dist/resolvers/workflowVersionId.d.ts +0 -7
- package/dist/resolvers/workflowVersionId.d.ts.map +0 -1
- package/dist/resolvers/workflowVersionId.js +0 -20
- package/dist/schemas/Action.d.ts +0 -24
- package/dist/schemas/Action.d.ts.map +0 -1
- package/dist/schemas/Action.js +0 -16
- package/dist/schemas/App.d.ts +0 -56
- package/dist/schemas/App.d.ts.map +0 -1
- package/dist/schemas/App.js +0 -5
- package/dist/schemas/ClientCredentials.d.ts +0 -19
- package/dist/schemas/ClientCredentials.d.ts.map +0 -1
- package/dist/schemas/ClientCredentials.js +0 -6
- package/dist/schemas/Connection.d.ts +0 -32
- package/dist/schemas/Connection.d.ts.map +0 -1
- package/dist/schemas/Connection.js +0 -5
- package/dist/schemas/Field.d.ts +0 -61
- package/dist/schemas/Field.d.ts.map +0 -1
- package/dist/schemas/Field.js +0 -49
- package/dist/schemas/Run.d.ts +0 -3
- package/dist/schemas/Run.d.ts.map +0 -1
- package/dist/schemas/Run.js +0 -5
- package/dist/schemas/TriggerInbox.d.ts +0 -59
- package/dist/schemas/TriggerInbox.d.ts.map +0 -1
- package/dist/schemas/TriggerInbox.js +0 -49
- package/dist/schemas/TriggerMessage.d.ts +0 -48
- package/dist/schemas/TriggerMessage.d.ts.map +0 -1
- package/dist/schemas/TriggerMessage.js +0 -21
- package/dist/schemas/UserProfile.d.ts +0 -12
- package/dist/schemas/UserProfile.d.ts.map +0 -1
- package/dist/schemas/UserProfile.js +0 -13
- package/dist/sdk-version.d.ts +0 -28
- package/dist/sdk-version.d.ts.map +0 -1
- package/dist/sdk-version.js +0 -29
- package/dist/sdk.d.ts +0 -6065
- package/dist/sdk.d.ts.map +0 -1
- package/dist/sdk.js +0 -173
- package/dist/services/implementations.d.ts +0 -63
- package/dist/services/implementations.d.ts.map +0 -1
- package/dist/services/implementations.js +0 -79
- package/dist/types/connections.d.ts +0 -19
- package/dist/types/connections.d.ts.map +0 -1
- package/dist/types/connections.js +0 -20
- package/dist/types/credentials.d.ts +0 -186
- package/dist/types/credentials.d.ts.map +0 -1
- package/dist/types/credentials.js +0 -123
- package/dist/types/domain.d.ts +0 -52
- package/dist/types/domain.d.ts.map +0 -1
- package/dist/types/domain.js +0 -1
- package/dist/types/errors.d.ts +0 -254
- package/dist/types/errors.d.ts.map +0 -1
- package/dist/types/errors.js +0 -336
- package/dist/types/events.d.ts +0 -38
- package/dist/types/events.d.ts.map +0 -1
- package/dist/types/events.js +0 -7
- package/dist/types/functions.d.ts +0 -2
- package/dist/types/functions.d.ts.map +0 -1
- package/dist/types/functions.js +0 -1
- package/dist/types/properties.d.ts +0 -83
- package/dist/types/properties.d.ts.map +0 -1
- package/dist/types/properties.js +0 -120
- package/dist/types/sdk.d.ts +0 -97
- package/dist/types/sdk.d.ts.map +0 -1
- package/dist/types/sdk.js +0 -114
- package/dist/types/signals.d.ts +0 -20
- package/dist/types/signals.d.ts.map +0 -1
- package/dist/types/signals.js +0 -21
- package/dist/types/telemetry-events.d.ts +0 -114
- package/dist/types/telemetry-events.d.ts.map +0 -1
- package/dist/types/telemetry-events.js +0 -10
- package/dist/utils/abort-utils.d.ts +0 -77
- package/dist/utils/abort-utils.d.ts.map +0 -1
- package/dist/utils/abort-utils.js +0 -122
- package/dist/utils/agent.d.ts +0 -44
- package/dist/utils/agent.d.ts.map +0 -1
- package/dist/utils/agent.js +0 -76
- package/dist/utils/array-utils.d.ts +0 -31
- package/dist/utils/array-utils.d.ts.map +0 -1
- package/dist/utils/array-utils.js +0 -36
- package/dist/utils/batch-utils.d.ts +0 -72
- package/dist/utils/batch-utils.d.ts.map +0 -1
- package/dist/utils/batch-utils.js +0 -161
- package/dist/utils/caller-context.d.ts +0 -21
- package/dist/utils/caller-context.d.ts.map +0 -1
- package/dist/utils/caller-context.js +0 -35
- package/dist/utils/domain-utils.d.ts +0 -96
- package/dist/utils/domain-utils.d.ts.map +0 -1
- package/dist/utils/domain-utils.js +0 -248
- package/dist/utils/file-utils.d.ts +0 -4
- package/dist/utils/file-utils.d.ts.map +0 -1
- package/dist/utils/file-utils.js +0 -74
- package/dist/utils/id-utils.d.ts +0 -15
- package/dist/utils/id-utils.d.ts.map +0 -1
- package/dist/utils/id-utils.js +0 -24
- package/dist/utils/logging.d.ts +0 -2
- package/dist/utils/logging.d.ts.map +0 -1
- package/dist/utils/logging.js +0 -2
- package/dist/utils/open-approval.d.ts +0 -2
- package/dist/utils/open-approval.d.ts.map +0 -1
- package/dist/utils/open-approval.js +0 -13
- package/dist/utils/open-url.d.ts +0 -3
- package/dist/utils/open-url.d.ts.map +0 -1
- package/dist/utils/open-url.js +0 -79
- package/dist/utils/pagination.d.ts +0 -38
- package/dist/utils/pagination.d.ts.map +0 -1
- package/dist/utils/pagination.js +0 -53
- package/dist/utils/retry-utils.d.ts +0 -70
- package/dist/utils/retry-utils.d.ts.map +0 -1
- package/dist/utils/retry-utils.js +0 -97
- package/dist/utils/should-open-browser.d.ts +0 -24
- package/dist/utils/should-open-browser.d.ts.map +0 -1
- package/dist/utils/should-open-browser.js +0 -55
- package/dist/utils/telemetry.d.ts +0 -11
- package/dist/utils/telemetry.d.ts.map +0 -1
- package/dist/utils/telemetry.js +0 -19
- package/dist/utils/type-guard-utils.d.ts +0 -7
- package/dist/utils/type-guard-utils.d.ts.map +0 -1
- package/dist/utils/type-guard-utils.js +0 -11
- package/dist/utils/url-utils.d.ts +0 -25
- package/dist/utils/url-utils.d.ts.map +0 -1
- package/dist/utils/url-utils.js +0 -79
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
export declare const enableWorkflowPlugin: (sdk: {
|
|
2
|
-
context: {
|
|
3
|
-
api: import("../../..").ApiClient;
|
|
4
|
-
resolveCredentials: () => Promise<string | {
|
|
5
|
-
clientId: string;
|
|
6
|
-
clientSecret: string;
|
|
7
|
-
type?: "client_credentials" | undefined;
|
|
8
|
-
baseUrl?: string | undefined;
|
|
9
|
-
scope?: string | undefined;
|
|
10
|
-
} | {
|
|
11
|
-
clientId: string;
|
|
12
|
-
type?: "pkce" | undefined;
|
|
13
|
-
baseUrl?: string | undefined;
|
|
14
|
-
scope?: string | undefined;
|
|
15
|
-
} | undefined>;
|
|
16
|
-
};
|
|
17
|
-
} & {
|
|
18
|
-
context: import("../../eventEmission").EventEmissionContext;
|
|
19
|
-
} & {
|
|
20
|
-
listWorkflows: (options?: ({
|
|
21
|
-
pageSize?: number | undefined;
|
|
22
|
-
maxItems?: number | undefined;
|
|
23
|
-
cursor?: string | undefined;
|
|
24
|
-
} & {
|
|
25
|
-
cursor?: string;
|
|
26
|
-
pageSize?: number;
|
|
27
|
-
maxItems?: number;
|
|
28
|
-
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
29
|
-
id: string;
|
|
30
|
-
name: string;
|
|
31
|
-
description: string | null;
|
|
32
|
-
trigger_url: string;
|
|
33
|
-
enabled: boolean;
|
|
34
|
-
is_private: boolean;
|
|
35
|
-
created_by_user_id: string | null;
|
|
36
|
-
current_version_id: string | null;
|
|
37
|
-
triggers: {
|
|
38
|
-
selected_api: string;
|
|
39
|
-
action: string;
|
|
40
|
-
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
41
|
-
authentication_id?: string | null | undefined;
|
|
42
|
-
params?: Record<string, unknown> | undefined;
|
|
43
|
-
error?: string | null | undefined;
|
|
44
|
-
}[];
|
|
45
|
-
created_at: string;
|
|
46
|
-
updated_at: string;
|
|
47
|
-
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
48
|
-
}>;
|
|
49
|
-
} & {
|
|
50
|
-
context: {
|
|
51
|
-
meta: {
|
|
52
|
-
listWorkflows: import("kitcore").PluginMeta<unknown>;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
} & {
|
|
56
|
-
context: {
|
|
57
|
-
meta: Record<string, import("kitcore").PluginMeta>;
|
|
58
|
-
};
|
|
59
|
-
}) => {
|
|
60
|
-
enableWorkflow: (options?: {
|
|
61
|
-
workflow: string;
|
|
62
|
-
} | undefined) => Promise<{
|
|
63
|
-
data: {
|
|
64
|
-
id: string;
|
|
65
|
-
enabled: boolean;
|
|
66
|
-
};
|
|
67
|
-
}>;
|
|
68
|
-
} & {
|
|
69
|
-
context: {
|
|
70
|
-
meta: {
|
|
71
|
-
enableWorkflow: import("kitcore").PluginMeta<unknown>;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
export type EnableWorkflowPluginProvides = ReturnType<typeof enableWorkflowPlugin>;
|
|
76
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/enableWorkflow/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BhC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,oBAAoB,CAC5B,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { definePlugin, createPluginMethod } from "kitcore";
|
|
2
|
-
import { workflowIdResolver } from "../../../resolvers/workflowId";
|
|
3
|
-
import { codeSubstrateDefaults } from "../shared";
|
|
4
|
-
import { EnableWorkflowOptionsSchema, EnableWorkflowResponseSchema, } from "./schemas";
|
|
5
|
-
export const enableWorkflowPlugin = definePlugin((sdk) => createPluginMethod(sdk, {
|
|
6
|
-
...codeSubstrateDefaults,
|
|
7
|
-
name: "enableWorkflow",
|
|
8
|
-
type: "update",
|
|
9
|
-
itemType: "Workflow",
|
|
10
|
-
inputSchema: EnableWorkflowOptionsSchema,
|
|
11
|
-
outputSchema: EnableWorkflowResponseSchema,
|
|
12
|
-
resolvers: { workflow: workflowIdResolver },
|
|
13
|
-
handler: async ({ sdk, options }) => {
|
|
14
|
-
const raw = await sdk.context.api.post(`/durableworkflowzaps/api/v0/workflows/${encodeURIComponent(options.workflow)}/enable`, undefined, {
|
|
15
|
-
authRequired: true,
|
|
16
|
-
resource: { type: "workflow", id: options.workflow },
|
|
17
|
-
});
|
|
18
|
-
const data = EnableWorkflowResponseSchema.parse(raw);
|
|
19
|
-
return { data };
|
|
20
|
-
},
|
|
21
|
-
}));
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const EnableWorkflowOptionsSchema: z.ZodObject<{
|
|
3
|
-
workflow: z.ZodString;
|
|
4
|
-
}, z.core.$strip>;
|
|
5
|
-
export type EnableWorkflowOptions = z.infer<typeof EnableWorkflowOptionsSchema>;
|
|
6
|
-
export declare const EnableWorkflowResponseSchema: z.ZodObject<{
|
|
7
|
-
id: z.ZodString;
|
|
8
|
-
enabled: z.ZodBoolean;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
export type EnableWorkflowResponse = z.infer<typeof EnableWorkflowResponseSchema>;
|
|
11
|
-
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/enableWorkflow/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2BAA2B;;iBAIuB,CAAC;AAEhE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,4BAA4B;;;iBAKvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export const EnableWorkflowOptionsSchema = z
|
|
3
|
-
.object({
|
|
4
|
-
workflow: z.string().uuid().describe("Durable workflow ID"),
|
|
5
|
-
})
|
|
6
|
-
.describe("Enable a durable workflow so it accepts triggers");
|
|
7
|
-
export const EnableWorkflowResponseSchema = z.object({
|
|
8
|
-
id: z.string().describe("Workflow ID (UUID)"),
|
|
9
|
-
enabled: z
|
|
10
|
-
.boolean()
|
|
11
|
-
.describe("Workflow's enabled state after the operation (always true)"),
|
|
12
|
-
});
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
export declare const getDurableRunPlugin: (sdk: {
|
|
2
|
-
context: {
|
|
3
|
-
api: import("../../..").ApiClient;
|
|
4
|
-
resolveCredentials: () => Promise<string | {
|
|
5
|
-
clientId: string;
|
|
6
|
-
clientSecret: string;
|
|
7
|
-
type?: "client_credentials" | undefined;
|
|
8
|
-
baseUrl?: string | undefined;
|
|
9
|
-
scope?: string | undefined;
|
|
10
|
-
} | {
|
|
11
|
-
clientId: string;
|
|
12
|
-
type?: "pkce" | undefined;
|
|
13
|
-
baseUrl?: string | undefined;
|
|
14
|
-
scope?: string | undefined;
|
|
15
|
-
} | undefined>;
|
|
16
|
-
};
|
|
17
|
-
} & {
|
|
18
|
-
context: import("../../eventEmission").EventEmissionContext;
|
|
19
|
-
} & {
|
|
20
|
-
listDurableRuns: (options?: ({
|
|
21
|
-
pageSize?: number | undefined;
|
|
22
|
-
cursor?: string | undefined;
|
|
23
|
-
maxItems?: number | undefined;
|
|
24
|
-
} & {
|
|
25
|
-
cursor?: string;
|
|
26
|
-
pageSize?: number;
|
|
27
|
-
maxItems?: number;
|
|
28
|
-
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
29
|
-
id: string;
|
|
30
|
-
status: string;
|
|
31
|
-
input: unknown;
|
|
32
|
-
output: unknown;
|
|
33
|
-
error: {
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
code: string;
|
|
36
|
-
message: string;
|
|
37
|
-
} | null;
|
|
38
|
-
execution_id: string | null;
|
|
39
|
-
is_private: boolean;
|
|
40
|
-
created_at: string;
|
|
41
|
-
updated_at: string;
|
|
42
|
-
}>;
|
|
43
|
-
} & {
|
|
44
|
-
context: {
|
|
45
|
-
meta: {
|
|
46
|
-
listDurableRuns: import("kitcore").PluginMeta<unknown>;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
} & {
|
|
50
|
-
context: {
|
|
51
|
-
meta: Record<string, import("kitcore").PluginMeta>;
|
|
52
|
-
};
|
|
53
|
-
}) => {
|
|
54
|
-
getDurableRun: (options?: {
|
|
55
|
-
run: string;
|
|
56
|
-
} | undefined) => Promise<{
|
|
57
|
-
data: {
|
|
58
|
-
id: string;
|
|
59
|
-
status: string;
|
|
60
|
-
input: unknown;
|
|
61
|
-
output: unknown;
|
|
62
|
-
error: {
|
|
63
|
-
[x: string]: unknown;
|
|
64
|
-
code: string;
|
|
65
|
-
message: string;
|
|
66
|
-
} | null;
|
|
67
|
-
execution: {
|
|
68
|
-
id: string;
|
|
69
|
-
name: string;
|
|
70
|
-
status: string;
|
|
71
|
-
input: unknown;
|
|
72
|
-
created_at: string;
|
|
73
|
-
output?: unknown;
|
|
74
|
-
error?: unknown;
|
|
75
|
-
metadata?: Record<string, unknown> | undefined;
|
|
76
|
-
summary?: {
|
|
77
|
-
[x: string]: unknown;
|
|
78
|
-
total_attempts: number;
|
|
79
|
-
last_error?: {
|
|
80
|
-
[x: string]: unknown;
|
|
81
|
-
code: string;
|
|
82
|
-
title: string;
|
|
83
|
-
detail?: string | null | undefined;
|
|
84
|
-
} | null | undefined;
|
|
85
|
-
} | null | undefined;
|
|
86
|
-
operations?: {
|
|
87
|
-
id: string;
|
|
88
|
-
execution_id: string;
|
|
89
|
-
name: string;
|
|
90
|
-
type: string;
|
|
91
|
-
status: string;
|
|
92
|
-
retry_count: number;
|
|
93
|
-
created_at: string;
|
|
94
|
-
result?: unknown;
|
|
95
|
-
error?: unknown;
|
|
96
|
-
max_attempts?: number | undefined;
|
|
97
|
-
next_retry_at?: string | undefined;
|
|
98
|
-
resume_at?: string | undefined;
|
|
99
|
-
callback_token?: string | null | undefined;
|
|
100
|
-
payload_schema?: unknown;
|
|
101
|
-
payload?: unknown;
|
|
102
|
-
expires_at?: string | undefined;
|
|
103
|
-
completed_at?: string | undefined;
|
|
104
|
-
}[] | undefined;
|
|
105
|
-
} | null;
|
|
106
|
-
is_private: boolean;
|
|
107
|
-
created_at: string;
|
|
108
|
-
updated_at: string;
|
|
109
|
-
};
|
|
110
|
-
}>;
|
|
111
|
-
} & {
|
|
112
|
-
context: {
|
|
113
|
-
meta: {
|
|
114
|
-
getDurableRun: import("kitcore").PluginMeta<unknown>;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
export type GetDurableRunPluginProvides = ReturnType<typeof getDurableRunPlugin>;
|
|
119
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getDurableRun/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B/B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,mBAAmB,CAC3B,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { definePlugin, createPluginMethod } from "kitcore";
|
|
2
|
-
import { durableRunIdResolver } from "../../../resolvers/durableRunId";
|
|
3
|
-
import { codeSubstrateDefaults } from "../shared";
|
|
4
|
-
import { GetDurableRunOptionsSchema, GetDurableRunResponseSchema, } from "./schemas";
|
|
5
|
-
export const getDurableRunPlugin = definePlugin((sdk) => createPluginMethod(sdk, {
|
|
6
|
-
...codeSubstrateDefaults,
|
|
7
|
-
name: "getDurableRun",
|
|
8
|
-
type: "item",
|
|
9
|
-
itemType: "DurableRun",
|
|
10
|
-
inputSchema: GetDurableRunOptionsSchema,
|
|
11
|
-
outputSchema: GetDurableRunResponseSchema,
|
|
12
|
-
resolvers: { run: durableRunIdResolver },
|
|
13
|
-
handler: async ({ sdk, options }) => {
|
|
14
|
-
const raw = await sdk.context.api.get(`/sdkdurableapi/api/v0/runs/${encodeURIComponent(options.run)}`, {
|
|
15
|
-
authRequired: true,
|
|
16
|
-
resource: { type: "run", id: options.run },
|
|
17
|
-
});
|
|
18
|
-
const data = GetDurableRunResponseSchema.parse(raw);
|
|
19
|
-
return { data };
|
|
20
|
-
},
|
|
21
|
-
}));
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const OperationTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3
|
-
step: "step";
|
|
4
|
-
wait: "wait";
|
|
5
|
-
callback: "callback";
|
|
6
|
-
}>, z.ZodString]>;
|
|
7
|
-
export type OperationType = z.infer<typeof OperationTypeSchema>;
|
|
8
|
-
export declare const OperationStatusSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
9
|
-
failed: "failed";
|
|
10
|
-
pending: "pending";
|
|
11
|
-
exhausted: "exhausted";
|
|
12
|
-
completed: "completed";
|
|
13
|
-
}>, z.ZodString]>;
|
|
14
|
-
export type OperationStatus = z.infer<typeof OperationStatusSchema>;
|
|
15
|
-
export declare const OperationSchema: z.ZodObject<{
|
|
16
|
-
id: z.ZodString;
|
|
17
|
-
execution_id: z.ZodString;
|
|
18
|
-
name: z.ZodString;
|
|
19
|
-
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
20
|
-
step: "step";
|
|
21
|
-
wait: "wait";
|
|
22
|
-
callback: "callback";
|
|
23
|
-
}>, z.ZodString]>;
|
|
24
|
-
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
25
|
-
failed: "failed";
|
|
26
|
-
pending: "pending";
|
|
27
|
-
exhausted: "exhausted";
|
|
28
|
-
completed: "completed";
|
|
29
|
-
}>, z.ZodString]>;
|
|
30
|
-
result: z.ZodOptional<z.ZodUnknown>;
|
|
31
|
-
error: z.ZodOptional<z.ZodUnknown>;
|
|
32
|
-
retry_count: z.ZodNumber;
|
|
33
|
-
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
34
|
-
next_retry_at: z.ZodOptional<z.ZodString>;
|
|
35
|
-
resume_at: z.ZodOptional<z.ZodString>;
|
|
36
|
-
callback_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
payload_schema: z.ZodOptional<z.ZodUnknown>;
|
|
38
|
-
payload: z.ZodOptional<z.ZodUnknown>;
|
|
39
|
-
expires_at: z.ZodOptional<z.ZodString>;
|
|
40
|
-
completed_at: z.ZodOptional<z.ZodString>;
|
|
41
|
-
created_at: z.ZodString;
|
|
42
|
-
}, z.core.$strip>;
|
|
43
|
-
export type Operation = z.infer<typeof OperationSchema>;
|
|
44
|
-
export declare const ExecutionStatusSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
45
|
-
failed: "failed";
|
|
46
|
-
waiting: "waiting";
|
|
47
|
-
completed: "completed";
|
|
48
|
-
running: "running";
|
|
49
|
-
}>, z.ZodString]>;
|
|
50
|
-
export type ExecutionStatus = z.infer<typeof ExecutionStatusSchema>;
|
|
51
|
-
export declare const ExecutionSummarySchema: z.ZodObject<{
|
|
52
|
-
id: z.ZodString;
|
|
53
|
-
name: z.ZodString;
|
|
54
|
-
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
55
|
-
failed: "failed";
|
|
56
|
-
waiting: "waiting";
|
|
57
|
-
completed: "completed";
|
|
58
|
-
running: "running";
|
|
59
|
-
}>, z.ZodString]>;
|
|
60
|
-
input: z.ZodUnknown;
|
|
61
|
-
output: z.ZodOptional<z.ZodUnknown>;
|
|
62
|
-
error: z.ZodOptional<z.ZodUnknown>;
|
|
63
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
64
|
-
created_at: z.ZodString;
|
|
65
|
-
summary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
66
|
-
total_attempts: z.ZodNumber;
|
|
67
|
-
last_error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
68
|
-
code: z.ZodString;
|
|
69
|
-
title: z.ZodString;
|
|
70
|
-
detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
-
}, z.core.$loose>>>;
|
|
72
|
-
}, z.core.$loose>>>;
|
|
73
|
-
operations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
74
|
-
id: z.ZodString;
|
|
75
|
-
execution_id: z.ZodString;
|
|
76
|
-
name: z.ZodString;
|
|
77
|
-
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
78
|
-
step: "step";
|
|
79
|
-
wait: "wait";
|
|
80
|
-
callback: "callback";
|
|
81
|
-
}>, z.ZodString]>;
|
|
82
|
-
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
83
|
-
failed: "failed";
|
|
84
|
-
pending: "pending";
|
|
85
|
-
exhausted: "exhausted";
|
|
86
|
-
completed: "completed";
|
|
87
|
-
}>, z.ZodString]>;
|
|
88
|
-
result: z.ZodOptional<z.ZodUnknown>;
|
|
89
|
-
error: z.ZodOptional<z.ZodUnknown>;
|
|
90
|
-
retry_count: z.ZodNumber;
|
|
91
|
-
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
92
|
-
next_retry_at: z.ZodOptional<z.ZodString>;
|
|
93
|
-
resume_at: z.ZodOptional<z.ZodString>;
|
|
94
|
-
callback_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
-
payload_schema: z.ZodOptional<z.ZodUnknown>;
|
|
96
|
-
payload: z.ZodOptional<z.ZodUnknown>;
|
|
97
|
-
expires_at: z.ZodOptional<z.ZodString>;
|
|
98
|
-
completed_at: z.ZodOptional<z.ZodString>;
|
|
99
|
-
created_at: z.ZodString;
|
|
100
|
-
}, z.core.$strip>>>;
|
|
101
|
-
}, z.core.$strip>;
|
|
102
|
-
export type ExecutionSummary = z.infer<typeof ExecutionSummarySchema>;
|
|
103
|
-
export declare const GetDurableRunOptionsSchema: z.ZodObject<{
|
|
104
|
-
run: z.ZodString;
|
|
105
|
-
}, z.core.$strip>;
|
|
106
|
-
export type GetDurableRunOptions = z.infer<typeof GetDurableRunOptionsSchema>;
|
|
107
|
-
export declare const GetDurableRunResponseSchema: z.ZodObject<{
|
|
108
|
-
id: z.ZodString;
|
|
109
|
-
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
110
|
-
failed: "failed";
|
|
111
|
-
initialized: "initialized";
|
|
112
|
-
started: "started";
|
|
113
|
-
finished: "finished";
|
|
114
|
-
cancelled: "cancelled";
|
|
115
|
-
}>, z.ZodString]>;
|
|
116
|
-
input: z.ZodUnknown;
|
|
117
|
-
output: z.ZodNullable<z.ZodUnknown>;
|
|
118
|
-
error: z.ZodNullable<z.ZodObject<{
|
|
119
|
-
code: z.ZodString;
|
|
120
|
-
message: z.ZodString;
|
|
121
|
-
}, z.core.$loose>>;
|
|
122
|
-
execution: z.ZodNullable<z.ZodObject<{
|
|
123
|
-
id: z.ZodString;
|
|
124
|
-
name: z.ZodString;
|
|
125
|
-
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
126
|
-
failed: "failed";
|
|
127
|
-
waiting: "waiting";
|
|
128
|
-
completed: "completed";
|
|
129
|
-
running: "running";
|
|
130
|
-
}>, z.ZodString]>;
|
|
131
|
-
input: z.ZodUnknown;
|
|
132
|
-
output: z.ZodOptional<z.ZodUnknown>;
|
|
133
|
-
error: z.ZodOptional<z.ZodUnknown>;
|
|
134
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
135
|
-
created_at: z.ZodString;
|
|
136
|
-
summary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
137
|
-
total_attempts: z.ZodNumber;
|
|
138
|
-
last_error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
139
|
-
code: z.ZodString;
|
|
140
|
-
title: z.ZodString;
|
|
141
|
-
detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
142
|
-
}, z.core.$loose>>>;
|
|
143
|
-
}, z.core.$loose>>>;
|
|
144
|
-
operations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
145
|
-
id: z.ZodString;
|
|
146
|
-
execution_id: z.ZodString;
|
|
147
|
-
name: z.ZodString;
|
|
148
|
-
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
149
|
-
step: "step";
|
|
150
|
-
wait: "wait";
|
|
151
|
-
callback: "callback";
|
|
152
|
-
}>, z.ZodString]>;
|
|
153
|
-
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
154
|
-
failed: "failed";
|
|
155
|
-
pending: "pending";
|
|
156
|
-
exhausted: "exhausted";
|
|
157
|
-
completed: "completed";
|
|
158
|
-
}>, z.ZodString]>;
|
|
159
|
-
result: z.ZodOptional<z.ZodUnknown>;
|
|
160
|
-
error: z.ZodOptional<z.ZodUnknown>;
|
|
161
|
-
retry_count: z.ZodNumber;
|
|
162
|
-
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
163
|
-
next_retry_at: z.ZodOptional<z.ZodString>;
|
|
164
|
-
resume_at: z.ZodOptional<z.ZodString>;
|
|
165
|
-
callback_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
166
|
-
payload_schema: z.ZodOptional<z.ZodUnknown>;
|
|
167
|
-
payload: z.ZodOptional<z.ZodUnknown>;
|
|
168
|
-
expires_at: z.ZodOptional<z.ZodString>;
|
|
169
|
-
completed_at: z.ZodOptional<z.ZodString>;
|
|
170
|
-
created_at: z.ZodString;
|
|
171
|
-
}, z.core.$strip>>>;
|
|
172
|
-
}, z.core.$strip>>;
|
|
173
|
-
is_private: z.ZodBoolean;
|
|
174
|
-
created_at: z.ZodString;
|
|
175
|
-
updated_at: z.ZodString;
|
|
176
|
-
}, z.core.$strip>;
|
|
177
|
-
export type GetDurableRunResponse = z.infer<typeof GetDurableRunResponseSchema>;
|
|
178
|
-
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getDurableRun/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,mBAAmB;;;;iBAG/B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,qBAAqB;;;;;iBAGjC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyD1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,qBAAqB;;;;;iBAGjC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwDjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,0BAA0B;;iBAMpC,CAAC;AAEJ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqBtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { RunErrorSchema, RunStatusSchema } from "../listDurableRuns/schemas";
|
|
3
|
-
import { openEnum } from "kitcore";
|
|
4
|
-
export const OperationTypeSchema = openEnum(["step", "wait", "callback"], "Operation kind: `step` is a journaled function call; `wait` is a time-based suspension; `callback` is a wait on an external callback.");
|
|
5
|
-
export const OperationStatusSchema = openEnum(["pending", "completed", "failed", "exhausted"], "Operation lifecycle status. `exhausted` means retries were exceeded.");
|
|
6
|
-
export const OperationSchema = z.object({
|
|
7
|
-
id: z.string().describe("Operation ID (UUID)"),
|
|
8
|
-
execution_id: z.string().describe("Parent execution ID"),
|
|
9
|
-
name: z
|
|
10
|
-
.string()
|
|
11
|
-
.describe("Operation name as declared by the workflow author"),
|
|
12
|
-
type: OperationTypeSchema,
|
|
13
|
-
status: OperationStatusSchema,
|
|
14
|
-
result: z
|
|
15
|
-
.unknown()
|
|
16
|
-
.optional()
|
|
17
|
-
.describe("Result value when the operation completed"),
|
|
18
|
-
error: z
|
|
19
|
-
.unknown()
|
|
20
|
-
.optional()
|
|
21
|
-
.describe("Error payload when the operation failed"),
|
|
22
|
-
retry_count: z.number().describe("Number of retry attempts so far"),
|
|
23
|
-
max_attempts: z
|
|
24
|
-
.number()
|
|
25
|
-
.optional()
|
|
26
|
-
.describe("Cap on total attempts for this operation. Absent if no cap applies."),
|
|
27
|
-
next_retry_at: z
|
|
28
|
-
.string()
|
|
29
|
-
.optional()
|
|
30
|
-
.describe("When the next retry will be attempted (ISO-8601)"),
|
|
31
|
-
resume_at: z
|
|
32
|
-
.string()
|
|
33
|
-
.optional()
|
|
34
|
-
.describe("When a `wait` operation resumes (ISO-8601). Set only for type=wait."),
|
|
35
|
-
callback_token: z
|
|
36
|
-
.string()
|
|
37
|
-
.nullable()
|
|
38
|
-
.optional()
|
|
39
|
-
.describe("Token for delivering a callback. Set only for type=callback; null until the callback URL is materialized."),
|
|
40
|
-
payload_schema: z
|
|
41
|
-
.unknown()
|
|
42
|
-
.optional()
|
|
43
|
-
.describe("JSON Schema describing the expected callback payload"),
|
|
44
|
-
payload: z
|
|
45
|
-
.unknown()
|
|
46
|
-
.optional()
|
|
47
|
-
.describe("Payload delivered to a callback operation, when received"),
|
|
48
|
-
expires_at: z
|
|
49
|
-
.string()
|
|
50
|
-
.optional()
|
|
51
|
-
.describe("When a callback or wait operation expires (ISO-8601)"),
|
|
52
|
-
completed_at: z
|
|
53
|
-
.string()
|
|
54
|
-
.optional()
|
|
55
|
-
.describe("When the operation reached a terminal state (ISO-8601)"),
|
|
56
|
-
created_at: z.string().describe("When the operation was created (ISO-8601)"),
|
|
57
|
-
});
|
|
58
|
-
export const ExecutionStatusSchema = openEnum(["running", "waiting", "completed", "failed"], "Execution lifecycle status. `waiting` means blocked on a wait or callback operation.");
|
|
59
|
-
export const ExecutionSummarySchema = z.object({
|
|
60
|
-
id: z.string().describe("Execution ID (UUID)"),
|
|
61
|
-
name: z.string().describe("Durable function name"),
|
|
62
|
-
status: ExecutionStatusSchema,
|
|
63
|
-
input: z.unknown().describe("Input passed when the execution was created"),
|
|
64
|
-
output: z
|
|
65
|
-
.unknown()
|
|
66
|
-
.optional()
|
|
67
|
-
.describe("Return value when status is `completed`"),
|
|
68
|
-
error: z
|
|
69
|
-
.unknown()
|
|
70
|
-
.optional()
|
|
71
|
-
.describe("Error details when status is `failed`"),
|
|
72
|
-
metadata: z
|
|
73
|
-
.record(z.string(), z.unknown())
|
|
74
|
-
.optional()
|
|
75
|
-
.describe("Caller-supplied tags (Zap ID, Step ID, Agent ID, etc.) carried alongside the execution"),
|
|
76
|
-
created_at: z.string().describe("When the execution was created (ISO-8601)"),
|
|
77
|
-
summary: z
|
|
78
|
-
.object({
|
|
79
|
-
total_attempts: z
|
|
80
|
-
.number()
|
|
81
|
-
.describe("Total ticks attempted against this execution across all retries"),
|
|
82
|
-
last_error: z
|
|
83
|
-
.object({
|
|
84
|
-
code: z.string().describe("Machine-readable error category"),
|
|
85
|
-
title: z.string().describe("Short error label"),
|
|
86
|
-
detail: z
|
|
87
|
-
.string()
|
|
88
|
-
.nullable()
|
|
89
|
-
.optional()
|
|
90
|
-
.describe("Longer-form error detail, when provided"),
|
|
91
|
-
})
|
|
92
|
-
.passthrough()
|
|
93
|
-
.nullable()
|
|
94
|
-
.optional()
|
|
95
|
-
.describe("The most recent error; null when the execution has not errored."),
|
|
96
|
-
})
|
|
97
|
-
.passthrough()
|
|
98
|
-
.nullable()
|
|
99
|
-
.optional()
|
|
100
|
-
.describe("Aggregate health summary. Null when no attempts have been recorded yet."),
|
|
101
|
-
operations: z
|
|
102
|
-
.array(OperationSchema)
|
|
103
|
-
.optional()
|
|
104
|
-
.describe("Operations journal — append-only record of every step/wait/callback the execution made"),
|
|
105
|
-
});
|
|
106
|
-
export const GetDurableRunOptionsSchema = z
|
|
107
|
-
.object({
|
|
108
|
-
run: z.string().uuid().describe("Durable run ID"),
|
|
109
|
-
})
|
|
110
|
-
.describe("Get the full state of a run-once durable run, including its operations journal");
|
|
111
|
-
export const GetDurableRunResponseSchema = z.object({
|
|
112
|
-
id: z.string().describe("Run ID (UUID)"),
|
|
113
|
-
status: RunStatusSchema,
|
|
114
|
-
input: z.unknown().describe("Input data passed to the run"),
|
|
115
|
-
output: z
|
|
116
|
-
.unknown()
|
|
117
|
-
.nullable()
|
|
118
|
-
.describe("Return value, present when status is `finished`"),
|
|
119
|
-
error: RunErrorSchema.nullable().describe("Structured error details when the run failed (null otherwise)"),
|
|
120
|
-
execution: ExecutionSummarySchema.nullable().describe("Linked execution, including the operations journal. Null while the run is still in `initialized` state."),
|
|
121
|
-
is_private: z
|
|
122
|
-
.boolean()
|
|
123
|
-
.describe("When true, the run is visible only to the creating user; otherwise visible across the account."),
|
|
124
|
-
created_at: z.string().describe("When the run was created (ISO-8601)"),
|
|
125
|
-
updated_at: z.string().describe("When the run was last updated (ISO-8601)"),
|
|
126
|
-
});
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export declare const getTriggerRunPlugin: (sdk: {
|
|
2
|
-
context: {
|
|
3
|
-
api: import("../../..").ApiClient;
|
|
4
|
-
resolveCredentials: () => Promise<string | {
|
|
5
|
-
clientId: string;
|
|
6
|
-
clientSecret: string;
|
|
7
|
-
type?: "client_credentials" | undefined;
|
|
8
|
-
baseUrl?: string | undefined;
|
|
9
|
-
scope?: string | undefined;
|
|
10
|
-
} | {
|
|
11
|
-
clientId: string;
|
|
12
|
-
type?: "pkce" | undefined;
|
|
13
|
-
baseUrl?: string | undefined;
|
|
14
|
-
scope?: string | undefined;
|
|
15
|
-
} | undefined>;
|
|
16
|
-
};
|
|
17
|
-
} & {
|
|
18
|
-
context: import("../../eventEmission").EventEmissionContext;
|
|
19
|
-
} & {
|
|
20
|
-
context: {
|
|
21
|
-
meta: Record<string, import("kitcore").PluginMeta>;
|
|
22
|
-
};
|
|
23
|
-
}) => {
|
|
24
|
-
getTriggerRun: (options?: {
|
|
25
|
-
trigger: string;
|
|
26
|
-
} | undefined) => Promise<{
|
|
27
|
-
data: {
|
|
28
|
-
id: string;
|
|
29
|
-
durable_run_id: string | null;
|
|
30
|
-
workflow_version_id: string | null;
|
|
31
|
-
status: string;
|
|
32
|
-
input: unknown;
|
|
33
|
-
output: unknown;
|
|
34
|
-
error: unknown;
|
|
35
|
-
created_at: string;
|
|
36
|
-
updated_at: string;
|
|
37
|
-
};
|
|
38
|
-
}>;
|
|
39
|
-
} & {
|
|
40
|
-
context: {
|
|
41
|
-
meta: {
|
|
42
|
-
getTriggerRun: import("kitcore").PluginMeta<unknown>;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
export type GetTriggerRunPluginProvides = ReturnType<typeof getTriggerRunPlugin>;
|
|
47
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getTriggerRun/index.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyB/B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,mBAAmB,CAC3B,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { definePlugin, createPluginMethod } from "kitcore";
|
|
2
|
-
import { codeSubstrateDefaults } from "../shared";
|
|
3
|
-
import { GetTriggerRunOptionsSchema, GetTriggerRunResponseSchema, } from "./schemas";
|
|
4
|
-
export const getTriggerRunPlugin = definePlugin((sdk) => createPluginMethod(sdk, {
|
|
5
|
-
...codeSubstrateDefaults,
|
|
6
|
-
name: "getTriggerRun",
|
|
7
|
-
type: "item",
|
|
8
|
-
itemType: "WorkflowRun",
|
|
9
|
-
inputSchema: GetTriggerRunOptionsSchema,
|
|
10
|
-
outputSchema: GetTriggerRunResponseSchema,
|
|
11
|
-
// No resolver for `trigger` — users typically have the trigger id
|
|
12
|
-
// from a recent trigger fire and pass it directly. Authoring a
|
|
13
|
-
// picker would require listing triggers across all workflows,
|
|
14
|
-
// which has no clean entry point today.
|
|
15
|
-
handler: async ({ sdk, options }) => {
|
|
16
|
-
const raw = await sdk.context.api.get(`/durableworkflowzaps/api/v0/workflows/triggers/${encodeURIComponent(options.trigger)}/run`, {
|
|
17
|
-
authRequired: true,
|
|
18
|
-
resource: { type: "workflow-trigger", id: options.trigger },
|
|
19
|
-
});
|
|
20
|
-
const data = GetTriggerRunResponseSchema.parse(raw);
|
|
21
|
-
return { data };
|
|
22
|
-
},
|
|
23
|
-
}));
|