@zapier/zapier-sdk 0.65.0 → 0.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/README.md +64 -34
- package/dist/api/client.d.ts.map +1 -1
- package/dist/api/client.js +2 -0
- package/dist/api/debug.d.ts.map +1 -1
- package/dist/api/debug.js +6 -4
- package/dist/api/polling.d.ts +2 -0
- package/dist/api/polling.d.ts.map +1 -1
- package/dist/api/polling.js +10 -2
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +8 -5
- package/dist/core-stack.d.ts +24 -0
- package/dist/core-stack.d.ts.map +1 -0
- package/dist/core-stack.js +32 -0
- package/dist/experimental.cjs +1598 -1323
- package/dist/experimental.d.mts +3476 -224
- package/dist/experimental.d.ts +3508 -256
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.js +117 -87
- package/dist/experimental.mjs +1585 -1322
- package/dist/formatters/action.d.ts +4 -0
- package/dist/formatters/action.d.ts.map +1 -0
- package/dist/formatters/action.js +18 -0
- package/dist/formatters/actionResult.d.ts +3 -0
- package/dist/formatters/actionResult.d.ts.map +1 -0
- package/dist/formatters/actionResult.js +25 -0
- package/dist/formatters/app.d.ts +4 -0
- package/dist/formatters/app.d.ts.map +1 -0
- package/dist/formatters/app.js +10 -0
- package/dist/formatters/clientCredentials.d.ts +5 -0
- package/dist/formatters/clientCredentials.d.ts.map +1 -0
- package/dist/formatters/clientCredentials.js +27 -0
- package/dist/formatters/connection.d.ts +4 -0
- package/dist/formatters/connection.d.ts.map +1 -0
- package/dist/formatters/connection.js +26 -0
- package/dist/formatters/field.d.ts +4 -0
- package/dist/formatters/field.d.ts.map +1 -0
- package/dist/formatters/field.js +51 -0
- package/dist/formatters/inputFieldChoice.d.ts +4 -0
- package/dist/formatters/inputFieldChoice.d.ts.map +1 -0
- package/dist/formatters/inputFieldChoice.js +16 -0
- package/dist/formatters/tableField.d.ts +4 -0
- package/dist/formatters/tableField.d.ts.map +1 -0
- package/dist/formatters/tableField.js +7 -0
- package/dist/formatters/tableRecord.d.ts +5 -3
- package/dist/formatters/tableRecord.d.ts.map +1 -1
- package/dist/formatters/tableRecord.js +4 -3
- package/dist/formatters/triggerInbox.d.ts +4 -0
- package/dist/formatters/triggerInbox.d.ts.map +1 -0
- package/dist/formatters/triggerInbox.js +31 -0
- package/dist/formatters/triggerMessage.d.ts +5 -0
- package/dist/formatters/triggerMessage.d.ts.map +1 -0
- package/dist/formatters/triggerMessage.js +34 -0
- package/dist/formatters/userProfile.d.ts +4 -0
- package/dist/formatters/userProfile.d.ts.map +1 -0
- package/dist/formatters/userProfile.js +19 -0
- package/dist/{index-JhNxS_mq.d.mts → index-Dh0b5NAY.d.mts} +13207 -7904
- package/dist/{index-JhNxS_mq.d.ts → index-Dh0b5NAY.d.ts} +13207 -7904
- package/dist/index.cjs +1729 -1469
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +12 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -7
- package/dist/index.mjs +1716 -1468
- package/dist/plugins/api/index.d.ts +1 -1
- package/dist/plugins/api/index.js +1 -1
- package/dist/plugins/apps/index.d.ts +8 -5
- package/dist/plugins/apps/index.d.ts.map +1 -1
- package/dist/plugins/apps/index.js +1 -1
- package/dist/plugins/capabilities/index.d.ts +1 -1
- package/dist/plugins/capabilities/index.js +1 -1
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.d.ts +32 -2
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.js +1 -1
- package/dist/plugins/codeSubstrate/createWorkflow/index.d.ts +2 -2
- package/dist/plugins/codeSubstrate/createWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts +32 -2
- package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getDurableRun/index.js +1 -1
- package/dist/plugins/codeSubstrate/getTriggerRun/index.d.ts +2 -2
- package/dist/plugins/codeSubstrate/getTriggerRun/index.js +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts +55 -2
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.js +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts +51 -2
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.js +1 -1
- package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts +3 -3
- package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listDurableRuns/index.js +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts +28 -3
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.js +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts +28 -3
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.js +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts +3 -3
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/index.js +2 -3
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.js +1 -1
- package/dist/plugins/codeSubstrate/runDurable/index.d.ts +2 -2
- package/dist/plugins/codeSubstrate/runDurable/index.js +1 -1
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts +73 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts.map +1 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.js +52 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.d.ts +16 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.d.ts.map +1 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.js +31 -0
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/updateWorkflow/index.js +1 -1
- package/dist/plugins/connections/index.d.ts +1 -1
- package/dist/plugins/connections/index.js +1 -1
- package/dist/plugins/createClientCredentials/index.d.ts +2 -2
- package/dist/plugins/createClientCredentials/index.d.ts.map +1 -1
- package/dist/plugins/createClientCredentials/index.js +4 -2
- package/dist/plugins/createClientCredentials/schemas.d.ts +1 -2
- package/dist/plugins/createClientCredentials/schemas.d.ts.map +1 -1
- package/dist/plugins/deleteClientCredentials/index.d.ts +24 -2
- package/dist/plugins/deleteClientCredentials/index.d.ts.map +1 -1
- package/dist/plugins/deleteClientCredentials/index.js +2 -2
- package/dist/plugins/deleteClientCredentials/schemas.d.ts +1 -2
- package/dist/plugins/deleteClientCredentials/schemas.d.ts.map +1 -1
- package/dist/plugins/deprecated/authentications.d.ts +144 -16
- package/dist/plugins/deprecated/authentications.d.ts.map +1 -1
- package/dist/plugins/deprecated/authentications.js +14 -5
- package/dist/plugins/deprecated/inputFields.d.ts +58 -23
- package/dist/plugins/deprecated/inputFields.d.ts.map +1 -1
- package/dist/plugins/deprecated/inputFields.js +15 -7
- package/dist/plugins/eventEmission/event-emission-hook.d.ts +10 -0
- package/dist/plugins/eventEmission/event-emission-hook.d.ts.map +1 -0
- package/dist/plugins/eventEmission/event-emission-hook.js +47 -0
- package/dist/plugins/eventEmission/index.d.ts +5 -3
- package/dist/plugins/eventEmission/index.d.ts.map +1 -1
- package/dist/plugins/eventEmission/index.js +16 -9
- package/dist/plugins/eventEmission/method-metadata.d.ts +16 -0
- package/dist/plugins/eventEmission/method-metadata.d.ts.map +1 -0
- package/dist/plugins/eventEmission/method-metadata.js +20 -0
- package/dist/plugins/eventEmission/transport.d.ts.map +1 -1
- package/dist/plugins/eventEmission/transport.js +2 -1
- package/dist/plugins/fetch/index.d.ts +11 -5
- package/dist/plugins/fetch/index.d.ts.map +1 -1
- package/dist/plugins/fetch/index.js +42 -32
- package/dist/plugins/fetch/schemas.d.ts +1 -1
- package/dist/plugins/findFirstConnection/index.d.ts +4 -4
- package/dist/plugins/findFirstConnection/index.d.ts.map +1 -1
- package/dist/plugins/findFirstConnection/index.js +4 -2
- package/dist/plugins/findFirstConnection/schemas.d.ts +2 -2
- package/dist/plugins/findUniqueConnection/index.d.ts +4 -4
- package/dist/plugins/findUniqueConnection/index.d.ts.map +1 -1
- package/dist/plugins/findUniqueConnection/index.js +4 -2
- package/dist/plugins/findUniqueConnection/schemas.d.ts +2 -2
- package/dist/plugins/getAction/index.d.ts +141 -4
- package/dist/plugins/getAction/index.d.ts.map +1 -1
- package/dist/plugins/getAction/index.js +5 -3
- package/dist/plugins/getAction/schemas.d.ts +6 -6
- package/dist/plugins/getActionInputFieldsSchema/index.d.ts +232 -3
- package/dist/plugins/getActionInputFieldsSchema/index.d.ts.map +1 -1
- package/dist/plugins/getActionInputFieldsSchema/index.js +3 -3
- package/dist/plugins/getActionInputFieldsSchema/schemas.d.ts +6 -6
- package/dist/plugins/getApp/index.d.ts +4 -4
- package/dist/plugins/getApp/index.d.ts.map +1 -1
- package/dist/plugins/getApp/index.js +3 -1
- package/dist/plugins/getApp/schemas.d.ts +4 -4
- package/dist/plugins/getConnection/index.d.ts +125 -2
- package/dist/plugins/getConnection/index.d.ts.map +1 -1
- package/dist/plugins/getConnection/index.js +4 -2
- package/dist/plugins/getProfile/index.d.ts +2 -2
- package/dist/plugins/getProfile/index.d.ts.map +1 -1
- package/dist/plugins/getProfile/index.js +4 -2
- package/dist/plugins/getProfile/schemas.d.ts +1 -2
- package/dist/plugins/getProfile/schemas.d.ts.map +1 -1
- package/dist/plugins/listActionInputFieldChoices/index.d.ts +287 -4
- package/dist/plugins/listActionInputFieldChoices/index.d.ts.map +1 -1
- package/dist/plugins/listActionInputFieldChoices/index.js +6 -4
- package/dist/plugins/listActionInputFieldChoices/schemas.d.ts +8 -8
- package/dist/plugins/listActionInputFieldChoices/schemas.d.ts.map +1 -1
- package/dist/plugins/listActionInputFieldChoices/schemas.js +1 -22
- package/dist/plugins/listActionInputFields/index.d.ts +168 -5
- package/dist/plugins/listActionInputFields/index.d.ts.map +1 -1
- package/dist/plugins/listActionInputFields/index.js +7 -5
- package/dist/plugins/listActionInputFields/schemas.d.ts +6 -6
- package/dist/plugins/listActions/index.d.ts +140 -3
- package/dist/plugins/listActions/index.d.ts.map +1 -1
- package/dist/plugins/listActions/index.js +6 -4
- package/dist/plugins/listActions/schemas.d.ts +4 -4
- package/dist/plugins/listApps/index.d.ts +3 -3
- package/dist/plugins/listApps/index.d.ts.map +1 -1
- package/dist/plugins/listApps/index.js +6 -4
- package/dist/plugins/listClientCredentials/index.d.ts +3 -3
- package/dist/plugins/listClientCredentials/index.d.ts.map +1 -1
- package/dist/plugins/listClientCredentials/index.js +6 -4
- package/dist/plugins/listConnections/index.d.ts +140 -3
- package/dist/plugins/listConnections/index.d.ts.map +1 -1
- package/dist/plugins/listConnections/index.js +7 -5
- package/dist/plugins/listConnections/schemas.d.ts +2 -2
- package/dist/plugins/manifest/index.d.ts +1 -1
- package/dist/plugins/manifest/index.d.ts.map +1 -1
- package/dist/plugins/manifest/index.js +6 -4
- package/dist/plugins/registry/index.d.ts +1 -1
- package/dist/plugins/registry/index.js +1 -1
- package/dist/plugins/request/index.d.ts +8 -5
- package/dist/plugins/request/index.d.ts.map +1 -1
- package/dist/plugins/request/index.js +4 -3
- package/dist/plugins/request/schemas.d.ts +2 -2
- package/dist/plugins/runAction/index.d.ts +168 -5
- package/dist/plugins/runAction/index.d.ts.map +1 -1
- package/dist/plugins/runAction/index.js +9 -5
- package/dist/plugins/runAction/schemas.d.ts +6 -6
- package/dist/plugins/tables/createTable/index.d.ts +2 -2
- package/dist/plugins/tables/createTable/index.js +2 -2
- package/dist/plugins/tables/createTable/schemas.d.ts +1 -2
- package/dist/plugins/tables/createTable/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/createTableFields/index.d.ts +34 -2
- package/dist/plugins/tables/createTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableFields/index.js +4 -2
- package/dist/plugins/tables/createTableFields/schemas.d.ts +3 -4
- package/dist/plugins/tables/createTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/createTableRecords/index.d.ts +63 -2
- package/dist/plugins/tables/createTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableRecords/index.js +2 -2
- package/dist/plugins/tables/createTableRecords/schemas.d.ts +3 -4
- package/dist/plugins/tables/createTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTable/index.d.ts +34 -2
- package/dist/plugins/tables/deleteTable/index.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTable/index.js +2 -2
- package/dist/plugins/tables/deleteTable/schemas.d.ts +3 -4
- package/dist/plugins/tables/deleteTable/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableFields/index.d.ts +63 -2
- package/dist/plugins/tables/deleteTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableFields/index.js +2 -2
- package/dist/plugins/tables/deleteTableFields/schemas.d.ts +4 -5
- package/dist/plugins/tables/deleteTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableRecords/index.d.ts +84 -2
- package/dist/plugins/tables/deleteTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableRecords/index.js +2 -2
- package/dist/plugins/tables/deleteTableRecords/schemas.d.ts +4 -5
- package/dist/plugins/tables/deleteTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/getTable/index.d.ts +34 -2
- package/dist/plugins/tables/getTable/index.d.ts.map +1 -1
- package/dist/plugins/tables/getTable/index.js +2 -2
- package/dist/plugins/tables/getTable/schemas.d.ts +2 -2
- package/dist/plugins/tables/getTableRecord/index.d.ts +84 -2
- package/dist/plugins/tables/getTableRecord/index.d.ts.map +1 -1
- package/dist/plugins/tables/getTableRecord/index.js +2 -2
- package/dist/plugins/tables/getTableRecord/schemas.d.ts +6 -7
- package/dist/plugins/tables/getTableRecord/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/getTableRecord/schemas.js +1 -10
- package/dist/plugins/tables/listTableFields/index.d.ts +34 -2
- package/dist/plugins/tables/listTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTableFields/index.js +4 -2
- package/dist/plugins/tables/listTableFields/schemas.d.ts +4 -5
- package/dist/plugins/tables/listTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/listTableFields/schemas.js +1 -9
- package/dist/plugins/tables/listTableRecords/index.d.ts +65 -4
- package/dist/plugins/tables/listTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTableRecords/index.js +3 -3
- package/dist/plugins/tables/listTableRecords/schemas.d.ts +2 -2
- package/dist/plugins/tables/listTables/index.d.ts +3 -3
- package/dist/plugins/tables/listTables/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTables/index.js +4 -4
- package/dist/plugins/tables/updateTableRecords/index.d.ts +63 -2
- package/dist/plugins/tables/updateTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/updateTableRecords/index.js +2 -2
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts +3 -4
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.d.ts +59 -2
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.d.ts.map +1 -1
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.js +1 -1
- package/dist/plugins/triggers/ackTriggerInboxMessages/schemas.d.ts +1 -1
- package/dist/plugins/triggers/createTriggerInbox/index.d.ts +231 -2
- package/dist/plugins/triggers/createTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/createTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/createTriggerInbox/schemas.d.ts +3 -4
- package/dist/plugins/triggers/createTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/deleteTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/deleteTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/deleteTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/deleteTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/deleteTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/drainTriggerInbox/index.d.ts +68 -6
- package/dist/plugins/triggers/drainTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/drainTriggerInbox/index.js +1 -1
- package/dist/plugins/triggers/drainTriggerInbox/schemas.d.ts +2 -2
- package/dist/plugins/triggers/ensureTriggerInbox/index.d.ts +231 -2
- package/dist/plugins/triggers/ensureTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/ensureTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/ensureTriggerInbox/schemas.d.ts +3 -4
- package/dist/plugins/triggers/ensureTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/getTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/getTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/getTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/getTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/getTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts +232 -3
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts.map +1 -1
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.js +1 -1
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/schemas.d.ts +2 -2
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.d.ts +33 -2
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.d.ts.map +1 -1
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.js +1 -1
- package/dist/plugins/triggers/leaseTriggerInboxMessages/schemas.d.ts +1 -1
- package/dist/plugins/triggers/listTriggerInboxMessages/index.d.ts +34 -3
- package/dist/plugins/triggers/listTriggerInboxMessages/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggerInboxMessages/index.js +5 -13
- package/dist/plugins/triggers/listTriggerInboxMessages/schemas.d.ts +1 -1
- package/dist/plugins/triggers/listTriggerInboxes/index.d.ts +3 -3
- package/dist/plugins/triggers/listTriggerInboxes/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggerInboxes/index.js +5 -14
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts +288 -5
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.js +7 -5
- package/dist/plugins/triggers/listTriggerInputFieldChoices/schemas.d.ts +3 -3
- package/dist/plugins/triggers/listTriggerInputFields/index.d.ts +234 -5
- package/dist/plugins/triggers/listTriggerInputFields/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggerInputFields/index.js +6 -5
- package/dist/plugins/triggers/listTriggerInputFields/schemas.d.ts +2 -2
- package/dist/plugins/triggers/listTriggers/index.d.ts +142 -5
- package/dist/plugins/triggers/listTriggers/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggers/index.js +6 -5
- package/dist/plugins/triggers/listTriggers/schemas.d.ts +1 -1
- package/dist/plugins/triggers/pauseTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/pauseTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/pauseTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/pauseTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/pauseTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.d.ts +59 -2
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.d.ts.map +1 -1
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.js +1 -1
- package/dist/plugins/triggers/releaseTriggerInboxMessages/schemas.d.ts +1 -1
- package/dist/plugins/triggers/resumeTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/resumeTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/resumeTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/resumeTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/resumeTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/updateTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/updateTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/updateTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/updateTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/updateTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/watchTriggerInbox/index.d.ts +37 -6
- package/dist/plugins/triggers/watchTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/watchTriggerInbox/index.js +1 -1
- package/dist/resolvers/actionKey.d.ts +3 -2
- package/dist/resolvers/actionKey.d.ts.map +1 -1
- package/dist/resolvers/actionType.d.ts +7 -2
- package/dist/resolvers/actionType.d.ts.map +1 -1
- package/dist/resolvers/actionType.js +3 -0
- package/dist/resolvers/appKey.d.ts +10 -5
- package/dist/resolvers/appKey.d.ts.map +1 -1
- package/dist/resolvers/appKey.js +3 -0
- package/dist/resolvers/clientCredentialsName.d.ts +1 -1
- package/dist/resolvers/clientCredentialsName.d.ts.map +1 -1
- package/dist/resolvers/clientId.d.ts +3 -2
- package/dist/resolvers/clientId.d.ts.map +1 -1
- package/dist/resolvers/clientId.js +1 -1
- package/dist/resolvers/connectionId.d.ts +5 -2
- package/dist/resolvers/connectionId.d.ts.map +1 -1
- package/dist/resolvers/connectionId.js +1 -1
- package/dist/resolvers/durableRunId.d.ts +3 -2
- package/dist/resolvers/durableRunId.d.ts.map +1 -1
- package/dist/resolvers/durableRunId.js +3 -2
- package/dist/resolvers/inputFieldKey.d.ts +3 -2
- package/dist/resolvers/inputFieldKey.d.ts.map +1 -1
- package/dist/resolvers/inputFieldKey.js +1 -1
- package/dist/resolvers/tableFieldIds.d.ts +3 -2
- package/dist/resolvers/tableFieldIds.d.ts.map +1 -1
- package/dist/resolvers/tableFields.d.ts +2 -2
- package/dist/resolvers/tableFields.d.ts.map +1 -1
- package/dist/resolvers/tableFilters.d.ts +3 -2
- package/dist/resolvers/tableFilters.d.ts.map +1 -1
- package/dist/resolvers/tableId.d.ts +3 -2
- package/dist/resolvers/tableId.d.ts.map +1 -1
- package/dist/resolvers/tableId.js +1 -1
- package/dist/resolvers/tableName.d.ts +1 -1
- package/dist/resolvers/tableName.d.ts.map +1 -1
- package/dist/resolvers/tableRecordId.d.ts +4 -3
- package/dist/resolvers/tableRecordId.d.ts.map +1 -1
- package/dist/resolvers/tableRecords.d.ts +4 -3
- package/dist/resolvers/tableRecords.d.ts.map +1 -1
- package/dist/resolvers/tableSort.d.ts +3 -2
- package/dist/resolvers/tableSort.d.ts.map +1 -1
- package/dist/resolvers/triggerInbox.d.ts +3 -2
- package/dist/resolvers/triggerInbox.d.ts.map +1 -1
- package/dist/resolvers/triggerInbox.js +1 -1
- package/dist/resolvers/triggerMessages.d.ts +3 -2
- package/dist/resolvers/triggerMessages.d.ts.map +1 -1
- package/dist/resolvers/triggerMessages.js +2 -4
- package/dist/resolvers/workflowId.d.ts +3 -2
- package/dist/resolvers/workflowId.d.ts.map +1 -1
- package/dist/resolvers/workflowId.js +3 -2
- package/dist/resolvers/workflowRunId.d.ts +3 -2
- package/dist/resolvers/workflowRunId.d.ts.map +1 -1
- package/dist/resolvers/workflowRunId.js +5 -5
- package/dist/resolvers/workflowVersionId.d.ts +3 -2
- package/dist/resolvers/workflowVersionId.d.ts.map +1 -1
- package/dist/resolvers/workflowVersionId.js +7 -7
- package/dist/schemas/Action.d.ts.map +1 -1
- package/dist/schemas/Action.js +6 -30
- package/dist/schemas/App.d.ts +0 -1
- package/dist/schemas/App.d.ts.map +1 -1
- package/dist/schemas/App.js +2 -14
- package/dist/schemas/ClientCredentials.d.ts.map +1 -1
- package/dist/schemas/ClientCredentials.js +3 -41
- package/dist/schemas/Connection.d.ts.map +1 -1
- package/dist/schemas/Connection.js +2 -28
- package/dist/schemas/Field.d.ts.map +1 -1
- package/dist/schemas/Field.js +3 -70
- package/dist/schemas/Run.d.ts.map +1 -1
- package/dist/schemas/Run.js +3 -29
- package/dist/schemas/TriggerInbox.d.ts.map +1 -1
- package/dist/schemas/TriggerInbox.js +1 -33
- package/dist/schemas/TriggerMessage.d.ts.map +1 -1
- package/dist/schemas/TriggerMessage.js +2 -60
- package/dist/schemas/UserProfile.d.ts +0 -1
- package/dist/schemas/UserProfile.d.ts.map +1 -1
- package/dist/schemas/UserProfile.js +1 -20
- package/dist/sdk.d.ts +2761 -441
- package/dist/sdk.d.ts.map +1 -1
- package/dist/sdk.js +93 -129
- package/dist/types/errors.d.ts +44 -42
- package/dist/types/errors.d.ts.map +1 -1
- package/dist/types/errors.js +79 -33
- package/dist/types/functions.d.ts +1 -41
- package/dist/types/functions.d.ts.map +1 -1
- package/dist/types/properties.d.ts +7 -7
- package/dist/types/properties.js +1 -1
- package/dist/types/sdk.d.ts +1 -1
- package/dist/types/sdk.d.ts.map +1 -1
- package/dist/utils/domain-utils.js +1 -1
- package/dist/utils/logging.d.ts +1 -12
- package/dist/utils/logging.d.ts.map +1 -1
- package/dist/utils/logging.js +2 -20
- package/dist/utils/pagination.d.ts +38 -0
- package/dist/utils/pagination.d.ts.map +1 -0
- package/dist/utils/pagination.js +53 -0
- package/package.json +3 -2
- package/dist/registry.d.ts +0 -9
- package/dist/registry.d.ts.map +0 -1
- package/dist/registry.js +0 -103
- package/dist/types/meta.d.ts +0 -9
- package/dist/types/meta.d.ts.map +0 -1
- package/dist/types/meta.js +0 -3
- package/dist/types/plugin.d.ts +0 -84
- package/dist/types/plugin.d.ts.map +0 -1
- package/dist/types/plugin.js +0 -13
- package/dist/types/registry.d.ts +0 -54
- package/dist/types/registry.d.ts.map +0 -1
- package/dist/types/registry.js +0 -1
- package/dist/utils/function-utils.d.ts +0 -59
- package/dist/utils/function-utils.d.ts.map +0 -1
- package/dist/utils/function-utils.js +0 -245
- package/dist/utils/pagination-utils.d.ts +0 -73
- package/dist/utils/pagination-utils.d.ts.map +0 -1
- package/dist/utils/pagination-utils.js +0 -308
- package/dist/utils/plugin-utils.d.ts +0 -245
- package/dist/utils/plugin-utils.d.ts.map +0 -1
- package/dist/utils/plugin-utils.js +0 -234
- package/dist/utils/schema-utils.d.ts +0 -211
- package/dist/utils/schema-utils.d.ts.map +0 -1
- package/dist/utils/schema-utils.js +0 -72
- package/dist/utils/string-utils.d.ts +0 -40
- package/dist/utils/string-utils.d.ts.map +0 -1
- package/dist/utils/string-utils.js +0 -69
- package/dist/utils/telemetry-context.d.ts +0 -15
- package/dist/utils/telemetry-context.d.ts.map +0 -1
- package/dist/utils/telemetry-context.js +0 -48
- package/dist/utils/telemetry-utils.d.ts +0 -44
- package/dist/utils/telemetry-utils.d.ts.map +0 -1
- package/dist/utils/telemetry-utils.js +0 -60
- package/dist/utils/validation.d.ts +0 -4
- package/dist/utils/validation.d.ts.map +0 -1
- package/dist/utils/validation.js +0 -30
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createZapierApi } from "../../api";
|
|
2
|
-
import { definePlugin } from "
|
|
2
|
+
import { definePlugin } from "kitcore";
|
|
3
3
|
import { resolveCredentials } from "../../credentials";
|
|
4
4
|
import { ZAPIER_BASE_URL, ZAPIER_MAX_CONCURRENT_REQUESTS, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, } from "../../constants";
|
|
5
5
|
export const apiPlugin = definePlugin((sdk) => {
|
|
@@ -6,7 +6,10 @@ export declare const appsPlugin: (sdk: {
|
|
|
6
6
|
fetch: {
|
|
7
7
|
description: string;
|
|
8
8
|
packages: string[];
|
|
9
|
-
categories:
|
|
9
|
+
categories: {
|
|
10
|
+
key: string;
|
|
11
|
+
title: string;
|
|
12
|
+
}[];
|
|
10
13
|
returnType: string;
|
|
11
14
|
inputParameters: ({
|
|
12
15
|
name: string;
|
|
@@ -17,8 +20,8 @@ export declare const appsPlugin: (sdk: {
|
|
|
17
20
|
method: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18
21
|
POST: "POST";
|
|
19
22
|
GET: "GET";
|
|
20
|
-
PUT: "PUT";
|
|
21
23
|
DELETE: "DELETE";
|
|
24
|
+
PUT: "PUT";
|
|
22
25
|
PATCH: "PATCH";
|
|
23
26
|
HEAD: "HEAD";
|
|
24
27
|
OPTIONS: "OPTIONS";
|
|
@@ -64,16 +67,16 @@ export declare const appsPlugin: (sdk: {
|
|
|
64
67
|
cursor?: string;
|
|
65
68
|
pageSize?: number;
|
|
66
69
|
maxItems?: number;
|
|
67
|
-
}) | undefined) => import("
|
|
70
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<unknown>;
|
|
68
71
|
} & {
|
|
69
72
|
context: {
|
|
70
73
|
meta: {
|
|
71
|
-
runAction: import("
|
|
74
|
+
runAction: import("kitcore").PluginMeta<unknown>;
|
|
72
75
|
};
|
|
73
76
|
};
|
|
74
77
|
} & {
|
|
75
78
|
context: {
|
|
76
|
-
meta: Record<string, import("
|
|
79
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
77
80
|
};
|
|
78
81
|
}) => {
|
|
79
82
|
apps: ActionProxy & ZapierSdkApps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/apps/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,WAAW,EAEZ,MAAM,WAAW,CAAC;AA4OnB,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/apps/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,WAAW,EAEZ,MAAM,WAAW,CAAC;AA4OnB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAOiB,WAAW,GAAG,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBlE,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAG/D,YAAY,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACzE,YAAY,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAI7D,MAAM,WAAW,aAAa;CAAG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActionExecutionInputSchema, AppFactoryInputSchema } from "./schemas";
|
|
2
2
|
import { ZapierValidationError } from "../../types/errors";
|
|
3
|
-
import { definePlugin } from "
|
|
3
|
+
import { definePlugin } from "kitcore";
|
|
4
4
|
import { ActionResultItemSchema } from "../../schemas/Run";
|
|
5
5
|
/**
|
|
6
6
|
* Resolves which connection params to forward, choosing per-call values over pinned (factory) values.
|
|
@@ -16,9 +16,39 @@ export declare const cancelDurableRunPlugin: (sdk: {
|
|
|
16
16
|
};
|
|
17
17
|
} & {
|
|
18
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: "initialized" | "started" | "finished" | "failed" | "cancelled";
|
|
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
|
+
};
|
|
19
49
|
} & {
|
|
20
50
|
context: {
|
|
21
|
-
meta: Record<string, import("
|
|
51
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
22
52
|
};
|
|
23
53
|
}) => {
|
|
24
54
|
cancelDurableRun: (options?: {
|
|
@@ -32,7 +62,7 @@ export declare const cancelDurableRunPlugin: (sdk: {
|
|
|
32
62
|
} & {
|
|
33
63
|
context: {
|
|
34
64
|
meta: {
|
|
35
|
-
cancelDurableRun: import("
|
|
65
|
+
cancelDurableRun: import("kitcore").PluginMeta<unknown>;
|
|
36
66
|
};
|
|
37
67
|
};
|
|
38
68
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/cancelDurableRun/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/cancelDurableRun/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiClC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,UAAU,CACrD,OAAO,sBAAsB,CAC9B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { definePlugin, createPluginMethod } from "
|
|
1
|
+
import { definePlugin, createPluginMethod } from "kitcore";
|
|
2
2
|
import { durableRunIdResolver } from "../../../resolvers/durableRunId";
|
|
3
3
|
import { codeSubstrateDefaults } from "../shared";
|
|
4
4
|
import { CancelDurableRunOptionsSchema } from "./schemas";
|
|
@@ -18,7 +18,7 @@ export declare const createWorkflowPlugin: (sdk: {
|
|
|
18
18
|
context: import("../../eventEmission").EventEmissionContext;
|
|
19
19
|
} & {
|
|
20
20
|
context: {
|
|
21
|
-
meta: Record<string, import("
|
|
21
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
22
22
|
};
|
|
23
23
|
}) => {
|
|
24
24
|
createWorkflow: (options?: {
|
|
@@ -37,7 +37,7 @@ export declare const createWorkflowPlugin: (sdk: {
|
|
|
37
37
|
} & {
|
|
38
38
|
context: {
|
|
39
39
|
meta: {
|
|
40
|
-
createWorkflow: import("
|
|
40
|
+
createWorkflow: import("kitcore").PluginMeta<unknown>;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { definePlugin, createPluginMethod } from "
|
|
1
|
+
import { definePlugin, createPluginMethod } from "kitcore";
|
|
2
2
|
import { codeSubstrateDefaults } from "../shared";
|
|
3
3
|
import { CreateWorkflowOptionsSchema, CreateWorkflowResponseSchema, } from "./schemas";
|
|
4
4
|
export const createWorkflowPlugin = definePlugin((sdk) => createPluginMethod(sdk, {
|
|
@@ -16,9 +16,34 @@ export declare const deleteWorkflowPlugin: (sdk: {
|
|
|
16
16
|
};
|
|
17
17
|
} & {
|
|
18
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
|
+
current_version_id: string | null;
|
|
35
|
+
created_at: string;
|
|
36
|
+
updated_at: string;
|
|
37
|
+
}>;
|
|
38
|
+
} & {
|
|
39
|
+
context: {
|
|
40
|
+
meta: {
|
|
41
|
+
listWorkflows: import("kitcore").PluginMeta<unknown>;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
19
44
|
} & {
|
|
20
45
|
context: {
|
|
21
|
-
meta: Record<string, import("
|
|
46
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
22
47
|
};
|
|
23
48
|
}) => {
|
|
24
49
|
deleteWorkflow: (options?: {
|
|
@@ -31,7 +56,7 @@ export declare const deleteWorkflowPlugin: (sdk: {
|
|
|
31
56
|
} & {
|
|
32
57
|
context: {
|
|
33
58
|
meta: {
|
|
34
|
-
deleteWorkflow: import("
|
|
59
|
+
deleteWorkflow: import("kitcore").PluginMeta<unknown>;
|
|
35
60
|
};
|
|
36
61
|
};
|
|
37
62
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/deleteWorkflow/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/deleteWorkflow/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiChC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,oBAAoB,CAC5B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { definePlugin, createPluginMethod } from "
|
|
1
|
+
import { definePlugin, createPluginMethod } from "kitcore";
|
|
2
2
|
import { workflowIdResolver } from "../../../resolvers/workflowId";
|
|
3
3
|
import { codeSubstrateDefaults } from "../shared";
|
|
4
4
|
import { DeleteWorkflowOptionsSchema } from "./schemas";
|
|
@@ -16,9 +16,34 @@ export declare const disableWorkflowPlugin: (sdk: {
|
|
|
16
16
|
};
|
|
17
17
|
} & {
|
|
18
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
|
+
current_version_id: string | null;
|
|
35
|
+
created_at: string;
|
|
36
|
+
updated_at: string;
|
|
37
|
+
}>;
|
|
38
|
+
} & {
|
|
39
|
+
context: {
|
|
40
|
+
meta: {
|
|
41
|
+
listWorkflows: import("kitcore").PluginMeta<unknown>;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
19
44
|
} & {
|
|
20
45
|
context: {
|
|
21
|
-
meta: Record<string, import("
|
|
46
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
22
47
|
};
|
|
23
48
|
}) => {
|
|
24
49
|
disableWorkflow: (options?: {
|
|
@@ -32,7 +57,7 @@ export declare const disableWorkflowPlugin: (sdk: {
|
|
|
32
57
|
} & {
|
|
33
58
|
context: {
|
|
34
59
|
meta: {
|
|
35
|
-
disableWorkflow: import("
|
|
60
|
+
disableWorkflow: import("kitcore").PluginMeta<unknown>;
|
|
36
61
|
};
|
|
37
62
|
};
|
|
38
63
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/disableWorkflow/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/disableWorkflow/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BjC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,qBAAqB,CAC7B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { definePlugin, createPluginMethod } from "
|
|
1
|
+
import { definePlugin, createPluginMethod } from "kitcore";
|
|
2
2
|
import { workflowIdResolver } from "../../../resolvers/workflowId";
|
|
3
3
|
import { codeSubstrateDefaults } from "../shared";
|
|
4
4
|
import { DisableWorkflowOptionsSchema, DisableWorkflowResponseSchema, } from "./schemas";
|
|
@@ -16,9 +16,34 @@ export declare const enableWorkflowPlugin: (sdk: {
|
|
|
16
16
|
};
|
|
17
17
|
} & {
|
|
18
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
|
+
current_version_id: string | null;
|
|
35
|
+
created_at: string;
|
|
36
|
+
updated_at: string;
|
|
37
|
+
}>;
|
|
38
|
+
} & {
|
|
39
|
+
context: {
|
|
40
|
+
meta: {
|
|
41
|
+
listWorkflows: import("kitcore").PluginMeta<unknown>;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
19
44
|
} & {
|
|
20
45
|
context: {
|
|
21
|
-
meta: Record<string, import("
|
|
46
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
22
47
|
};
|
|
23
48
|
}) => {
|
|
24
49
|
enableWorkflow: (options?: {
|
|
@@ -32,7 +57,7 @@ export declare const enableWorkflowPlugin: (sdk: {
|
|
|
32
57
|
} & {
|
|
33
58
|
context: {
|
|
34
59
|
meta: {
|
|
35
|
-
enableWorkflow: import("
|
|
60
|
+
enableWorkflow: import("kitcore").PluginMeta<unknown>;
|
|
36
61
|
};
|
|
37
62
|
};
|
|
38
63
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/enableWorkflow/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/enableWorkflow/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BhC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,oBAAoB,CAC5B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { definePlugin, createPluginMethod } from "
|
|
1
|
+
import { definePlugin, createPluginMethod } from "kitcore";
|
|
2
2
|
import { workflowIdResolver } from "../../../resolvers/workflowId";
|
|
3
3
|
import { codeSubstrateDefaults } from "../shared";
|
|
4
4
|
import { EnableWorkflowOptionsSchema, EnableWorkflowResponseSchema, } from "./schemas";
|
|
@@ -16,9 +16,39 @@ export declare const getDurableRunPlugin: (sdk: {
|
|
|
16
16
|
};
|
|
17
17
|
} & {
|
|
18
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: "initialized" | "started" | "finished" | "failed" | "cancelled";
|
|
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
|
+
};
|
|
19
49
|
} & {
|
|
20
50
|
context: {
|
|
21
|
-
meta: Record<string, import("
|
|
51
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
22
52
|
};
|
|
23
53
|
}) => {
|
|
24
54
|
getDurableRun: (options?: {
|
|
@@ -81,7 +111,7 @@ export declare const getDurableRunPlugin: (sdk: {
|
|
|
81
111
|
} & {
|
|
82
112
|
context: {
|
|
83
113
|
meta: {
|
|
84
|
-
getDurableRun: import("
|
|
114
|
+
getDurableRun: import("kitcore").PluginMeta<unknown>;
|
|
85
115
|
};
|
|
86
116
|
};
|
|
87
117
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getDurableRun/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getDurableRun/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyB/B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,mBAAmB,CAC3B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { definePlugin, createPluginMethod } from "
|
|
1
|
+
import { definePlugin, createPluginMethod } from "kitcore";
|
|
2
2
|
import { durableRunIdResolver } from "../../../resolvers/durableRunId";
|
|
3
3
|
import { codeSubstrateDefaults } from "../shared";
|
|
4
4
|
import { GetDurableRunOptionsSchema, GetDurableRunResponseSchema, } from "./schemas";
|
|
@@ -18,7 +18,7 @@ export declare const getTriggerRunPlugin: (sdk: {
|
|
|
18
18
|
context: import("../../eventEmission").EventEmissionContext;
|
|
19
19
|
} & {
|
|
20
20
|
context: {
|
|
21
|
-
meta: Record<string, import("
|
|
21
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
22
22
|
};
|
|
23
23
|
}) => {
|
|
24
24
|
getTriggerRun: (options?: {
|
|
@@ -39,7 +39,7 @@ export declare const getTriggerRunPlugin: (sdk: {
|
|
|
39
39
|
} & {
|
|
40
40
|
context: {
|
|
41
41
|
meta: {
|
|
42
|
-
getTriggerRun: import("
|
|
42
|
+
getTriggerRun: import("kitcore").PluginMeta<unknown>;
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { definePlugin, createPluginMethod } from "
|
|
1
|
+
import { definePlugin, createPluginMethod } from "kitcore";
|
|
2
2
|
import { codeSubstrateDefaults } from "../shared";
|
|
3
3
|
import { GetTriggerRunOptionsSchema, GetTriggerRunResponseSchema, } from "./schemas";
|
|
4
4
|
export const getTriggerRunPlugin = definePlugin((sdk) => createPluginMethod(sdk, {
|
|
@@ -16,9 +16,34 @@ export declare const getWorkflowPlugin: (sdk: {
|
|
|
16
16
|
};
|
|
17
17
|
} & {
|
|
18
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
|
+
current_version_id: string | null;
|
|
35
|
+
created_at: string;
|
|
36
|
+
updated_at: string;
|
|
37
|
+
}>;
|
|
38
|
+
} & {
|
|
39
|
+
context: {
|
|
40
|
+
meta: {
|
|
41
|
+
listWorkflows: import("kitcore").PluginMeta<unknown>;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
19
44
|
} & {
|
|
20
45
|
context: {
|
|
21
|
-
meta: Record<string, import("
|
|
46
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
22
47
|
};
|
|
23
48
|
}) => {
|
|
24
49
|
getWorkflow: (options?: {
|
|
@@ -46,7 +71,7 @@ export declare const getWorkflowPlugin: (sdk: {
|
|
|
46
71
|
} & {
|
|
47
72
|
context: {
|
|
48
73
|
meta: {
|
|
49
|
-
getWorkflow: import("
|
|
74
|
+
getWorkflow: import("kitcore").PluginMeta<unknown>;
|
|
50
75
|
};
|
|
51
76
|
};
|
|
52
77
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getWorkflow/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getWorkflow/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B7B,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { definePlugin, createPluginMethod } from "
|
|
1
|
+
import { definePlugin, createPluginMethod } from "kitcore";
|
|
2
2
|
import { workflowIdResolver } from "../../../resolvers/workflowId";
|
|
3
3
|
import { codeSubstrateDefaults } from "../shared";
|
|
4
4
|
import { GetWorkflowOptionsSchema, GetWorkflowResponseSchema } from "./schemas";
|
|
@@ -16,9 +16,62 @@ export declare const getWorkflowRunPlugin: (sdk: {
|
|
|
16
16
|
};
|
|
17
17
|
} & {
|
|
18
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
|
+
current_version_id: string | null;
|
|
35
|
+
created_at: string;
|
|
36
|
+
updated_at: string;
|
|
37
|
+
}>;
|
|
38
|
+
} & {
|
|
39
|
+
context: {
|
|
40
|
+
meta: {
|
|
41
|
+
listWorkflows: import("kitcore").PluginMeta<unknown>;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
} & {
|
|
45
|
+
listWorkflowRuns: (options?: ({
|
|
46
|
+
workflow: string;
|
|
47
|
+
pageSize?: number | undefined;
|
|
48
|
+
cursor?: string | undefined;
|
|
49
|
+
maxItems?: number | undefined;
|
|
50
|
+
} & {
|
|
51
|
+
cursor?: string;
|
|
52
|
+
pageSize?: number;
|
|
53
|
+
maxItems?: number;
|
|
54
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
55
|
+
id: string;
|
|
56
|
+
trigger_id: string | null;
|
|
57
|
+
durable_run_id: string | null;
|
|
58
|
+
workflow_version_id: string | null;
|
|
59
|
+
status: string;
|
|
60
|
+
input: unknown;
|
|
61
|
+
output: unknown;
|
|
62
|
+
error: unknown;
|
|
63
|
+
created_at: string;
|
|
64
|
+
updated_at: string;
|
|
65
|
+
}>;
|
|
66
|
+
} & {
|
|
67
|
+
context: {
|
|
68
|
+
meta: {
|
|
69
|
+
listWorkflowRuns: import("kitcore").PluginMeta<unknown>;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
19
72
|
} & {
|
|
20
73
|
context: {
|
|
21
|
-
meta: Record<string, import("
|
|
74
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
22
75
|
};
|
|
23
76
|
}) => {
|
|
24
77
|
getWorkflowRun: (options?: {
|
|
@@ -41,7 +94,7 @@ export declare const getWorkflowRunPlugin: (sdk: {
|
|
|
41
94
|
} & {
|
|
42
95
|
context: {
|
|
43
96
|
meta: {
|
|
44
|
-
getWorkflowRun: import("
|
|
97
|
+
getWorkflowRun: import("kitcore").PluginMeta<unknown>;
|
|
45
98
|
};
|
|
46
99
|
};
|
|
47
100
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getWorkflowRun/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/getWorkflowRun/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BhC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,oBAAoB,CAC5B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { definePlugin, createPluginMethod } from "
|
|
1
|
+
import { definePlugin, createPluginMethod } from "kitcore";
|
|
2
2
|
import { workflowIdResolver } from "../../../resolvers/workflowId";
|
|
3
3
|
import { workflowRunIdResolver } from "../../../resolvers/workflowRunId";
|
|
4
4
|
import { codeSubstrateDefaults } from "../shared";
|
|
@@ -16,9 +16,58 @@ export declare const getWorkflowVersionPlugin: (sdk: {
|
|
|
16
16
|
};
|
|
17
17
|
} & {
|
|
18
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
|
+
current_version_id: string | null;
|
|
35
|
+
created_at: string;
|
|
36
|
+
updated_at: string;
|
|
37
|
+
}>;
|
|
38
|
+
} & {
|
|
39
|
+
context: {
|
|
40
|
+
meta: {
|
|
41
|
+
listWorkflows: import("kitcore").PluginMeta<unknown>;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
} & {
|
|
45
|
+
listWorkflowVersions: (options?: ({
|
|
46
|
+
workflow: string;
|
|
47
|
+
pageSize?: number | undefined;
|
|
48
|
+
cursor?: string | undefined;
|
|
49
|
+
maxItems?: number | undefined;
|
|
50
|
+
} & {
|
|
51
|
+
cursor?: string;
|
|
52
|
+
pageSize?: number;
|
|
53
|
+
maxItems?: number;
|
|
54
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
55
|
+
id: string;
|
|
56
|
+
workflow_id: string;
|
|
57
|
+
zapier_durable_version: string;
|
|
58
|
+
dependencies: Record<string, string> | null;
|
|
59
|
+
created_by_user_id: string;
|
|
60
|
+
created_at: string;
|
|
61
|
+
}>;
|
|
62
|
+
} & {
|
|
63
|
+
context: {
|
|
64
|
+
meta: {
|
|
65
|
+
listWorkflowVersions: import("kitcore").PluginMeta<unknown>;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
19
68
|
} & {
|
|
20
69
|
context: {
|
|
21
|
-
meta: Record<string, import("
|
|
70
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
22
71
|
};
|
|
23
72
|
}) => {
|
|
24
73
|
getWorkflowVersion: (options?: {
|
|
@@ -38,7 +87,7 @@ export declare const getWorkflowVersionPlugin: (sdk: {
|
|
|
38
87
|
} & {
|
|
39
88
|
context: {
|
|
40
89
|
meta: {
|
|
41
|
-
getWorkflowVersion: import("
|
|
90
|
+
getWorkflowVersion: import("kitcore").PluginMeta<unknown>;
|
|
42
91
|
};
|
|
43
92
|
};
|
|
44
93
|
};
|