@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,149 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const RunDurableSchema: z.ZodObject<{
|
|
3
|
-
sourceFiles: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4
|
-
input: z.ZodOptional<z.ZodUnknown>;
|
|
5
|
-
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6
|
-
zapierDurableVersion: z.ZodOptional<z.ZodString>;
|
|
7
|
-
zapier_durable_version: z.ZodOptional<z.ZodString>;
|
|
8
|
-
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9
|
-
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>>;
|
|
10
|
-
connection_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>>;
|
|
11
|
-
}, z.core.$strip>>>;
|
|
12
|
-
appVersions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
13
|
-
implementationName: z.ZodOptional<z.ZodString>;
|
|
14
|
-
implementation_name: z.ZodOptional<z.ZodString>;
|
|
15
|
-
version: z.ZodOptional<z.ZodString>;
|
|
16
|
-
}, z.core.$strip>>>;
|
|
17
|
-
app_versions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
18
|
-
implementationName: z.ZodOptional<z.ZodString>;
|
|
19
|
-
implementation_name: z.ZodOptional<z.ZodString>;
|
|
20
|
-
version: z.ZodOptional<z.ZodString>;
|
|
21
|
-
}, z.core.$strip>>>;
|
|
22
|
-
private: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24
|
-
type: z.ZodOptional<z.ZodLiteral<"webhook">>;
|
|
25
|
-
url: z.ZodString;
|
|
26
|
-
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
27
|
-
events: z.ZodArray<z.ZodEnum<{
|
|
28
|
-
error: "error";
|
|
29
|
-
started: "started";
|
|
30
|
-
cancelled: "cancelled";
|
|
31
|
-
completed: "completed";
|
|
32
|
-
progress: "progress";
|
|
33
|
-
}>>;
|
|
34
|
-
}, z.core.$strip>>>;
|
|
35
|
-
}, z.core.$strip>;
|
|
36
|
-
declare const RunDurableSchemaDeprecated: z.ZodObject<{
|
|
37
|
-
source_files: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
38
|
-
input: z.ZodOptional<z.ZodUnknown>;
|
|
39
|
-
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
40
|
-
zapierDurableVersion: z.ZodOptional<z.ZodString>;
|
|
41
|
-
zapier_durable_version: z.ZodOptional<z.ZodString>;
|
|
42
|
-
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>>;
|
|
44
|
-
connection_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>>;
|
|
45
|
-
}, z.core.$strip>>>;
|
|
46
|
-
appVersions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
47
|
-
implementationName: z.ZodOptional<z.ZodString>;
|
|
48
|
-
implementation_name: z.ZodOptional<z.ZodString>;
|
|
49
|
-
version: z.ZodOptional<z.ZodString>;
|
|
50
|
-
}, z.core.$strip>>>;
|
|
51
|
-
app_versions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
52
|
-
implementationName: z.ZodOptional<z.ZodString>;
|
|
53
|
-
implementation_name: z.ZodOptional<z.ZodString>;
|
|
54
|
-
version: z.ZodOptional<z.ZodString>;
|
|
55
|
-
}, z.core.$strip>>>;
|
|
56
|
-
private: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
58
|
-
type: z.ZodOptional<z.ZodLiteral<"webhook">>;
|
|
59
|
-
url: z.ZodString;
|
|
60
|
-
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
61
|
-
events: z.ZodArray<z.ZodEnum<{
|
|
62
|
-
error: "error";
|
|
63
|
-
started: "started";
|
|
64
|
-
cancelled: "cancelled";
|
|
65
|
-
completed: "completed";
|
|
66
|
-
progress: "progress";
|
|
67
|
-
}>>;
|
|
68
|
-
}, z.core.$strip>>>;
|
|
69
|
-
}, z.core.$strip>;
|
|
70
|
-
export declare const RunDurableOptionsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
71
|
-
sourceFiles: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
72
|
-
input: z.ZodOptional<z.ZodUnknown>;
|
|
73
|
-
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
74
|
-
zapierDurableVersion: z.ZodOptional<z.ZodString>;
|
|
75
|
-
zapier_durable_version: z.ZodOptional<z.ZodString>;
|
|
76
|
-
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
77
|
-
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>>;
|
|
78
|
-
connection_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>>;
|
|
79
|
-
}, z.core.$strip>>>;
|
|
80
|
-
appVersions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
81
|
-
implementationName: z.ZodOptional<z.ZodString>;
|
|
82
|
-
implementation_name: z.ZodOptional<z.ZodString>;
|
|
83
|
-
version: z.ZodOptional<z.ZodString>;
|
|
84
|
-
}, z.core.$strip>>>;
|
|
85
|
-
app_versions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
86
|
-
implementationName: z.ZodOptional<z.ZodString>;
|
|
87
|
-
implementation_name: z.ZodOptional<z.ZodString>;
|
|
88
|
-
version: z.ZodOptional<z.ZodString>;
|
|
89
|
-
}, z.core.$strip>>>;
|
|
90
|
-
private: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
92
|
-
type: z.ZodOptional<z.ZodLiteral<"webhook">>;
|
|
93
|
-
url: z.ZodString;
|
|
94
|
-
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
95
|
-
events: z.ZodArray<z.ZodEnum<{
|
|
96
|
-
error: "error";
|
|
97
|
-
started: "started";
|
|
98
|
-
cancelled: "cancelled";
|
|
99
|
-
completed: "completed";
|
|
100
|
-
progress: "progress";
|
|
101
|
-
}>>;
|
|
102
|
-
}, z.core.$strip>>>;
|
|
103
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
104
|
-
source_files: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
105
|
-
input: z.ZodOptional<z.ZodUnknown>;
|
|
106
|
-
dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
107
|
-
zapierDurableVersion: z.ZodOptional<z.ZodString>;
|
|
108
|
-
zapier_durable_version: z.ZodOptional<z.ZodString>;
|
|
109
|
-
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
110
|
-
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>>;
|
|
111
|
-
connection_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>>;
|
|
112
|
-
}, z.core.$strip>>>;
|
|
113
|
-
appVersions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
114
|
-
implementationName: z.ZodOptional<z.ZodString>;
|
|
115
|
-
implementation_name: z.ZodOptional<z.ZodString>;
|
|
116
|
-
version: z.ZodOptional<z.ZodString>;
|
|
117
|
-
}, z.core.$strip>>>;
|
|
118
|
-
app_versions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
119
|
-
implementationName: z.ZodOptional<z.ZodString>;
|
|
120
|
-
implementation_name: z.ZodOptional<z.ZodString>;
|
|
121
|
-
version: z.ZodOptional<z.ZodString>;
|
|
122
|
-
}, z.core.$strip>>>;
|
|
123
|
-
private: z.ZodOptional<z.ZodBoolean>;
|
|
124
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
125
|
-
type: z.ZodOptional<z.ZodLiteral<"webhook">>;
|
|
126
|
-
url: z.ZodString;
|
|
127
|
-
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
128
|
-
events: z.ZodArray<z.ZodEnum<{
|
|
129
|
-
error: "error";
|
|
130
|
-
started: "started";
|
|
131
|
-
cancelled: "cancelled";
|
|
132
|
-
completed: "completed";
|
|
133
|
-
progress: "progress";
|
|
134
|
-
}>>;
|
|
135
|
-
}, z.core.$strip>>>;
|
|
136
|
-
}, z.core.$strip>]>;
|
|
137
|
-
export type RunDurableOptions = z.infer<typeof RunDurableSchema> | (Omit<z.infer<typeof RunDurableSchemaDeprecated>, "source_files"> & {
|
|
138
|
-
/** @deprecated Use `sourceFiles` instead. */
|
|
139
|
-
source_files: z.infer<typeof RunDurableSchemaDeprecated>["source_files"];
|
|
140
|
-
});
|
|
141
|
-
export declare const RunDurableResponseSchema: z.ZodObject<{
|
|
142
|
-
id: z.ZodString;
|
|
143
|
-
status: z.ZodLiteral<"initialized">;
|
|
144
|
-
is_private: z.ZodBoolean;
|
|
145
|
-
created_at: z.ZodString;
|
|
146
|
-
}, z.core.$strip>;
|
|
147
|
-
export type RunDurableResponse = z.infer<typeof RunDurableResponseSchema>;
|
|
148
|
-
export {};
|
|
149
|
-
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/runDurable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA0FxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUzB,CAAC;AAGL,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEF,CAAC;AAG/B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAEF,CAAC;AAEnC,MAAM,MAAM,iBAAiB,GACzB,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,GAChC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,EAAE,cAAc,CAAC,GAAG;IAClE,6CAA6C;IAC7C,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC,cAAc,CAAC,CAAC;CAC1E,CAAC,CAAC;AAEP,eAAO,MAAM,wBAAwB;;;;;iBAanC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { AppVersionBindingSchema, ConnectionBindingSchema, SourceFilesSchema, } from "../shared";
|
|
3
|
-
const RunNotificationEventSchema = z
|
|
4
|
-
.enum(["started", "progress", "completed", "error", "cancelled"])
|
|
5
|
-
.describe("Run lifecycle event this notification subscribes to");
|
|
6
|
-
const RunNotificationSchema = z
|
|
7
|
-
.object({
|
|
8
|
-
type: z
|
|
9
|
-
.literal("webhook")
|
|
10
|
-
.optional()
|
|
11
|
-
.describe("Notification transport. Webhook is the only supported type."),
|
|
12
|
-
url: z
|
|
13
|
-
.string()
|
|
14
|
-
.url()
|
|
15
|
-
.describe("URL to POST event notifications to. Payload is `{run_id, event}`."),
|
|
16
|
-
max_retries: z
|
|
17
|
-
.number()
|
|
18
|
-
.int()
|
|
19
|
-
.min(0)
|
|
20
|
-
.max(10)
|
|
21
|
-
.optional()
|
|
22
|
-
.describe("Max delivery attempts with exponential backoff. Defaults to 3 server-side."),
|
|
23
|
-
events: z
|
|
24
|
-
.array(RunNotificationEventSchema)
|
|
25
|
-
.min(1)
|
|
26
|
-
.describe("One or more lifecycle events to subscribe this URL to."),
|
|
27
|
-
})
|
|
28
|
-
.describe("Webhook subscriber for run lifecycle events. Server POSTs `{run_id, event}` on each subscribed transition.");
|
|
29
|
-
// Shared, non-renamed properties. Lives in its own object so the canonical
|
|
30
|
-
// and deprecated `sourceFiles` variants can merge it without repetition.
|
|
31
|
-
const RunDurableBaseSchema = z.object({
|
|
32
|
-
input: z.unknown().optional().describe("Input data passed to the run"),
|
|
33
|
-
dependencies: z
|
|
34
|
-
.record(z.string(), z.string())
|
|
35
|
-
.optional()
|
|
36
|
-
.describe("Optional npm package dependencies"),
|
|
37
|
-
zapierDurableVersion: z
|
|
38
|
-
.string()
|
|
39
|
-
.optional()
|
|
40
|
-
.describe('Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Defaults to server-configured version if omitted.'),
|
|
41
|
-
/** @deprecated Use `zapierDurableVersion` instead. */
|
|
42
|
-
zapier_durable_version: z.string().optional().meta({ deprecated: true }),
|
|
43
|
-
connections: z
|
|
44
|
-
.record(z.string(), ConnectionBindingSchema)
|
|
45
|
-
.optional()
|
|
46
|
-
.describe('Named connection aliases. Maps each alias to an object holding its Zapier connection ID, e.g. `{ "slack": { "connectionId": "123" } }`.'),
|
|
47
|
-
appVersions: z
|
|
48
|
-
.record(z.string(), AppVersionBindingSchema)
|
|
49
|
-
.optional()
|
|
50
|
-
.describe("Pinned app versions. Maps app keys (slugs) to implementation names and versions."),
|
|
51
|
-
/** @deprecated Use `appVersions` instead. */
|
|
52
|
-
app_versions: z
|
|
53
|
-
.record(z.string(), AppVersionBindingSchema)
|
|
54
|
-
.optional()
|
|
55
|
-
.meta({ deprecated: true }),
|
|
56
|
-
private: z
|
|
57
|
-
.boolean()
|
|
58
|
-
.optional()
|
|
59
|
-
.describe("Only the creating user can see the run (default false)"),
|
|
60
|
-
notifications: z
|
|
61
|
-
.array(RunNotificationSchema)
|
|
62
|
-
.optional()
|
|
63
|
-
.describe("Webhook subscribers for run lifecycle events. Each entry specifies a URL and the events it subscribes to."),
|
|
64
|
-
});
|
|
65
|
-
const RunDurableDescription = "Run a workflow source file as a run-once durable run on sdkdurableapi (no deployed workflow required). Returns the run ID immediately; poll via getDurableRun for terminal status.";
|
|
66
|
-
// Canonical schema (new names only) — drives docs, CLI help, and the registry.
|
|
67
|
-
export const RunDurableSchema = z
|
|
68
|
-
.object({ sourceFiles: SourceFilesSchema })
|
|
69
|
-
.merge(RunDurableBaseSchema)
|
|
70
|
-
.describe(RunDurableDescription)
|
|
71
|
-
.meta({
|
|
72
|
-
aliases: {
|
|
73
|
-
source_files: "sourceFiles",
|
|
74
|
-
zapier_durable_version: "zapierDurableVersion",
|
|
75
|
-
app_versions: "appVersions",
|
|
76
|
-
},
|
|
77
|
-
});
|
|
78
|
-
// Deprecated schema (backward compat) — keeps the old `source_files` name valid.
|
|
79
|
-
const RunDurableSchemaDeprecated = z
|
|
80
|
-
.object({ source_files: SourceFilesSchema })
|
|
81
|
-
.merge(RunDurableBaseSchema);
|
|
82
|
-
// Union for runtime validation: accepts either the canonical or the old name.
|
|
83
|
-
export const RunDurableOptionsSchema = z
|
|
84
|
-
.union([RunDurableSchema, RunDurableSchemaDeprecated])
|
|
85
|
-
.describe(RunDurableDescription);
|
|
86
|
-
export const RunDurableResponseSchema = z.object({
|
|
87
|
-
id: z.string().describe("Run ID (UUID) — server-generated, time-sortable"),
|
|
88
|
-
status: z
|
|
89
|
-
.literal("initialized")
|
|
90
|
-
.describe("Always `initialized` on creation. Poll via getDurableRun to observe the run advancing to `started` / `finished` / `failed` / `cancelled`."),
|
|
91
|
-
is_private: z
|
|
92
|
-
.boolean()
|
|
93
|
-
.describe("When true, the run is visible only to the creating user; otherwise visible across the account."),
|
|
94
|
-
created_at: z.string().describe("When the run was created (ISO-8601)"),
|
|
95
|
-
});
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const ConnectionBindingSchema: z.ZodObject<{
|
|
3
|
-
connection_id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>;
|
|
4
|
-
}, z.core.$strip>;
|
|
5
|
-
export declare const AppVersionBindingSchema: z.ZodObject<{
|
|
6
|
-
implementation_name: z.ZodString;
|
|
7
|
-
version: z.ZodOptional<z.ZodString>;
|
|
8
|
-
}, z.core.$strip>;
|
|
9
|
-
export declare const WorkflowVersionTriggerConfigSchema: z.ZodObject<{
|
|
10
|
-
selected_api: z.ZodString;
|
|
11
|
-
action: z.ZodString;
|
|
12
|
-
authentication_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
14
|
-
}, z.core.$strip>;
|
|
15
|
-
export declare const WorkflowTriggerStatusSchema: z.ZodEnum<{
|
|
16
|
-
failed: "failed";
|
|
17
|
-
pending: "pending";
|
|
18
|
-
active: "active";
|
|
19
|
-
unclaimed: "unclaimed";
|
|
20
|
-
releasing: "releasing";
|
|
21
|
-
released: "released";
|
|
22
|
-
}>;
|
|
23
|
-
export declare const WorkflowDisabledReasonSchema: z.ZodEnum<{
|
|
24
|
-
trigger_claim_failed: "trigger_claim_failed";
|
|
25
|
-
}>;
|
|
26
|
-
export declare const WorkflowTriggerSchema: z.ZodObject<{
|
|
27
|
-
selected_api: z.ZodString;
|
|
28
|
-
action: z.ZodString;
|
|
29
|
-
authentication_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
31
|
-
status: z.ZodEnum<{
|
|
32
|
-
failed: "failed";
|
|
33
|
-
pending: "pending";
|
|
34
|
-
active: "active";
|
|
35
|
-
unclaimed: "unclaimed";
|
|
36
|
-
releasing: "releasing";
|
|
37
|
-
released: "released";
|
|
38
|
-
}>;
|
|
39
|
-
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$strip>;
|
|
41
|
-
//# sourceMappingURL=shared-schemas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared-schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/codeSubstrate/shared-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;iBAcjC,CAAC;AAEJ,eAAO,MAAM,uBAAuB;;;iBAUsC,CAAC;AAK3E,eAAO,MAAM,kCAAkC;;;;;iBAiBsB,CAAC;AAItE,eAAO,MAAM,2BAA2B;;;;;;;EAOtC,CAAC;AAOH,eAAO,MAAM,4BAA4B;;EAAmC,CAAC;AAE7E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;iBAgC/B,CAAC"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export const ConnectionBindingSchema = z
|
|
3
|
-
.object({
|
|
4
|
-
connection_id: z
|
|
5
|
-
.union([
|
|
6
|
-
z.number().int().positive(),
|
|
7
|
-
z.string().regex(/^[1-9][0-9]*$/, "must be a positive integer string"),
|
|
8
|
-
z.string().uuid("must be a UUID"),
|
|
9
|
-
])
|
|
10
|
-
.describe("Zapier connection ID. Positive integer (legacy) or UUID string (newer)."),
|
|
11
|
-
})
|
|
12
|
-
.describe("Connection binding: maps a single alias to a concrete connection.");
|
|
13
|
-
export const AppVersionBindingSchema = z
|
|
14
|
-
.object({
|
|
15
|
-
implementation_name: z
|
|
16
|
-
.string()
|
|
17
|
-
.describe("App implementation identifier (e.g. 'SlackCLIAPI')"),
|
|
18
|
-
version: z
|
|
19
|
-
.string()
|
|
20
|
-
.optional()
|
|
21
|
-
.describe("App implementation version (e.g. '1.27.1')"),
|
|
22
|
-
})
|
|
23
|
-
.describe("App-version binding: maps a single alias to an app version.");
|
|
24
|
-
// Workflow-version trigger config. Same shape on the request and response
|
|
25
|
-
// sides (CreateWorkflowVersionRequest.trigger and
|
|
26
|
-
// WorkflowVersion.trigger / WorkflowVersionSummary.trigger).
|
|
27
|
-
export const WorkflowVersionTriggerConfigSchema = z
|
|
28
|
-
.object({
|
|
29
|
-
selected_api: z
|
|
30
|
-
.string()
|
|
31
|
-
.describe("Zapier app/API identifier (e.g. 'GoogleSheetsAPI')"),
|
|
32
|
-
action: z.string().describe("Trigger action key (e.g. 'new_row')"),
|
|
33
|
-
authentication_id: z
|
|
34
|
-
.string()
|
|
35
|
-
.nullish()
|
|
36
|
-
.describe("Connection ID for the trigger source. Omit or pass null for no-auth triggers (e.g. Schedule by Zapier)."),
|
|
37
|
-
params: z
|
|
38
|
-
.record(z.string(), z.unknown())
|
|
39
|
-
.optional()
|
|
40
|
-
.describe("Trigger parameters as a JSON object"),
|
|
41
|
-
})
|
|
42
|
-
.describe("Trigger configuration persisted on a workflow version.");
|
|
43
|
-
// Workflow.triggers[] entries. Carries everything the version trigger
|
|
44
|
-
// does plus a live claim-status enum.
|
|
45
|
-
export const WorkflowTriggerStatusSchema = z.enum([
|
|
46
|
-
"unclaimed",
|
|
47
|
-
"pending",
|
|
48
|
-
"active",
|
|
49
|
-
"releasing",
|
|
50
|
-
"released",
|
|
51
|
-
"failed",
|
|
52
|
-
]);
|
|
53
|
-
// Why a workflow is currently off. `trigger_claim_failed` is a system
|
|
54
|
-
// auto-disable; null/absent means the workflow was not system-disabled.
|
|
55
|
-
// Independent of the per-trigger claim status+error: a post-active claim
|
|
56
|
-
// failure (e.g. auth) leaves the workflow enabled with disabled_reason null
|
|
57
|
-
// but its trigger status=failed, so the two signals must not be collapsed.
|
|
58
|
-
export const WorkflowDisabledReasonSchema = z.enum(["trigger_claim_failed"]);
|
|
59
|
-
export const WorkflowTriggerSchema = z
|
|
60
|
-
.object({
|
|
61
|
-
selected_api: z
|
|
62
|
-
.string()
|
|
63
|
-
.describe("Zapier app/API identifier (e.g. 'GoogleSheetsAPI')"),
|
|
64
|
-
action: z.string().describe("Trigger action key (e.g. 'new_row')"),
|
|
65
|
-
authentication_id: z
|
|
66
|
-
.string()
|
|
67
|
-
.nullish()
|
|
68
|
-
.describe("Connection ID for the trigger source. Null for no-auth triggers."),
|
|
69
|
-
params: z
|
|
70
|
-
.record(z.string(), z.unknown())
|
|
71
|
-
.optional()
|
|
72
|
-
.describe("Trigger parameters as a JSON object"),
|
|
73
|
-
status: WorkflowTriggerStatusSchema.describe("Live trigger claim status — whether the trigger is currently subscribed to its source."),
|
|
74
|
-
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
75
|
-
// always sends it (null unless status=failed). Already sanitized at write
|
|
76
|
-
// time — surface verbatim.
|
|
77
|
-
error: z
|
|
78
|
-
.string()
|
|
79
|
-
.nullable()
|
|
80
|
-
.optional()
|
|
81
|
-
.describe("Failure reason for the latest claim. Present (non-null) only when status is 'failed'."),
|
|
82
|
-
})
|
|
83
|
-
.describe("Trigger from a workflow's current version, combined with the live claim status.");
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Method-meta defaults shared across every workflow plugin. Each plugin
|
|
4
|
-
* spreads `...codeSubstrateDefaults` into its `createPluginMethod` /
|
|
5
|
-
* `createPaginatedPluginMethod` config so we declare these once instead
|
|
6
|
-
* of per plugin.
|
|
7
|
-
*
|
|
8
|
-
* `experimental: true` keeps every workflow method out of the stable SDK
|
|
9
|
-
* factory — they're registered only by the experimental subpath
|
|
10
|
-
* (`@zapier/zapier-sdk/experimental`) — and badges them in generated docs
|
|
11
|
-
* and CLI help.
|
|
12
|
-
*/
|
|
13
|
-
export declare const codeSubstrateDefaults: {
|
|
14
|
-
categories: string[];
|
|
15
|
-
experimental: true;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* Source files map, shared by `runDurable` and `publishWorkflowVersion`.
|
|
19
|
-
* Both require at least one file.
|
|
20
|
-
*/
|
|
21
|
-
export declare const SourceFilesSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
22
|
-
/**
|
|
23
|
-
* A Zapier connection ID accepted on the wire: a positive integer (legacy)
|
|
24
|
-
* or a UUID string (newer connections). Split into three union members so a
|
|
25
|
-
* bad value produces a precise message at the input boundary.
|
|
26
|
-
*/
|
|
27
|
-
export declare const ConnectionIdValueSchema: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>;
|
|
28
|
-
/**
|
|
29
|
-
* Connection binding: maps a single alias to a concrete connection. The
|
|
30
|
-
* locator is camelCase (`connectionId`) per SDK convention; the snake_case
|
|
31
|
-
* `connection_id` is a deprecated alias. Both are optional in the schema so
|
|
32
|
-
* `.shape` stays introspectable for docs — the wire mapper enforces that one
|
|
33
|
-
* is present (see {@link toWireConnections}).
|
|
34
|
-
*/
|
|
35
|
-
export declare const ConnectionBindingSchema: z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>>;
|
|
37
|
-
connection_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>>;
|
|
38
|
-
}, z.core.$strip>;
|
|
39
|
-
/**
|
|
40
|
-
* App-version binding: maps an app key to a pinned implementation/version.
|
|
41
|
-
* `implementationName` is the camelCase locator; `implementation_name` is a
|
|
42
|
-
* deprecated alias. Required-ness of the name is enforced by the wire mapper
|
|
43
|
-
* (see {@link toWireAppVersions}).
|
|
44
|
-
*/
|
|
45
|
-
export declare const AppVersionBindingSchema: z.ZodObject<{
|
|
46
|
-
implementationName: z.ZodOptional<z.ZodString>;
|
|
47
|
-
implementation_name: z.ZodOptional<z.ZodString>;
|
|
48
|
-
version: z.ZodOptional<z.ZodString>;
|
|
49
|
-
}, z.core.$strip>;
|
|
50
|
-
type ConnectionEntryInput = z.infer<typeof ConnectionBindingSchema>;
|
|
51
|
-
type AppVersionEntryInput = z.infer<typeof AppVersionBindingSchema>;
|
|
52
|
-
/**
|
|
53
|
-
* Reshape a caller's `connections` map into the wire body. The nested
|
|
54
|
-
* locator is camelCase (`connectionId`) per SDK convention but the API
|
|
55
|
-
* expects `connection_id`; the deprecated snake_case alias is still
|
|
56
|
-
* accepted. The connection ID itself is required, so a missing one is a
|
|
57
|
-
* client-side validation error rather than a malformed request.
|
|
58
|
-
*/
|
|
59
|
-
export declare function toWireConnections(connections: Record<string, ConnectionEntryInput>): Record<string, {
|
|
60
|
-
connection_id: string | number;
|
|
61
|
-
}>;
|
|
62
|
-
/**
|
|
63
|
-
* Reshape a caller's `appVersions` map into the wire body, mapping the
|
|
64
|
-
* camelCase `implementationName` locator (and its deprecated snake_case
|
|
65
|
-
* alias) onto the API's `implementation_name`.
|
|
66
|
-
*/
|
|
67
|
-
export declare function toWireAppVersions(appVersions: Record<string, AppVersionEntryInput>): Record<string, {
|
|
68
|
-
implementation_name: string;
|
|
69
|
-
version?: string;
|
|
70
|
-
}>;
|
|
71
|
-
export {};
|
|
72
|
-
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/plugins/codeSubstrate/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB;;;CAGH,CAAC;AAEhC;;;GAGG;AACH,eAAO,MAAM,iBAAiB,uCAK0B,CAAC;AAYzD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,8DAQjC,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB;;;iBAIlC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;iBAYlC,CAAC;AAEH,KAAK,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACpE,KAAK,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEpE;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,GAChD,MAAM,CAAC,MAAM,EAAE;IAAE,aAAa,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC,CAYpD;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,GAChD,MAAM,CAAC,MAAM,EAAE;IAAE,mBAAmB,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAmBnE"}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { ZapierValidationError } from "../../types/errors";
|
|
3
|
-
/**
|
|
4
|
-
* Method-meta defaults shared across every workflow plugin. Each plugin
|
|
5
|
-
* spreads `...codeSubstrateDefaults` into its `createPluginMethod` /
|
|
6
|
-
* `createPaginatedPluginMethod` config so we declare these once instead
|
|
7
|
-
* of per plugin.
|
|
8
|
-
*
|
|
9
|
-
* `experimental: true` keeps every workflow method out of the stable SDK
|
|
10
|
-
* factory — they're registered only by the experimental subpath
|
|
11
|
-
* (`@zapier/zapier-sdk/experimental`) — and badges them in generated docs
|
|
12
|
-
* and CLI help.
|
|
13
|
-
*/
|
|
14
|
-
export const codeSubstrateDefaults = {
|
|
15
|
-
categories: ["code-workflow"],
|
|
16
|
-
experimental: true,
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Source files map, shared by `runDurable` and `publishWorkflowVersion`.
|
|
20
|
-
* Both require at least one file.
|
|
21
|
-
*/
|
|
22
|
-
export const SourceFilesSchema = z
|
|
23
|
-
.record(z.string(), z.string())
|
|
24
|
-
.refine((files) => Object.keys(files).length > 0, {
|
|
25
|
-
message: "sourceFiles must contain at least one file",
|
|
26
|
-
})
|
|
27
|
-
.describe("Source files keyed by filename → contents");
|
|
28
|
-
// Structural UUID match (8-4-4-4-12 hex), not `z.uuid()`. Both backends
|
|
29
|
-
// validate `connection_id` with this same structural regex and intentionally
|
|
30
|
-
// do NOT enforce RFC version/variant nibbles:
|
|
31
|
-
// - durableworkflowzaps `CreateWorkflowVersionRequest` (publishWorkflowVersion)
|
|
32
|
-
// - sdkdurableapi `StartRunRequest` (runDurable)
|
|
33
|
-
// `z.uuid()` is stricter — it rejects non-RFC variants — so it would reject IDs
|
|
34
|
-
// these backends accept. The SDK boundary must not be stricter than the wire.
|
|
35
|
-
const UUID_PATTERN = /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/;
|
|
36
|
-
/**
|
|
37
|
-
* A Zapier connection ID accepted on the wire: a positive integer (legacy)
|
|
38
|
-
* or a UUID string (newer connections). Split into three union members so a
|
|
39
|
-
* bad value produces a precise message at the input boundary.
|
|
40
|
-
*/
|
|
41
|
-
export const ConnectionIdValueSchema = z
|
|
42
|
-
.union([
|
|
43
|
-
z.string().regex(/^[1-9][0-9]*$/, "must be a positive integer string"),
|
|
44
|
-
z.string().regex(UUID_PATTERN, "must be a UUID"),
|
|
45
|
-
z.number().int().positive(),
|
|
46
|
-
])
|
|
47
|
-
.describe("Zapier connection ID. Accepts a positive integer (legacy) or a UUID string (newer connections).");
|
|
48
|
-
/**
|
|
49
|
-
* Connection binding: maps a single alias to a concrete connection. The
|
|
50
|
-
* locator is camelCase (`connectionId`) per SDK convention; the snake_case
|
|
51
|
-
* `connection_id` is a deprecated alias. Both are optional in the schema so
|
|
52
|
-
* `.shape` stays introspectable for docs — the wire mapper enforces that one
|
|
53
|
-
* is present (see {@link toWireConnections}).
|
|
54
|
-
*/
|
|
55
|
-
export const ConnectionBindingSchema = z.object({
|
|
56
|
-
connectionId: ConnectionIdValueSchema.optional(),
|
|
57
|
-
/** @deprecated Use `connectionId` instead. */
|
|
58
|
-
connection_id: ConnectionIdValueSchema.optional().meta({ deprecated: true }),
|
|
59
|
-
});
|
|
60
|
-
/**
|
|
61
|
-
* App-version binding: maps an app key to a pinned implementation/version.
|
|
62
|
-
* `implementationName` is the camelCase locator; `implementation_name` is a
|
|
63
|
-
* deprecated alias. Required-ness of the name is enforced by the wire mapper
|
|
64
|
-
* (see {@link toWireAppVersions}).
|
|
65
|
-
*/
|
|
66
|
-
export const AppVersionBindingSchema = z.object({
|
|
67
|
-
implementationName: z
|
|
68
|
-
.string()
|
|
69
|
-
.min(1)
|
|
70
|
-
.optional()
|
|
71
|
-
.describe("Zapier app implementation name (e.g. `SlackCLIAPI`)"),
|
|
72
|
-
/** @deprecated Use `implementationName` instead. */
|
|
73
|
-
implementation_name: z.string().min(1).optional().meta({ deprecated: true }),
|
|
74
|
-
version: z
|
|
75
|
-
.string()
|
|
76
|
-
.optional()
|
|
77
|
-
.describe("Pinned app version (e.g. `1.27.1`). Latest if omitted."),
|
|
78
|
-
});
|
|
79
|
-
/**
|
|
80
|
-
* Reshape a caller's `connections` map into the wire body. The nested
|
|
81
|
-
* locator is camelCase (`connectionId`) per SDK convention but the API
|
|
82
|
-
* expects `connection_id`; the deprecated snake_case alias is still
|
|
83
|
-
* accepted. The connection ID itself is required, so a missing one is a
|
|
84
|
-
* client-side validation error rather than a malformed request.
|
|
85
|
-
*/
|
|
86
|
-
export function toWireConnections(connections) {
|
|
87
|
-
const wire = {};
|
|
88
|
-
for (const [alias, entry] of Object.entries(connections)) {
|
|
89
|
-
const connectionId = entry.connectionId ?? entry.connection_id;
|
|
90
|
-
if (connectionId === undefined) {
|
|
91
|
-
throw new ZapierValidationError(`connections["${alias}"] is missing connectionId`);
|
|
92
|
-
}
|
|
93
|
-
wire[alias] = { connection_id: connectionId };
|
|
94
|
-
}
|
|
95
|
-
return wire;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Reshape a caller's `appVersions` map into the wire body, mapping the
|
|
99
|
-
* camelCase `implementationName` locator (and its deprecated snake_case
|
|
100
|
-
* alias) onto the API's `implementation_name`.
|
|
101
|
-
*/
|
|
102
|
-
export function toWireAppVersions(appVersions) {
|
|
103
|
-
const wire = {};
|
|
104
|
-
for (const [key, entry] of Object.entries(appVersions)) {
|
|
105
|
-
const implementationName = entry.implementationName ?? entry.implementation_name;
|
|
106
|
-
if (implementationName === undefined) {
|
|
107
|
-
throw new ZapierValidationError(`appVersions["${key}"] is missing implementationName`);
|
|
108
|
-
}
|
|
109
|
-
wire[key] = {
|
|
110
|
-
implementation_name: implementationName,
|
|
111
|
-
...(entry.version !== undefined ? { version: entry.version } : {}),
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
return wire;
|
|
115
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
export declare const triggerWorkflowPlugin: (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
|
-
triggerWorkflow: (options?: {
|
|
61
|
-
workflow: string;
|
|
62
|
-
input?: unknown;
|
|
63
|
-
} | undefined) => Promise<{
|
|
64
|
-
data: {
|
|
65
|
-
id: string;
|
|
66
|
-
workflow_id: string;
|
|
67
|
-
created_at: string;
|
|
68
|
-
};
|
|
69
|
-
}>;
|
|
70
|
-
} & {
|
|
71
|
-
context: {
|
|
72
|
-
meta: {
|
|
73
|
-
triggerWorkflow: import("kitcore").PluginMeta<unknown>;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
export type TriggerWorkflowPluginProvides = ReturnType<typeof triggerWorkflowPlugin>;
|
|
78
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/triggerWorkflow/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDjC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,qBAAqB,CAC7B,CAAC"}
|