@zapier/zapier-sdk 0.65.0 → 0.68.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 +48 -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-oRnHsPn5.d.mts} +12906 -7603
- package/dist/{index-JhNxS_mq.d.ts → index-oRnHsPn5.d.ts} +12906 -7603
- 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/eventEmission/types.d.ts +1 -1
- package/dist/plugins/eventEmission/types.d.ts.map +1 -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/types/telemetry-events.d.ts +1 -1
- package/dist/types/telemetry-events.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
package/dist/experimental.d.ts
CHANGED
|
@@ -20,13 +20,29 @@
|
|
|
20
20
|
* type are *replaced* by this subpath.
|
|
21
21
|
*/
|
|
22
22
|
import type { BaseSdkOptions } from "./types/sdk";
|
|
23
|
-
import type { PluginMeta } from "
|
|
23
|
+
import type { PluginMeta } from "kitcore";
|
|
24
24
|
export * from "./index";
|
|
25
25
|
export interface ZapierSdkOptions extends BaseSdkOptions {
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Build the unsealed `PluginStack` for the experimental SDK. Mirror of
|
|
29
|
+
* `createZapierSdkStack` from the stable entry: downstream packages
|
|
30
|
+
* extending the experimental SDK should layer plugins via `.use(...)`
|
|
31
|
+
* on the returned stack rather than going through `.addPlugin` on the
|
|
32
|
+
* sealed result.
|
|
33
|
+
*
|
|
34
|
+
* Shadows the re-export from `./index` so consumers of
|
|
35
|
+
* `@zapier/zapier-sdk/experimental` get the experimental factory under
|
|
36
|
+
* the same name as the stable factory.
|
|
37
|
+
*/
|
|
38
|
+
export declare function createZapierSdkStack(options?: ZapierSdkOptions): import("kitcore").PluginStack<object, {
|
|
28
39
|
context: {
|
|
29
40
|
meta: Record<string, PluginMeta>;
|
|
41
|
+
hooks: import("kitcore").MethodHooks;
|
|
42
|
+
};
|
|
43
|
+
} & {
|
|
44
|
+
context: {
|
|
45
|
+
core: import("kitcore").CoreOptions;
|
|
30
46
|
};
|
|
31
47
|
} & {
|
|
32
48
|
context: {
|
|
@@ -104,7 +120,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
104
120
|
cursor?: string;
|
|
105
121
|
pageSize?: number;
|
|
106
122
|
maxItems?: number;
|
|
107
|
-
}) | undefined) => import("
|
|
123
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
108
124
|
slug: string;
|
|
109
125
|
title: string;
|
|
110
126
|
key: string;
|
|
@@ -160,7 +176,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
160
176
|
} & {
|
|
161
177
|
context: {
|
|
162
178
|
meta: {
|
|
163
|
-
listApps: PluginMeta
|
|
179
|
+
listApps: PluginMeta<unknown>;
|
|
164
180
|
};
|
|
165
181
|
};
|
|
166
182
|
} & {
|
|
@@ -226,7 +242,204 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
226
242
|
} & {
|
|
227
243
|
context: {
|
|
228
244
|
meta: {
|
|
229
|
-
getApp: PluginMeta
|
|
245
|
+
getApp: PluginMeta<unknown>;
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
} & {
|
|
249
|
+
listConnections: (options?: ({
|
|
250
|
+
title?: string | undefined;
|
|
251
|
+
search?: string | undefined;
|
|
252
|
+
owner?: string | undefined;
|
|
253
|
+
app?: string | undefined;
|
|
254
|
+
appKey?: string | undefined;
|
|
255
|
+
connections?: string[] | undefined;
|
|
256
|
+
connectionIds?: string[] | undefined;
|
|
257
|
+
authenticationIds?: string[] | undefined;
|
|
258
|
+
account?: string | undefined;
|
|
259
|
+
accountId?: string | undefined;
|
|
260
|
+
includeShared?: boolean | undefined;
|
|
261
|
+
isExpired?: boolean | undefined;
|
|
262
|
+
expired?: boolean | undefined;
|
|
263
|
+
pageSize?: number | undefined;
|
|
264
|
+
maxItems?: number | undefined;
|
|
265
|
+
cursor?: string | undefined;
|
|
266
|
+
} & {
|
|
267
|
+
cursor?: string;
|
|
268
|
+
pageSize?: number;
|
|
269
|
+
maxItems?: number;
|
|
270
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
271
|
+
date: string;
|
|
272
|
+
is_invite_only: boolean;
|
|
273
|
+
is_private: boolean;
|
|
274
|
+
shared_with_all: boolean;
|
|
275
|
+
id: string;
|
|
276
|
+
account_id: string;
|
|
277
|
+
title?: string | null | undefined;
|
|
278
|
+
lastchanged?: string | undefined;
|
|
279
|
+
destination_selected_api?: string | null | undefined;
|
|
280
|
+
is_stale?: string | undefined;
|
|
281
|
+
is_shared?: string | undefined;
|
|
282
|
+
marked_stale_at?: string | null | undefined;
|
|
283
|
+
label?: string | null | undefined;
|
|
284
|
+
identifier?: string | null | undefined;
|
|
285
|
+
url?: string | undefined;
|
|
286
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
287
|
+
members?: string | undefined;
|
|
288
|
+
permissions?: Record<string, boolean> | undefined;
|
|
289
|
+
public_id?: string | undefined;
|
|
290
|
+
account_public_id?: string | undefined;
|
|
291
|
+
customuser_public_id?: string | undefined;
|
|
292
|
+
implementation_id?: string | undefined;
|
|
293
|
+
profile_id?: string | undefined;
|
|
294
|
+
is_expired?: string | undefined;
|
|
295
|
+
expired_at?: string | null | undefined;
|
|
296
|
+
app_key?: string | undefined;
|
|
297
|
+
app_version?: string | undefined;
|
|
298
|
+
}>;
|
|
299
|
+
} & {
|
|
300
|
+
context: {
|
|
301
|
+
meta: {
|
|
302
|
+
listConnections: PluginMeta<unknown>;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
} & {
|
|
306
|
+
getConnection: (options?: {
|
|
307
|
+
connection?: string | number | undefined;
|
|
308
|
+
connectionId?: string | number | undefined;
|
|
309
|
+
authenticationId?: string | number | undefined;
|
|
310
|
+
} | undefined) => Promise<{
|
|
311
|
+
data: {
|
|
312
|
+
date: string;
|
|
313
|
+
is_invite_only: boolean;
|
|
314
|
+
is_private: boolean;
|
|
315
|
+
shared_with_all: boolean;
|
|
316
|
+
id: string;
|
|
317
|
+
account_id: string;
|
|
318
|
+
title?: string | null | undefined;
|
|
319
|
+
lastchanged?: string | undefined;
|
|
320
|
+
destination_selected_api?: string | null | undefined;
|
|
321
|
+
is_stale?: string | undefined;
|
|
322
|
+
is_shared?: string | undefined;
|
|
323
|
+
marked_stale_at?: string | null | undefined;
|
|
324
|
+
label?: string | null | undefined;
|
|
325
|
+
identifier?: string | null | undefined;
|
|
326
|
+
url?: string | undefined;
|
|
327
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
328
|
+
members?: string | undefined;
|
|
329
|
+
permissions?: Record<string, boolean> | undefined;
|
|
330
|
+
public_id?: string | undefined;
|
|
331
|
+
account_public_id?: string | undefined;
|
|
332
|
+
customuser_public_id?: string | undefined;
|
|
333
|
+
implementation_id?: string | undefined;
|
|
334
|
+
profile_id?: string | undefined;
|
|
335
|
+
is_expired?: string | undefined;
|
|
336
|
+
expired_at?: string | null | undefined;
|
|
337
|
+
app_key?: string | undefined;
|
|
338
|
+
app_version?: string | undefined;
|
|
339
|
+
};
|
|
340
|
+
}>;
|
|
341
|
+
} & {
|
|
342
|
+
context: {
|
|
343
|
+
meta: {
|
|
344
|
+
getConnection: PluginMeta<unknown>;
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
} & {
|
|
348
|
+
findFirstConnection: (options?: {
|
|
349
|
+
title?: string | undefined;
|
|
350
|
+
search?: string | undefined;
|
|
351
|
+
appKey?: string | undefined;
|
|
352
|
+
app?: string | undefined;
|
|
353
|
+
owner?: string | undefined;
|
|
354
|
+
account?: string | undefined;
|
|
355
|
+
accountId?: string | undefined;
|
|
356
|
+
includeShared?: boolean | undefined;
|
|
357
|
+
isExpired?: boolean | undefined;
|
|
358
|
+
expired?: boolean | undefined;
|
|
359
|
+
} | undefined) => Promise<{
|
|
360
|
+
data: {
|
|
361
|
+
date: string;
|
|
362
|
+
is_invite_only: boolean;
|
|
363
|
+
is_private: boolean;
|
|
364
|
+
shared_with_all: boolean;
|
|
365
|
+
id: string;
|
|
366
|
+
account_id: string;
|
|
367
|
+
title?: string | null | undefined;
|
|
368
|
+
lastchanged?: string | undefined;
|
|
369
|
+
destination_selected_api?: string | null | undefined;
|
|
370
|
+
is_stale?: string | undefined;
|
|
371
|
+
is_shared?: string | undefined;
|
|
372
|
+
marked_stale_at?: string | null | undefined;
|
|
373
|
+
label?: string | null | undefined;
|
|
374
|
+
identifier?: string | null | undefined;
|
|
375
|
+
url?: string | undefined;
|
|
376
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
377
|
+
members?: string | undefined;
|
|
378
|
+
permissions?: Record<string, boolean> | undefined;
|
|
379
|
+
public_id?: string | undefined;
|
|
380
|
+
account_public_id?: string | undefined;
|
|
381
|
+
customuser_public_id?: string | undefined;
|
|
382
|
+
implementation_id?: string | undefined;
|
|
383
|
+
profile_id?: string | undefined;
|
|
384
|
+
is_expired?: string | undefined;
|
|
385
|
+
expired_at?: string | null | undefined;
|
|
386
|
+
app_key?: string | undefined;
|
|
387
|
+
app_version?: string | undefined;
|
|
388
|
+
};
|
|
389
|
+
}>;
|
|
390
|
+
} & {
|
|
391
|
+
context: {
|
|
392
|
+
meta: {
|
|
393
|
+
findFirstConnection: PluginMeta<unknown>;
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
} & {
|
|
397
|
+
findUniqueConnection: (options?: {
|
|
398
|
+
title?: string | undefined;
|
|
399
|
+
search?: string | undefined;
|
|
400
|
+
appKey?: string | undefined;
|
|
401
|
+
app?: string | undefined;
|
|
402
|
+
owner?: string | undefined;
|
|
403
|
+
account?: string | undefined;
|
|
404
|
+
accountId?: string | undefined;
|
|
405
|
+
includeShared?: boolean | undefined;
|
|
406
|
+
isExpired?: boolean | undefined;
|
|
407
|
+
expired?: boolean | undefined;
|
|
408
|
+
} | undefined) => Promise<{
|
|
409
|
+
data: {
|
|
410
|
+
date: string;
|
|
411
|
+
is_invite_only: boolean;
|
|
412
|
+
is_private: boolean;
|
|
413
|
+
shared_with_all: boolean;
|
|
414
|
+
id: string;
|
|
415
|
+
account_id: string;
|
|
416
|
+
title?: string | null | undefined;
|
|
417
|
+
lastchanged?: string | undefined;
|
|
418
|
+
destination_selected_api?: string | null | undefined;
|
|
419
|
+
is_stale?: string | undefined;
|
|
420
|
+
is_shared?: string | undefined;
|
|
421
|
+
marked_stale_at?: string | null | undefined;
|
|
422
|
+
label?: string | null | undefined;
|
|
423
|
+
identifier?: string | null | undefined;
|
|
424
|
+
url?: string | undefined;
|
|
425
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
426
|
+
members?: string | undefined;
|
|
427
|
+
permissions?: Record<string, boolean> | undefined;
|
|
428
|
+
public_id?: string | undefined;
|
|
429
|
+
account_public_id?: string | undefined;
|
|
430
|
+
customuser_public_id?: string | undefined;
|
|
431
|
+
implementation_id?: string | undefined;
|
|
432
|
+
profile_id?: string | undefined;
|
|
433
|
+
is_expired?: string | undefined;
|
|
434
|
+
expired_at?: string | null | undefined;
|
|
435
|
+
app_key?: string | undefined;
|
|
436
|
+
app_version?: string | undefined;
|
|
437
|
+
};
|
|
438
|
+
}>;
|
|
439
|
+
} & {
|
|
440
|
+
context: {
|
|
441
|
+
meta: {
|
|
442
|
+
findUniqueConnection: PluginMeta<unknown>;
|
|
230
443
|
};
|
|
231
444
|
};
|
|
232
445
|
} & {
|
|
@@ -246,7 +459,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
246
459
|
cursor?: string;
|
|
247
460
|
pageSize?: number;
|
|
248
461
|
maxItems?: number;
|
|
249
|
-
}) | undefined) => import("
|
|
462
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
250
463
|
description: string;
|
|
251
464
|
key: string;
|
|
252
465
|
app_key: string;
|
|
@@ -261,7 +474,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
261
474
|
} & {
|
|
262
475
|
context: {
|
|
263
476
|
meta: {
|
|
264
|
-
listActions: PluginMeta
|
|
477
|
+
listActions: PluginMeta<unknown>;
|
|
265
478
|
};
|
|
266
479
|
};
|
|
267
480
|
} & {
|
|
@@ -290,7 +503,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
290
503
|
} & {
|
|
291
504
|
context: {
|
|
292
505
|
meta: {
|
|
293
|
-
getAction: PluginMeta
|
|
506
|
+
getAction: PluginMeta<unknown>;
|
|
294
507
|
};
|
|
295
508
|
};
|
|
296
509
|
} & {
|
|
@@ -320,7 +533,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
320
533
|
cursor?: string;
|
|
321
534
|
pageSize?: number;
|
|
322
535
|
maxItems?: number;
|
|
323
|
-
}) | undefined) => import("
|
|
536
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
324
537
|
key: string;
|
|
325
538
|
type: "input_field";
|
|
326
539
|
default_value: string;
|
|
@@ -344,7 +557,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
344
557
|
} & {
|
|
345
558
|
context: {
|
|
346
559
|
meta: {
|
|
347
|
-
listActionInputFields: PluginMeta
|
|
560
|
+
listActionInputFields: PluginMeta<unknown>;
|
|
348
561
|
};
|
|
349
562
|
};
|
|
350
563
|
} & {
|
|
@@ -370,7 +583,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
370
583
|
} & {
|
|
371
584
|
context: {
|
|
372
585
|
meta: {
|
|
373
|
-
getActionInputFieldsSchema: PluginMeta
|
|
586
|
+
getActionInputFieldsSchema: PluginMeta<unknown>;
|
|
374
587
|
};
|
|
375
588
|
};
|
|
376
589
|
} & {
|
|
@@ -404,7 +617,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
404
617
|
cursor?: string;
|
|
405
618
|
pageSize?: number;
|
|
406
619
|
maxItems?: number;
|
|
407
|
-
}) | undefined) => import("
|
|
620
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
408
621
|
key?: string | undefined;
|
|
409
622
|
label?: string | undefined;
|
|
410
623
|
sample?: string | undefined;
|
|
@@ -413,7 +626,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
413
626
|
} & {
|
|
414
627
|
context: {
|
|
415
628
|
meta: {
|
|
416
|
-
listActionInputFieldChoices: PluginMeta
|
|
629
|
+
listActionInputFieldChoices: PluginMeta<unknown>;
|
|
417
630
|
};
|
|
418
631
|
};
|
|
419
632
|
} & {
|
|
@@ -443,7 +656,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
443
656
|
cursor?: string;
|
|
444
657
|
pageSize?: number;
|
|
445
658
|
maxItems?: number;
|
|
446
|
-
}) | undefined) => import("
|
|
659
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
447
660
|
key: string;
|
|
448
661
|
type: "input_field";
|
|
449
662
|
default_value: string;
|
|
@@ -468,11 +681,14 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
468
681
|
meta: {
|
|
469
682
|
listInputFields: {
|
|
470
683
|
categories: string[];
|
|
684
|
+
deprecation: {
|
|
685
|
+
message: string;
|
|
686
|
+
};
|
|
471
687
|
type: "list";
|
|
472
688
|
itemType: string;
|
|
473
689
|
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
474
690
|
app: import("zod").ZodString & {
|
|
475
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
691
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
476
692
|
};
|
|
477
693
|
actionType: import("zod").ZodEnum<{
|
|
478
694
|
filter: "filter";
|
|
@@ -485,7 +701,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
485
701
|
search_or_write: "search_or_write";
|
|
486
702
|
}>;
|
|
487
703
|
action: import("zod").ZodString & {
|
|
488
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
704
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
489
705
|
};
|
|
490
706
|
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
491
707
|
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
@@ -496,7 +712,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
496
712
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
497
713
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
498
714
|
appKey: import("zod").ZodString & {
|
|
499
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
715
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
500
716
|
};
|
|
501
717
|
actionType: import("zod").ZodEnum<{
|
|
502
718
|
filter: "filter";
|
|
@@ -538,6 +754,27 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
538
754
|
description: import("zod").ZodString;
|
|
539
755
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
540
756
|
}, import("zod/v4/core").$strip>, import("zod").ZodType<import("./index").FieldsetItem, unknown, import("zod/v4/core").$ZodTypeInternals<import("./index").FieldsetItem, unknown>>]>;
|
|
757
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
758
|
+
key: string;
|
|
759
|
+
type: "input_field";
|
|
760
|
+
default_value: string;
|
|
761
|
+
depends_on: string[];
|
|
762
|
+
description: string;
|
|
763
|
+
invalidates_input_fields: boolean;
|
|
764
|
+
is_required: boolean;
|
|
765
|
+
placeholder: string;
|
|
766
|
+
title: string;
|
|
767
|
+
value_type: string;
|
|
768
|
+
format?: string | undefined;
|
|
769
|
+
items?: {
|
|
770
|
+
type: string;
|
|
771
|
+
} | undefined;
|
|
772
|
+
} | {
|
|
773
|
+
key: string;
|
|
774
|
+
type: "info_field";
|
|
775
|
+
description: string;
|
|
776
|
+
title?: string | undefined;
|
|
777
|
+
} | import("./index").FieldsetItem, Record<string, unknown>, unknown>;
|
|
541
778
|
defaultPageSize: number;
|
|
542
779
|
};
|
|
543
780
|
};
|
|
@@ -566,10 +803,13 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
566
803
|
meta: {
|
|
567
804
|
getInputFieldsSchema: {
|
|
568
805
|
categories: string[];
|
|
806
|
+
deprecation: {
|
|
807
|
+
message: string;
|
|
808
|
+
};
|
|
569
809
|
type: "function";
|
|
570
810
|
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
571
811
|
app: import("zod").ZodString & {
|
|
572
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
812
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
573
813
|
};
|
|
574
814
|
actionType: import("zod").ZodEnum<{
|
|
575
815
|
filter: "filter";
|
|
@@ -582,7 +822,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
582
822
|
search_or_write: "search_or_write";
|
|
583
823
|
}>;
|
|
584
824
|
action: import("zod").ZodString & {
|
|
585
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
825
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
586
826
|
};
|
|
587
827
|
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
588
828
|
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
@@ -590,7 +830,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
590
830
|
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
591
831
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
592
832
|
appKey: import("zod").ZodString & {
|
|
593
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
833
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
594
834
|
};
|
|
595
835
|
actionType: import("zod").ZodEnum<{
|
|
596
836
|
filter: "filter";
|
|
@@ -642,7 +882,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
642
882
|
cursor?: string;
|
|
643
883
|
pageSize?: number;
|
|
644
884
|
maxItems?: number;
|
|
645
|
-
}) | undefined) => import("
|
|
885
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
646
886
|
key?: string | undefined;
|
|
647
887
|
label?: string | undefined;
|
|
648
888
|
sample?: string | undefined;
|
|
@@ -652,11 +892,14 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
652
892
|
meta: {
|
|
653
893
|
listInputFieldChoices: {
|
|
654
894
|
categories: string[];
|
|
895
|
+
deprecation: {
|
|
896
|
+
message: string;
|
|
897
|
+
};
|
|
655
898
|
type: "list";
|
|
656
899
|
itemType: string;
|
|
657
900
|
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
658
901
|
app: import("zod").ZodString & {
|
|
659
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
902
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
660
903
|
};
|
|
661
904
|
actionType: import("zod").ZodEnum<{
|
|
662
905
|
filter: "filter";
|
|
@@ -669,10 +912,10 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
669
912
|
search_or_write: "search_or_write";
|
|
670
913
|
}>;
|
|
671
914
|
action: import("zod").ZodString & {
|
|
672
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
915
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
673
916
|
};
|
|
674
917
|
inputField: import("zod").ZodString & {
|
|
675
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
918
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
676
919
|
};
|
|
677
920
|
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
678
921
|
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
@@ -684,7 +927,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
684
927
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
685
928
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
686
929
|
appKey: import("zod").ZodString & {
|
|
687
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
930
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
688
931
|
};
|
|
689
932
|
actionType: import("zod").ZodEnum<{
|
|
690
933
|
filter: "filter";
|
|
@@ -713,6 +956,12 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
713
956
|
sample: import("zod").ZodOptional<import("zod").ZodString>;
|
|
714
957
|
value: import("zod").ZodOptional<import("zod").ZodString>;
|
|
715
958
|
}, import("zod/v4/core").$strip>;
|
|
959
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
960
|
+
key?: string | undefined;
|
|
961
|
+
label?: string | undefined;
|
|
962
|
+
sample?: string | undefined;
|
|
963
|
+
value?: string | undefined;
|
|
964
|
+
}, Record<string, unknown>, unknown>;
|
|
716
965
|
defaultPageSize: number;
|
|
717
966
|
};
|
|
718
967
|
};
|
|
@@ -746,15 +995,15 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
746
995
|
cursor?: string;
|
|
747
996
|
pageSize?: number;
|
|
748
997
|
maxItems?: number;
|
|
749
|
-
}) | undefined) => import("
|
|
998
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<unknown>;
|
|
750
999
|
} & {
|
|
751
1000
|
context: {
|
|
752
1001
|
meta: {
|
|
753
|
-
runAction: PluginMeta
|
|
1002
|
+
runAction: PluginMeta<unknown>;
|
|
754
1003
|
};
|
|
755
1004
|
};
|
|
756
1005
|
} & {
|
|
757
|
-
|
|
1006
|
+
listAuthentications: (options?: ({
|
|
758
1007
|
title?: string | undefined;
|
|
759
1008
|
search?: string | undefined;
|
|
760
1009
|
owner?: string | undefined;
|
|
@@ -775,7 +1024,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
775
1024
|
cursor?: string;
|
|
776
1025
|
pageSize?: number;
|
|
777
1026
|
maxItems?: number;
|
|
778
|
-
}) | undefined) => import("
|
|
1027
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
779
1028
|
date: string;
|
|
780
1029
|
is_invite_only: boolean;
|
|
781
1030
|
is_private: boolean;
|
|
@@ -804,61 +1053,218 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
804
1053
|
app_key?: string | undefined;
|
|
805
1054
|
app_version?: string | undefined;
|
|
806
1055
|
}>;
|
|
807
|
-
} & {
|
|
808
|
-
context: {
|
|
809
|
-
meta: {
|
|
810
|
-
listConnections: PluginMeta;
|
|
811
|
-
};
|
|
812
|
-
};
|
|
813
|
-
} & {
|
|
814
|
-
getConnection: (options?: {
|
|
815
|
-
connection?: string | number | undefined;
|
|
816
|
-
connectionId?: string | number | undefined;
|
|
817
|
-
authenticationId?: string | number | undefined;
|
|
818
|
-
} | undefined) => Promise<{
|
|
819
|
-
data: {
|
|
820
|
-
date: string;
|
|
821
|
-
is_invite_only: boolean;
|
|
822
|
-
is_private: boolean;
|
|
823
|
-
shared_with_all: boolean;
|
|
824
|
-
id: string;
|
|
825
|
-
account_id: string;
|
|
826
|
-
title?: string | null | undefined;
|
|
827
|
-
lastchanged?: string | undefined;
|
|
828
|
-
destination_selected_api?: string | null | undefined;
|
|
829
|
-
is_stale?: string | undefined;
|
|
830
|
-
is_shared?: string | undefined;
|
|
831
|
-
marked_stale_at?: string | null | undefined;
|
|
832
|
-
label?: string | null | undefined;
|
|
833
|
-
identifier?: string | null | undefined;
|
|
834
|
-
url?: string | undefined;
|
|
835
|
-
groups?: Record<string, unknown>[] | undefined;
|
|
836
|
-
members?: string | undefined;
|
|
837
|
-
permissions?: Record<string, boolean> | undefined;
|
|
838
|
-
public_id?: string | undefined;
|
|
839
|
-
account_public_id?: string | undefined;
|
|
840
|
-
customuser_public_id?: string | undefined;
|
|
841
|
-
implementation_id?: string | undefined;
|
|
842
|
-
profile_id?: string | undefined;
|
|
843
|
-
is_expired?: string | undefined;
|
|
844
|
-
expired_at?: string | null | undefined;
|
|
845
|
-
app_key?: string | undefined;
|
|
846
|
-
app_version?: string | undefined;
|
|
847
|
-
};
|
|
848
|
-
}>;
|
|
849
|
-
} & {
|
|
850
1056
|
context: {
|
|
851
1057
|
meta: {
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
1058
|
+
listAuthentications: {
|
|
1059
|
+
packages: string[];
|
|
1060
|
+
categories: string[];
|
|
1061
|
+
deprecation: {
|
|
1062
|
+
message: string;
|
|
1063
|
+
};
|
|
1064
|
+
type: "list";
|
|
1065
|
+
itemType: string;
|
|
1066
|
+
inputSchema: import("zod").ZodObject<{
|
|
1067
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1068
|
+
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1069
|
+
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1070
|
+
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1071
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1072
|
+
}>;
|
|
1073
|
+
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1074
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1075
|
+
}>;
|
|
1076
|
+
connections: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1077
|
+
connectionIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1078
|
+
authenticationIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1079
|
+
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1080
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1081
|
+
includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1082
|
+
isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1083
|
+
expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1084
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1085
|
+
maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1086
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1087
|
+
}, import("zod/v4/core").$strip>;
|
|
1088
|
+
outputSchema: import("zod").ZodObject<{
|
|
1089
|
+
title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1090
|
+
date: import("zod").ZodString;
|
|
1091
|
+
is_invite_only: import("zod").ZodBoolean;
|
|
1092
|
+
lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1093
|
+
destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1094
|
+
is_private: import("zod").ZodBoolean;
|
|
1095
|
+
shared_with_all: import("zod").ZodBoolean;
|
|
1096
|
+
is_stale: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1097
|
+
is_shared: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1098
|
+
marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1099
|
+
label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1100
|
+
identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1101
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1102
|
+
groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
1103
|
+
members: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1104
|
+
permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
|
1105
|
+
public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1106
|
+
account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1107
|
+
customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1108
|
+
id: import("zod").ZodString;
|
|
1109
|
+
account_id: import("zod").ZodString;
|
|
1110
|
+
implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1111
|
+
profile_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1112
|
+
is_expired: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1113
|
+
expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1114
|
+
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1115
|
+
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1116
|
+
}, import("zod/v4/core").$strip>;
|
|
1117
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
1118
|
+
date: string;
|
|
1119
|
+
is_invite_only: boolean;
|
|
1120
|
+
is_private: boolean;
|
|
1121
|
+
shared_with_all: boolean;
|
|
1122
|
+
id: string;
|
|
1123
|
+
account_id: string;
|
|
1124
|
+
title?: string | null | undefined;
|
|
1125
|
+
lastchanged?: string | undefined;
|
|
1126
|
+
destination_selected_api?: string | null | undefined;
|
|
1127
|
+
is_stale?: string | undefined;
|
|
1128
|
+
is_shared?: string | undefined;
|
|
1129
|
+
marked_stale_at?: string | null | undefined;
|
|
1130
|
+
label?: string | null | undefined;
|
|
1131
|
+
identifier?: string | null | undefined;
|
|
1132
|
+
url?: string | undefined;
|
|
1133
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
1134
|
+
members?: string | undefined;
|
|
1135
|
+
permissions?: Record<string, boolean> | undefined;
|
|
1136
|
+
public_id?: string | undefined;
|
|
1137
|
+
account_public_id?: string | undefined;
|
|
1138
|
+
customuser_public_id?: string | undefined;
|
|
1139
|
+
implementation_id?: string | undefined;
|
|
1140
|
+
profile_id?: string | undefined;
|
|
1141
|
+
is_expired?: string | undefined;
|
|
1142
|
+
expired_at?: string | null | undefined;
|
|
1143
|
+
app_key?: string | undefined;
|
|
1144
|
+
app_version?: string | undefined;
|
|
1145
|
+
}, Record<string, unknown>, unknown>;
|
|
1146
|
+
};
|
|
1147
|
+
};
|
|
1148
|
+
};
|
|
1149
|
+
} & {
|
|
1150
|
+
getAuthentication: (options?: {
|
|
1151
|
+
connection?: string | number | undefined;
|
|
1152
|
+
connectionId?: string | number | undefined;
|
|
1153
|
+
authenticationId?: string | number | undefined;
|
|
1154
|
+
} | undefined) => Promise<{
|
|
1155
|
+
data: {
|
|
1156
|
+
date: string;
|
|
1157
|
+
is_invite_only: boolean;
|
|
1158
|
+
is_private: boolean;
|
|
1159
|
+
shared_with_all: boolean;
|
|
1160
|
+
id: string;
|
|
1161
|
+
account_id: string;
|
|
1162
|
+
title?: string | null | undefined;
|
|
1163
|
+
lastchanged?: string | undefined;
|
|
1164
|
+
destination_selected_api?: string | null | undefined;
|
|
1165
|
+
is_stale?: string | undefined;
|
|
1166
|
+
is_shared?: string | undefined;
|
|
1167
|
+
marked_stale_at?: string | null | undefined;
|
|
1168
|
+
label?: string | null | undefined;
|
|
1169
|
+
identifier?: string | null | undefined;
|
|
1170
|
+
url?: string | undefined;
|
|
1171
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
1172
|
+
members?: string | undefined;
|
|
1173
|
+
permissions?: Record<string, boolean> | undefined;
|
|
1174
|
+
public_id?: string | undefined;
|
|
1175
|
+
account_public_id?: string | undefined;
|
|
1176
|
+
customuser_public_id?: string | undefined;
|
|
1177
|
+
implementation_id?: string | undefined;
|
|
1178
|
+
profile_id?: string | undefined;
|
|
1179
|
+
is_expired?: string | undefined;
|
|
1180
|
+
expired_at?: string | null | undefined;
|
|
1181
|
+
app_key?: string | undefined;
|
|
1182
|
+
app_version?: string | undefined;
|
|
1183
|
+
};
|
|
1184
|
+
}>;
|
|
1185
|
+
context: {
|
|
1186
|
+
meta: {
|
|
1187
|
+
getAuthentication: {
|
|
1188
|
+
packages: string[];
|
|
1189
|
+
categories: string[];
|
|
1190
|
+
deprecation: {
|
|
1191
|
+
message: string;
|
|
1192
|
+
};
|
|
1193
|
+
type: "item";
|
|
1194
|
+
itemType: string;
|
|
1195
|
+
inputSchema: import("zod").ZodObject<{
|
|
1196
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1197
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1198
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1199
|
+
}, import("zod/v4/core").$strip>;
|
|
1200
|
+
outputSchema: import("zod").ZodObject<{
|
|
1201
|
+
title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1202
|
+
date: import("zod").ZodString;
|
|
1203
|
+
is_invite_only: import("zod").ZodBoolean;
|
|
1204
|
+
lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1205
|
+
destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1206
|
+
is_private: import("zod").ZodBoolean;
|
|
1207
|
+
shared_with_all: import("zod").ZodBoolean;
|
|
1208
|
+
is_stale: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1209
|
+
is_shared: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1210
|
+
marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1211
|
+
label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1212
|
+
identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1213
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1214
|
+
groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
1215
|
+
members: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1216
|
+
permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
|
1217
|
+
public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1218
|
+
account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1219
|
+
customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1220
|
+
id: import("zod").ZodString;
|
|
1221
|
+
account_id: import("zod").ZodString;
|
|
1222
|
+
implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1223
|
+
profile_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1224
|
+
is_expired: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1225
|
+
expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1226
|
+
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1227
|
+
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1228
|
+
}, import("zod/v4/core").$strip>;
|
|
1229
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
1230
|
+
date: string;
|
|
1231
|
+
is_invite_only: boolean;
|
|
1232
|
+
is_private: boolean;
|
|
1233
|
+
shared_with_all: boolean;
|
|
1234
|
+
id: string;
|
|
1235
|
+
account_id: string;
|
|
1236
|
+
title?: string | null | undefined;
|
|
1237
|
+
lastchanged?: string | undefined;
|
|
1238
|
+
destination_selected_api?: string | null | undefined;
|
|
1239
|
+
is_stale?: string | undefined;
|
|
1240
|
+
is_shared?: string | undefined;
|
|
1241
|
+
marked_stale_at?: string | null | undefined;
|
|
1242
|
+
label?: string | null | undefined;
|
|
1243
|
+
identifier?: string | null | undefined;
|
|
1244
|
+
url?: string | undefined;
|
|
1245
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
1246
|
+
members?: string | undefined;
|
|
1247
|
+
permissions?: Record<string, boolean> | undefined;
|
|
1248
|
+
public_id?: string | undefined;
|
|
1249
|
+
account_public_id?: string | undefined;
|
|
1250
|
+
customuser_public_id?: string | undefined;
|
|
1251
|
+
implementation_id?: string | undefined;
|
|
1252
|
+
profile_id?: string | undefined;
|
|
1253
|
+
is_expired?: string | undefined;
|
|
1254
|
+
expired_at?: string | null | undefined;
|
|
1255
|
+
app_key?: string | undefined;
|
|
1256
|
+
app_version?: string | undefined;
|
|
1257
|
+
}, Record<string, unknown>, unknown>;
|
|
1258
|
+
};
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
} & {
|
|
1262
|
+
findFirstAuthentication: (options?: {
|
|
1263
|
+
title?: string | undefined;
|
|
1264
|
+
search?: string | undefined;
|
|
1265
|
+
appKey?: string | undefined;
|
|
1266
|
+
app?: string | undefined;
|
|
1267
|
+
owner?: string | undefined;
|
|
862
1268
|
account?: string | undefined;
|
|
863
1269
|
accountId?: string | undefined;
|
|
864
1270
|
includeShared?: boolean | undefined;
|
|
@@ -895,59 +1301,2694 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
895
1301
|
app_version?: string | undefined;
|
|
896
1302
|
};
|
|
897
1303
|
}>;
|
|
1304
|
+
context: {
|
|
1305
|
+
meta: {
|
|
1306
|
+
findFirstAuthentication: {
|
|
1307
|
+
packages: string[];
|
|
1308
|
+
categories: string[];
|
|
1309
|
+
deprecation: {
|
|
1310
|
+
message: string;
|
|
1311
|
+
};
|
|
1312
|
+
type: "item";
|
|
1313
|
+
itemType: string;
|
|
1314
|
+
inputSchema: import("zod").ZodObject<{
|
|
1315
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1316
|
+
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1317
|
+
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1318
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1319
|
+
}>;
|
|
1320
|
+
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1321
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1322
|
+
}>;
|
|
1323
|
+
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1324
|
+
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1325
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1326
|
+
includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1327
|
+
isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1328
|
+
expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1329
|
+
}, import("zod/v4/core").$strip>;
|
|
1330
|
+
outputSchema: import("zod").ZodObject<{
|
|
1331
|
+
title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1332
|
+
date: import("zod").ZodString;
|
|
1333
|
+
is_invite_only: import("zod").ZodBoolean;
|
|
1334
|
+
lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1335
|
+
destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1336
|
+
is_private: import("zod").ZodBoolean;
|
|
1337
|
+
shared_with_all: import("zod").ZodBoolean;
|
|
1338
|
+
is_stale: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1339
|
+
is_shared: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1340
|
+
marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1341
|
+
label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1342
|
+
identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1343
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1344
|
+
groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
1345
|
+
members: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1346
|
+
permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
|
1347
|
+
public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1348
|
+
account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1349
|
+
customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1350
|
+
id: import("zod").ZodString;
|
|
1351
|
+
account_id: import("zod").ZodString;
|
|
1352
|
+
implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1353
|
+
profile_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1354
|
+
is_expired: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1355
|
+
expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1356
|
+
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1357
|
+
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1358
|
+
}, import("zod/v4/core").$strip>;
|
|
1359
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
1360
|
+
date: string;
|
|
1361
|
+
is_invite_only: boolean;
|
|
1362
|
+
is_private: boolean;
|
|
1363
|
+
shared_with_all: boolean;
|
|
1364
|
+
id: string;
|
|
1365
|
+
account_id: string;
|
|
1366
|
+
title?: string | null | undefined;
|
|
1367
|
+
lastchanged?: string | undefined;
|
|
1368
|
+
destination_selected_api?: string | null | undefined;
|
|
1369
|
+
is_stale?: string | undefined;
|
|
1370
|
+
is_shared?: string | undefined;
|
|
1371
|
+
marked_stale_at?: string | null | undefined;
|
|
1372
|
+
label?: string | null | undefined;
|
|
1373
|
+
identifier?: string | null | undefined;
|
|
1374
|
+
url?: string | undefined;
|
|
1375
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
1376
|
+
members?: string | undefined;
|
|
1377
|
+
permissions?: Record<string, boolean> | undefined;
|
|
1378
|
+
public_id?: string | undefined;
|
|
1379
|
+
account_public_id?: string | undefined;
|
|
1380
|
+
customuser_public_id?: string | undefined;
|
|
1381
|
+
implementation_id?: string | undefined;
|
|
1382
|
+
profile_id?: string | undefined;
|
|
1383
|
+
is_expired?: string | undefined;
|
|
1384
|
+
expired_at?: string | null | undefined;
|
|
1385
|
+
app_key?: string | undefined;
|
|
1386
|
+
app_version?: string | undefined;
|
|
1387
|
+
}, Record<string, unknown>, unknown>;
|
|
1388
|
+
};
|
|
1389
|
+
};
|
|
1390
|
+
};
|
|
898
1391
|
} & {
|
|
1392
|
+
findUniqueAuthentication: (options?: {
|
|
1393
|
+
title?: string | undefined;
|
|
1394
|
+
search?: string | undefined;
|
|
1395
|
+
appKey?: string | undefined;
|
|
1396
|
+
app?: string | undefined;
|
|
1397
|
+
owner?: string | undefined;
|
|
1398
|
+
account?: string | undefined;
|
|
1399
|
+
accountId?: string | undefined;
|
|
1400
|
+
includeShared?: boolean | undefined;
|
|
1401
|
+
isExpired?: boolean | undefined;
|
|
1402
|
+
expired?: boolean | undefined;
|
|
1403
|
+
} | undefined) => Promise<{
|
|
1404
|
+
data: {
|
|
1405
|
+
date: string;
|
|
1406
|
+
is_invite_only: boolean;
|
|
1407
|
+
is_private: boolean;
|
|
1408
|
+
shared_with_all: boolean;
|
|
1409
|
+
id: string;
|
|
1410
|
+
account_id: string;
|
|
1411
|
+
title?: string | null | undefined;
|
|
1412
|
+
lastchanged?: string | undefined;
|
|
1413
|
+
destination_selected_api?: string | null | undefined;
|
|
1414
|
+
is_stale?: string | undefined;
|
|
1415
|
+
is_shared?: string | undefined;
|
|
1416
|
+
marked_stale_at?: string | null | undefined;
|
|
1417
|
+
label?: string | null | undefined;
|
|
1418
|
+
identifier?: string | null | undefined;
|
|
1419
|
+
url?: string | undefined;
|
|
1420
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
1421
|
+
members?: string | undefined;
|
|
1422
|
+
permissions?: Record<string, boolean> | undefined;
|
|
1423
|
+
public_id?: string | undefined;
|
|
1424
|
+
account_public_id?: string | undefined;
|
|
1425
|
+
customuser_public_id?: string | undefined;
|
|
1426
|
+
implementation_id?: string | undefined;
|
|
1427
|
+
profile_id?: string | undefined;
|
|
1428
|
+
is_expired?: string | undefined;
|
|
1429
|
+
expired_at?: string | null | undefined;
|
|
1430
|
+
app_key?: string | undefined;
|
|
1431
|
+
app_version?: string | undefined;
|
|
1432
|
+
};
|
|
1433
|
+
}>;
|
|
899
1434
|
context: {
|
|
900
1435
|
meta: {
|
|
901
|
-
|
|
1436
|
+
findUniqueAuthentication: {
|
|
1437
|
+
packages: string[];
|
|
1438
|
+
categories: string[];
|
|
1439
|
+
deprecation: {
|
|
1440
|
+
message: string;
|
|
1441
|
+
};
|
|
1442
|
+
type: "item";
|
|
1443
|
+
itemType: string;
|
|
1444
|
+
inputSchema: import("zod").ZodObject<{
|
|
1445
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1446
|
+
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1447
|
+
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1448
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1449
|
+
}>;
|
|
1450
|
+
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1451
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1452
|
+
}>;
|
|
1453
|
+
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1454
|
+
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1455
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1456
|
+
includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1457
|
+
isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1458
|
+
expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1459
|
+
}, import("zod/v4/core").$strip>;
|
|
1460
|
+
outputSchema: import("zod").ZodObject<{
|
|
1461
|
+
title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1462
|
+
date: import("zod").ZodString;
|
|
1463
|
+
is_invite_only: import("zod").ZodBoolean;
|
|
1464
|
+
lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1465
|
+
destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1466
|
+
is_private: import("zod").ZodBoolean;
|
|
1467
|
+
shared_with_all: import("zod").ZodBoolean;
|
|
1468
|
+
is_stale: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1469
|
+
is_shared: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1470
|
+
marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1471
|
+
label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1472
|
+
identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1473
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1474
|
+
groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
1475
|
+
members: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1476
|
+
permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
|
1477
|
+
public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1478
|
+
account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1479
|
+
customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1480
|
+
id: import("zod").ZodString;
|
|
1481
|
+
account_id: import("zod").ZodString;
|
|
1482
|
+
implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1483
|
+
profile_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1484
|
+
is_expired: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1485
|
+
expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1486
|
+
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1487
|
+
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1488
|
+
}, import("zod/v4/core").$strip>;
|
|
1489
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
1490
|
+
date: string;
|
|
1491
|
+
is_invite_only: boolean;
|
|
1492
|
+
is_private: boolean;
|
|
1493
|
+
shared_with_all: boolean;
|
|
1494
|
+
id: string;
|
|
1495
|
+
account_id: string;
|
|
1496
|
+
title?: string | null | undefined;
|
|
1497
|
+
lastchanged?: string | undefined;
|
|
1498
|
+
destination_selected_api?: string | null | undefined;
|
|
1499
|
+
is_stale?: string | undefined;
|
|
1500
|
+
is_shared?: string | undefined;
|
|
1501
|
+
marked_stale_at?: string | null | undefined;
|
|
1502
|
+
label?: string | null | undefined;
|
|
1503
|
+
identifier?: string | null | undefined;
|
|
1504
|
+
url?: string | undefined;
|
|
1505
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
1506
|
+
members?: string | undefined;
|
|
1507
|
+
permissions?: Record<string, boolean> | undefined;
|
|
1508
|
+
public_id?: string | undefined;
|
|
1509
|
+
account_public_id?: string | undefined;
|
|
1510
|
+
customuser_public_id?: string | undefined;
|
|
1511
|
+
implementation_id?: string | undefined;
|
|
1512
|
+
profile_id?: string | undefined;
|
|
1513
|
+
is_expired?: string | undefined;
|
|
1514
|
+
expired_at?: string | null | undefined;
|
|
1515
|
+
app_key?: string | undefined;
|
|
1516
|
+
app_version?: string | undefined;
|
|
1517
|
+
}, Record<string, unknown>, unknown>;
|
|
1518
|
+
};
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
} & {
|
|
1522
|
+
listClientCredentials: (options?: ({
|
|
1523
|
+
pageSize?: number | undefined;
|
|
1524
|
+
maxItems?: number | undefined;
|
|
1525
|
+
cursor?: string | undefined;
|
|
1526
|
+
} & {
|
|
1527
|
+
cursor?: string;
|
|
1528
|
+
pageSize?: number;
|
|
1529
|
+
maxItems?: number;
|
|
1530
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1531
|
+
client_id: string;
|
|
1532
|
+
name: string;
|
|
1533
|
+
allowed_scopes: ("external" | "credentials")[];
|
|
1534
|
+
created_at?: string | null | undefined;
|
|
1535
|
+
updated_at?: string | undefined;
|
|
1536
|
+
}>;
|
|
1537
|
+
} & {
|
|
1538
|
+
context: {
|
|
1539
|
+
meta: {
|
|
1540
|
+
listClientCredentials: PluginMeta<unknown>;
|
|
1541
|
+
};
|
|
1542
|
+
};
|
|
1543
|
+
} & {
|
|
1544
|
+
createClientCredentials: (options?: {
|
|
1545
|
+
name: string;
|
|
1546
|
+
allowedScopes: ("external" | "credentials")[];
|
|
1547
|
+
policy?: Record<string, unknown> | undefined;
|
|
1548
|
+
} | undefined) => Promise<{
|
|
1549
|
+
data: {
|
|
1550
|
+
client_id: string;
|
|
1551
|
+
name: string;
|
|
1552
|
+
client_secret: string;
|
|
1553
|
+
};
|
|
1554
|
+
}>;
|
|
1555
|
+
} & {
|
|
1556
|
+
context: {
|
|
1557
|
+
meta: {
|
|
1558
|
+
createClientCredentials: PluginMeta<unknown>;
|
|
1559
|
+
};
|
|
1560
|
+
};
|
|
1561
|
+
} & {
|
|
1562
|
+
deleteClientCredentials: (options?: {
|
|
1563
|
+
clientId: string;
|
|
1564
|
+
} | undefined) => Promise<{
|
|
1565
|
+
success: boolean;
|
|
1566
|
+
}>;
|
|
1567
|
+
} & {
|
|
1568
|
+
context: {
|
|
1569
|
+
meta: {
|
|
1570
|
+
deleteClientCredentials: PluginMeta<unknown>;
|
|
1571
|
+
};
|
|
1572
|
+
};
|
|
1573
|
+
} & {
|
|
1574
|
+
fetch: (url: string | URL, init?: import("./index").ZapierFetchInitOptions) => Promise<Response>;
|
|
1575
|
+
context: {
|
|
1576
|
+
meta: {
|
|
1577
|
+
fetch: {
|
|
1578
|
+
description: string;
|
|
1579
|
+
packages: string[];
|
|
1580
|
+
categories: {
|
|
1581
|
+
key: string;
|
|
1582
|
+
title: string;
|
|
1583
|
+
}[];
|
|
1584
|
+
returnType: string;
|
|
1585
|
+
inputParameters: ({
|
|
1586
|
+
name: string;
|
|
1587
|
+
schema: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<URL, URL>]>;
|
|
1588
|
+
} | {
|
|
1589
|
+
name: string;
|
|
1590
|
+
schema: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1591
|
+
method: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1592
|
+
POST: "POST";
|
|
1593
|
+
GET: "GET";
|
|
1594
|
+
DELETE: "DELETE";
|
|
1595
|
+
PUT: "PUT";
|
|
1596
|
+
PATCH: "PATCH";
|
|
1597
|
+
HEAD: "HEAD";
|
|
1598
|
+
OPTIONS: "OPTIONS";
|
|
1599
|
+
}>>;
|
|
1600
|
+
headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
1601
|
+
body: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<FormData, FormData>, import("zod").ZodCustom<URLSearchParams, URLSearchParams>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>]>>;
|
|
1602
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1603
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1604
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1605
|
+
callbackUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1606
|
+
maxTime: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1607
|
+
}, import("zod/v4/core").$strip>>;
|
|
1608
|
+
})[];
|
|
1609
|
+
};
|
|
1610
|
+
};
|
|
1611
|
+
};
|
|
1612
|
+
} & {
|
|
1613
|
+
request: (options?: {
|
|
1614
|
+
url: string;
|
|
1615
|
+
method?: "POST" | "GET" | "DELETE" | "PUT" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
|
|
1616
|
+
body?: any;
|
|
1617
|
+
connection?: string | number | undefined;
|
|
1618
|
+
connectionId?: string | number | undefined;
|
|
1619
|
+
authenticationId?: string | number | undefined;
|
|
1620
|
+
callbackUrl?: string | undefined;
|
|
1621
|
+
headers?: [string, string][] | Record<string, string> | Headers | undefined;
|
|
1622
|
+
} | undefined) => Promise<Response>;
|
|
1623
|
+
} & {
|
|
1624
|
+
context: {
|
|
1625
|
+
meta: {
|
|
1626
|
+
request: PluginMeta<unknown>;
|
|
1627
|
+
};
|
|
1628
|
+
};
|
|
1629
|
+
} & {
|
|
1630
|
+
listTriggerInboxes: (options?: ({
|
|
1631
|
+
name?: string | undefined;
|
|
1632
|
+
status?: string | undefined;
|
|
1633
|
+
pageSize?: number | undefined;
|
|
1634
|
+
maxItems?: number | undefined;
|
|
1635
|
+
cursor?: string | undefined;
|
|
1636
|
+
} & {
|
|
1637
|
+
cursor?: string;
|
|
1638
|
+
pageSize?: number;
|
|
1639
|
+
maxItems?: number;
|
|
1640
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1641
|
+
id: string;
|
|
1642
|
+
created_at: string;
|
|
1643
|
+
name: string | null;
|
|
1644
|
+
status: string;
|
|
1645
|
+
paused_reason: string | null;
|
|
1646
|
+
notification_url: string | null;
|
|
1647
|
+
subscription: {
|
|
1648
|
+
connection_id: string | number | null;
|
|
1649
|
+
app_key: string;
|
|
1650
|
+
action_key: string;
|
|
1651
|
+
inputs: Record<string, unknown>;
|
|
1652
|
+
};
|
|
1653
|
+
}>;
|
|
1654
|
+
} & {
|
|
1655
|
+
context: {
|
|
1656
|
+
meta: {
|
|
1657
|
+
listTriggerInboxes: PluginMeta<unknown>;
|
|
1658
|
+
};
|
|
1659
|
+
};
|
|
1660
|
+
} & {
|
|
1661
|
+
createTriggerInbox: (options?: {
|
|
1662
|
+
app: string;
|
|
1663
|
+
action: string;
|
|
1664
|
+
name?: string | undefined;
|
|
1665
|
+
connection?: string | number | null | undefined;
|
|
1666
|
+
inputs?: Record<string, unknown> | undefined;
|
|
1667
|
+
notificationUrl?: string | undefined;
|
|
1668
|
+
} | undefined) => Promise<{
|
|
1669
|
+
data: {
|
|
1670
|
+
id: string;
|
|
1671
|
+
created_at: string;
|
|
1672
|
+
name: string | null;
|
|
1673
|
+
status: string;
|
|
1674
|
+
paused_reason: string | null;
|
|
1675
|
+
notification_url: string | null;
|
|
1676
|
+
subscription: {
|
|
1677
|
+
connection_id: string | number | null;
|
|
1678
|
+
app_key: string;
|
|
1679
|
+
action_key: string;
|
|
1680
|
+
inputs: Record<string, unknown>;
|
|
1681
|
+
};
|
|
1682
|
+
};
|
|
1683
|
+
}>;
|
|
1684
|
+
} & {
|
|
1685
|
+
context: {
|
|
1686
|
+
meta: {
|
|
1687
|
+
createTriggerInbox: PluginMeta<unknown>;
|
|
1688
|
+
};
|
|
1689
|
+
};
|
|
1690
|
+
} & {
|
|
1691
|
+
ensureTriggerInbox: (options?: {
|
|
1692
|
+
name: string;
|
|
1693
|
+
app: string;
|
|
1694
|
+
action: string;
|
|
1695
|
+
connection?: string | number | null | undefined;
|
|
1696
|
+
inputs?: Record<string, unknown> | undefined;
|
|
1697
|
+
notificationUrl?: string | undefined;
|
|
1698
|
+
} | undefined) => Promise<{
|
|
1699
|
+
data: {
|
|
1700
|
+
id: string;
|
|
1701
|
+
created_at: string;
|
|
1702
|
+
name: string | null;
|
|
1703
|
+
status: string;
|
|
1704
|
+
paused_reason: string | null;
|
|
1705
|
+
notification_url: string | null;
|
|
1706
|
+
subscription: {
|
|
1707
|
+
connection_id: string | number | null;
|
|
1708
|
+
app_key: string;
|
|
1709
|
+
action_key: string;
|
|
1710
|
+
inputs: Record<string, unknown>;
|
|
1711
|
+
};
|
|
1712
|
+
};
|
|
1713
|
+
}>;
|
|
1714
|
+
} & {
|
|
1715
|
+
context: {
|
|
1716
|
+
meta: {
|
|
1717
|
+
ensureTriggerInbox: PluginMeta<unknown>;
|
|
1718
|
+
};
|
|
1719
|
+
};
|
|
1720
|
+
} & {
|
|
1721
|
+
getTriggerInbox: (options?: {
|
|
1722
|
+
inbox: string;
|
|
1723
|
+
} | undefined) => Promise<{
|
|
1724
|
+
data: {
|
|
1725
|
+
id: string;
|
|
1726
|
+
created_at: string;
|
|
1727
|
+
name: string | null;
|
|
1728
|
+
status: string;
|
|
1729
|
+
paused_reason: string | null;
|
|
1730
|
+
notification_url: string | null;
|
|
1731
|
+
subscription: {
|
|
1732
|
+
connection_id: string | number | null;
|
|
1733
|
+
app_key: string;
|
|
1734
|
+
action_key: string;
|
|
1735
|
+
inputs: Record<string, unknown>;
|
|
1736
|
+
};
|
|
1737
|
+
};
|
|
1738
|
+
}>;
|
|
1739
|
+
} & {
|
|
1740
|
+
context: {
|
|
1741
|
+
meta: {
|
|
1742
|
+
getTriggerInbox: PluginMeta<unknown>;
|
|
1743
|
+
};
|
|
1744
|
+
};
|
|
1745
|
+
} & {
|
|
1746
|
+
updateTriggerInbox: (options?: {
|
|
1747
|
+
inbox: string;
|
|
1748
|
+
notificationUrl?: string | null | undefined;
|
|
1749
|
+
} | undefined) => Promise<{
|
|
1750
|
+
data: {
|
|
1751
|
+
id: string;
|
|
1752
|
+
created_at: string;
|
|
1753
|
+
name: string | null;
|
|
1754
|
+
status: string;
|
|
1755
|
+
paused_reason: string | null;
|
|
1756
|
+
notification_url: string | null;
|
|
1757
|
+
subscription: {
|
|
1758
|
+
connection_id: string | number | null;
|
|
1759
|
+
app_key: string;
|
|
1760
|
+
action_key: string;
|
|
1761
|
+
inputs: Record<string, unknown>;
|
|
1762
|
+
};
|
|
1763
|
+
};
|
|
1764
|
+
}>;
|
|
1765
|
+
} & {
|
|
1766
|
+
context: {
|
|
1767
|
+
meta: {
|
|
1768
|
+
updateTriggerInbox: PluginMeta<unknown>;
|
|
1769
|
+
};
|
|
1770
|
+
};
|
|
1771
|
+
} & {
|
|
1772
|
+
deleteTriggerInbox: (options?: {
|
|
1773
|
+
inbox: string;
|
|
1774
|
+
} | undefined) => Promise<{
|
|
1775
|
+
data: {
|
|
1776
|
+
id: string;
|
|
1777
|
+
created_at: string;
|
|
1778
|
+
name: string | null;
|
|
1779
|
+
status: string;
|
|
1780
|
+
paused_reason: string | null;
|
|
1781
|
+
notification_url: string | null;
|
|
1782
|
+
subscription: {
|
|
1783
|
+
connection_id: string | number | null;
|
|
1784
|
+
app_key: string;
|
|
1785
|
+
action_key: string;
|
|
1786
|
+
inputs: Record<string, unknown>;
|
|
1787
|
+
};
|
|
1788
|
+
};
|
|
1789
|
+
}>;
|
|
1790
|
+
} & {
|
|
1791
|
+
context: {
|
|
1792
|
+
meta: {
|
|
1793
|
+
deleteTriggerInbox: PluginMeta<unknown>;
|
|
1794
|
+
};
|
|
1795
|
+
};
|
|
1796
|
+
} & {
|
|
1797
|
+
pauseTriggerInbox: (options?: {
|
|
1798
|
+
inbox: string;
|
|
1799
|
+
} | undefined) => Promise<{
|
|
1800
|
+
data: {
|
|
1801
|
+
id: string;
|
|
1802
|
+
created_at: string;
|
|
1803
|
+
name: string | null;
|
|
1804
|
+
status: string;
|
|
1805
|
+
paused_reason: string | null;
|
|
1806
|
+
notification_url: string | null;
|
|
1807
|
+
subscription: {
|
|
1808
|
+
connection_id: string | number | null;
|
|
1809
|
+
app_key: string;
|
|
1810
|
+
action_key: string;
|
|
1811
|
+
inputs: Record<string, unknown>;
|
|
1812
|
+
};
|
|
1813
|
+
};
|
|
1814
|
+
}>;
|
|
1815
|
+
} & {
|
|
1816
|
+
context: {
|
|
1817
|
+
meta: {
|
|
1818
|
+
pauseTriggerInbox: PluginMeta<unknown>;
|
|
1819
|
+
};
|
|
1820
|
+
};
|
|
1821
|
+
} & {
|
|
1822
|
+
resumeTriggerInbox: (options?: {
|
|
1823
|
+
inbox: string;
|
|
1824
|
+
} | undefined) => Promise<{
|
|
1825
|
+
data: {
|
|
1826
|
+
id: string;
|
|
1827
|
+
created_at: string;
|
|
1828
|
+
name: string | null;
|
|
1829
|
+
status: string;
|
|
1830
|
+
paused_reason: string | null;
|
|
1831
|
+
notification_url: string | null;
|
|
1832
|
+
subscription: {
|
|
1833
|
+
connection_id: string | number | null;
|
|
1834
|
+
app_key: string;
|
|
1835
|
+
action_key: string;
|
|
1836
|
+
inputs: Record<string, unknown>;
|
|
1837
|
+
};
|
|
1838
|
+
};
|
|
1839
|
+
}>;
|
|
1840
|
+
} & {
|
|
1841
|
+
context: {
|
|
1842
|
+
meta: {
|
|
1843
|
+
resumeTriggerInbox: PluginMeta<unknown>;
|
|
1844
|
+
};
|
|
1845
|
+
};
|
|
1846
|
+
} & {
|
|
1847
|
+
listTriggerInboxMessages: (options?: ({
|
|
1848
|
+
inbox: string;
|
|
1849
|
+
pageSize?: number | undefined;
|
|
1850
|
+
maxItems?: number | undefined;
|
|
1851
|
+
cursor?: string | undefined;
|
|
1852
|
+
} & {
|
|
1853
|
+
cursor?: string;
|
|
1854
|
+
pageSize?: number;
|
|
1855
|
+
maxItems?: number;
|
|
1856
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1857
|
+
id: string;
|
|
1858
|
+
created_at: string;
|
|
1859
|
+
status: string;
|
|
1860
|
+
message_attributes: {
|
|
1861
|
+
lease_count: number;
|
|
1862
|
+
error_message: string | null;
|
|
1863
|
+
possible_duplicate_data: boolean;
|
|
1864
|
+
};
|
|
1865
|
+
}>;
|
|
1866
|
+
} & {
|
|
1867
|
+
context: {
|
|
1868
|
+
meta: {
|
|
1869
|
+
listTriggerInboxMessages: PluginMeta<unknown>;
|
|
1870
|
+
};
|
|
1871
|
+
};
|
|
1872
|
+
} & {
|
|
1873
|
+
leaseTriggerInboxMessages: (options?: {
|
|
1874
|
+
inbox: string;
|
|
1875
|
+
leaseLimit?: number | undefined;
|
|
1876
|
+
leaseSeconds?: number | undefined;
|
|
1877
|
+
signal?: AbortSignal | undefined;
|
|
1878
|
+
} | undefined) => Promise<{
|
|
1879
|
+
data: {
|
|
1880
|
+
lease_id: string | null;
|
|
1881
|
+
leased_until: string | null;
|
|
1882
|
+
results: {
|
|
1883
|
+
id: string;
|
|
1884
|
+
created_at: string;
|
|
1885
|
+
status: string;
|
|
1886
|
+
message_attributes: {
|
|
1887
|
+
lease_count: number;
|
|
1888
|
+
error_message: string | null;
|
|
1889
|
+
possible_duplicate_data: boolean;
|
|
1890
|
+
};
|
|
1891
|
+
payload: Record<string, unknown>;
|
|
1892
|
+
}[];
|
|
1893
|
+
inbox_attributes: {
|
|
1894
|
+
status: string;
|
|
1895
|
+
paused_reason: string | null;
|
|
1896
|
+
};
|
|
1897
|
+
};
|
|
1898
|
+
}>;
|
|
1899
|
+
} & {
|
|
1900
|
+
context: {
|
|
1901
|
+
meta: {
|
|
1902
|
+
leaseTriggerInboxMessages: PluginMeta<unknown>;
|
|
1903
|
+
};
|
|
1904
|
+
};
|
|
1905
|
+
} & {
|
|
1906
|
+
ackTriggerInboxMessages: (options?: {
|
|
1907
|
+
inbox: string;
|
|
1908
|
+
lease: string;
|
|
1909
|
+
messages?: string[] | undefined;
|
|
1910
|
+
} | undefined) => Promise<{
|
|
1911
|
+
data: {
|
|
1912
|
+
acked_id: string | null;
|
|
1913
|
+
results: {
|
|
1914
|
+
id: string;
|
|
1915
|
+
created_at: string;
|
|
1916
|
+
status: string;
|
|
1917
|
+
message_attributes: {
|
|
1918
|
+
lease_count: number;
|
|
1919
|
+
error_message: string | null;
|
|
1920
|
+
possible_duplicate_data: boolean;
|
|
1921
|
+
};
|
|
1922
|
+
}[];
|
|
1923
|
+
};
|
|
1924
|
+
}>;
|
|
1925
|
+
} & {
|
|
1926
|
+
context: {
|
|
1927
|
+
meta: {
|
|
1928
|
+
ackTriggerInboxMessages: PluginMeta<unknown>;
|
|
1929
|
+
};
|
|
1930
|
+
};
|
|
1931
|
+
} & {
|
|
1932
|
+
releaseTriggerInboxMessages: (options?: {
|
|
1933
|
+
inbox: string;
|
|
1934
|
+
lease: string;
|
|
1935
|
+
messages?: string[] | undefined;
|
|
1936
|
+
} | undefined) => Promise<{
|
|
1937
|
+
data: {
|
|
1938
|
+
released_id: string | null;
|
|
1939
|
+
results: {
|
|
1940
|
+
id: string;
|
|
1941
|
+
created_at: string;
|
|
1942
|
+
status: string;
|
|
1943
|
+
message_attributes: {
|
|
1944
|
+
lease_count: number;
|
|
1945
|
+
error_message: string | null;
|
|
1946
|
+
possible_duplicate_data: boolean;
|
|
1947
|
+
};
|
|
1948
|
+
}[];
|
|
1949
|
+
};
|
|
1950
|
+
}>;
|
|
1951
|
+
} & {
|
|
1952
|
+
context: {
|
|
1953
|
+
meta: {
|
|
1954
|
+
releaseTriggerInboxMessages: PluginMeta<unknown>;
|
|
1955
|
+
};
|
|
1956
|
+
};
|
|
1957
|
+
} & {
|
|
1958
|
+
drainTriggerInbox: (options: import("./index").DrainTriggerInboxOptions) => Promise<void>;
|
|
1959
|
+
context: {
|
|
1960
|
+
meta: {
|
|
1961
|
+
drainTriggerInbox: {
|
|
1962
|
+
type: "create";
|
|
1963
|
+
description: string;
|
|
1964
|
+
itemType: string;
|
|
1965
|
+
returnType: string;
|
|
1966
|
+
inputSchema: import("zod").ZodObject<{
|
|
1967
|
+
inbox: import("zod").ZodString & {
|
|
1968
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1969
|
+
};
|
|
1970
|
+
onMessage: import("zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
|
|
1971
|
+
concurrency: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1972
|
+
leaseLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1973
|
+
leaseSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1974
|
+
releaseOnError: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1975
|
+
continueOnError: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1976
|
+
onError: import("zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
|
|
1977
|
+
signal: import("zod").ZodOptional<import("zod").ZodCustom<AbortSignal, AbortSignal>>;
|
|
1978
|
+
maxMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1979
|
+
}, import("zod/v4/core").$strip>;
|
|
1980
|
+
resolvers: {
|
|
1981
|
+
inbox: import("kitcore").DynamicResolver<{
|
|
1982
|
+
listTriggerInboxes: (options?: ({
|
|
1983
|
+
name?: string | undefined;
|
|
1984
|
+
status?: string | undefined;
|
|
1985
|
+
pageSize?: number | undefined;
|
|
1986
|
+
maxItems?: number | undefined;
|
|
1987
|
+
cursor?: string | undefined;
|
|
1988
|
+
} & {
|
|
1989
|
+
cursor?: string;
|
|
1990
|
+
pageSize?: number;
|
|
1991
|
+
maxItems?: number;
|
|
1992
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1993
|
+
id: string;
|
|
1994
|
+
created_at: string;
|
|
1995
|
+
name: string | null;
|
|
1996
|
+
status: string;
|
|
1997
|
+
paused_reason: string | null;
|
|
1998
|
+
notification_url: string | null;
|
|
1999
|
+
subscription: {
|
|
2000
|
+
connection_id: string | number | null;
|
|
2001
|
+
app_key: string;
|
|
2002
|
+
action_key: string;
|
|
2003
|
+
inputs: Record<string, unknown>;
|
|
2004
|
+
};
|
|
2005
|
+
}>;
|
|
2006
|
+
} & {
|
|
2007
|
+
context: {
|
|
2008
|
+
meta: {
|
|
2009
|
+
listTriggerInboxes: PluginMeta<unknown>;
|
|
2010
|
+
};
|
|
2011
|
+
};
|
|
2012
|
+
}, {
|
|
2013
|
+
id: string;
|
|
2014
|
+
created_at: string;
|
|
2015
|
+
name: string | null;
|
|
2016
|
+
status: string;
|
|
2017
|
+
paused_reason: string | null;
|
|
2018
|
+
notification_url: string | null;
|
|
2019
|
+
subscription: {
|
|
2020
|
+
connection_id: string | number | null;
|
|
2021
|
+
app_key: string;
|
|
2022
|
+
action_key: string;
|
|
2023
|
+
inputs: Record<string, unknown>;
|
|
2024
|
+
};
|
|
2025
|
+
}, {}>;
|
|
2026
|
+
};
|
|
2027
|
+
packages: readonly ["sdk"];
|
|
2028
|
+
categories: string[];
|
|
2029
|
+
experimental: true;
|
|
2030
|
+
};
|
|
2031
|
+
};
|
|
2032
|
+
};
|
|
2033
|
+
} & {
|
|
2034
|
+
watchTriggerInbox: (options: import("./index").WatchTriggerInboxOptions) => Promise<void>;
|
|
2035
|
+
context: {
|
|
2036
|
+
meta: {
|
|
2037
|
+
watchTriggerInbox: {
|
|
2038
|
+
type: "create";
|
|
2039
|
+
description: string;
|
|
2040
|
+
itemType: string;
|
|
2041
|
+
returnType: string;
|
|
2042
|
+
inputSchema: import("zod").ZodObject<{
|
|
2043
|
+
inbox: import("zod").ZodString & {
|
|
2044
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2045
|
+
};
|
|
2046
|
+
onMessage: import("zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
|
|
2047
|
+
concurrency: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2048
|
+
leaseLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2049
|
+
leaseSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2050
|
+
releaseOnError: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2051
|
+
continueOnError: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2052
|
+
onError: import("zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
|
|
2053
|
+
signal: import("zod").ZodOptional<import("zod").ZodCustom<AbortSignal, AbortSignal>>;
|
|
2054
|
+
maxDrainIntervalSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2055
|
+
}, import("zod/v4/core").$strip>;
|
|
2056
|
+
resolvers: {
|
|
2057
|
+
inbox: import("kitcore").DynamicResolver<{
|
|
2058
|
+
listTriggerInboxes: (options?: ({
|
|
2059
|
+
name?: string | undefined;
|
|
2060
|
+
status?: string | undefined;
|
|
2061
|
+
pageSize?: number | undefined;
|
|
2062
|
+
maxItems?: number | undefined;
|
|
2063
|
+
cursor?: string | undefined;
|
|
2064
|
+
} & {
|
|
2065
|
+
cursor?: string;
|
|
2066
|
+
pageSize?: number;
|
|
2067
|
+
maxItems?: number;
|
|
2068
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2069
|
+
id: string;
|
|
2070
|
+
created_at: string;
|
|
2071
|
+
name: string | null;
|
|
2072
|
+
status: string;
|
|
2073
|
+
paused_reason: string | null;
|
|
2074
|
+
notification_url: string | null;
|
|
2075
|
+
subscription: {
|
|
2076
|
+
connection_id: string | number | null;
|
|
2077
|
+
app_key: string;
|
|
2078
|
+
action_key: string;
|
|
2079
|
+
inputs: Record<string, unknown>;
|
|
2080
|
+
};
|
|
2081
|
+
}>;
|
|
2082
|
+
} & {
|
|
2083
|
+
context: {
|
|
2084
|
+
meta: {
|
|
2085
|
+
listTriggerInboxes: PluginMeta<unknown>;
|
|
2086
|
+
};
|
|
2087
|
+
};
|
|
2088
|
+
}, {
|
|
2089
|
+
id: string;
|
|
2090
|
+
created_at: string;
|
|
2091
|
+
name: string | null;
|
|
2092
|
+
status: string;
|
|
2093
|
+
paused_reason: string | null;
|
|
2094
|
+
notification_url: string | null;
|
|
2095
|
+
subscription: {
|
|
2096
|
+
connection_id: string | number | null;
|
|
2097
|
+
app_key: string;
|
|
2098
|
+
action_key: string;
|
|
2099
|
+
inputs: Record<string, unknown>;
|
|
2100
|
+
};
|
|
2101
|
+
}, {}>;
|
|
2102
|
+
};
|
|
2103
|
+
packages: readonly ["sdk"];
|
|
2104
|
+
categories: string[];
|
|
2105
|
+
experimental: true;
|
|
2106
|
+
};
|
|
2107
|
+
};
|
|
2108
|
+
};
|
|
2109
|
+
} & {
|
|
2110
|
+
listTriggers: (options?: ({
|
|
2111
|
+
app: string;
|
|
2112
|
+
pageSize?: number | undefined;
|
|
2113
|
+
maxItems?: number | undefined;
|
|
2114
|
+
cursor?: string | undefined;
|
|
2115
|
+
} & {
|
|
2116
|
+
cursor?: string;
|
|
2117
|
+
pageSize?: number;
|
|
2118
|
+
maxItems?: number;
|
|
2119
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2120
|
+
description: string;
|
|
2121
|
+
key: string;
|
|
2122
|
+
app_key: string;
|
|
2123
|
+
action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2124
|
+
title: string;
|
|
2125
|
+
type: "action";
|
|
2126
|
+
id?: string | undefined;
|
|
2127
|
+
is_important?: boolean | undefined;
|
|
2128
|
+
is_hidden?: boolean | undefined;
|
|
2129
|
+
app_version?: string | undefined;
|
|
2130
|
+
}>;
|
|
2131
|
+
} & {
|
|
2132
|
+
context: {
|
|
2133
|
+
meta: {
|
|
2134
|
+
listTriggers: PluginMeta<unknown>;
|
|
2135
|
+
};
|
|
2136
|
+
};
|
|
2137
|
+
} & {
|
|
2138
|
+
listTriggerInputFields: (options?: ({
|
|
2139
|
+
app: string;
|
|
2140
|
+
action: string;
|
|
2141
|
+
connection?: string | number | undefined;
|
|
2142
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2143
|
+
pageSize?: number | undefined;
|
|
2144
|
+
maxItems?: number | undefined;
|
|
2145
|
+
cursor?: string | undefined;
|
|
2146
|
+
} & {
|
|
2147
|
+
cursor?: string;
|
|
2148
|
+
pageSize?: number;
|
|
2149
|
+
maxItems?: number;
|
|
2150
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2151
|
+
key: string;
|
|
2152
|
+
type: "input_field";
|
|
2153
|
+
default_value: string;
|
|
2154
|
+
depends_on: string[];
|
|
2155
|
+
description: string;
|
|
2156
|
+
invalidates_input_fields: boolean;
|
|
2157
|
+
is_required: boolean;
|
|
2158
|
+
placeholder: string;
|
|
2159
|
+
title: string;
|
|
2160
|
+
value_type: string;
|
|
2161
|
+
format?: string | undefined;
|
|
2162
|
+
items?: {
|
|
2163
|
+
type: string;
|
|
2164
|
+
} | undefined;
|
|
2165
|
+
} | {
|
|
2166
|
+
key: string;
|
|
2167
|
+
type: "info_field";
|
|
2168
|
+
description: string;
|
|
2169
|
+
title?: string | undefined;
|
|
2170
|
+
} | import("./index").FieldsetItem>;
|
|
2171
|
+
} & {
|
|
2172
|
+
context: {
|
|
2173
|
+
meta: {
|
|
2174
|
+
listTriggerInputFields: PluginMeta<unknown>;
|
|
2175
|
+
};
|
|
2176
|
+
};
|
|
2177
|
+
} & {
|
|
2178
|
+
listTriggerInputFieldChoices: (options?: ({
|
|
2179
|
+
app: string;
|
|
2180
|
+
action: string;
|
|
2181
|
+
inputField: string;
|
|
2182
|
+
connection?: string | number | undefined;
|
|
2183
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2184
|
+
page?: number | undefined;
|
|
2185
|
+
pageSize?: number | undefined;
|
|
2186
|
+
maxItems?: number | undefined;
|
|
2187
|
+
cursor?: string | undefined;
|
|
2188
|
+
} & {
|
|
2189
|
+
cursor?: string;
|
|
2190
|
+
pageSize?: number;
|
|
2191
|
+
maxItems?: number;
|
|
2192
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2193
|
+
key?: string | undefined;
|
|
2194
|
+
label?: string | undefined;
|
|
2195
|
+
sample?: string | undefined;
|
|
2196
|
+
value?: string | undefined;
|
|
2197
|
+
}>;
|
|
2198
|
+
} & {
|
|
2199
|
+
context: {
|
|
2200
|
+
meta: {
|
|
2201
|
+
listTriggerInputFieldChoices: PluginMeta<unknown>;
|
|
2202
|
+
};
|
|
2203
|
+
};
|
|
2204
|
+
} & {
|
|
2205
|
+
getTriggerInputFieldsSchema: (options?: {
|
|
2206
|
+
app: string;
|
|
2207
|
+
action: string;
|
|
2208
|
+
connection?: string | number | undefined;
|
|
2209
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2210
|
+
} | undefined) => Promise<{
|
|
2211
|
+
data: Record<string, unknown>;
|
|
2212
|
+
}>;
|
|
2213
|
+
} & {
|
|
2214
|
+
context: {
|
|
2215
|
+
meta: {
|
|
2216
|
+
getTriggerInputFieldsSchema: PluginMeta<unknown>;
|
|
2217
|
+
};
|
|
2218
|
+
};
|
|
2219
|
+
} & {
|
|
2220
|
+
listTables: (options?: ({
|
|
2221
|
+
tables?: string[] | undefined;
|
|
2222
|
+
tableIds?: string[] | undefined;
|
|
2223
|
+
kind?: "table" | "virtual_table" | "both" | undefined;
|
|
2224
|
+
search?: string | undefined;
|
|
2225
|
+
owner?: string | undefined;
|
|
2226
|
+
includeShared?: boolean | undefined;
|
|
2227
|
+
pageSize?: number | undefined;
|
|
2228
|
+
maxItems?: number | undefined;
|
|
2229
|
+
cursor?: string | undefined;
|
|
2230
|
+
} & {
|
|
2231
|
+
cursor?: string;
|
|
2232
|
+
pageSize?: number;
|
|
2233
|
+
maxItems?: number;
|
|
2234
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2235
|
+
id: string;
|
|
2236
|
+
name: string;
|
|
2237
|
+
created_at: string;
|
|
2238
|
+
edited_at: string;
|
|
2239
|
+
kind: "table" | "virtual_table";
|
|
2240
|
+
account_id: string;
|
|
2241
|
+
profile_id: string;
|
|
2242
|
+
description?: string | undefined;
|
|
2243
|
+
parent_table_id?: string | undefined;
|
|
2244
|
+
}>;
|
|
2245
|
+
} & {
|
|
2246
|
+
context: {
|
|
2247
|
+
meta: {
|
|
2248
|
+
listTables: PluginMeta<unknown>;
|
|
2249
|
+
};
|
|
2250
|
+
};
|
|
2251
|
+
} & {
|
|
2252
|
+
getTable: (options?: {
|
|
2253
|
+
table: string;
|
|
2254
|
+
} | {
|
|
2255
|
+
tableId: string;
|
|
2256
|
+
} | undefined) => Promise<{
|
|
2257
|
+
data: {
|
|
2258
|
+
id: string;
|
|
2259
|
+
name: string;
|
|
2260
|
+
created_at: string;
|
|
2261
|
+
edited_at: string;
|
|
2262
|
+
kind: "table" | "virtual_table";
|
|
2263
|
+
account_id: string;
|
|
2264
|
+
profile_id: string;
|
|
2265
|
+
description?: string | undefined;
|
|
2266
|
+
parent_table_id?: string | undefined;
|
|
2267
|
+
};
|
|
2268
|
+
}>;
|
|
2269
|
+
} & {
|
|
2270
|
+
context: {
|
|
2271
|
+
meta: {
|
|
2272
|
+
getTable: PluginMeta<unknown>;
|
|
2273
|
+
};
|
|
2274
|
+
};
|
|
2275
|
+
} & {
|
|
2276
|
+
deleteTable: (options?: {
|
|
2277
|
+
table: string;
|
|
2278
|
+
} | {
|
|
2279
|
+
tableId: string;
|
|
2280
|
+
} | undefined) => Promise<{
|
|
2281
|
+
success: boolean;
|
|
2282
|
+
}>;
|
|
2283
|
+
} & {
|
|
2284
|
+
context: {
|
|
2285
|
+
meta: {
|
|
2286
|
+
deleteTable: PluginMeta<unknown>;
|
|
2287
|
+
};
|
|
2288
|
+
};
|
|
2289
|
+
} & {
|
|
2290
|
+
createTable: (options?: {
|
|
2291
|
+
name: string;
|
|
2292
|
+
description?: string | undefined;
|
|
2293
|
+
} | undefined) => Promise<{
|
|
2294
|
+
data: {
|
|
2295
|
+
id: string;
|
|
2296
|
+
name: string;
|
|
2297
|
+
created_at: string;
|
|
2298
|
+
edited_at: string;
|
|
2299
|
+
kind: "table" | "virtual_table";
|
|
2300
|
+
account_id: string;
|
|
2301
|
+
profile_id: string;
|
|
2302
|
+
description?: string | undefined;
|
|
2303
|
+
parent_table_id?: string | undefined;
|
|
2304
|
+
};
|
|
2305
|
+
}>;
|
|
2306
|
+
} & {
|
|
2307
|
+
context: {
|
|
2308
|
+
meta: {
|
|
2309
|
+
createTable: PluginMeta<unknown>;
|
|
2310
|
+
};
|
|
2311
|
+
};
|
|
2312
|
+
} & {
|
|
2313
|
+
listTableFields: (options?: {
|
|
2314
|
+
table: string;
|
|
2315
|
+
fields?: (string | number)[] | undefined;
|
|
2316
|
+
fieldKeys?: (string | number)[] | undefined;
|
|
2317
|
+
trash?: "only" | "include" | "exclude" | undefined;
|
|
2318
|
+
} | {
|
|
2319
|
+
tableId: string;
|
|
2320
|
+
fields?: (string | number)[] | undefined;
|
|
2321
|
+
fieldKeys?: (string | number)[] | undefined;
|
|
2322
|
+
trash?: "only" | "include" | "exclude" | undefined;
|
|
2323
|
+
} | undefined) => Promise<{
|
|
2324
|
+
data: {
|
|
2325
|
+
id: string;
|
|
2326
|
+
type: "string" | "number" | "boolean" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record";
|
|
2327
|
+
name: string;
|
|
2328
|
+
created_at?: string | undefined;
|
|
2329
|
+
edited_at?: string | undefined;
|
|
2330
|
+
options?: Record<string, unknown> | undefined;
|
|
2331
|
+
config?: Record<string, unknown> | undefined;
|
|
2332
|
+
deleted_at?: string | null | undefined;
|
|
2333
|
+
}[];
|
|
2334
|
+
}>;
|
|
2335
|
+
} & {
|
|
2336
|
+
context: {
|
|
2337
|
+
meta: {
|
|
2338
|
+
listTableFields: PluginMeta<unknown>;
|
|
2339
|
+
};
|
|
2340
|
+
};
|
|
2341
|
+
} & {
|
|
2342
|
+
createTableFields: (options?: {
|
|
2343
|
+
table: string;
|
|
2344
|
+
fields: {
|
|
2345
|
+
type: "string" | "number" | "boolean" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record";
|
|
2346
|
+
name: string;
|
|
2347
|
+
options?: Record<string, unknown> | undefined;
|
|
2348
|
+
config?: Record<string, unknown> | undefined;
|
|
2349
|
+
}[];
|
|
2350
|
+
} | {
|
|
2351
|
+
tableId: string;
|
|
2352
|
+
fields: {
|
|
2353
|
+
type: "string" | "number" | "boolean" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record";
|
|
2354
|
+
name: string;
|
|
2355
|
+
options?: Record<string, unknown> | undefined;
|
|
2356
|
+
config?: Record<string, unknown> | undefined;
|
|
2357
|
+
}[];
|
|
2358
|
+
} | undefined) => Promise<{
|
|
2359
|
+
data: {
|
|
2360
|
+
id: string;
|
|
2361
|
+
type: "string" | "number" | "boolean" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record";
|
|
2362
|
+
name: string;
|
|
2363
|
+
created_at?: string | undefined;
|
|
2364
|
+
edited_at?: string | undefined;
|
|
2365
|
+
options?: Record<string, unknown> | undefined;
|
|
2366
|
+
config?: Record<string, unknown> | undefined;
|
|
2367
|
+
deleted_at?: string | null | undefined;
|
|
2368
|
+
}[];
|
|
2369
|
+
}>;
|
|
2370
|
+
} & {
|
|
2371
|
+
context: {
|
|
2372
|
+
meta: {
|
|
2373
|
+
createTableFields: PluginMeta<unknown>;
|
|
2374
|
+
};
|
|
2375
|
+
};
|
|
2376
|
+
} & {
|
|
2377
|
+
deleteTableFields: (options?: {
|
|
2378
|
+
table: string;
|
|
2379
|
+
fields: (string | number)[];
|
|
2380
|
+
} | {
|
|
2381
|
+
tableId: string;
|
|
2382
|
+
fieldKeys: (string | number)[];
|
|
2383
|
+
} | undefined) => Promise<{
|
|
2384
|
+
success: boolean;
|
|
2385
|
+
}>;
|
|
2386
|
+
} & {
|
|
2387
|
+
context: {
|
|
2388
|
+
meta: {
|
|
2389
|
+
deleteTableFields: PluginMeta<unknown>;
|
|
2390
|
+
};
|
|
2391
|
+
};
|
|
2392
|
+
} & {
|
|
2393
|
+
listTableRecords: (options?: (({
|
|
2394
|
+
table: string;
|
|
2395
|
+
keyMode: "names" | "ids";
|
|
2396
|
+
filters?: {
|
|
2397
|
+
fieldKey: string;
|
|
2398
|
+
operator: "in" | "contains" | "gt" | "gte" | "lt" | "lte" | "search" | "exact" | "different" | "icontains" | "range" | "isnull" | "startswith" | "is_within";
|
|
2399
|
+
value?: unknown;
|
|
2400
|
+
}[] | undefined;
|
|
2401
|
+
sort?: {
|
|
2402
|
+
fieldKey: string;
|
|
2403
|
+
direction: "asc" | "desc";
|
|
2404
|
+
} | undefined;
|
|
2405
|
+
pageSize?: number | undefined;
|
|
2406
|
+
maxItems?: number | undefined;
|
|
2407
|
+
cursor?: string | undefined;
|
|
2408
|
+
trash?: "only" | "include" | "exclude" | undefined;
|
|
2409
|
+
} | {
|
|
2410
|
+
tableId: string;
|
|
2411
|
+
keyMode: "names" | "ids";
|
|
2412
|
+
filters?: {
|
|
2413
|
+
fieldKey: string;
|
|
2414
|
+
operator: "in" | "contains" | "gt" | "gte" | "lt" | "lte" | "search" | "exact" | "different" | "icontains" | "range" | "isnull" | "startswith" | "is_within";
|
|
2415
|
+
value?: unknown;
|
|
2416
|
+
}[] | undefined;
|
|
2417
|
+
sort?: {
|
|
2418
|
+
fieldKey: string;
|
|
2419
|
+
direction: "asc" | "desc";
|
|
2420
|
+
} | undefined;
|
|
2421
|
+
pageSize?: number | undefined;
|
|
2422
|
+
maxItems?: number | undefined;
|
|
2423
|
+
cursor?: string | undefined;
|
|
2424
|
+
trash?: "only" | "include" | "exclude" | undefined;
|
|
2425
|
+
}) & {
|
|
2426
|
+
cursor?: string;
|
|
2427
|
+
pageSize?: number;
|
|
2428
|
+
maxItems?: number;
|
|
2429
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2430
|
+
data: Record<string, unknown>;
|
|
2431
|
+
id: string;
|
|
2432
|
+
created_at: string;
|
|
2433
|
+
edited_at: string;
|
|
2434
|
+
deleted_at?: string | null | undefined;
|
|
2435
|
+
}>;
|
|
2436
|
+
} & {
|
|
2437
|
+
context: {
|
|
2438
|
+
meta: {
|
|
2439
|
+
listTableRecords: PluginMeta<unknown>;
|
|
2440
|
+
};
|
|
2441
|
+
};
|
|
2442
|
+
} & {
|
|
2443
|
+
getTableRecord: (options?: {
|
|
2444
|
+
table: string;
|
|
2445
|
+
record: string;
|
|
2446
|
+
keyMode: "names" | "ids";
|
|
2447
|
+
} | {
|
|
2448
|
+
tableId: string;
|
|
2449
|
+
recordId: string;
|
|
2450
|
+
keyMode: "names" | "ids";
|
|
2451
|
+
} | undefined) => Promise<{
|
|
2452
|
+
data: {
|
|
2453
|
+
data: Record<string, unknown>;
|
|
2454
|
+
id: string;
|
|
2455
|
+
created_at: string;
|
|
2456
|
+
edited_at: string;
|
|
2457
|
+
deleted_at?: string | null | undefined;
|
|
2458
|
+
};
|
|
2459
|
+
}>;
|
|
2460
|
+
} & {
|
|
2461
|
+
context: {
|
|
2462
|
+
meta: {
|
|
2463
|
+
getTableRecord: PluginMeta<unknown>;
|
|
2464
|
+
};
|
|
2465
|
+
};
|
|
2466
|
+
} & {
|
|
2467
|
+
createTableRecords: (options?: {
|
|
2468
|
+
table: string;
|
|
2469
|
+
records: {
|
|
2470
|
+
data: Record<string, unknown>;
|
|
2471
|
+
}[];
|
|
2472
|
+
keyMode: "names" | "ids";
|
|
2473
|
+
} | {
|
|
2474
|
+
tableId: string;
|
|
2475
|
+
records: {
|
|
2476
|
+
data: Record<string, unknown>;
|
|
2477
|
+
}[];
|
|
2478
|
+
keyMode: "names" | "ids";
|
|
2479
|
+
} | undefined) => Promise<{
|
|
2480
|
+
data: {
|
|
2481
|
+
data: Record<string, unknown>;
|
|
2482
|
+
id: string;
|
|
2483
|
+
created_at: string;
|
|
2484
|
+
edited_at: string;
|
|
2485
|
+
deleted_at?: string | null | undefined;
|
|
2486
|
+
}[];
|
|
2487
|
+
}>;
|
|
2488
|
+
} & {
|
|
2489
|
+
context: {
|
|
2490
|
+
meta: {
|
|
2491
|
+
createTableRecords: PluginMeta<unknown>;
|
|
2492
|
+
};
|
|
2493
|
+
};
|
|
2494
|
+
} & {
|
|
2495
|
+
deleteTableRecords: (options?: {
|
|
2496
|
+
table: string;
|
|
2497
|
+
records: string[];
|
|
2498
|
+
} | {
|
|
2499
|
+
tableId: string;
|
|
2500
|
+
recordIds: string[];
|
|
2501
|
+
} | undefined) => Promise<{
|
|
2502
|
+
success: boolean;
|
|
2503
|
+
}>;
|
|
2504
|
+
} & {
|
|
2505
|
+
context: {
|
|
2506
|
+
meta: {
|
|
2507
|
+
deleteTableRecords: PluginMeta<unknown>;
|
|
2508
|
+
};
|
|
2509
|
+
};
|
|
2510
|
+
} & {
|
|
2511
|
+
updateTableRecords: (options?: {
|
|
2512
|
+
table: string;
|
|
2513
|
+
records: {
|
|
2514
|
+
id: string;
|
|
2515
|
+
data: Record<string, unknown>;
|
|
2516
|
+
}[];
|
|
2517
|
+
keyMode: "names" | "ids";
|
|
2518
|
+
} | {
|
|
2519
|
+
tableId: string;
|
|
2520
|
+
records: {
|
|
2521
|
+
id: string;
|
|
2522
|
+
data: Record<string, unknown>;
|
|
2523
|
+
}[];
|
|
2524
|
+
keyMode: "names" | "ids";
|
|
2525
|
+
} | undefined) => Promise<{
|
|
2526
|
+
data: {
|
|
2527
|
+
data: Record<string, unknown>;
|
|
2528
|
+
id: string;
|
|
2529
|
+
created_at: string;
|
|
2530
|
+
edited_at: string;
|
|
2531
|
+
deleted_at?: string | null | undefined;
|
|
2532
|
+
}[];
|
|
2533
|
+
}>;
|
|
2534
|
+
} & {
|
|
2535
|
+
context: {
|
|
2536
|
+
meta: {
|
|
2537
|
+
updateTableRecords: PluginMeta<unknown>;
|
|
2538
|
+
};
|
|
2539
|
+
};
|
|
2540
|
+
} & {
|
|
2541
|
+
listWorkflows: (options?: ({
|
|
2542
|
+
pageSize?: number | undefined;
|
|
2543
|
+
maxItems?: number | undefined;
|
|
2544
|
+
cursor?: string | undefined;
|
|
2545
|
+
} & {
|
|
2546
|
+
cursor?: string;
|
|
2547
|
+
pageSize?: number;
|
|
2548
|
+
maxItems?: number;
|
|
2549
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2550
|
+
id: string;
|
|
2551
|
+
name: string;
|
|
2552
|
+
description: string | null;
|
|
2553
|
+
trigger_url: string;
|
|
2554
|
+
enabled: boolean;
|
|
2555
|
+
current_version_id: string | null;
|
|
2556
|
+
created_at: string;
|
|
2557
|
+
updated_at: string;
|
|
2558
|
+
}>;
|
|
2559
|
+
} & {
|
|
2560
|
+
context: {
|
|
2561
|
+
meta: {
|
|
2562
|
+
listWorkflows: PluginMeta<unknown>;
|
|
2563
|
+
};
|
|
2564
|
+
};
|
|
2565
|
+
} & {
|
|
2566
|
+
getWorkflow: (options?: {
|
|
2567
|
+
workflow: string;
|
|
2568
|
+
} | undefined) => Promise<{
|
|
2569
|
+
data: {
|
|
2570
|
+
id: string;
|
|
2571
|
+
name: string;
|
|
2572
|
+
description: string | null;
|
|
2573
|
+
trigger_url: string;
|
|
2574
|
+
enabled: boolean;
|
|
2575
|
+
created_at: string;
|
|
2576
|
+
updated_at: string;
|
|
2577
|
+
current_version?: {
|
|
2578
|
+
id: string;
|
|
2579
|
+
workflow_id: string;
|
|
2580
|
+
source_files: Record<string, string>;
|
|
2581
|
+
zapier_durable_version: string;
|
|
2582
|
+
dependencies: Record<string, string> | null;
|
|
2583
|
+
created_by_user_id: string;
|
|
2584
|
+
created_at: string;
|
|
2585
|
+
} | undefined;
|
|
2586
|
+
};
|
|
2587
|
+
}>;
|
|
2588
|
+
} & {
|
|
2589
|
+
context: {
|
|
2590
|
+
meta: {
|
|
2591
|
+
getWorkflow: PluginMeta<unknown>;
|
|
2592
|
+
};
|
|
2593
|
+
};
|
|
2594
|
+
} & {
|
|
2595
|
+
createWorkflow: (options?: {
|
|
2596
|
+
name: string;
|
|
2597
|
+
description?: string | undefined;
|
|
2598
|
+
} | undefined) => Promise<{
|
|
2599
|
+
data: {
|
|
2600
|
+
id: string;
|
|
2601
|
+
name: string;
|
|
2602
|
+
description: string | null;
|
|
2603
|
+
trigger_url: string;
|
|
2604
|
+
enabled: boolean;
|
|
2605
|
+
created_at: string;
|
|
2606
|
+
};
|
|
2607
|
+
}>;
|
|
2608
|
+
} & {
|
|
2609
|
+
context: {
|
|
2610
|
+
meta: {
|
|
2611
|
+
createWorkflow: PluginMeta<unknown>;
|
|
2612
|
+
};
|
|
2613
|
+
};
|
|
2614
|
+
} & {
|
|
2615
|
+
updateWorkflow: (options?: {
|
|
2616
|
+
workflow: string;
|
|
2617
|
+
name?: string | undefined;
|
|
2618
|
+
description?: string | null | undefined;
|
|
2619
|
+
} | undefined) => Promise<{
|
|
2620
|
+
data: {
|
|
2621
|
+
id: string;
|
|
2622
|
+
name: string;
|
|
2623
|
+
description: string | null;
|
|
2624
|
+
trigger_url: string;
|
|
2625
|
+
enabled: boolean;
|
|
2626
|
+
created_at: string;
|
|
2627
|
+
updated_at: string;
|
|
2628
|
+
};
|
|
2629
|
+
}>;
|
|
2630
|
+
} & {
|
|
2631
|
+
context: {
|
|
2632
|
+
meta: {
|
|
2633
|
+
updateWorkflow: PluginMeta<unknown>;
|
|
2634
|
+
};
|
|
2635
|
+
};
|
|
2636
|
+
} & {
|
|
2637
|
+
enableWorkflow: (options?: {
|
|
2638
|
+
workflow: string;
|
|
2639
|
+
} | undefined) => Promise<{
|
|
2640
|
+
data: {
|
|
2641
|
+
id: string;
|
|
2642
|
+
enabled: boolean;
|
|
2643
|
+
};
|
|
2644
|
+
}>;
|
|
2645
|
+
} & {
|
|
2646
|
+
context: {
|
|
2647
|
+
meta: {
|
|
2648
|
+
enableWorkflow: PluginMeta<unknown>;
|
|
2649
|
+
};
|
|
2650
|
+
};
|
|
2651
|
+
} & {
|
|
2652
|
+
disableWorkflow: (options?: {
|
|
2653
|
+
workflow: string;
|
|
2654
|
+
} | undefined) => Promise<{
|
|
2655
|
+
data: {
|
|
2656
|
+
id: string;
|
|
2657
|
+
enabled: boolean;
|
|
2658
|
+
};
|
|
2659
|
+
}>;
|
|
2660
|
+
} & {
|
|
2661
|
+
context: {
|
|
2662
|
+
meta: {
|
|
2663
|
+
disableWorkflow: PluginMeta<unknown>;
|
|
2664
|
+
};
|
|
2665
|
+
};
|
|
2666
|
+
} & {
|
|
2667
|
+
deleteWorkflow: (options?: {
|
|
2668
|
+
workflow: string;
|
|
2669
|
+
} | undefined) => Promise<{
|
|
2670
|
+
data: {
|
|
2671
|
+
id: string;
|
|
2672
|
+
};
|
|
2673
|
+
}>;
|
|
2674
|
+
} & {
|
|
2675
|
+
context: {
|
|
2676
|
+
meta: {
|
|
2677
|
+
deleteWorkflow: PluginMeta<unknown>;
|
|
2678
|
+
};
|
|
2679
|
+
};
|
|
2680
|
+
} & {
|
|
2681
|
+
listDurableRuns: (options?: ({
|
|
2682
|
+
pageSize?: number | undefined;
|
|
2683
|
+
cursor?: string | undefined;
|
|
2684
|
+
maxItems?: number | undefined;
|
|
2685
|
+
} & {
|
|
2686
|
+
cursor?: string;
|
|
2687
|
+
pageSize?: number;
|
|
2688
|
+
maxItems?: number;
|
|
2689
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2690
|
+
id: string;
|
|
2691
|
+
status: "initialized" | "started" | "finished" | "failed" | "cancelled";
|
|
2692
|
+
input: unknown;
|
|
2693
|
+
output: unknown;
|
|
2694
|
+
error: {
|
|
2695
|
+
[x: string]: unknown;
|
|
2696
|
+
code: string;
|
|
2697
|
+
message: string;
|
|
2698
|
+
} | null;
|
|
2699
|
+
execution_id: string | null;
|
|
2700
|
+
is_private: boolean;
|
|
2701
|
+
created_at: string;
|
|
2702
|
+
updated_at: string;
|
|
2703
|
+
}>;
|
|
2704
|
+
} & {
|
|
2705
|
+
context: {
|
|
2706
|
+
meta: {
|
|
2707
|
+
listDurableRuns: PluginMeta<unknown>;
|
|
2708
|
+
};
|
|
2709
|
+
};
|
|
2710
|
+
} & {
|
|
2711
|
+
getDurableRun: (options?: {
|
|
2712
|
+
run: string;
|
|
2713
|
+
} | undefined) => Promise<{
|
|
2714
|
+
data: {
|
|
2715
|
+
id: string;
|
|
2716
|
+
status: "initialized" | "started" | "finished" | "failed" | "cancelled";
|
|
2717
|
+
input: unknown;
|
|
2718
|
+
output: unknown;
|
|
2719
|
+
error: {
|
|
2720
|
+
[x: string]: unknown;
|
|
2721
|
+
code: string;
|
|
2722
|
+
message: string;
|
|
2723
|
+
} | null;
|
|
2724
|
+
execution: {
|
|
2725
|
+
id: string;
|
|
2726
|
+
name: string;
|
|
2727
|
+
status: "failed" | "waiting" | "completed" | "running";
|
|
2728
|
+
input: unknown;
|
|
2729
|
+
created_at: string;
|
|
2730
|
+
output?: unknown;
|
|
2731
|
+
error?: unknown;
|
|
2732
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2733
|
+
summary?: {
|
|
2734
|
+
[x: string]: unknown;
|
|
2735
|
+
total_attempts: number;
|
|
2736
|
+
last_error?: {
|
|
2737
|
+
[x: string]: unknown;
|
|
2738
|
+
code: string;
|
|
2739
|
+
title: string;
|
|
2740
|
+
detail?: string | null | undefined;
|
|
2741
|
+
} | undefined;
|
|
2742
|
+
} | null | undefined;
|
|
2743
|
+
operations?: {
|
|
2744
|
+
id: string;
|
|
2745
|
+
execution_id: string;
|
|
2746
|
+
name: string;
|
|
2747
|
+
type: "step" | "wait" | "callback";
|
|
2748
|
+
status: "pending" | "failed" | "exhausted" | "completed";
|
|
2749
|
+
retry_count: number;
|
|
2750
|
+
created_at: string;
|
|
2751
|
+
result?: unknown;
|
|
2752
|
+
error?: unknown;
|
|
2753
|
+
max_attempts?: number | undefined;
|
|
2754
|
+
next_retry_at?: string | undefined;
|
|
2755
|
+
resume_at?: string | undefined;
|
|
2756
|
+
callback_token?: string | null | undefined;
|
|
2757
|
+
payload_schema?: unknown;
|
|
2758
|
+
payload?: unknown;
|
|
2759
|
+
expires_at?: string | undefined;
|
|
2760
|
+
completed_at?: string | undefined;
|
|
2761
|
+
}[] | undefined;
|
|
2762
|
+
} | null;
|
|
2763
|
+
is_private: boolean;
|
|
2764
|
+
created_at: string;
|
|
2765
|
+
updated_at: string;
|
|
2766
|
+
};
|
|
2767
|
+
}>;
|
|
2768
|
+
} & {
|
|
2769
|
+
context: {
|
|
2770
|
+
meta: {
|
|
2771
|
+
getDurableRun: PluginMeta<unknown>;
|
|
2772
|
+
};
|
|
2773
|
+
};
|
|
2774
|
+
} & {
|
|
2775
|
+
runDurable: (options?: {
|
|
2776
|
+
source_files: Record<string, string>;
|
|
2777
|
+
input?: unknown;
|
|
2778
|
+
dependencies?: Record<string, string> | undefined;
|
|
2779
|
+
zapier_durable_version?: string | undefined;
|
|
2780
|
+
connections?: Record<string, {
|
|
2781
|
+
connection_id: string | number;
|
|
2782
|
+
}> | undefined;
|
|
2783
|
+
app_versions?: Record<string, {
|
|
2784
|
+
implementation_name: string;
|
|
2785
|
+
version?: string | undefined;
|
|
2786
|
+
}> | undefined;
|
|
2787
|
+
private?: boolean | undefined;
|
|
2788
|
+
} | undefined) => Promise<{
|
|
2789
|
+
data: {
|
|
2790
|
+
id: string;
|
|
2791
|
+
status: "initialized";
|
|
2792
|
+
is_private: boolean;
|
|
2793
|
+
created_at: string;
|
|
2794
|
+
};
|
|
2795
|
+
}>;
|
|
2796
|
+
} & {
|
|
2797
|
+
context: {
|
|
2798
|
+
meta: {
|
|
2799
|
+
runDurable: PluginMeta<unknown>;
|
|
2800
|
+
};
|
|
2801
|
+
};
|
|
2802
|
+
} & {
|
|
2803
|
+
cancelDurableRun: (options?: {
|
|
2804
|
+
run: string;
|
|
2805
|
+
} | undefined) => Promise<{
|
|
2806
|
+
data: {
|
|
2807
|
+
id: string;
|
|
2808
|
+
status: "cancelled";
|
|
2809
|
+
};
|
|
2810
|
+
}>;
|
|
2811
|
+
} & {
|
|
2812
|
+
context: {
|
|
2813
|
+
meta: {
|
|
2814
|
+
cancelDurableRun: PluginMeta<unknown>;
|
|
2815
|
+
};
|
|
2816
|
+
};
|
|
2817
|
+
} & {
|
|
2818
|
+
publishWorkflowVersion: (options?: {
|
|
2819
|
+
workflow: string;
|
|
2820
|
+
source_files: Record<string, string>;
|
|
2821
|
+
dependencies?: Record<string, string> | undefined;
|
|
2822
|
+
zapier_durable_version?: string | undefined;
|
|
2823
|
+
enabled?: boolean | undefined;
|
|
2824
|
+
} | undefined) => Promise<{
|
|
2825
|
+
data: {
|
|
2826
|
+
id: string;
|
|
2827
|
+
workflow_id: string;
|
|
2828
|
+
source_files: Record<string, string>;
|
|
2829
|
+
zapier_durable_version: string;
|
|
2830
|
+
dependencies: Record<string, string> | null;
|
|
2831
|
+
created_by_user_id: string;
|
|
2832
|
+
created_at: string;
|
|
2833
|
+
};
|
|
2834
|
+
}>;
|
|
2835
|
+
} & {
|
|
2836
|
+
context: {
|
|
2837
|
+
meta: {
|
|
2838
|
+
publishWorkflowVersion: PluginMeta<unknown>;
|
|
2839
|
+
};
|
|
2840
|
+
};
|
|
2841
|
+
} & {
|
|
2842
|
+
listWorkflowVersions: (options?: ({
|
|
2843
|
+
workflow: string;
|
|
2844
|
+
pageSize?: number | undefined;
|
|
2845
|
+
cursor?: string | undefined;
|
|
2846
|
+
maxItems?: number | undefined;
|
|
2847
|
+
} & {
|
|
2848
|
+
cursor?: string;
|
|
2849
|
+
pageSize?: number;
|
|
2850
|
+
maxItems?: number;
|
|
2851
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2852
|
+
id: string;
|
|
2853
|
+
workflow_id: string;
|
|
2854
|
+
zapier_durable_version: string;
|
|
2855
|
+
dependencies: Record<string, string> | null;
|
|
2856
|
+
created_by_user_id: string;
|
|
2857
|
+
created_at: string;
|
|
2858
|
+
}>;
|
|
2859
|
+
} & {
|
|
2860
|
+
context: {
|
|
2861
|
+
meta: {
|
|
2862
|
+
listWorkflowVersions: PluginMeta<unknown>;
|
|
2863
|
+
};
|
|
2864
|
+
};
|
|
2865
|
+
} & {
|
|
2866
|
+
getWorkflowVersion: (options?: {
|
|
2867
|
+
workflow: string;
|
|
2868
|
+
version: string;
|
|
2869
|
+
} | undefined) => Promise<{
|
|
2870
|
+
data: {
|
|
2871
|
+
id: string;
|
|
2872
|
+
workflow_id: string;
|
|
2873
|
+
source_files: Record<string, string>;
|
|
2874
|
+
zapier_durable_version: string;
|
|
2875
|
+
dependencies: Record<string, string> | null;
|
|
2876
|
+
created_by_user_id: string;
|
|
2877
|
+
created_at: string;
|
|
2878
|
+
};
|
|
2879
|
+
}>;
|
|
2880
|
+
} & {
|
|
2881
|
+
context: {
|
|
2882
|
+
meta: {
|
|
2883
|
+
getWorkflowVersion: PluginMeta<unknown>;
|
|
2884
|
+
};
|
|
2885
|
+
};
|
|
2886
|
+
} & {
|
|
2887
|
+
listWorkflowRuns: (options?: ({
|
|
2888
|
+
workflow: string;
|
|
2889
|
+
pageSize?: number | undefined;
|
|
2890
|
+
cursor?: string | undefined;
|
|
2891
|
+
maxItems?: number | undefined;
|
|
2892
|
+
} & {
|
|
2893
|
+
cursor?: string;
|
|
2894
|
+
pageSize?: number;
|
|
2895
|
+
maxItems?: number;
|
|
2896
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2897
|
+
id: string;
|
|
2898
|
+
trigger_id: string | null;
|
|
2899
|
+
durable_run_id: string | null;
|
|
2900
|
+
workflow_version_id: string | null;
|
|
2901
|
+
status: string;
|
|
2902
|
+
input: unknown;
|
|
2903
|
+
output: unknown;
|
|
2904
|
+
error: unknown;
|
|
2905
|
+
created_at: string;
|
|
2906
|
+
updated_at: string;
|
|
2907
|
+
}>;
|
|
2908
|
+
} & {
|
|
2909
|
+
context: {
|
|
2910
|
+
meta: {
|
|
2911
|
+
listWorkflowRuns: PluginMeta<unknown>;
|
|
2912
|
+
};
|
|
2913
|
+
};
|
|
2914
|
+
} & {
|
|
2915
|
+
getWorkflowRun: (options?: {
|
|
2916
|
+
run: string;
|
|
2917
|
+
workflow?: string | undefined;
|
|
2918
|
+
} | undefined) => Promise<{
|
|
2919
|
+
data: {
|
|
2920
|
+
id: string;
|
|
2921
|
+
trigger_id: string | null;
|
|
2922
|
+
durable_run_id: string | null;
|
|
2923
|
+
workflow_version_id: string | null;
|
|
2924
|
+
status: string;
|
|
2925
|
+
input: unknown;
|
|
2926
|
+
output: unknown;
|
|
2927
|
+
error: unknown;
|
|
2928
|
+
created_at: string;
|
|
2929
|
+
updated_at: string;
|
|
2930
|
+
};
|
|
2931
|
+
}>;
|
|
2932
|
+
} & {
|
|
2933
|
+
context: {
|
|
2934
|
+
meta: {
|
|
2935
|
+
getWorkflowRun: PluginMeta<unknown>;
|
|
2936
|
+
};
|
|
2937
|
+
};
|
|
2938
|
+
} & {
|
|
2939
|
+
getTriggerRun: (options?: {
|
|
2940
|
+
trigger: string;
|
|
2941
|
+
} | undefined) => Promise<{
|
|
2942
|
+
data: {
|
|
2943
|
+
id: string;
|
|
2944
|
+
durable_run_id: string | null;
|
|
2945
|
+
workflow_version_id: string | null;
|
|
2946
|
+
status: string;
|
|
2947
|
+
input: unknown;
|
|
2948
|
+
output: unknown;
|
|
2949
|
+
error: unknown;
|
|
2950
|
+
created_at: string;
|
|
2951
|
+
updated_at: string;
|
|
2952
|
+
};
|
|
2953
|
+
}>;
|
|
2954
|
+
} & {
|
|
2955
|
+
context: {
|
|
2956
|
+
meta: {
|
|
2957
|
+
getTriggerRun: PluginMeta<unknown>;
|
|
2958
|
+
};
|
|
2959
|
+
};
|
|
2960
|
+
} & {
|
|
2961
|
+
triggerWorkflow: (options?: {
|
|
2962
|
+
workflow: string;
|
|
2963
|
+
input?: unknown;
|
|
2964
|
+
} | undefined) => Promise<{
|
|
2965
|
+
data: {
|
|
2966
|
+
workflow: string;
|
|
2967
|
+
status: number;
|
|
2968
|
+
body: unknown;
|
|
2969
|
+
};
|
|
2970
|
+
}>;
|
|
2971
|
+
} & {
|
|
2972
|
+
context: {
|
|
2973
|
+
meta: {
|
|
2974
|
+
triggerWorkflow: PluginMeta<unknown>;
|
|
2975
|
+
};
|
|
2976
|
+
};
|
|
2977
|
+
} & {
|
|
2978
|
+
apps: import("./plugins/apps/schemas").ActionProxy & import("./index").ZapierSdkApps;
|
|
2979
|
+
context: {
|
|
2980
|
+
meta: {
|
|
2981
|
+
"apps.{appKey}": {
|
|
2982
|
+
categories: string[];
|
|
2983
|
+
packages: string[];
|
|
2984
|
+
type: "function";
|
|
2985
|
+
inputSchema: import("zod").ZodObject<{
|
|
2986
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2987
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2988
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2989
|
+
}, import("zod/v4/core").$strip>;
|
|
2990
|
+
returnType: string;
|
|
2991
|
+
};
|
|
2992
|
+
"apps.{appKey}.{actionType}.{actionKey}": {
|
|
2993
|
+
categories: string[];
|
|
2994
|
+
packages: string[];
|
|
2995
|
+
type: "list";
|
|
2996
|
+
inputSchema: import("zod").ZodObject<{
|
|
2997
|
+
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
2998
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2999
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3000
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3001
|
+
timeoutMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3002
|
+
}, import("zod/v4/core").$strip>;
|
|
3003
|
+
itemType: string;
|
|
3004
|
+
outputSchema: import("zod").ZodUnknown;
|
|
3005
|
+
};
|
|
3006
|
+
};
|
|
3007
|
+
};
|
|
3008
|
+
} & {
|
|
3009
|
+
getProfile: (options?: Record<string, never> | undefined) => Promise<{
|
|
3010
|
+
data: {
|
|
3011
|
+
id: string;
|
|
3012
|
+
first_name: string;
|
|
3013
|
+
last_name: string;
|
|
3014
|
+
full_name: string;
|
|
3015
|
+
email: string;
|
|
3016
|
+
email_confirmed: boolean;
|
|
3017
|
+
timezone: string;
|
|
3018
|
+
};
|
|
3019
|
+
}>;
|
|
3020
|
+
} & {
|
|
3021
|
+
context: {
|
|
3022
|
+
meta: {
|
|
3023
|
+
getProfile: PluginMeta<unknown>;
|
|
3024
|
+
};
|
|
3025
|
+
};
|
|
3026
|
+
}>;
|
|
3027
|
+
export declare function createZapierSdk(options?: ZapierSdkOptions): import("kitcore").WithAddPlugin<object & {
|
|
3028
|
+
context: {
|
|
3029
|
+
meta: Record<string, PluginMeta>;
|
|
3030
|
+
hooks: import("kitcore").MethodHooks;
|
|
3031
|
+
};
|
|
3032
|
+
} & {
|
|
3033
|
+
context: {
|
|
3034
|
+
core: import("kitcore").CoreOptions;
|
|
3035
|
+
};
|
|
3036
|
+
} & {
|
|
3037
|
+
context: {
|
|
3038
|
+
options: import("./sdk").ZapierSdkOptions;
|
|
3039
|
+
};
|
|
3040
|
+
} & {
|
|
3041
|
+
context: import("./index").EventEmissionContext;
|
|
3042
|
+
} & {
|
|
3043
|
+
context: {
|
|
3044
|
+
api: import("./api").ApiClient;
|
|
3045
|
+
resolveCredentials: () => Promise<string | {
|
|
3046
|
+
clientId: string;
|
|
3047
|
+
clientSecret: string;
|
|
3048
|
+
type?: "client_credentials" | undefined;
|
|
3049
|
+
baseUrl?: string | undefined;
|
|
3050
|
+
scope?: string | undefined;
|
|
3051
|
+
} | {
|
|
3052
|
+
clientId: string;
|
|
3053
|
+
type?: "pkce" | undefined;
|
|
3054
|
+
baseUrl?: string | undefined;
|
|
3055
|
+
scope?: string | undefined;
|
|
3056
|
+
} | undefined>;
|
|
3057
|
+
};
|
|
3058
|
+
} & {
|
|
3059
|
+
context: {
|
|
3060
|
+
getResolvedManifest: () => Promise<import("./index").Manifest | null>;
|
|
3061
|
+
getVersionedImplementationId: (appKey: string) => Promise<string | null>;
|
|
3062
|
+
resolveAppKeys: ({ appKeys }: {
|
|
3063
|
+
appKeys: string[];
|
|
3064
|
+
}) => Promise<import("./index").ResolvedAppLocator[]>;
|
|
3065
|
+
updateManifestEntry: (options: import("./index").UpdateManifestEntryOptions) => Promise<import("./index").UpdateManifestEntryResult>;
|
|
3066
|
+
addActionEntry: (options: import("./index").AddActionEntryOptions) => Promise<import("./index").AddActionEntryResult>;
|
|
3067
|
+
findActionEntry: ({ name, manifest, }: {
|
|
3068
|
+
name: string;
|
|
3069
|
+
manifest: import("./index").Manifest;
|
|
3070
|
+
}) => import("./index").ActionEntry | null;
|
|
3071
|
+
listActionEntries: ({ configPath, }?: {
|
|
3072
|
+
configPath?: string;
|
|
3073
|
+
}) => Promise<Array<[string, import("./index").ActionEntry]>>;
|
|
3074
|
+
deleteActionEntry: ({ name, configPath, skipWrite, }: {
|
|
3075
|
+
name: string;
|
|
3076
|
+
configPath?: string;
|
|
3077
|
+
skipWrite?: boolean;
|
|
3078
|
+
}) => Promise<import("./index").Manifest>;
|
|
3079
|
+
hasActionEntry: ({ name, manifest, }: {
|
|
3080
|
+
name: string;
|
|
3081
|
+
manifest: import("./index").Manifest;
|
|
3082
|
+
}) => boolean;
|
|
3083
|
+
findManifestEntry: typeof import("./index").findManifestEntry;
|
|
3084
|
+
readManifestFromFile: typeof import("./index").readManifestFromFile;
|
|
3085
|
+
getManifestConnections: () => Promise<Record<string, {
|
|
3086
|
+
connectionId: string | number;
|
|
3087
|
+
}> | null>;
|
|
3088
|
+
};
|
|
3089
|
+
} & {
|
|
3090
|
+
context: import("./plugins/capabilities").CapabilitiesContext;
|
|
3091
|
+
} & {
|
|
3092
|
+
context: {
|
|
3093
|
+
resolveConnection: (name: string) => Promise<{
|
|
3094
|
+
connectionId: string | number;
|
|
3095
|
+
} | undefined>;
|
|
3096
|
+
getConnectionsMap: () => Promise<Record<string, {
|
|
3097
|
+
connectionId: string | number;
|
|
3098
|
+
}> | null>;
|
|
3099
|
+
};
|
|
3100
|
+
} & {
|
|
3101
|
+
listApps: (options?: ({
|
|
3102
|
+
search?: string | undefined;
|
|
3103
|
+
apps?: string[] | undefined;
|
|
3104
|
+
appKeys?: string[] | undefined;
|
|
3105
|
+
pageSize?: number | undefined;
|
|
3106
|
+
maxItems?: number | undefined;
|
|
3107
|
+
cursor?: string | undefined;
|
|
3108
|
+
} & {
|
|
3109
|
+
cursor?: string;
|
|
3110
|
+
pageSize?: number;
|
|
3111
|
+
maxItems?: number;
|
|
3112
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
3113
|
+
slug: string;
|
|
3114
|
+
title: string;
|
|
3115
|
+
key: string;
|
|
3116
|
+
implementation_id: string;
|
|
3117
|
+
description?: string | undefined;
|
|
3118
|
+
is_hidden?: boolean | undefined;
|
|
3119
|
+
auth_type?: string | undefined;
|
|
3120
|
+
actions?: {
|
|
3121
|
+
read?: number | undefined;
|
|
3122
|
+
read_bulk?: number | undefined;
|
|
3123
|
+
write?: number | undefined;
|
|
3124
|
+
search?: number | undefined;
|
|
3125
|
+
search_or_write?: number | undefined;
|
|
3126
|
+
search_and_write?: number | undefined;
|
|
3127
|
+
filter?: number | undefined;
|
|
3128
|
+
} | undefined;
|
|
3129
|
+
is_deprecated?: boolean | undefined;
|
|
3130
|
+
is_beta?: boolean | undefined;
|
|
3131
|
+
is_premium?: boolean | undefined;
|
|
3132
|
+
age_in_days?: number | undefined;
|
|
3133
|
+
banner?: string | undefined;
|
|
3134
|
+
categories?: {
|
|
3135
|
+
id: number;
|
|
3136
|
+
name: string;
|
|
3137
|
+
slug: string;
|
|
3138
|
+
}[] | undefined;
|
|
3139
|
+
images?: {
|
|
3140
|
+
url_16x16?: string | undefined;
|
|
3141
|
+
url_32x32?: string | undefined;
|
|
3142
|
+
url_64x64?: string | undefined;
|
|
3143
|
+
url_128x128?: string | undefined;
|
|
3144
|
+
} | undefined;
|
|
3145
|
+
popularity?: number | undefined;
|
|
3146
|
+
has_filters?: boolean | undefined;
|
|
3147
|
+
has_reads?: boolean | undefined;
|
|
3148
|
+
has_searches?: boolean | undefined;
|
|
3149
|
+
has_searches_or_writes?: boolean | undefined;
|
|
3150
|
+
has_upfront_fields?: boolean | undefined;
|
|
3151
|
+
has_writes?: boolean | undefined;
|
|
3152
|
+
is_built_in?: boolean | undefined;
|
|
3153
|
+
is_featured?: boolean | undefined;
|
|
3154
|
+
is_invite?: boolean | undefined;
|
|
3155
|
+
is_public?: boolean | undefined;
|
|
3156
|
+
is_upcoming?: boolean | undefined;
|
|
3157
|
+
visibility?: string | undefined;
|
|
3158
|
+
primary_color?: string | undefined;
|
|
3159
|
+
secondary_color?: string | undefined;
|
|
3160
|
+
classification?: string | undefined;
|
|
3161
|
+
api_docs_url?: string | undefined;
|
|
3162
|
+
image?: string | undefined;
|
|
3163
|
+
version?: string | undefined;
|
|
3164
|
+
}>;
|
|
3165
|
+
} & {
|
|
3166
|
+
context: {
|
|
3167
|
+
meta: {
|
|
3168
|
+
listApps: PluginMeta<unknown>;
|
|
3169
|
+
};
|
|
3170
|
+
};
|
|
3171
|
+
} & {
|
|
3172
|
+
getApp: (options?: {
|
|
3173
|
+
app: string;
|
|
3174
|
+
} | {
|
|
3175
|
+
appKey: string;
|
|
3176
|
+
} | undefined) => Promise<{
|
|
3177
|
+
data: {
|
|
3178
|
+
slug: string;
|
|
3179
|
+
title: string;
|
|
3180
|
+
key: string;
|
|
3181
|
+
implementation_id: string;
|
|
3182
|
+
description?: string | undefined;
|
|
3183
|
+
is_hidden?: boolean | undefined;
|
|
3184
|
+
auth_type?: string | undefined;
|
|
3185
|
+
actions?: {
|
|
3186
|
+
read?: number | undefined;
|
|
3187
|
+
read_bulk?: number | undefined;
|
|
3188
|
+
write?: number | undefined;
|
|
3189
|
+
search?: number | undefined;
|
|
3190
|
+
search_or_write?: number | undefined;
|
|
3191
|
+
search_and_write?: number | undefined;
|
|
3192
|
+
filter?: number | undefined;
|
|
3193
|
+
} | undefined;
|
|
3194
|
+
is_deprecated?: boolean | undefined;
|
|
3195
|
+
is_beta?: boolean | undefined;
|
|
3196
|
+
is_premium?: boolean | undefined;
|
|
3197
|
+
age_in_days?: number | undefined;
|
|
3198
|
+
banner?: string | undefined;
|
|
3199
|
+
categories?: {
|
|
3200
|
+
id: number;
|
|
3201
|
+
name: string;
|
|
3202
|
+
slug: string;
|
|
3203
|
+
}[] | undefined;
|
|
3204
|
+
images?: {
|
|
3205
|
+
url_16x16?: string | undefined;
|
|
3206
|
+
url_32x32?: string | undefined;
|
|
3207
|
+
url_64x64?: string | undefined;
|
|
3208
|
+
url_128x128?: string | undefined;
|
|
3209
|
+
} | undefined;
|
|
3210
|
+
popularity?: number | undefined;
|
|
3211
|
+
has_filters?: boolean | undefined;
|
|
3212
|
+
has_reads?: boolean | undefined;
|
|
3213
|
+
has_searches?: boolean | undefined;
|
|
3214
|
+
has_searches_or_writes?: boolean | undefined;
|
|
3215
|
+
has_upfront_fields?: boolean | undefined;
|
|
3216
|
+
has_writes?: boolean | undefined;
|
|
3217
|
+
is_built_in?: boolean | undefined;
|
|
3218
|
+
is_featured?: boolean | undefined;
|
|
3219
|
+
is_invite?: boolean | undefined;
|
|
3220
|
+
is_public?: boolean | undefined;
|
|
3221
|
+
is_upcoming?: boolean | undefined;
|
|
3222
|
+
visibility?: string | undefined;
|
|
3223
|
+
primary_color?: string | undefined;
|
|
3224
|
+
secondary_color?: string | undefined;
|
|
3225
|
+
classification?: string | undefined;
|
|
3226
|
+
api_docs_url?: string | undefined;
|
|
3227
|
+
image?: string | undefined;
|
|
3228
|
+
version?: string | undefined;
|
|
3229
|
+
};
|
|
3230
|
+
}>;
|
|
3231
|
+
} & {
|
|
3232
|
+
context: {
|
|
3233
|
+
meta: {
|
|
3234
|
+
getApp: PluginMeta<unknown>;
|
|
3235
|
+
};
|
|
3236
|
+
};
|
|
3237
|
+
} & {
|
|
3238
|
+
listConnections: (options?: ({
|
|
3239
|
+
title?: string | undefined;
|
|
3240
|
+
search?: string | undefined;
|
|
3241
|
+
owner?: string | undefined;
|
|
3242
|
+
app?: string | undefined;
|
|
3243
|
+
appKey?: string | undefined;
|
|
3244
|
+
connections?: string[] | undefined;
|
|
3245
|
+
connectionIds?: string[] | undefined;
|
|
3246
|
+
authenticationIds?: string[] | undefined;
|
|
3247
|
+
account?: string | undefined;
|
|
3248
|
+
accountId?: string | undefined;
|
|
3249
|
+
includeShared?: boolean | undefined;
|
|
3250
|
+
isExpired?: boolean | undefined;
|
|
3251
|
+
expired?: boolean | undefined;
|
|
3252
|
+
pageSize?: number | undefined;
|
|
3253
|
+
maxItems?: number | undefined;
|
|
3254
|
+
cursor?: string | undefined;
|
|
3255
|
+
} & {
|
|
3256
|
+
cursor?: string;
|
|
3257
|
+
pageSize?: number;
|
|
3258
|
+
maxItems?: number;
|
|
3259
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
3260
|
+
date: string;
|
|
3261
|
+
is_invite_only: boolean;
|
|
3262
|
+
is_private: boolean;
|
|
3263
|
+
shared_with_all: boolean;
|
|
3264
|
+
id: string;
|
|
3265
|
+
account_id: string;
|
|
3266
|
+
title?: string | null | undefined;
|
|
3267
|
+
lastchanged?: string | undefined;
|
|
3268
|
+
destination_selected_api?: string | null | undefined;
|
|
3269
|
+
is_stale?: string | undefined;
|
|
3270
|
+
is_shared?: string | undefined;
|
|
3271
|
+
marked_stale_at?: string | null | undefined;
|
|
3272
|
+
label?: string | null | undefined;
|
|
3273
|
+
identifier?: string | null | undefined;
|
|
3274
|
+
url?: string | undefined;
|
|
3275
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
3276
|
+
members?: string | undefined;
|
|
3277
|
+
permissions?: Record<string, boolean> | undefined;
|
|
3278
|
+
public_id?: string | undefined;
|
|
3279
|
+
account_public_id?: string | undefined;
|
|
3280
|
+
customuser_public_id?: string | undefined;
|
|
3281
|
+
implementation_id?: string | undefined;
|
|
3282
|
+
profile_id?: string | undefined;
|
|
3283
|
+
is_expired?: string | undefined;
|
|
3284
|
+
expired_at?: string | null | undefined;
|
|
3285
|
+
app_key?: string | undefined;
|
|
3286
|
+
app_version?: string | undefined;
|
|
3287
|
+
}>;
|
|
3288
|
+
} & {
|
|
3289
|
+
context: {
|
|
3290
|
+
meta: {
|
|
3291
|
+
listConnections: PluginMeta<unknown>;
|
|
3292
|
+
};
|
|
3293
|
+
};
|
|
3294
|
+
} & {
|
|
3295
|
+
getConnection: (options?: {
|
|
3296
|
+
connection?: string | number | undefined;
|
|
3297
|
+
connectionId?: string | number | undefined;
|
|
3298
|
+
authenticationId?: string | number | undefined;
|
|
3299
|
+
} | undefined) => Promise<{
|
|
3300
|
+
data: {
|
|
3301
|
+
date: string;
|
|
3302
|
+
is_invite_only: boolean;
|
|
3303
|
+
is_private: boolean;
|
|
3304
|
+
shared_with_all: boolean;
|
|
3305
|
+
id: string;
|
|
3306
|
+
account_id: string;
|
|
3307
|
+
title?: string | null | undefined;
|
|
3308
|
+
lastchanged?: string | undefined;
|
|
3309
|
+
destination_selected_api?: string | null | undefined;
|
|
3310
|
+
is_stale?: string | undefined;
|
|
3311
|
+
is_shared?: string | undefined;
|
|
3312
|
+
marked_stale_at?: string | null | undefined;
|
|
3313
|
+
label?: string | null | undefined;
|
|
3314
|
+
identifier?: string | null | undefined;
|
|
3315
|
+
url?: string | undefined;
|
|
3316
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
3317
|
+
members?: string | undefined;
|
|
3318
|
+
permissions?: Record<string, boolean> | undefined;
|
|
3319
|
+
public_id?: string | undefined;
|
|
3320
|
+
account_public_id?: string | undefined;
|
|
3321
|
+
customuser_public_id?: string | undefined;
|
|
3322
|
+
implementation_id?: string | undefined;
|
|
3323
|
+
profile_id?: string | undefined;
|
|
3324
|
+
is_expired?: string | undefined;
|
|
3325
|
+
expired_at?: string | null | undefined;
|
|
3326
|
+
app_key?: string | undefined;
|
|
3327
|
+
app_version?: string | undefined;
|
|
3328
|
+
};
|
|
3329
|
+
}>;
|
|
3330
|
+
} & {
|
|
3331
|
+
context: {
|
|
3332
|
+
meta: {
|
|
3333
|
+
getConnection: PluginMeta<unknown>;
|
|
3334
|
+
};
|
|
3335
|
+
};
|
|
3336
|
+
} & {
|
|
3337
|
+
findFirstConnection: (options?: {
|
|
3338
|
+
title?: string | undefined;
|
|
3339
|
+
search?: string | undefined;
|
|
3340
|
+
appKey?: string | undefined;
|
|
3341
|
+
app?: string | undefined;
|
|
3342
|
+
owner?: string | undefined;
|
|
3343
|
+
account?: string | undefined;
|
|
3344
|
+
accountId?: string | undefined;
|
|
3345
|
+
includeShared?: boolean | undefined;
|
|
3346
|
+
isExpired?: boolean | undefined;
|
|
3347
|
+
expired?: boolean | undefined;
|
|
3348
|
+
} | undefined) => Promise<{
|
|
3349
|
+
data: {
|
|
3350
|
+
date: string;
|
|
3351
|
+
is_invite_only: boolean;
|
|
3352
|
+
is_private: boolean;
|
|
3353
|
+
shared_with_all: boolean;
|
|
3354
|
+
id: string;
|
|
3355
|
+
account_id: string;
|
|
3356
|
+
title?: string | null | undefined;
|
|
3357
|
+
lastchanged?: string | undefined;
|
|
3358
|
+
destination_selected_api?: string | null | undefined;
|
|
3359
|
+
is_stale?: string | undefined;
|
|
3360
|
+
is_shared?: string | undefined;
|
|
3361
|
+
marked_stale_at?: string | null | undefined;
|
|
3362
|
+
label?: string | null | undefined;
|
|
3363
|
+
identifier?: string | null | undefined;
|
|
3364
|
+
url?: string | undefined;
|
|
3365
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
3366
|
+
members?: string | undefined;
|
|
3367
|
+
permissions?: Record<string, boolean> | undefined;
|
|
3368
|
+
public_id?: string | undefined;
|
|
3369
|
+
account_public_id?: string | undefined;
|
|
3370
|
+
customuser_public_id?: string | undefined;
|
|
3371
|
+
implementation_id?: string | undefined;
|
|
3372
|
+
profile_id?: string | undefined;
|
|
3373
|
+
is_expired?: string | undefined;
|
|
3374
|
+
expired_at?: string | null | undefined;
|
|
3375
|
+
app_key?: string | undefined;
|
|
3376
|
+
app_version?: string | undefined;
|
|
3377
|
+
};
|
|
3378
|
+
}>;
|
|
3379
|
+
} & {
|
|
3380
|
+
context: {
|
|
3381
|
+
meta: {
|
|
3382
|
+
findFirstConnection: PluginMeta<unknown>;
|
|
3383
|
+
};
|
|
3384
|
+
};
|
|
3385
|
+
} & {
|
|
3386
|
+
findUniqueConnection: (options?: {
|
|
3387
|
+
title?: string | undefined;
|
|
3388
|
+
search?: string | undefined;
|
|
3389
|
+
appKey?: string | undefined;
|
|
3390
|
+
app?: string | undefined;
|
|
3391
|
+
owner?: string | undefined;
|
|
3392
|
+
account?: string | undefined;
|
|
3393
|
+
accountId?: string | undefined;
|
|
3394
|
+
includeShared?: boolean | undefined;
|
|
3395
|
+
isExpired?: boolean | undefined;
|
|
3396
|
+
expired?: boolean | undefined;
|
|
3397
|
+
} | undefined) => Promise<{
|
|
3398
|
+
data: {
|
|
3399
|
+
date: string;
|
|
3400
|
+
is_invite_only: boolean;
|
|
3401
|
+
is_private: boolean;
|
|
3402
|
+
shared_with_all: boolean;
|
|
3403
|
+
id: string;
|
|
3404
|
+
account_id: string;
|
|
3405
|
+
title?: string | null | undefined;
|
|
3406
|
+
lastchanged?: string | undefined;
|
|
3407
|
+
destination_selected_api?: string | null | undefined;
|
|
3408
|
+
is_stale?: string | undefined;
|
|
3409
|
+
is_shared?: string | undefined;
|
|
3410
|
+
marked_stale_at?: string | null | undefined;
|
|
3411
|
+
label?: string | null | undefined;
|
|
3412
|
+
identifier?: string | null | undefined;
|
|
3413
|
+
url?: string | undefined;
|
|
3414
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
3415
|
+
members?: string | undefined;
|
|
3416
|
+
permissions?: Record<string, boolean> | undefined;
|
|
3417
|
+
public_id?: string | undefined;
|
|
3418
|
+
account_public_id?: string | undefined;
|
|
3419
|
+
customuser_public_id?: string | undefined;
|
|
3420
|
+
implementation_id?: string | undefined;
|
|
3421
|
+
profile_id?: string | undefined;
|
|
3422
|
+
is_expired?: string | undefined;
|
|
3423
|
+
expired_at?: string | null | undefined;
|
|
3424
|
+
app_key?: string | undefined;
|
|
3425
|
+
app_version?: string | undefined;
|
|
3426
|
+
};
|
|
3427
|
+
}>;
|
|
3428
|
+
} & {
|
|
3429
|
+
context: {
|
|
3430
|
+
meta: {
|
|
3431
|
+
findUniqueConnection: PluginMeta<unknown>;
|
|
3432
|
+
};
|
|
3433
|
+
};
|
|
3434
|
+
} & {
|
|
3435
|
+
listActions: (options?: (({
|
|
3436
|
+
app: string;
|
|
3437
|
+
actionType?: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | undefined;
|
|
3438
|
+
pageSize?: number | undefined;
|
|
3439
|
+
maxItems?: number | undefined;
|
|
3440
|
+
cursor?: string | undefined;
|
|
3441
|
+
} | {
|
|
3442
|
+
appKey: string;
|
|
3443
|
+
actionType?: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | undefined;
|
|
3444
|
+
pageSize?: number | undefined;
|
|
3445
|
+
maxItems?: number | undefined;
|
|
3446
|
+
cursor?: string | undefined;
|
|
3447
|
+
}) & {
|
|
3448
|
+
cursor?: string;
|
|
3449
|
+
pageSize?: number;
|
|
3450
|
+
maxItems?: number;
|
|
3451
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
3452
|
+
description: string;
|
|
3453
|
+
key: string;
|
|
3454
|
+
app_key: string;
|
|
3455
|
+
action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3456
|
+
title: string;
|
|
3457
|
+
type: "action";
|
|
3458
|
+
id?: string | undefined;
|
|
3459
|
+
is_important?: boolean | undefined;
|
|
3460
|
+
is_hidden?: boolean | undefined;
|
|
3461
|
+
app_version?: string | undefined;
|
|
3462
|
+
}>;
|
|
3463
|
+
} & {
|
|
3464
|
+
context: {
|
|
3465
|
+
meta: {
|
|
3466
|
+
listActions: PluginMeta<unknown>;
|
|
3467
|
+
};
|
|
3468
|
+
};
|
|
3469
|
+
} & {
|
|
3470
|
+
getAction: (options?: {
|
|
3471
|
+
app: string;
|
|
3472
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3473
|
+
action: string;
|
|
3474
|
+
} | {
|
|
3475
|
+
appKey: string;
|
|
3476
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3477
|
+
actionKey: string;
|
|
3478
|
+
} | undefined) => Promise<{
|
|
3479
|
+
data: {
|
|
3480
|
+
description: string;
|
|
3481
|
+
key: string;
|
|
3482
|
+
app_key: string;
|
|
3483
|
+
action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3484
|
+
title: string;
|
|
3485
|
+
type: "action";
|
|
3486
|
+
id?: string | undefined;
|
|
3487
|
+
is_important?: boolean | undefined;
|
|
3488
|
+
is_hidden?: boolean | undefined;
|
|
3489
|
+
app_version?: string | undefined;
|
|
3490
|
+
};
|
|
3491
|
+
}>;
|
|
3492
|
+
} & {
|
|
3493
|
+
context: {
|
|
3494
|
+
meta: {
|
|
3495
|
+
getAction: PluginMeta<unknown>;
|
|
3496
|
+
};
|
|
3497
|
+
};
|
|
3498
|
+
} & {
|
|
3499
|
+
listActionInputFields: (options?: (({
|
|
3500
|
+
app: string;
|
|
3501
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3502
|
+
action: string;
|
|
3503
|
+
connection?: string | number | undefined;
|
|
3504
|
+
connectionId?: string | number | null | undefined;
|
|
3505
|
+
authenticationId?: string | number | null | undefined;
|
|
3506
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3507
|
+
pageSize?: number | undefined;
|
|
3508
|
+
maxItems?: number | undefined;
|
|
3509
|
+
cursor?: string | undefined;
|
|
3510
|
+
} | {
|
|
3511
|
+
appKey: string;
|
|
3512
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3513
|
+
actionKey: string;
|
|
3514
|
+
connection?: string | number | undefined;
|
|
3515
|
+
connectionId?: string | number | null | undefined;
|
|
3516
|
+
authenticationId?: string | number | null | undefined;
|
|
3517
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3518
|
+
pageSize?: number | undefined;
|
|
3519
|
+
maxItems?: number | undefined;
|
|
3520
|
+
cursor?: string | undefined;
|
|
3521
|
+
}) & {
|
|
3522
|
+
cursor?: string;
|
|
3523
|
+
pageSize?: number;
|
|
3524
|
+
maxItems?: number;
|
|
3525
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
3526
|
+
key: string;
|
|
3527
|
+
type: "input_field";
|
|
3528
|
+
default_value: string;
|
|
3529
|
+
depends_on: string[];
|
|
3530
|
+
description: string;
|
|
3531
|
+
invalidates_input_fields: boolean;
|
|
3532
|
+
is_required: boolean;
|
|
3533
|
+
placeholder: string;
|
|
3534
|
+
title: string;
|
|
3535
|
+
value_type: string;
|
|
3536
|
+
format?: string | undefined;
|
|
3537
|
+
items?: {
|
|
3538
|
+
type: string;
|
|
3539
|
+
} | undefined;
|
|
3540
|
+
} | {
|
|
3541
|
+
key: string;
|
|
3542
|
+
type: "info_field";
|
|
3543
|
+
description: string;
|
|
3544
|
+
title?: string | undefined;
|
|
3545
|
+
} | import("./index").FieldsetItem>;
|
|
3546
|
+
} & {
|
|
3547
|
+
context: {
|
|
3548
|
+
meta: {
|
|
3549
|
+
listActionInputFields: PluginMeta<unknown>;
|
|
3550
|
+
};
|
|
3551
|
+
};
|
|
3552
|
+
} & {
|
|
3553
|
+
getActionInputFieldsSchema: (options?: {
|
|
3554
|
+
app: string;
|
|
3555
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3556
|
+
action: string;
|
|
3557
|
+
connection?: string | number | undefined;
|
|
3558
|
+
connectionId?: string | number | null | undefined;
|
|
3559
|
+
authenticationId?: string | number | null | undefined;
|
|
3560
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3561
|
+
} | {
|
|
3562
|
+
appKey: string;
|
|
3563
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3564
|
+
actionKey: string;
|
|
3565
|
+
connection?: string | number | undefined;
|
|
3566
|
+
connectionId?: string | number | null | undefined;
|
|
3567
|
+
authenticationId?: string | number | null | undefined;
|
|
3568
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3569
|
+
} | undefined) => Promise<{
|
|
3570
|
+
data: Record<string, unknown>;
|
|
3571
|
+
}>;
|
|
3572
|
+
} & {
|
|
3573
|
+
context: {
|
|
3574
|
+
meta: {
|
|
3575
|
+
getActionInputFieldsSchema: PluginMeta<unknown>;
|
|
3576
|
+
};
|
|
3577
|
+
};
|
|
3578
|
+
} & {
|
|
3579
|
+
listActionInputFieldChoices: (options?: (({
|
|
3580
|
+
app: string;
|
|
3581
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3582
|
+
action: string;
|
|
3583
|
+
inputField: string;
|
|
3584
|
+
connection?: string | number | undefined;
|
|
3585
|
+
connectionId?: string | number | null | undefined;
|
|
3586
|
+
authenticationId?: string | number | null | undefined;
|
|
3587
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3588
|
+
page?: number | undefined;
|
|
3589
|
+
pageSize?: number | undefined;
|
|
3590
|
+
maxItems?: number | undefined;
|
|
3591
|
+
cursor?: string | undefined;
|
|
3592
|
+
} | {
|
|
3593
|
+
appKey: string;
|
|
3594
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3595
|
+
actionKey: string;
|
|
3596
|
+
inputFieldKey: string;
|
|
3597
|
+
connection?: string | number | undefined;
|
|
3598
|
+
connectionId?: string | number | null | undefined;
|
|
3599
|
+
authenticationId?: string | number | null | undefined;
|
|
3600
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3601
|
+
page?: number | undefined;
|
|
3602
|
+
pageSize?: number | undefined;
|
|
3603
|
+
maxItems?: number | undefined;
|
|
3604
|
+
cursor?: string | undefined;
|
|
3605
|
+
}) & {
|
|
3606
|
+
cursor?: string;
|
|
3607
|
+
pageSize?: number;
|
|
3608
|
+
maxItems?: number;
|
|
3609
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
3610
|
+
key?: string | undefined;
|
|
3611
|
+
label?: string | undefined;
|
|
3612
|
+
sample?: string | undefined;
|
|
3613
|
+
value?: string | undefined;
|
|
3614
|
+
}>;
|
|
3615
|
+
} & {
|
|
3616
|
+
context: {
|
|
3617
|
+
meta: {
|
|
3618
|
+
listActionInputFieldChoices: PluginMeta<unknown>;
|
|
3619
|
+
};
|
|
3620
|
+
};
|
|
3621
|
+
} & {
|
|
3622
|
+
listInputFields: (options?: (({
|
|
3623
|
+
app: string;
|
|
3624
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3625
|
+
action: string;
|
|
3626
|
+
connection?: string | number | undefined;
|
|
3627
|
+
connectionId?: string | number | null | undefined;
|
|
3628
|
+
authenticationId?: string | number | null | undefined;
|
|
3629
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3630
|
+
pageSize?: number | undefined;
|
|
3631
|
+
maxItems?: number | undefined;
|
|
3632
|
+
cursor?: string | undefined;
|
|
3633
|
+
} | {
|
|
3634
|
+
appKey: string;
|
|
3635
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3636
|
+
actionKey: string;
|
|
3637
|
+
connection?: string | number | undefined;
|
|
3638
|
+
connectionId?: string | number | null | undefined;
|
|
3639
|
+
authenticationId?: string | number | null | undefined;
|
|
3640
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3641
|
+
pageSize?: number | undefined;
|
|
3642
|
+
maxItems?: number | undefined;
|
|
3643
|
+
cursor?: string | undefined;
|
|
3644
|
+
}) & {
|
|
3645
|
+
cursor?: string;
|
|
3646
|
+
pageSize?: number;
|
|
3647
|
+
maxItems?: number;
|
|
3648
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
3649
|
+
key: string;
|
|
3650
|
+
type: "input_field";
|
|
3651
|
+
default_value: string;
|
|
3652
|
+
depends_on: string[];
|
|
3653
|
+
description: string;
|
|
3654
|
+
invalidates_input_fields: boolean;
|
|
3655
|
+
is_required: boolean;
|
|
3656
|
+
placeholder: string;
|
|
3657
|
+
title: string;
|
|
3658
|
+
value_type: string;
|
|
3659
|
+
format?: string | undefined;
|
|
3660
|
+
items?: {
|
|
3661
|
+
type: string;
|
|
3662
|
+
} | undefined;
|
|
3663
|
+
} | {
|
|
3664
|
+
key: string;
|
|
3665
|
+
type: "info_field";
|
|
3666
|
+
description: string;
|
|
3667
|
+
title?: string | undefined;
|
|
3668
|
+
} | import("./index").FieldsetItem>;
|
|
3669
|
+
context: {
|
|
3670
|
+
meta: {
|
|
3671
|
+
listInputFields: {
|
|
3672
|
+
categories: string[];
|
|
3673
|
+
deprecation: {
|
|
3674
|
+
message: string;
|
|
3675
|
+
};
|
|
3676
|
+
type: "list";
|
|
3677
|
+
itemType: string;
|
|
3678
|
+
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3679
|
+
app: import("zod").ZodString & {
|
|
3680
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
3681
|
+
};
|
|
3682
|
+
actionType: import("zod").ZodEnum<{
|
|
3683
|
+
filter: "filter";
|
|
3684
|
+
write: "write";
|
|
3685
|
+
read: "read";
|
|
3686
|
+
read_bulk: "read_bulk";
|
|
3687
|
+
run: "run";
|
|
3688
|
+
search: "search";
|
|
3689
|
+
search_and_write: "search_and_write";
|
|
3690
|
+
search_or_write: "search_or_write";
|
|
3691
|
+
}>;
|
|
3692
|
+
action: import("zod").ZodString & {
|
|
3693
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
3694
|
+
};
|
|
3695
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3696
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
3697
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
3698
|
+
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
3699
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3700
|
+
maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3701
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3702
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3703
|
+
appKey: import("zod").ZodString & {
|
|
3704
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
3705
|
+
};
|
|
3706
|
+
actionType: import("zod").ZodEnum<{
|
|
3707
|
+
filter: "filter";
|
|
3708
|
+
write: "write";
|
|
3709
|
+
read: "read";
|
|
3710
|
+
read_bulk: "read_bulk";
|
|
3711
|
+
run: "run";
|
|
3712
|
+
search: "search";
|
|
3713
|
+
search_and_write: "search_and_write";
|
|
3714
|
+
search_or_write: "search_or_write";
|
|
3715
|
+
}>;
|
|
3716
|
+
actionKey: import("zod").ZodString;
|
|
3717
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3718
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
3719
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
3720
|
+
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
3721
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3722
|
+
maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3723
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3724
|
+
}, import("zod/v4/core").$strip>]>;
|
|
3725
|
+
outputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3726
|
+
key: import("zod").ZodString;
|
|
3727
|
+
type: import("zod").ZodLiteral<"input_field">;
|
|
3728
|
+
default_value: import("zod").ZodString;
|
|
3729
|
+
depends_on: import("zod").ZodArray<import("zod").ZodString>;
|
|
3730
|
+
description: import("zod").ZodString;
|
|
3731
|
+
invalidates_input_fields: import("zod").ZodBoolean;
|
|
3732
|
+
is_required: import("zod").ZodBoolean;
|
|
3733
|
+
placeholder: import("zod").ZodString;
|
|
3734
|
+
title: import("zod").ZodString;
|
|
3735
|
+
value_type: import("zod").ZodString;
|
|
3736
|
+
format: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3737
|
+
items: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3738
|
+
type: import("zod").ZodString;
|
|
3739
|
+
}, import("zod/v4/core").$strip>>;
|
|
3740
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3741
|
+
key: import("zod").ZodString;
|
|
3742
|
+
type: import("zod").ZodLiteral<"info_field">;
|
|
3743
|
+
description: import("zod").ZodString;
|
|
3744
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3745
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodType<import("./index").FieldsetItem, unknown, import("zod/v4/core").$ZodTypeInternals<import("./index").FieldsetItem, unknown>>]>;
|
|
3746
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
3747
|
+
key: string;
|
|
3748
|
+
type: "input_field";
|
|
3749
|
+
default_value: string;
|
|
3750
|
+
depends_on: string[];
|
|
3751
|
+
description: string;
|
|
3752
|
+
invalidates_input_fields: boolean;
|
|
3753
|
+
is_required: boolean;
|
|
3754
|
+
placeholder: string;
|
|
3755
|
+
title: string;
|
|
3756
|
+
value_type: string;
|
|
3757
|
+
format?: string | undefined;
|
|
3758
|
+
items?: {
|
|
3759
|
+
type: string;
|
|
3760
|
+
} | undefined;
|
|
3761
|
+
} | {
|
|
3762
|
+
key: string;
|
|
3763
|
+
type: "info_field";
|
|
3764
|
+
description: string;
|
|
3765
|
+
title?: string | undefined;
|
|
3766
|
+
} | import("./index").FieldsetItem, Record<string, unknown>, unknown>;
|
|
3767
|
+
defaultPageSize: number;
|
|
3768
|
+
};
|
|
3769
|
+
};
|
|
3770
|
+
};
|
|
3771
|
+
} & {
|
|
3772
|
+
getInputFieldsSchema: (options?: {
|
|
3773
|
+
app: string;
|
|
3774
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3775
|
+
action: string;
|
|
3776
|
+
connection?: string | number | undefined;
|
|
3777
|
+
connectionId?: string | number | null | undefined;
|
|
3778
|
+
authenticationId?: string | number | null | undefined;
|
|
3779
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3780
|
+
} | {
|
|
3781
|
+
appKey: string;
|
|
3782
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3783
|
+
actionKey: string;
|
|
3784
|
+
connection?: string | number | undefined;
|
|
3785
|
+
connectionId?: string | number | null | undefined;
|
|
3786
|
+
authenticationId?: string | number | null | undefined;
|
|
3787
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3788
|
+
} | undefined) => Promise<{
|
|
3789
|
+
data: Record<string, unknown>;
|
|
3790
|
+
}>;
|
|
3791
|
+
context: {
|
|
3792
|
+
meta: {
|
|
3793
|
+
getInputFieldsSchema: {
|
|
3794
|
+
categories: string[];
|
|
3795
|
+
deprecation: {
|
|
3796
|
+
message: string;
|
|
3797
|
+
};
|
|
3798
|
+
type: "function";
|
|
3799
|
+
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3800
|
+
app: import("zod").ZodString & {
|
|
3801
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
3802
|
+
};
|
|
3803
|
+
actionType: import("zod").ZodEnum<{
|
|
3804
|
+
filter: "filter";
|
|
3805
|
+
write: "write";
|
|
3806
|
+
read: "read";
|
|
3807
|
+
read_bulk: "read_bulk";
|
|
3808
|
+
run: "run";
|
|
3809
|
+
search: "search";
|
|
3810
|
+
search_and_write: "search_and_write";
|
|
3811
|
+
search_or_write: "search_or_write";
|
|
3812
|
+
}>;
|
|
3813
|
+
action: import("zod").ZodString & {
|
|
3814
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
3815
|
+
};
|
|
3816
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3817
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
3818
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
3819
|
+
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
3820
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3821
|
+
appKey: import("zod").ZodString & {
|
|
3822
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
3823
|
+
};
|
|
3824
|
+
actionType: import("zod").ZodEnum<{
|
|
3825
|
+
filter: "filter";
|
|
3826
|
+
write: "write";
|
|
3827
|
+
read: "read";
|
|
3828
|
+
read_bulk: "read_bulk";
|
|
3829
|
+
run: "run";
|
|
3830
|
+
search: "search";
|
|
3831
|
+
search_and_write: "search_and_write";
|
|
3832
|
+
search_or_write: "search_or_write";
|
|
3833
|
+
}>;
|
|
3834
|
+
actionKey: import("zod").ZodString;
|
|
3835
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3836
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
3837
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
3838
|
+
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
3839
|
+
}, import("zod/v4/core").$strip>]>;
|
|
3840
|
+
};
|
|
3841
|
+
};
|
|
3842
|
+
};
|
|
3843
|
+
} & {
|
|
3844
|
+
listInputFieldChoices: (options?: (({
|
|
3845
|
+
app: string;
|
|
3846
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3847
|
+
action: string;
|
|
3848
|
+
inputField: string;
|
|
3849
|
+
connection?: string | number | undefined;
|
|
3850
|
+
connectionId?: string | number | null | undefined;
|
|
3851
|
+
authenticationId?: string | number | null | undefined;
|
|
3852
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3853
|
+
page?: number | undefined;
|
|
3854
|
+
pageSize?: number | undefined;
|
|
3855
|
+
maxItems?: number | undefined;
|
|
3856
|
+
cursor?: string | undefined;
|
|
3857
|
+
} | {
|
|
3858
|
+
appKey: string;
|
|
3859
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3860
|
+
actionKey: string;
|
|
3861
|
+
inputFieldKey: string;
|
|
3862
|
+
connection?: string | number | undefined;
|
|
3863
|
+
connectionId?: string | number | null | undefined;
|
|
3864
|
+
authenticationId?: string | number | null | undefined;
|
|
3865
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3866
|
+
page?: number | undefined;
|
|
3867
|
+
pageSize?: number | undefined;
|
|
3868
|
+
maxItems?: number | undefined;
|
|
3869
|
+
cursor?: string | undefined;
|
|
3870
|
+
}) & {
|
|
3871
|
+
cursor?: string;
|
|
3872
|
+
pageSize?: number;
|
|
3873
|
+
maxItems?: number;
|
|
3874
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
3875
|
+
key?: string | undefined;
|
|
3876
|
+
label?: string | undefined;
|
|
3877
|
+
sample?: string | undefined;
|
|
3878
|
+
value?: string | undefined;
|
|
3879
|
+
}>;
|
|
3880
|
+
context: {
|
|
3881
|
+
meta: {
|
|
3882
|
+
listInputFieldChoices: {
|
|
3883
|
+
categories: string[];
|
|
3884
|
+
deprecation: {
|
|
3885
|
+
message: string;
|
|
3886
|
+
};
|
|
3887
|
+
type: "list";
|
|
3888
|
+
itemType: string;
|
|
3889
|
+
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3890
|
+
app: import("zod").ZodString & {
|
|
3891
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
3892
|
+
};
|
|
3893
|
+
actionType: import("zod").ZodEnum<{
|
|
3894
|
+
filter: "filter";
|
|
3895
|
+
write: "write";
|
|
3896
|
+
read: "read";
|
|
3897
|
+
read_bulk: "read_bulk";
|
|
3898
|
+
run: "run";
|
|
3899
|
+
search: "search";
|
|
3900
|
+
search_and_write: "search_and_write";
|
|
3901
|
+
search_or_write: "search_or_write";
|
|
3902
|
+
}>;
|
|
3903
|
+
action: import("zod").ZodString & {
|
|
3904
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
3905
|
+
};
|
|
3906
|
+
inputField: import("zod").ZodString & {
|
|
3907
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
3908
|
+
};
|
|
3909
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3910
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
3911
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
3912
|
+
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
3913
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3914
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3915
|
+
maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3916
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3917
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3918
|
+
appKey: import("zod").ZodString & {
|
|
3919
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
3920
|
+
};
|
|
3921
|
+
actionType: import("zod").ZodEnum<{
|
|
3922
|
+
filter: "filter";
|
|
3923
|
+
write: "write";
|
|
3924
|
+
read: "read";
|
|
3925
|
+
read_bulk: "read_bulk";
|
|
3926
|
+
run: "run";
|
|
3927
|
+
search: "search";
|
|
3928
|
+
search_and_write: "search_and_write";
|
|
3929
|
+
search_or_write: "search_or_write";
|
|
3930
|
+
}>;
|
|
3931
|
+
actionKey: import("zod").ZodString;
|
|
3932
|
+
inputFieldKey: import("zod").ZodString;
|
|
3933
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3934
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
3935
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
3936
|
+
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
3937
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3938
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3939
|
+
maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3940
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3941
|
+
}, import("zod/v4/core").$strip>]>;
|
|
3942
|
+
outputSchema: import("zod").ZodObject<{
|
|
3943
|
+
key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3944
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3945
|
+
sample: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3946
|
+
value: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3947
|
+
}, import("zod/v4/core").$strip>;
|
|
3948
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
3949
|
+
key?: string | undefined;
|
|
3950
|
+
label?: string | undefined;
|
|
3951
|
+
sample?: string | undefined;
|
|
3952
|
+
value?: string | undefined;
|
|
3953
|
+
}, Record<string, unknown>, unknown>;
|
|
3954
|
+
defaultPageSize: number;
|
|
3955
|
+
};
|
|
902
3956
|
};
|
|
903
3957
|
};
|
|
904
3958
|
} & {
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
search
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
members?: string | undefined;
|
|
935
|
-
permissions?: Record<string, boolean> | undefined;
|
|
936
|
-
public_id?: string | undefined;
|
|
937
|
-
account_public_id?: string | undefined;
|
|
938
|
-
customuser_public_id?: string | undefined;
|
|
939
|
-
implementation_id?: string | undefined;
|
|
940
|
-
profile_id?: string | undefined;
|
|
941
|
-
is_expired?: string | undefined;
|
|
942
|
-
expired_at?: string | null | undefined;
|
|
943
|
-
app_key?: string | undefined;
|
|
944
|
-
app_version?: string | undefined;
|
|
945
|
-
};
|
|
946
|
-
}>;
|
|
3959
|
+
runAction: (options?: (({
|
|
3960
|
+
app: string;
|
|
3961
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3962
|
+
action: string;
|
|
3963
|
+
connection?: string | number | undefined;
|
|
3964
|
+
connectionId?: string | number | null | undefined;
|
|
3965
|
+
authenticationId?: string | number | null | undefined;
|
|
3966
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3967
|
+
timeoutMs?: number | undefined;
|
|
3968
|
+
pageSize?: number | undefined;
|
|
3969
|
+
maxItems?: number | undefined;
|
|
3970
|
+
cursor?: string | undefined;
|
|
3971
|
+
} | {
|
|
3972
|
+
appKey: string;
|
|
3973
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
3974
|
+
actionKey: string;
|
|
3975
|
+
connection?: string | number | undefined;
|
|
3976
|
+
connectionId?: string | number | null | undefined;
|
|
3977
|
+
authenticationId?: string | number | null | undefined;
|
|
3978
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3979
|
+
timeoutMs?: number | undefined;
|
|
3980
|
+
pageSize?: number | undefined;
|
|
3981
|
+
maxItems?: number | undefined;
|
|
3982
|
+
cursor?: string | undefined;
|
|
3983
|
+
}) & {
|
|
3984
|
+
cursor?: string;
|
|
3985
|
+
pageSize?: number;
|
|
3986
|
+
maxItems?: number;
|
|
3987
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<unknown>;
|
|
947
3988
|
} & {
|
|
948
3989
|
context: {
|
|
949
3990
|
meta: {
|
|
950
|
-
|
|
3991
|
+
runAction: PluginMeta<unknown>;
|
|
951
3992
|
};
|
|
952
3993
|
};
|
|
953
3994
|
} & {
|
|
@@ -972,7 +4013,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
972
4013
|
cursor?: string;
|
|
973
4014
|
pageSize?: number;
|
|
974
4015
|
maxItems?: number;
|
|
975
|
-
}) | undefined) => import("
|
|
4016
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
976
4017
|
date: string;
|
|
977
4018
|
is_invite_only: boolean;
|
|
978
4019
|
is_private: boolean;
|
|
@@ -1006,6 +4047,9 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1006
4047
|
listAuthentications: {
|
|
1007
4048
|
packages: string[];
|
|
1008
4049
|
categories: string[];
|
|
4050
|
+
deprecation: {
|
|
4051
|
+
message: string;
|
|
4052
|
+
};
|
|
1009
4053
|
type: "list";
|
|
1010
4054
|
itemType: string;
|
|
1011
4055
|
inputSchema: import("zod").ZodObject<{
|
|
@@ -1013,10 +4057,10 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1013
4057
|
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1014
4058
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1015
4059
|
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1016
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4060
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1017
4061
|
}>;
|
|
1018
4062
|
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1019
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4063
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1020
4064
|
}>;
|
|
1021
4065
|
connections: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1022
4066
|
connectionIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
@@ -1059,6 +4103,35 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1059
4103
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1060
4104
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1061
4105
|
}, import("zod/v4/core").$strip>;
|
|
4106
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
4107
|
+
date: string;
|
|
4108
|
+
is_invite_only: boolean;
|
|
4109
|
+
is_private: boolean;
|
|
4110
|
+
shared_with_all: boolean;
|
|
4111
|
+
id: string;
|
|
4112
|
+
account_id: string;
|
|
4113
|
+
title?: string | null | undefined;
|
|
4114
|
+
lastchanged?: string | undefined;
|
|
4115
|
+
destination_selected_api?: string | null | undefined;
|
|
4116
|
+
is_stale?: string | undefined;
|
|
4117
|
+
is_shared?: string | undefined;
|
|
4118
|
+
marked_stale_at?: string | null | undefined;
|
|
4119
|
+
label?: string | null | undefined;
|
|
4120
|
+
identifier?: string | null | undefined;
|
|
4121
|
+
url?: string | undefined;
|
|
4122
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
4123
|
+
members?: string | undefined;
|
|
4124
|
+
permissions?: Record<string, boolean> | undefined;
|
|
4125
|
+
public_id?: string | undefined;
|
|
4126
|
+
account_public_id?: string | undefined;
|
|
4127
|
+
customuser_public_id?: string | undefined;
|
|
4128
|
+
implementation_id?: string | undefined;
|
|
4129
|
+
profile_id?: string | undefined;
|
|
4130
|
+
is_expired?: string | undefined;
|
|
4131
|
+
expired_at?: string | null | undefined;
|
|
4132
|
+
app_key?: string | undefined;
|
|
4133
|
+
app_version?: string | undefined;
|
|
4134
|
+
}, Record<string, unknown>, unknown>;
|
|
1062
4135
|
};
|
|
1063
4136
|
};
|
|
1064
4137
|
};
|
|
@@ -1103,6 +4176,9 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1103
4176
|
getAuthentication: {
|
|
1104
4177
|
packages: string[];
|
|
1105
4178
|
categories: string[];
|
|
4179
|
+
deprecation: {
|
|
4180
|
+
message: string;
|
|
4181
|
+
};
|
|
1106
4182
|
type: "item";
|
|
1107
4183
|
itemType: string;
|
|
1108
4184
|
inputSchema: import("zod").ZodObject<{
|
|
@@ -1139,6 +4215,35 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1139
4215
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1140
4216
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1141
4217
|
}, import("zod/v4/core").$strip>;
|
|
4218
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
4219
|
+
date: string;
|
|
4220
|
+
is_invite_only: boolean;
|
|
4221
|
+
is_private: boolean;
|
|
4222
|
+
shared_with_all: boolean;
|
|
4223
|
+
id: string;
|
|
4224
|
+
account_id: string;
|
|
4225
|
+
title?: string | null | undefined;
|
|
4226
|
+
lastchanged?: string | undefined;
|
|
4227
|
+
destination_selected_api?: string | null | undefined;
|
|
4228
|
+
is_stale?: string | undefined;
|
|
4229
|
+
is_shared?: string | undefined;
|
|
4230
|
+
marked_stale_at?: string | null | undefined;
|
|
4231
|
+
label?: string | null | undefined;
|
|
4232
|
+
identifier?: string | null | undefined;
|
|
4233
|
+
url?: string | undefined;
|
|
4234
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
4235
|
+
members?: string | undefined;
|
|
4236
|
+
permissions?: Record<string, boolean> | undefined;
|
|
4237
|
+
public_id?: string | undefined;
|
|
4238
|
+
account_public_id?: string | undefined;
|
|
4239
|
+
customuser_public_id?: string | undefined;
|
|
4240
|
+
implementation_id?: string | undefined;
|
|
4241
|
+
profile_id?: string | undefined;
|
|
4242
|
+
is_expired?: string | undefined;
|
|
4243
|
+
expired_at?: string | null | undefined;
|
|
4244
|
+
app_key?: string | undefined;
|
|
4245
|
+
app_version?: string | undefined;
|
|
4246
|
+
}, Record<string, unknown>, unknown>;
|
|
1142
4247
|
};
|
|
1143
4248
|
};
|
|
1144
4249
|
};
|
|
@@ -1190,16 +4295,19 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1190
4295
|
findFirstAuthentication: {
|
|
1191
4296
|
packages: string[];
|
|
1192
4297
|
categories: string[];
|
|
4298
|
+
deprecation: {
|
|
4299
|
+
message: string;
|
|
4300
|
+
};
|
|
1193
4301
|
type: "item";
|
|
1194
4302
|
itemType: string;
|
|
1195
4303
|
inputSchema: import("zod").ZodObject<{
|
|
1196
4304
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1197
4305
|
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1198
4306
|
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1199
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4307
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1200
4308
|
}>;
|
|
1201
4309
|
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1202
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4310
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1203
4311
|
}>;
|
|
1204
4312
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1205
4313
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1237,6 +4345,35 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1237
4345
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1238
4346
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1239
4347
|
}, import("zod/v4/core").$strip>;
|
|
4348
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
4349
|
+
date: string;
|
|
4350
|
+
is_invite_only: boolean;
|
|
4351
|
+
is_private: boolean;
|
|
4352
|
+
shared_with_all: boolean;
|
|
4353
|
+
id: string;
|
|
4354
|
+
account_id: string;
|
|
4355
|
+
title?: string | null | undefined;
|
|
4356
|
+
lastchanged?: string | undefined;
|
|
4357
|
+
destination_selected_api?: string | null | undefined;
|
|
4358
|
+
is_stale?: string | undefined;
|
|
4359
|
+
is_shared?: string | undefined;
|
|
4360
|
+
marked_stale_at?: string | null | undefined;
|
|
4361
|
+
label?: string | null | undefined;
|
|
4362
|
+
identifier?: string | null | undefined;
|
|
4363
|
+
url?: string | undefined;
|
|
4364
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
4365
|
+
members?: string | undefined;
|
|
4366
|
+
permissions?: Record<string, boolean> | undefined;
|
|
4367
|
+
public_id?: string | undefined;
|
|
4368
|
+
account_public_id?: string | undefined;
|
|
4369
|
+
customuser_public_id?: string | undefined;
|
|
4370
|
+
implementation_id?: string | undefined;
|
|
4371
|
+
profile_id?: string | undefined;
|
|
4372
|
+
is_expired?: string | undefined;
|
|
4373
|
+
expired_at?: string | null | undefined;
|
|
4374
|
+
app_key?: string | undefined;
|
|
4375
|
+
app_version?: string | undefined;
|
|
4376
|
+
}, Record<string, unknown>, unknown>;
|
|
1240
4377
|
};
|
|
1241
4378
|
};
|
|
1242
4379
|
};
|
|
@@ -1288,16 +4425,19 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1288
4425
|
findUniqueAuthentication: {
|
|
1289
4426
|
packages: string[];
|
|
1290
4427
|
categories: string[];
|
|
4428
|
+
deprecation: {
|
|
4429
|
+
message: string;
|
|
4430
|
+
};
|
|
1291
4431
|
type: "item";
|
|
1292
4432
|
itemType: string;
|
|
1293
4433
|
inputSchema: import("zod").ZodObject<{
|
|
1294
4434
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1295
4435
|
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1296
4436
|
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1297
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4437
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1298
4438
|
}>;
|
|
1299
4439
|
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1300
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4440
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1301
4441
|
}>;
|
|
1302
4442
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1303
4443
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1335,6 +4475,35 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1335
4475
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1336
4476
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1337
4477
|
}, import("zod/v4/core").$strip>;
|
|
4478
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
4479
|
+
date: string;
|
|
4480
|
+
is_invite_only: boolean;
|
|
4481
|
+
is_private: boolean;
|
|
4482
|
+
shared_with_all: boolean;
|
|
4483
|
+
id: string;
|
|
4484
|
+
account_id: string;
|
|
4485
|
+
title?: string | null | undefined;
|
|
4486
|
+
lastchanged?: string | undefined;
|
|
4487
|
+
destination_selected_api?: string | null | undefined;
|
|
4488
|
+
is_stale?: string | undefined;
|
|
4489
|
+
is_shared?: string | undefined;
|
|
4490
|
+
marked_stale_at?: string | null | undefined;
|
|
4491
|
+
label?: string | null | undefined;
|
|
4492
|
+
identifier?: string | null | undefined;
|
|
4493
|
+
url?: string | undefined;
|
|
4494
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
4495
|
+
members?: string | undefined;
|
|
4496
|
+
permissions?: Record<string, boolean> | undefined;
|
|
4497
|
+
public_id?: string | undefined;
|
|
4498
|
+
account_public_id?: string | undefined;
|
|
4499
|
+
customuser_public_id?: string | undefined;
|
|
4500
|
+
implementation_id?: string | undefined;
|
|
4501
|
+
profile_id?: string | undefined;
|
|
4502
|
+
is_expired?: string | undefined;
|
|
4503
|
+
expired_at?: string | null | undefined;
|
|
4504
|
+
app_key?: string | undefined;
|
|
4505
|
+
app_version?: string | undefined;
|
|
4506
|
+
}, Record<string, unknown>, unknown>;
|
|
1338
4507
|
};
|
|
1339
4508
|
};
|
|
1340
4509
|
};
|
|
@@ -1347,7 +4516,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1347
4516
|
cursor?: string;
|
|
1348
4517
|
pageSize?: number;
|
|
1349
4518
|
maxItems?: number;
|
|
1350
|
-
}) | undefined) => import("
|
|
4519
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1351
4520
|
client_id: string;
|
|
1352
4521
|
name: string;
|
|
1353
4522
|
allowed_scopes: ("external" | "credentials")[];
|
|
@@ -1357,7 +4526,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1357
4526
|
} & {
|
|
1358
4527
|
context: {
|
|
1359
4528
|
meta: {
|
|
1360
|
-
listClientCredentials: PluginMeta
|
|
4529
|
+
listClientCredentials: PluginMeta<unknown>;
|
|
1361
4530
|
};
|
|
1362
4531
|
};
|
|
1363
4532
|
} & {
|
|
@@ -1375,7 +4544,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1375
4544
|
} & {
|
|
1376
4545
|
context: {
|
|
1377
4546
|
meta: {
|
|
1378
|
-
createClientCredentials: PluginMeta
|
|
4547
|
+
createClientCredentials: PluginMeta<unknown>;
|
|
1379
4548
|
};
|
|
1380
4549
|
};
|
|
1381
4550
|
} & {
|
|
@@ -1387,7 +4556,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1387
4556
|
} & {
|
|
1388
4557
|
context: {
|
|
1389
4558
|
meta: {
|
|
1390
|
-
deleteClientCredentials: PluginMeta
|
|
4559
|
+
deleteClientCredentials: PluginMeta<unknown>;
|
|
1391
4560
|
};
|
|
1392
4561
|
};
|
|
1393
4562
|
} & {
|
|
@@ -1397,7 +4566,10 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1397
4566
|
fetch: {
|
|
1398
4567
|
description: string;
|
|
1399
4568
|
packages: string[];
|
|
1400
|
-
categories:
|
|
4569
|
+
categories: {
|
|
4570
|
+
key: string;
|
|
4571
|
+
title: string;
|
|
4572
|
+
}[];
|
|
1401
4573
|
returnType: string;
|
|
1402
4574
|
inputParameters: ({
|
|
1403
4575
|
name: string;
|
|
@@ -1408,8 +4580,8 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1408
4580
|
method: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1409
4581
|
POST: "POST";
|
|
1410
4582
|
GET: "GET";
|
|
1411
|
-
PUT: "PUT";
|
|
1412
4583
|
DELETE: "DELETE";
|
|
4584
|
+
PUT: "PUT";
|
|
1413
4585
|
PATCH: "PATCH";
|
|
1414
4586
|
HEAD: "HEAD";
|
|
1415
4587
|
OPTIONS: "OPTIONS";
|
|
@@ -1429,7 +4601,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1429
4601
|
} & {
|
|
1430
4602
|
request: (options?: {
|
|
1431
4603
|
url: string;
|
|
1432
|
-
method?: "POST" | "GET" | "
|
|
4604
|
+
method?: "POST" | "GET" | "DELETE" | "PUT" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
|
|
1433
4605
|
body?: any;
|
|
1434
4606
|
connection?: string | number | undefined;
|
|
1435
4607
|
connectionId?: string | number | undefined;
|
|
@@ -1440,7 +4612,38 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1440
4612
|
} & {
|
|
1441
4613
|
context: {
|
|
1442
4614
|
meta: {
|
|
1443
|
-
request: PluginMeta
|
|
4615
|
+
request: PluginMeta<unknown>;
|
|
4616
|
+
};
|
|
4617
|
+
};
|
|
4618
|
+
} & {
|
|
4619
|
+
listTriggerInboxes: (options?: ({
|
|
4620
|
+
name?: string | undefined;
|
|
4621
|
+
status?: string | undefined;
|
|
4622
|
+
pageSize?: number | undefined;
|
|
4623
|
+
maxItems?: number | undefined;
|
|
4624
|
+
cursor?: string | undefined;
|
|
4625
|
+
} & {
|
|
4626
|
+
cursor?: string;
|
|
4627
|
+
pageSize?: number;
|
|
4628
|
+
maxItems?: number;
|
|
4629
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
4630
|
+
id: string;
|
|
4631
|
+
created_at: string;
|
|
4632
|
+
name: string | null;
|
|
4633
|
+
status: string;
|
|
4634
|
+
paused_reason: string | null;
|
|
4635
|
+
notification_url: string | null;
|
|
4636
|
+
subscription: {
|
|
4637
|
+
connection_id: string | number | null;
|
|
4638
|
+
app_key: string;
|
|
4639
|
+
action_key: string;
|
|
4640
|
+
inputs: Record<string, unknown>;
|
|
4641
|
+
};
|
|
4642
|
+
}>;
|
|
4643
|
+
} & {
|
|
4644
|
+
context: {
|
|
4645
|
+
meta: {
|
|
4646
|
+
listTriggerInboxes: PluginMeta<unknown>;
|
|
1444
4647
|
};
|
|
1445
4648
|
};
|
|
1446
4649
|
} & {
|
|
@@ -1470,7 +4673,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1470
4673
|
} & {
|
|
1471
4674
|
context: {
|
|
1472
4675
|
meta: {
|
|
1473
|
-
createTriggerInbox: PluginMeta
|
|
4676
|
+
createTriggerInbox: PluginMeta<unknown>;
|
|
1474
4677
|
};
|
|
1475
4678
|
};
|
|
1476
4679
|
} & {
|
|
@@ -1500,38 +4703,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1500
4703
|
} & {
|
|
1501
4704
|
context: {
|
|
1502
4705
|
meta: {
|
|
1503
|
-
ensureTriggerInbox: PluginMeta
|
|
1504
|
-
};
|
|
1505
|
-
};
|
|
1506
|
-
} & {
|
|
1507
|
-
listTriggerInboxes: (options?: ({
|
|
1508
|
-
name?: string | undefined;
|
|
1509
|
-
status?: string | undefined;
|
|
1510
|
-
pageSize?: number | undefined;
|
|
1511
|
-
maxItems?: number | undefined;
|
|
1512
|
-
cursor?: string | undefined;
|
|
1513
|
-
} & {
|
|
1514
|
-
cursor?: string;
|
|
1515
|
-
pageSize?: number;
|
|
1516
|
-
maxItems?: number;
|
|
1517
|
-
}) | undefined) => import("./index").PaginatedSdkResult<{
|
|
1518
|
-
id: string;
|
|
1519
|
-
created_at: string;
|
|
1520
|
-
name: string | null;
|
|
1521
|
-
status: string;
|
|
1522
|
-
paused_reason: string | null;
|
|
1523
|
-
notification_url: string | null;
|
|
1524
|
-
subscription: {
|
|
1525
|
-
connection_id: string | number | null;
|
|
1526
|
-
app_key: string;
|
|
1527
|
-
action_key: string;
|
|
1528
|
-
inputs: Record<string, unknown>;
|
|
1529
|
-
};
|
|
1530
|
-
}>;
|
|
1531
|
-
} & {
|
|
1532
|
-
context: {
|
|
1533
|
-
meta: {
|
|
1534
|
-
listTriggerInboxes: PluginMeta;
|
|
4706
|
+
ensureTriggerInbox: PluginMeta<unknown>;
|
|
1535
4707
|
};
|
|
1536
4708
|
};
|
|
1537
4709
|
} & {
|
|
@@ -1556,7 +4728,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1556
4728
|
} & {
|
|
1557
4729
|
context: {
|
|
1558
4730
|
meta: {
|
|
1559
|
-
getTriggerInbox: PluginMeta
|
|
4731
|
+
getTriggerInbox: PluginMeta<unknown>;
|
|
1560
4732
|
};
|
|
1561
4733
|
};
|
|
1562
4734
|
} & {
|
|
@@ -1582,7 +4754,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1582
4754
|
} & {
|
|
1583
4755
|
context: {
|
|
1584
4756
|
meta: {
|
|
1585
|
-
updateTriggerInbox: PluginMeta
|
|
4757
|
+
updateTriggerInbox: PluginMeta<unknown>;
|
|
1586
4758
|
};
|
|
1587
4759
|
};
|
|
1588
4760
|
} & {
|
|
@@ -1607,7 +4779,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1607
4779
|
} & {
|
|
1608
4780
|
context: {
|
|
1609
4781
|
meta: {
|
|
1610
|
-
deleteTriggerInbox: PluginMeta
|
|
4782
|
+
deleteTriggerInbox: PluginMeta<unknown>;
|
|
1611
4783
|
};
|
|
1612
4784
|
};
|
|
1613
4785
|
} & {
|
|
@@ -1632,7 +4804,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1632
4804
|
} & {
|
|
1633
4805
|
context: {
|
|
1634
4806
|
meta: {
|
|
1635
|
-
pauseTriggerInbox: PluginMeta
|
|
4807
|
+
pauseTriggerInbox: PluginMeta<unknown>;
|
|
1636
4808
|
};
|
|
1637
4809
|
};
|
|
1638
4810
|
} & {
|
|
@@ -1657,7 +4829,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1657
4829
|
} & {
|
|
1658
4830
|
context: {
|
|
1659
4831
|
meta: {
|
|
1660
|
-
resumeTriggerInbox: PluginMeta
|
|
4832
|
+
resumeTriggerInbox: PluginMeta<unknown>;
|
|
1661
4833
|
};
|
|
1662
4834
|
};
|
|
1663
4835
|
} & {
|
|
@@ -1670,7 +4842,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1670
4842
|
cursor?: string;
|
|
1671
4843
|
pageSize?: number;
|
|
1672
4844
|
maxItems?: number;
|
|
1673
|
-
}) | undefined) => import("
|
|
4845
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1674
4846
|
id: string;
|
|
1675
4847
|
created_at: string;
|
|
1676
4848
|
status: string;
|
|
@@ -1683,7 +4855,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1683
4855
|
} & {
|
|
1684
4856
|
context: {
|
|
1685
4857
|
meta: {
|
|
1686
|
-
listTriggerInboxMessages: PluginMeta
|
|
4858
|
+
listTriggerInboxMessages: PluginMeta<unknown>;
|
|
1687
4859
|
};
|
|
1688
4860
|
};
|
|
1689
4861
|
} & {
|
|
@@ -1716,7 +4888,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1716
4888
|
} & {
|
|
1717
4889
|
context: {
|
|
1718
4890
|
meta: {
|
|
1719
|
-
leaseTriggerInboxMessages: PluginMeta
|
|
4891
|
+
leaseTriggerInboxMessages: PluginMeta<unknown>;
|
|
1720
4892
|
};
|
|
1721
4893
|
};
|
|
1722
4894
|
} & {
|
|
@@ -1742,7 +4914,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1742
4914
|
} & {
|
|
1743
4915
|
context: {
|
|
1744
4916
|
meta: {
|
|
1745
|
-
ackTriggerInboxMessages: PluginMeta
|
|
4917
|
+
ackTriggerInboxMessages: PluginMeta<unknown>;
|
|
1746
4918
|
};
|
|
1747
4919
|
};
|
|
1748
4920
|
} & {
|
|
@@ -1768,7 +4940,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1768
4940
|
} & {
|
|
1769
4941
|
context: {
|
|
1770
4942
|
meta: {
|
|
1771
|
-
releaseTriggerInboxMessages: PluginMeta
|
|
4943
|
+
releaseTriggerInboxMessages: PluginMeta<unknown>;
|
|
1772
4944
|
};
|
|
1773
4945
|
};
|
|
1774
4946
|
} & {
|
|
@@ -1782,7 +4954,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1782
4954
|
returnType: string;
|
|
1783
4955
|
inputSchema: import("zod").ZodObject<{
|
|
1784
4956
|
inbox: import("zod").ZodString & {
|
|
1785
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4957
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1786
4958
|
};
|
|
1787
4959
|
onMessage: import("zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
|
|
1788
4960
|
concurrency: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1795,7 +4967,38 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1795
4967
|
maxMessages: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1796
4968
|
}, import("zod/v4/core").$strip>;
|
|
1797
4969
|
resolvers: {
|
|
1798
|
-
inbox: import("
|
|
4970
|
+
inbox: import("kitcore").DynamicResolver<{
|
|
4971
|
+
listTriggerInboxes: (options?: ({
|
|
4972
|
+
name?: string | undefined;
|
|
4973
|
+
status?: string | undefined;
|
|
4974
|
+
pageSize?: number | undefined;
|
|
4975
|
+
maxItems?: number | undefined;
|
|
4976
|
+
cursor?: string | undefined;
|
|
4977
|
+
} & {
|
|
4978
|
+
cursor?: string;
|
|
4979
|
+
pageSize?: number;
|
|
4980
|
+
maxItems?: number;
|
|
4981
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
4982
|
+
id: string;
|
|
4983
|
+
created_at: string;
|
|
4984
|
+
name: string | null;
|
|
4985
|
+
status: string;
|
|
4986
|
+
paused_reason: string | null;
|
|
4987
|
+
notification_url: string | null;
|
|
4988
|
+
subscription: {
|
|
4989
|
+
connection_id: string | number | null;
|
|
4990
|
+
app_key: string;
|
|
4991
|
+
action_key: string;
|
|
4992
|
+
inputs: Record<string, unknown>;
|
|
4993
|
+
};
|
|
4994
|
+
}>;
|
|
4995
|
+
} & {
|
|
4996
|
+
context: {
|
|
4997
|
+
meta: {
|
|
4998
|
+
listTriggerInboxes: PluginMeta<unknown>;
|
|
4999
|
+
};
|
|
5000
|
+
};
|
|
5001
|
+
}, {
|
|
1799
5002
|
id: string;
|
|
1800
5003
|
created_at: string;
|
|
1801
5004
|
name: string | null;
|
|
@@ -1827,7 +5030,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1827
5030
|
returnType: string;
|
|
1828
5031
|
inputSchema: import("zod").ZodObject<{
|
|
1829
5032
|
inbox: import("zod").ZodString & {
|
|
1830
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
5033
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1831
5034
|
};
|
|
1832
5035
|
onMessage: import("zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
|
|
1833
5036
|
concurrency: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1840,7 +5043,38 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1840
5043
|
maxDrainIntervalSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1841
5044
|
}, import("zod/v4/core").$strip>;
|
|
1842
5045
|
resolvers: {
|
|
1843
|
-
inbox: import("
|
|
5046
|
+
inbox: import("kitcore").DynamicResolver<{
|
|
5047
|
+
listTriggerInboxes: (options?: ({
|
|
5048
|
+
name?: string | undefined;
|
|
5049
|
+
status?: string | undefined;
|
|
5050
|
+
pageSize?: number | undefined;
|
|
5051
|
+
maxItems?: number | undefined;
|
|
5052
|
+
cursor?: string | undefined;
|
|
5053
|
+
} & {
|
|
5054
|
+
cursor?: string;
|
|
5055
|
+
pageSize?: number;
|
|
5056
|
+
maxItems?: number;
|
|
5057
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
5058
|
+
id: string;
|
|
5059
|
+
created_at: string;
|
|
5060
|
+
name: string | null;
|
|
5061
|
+
status: string;
|
|
5062
|
+
paused_reason: string | null;
|
|
5063
|
+
notification_url: string | null;
|
|
5064
|
+
subscription: {
|
|
5065
|
+
connection_id: string | number | null;
|
|
5066
|
+
app_key: string;
|
|
5067
|
+
action_key: string;
|
|
5068
|
+
inputs: Record<string, unknown>;
|
|
5069
|
+
};
|
|
5070
|
+
}>;
|
|
5071
|
+
} & {
|
|
5072
|
+
context: {
|
|
5073
|
+
meta: {
|
|
5074
|
+
listTriggerInboxes: PluginMeta<unknown>;
|
|
5075
|
+
};
|
|
5076
|
+
};
|
|
5077
|
+
}, {
|
|
1844
5078
|
id: string;
|
|
1845
5079
|
created_at: string;
|
|
1846
5080
|
name: string | null;
|
|
@@ -1871,7 +5105,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1871
5105
|
cursor?: string;
|
|
1872
5106
|
pageSize?: number;
|
|
1873
5107
|
maxItems?: number;
|
|
1874
|
-
}) | undefined) => import("
|
|
5108
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1875
5109
|
description: string;
|
|
1876
5110
|
key: string;
|
|
1877
5111
|
app_key: string;
|
|
@@ -1886,7 +5120,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1886
5120
|
} & {
|
|
1887
5121
|
context: {
|
|
1888
5122
|
meta: {
|
|
1889
|
-
listTriggers: PluginMeta
|
|
5123
|
+
listTriggers: PluginMeta<unknown>;
|
|
1890
5124
|
};
|
|
1891
5125
|
};
|
|
1892
5126
|
} & {
|
|
@@ -1902,7 +5136,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1902
5136
|
cursor?: string;
|
|
1903
5137
|
pageSize?: number;
|
|
1904
5138
|
maxItems?: number;
|
|
1905
|
-
}) | undefined) => import("
|
|
5139
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1906
5140
|
key: string;
|
|
1907
5141
|
type: "input_field";
|
|
1908
5142
|
default_value: string;
|
|
@@ -1926,7 +5160,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1926
5160
|
} & {
|
|
1927
5161
|
context: {
|
|
1928
5162
|
meta: {
|
|
1929
|
-
listTriggerInputFields: PluginMeta
|
|
5163
|
+
listTriggerInputFields: PluginMeta<unknown>;
|
|
1930
5164
|
};
|
|
1931
5165
|
};
|
|
1932
5166
|
} & {
|
|
@@ -1944,7 +5178,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1944
5178
|
cursor?: string;
|
|
1945
5179
|
pageSize?: number;
|
|
1946
5180
|
maxItems?: number;
|
|
1947
|
-
}) | undefined) => import("
|
|
5181
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1948
5182
|
key?: string | undefined;
|
|
1949
5183
|
label?: string | undefined;
|
|
1950
5184
|
sample?: string | undefined;
|
|
@@ -1953,7 +5187,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1953
5187
|
} & {
|
|
1954
5188
|
context: {
|
|
1955
5189
|
meta: {
|
|
1956
|
-
listTriggerInputFieldChoices: PluginMeta
|
|
5190
|
+
listTriggerInputFieldChoices: PluginMeta<unknown>;
|
|
1957
5191
|
};
|
|
1958
5192
|
};
|
|
1959
5193
|
} & {
|
|
@@ -1968,7 +5202,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1968
5202
|
} & {
|
|
1969
5203
|
context: {
|
|
1970
5204
|
meta: {
|
|
1971
|
-
getTriggerInputFieldsSchema: PluginMeta
|
|
5205
|
+
getTriggerInputFieldsSchema: PluginMeta<unknown>;
|
|
1972
5206
|
};
|
|
1973
5207
|
};
|
|
1974
5208
|
} & {
|
|
@@ -1986,7 +5220,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
1986
5220
|
cursor?: string;
|
|
1987
5221
|
pageSize?: number;
|
|
1988
5222
|
maxItems?: number;
|
|
1989
|
-
}) | undefined) => import("
|
|
5223
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1990
5224
|
id: string;
|
|
1991
5225
|
name: string;
|
|
1992
5226
|
created_at: string;
|
|
@@ -2000,7 +5234,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2000
5234
|
} & {
|
|
2001
5235
|
context: {
|
|
2002
5236
|
meta: {
|
|
2003
|
-
listTables: PluginMeta
|
|
5237
|
+
listTables: PluginMeta<unknown>;
|
|
2004
5238
|
};
|
|
2005
5239
|
};
|
|
2006
5240
|
} & {
|
|
@@ -2024,7 +5258,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2024
5258
|
} & {
|
|
2025
5259
|
context: {
|
|
2026
5260
|
meta: {
|
|
2027
|
-
getTable: PluginMeta
|
|
5261
|
+
getTable: PluginMeta<unknown>;
|
|
2028
5262
|
};
|
|
2029
5263
|
};
|
|
2030
5264
|
} & {
|
|
@@ -2038,7 +5272,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2038
5272
|
} & {
|
|
2039
5273
|
context: {
|
|
2040
5274
|
meta: {
|
|
2041
|
-
deleteTable: PluginMeta
|
|
5275
|
+
deleteTable: PluginMeta<unknown>;
|
|
2042
5276
|
};
|
|
2043
5277
|
};
|
|
2044
5278
|
} & {
|
|
@@ -2061,7 +5295,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2061
5295
|
} & {
|
|
2062
5296
|
context: {
|
|
2063
5297
|
meta: {
|
|
2064
|
-
createTable: PluginMeta
|
|
5298
|
+
createTable: PluginMeta<unknown>;
|
|
2065
5299
|
};
|
|
2066
5300
|
};
|
|
2067
5301
|
} & {
|
|
@@ -2090,7 +5324,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2090
5324
|
} & {
|
|
2091
5325
|
context: {
|
|
2092
5326
|
meta: {
|
|
2093
|
-
listTableFields: PluginMeta
|
|
5327
|
+
listTableFields: PluginMeta<unknown>;
|
|
2094
5328
|
};
|
|
2095
5329
|
};
|
|
2096
5330
|
} & {
|
|
@@ -2125,7 +5359,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2125
5359
|
} & {
|
|
2126
5360
|
context: {
|
|
2127
5361
|
meta: {
|
|
2128
|
-
createTableFields: PluginMeta
|
|
5362
|
+
createTableFields: PluginMeta<unknown>;
|
|
2129
5363
|
};
|
|
2130
5364
|
};
|
|
2131
5365
|
} & {
|
|
@@ -2141,31 +5375,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2141
5375
|
} & {
|
|
2142
5376
|
context: {
|
|
2143
5377
|
meta: {
|
|
2144
|
-
deleteTableFields: PluginMeta
|
|
2145
|
-
};
|
|
2146
|
-
};
|
|
2147
|
-
} & {
|
|
2148
|
-
getTableRecord: (options?: {
|
|
2149
|
-
table: string;
|
|
2150
|
-
record: string;
|
|
2151
|
-
keyMode: "names" | "ids";
|
|
2152
|
-
} | {
|
|
2153
|
-
tableId: string;
|
|
2154
|
-
recordId: string;
|
|
2155
|
-
keyMode: "names" | "ids";
|
|
2156
|
-
} | undefined) => Promise<{
|
|
2157
|
-
data: {
|
|
2158
|
-
data: Record<string, unknown>;
|
|
2159
|
-
id: string;
|
|
2160
|
-
created_at: string;
|
|
2161
|
-
edited_at: string;
|
|
2162
|
-
deleted_at?: string | null | undefined;
|
|
2163
|
-
};
|
|
2164
|
-
}>;
|
|
2165
|
-
} & {
|
|
2166
|
-
context: {
|
|
2167
|
-
meta: {
|
|
2168
|
-
getTableRecord: PluginMeta;
|
|
5378
|
+
deleteTableFields: PluginMeta<unknown>;
|
|
2169
5379
|
};
|
|
2170
5380
|
};
|
|
2171
5381
|
} & {
|
|
@@ -2205,9 +5415,9 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2205
5415
|
cursor?: string;
|
|
2206
5416
|
pageSize?: number;
|
|
2207
5417
|
maxItems?: number;
|
|
2208
|
-
}) | undefined) => import("
|
|
2209
|
-
id: string;
|
|
5418
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2210
5419
|
data: Record<string, unknown>;
|
|
5420
|
+
id: string;
|
|
2211
5421
|
created_at: string;
|
|
2212
5422
|
edited_at: string;
|
|
2213
5423
|
deleted_at?: string | null | undefined;
|
|
@@ -2215,7 +5425,31 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2215
5425
|
} & {
|
|
2216
5426
|
context: {
|
|
2217
5427
|
meta: {
|
|
2218
|
-
listTableRecords: PluginMeta
|
|
5428
|
+
listTableRecords: PluginMeta<unknown>;
|
|
5429
|
+
};
|
|
5430
|
+
};
|
|
5431
|
+
} & {
|
|
5432
|
+
getTableRecord: (options?: {
|
|
5433
|
+
table: string;
|
|
5434
|
+
record: string;
|
|
5435
|
+
keyMode: "names" | "ids";
|
|
5436
|
+
} | {
|
|
5437
|
+
tableId: string;
|
|
5438
|
+
recordId: string;
|
|
5439
|
+
keyMode: "names" | "ids";
|
|
5440
|
+
} | undefined) => Promise<{
|
|
5441
|
+
data: {
|
|
5442
|
+
data: Record<string, unknown>;
|
|
5443
|
+
id: string;
|
|
5444
|
+
created_at: string;
|
|
5445
|
+
edited_at: string;
|
|
5446
|
+
deleted_at?: string | null | undefined;
|
|
5447
|
+
};
|
|
5448
|
+
}>;
|
|
5449
|
+
} & {
|
|
5450
|
+
context: {
|
|
5451
|
+
meta: {
|
|
5452
|
+
getTableRecord: PluginMeta<unknown>;
|
|
2219
5453
|
};
|
|
2220
5454
|
};
|
|
2221
5455
|
} & {
|
|
@@ -2243,7 +5477,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2243
5477
|
} & {
|
|
2244
5478
|
context: {
|
|
2245
5479
|
meta: {
|
|
2246
|
-
createTableRecords: PluginMeta
|
|
5480
|
+
createTableRecords: PluginMeta<unknown>;
|
|
2247
5481
|
};
|
|
2248
5482
|
};
|
|
2249
5483
|
} & {
|
|
@@ -2259,7 +5493,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2259
5493
|
} & {
|
|
2260
5494
|
context: {
|
|
2261
5495
|
meta: {
|
|
2262
|
-
deleteTableRecords: PluginMeta
|
|
5496
|
+
deleteTableRecords: PluginMeta<unknown>;
|
|
2263
5497
|
};
|
|
2264
5498
|
};
|
|
2265
5499
|
} & {
|
|
@@ -2289,7 +5523,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2289
5523
|
} & {
|
|
2290
5524
|
context: {
|
|
2291
5525
|
meta: {
|
|
2292
|
-
updateTableRecords: PluginMeta
|
|
5526
|
+
updateTableRecords: PluginMeta<unknown>;
|
|
2293
5527
|
};
|
|
2294
5528
|
};
|
|
2295
5529
|
} & {
|
|
@@ -2301,7 +5535,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2301
5535
|
cursor?: string;
|
|
2302
5536
|
pageSize?: number;
|
|
2303
5537
|
maxItems?: number;
|
|
2304
|
-
}) | undefined) => import("
|
|
5538
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2305
5539
|
id: string;
|
|
2306
5540
|
name: string;
|
|
2307
5541
|
description: string | null;
|
|
@@ -2314,7 +5548,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2314
5548
|
} & {
|
|
2315
5549
|
context: {
|
|
2316
5550
|
meta: {
|
|
2317
|
-
listWorkflows: PluginMeta
|
|
5551
|
+
listWorkflows: PluginMeta<unknown>;
|
|
2318
5552
|
};
|
|
2319
5553
|
};
|
|
2320
5554
|
} & {
|
|
@@ -2343,7 +5577,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2343
5577
|
} & {
|
|
2344
5578
|
context: {
|
|
2345
5579
|
meta: {
|
|
2346
|
-
getWorkflow: PluginMeta
|
|
5580
|
+
getWorkflow: PluginMeta<unknown>;
|
|
2347
5581
|
};
|
|
2348
5582
|
};
|
|
2349
5583
|
} & {
|
|
@@ -2363,7 +5597,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2363
5597
|
} & {
|
|
2364
5598
|
context: {
|
|
2365
5599
|
meta: {
|
|
2366
|
-
createWorkflow: PluginMeta
|
|
5600
|
+
createWorkflow: PluginMeta<unknown>;
|
|
2367
5601
|
};
|
|
2368
5602
|
};
|
|
2369
5603
|
} & {
|
|
@@ -2385,7 +5619,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2385
5619
|
} & {
|
|
2386
5620
|
context: {
|
|
2387
5621
|
meta: {
|
|
2388
|
-
updateWorkflow: PluginMeta
|
|
5622
|
+
updateWorkflow: PluginMeta<unknown>;
|
|
2389
5623
|
};
|
|
2390
5624
|
};
|
|
2391
5625
|
} & {
|
|
@@ -2400,7 +5634,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2400
5634
|
} & {
|
|
2401
5635
|
context: {
|
|
2402
5636
|
meta: {
|
|
2403
|
-
enableWorkflow: PluginMeta
|
|
5637
|
+
enableWorkflow: PluginMeta<unknown>;
|
|
2404
5638
|
};
|
|
2405
5639
|
};
|
|
2406
5640
|
} & {
|
|
@@ -2415,7 +5649,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2415
5649
|
} & {
|
|
2416
5650
|
context: {
|
|
2417
5651
|
meta: {
|
|
2418
|
-
disableWorkflow: PluginMeta
|
|
5652
|
+
disableWorkflow: PluginMeta<unknown>;
|
|
2419
5653
|
};
|
|
2420
5654
|
};
|
|
2421
5655
|
} & {
|
|
@@ -2429,7 +5663,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2429
5663
|
} & {
|
|
2430
5664
|
context: {
|
|
2431
5665
|
meta: {
|
|
2432
|
-
deleteWorkflow: PluginMeta
|
|
5666
|
+
deleteWorkflow: PluginMeta<unknown>;
|
|
2433
5667
|
};
|
|
2434
5668
|
};
|
|
2435
5669
|
} & {
|
|
@@ -2441,7 +5675,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2441
5675
|
cursor?: string;
|
|
2442
5676
|
pageSize?: number;
|
|
2443
5677
|
maxItems?: number;
|
|
2444
|
-
}) | undefined) => import("
|
|
5678
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2445
5679
|
id: string;
|
|
2446
5680
|
status: "initialized" | "started" | "finished" | "failed" | "cancelled";
|
|
2447
5681
|
input: unknown;
|
|
@@ -2459,7 +5693,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2459
5693
|
} & {
|
|
2460
5694
|
context: {
|
|
2461
5695
|
meta: {
|
|
2462
|
-
listDurableRuns: PluginMeta
|
|
5696
|
+
listDurableRuns: PluginMeta<unknown>;
|
|
2463
5697
|
};
|
|
2464
5698
|
};
|
|
2465
5699
|
} & {
|
|
@@ -2523,7 +5757,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2523
5757
|
} & {
|
|
2524
5758
|
context: {
|
|
2525
5759
|
meta: {
|
|
2526
|
-
getDurableRun: PluginMeta
|
|
5760
|
+
getDurableRun: PluginMeta<unknown>;
|
|
2527
5761
|
};
|
|
2528
5762
|
};
|
|
2529
5763
|
} & {
|
|
@@ -2551,7 +5785,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2551
5785
|
} & {
|
|
2552
5786
|
context: {
|
|
2553
5787
|
meta: {
|
|
2554
|
-
runDurable: PluginMeta
|
|
5788
|
+
runDurable: PluginMeta<unknown>;
|
|
2555
5789
|
};
|
|
2556
5790
|
};
|
|
2557
5791
|
} & {
|
|
@@ -2566,7 +5800,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2566
5800
|
} & {
|
|
2567
5801
|
context: {
|
|
2568
5802
|
meta: {
|
|
2569
|
-
cancelDurableRun: PluginMeta
|
|
5803
|
+
cancelDurableRun: PluginMeta<unknown>;
|
|
2570
5804
|
};
|
|
2571
5805
|
};
|
|
2572
5806
|
} & {
|
|
@@ -2590,7 +5824,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2590
5824
|
} & {
|
|
2591
5825
|
context: {
|
|
2592
5826
|
meta: {
|
|
2593
|
-
publishWorkflowVersion: PluginMeta
|
|
5827
|
+
publishWorkflowVersion: PluginMeta<unknown>;
|
|
2594
5828
|
};
|
|
2595
5829
|
};
|
|
2596
5830
|
} & {
|
|
@@ -2603,7 +5837,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2603
5837
|
cursor?: string;
|
|
2604
5838
|
pageSize?: number;
|
|
2605
5839
|
maxItems?: number;
|
|
2606
|
-
}) | undefined) => import("
|
|
5840
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2607
5841
|
id: string;
|
|
2608
5842
|
workflow_id: string;
|
|
2609
5843
|
zapier_durable_version: string;
|
|
@@ -2614,7 +5848,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2614
5848
|
} & {
|
|
2615
5849
|
context: {
|
|
2616
5850
|
meta: {
|
|
2617
|
-
listWorkflowVersions: PluginMeta
|
|
5851
|
+
listWorkflowVersions: PluginMeta<unknown>;
|
|
2618
5852
|
};
|
|
2619
5853
|
};
|
|
2620
5854
|
} & {
|
|
@@ -2635,7 +5869,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2635
5869
|
} & {
|
|
2636
5870
|
context: {
|
|
2637
5871
|
meta: {
|
|
2638
|
-
getWorkflowVersion: PluginMeta
|
|
5872
|
+
getWorkflowVersion: PluginMeta<unknown>;
|
|
2639
5873
|
};
|
|
2640
5874
|
};
|
|
2641
5875
|
} & {
|
|
@@ -2648,7 +5882,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2648
5882
|
cursor?: string;
|
|
2649
5883
|
pageSize?: number;
|
|
2650
5884
|
maxItems?: number;
|
|
2651
|
-
}) | undefined) => import("
|
|
5885
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2652
5886
|
id: string;
|
|
2653
5887
|
trigger_id: string | null;
|
|
2654
5888
|
durable_run_id: string | null;
|
|
@@ -2663,7 +5897,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2663
5897
|
} & {
|
|
2664
5898
|
context: {
|
|
2665
5899
|
meta: {
|
|
2666
|
-
listWorkflowRuns: PluginMeta
|
|
5900
|
+
listWorkflowRuns: PluginMeta<unknown>;
|
|
2667
5901
|
};
|
|
2668
5902
|
};
|
|
2669
5903
|
} & {
|
|
@@ -2687,7 +5921,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2687
5921
|
} & {
|
|
2688
5922
|
context: {
|
|
2689
5923
|
meta: {
|
|
2690
|
-
getWorkflowRun: PluginMeta
|
|
5924
|
+
getWorkflowRun: PluginMeta<unknown>;
|
|
2691
5925
|
};
|
|
2692
5926
|
};
|
|
2693
5927
|
} & {
|
|
@@ -2709,7 +5943,24 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2709
5943
|
} & {
|
|
2710
5944
|
context: {
|
|
2711
5945
|
meta: {
|
|
2712
|
-
getTriggerRun: PluginMeta
|
|
5946
|
+
getTriggerRun: PluginMeta<unknown>;
|
|
5947
|
+
};
|
|
5948
|
+
};
|
|
5949
|
+
} & {
|
|
5950
|
+
triggerWorkflow: (options?: {
|
|
5951
|
+
workflow: string;
|
|
5952
|
+
input?: unknown;
|
|
5953
|
+
} | undefined) => Promise<{
|
|
5954
|
+
data: {
|
|
5955
|
+
workflow: string;
|
|
5956
|
+
status: number;
|
|
5957
|
+
body: unknown;
|
|
5958
|
+
};
|
|
5959
|
+
}>;
|
|
5960
|
+
} & {
|
|
5961
|
+
context: {
|
|
5962
|
+
meta: {
|
|
5963
|
+
triggerWorkflow: PluginMeta<unknown>;
|
|
2713
5964
|
};
|
|
2714
5965
|
};
|
|
2715
5966
|
} & {
|
|
@@ -2758,10 +6009,11 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("./i
|
|
|
2758
6009
|
} & {
|
|
2759
6010
|
context: {
|
|
2760
6011
|
meta: {
|
|
2761
|
-
getProfile: PluginMeta
|
|
6012
|
+
getProfile: PluginMeta<unknown>;
|
|
2762
6013
|
};
|
|
2763
6014
|
};
|
|
2764
6015
|
}>;
|
|
2765
|
-
export
|
|
6016
|
+
export interface ZapierSdk extends ReturnType<typeof createZapierSdk> {
|
|
6017
|
+
}
|
|
2766
6018
|
export type { PluginMeta };
|
|
2767
6019
|
//# sourceMappingURL=experimental.d.ts.map
|