@zapier/zapier-sdk 0.65.0 → 0.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/README.md +64 -34
- package/dist/api/client.d.ts.map +1 -1
- package/dist/api/client.js +2 -0
- package/dist/api/debug.d.ts.map +1 -1
- package/dist/api/debug.js +6 -4
- package/dist/api/polling.d.ts +2 -0
- package/dist/api/polling.d.ts.map +1 -1
- package/dist/api/polling.js +10 -2
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +8 -5
- package/dist/core-stack.d.ts +24 -0
- package/dist/core-stack.d.ts.map +1 -0
- package/dist/core-stack.js +32 -0
- package/dist/experimental.cjs +1598 -1323
- package/dist/experimental.d.mts +3476 -224
- package/dist/experimental.d.ts +3508 -256
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.js +117 -87
- package/dist/experimental.mjs +1585 -1322
- package/dist/formatters/action.d.ts +4 -0
- package/dist/formatters/action.d.ts.map +1 -0
- package/dist/formatters/action.js +18 -0
- package/dist/formatters/actionResult.d.ts +3 -0
- package/dist/formatters/actionResult.d.ts.map +1 -0
- package/dist/formatters/actionResult.js +25 -0
- package/dist/formatters/app.d.ts +4 -0
- package/dist/formatters/app.d.ts.map +1 -0
- package/dist/formatters/app.js +10 -0
- package/dist/formatters/clientCredentials.d.ts +5 -0
- package/dist/formatters/clientCredentials.d.ts.map +1 -0
- package/dist/formatters/clientCredentials.js +27 -0
- package/dist/formatters/connection.d.ts +4 -0
- package/dist/formatters/connection.d.ts.map +1 -0
- package/dist/formatters/connection.js +26 -0
- package/dist/formatters/field.d.ts +4 -0
- package/dist/formatters/field.d.ts.map +1 -0
- package/dist/formatters/field.js +51 -0
- package/dist/formatters/inputFieldChoice.d.ts +4 -0
- package/dist/formatters/inputFieldChoice.d.ts.map +1 -0
- package/dist/formatters/inputFieldChoice.js +16 -0
- package/dist/formatters/tableField.d.ts +4 -0
- package/dist/formatters/tableField.d.ts.map +1 -0
- package/dist/formatters/tableField.js +7 -0
- package/dist/formatters/tableRecord.d.ts +5 -3
- package/dist/formatters/tableRecord.d.ts.map +1 -1
- package/dist/formatters/tableRecord.js +4 -3
- package/dist/formatters/triggerInbox.d.ts +4 -0
- package/dist/formatters/triggerInbox.d.ts.map +1 -0
- package/dist/formatters/triggerInbox.js +31 -0
- package/dist/formatters/triggerMessage.d.ts +5 -0
- package/dist/formatters/triggerMessage.d.ts.map +1 -0
- package/dist/formatters/triggerMessage.js +34 -0
- package/dist/formatters/userProfile.d.ts +4 -0
- package/dist/formatters/userProfile.d.ts.map +1 -0
- package/dist/formatters/userProfile.js +19 -0
- package/dist/{index-JhNxS_mq.d.mts → index-Dh0b5NAY.d.mts} +13207 -7904
- package/dist/{index-JhNxS_mq.d.ts → index-Dh0b5NAY.d.ts} +13207 -7904
- package/dist/index.cjs +1729 -1469
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +12 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -7
- package/dist/index.mjs +1716 -1468
- package/dist/plugins/api/index.d.ts +1 -1
- package/dist/plugins/api/index.js +1 -1
- package/dist/plugins/apps/index.d.ts +8 -5
- package/dist/plugins/apps/index.d.ts.map +1 -1
- package/dist/plugins/apps/index.js +1 -1
- package/dist/plugins/capabilities/index.d.ts +1 -1
- package/dist/plugins/capabilities/index.js +1 -1
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.d.ts +32 -2
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.js +1 -1
- package/dist/plugins/codeSubstrate/createWorkflow/index.d.ts +2 -2
- package/dist/plugins/codeSubstrate/createWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts +32 -2
- package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getDurableRun/index.js +1 -1
- package/dist/plugins/codeSubstrate/getTriggerRun/index.d.ts +2 -2
- package/dist/plugins/codeSubstrate/getTriggerRun/index.js +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts +55 -2
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.js +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts +51 -2
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.js +1 -1
- package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts +3 -3
- package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listDurableRuns/index.js +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts +28 -3
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.js +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts +28 -3
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.js +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts +3 -3
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/index.js +2 -3
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.js +1 -1
- package/dist/plugins/codeSubstrate/runDurable/index.d.ts +2 -2
- package/dist/plugins/codeSubstrate/runDurable/index.js +1 -1
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts +73 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts.map +1 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.js +52 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.d.ts +16 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.d.ts.map +1 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.js +31 -0
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/updateWorkflow/index.js +1 -1
- package/dist/plugins/connections/index.d.ts +1 -1
- package/dist/plugins/connections/index.js +1 -1
- package/dist/plugins/createClientCredentials/index.d.ts +2 -2
- package/dist/plugins/createClientCredentials/index.d.ts.map +1 -1
- package/dist/plugins/createClientCredentials/index.js +4 -2
- package/dist/plugins/createClientCredentials/schemas.d.ts +1 -2
- package/dist/plugins/createClientCredentials/schemas.d.ts.map +1 -1
- package/dist/plugins/deleteClientCredentials/index.d.ts +24 -2
- package/dist/plugins/deleteClientCredentials/index.d.ts.map +1 -1
- package/dist/plugins/deleteClientCredentials/index.js +2 -2
- package/dist/plugins/deleteClientCredentials/schemas.d.ts +1 -2
- package/dist/plugins/deleteClientCredentials/schemas.d.ts.map +1 -1
- package/dist/plugins/deprecated/authentications.d.ts +144 -16
- package/dist/plugins/deprecated/authentications.d.ts.map +1 -1
- package/dist/plugins/deprecated/authentications.js +14 -5
- package/dist/plugins/deprecated/inputFields.d.ts +58 -23
- package/dist/plugins/deprecated/inputFields.d.ts.map +1 -1
- package/dist/plugins/deprecated/inputFields.js +15 -7
- package/dist/plugins/eventEmission/event-emission-hook.d.ts +10 -0
- package/dist/plugins/eventEmission/event-emission-hook.d.ts.map +1 -0
- package/dist/plugins/eventEmission/event-emission-hook.js +47 -0
- package/dist/plugins/eventEmission/index.d.ts +5 -3
- package/dist/plugins/eventEmission/index.d.ts.map +1 -1
- package/dist/plugins/eventEmission/index.js +16 -9
- package/dist/plugins/eventEmission/method-metadata.d.ts +16 -0
- package/dist/plugins/eventEmission/method-metadata.d.ts.map +1 -0
- package/dist/plugins/eventEmission/method-metadata.js +20 -0
- package/dist/plugins/eventEmission/transport.d.ts.map +1 -1
- package/dist/plugins/eventEmission/transport.js +2 -1
- package/dist/plugins/fetch/index.d.ts +11 -5
- package/dist/plugins/fetch/index.d.ts.map +1 -1
- package/dist/plugins/fetch/index.js +42 -32
- package/dist/plugins/fetch/schemas.d.ts +1 -1
- package/dist/plugins/findFirstConnection/index.d.ts +4 -4
- package/dist/plugins/findFirstConnection/index.d.ts.map +1 -1
- package/dist/plugins/findFirstConnection/index.js +4 -2
- package/dist/plugins/findFirstConnection/schemas.d.ts +2 -2
- package/dist/plugins/findUniqueConnection/index.d.ts +4 -4
- package/dist/plugins/findUniqueConnection/index.d.ts.map +1 -1
- package/dist/plugins/findUniqueConnection/index.js +4 -2
- package/dist/plugins/findUniqueConnection/schemas.d.ts +2 -2
- package/dist/plugins/getAction/index.d.ts +141 -4
- package/dist/plugins/getAction/index.d.ts.map +1 -1
- package/dist/plugins/getAction/index.js +5 -3
- package/dist/plugins/getAction/schemas.d.ts +6 -6
- package/dist/plugins/getActionInputFieldsSchema/index.d.ts +232 -3
- package/dist/plugins/getActionInputFieldsSchema/index.d.ts.map +1 -1
- package/dist/plugins/getActionInputFieldsSchema/index.js +3 -3
- package/dist/plugins/getActionInputFieldsSchema/schemas.d.ts +6 -6
- package/dist/plugins/getApp/index.d.ts +4 -4
- package/dist/plugins/getApp/index.d.ts.map +1 -1
- package/dist/plugins/getApp/index.js +3 -1
- package/dist/plugins/getApp/schemas.d.ts +4 -4
- package/dist/plugins/getConnection/index.d.ts +125 -2
- package/dist/plugins/getConnection/index.d.ts.map +1 -1
- package/dist/plugins/getConnection/index.js +4 -2
- package/dist/plugins/getProfile/index.d.ts +2 -2
- package/dist/plugins/getProfile/index.d.ts.map +1 -1
- package/dist/plugins/getProfile/index.js +4 -2
- package/dist/plugins/getProfile/schemas.d.ts +1 -2
- package/dist/plugins/getProfile/schemas.d.ts.map +1 -1
- package/dist/plugins/listActionInputFieldChoices/index.d.ts +287 -4
- package/dist/plugins/listActionInputFieldChoices/index.d.ts.map +1 -1
- package/dist/plugins/listActionInputFieldChoices/index.js +6 -4
- package/dist/plugins/listActionInputFieldChoices/schemas.d.ts +8 -8
- package/dist/plugins/listActionInputFieldChoices/schemas.d.ts.map +1 -1
- package/dist/plugins/listActionInputFieldChoices/schemas.js +1 -22
- package/dist/plugins/listActionInputFields/index.d.ts +168 -5
- package/dist/plugins/listActionInputFields/index.d.ts.map +1 -1
- package/dist/plugins/listActionInputFields/index.js +7 -5
- package/dist/plugins/listActionInputFields/schemas.d.ts +6 -6
- package/dist/plugins/listActions/index.d.ts +140 -3
- package/dist/plugins/listActions/index.d.ts.map +1 -1
- package/dist/plugins/listActions/index.js +6 -4
- package/dist/plugins/listActions/schemas.d.ts +4 -4
- package/dist/plugins/listApps/index.d.ts +3 -3
- package/dist/plugins/listApps/index.d.ts.map +1 -1
- package/dist/plugins/listApps/index.js +6 -4
- package/dist/plugins/listClientCredentials/index.d.ts +3 -3
- package/dist/plugins/listClientCredentials/index.d.ts.map +1 -1
- package/dist/plugins/listClientCredentials/index.js +6 -4
- package/dist/plugins/listConnections/index.d.ts +140 -3
- package/dist/plugins/listConnections/index.d.ts.map +1 -1
- package/dist/plugins/listConnections/index.js +7 -5
- package/dist/plugins/listConnections/schemas.d.ts +2 -2
- package/dist/plugins/manifest/index.d.ts +1 -1
- package/dist/plugins/manifest/index.d.ts.map +1 -1
- package/dist/plugins/manifest/index.js +6 -4
- package/dist/plugins/registry/index.d.ts +1 -1
- package/dist/plugins/registry/index.js +1 -1
- package/dist/plugins/request/index.d.ts +8 -5
- package/dist/plugins/request/index.d.ts.map +1 -1
- package/dist/plugins/request/index.js +4 -3
- package/dist/plugins/request/schemas.d.ts +2 -2
- package/dist/plugins/runAction/index.d.ts +168 -5
- package/dist/plugins/runAction/index.d.ts.map +1 -1
- package/dist/plugins/runAction/index.js +9 -5
- package/dist/plugins/runAction/schemas.d.ts +6 -6
- package/dist/plugins/tables/createTable/index.d.ts +2 -2
- package/dist/plugins/tables/createTable/index.js +2 -2
- package/dist/plugins/tables/createTable/schemas.d.ts +1 -2
- package/dist/plugins/tables/createTable/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/createTableFields/index.d.ts +34 -2
- package/dist/plugins/tables/createTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableFields/index.js +4 -2
- package/dist/plugins/tables/createTableFields/schemas.d.ts +3 -4
- package/dist/plugins/tables/createTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/createTableRecords/index.d.ts +63 -2
- package/dist/plugins/tables/createTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableRecords/index.js +2 -2
- package/dist/plugins/tables/createTableRecords/schemas.d.ts +3 -4
- package/dist/plugins/tables/createTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTable/index.d.ts +34 -2
- package/dist/plugins/tables/deleteTable/index.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTable/index.js +2 -2
- package/dist/plugins/tables/deleteTable/schemas.d.ts +3 -4
- package/dist/plugins/tables/deleteTable/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableFields/index.d.ts +63 -2
- package/dist/plugins/tables/deleteTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableFields/index.js +2 -2
- package/dist/plugins/tables/deleteTableFields/schemas.d.ts +4 -5
- package/dist/plugins/tables/deleteTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableRecords/index.d.ts +84 -2
- package/dist/plugins/tables/deleteTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableRecords/index.js +2 -2
- package/dist/plugins/tables/deleteTableRecords/schemas.d.ts +4 -5
- package/dist/plugins/tables/deleteTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/getTable/index.d.ts +34 -2
- package/dist/plugins/tables/getTable/index.d.ts.map +1 -1
- package/dist/plugins/tables/getTable/index.js +2 -2
- package/dist/plugins/tables/getTable/schemas.d.ts +2 -2
- package/dist/plugins/tables/getTableRecord/index.d.ts +84 -2
- package/dist/plugins/tables/getTableRecord/index.d.ts.map +1 -1
- package/dist/plugins/tables/getTableRecord/index.js +2 -2
- package/dist/plugins/tables/getTableRecord/schemas.d.ts +6 -7
- package/dist/plugins/tables/getTableRecord/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/getTableRecord/schemas.js +1 -10
- package/dist/plugins/tables/listTableFields/index.d.ts +34 -2
- package/dist/plugins/tables/listTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTableFields/index.js +4 -2
- package/dist/plugins/tables/listTableFields/schemas.d.ts +4 -5
- package/dist/plugins/tables/listTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/listTableFields/schemas.js +1 -9
- package/dist/plugins/tables/listTableRecords/index.d.ts +65 -4
- package/dist/plugins/tables/listTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTableRecords/index.js +3 -3
- package/dist/plugins/tables/listTableRecords/schemas.d.ts +2 -2
- package/dist/plugins/tables/listTables/index.d.ts +3 -3
- package/dist/plugins/tables/listTables/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTables/index.js +4 -4
- package/dist/plugins/tables/updateTableRecords/index.d.ts +63 -2
- package/dist/plugins/tables/updateTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/updateTableRecords/index.js +2 -2
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts +3 -4
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.d.ts +59 -2
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.d.ts.map +1 -1
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.js +1 -1
- package/dist/plugins/triggers/ackTriggerInboxMessages/schemas.d.ts +1 -1
- package/dist/plugins/triggers/createTriggerInbox/index.d.ts +231 -2
- package/dist/plugins/triggers/createTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/createTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/createTriggerInbox/schemas.d.ts +3 -4
- package/dist/plugins/triggers/createTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/deleteTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/deleteTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/deleteTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/deleteTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/deleteTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/drainTriggerInbox/index.d.ts +68 -6
- package/dist/plugins/triggers/drainTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/drainTriggerInbox/index.js +1 -1
- package/dist/plugins/triggers/drainTriggerInbox/schemas.d.ts +2 -2
- package/dist/plugins/triggers/ensureTriggerInbox/index.d.ts +231 -2
- package/dist/plugins/triggers/ensureTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/ensureTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/ensureTriggerInbox/schemas.d.ts +3 -4
- package/dist/plugins/triggers/ensureTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/getTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/getTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/getTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/getTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/getTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts +232 -3
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts.map +1 -1
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.js +1 -1
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/schemas.d.ts +2 -2
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.d.ts +33 -2
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.d.ts.map +1 -1
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.js +1 -1
- package/dist/plugins/triggers/leaseTriggerInboxMessages/schemas.d.ts +1 -1
- package/dist/plugins/triggers/listTriggerInboxMessages/index.d.ts +34 -3
- package/dist/plugins/triggers/listTriggerInboxMessages/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggerInboxMessages/index.js +5 -13
- package/dist/plugins/triggers/listTriggerInboxMessages/schemas.d.ts +1 -1
- package/dist/plugins/triggers/listTriggerInboxes/index.d.ts +3 -3
- package/dist/plugins/triggers/listTriggerInboxes/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggerInboxes/index.js +5 -14
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts +288 -5
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.js +7 -5
- package/dist/plugins/triggers/listTriggerInputFieldChoices/schemas.d.ts +3 -3
- package/dist/plugins/triggers/listTriggerInputFields/index.d.ts +234 -5
- package/dist/plugins/triggers/listTriggerInputFields/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggerInputFields/index.js +6 -5
- package/dist/plugins/triggers/listTriggerInputFields/schemas.d.ts +2 -2
- package/dist/plugins/triggers/listTriggers/index.d.ts +142 -5
- package/dist/plugins/triggers/listTriggers/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggers/index.js +6 -5
- package/dist/plugins/triggers/listTriggers/schemas.d.ts +1 -1
- package/dist/plugins/triggers/pauseTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/pauseTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/pauseTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/pauseTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/pauseTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.d.ts +59 -2
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.d.ts.map +1 -1
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.js +1 -1
- package/dist/plugins/triggers/releaseTriggerInboxMessages/schemas.d.ts +1 -1
- package/dist/plugins/triggers/resumeTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/resumeTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/resumeTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/resumeTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/resumeTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/updateTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/updateTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/updateTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/updateTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/updateTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/watchTriggerInbox/index.d.ts +37 -6
- package/dist/plugins/triggers/watchTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/watchTriggerInbox/index.js +1 -1
- package/dist/resolvers/actionKey.d.ts +3 -2
- package/dist/resolvers/actionKey.d.ts.map +1 -1
- package/dist/resolvers/actionType.d.ts +7 -2
- package/dist/resolvers/actionType.d.ts.map +1 -1
- package/dist/resolvers/actionType.js +3 -0
- package/dist/resolvers/appKey.d.ts +10 -5
- package/dist/resolvers/appKey.d.ts.map +1 -1
- package/dist/resolvers/appKey.js +3 -0
- package/dist/resolvers/clientCredentialsName.d.ts +1 -1
- package/dist/resolvers/clientCredentialsName.d.ts.map +1 -1
- package/dist/resolvers/clientId.d.ts +3 -2
- package/dist/resolvers/clientId.d.ts.map +1 -1
- package/dist/resolvers/clientId.js +1 -1
- package/dist/resolvers/connectionId.d.ts +5 -2
- package/dist/resolvers/connectionId.d.ts.map +1 -1
- package/dist/resolvers/connectionId.js +1 -1
- package/dist/resolvers/durableRunId.d.ts +3 -2
- package/dist/resolvers/durableRunId.d.ts.map +1 -1
- package/dist/resolvers/durableRunId.js +3 -2
- package/dist/resolvers/inputFieldKey.d.ts +3 -2
- package/dist/resolvers/inputFieldKey.d.ts.map +1 -1
- package/dist/resolvers/inputFieldKey.js +1 -1
- package/dist/resolvers/tableFieldIds.d.ts +3 -2
- package/dist/resolvers/tableFieldIds.d.ts.map +1 -1
- package/dist/resolvers/tableFields.d.ts +2 -2
- package/dist/resolvers/tableFields.d.ts.map +1 -1
- package/dist/resolvers/tableFilters.d.ts +3 -2
- package/dist/resolvers/tableFilters.d.ts.map +1 -1
- package/dist/resolvers/tableId.d.ts +3 -2
- package/dist/resolvers/tableId.d.ts.map +1 -1
- package/dist/resolvers/tableId.js +1 -1
- package/dist/resolvers/tableName.d.ts +1 -1
- package/dist/resolvers/tableName.d.ts.map +1 -1
- package/dist/resolvers/tableRecordId.d.ts +4 -3
- package/dist/resolvers/tableRecordId.d.ts.map +1 -1
- package/dist/resolvers/tableRecords.d.ts +4 -3
- package/dist/resolvers/tableRecords.d.ts.map +1 -1
- package/dist/resolvers/tableSort.d.ts +3 -2
- package/dist/resolvers/tableSort.d.ts.map +1 -1
- package/dist/resolvers/triggerInbox.d.ts +3 -2
- package/dist/resolvers/triggerInbox.d.ts.map +1 -1
- package/dist/resolvers/triggerInbox.js +1 -1
- package/dist/resolvers/triggerMessages.d.ts +3 -2
- package/dist/resolvers/triggerMessages.d.ts.map +1 -1
- package/dist/resolvers/triggerMessages.js +2 -4
- package/dist/resolvers/workflowId.d.ts +3 -2
- package/dist/resolvers/workflowId.d.ts.map +1 -1
- package/dist/resolvers/workflowId.js +3 -2
- package/dist/resolvers/workflowRunId.d.ts +3 -2
- package/dist/resolvers/workflowRunId.d.ts.map +1 -1
- package/dist/resolvers/workflowRunId.js +5 -5
- package/dist/resolvers/workflowVersionId.d.ts +3 -2
- package/dist/resolvers/workflowVersionId.d.ts.map +1 -1
- package/dist/resolvers/workflowVersionId.js +7 -7
- package/dist/schemas/Action.d.ts.map +1 -1
- package/dist/schemas/Action.js +6 -30
- package/dist/schemas/App.d.ts +0 -1
- package/dist/schemas/App.d.ts.map +1 -1
- package/dist/schemas/App.js +2 -14
- package/dist/schemas/ClientCredentials.d.ts.map +1 -1
- package/dist/schemas/ClientCredentials.js +3 -41
- package/dist/schemas/Connection.d.ts.map +1 -1
- package/dist/schemas/Connection.js +2 -28
- package/dist/schemas/Field.d.ts.map +1 -1
- package/dist/schemas/Field.js +3 -70
- package/dist/schemas/Run.d.ts.map +1 -1
- package/dist/schemas/Run.js +3 -29
- package/dist/schemas/TriggerInbox.d.ts.map +1 -1
- package/dist/schemas/TriggerInbox.js +1 -33
- package/dist/schemas/TriggerMessage.d.ts.map +1 -1
- package/dist/schemas/TriggerMessage.js +2 -60
- package/dist/schemas/UserProfile.d.ts +0 -1
- package/dist/schemas/UserProfile.d.ts.map +1 -1
- package/dist/schemas/UserProfile.js +1 -20
- package/dist/sdk.d.ts +2761 -441
- package/dist/sdk.d.ts.map +1 -1
- package/dist/sdk.js +93 -129
- package/dist/types/errors.d.ts +44 -42
- package/dist/types/errors.d.ts.map +1 -1
- package/dist/types/errors.js +79 -33
- package/dist/types/functions.d.ts +1 -41
- package/dist/types/functions.d.ts.map +1 -1
- package/dist/types/properties.d.ts +7 -7
- package/dist/types/properties.js +1 -1
- package/dist/types/sdk.d.ts +1 -1
- package/dist/types/sdk.d.ts.map +1 -1
- package/dist/utils/domain-utils.js +1 -1
- package/dist/utils/logging.d.ts +1 -12
- package/dist/utils/logging.d.ts.map +1 -1
- package/dist/utils/logging.js +2 -20
- package/dist/utils/pagination.d.ts +38 -0
- package/dist/utils/pagination.d.ts.map +1 -0
- package/dist/utils/pagination.js +53 -0
- package/package.json +3 -2
- package/dist/registry.d.ts +0 -9
- package/dist/registry.d.ts.map +0 -1
- package/dist/registry.js +0 -103
- package/dist/types/meta.d.ts +0 -9
- package/dist/types/meta.d.ts.map +0 -1
- package/dist/types/meta.js +0 -3
- package/dist/types/plugin.d.ts +0 -84
- package/dist/types/plugin.d.ts.map +0 -1
- package/dist/types/plugin.js +0 -13
- package/dist/types/registry.d.ts +0 -54
- package/dist/types/registry.d.ts.map +0 -1
- package/dist/types/registry.js +0 -1
- package/dist/utils/function-utils.d.ts +0 -59
- package/dist/utils/function-utils.d.ts.map +0 -1
- package/dist/utils/function-utils.js +0 -245
- package/dist/utils/pagination-utils.d.ts +0 -73
- package/dist/utils/pagination-utils.d.ts.map +0 -1
- package/dist/utils/pagination-utils.js +0 -308
- package/dist/utils/plugin-utils.d.ts +0 -245
- package/dist/utils/plugin-utils.d.ts.map +0 -1
- package/dist/utils/plugin-utils.js +0 -234
- package/dist/utils/schema-utils.d.ts +0 -211
- package/dist/utils/schema-utils.d.ts.map +0 -1
- package/dist/utils/schema-utils.js +0 -72
- package/dist/utils/string-utils.d.ts +0 -40
- package/dist/utils/string-utils.d.ts.map +0 -1
- package/dist/utils/string-utils.js +0 -69
- package/dist/utils/telemetry-context.d.ts +0 -15
- package/dist/utils/telemetry-context.d.ts.map +0 -1
- package/dist/utils/telemetry-context.js +0 -48
- package/dist/utils/telemetry-utils.d.ts +0 -44
- package/dist/utils/telemetry-utils.d.ts.map +0 -1
- package/dist/utils/telemetry-utils.js +0 -60
- package/dist/utils/validation.d.ts +0 -4
- package/dist/utils/validation.d.ts.map +0 -1
- package/dist/utils/validation.js +0 -30
package/dist/sdk.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { BaseSdkOptions } from "./types/sdk";
|
|
2
|
-
import type { WithAddPlugin, Plugin, PluginProvides, PluginMeta } from "./types/plugin";
|
|
3
|
-
import { type RegistryResult } from "./registry";
|
|
4
2
|
export interface ZapierSdkOptions extends BaseSdkOptions {
|
|
5
3
|
}
|
|
6
4
|
export declare function createOptionsPlugin(options: ZapierSdkOptions): () => {
|
|
@@ -8,36 +6,44 @@ export declare function createOptionsPlugin(options: ZapierSdkOptions): () => {
|
|
|
8
6
|
options: ZapierSdkOptions;
|
|
9
7
|
};
|
|
10
8
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Create a pluggable SDK ready for chain-style extension via
|
|
11
|
+
* `.addPlugin(...)`. The returned SDK comes with kitcore's core plugin
|
|
12
|
+
* pre-installed (`zapierAdaptError` for branded validation/unknown errors;
|
|
13
|
+
* pagination shaping is per-method via each plugin's `adaptPage`).
|
|
14
|
+
*
|
|
15
|
+
* @deprecated The chain-style `createSdk().addPlugin(...).addPlugin(...)`
|
|
16
|
+
* pattern is going away. Build SDKs in one pass with
|
|
17
|
+
* `createPluginStack().use(...).toSdk()` instead — each `.toSdk()`
|
|
18
|
+
* produces fresh plugin closures, whereas the chain inherits closures
|
|
19
|
+
* from the prior step and shares state across derived SDKs. This entry
|
|
20
|
+
* point stays as a migration doorway for code written against the older
|
|
21
|
+
* chain pattern and will be removed once internal call sites finish
|
|
22
|
+
* migrating.
|
|
23
|
+
*/
|
|
24
|
+
export declare function createSdk(): import("kitcore").WithAddPlugin<object & {
|
|
25
|
+
context: {
|
|
26
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
27
|
+
hooks: import("kitcore").MethodHooks;
|
|
28
|
+
};
|
|
29
|
+
} & {
|
|
30
|
+
context: {
|
|
31
|
+
core: import("kitcore").CoreOptions;
|
|
32
|
+
};
|
|
33
|
+
}>;
|
|
33
34
|
/**
|
|
34
35
|
* @deprecated `getRegistry` is now built into every sdk, so the "without
|
|
35
36
|
* registry" form has no behavioral difference from {@link createZapierSdk}.
|
|
36
37
|
* Use {@link createZapierSdk} instead.
|
|
37
38
|
*/
|
|
38
|
-
export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
39
|
+
export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): import("kitcore").WithAddPlugin<object & {
|
|
40
|
+
context: {
|
|
41
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
42
|
+
hooks: import("kitcore").MethodHooks;
|
|
43
|
+
};
|
|
44
|
+
} & {
|
|
39
45
|
context: {
|
|
40
|
-
|
|
46
|
+
core: import("kitcore").CoreOptions;
|
|
41
47
|
};
|
|
42
48
|
} & {
|
|
43
49
|
context: {
|
|
@@ -115,7 +121,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
115
121
|
cursor?: string;
|
|
116
122
|
pageSize?: number;
|
|
117
123
|
maxItems?: number;
|
|
118
|
-
}) | undefined) => import("
|
|
124
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
119
125
|
slug: string;
|
|
120
126
|
title: string;
|
|
121
127
|
key: string;
|
|
@@ -171,7 +177,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
171
177
|
} & {
|
|
172
178
|
context: {
|
|
173
179
|
meta: {
|
|
174
|
-
listApps: PluginMeta
|
|
180
|
+
listApps: import("kitcore").PluginMeta<unknown>;
|
|
175
181
|
};
|
|
176
182
|
};
|
|
177
183
|
} & {
|
|
@@ -237,7 +243,204 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
237
243
|
} & {
|
|
238
244
|
context: {
|
|
239
245
|
meta: {
|
|
240
|
-
getApp: PluginMeta
|
|
246
|
+
getApp: import("kitcore").PluginMeta<unknown>;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
} & {
|
|
250
|
+
listConnections: (options?: ({
|
|
251
|
+
title?: string | undefined;
|
|
252
|
+
search?: string | undefined;
|
|
253
|
+
owner?: string | undefined;
|
|
254
|
+
app?: string | undefined;
|
|
255
|
+
appKey?: string | undefined;
|
|
256
|
+
connections?: string[] | undefined;
|
|
257
|
+
connectionIds?: string[] | undefined;
|
|
258
|
+
authenticationIds?: string[] | undefined;
|
|
259
|
+
account?: string | undefined;
|
|
260
|
+
accountId?: string | undefined;
|
|
261
|
+
includeShared?: boolean | undefined;
|
|
262
|
+
isExpired?: boolean | undefined;
|
|
263
|
+
expired?: boolean | undefined;
|
|
264
|
+
pageSize?: number | undefined;
|
|
265
|
+
maxItems?: number | undefined;
|
|
266
|
+
cursor?: string | undefined;
|
|
267
|
+
} & {
|
|
268
|
+
cursor?: string;
|
|
269
|
+
pageSize?: number;
|
|
270
|
+
maxItems?: number;
|
|
271
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
272
|
+
date: string;
|
|
273
|
+
is_invite_only: boolean;
|
|
274
|
+
is_private: boolean;
|
|
275
|
+
shared_with_all: boolean;
|
|
276
|
+
id: string;
|
|
277
|
+
account_id: string;
|
|
278
|
+
title?: string | null | undefined;
|
|
279
|
+
lastchanged?: string | undefined;
|
|
280
|
+
destination_selected_api?: string | null | undefined;
|
|
281
|
+
is_stale?: string | undefined;
|
|
282
|
+
is_shared?: string | undefined;
|
|
283
|
+
marked_stale_at?: string | null | undefined;
|
|
284
|
+
label?: string | null | undefined;
|
|
285
|
+
identifier?: string | null | undefined;
|
|
286
|
+
url?: string | undefined;
|
|
287
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
288
|
+
members?: string | undefined;
|
|
289
|
+
permissions?: Record<string, boolean> | undefined;
|
|
290
|
+
public_id?: string | undefined;
|
|
291
|
+
account_public_id?: string | undefined;
|
|
292
|
+
customuser_public_id?: string | undefined;
|
|
293
|
+
implementation_id?: string | undefined;
|
|
294
|
+
profile_id?: string | undefined;
|
|
295
|
+
is_expired?: string | undefined;
|
|
296
|
+
expired_at?: string | null | undefined;
|
|
297
|
+
app_key?: string | undefined;
|
|
298
|
+
app_version?: string | undefined;
|
|
299
|
+
}>;
|
|
300
|
+
} & {
|
|
301
|
+
context: {
|
|
302
|
+
meta: {
|
|
303
|
+
listConnections: import("kitcore").PluginMeta<unknown>;
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
} & {
|
|
307
|
+
getConnection: (options?: {
|
|
308
|
+
connection?: string | number | undefined;
|
|
309
|
+
connectionId?: string | number | undefined;
|
|
310
|
+
authenticationId?: string | number | undefined;
|
|
311
|
+
} | undefined) => Promise<{
|
|
312
|
+
data: {
|
|
313
|
+
date: string;
|
|
314
|
+
is_invite_only: boolean;
|
|
315
|
+
is_private: boolean;
|
|
316
|
+
shared_with_all: boolean;
|
|
317
|
+
id: string;
|
|
318
|
+
account_id: string;
|
|
319
|
+
title?: string | null | undefined;
|
|
320
|
+
lastchanged?: string | undefined;
|
|
321
|
+
destination_selected_api?: string | null | undefined;
|
|
322
|
+
is_stale?: string | undefined;
|
|
323
|
+
is_shared?: string | undefined;
|
|
324
|
+
marked_stale_at?: string | null | undefined;
|
|
325
|
+
label?: string | null | undefined;
|
|
326
|
+
identifier?: string | null | undefined;
|
|
327
|
+
url?: string | undefined;
|
|
328
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
329
|
+
members?: string | undefined;
|
|
330
|
+
permissions?: Record<string, boolean> | undefined;
|
|
331
|
+
public_id?: string | undefined;
|
|
332
|
+
account_public_id?: string | undefined;
|
|
333
|
+
customuser_public_id?: string | undefined;
|
|
334
|
+
implementation_id?: string | undefined;
|
|
335
|
+
profile_id?: string | undefined;
|
|
336
|
+
is_expired?: string | undefined;
|
|
337
|
+
expired_at?: string | null | undefined;
|
|
338
|
+
app_key?: string | undefined;
|
|
339
|
+
app_version?: string | undefined;
|
|
340
|
+
};
|
|
341
|
+
}>;
|
|
342
|
+
} & {
|
|
343
|
+
context: {
|
|
344
|
+
meta: {
|
|
345
|
+
getConnection: import("kitcore").PluginMeta<unknown>;
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
} & {
|
|
349
|
+
findFirstConnection: (options?: {
|
|
350
|
+
title?: string | undefined;
|
|
351
|
+
search?: string | undefined;
|
|
352
|
+
appKey?: string | undefined;
|
|
353
|
+
app?: string | undefined;
|
|
354
|
+
owner?: string | undefined;
|
|
355
|
+
account?: string | undefined;
|
|
356
|
+
accountId?: string | undefined;
|
|
357
|
+
includeShared?: boolean | undefined;
|
|
358
|
+
isExpired?: boolean | undefined;
|
|
359
|
+
expired?: boolean | undefined;
|
|
360
|
+
} | undefined) => Promise<{
|
|
361
|
+
data: {
|
|
362
|
+
date: string;
|
|
363
|
+
is_invite_only: boolean;
|
|
364
|
+
is_private: boolean;
|
|
365
|
+
shared_with_all: boolean;
|
|
366
|
+
id: string;
|
|
367
|
+
account_id: string;
|
|
368
|
+
title?: string | null | undefined;
|
|
369
|
+
lastchanged?: string | undefined;
|
|
370
|
+
destination_selected_api?: string | null | undefined;
|
|
371
|
+
is_stale?: string | undefined;
|
|
372
|
+
is_shared?: string | undefined;
|
|
373
|
+
marked_stale_at?: string | null | undefined;
|
|
374
|
+
label?: string | null | undefined;
|
|
375
|
+
identifier?: string | null | undefined;
|
|
376
|
+
url?: string | undefined;
|
|
377
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
378
|
+
members?: string | undefined;
|
|
379
|
+
permissions?: Record<string, boolean> | undefined;
|
|
380
|
+
public_id?: string | undefined;
|
|
381
|
+
account_public_id?: string | undefined;
|
|
382
|
+
customuser_public_id?: string | undefined;
|
|
383
|
+
implementation_id?: string | undefined;
|
|
384
|
+
profile_id?: string | undefined;
|
|
385
|
+
is_expired?: string | undefined;
|
|
386
|
+
expired_at?: string | null | undefined;
|
|
387
|
+
app_key?: string | undefined;
|
|
388
|
+
app_version?: string | undefined;
|
|
389
|
+
};
|
|
390
|
+
}>;
|
|
391
|
+
} & {
|
|
392
|
+
context: {
|
|
393
|
+
meta: {
|
|
394
|
+
findFirstConnection: import("kitcore").PluginMeta<unknown>;
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
} & {
|
|
398
|
+
findUniqueConnection: (options?: {
|
|
399
|
+
title?: string | undefined;
|
|
400
|
+
search?: string | undefined;
|
|
401
|
+
appKey?: string | undefined;
|
|
402
|
+
app?: string | undefined;
|
|
403
|
+
owner?: string | undefined;
|
|
404
|
+
account?: string | undefined;
|
|
405
|
+
accountId?: string | undefined;
|
|
406
|
+
includeShared?: boolean | undefined;
|
|
407
|
+
isExpired?: boolean | undefined;
|
|
408
|
+
expired?: boolean | undefined;
|
|
409
|
+
} | undefined) => Promise<{
|
|
410
|
+
data: {
|
|
411
|
+
date: string;
|
|
412
|
+
is_invite_only: boolean;
|
|
413
|
+
is_private: boolean;
|
|
414
|
+
shared_with_all: boolean;
|
|
415
|
+
id: string;
|
|
416
|
+
account_id: string;
|
|
417
|
+
title?: string | null | undefined;
|
|
418
|
+
lastchanged?: string | undefined;
|
|
419
|
+
destination_selected_api?: string | null | undefined;
|
|
420
|
+
is_stale?: string | undefined;
|
|
421
|
+
is_shared?: string | undefined;
|
|
422
|
+
marked_stale_at?: string | null | undefined;
|
|
423
|
+
label?: string | null | undefined;
|
|
424
|
+
identifier?: string | null | undefined;
|
|
425
|
+
url?: string | undefined;
|
|
426
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
427
|
+
members?: string | undefined;
|
|
428
|
+
permissions?: Record<string, boolean> | undefined;
|
|
429
|
+
public_id?: string | undefined;
|
|
430
|
+
account_public_id?: string | undefined;
|
|
431
|
+
customuser_public_id?: string | undefined;
|
|
432
|
+
implementation_id?: string | undefined;
|
|
433
|
+
profile_id?: string | undefined;
|
|
434
|
+
is_expired?: string | undefined;
|
|
435
|
+
expired_at?: string | null | undefined;
|
|
436
|
+
app_key?: string | undefined;
|
|
437
|
+
app_version?: string | undefined;
|
|
438
|
+
};
|
|
439
|
+
}>;
|
|
440
|
+
} & {
|
|
441
|
+
context: {
|
|
442
|
+
meta: {
|
|
443
|
+
findUniqueConnection: import("kitcore").PluginMeta<unknown>;
|
|
241
444
|
};
|
|
242
445
|
};
|
|
243
446
|
} & {
|
|
@@ -257,7 +460,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
257
460
|
cursor?: string;
|
|
258
461
|
pageSize?: number;
|
|
259
462
|
maxItems?: number;
|
|
260
|
-
}) | undefined) => import("
|
|
463
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
261
464
|
description: string;
|
|
262
465
|
key: string;
|
|
263
466
|
app_key: string;
|
|
@@ -272,7 +475,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
272
475
|
} & {
|
|
273
476
|
context: {
|
|
274
477
|
meta: {
|
|
275
|
-
listActions: PluginMeta
|
|
478
|
+
listActions: import("kitcore").PluginMeta<unknown>;
|
|
276
479
|
};
|
|
277
480
|
};
|
|
278
481
|
} & {
|
|
@@ -301,7 +504,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
301
504
|
} & {
|
|
302
505
|
context: {
|
|
303
506
|
meta: {
|
|
304
|
-
getAction: PluginMeta
|
|
507
|
+
getAction: import("kitcore").PluginMeta<unknown>;
|
|
305
508
|
};
|
|
306
509
|
};
|
|
307
510
|
} & {
|
|
@@ -331,7 +534,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
331
534
|
cursor?: string;
|
|
332
535
|
pageSize?: number;
|
|
333
536
|
maxItems?: number;
|
|
334
|
-
}) | undefined) => import("
|
|
537
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
335
538
|
key: string;
|
|
336
539
|
type: "input_field";
|
|
337
540
|
default_value: string;
|
|
@@ -355,7 +558,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
355
558
|
} & {
|
|
356
559
|
context: {
|
|
357
560
|
meta: {
|
|
358
|
-
listActionInputFields: PluginMeta
|
|
561
|
+
listActionInputFields: import("kitcore").PluginMeta<unknown>;
|
|
359
562
|
};
|
|
360
563
|
};
|
|
361
564
|
} & {
|
|
@@ -381,7 +584,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
381
584
|
} & {
|
|
382
585
|
context: {
|
|
383
586
|
meta: {
|
|
384
|
-
getActionInputFieldsSchema: PluginMeta
|
|
587
|
+
getActionInputFieldsSchema: import("kitcore").PluginMeta<unknown>;
|
|
385
588
|
};
|
|
386
589
|
};
|
|
387
590
|
} & {
|
|
@@ -415,7 +618,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
415
618
|
cursor?: string;
|
|
416
619
|
pageSize?: number;
|
|
417
620
|
maxItems?: number;
|
|
418
|
-
}) | undefined) => import("
|
|
621
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
419
622
|
key?: string | undefined;
|
|
420
623
|
label?: string | undefined;
|
|
421
624
|
sample?: string | undefined;
|
|
@@ -424,7 +627,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
424
627
|
} & {
|
|
425
628
|
context: {
|
|
426
629
|
meta: {
|
|
427
|
-
listActionInputFieldChoices: PluginMeta
|
|
630
|
+
listActionInputFieldChoices: import("kitcore").PluginMeta<unknown>;
|
|
428
631
|
};
|
|
429
632
|
};
|
|
430
633
|
} & {
|
|
@@ -454,7 +657,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
454
657
|
cursor?: string;
|
|
455
658
|
pageSize?: number;
|
|
456
659
|
maxItems?: number;
|
|
457
|
-
}) | undefined) => import("
|
|
660
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
458
661
|
key: string;
|
|
459
662
|
type: "input_field";
|
|
460
663
|
default_value: string;
|
|
@@ -479,11 +682,14 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
479
682
|
meta: {
|
|
480
683
|
listInputFields: {
|
|
481
684
|
categories: string[];
|
|
685
|
+
deprecation: {
|
|
686
|
+
message: string;
|
|
687
|
+
};
|
|
482
688
|
type: "list";
|
|
483
689
|
itemType: string;
|
|
484
690
|
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
485
691
|
app: import("zod").ZodString & {
|
|
486
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
692
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
487
693
|
};
|
|
488
694
|
actionType: import("zod").ZodEnum<{
|
|
489
695
|
filter: "filter";
|
|
@@ -496,7 +702,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
496
702
|
search_or_write: "search_or_write";
|
|
497
703
|
}>;
|
|
498
704
|
action: import("zod").ZodString & {
|
|
499
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
705
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
500
706
|
};
|
|
501
707
|
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
502
708
|
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
@@ -507,7 +713,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
507
713
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
508
714
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
509
715
|
appKey: import("zod").ZodString & {
|
|
510
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
716
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
511
717
|
};
|
|
512
718
|
actionType: import("zod").ZodEnum<{
|
|
513
719
|
filter: "filter";
|
|
@@ -549,6 +755,27 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
549
755
|
description: import("zod").ZodString;
|
|
550
756
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
551
757
|
}, import("zod/v4/core").$strip>, import("zod").ZodType<import(".").FieldsetItem, unknown, import("zod/v4/core").$ZodTypeInternals<import(".").FieldsetItem, unknown>>]>;
|
|
758
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
759
|
+
key: string;
|
|
760
|
+
type: "input_field";
|
|
761
|
+
default_value: string;
|
|
762
|
+
depends_on: string[];
|
|
763
|
+
description: string;
|
|
764
|
+
invalidates_input_fields: boolean;
|
|
765
|
+
is_required: boolean;
|
|
766
|
+
placeholder: string;
|
|
767
|
+
title: string;
|
|
768
|
+
value_type: string;
|
|
769
|
+
format?: string | undefined;
|
|
770
|
+
items?: {
|
|
771
|
+
type: string;
|
|
772
|
+
} | undefined;
|
|
773
|
+
} | {
|
|
774
|
+
key: string;
|
|
775
|
+
type: "info_field";
|
|
776
|
+
description: string;
|
|
777
|
+
title?: string | undefined;
|
|
778
|
+
} | import(".").FieldsetItem, Record<string, unknown>, unknown>;
|
|
552
779
|
defaultPageSize: number;
|
|
553
780
|
};
|
|
554
781
|
};
|
|
@@ -577,10 +804,13 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
577
804
|
meta: {
|
|
578
805
|
getInputFieldsSchema: {
|
|
579
806
|
categories: string[];
|
|
807
|
+
deprecation: {
|
|
808
|
+
message: string;
|
|
809
|
+
};
|
|
580
810
|
type: "function";
|
|
581
811
|
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
582
812
|
app: import("zod").ZodString & {
|
|
583
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
813
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
584
814
|
};
|
|
585
815
|
actionType: import("zod").ZodEnum<{
|
|
586
816
|
filter: "filter";
|
|
@@ -593,7 +823,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
593
823
|
search_or_write: "search_or_write";
|
|
594
824
|
}>;
|
|
595
825
|
action: import("zod").ZodString & {
|
|
596
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
826
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
597
827
|
};
|
|
598
828
|
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
599
829
|
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
@@ -601,7 +831,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
601
831
|
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
602
832
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
603
833
|
appKey: import("zod").ZodString & {
|
|
604
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
834
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
605
835
|
};
|
|
606
836
|
actionType: import("zod").ZodEnum<{
|
|
607
837
|
filter: "filter";
|
|
@@ -653,7 +883,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
653
883
|
cursor?: string;
|
|
654
884
|
pageSize?: number;
|
|
655
885
|
maxItems?: number;
|
|
656
|
-
}) | undefined) => import("
|
|
886
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
657
887
|
key?: string | undefined;
|
|
658
888
|
label?: string | undefined;
|
|
659
889
|
sample?: string | undefined;
|
|
@@ -663,11 +893,14 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
663
893
|
meta: {
|
|
664
894
|
listInputFieldChoices: {
|
|
665
895
|
categories: string[];
|
|
896
|
+
deprecation: {
|
|
897
|
+
message: string;
|
|
898
|
+
};
|
|
666
899
|
type: "list";
|
|
667
900
|
itemType: string;
|
|
668
901
|
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
669
902
|
app: import("zod").ZodString & {
|
|
670
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
903
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
671
904
|
};
|
|
672
905
|
actionType: import("zod").ZodEnum<{
|
|
673
906
|
filter: "filter";
|
|
@@ -680,10 +913,10 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
680
913
|
search_or_write: "search_or_write";
|
|
681
914
|
}>;
|
|
682
915
|
action: import("zod").ZodString & {
|
|
683
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
916
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
684
917
|
};
|
|
685
918
|
inputField: import("zod").ZodString & {
|
|
686
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
919
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
687
920
|
};
|
|
688
921
|
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
689
922
|
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
@@ -695,7 +928,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
695
928
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
696
929
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
697
930
|
appKey: import("zod").ZodString & {
|
|
698
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
931
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
699
932
|
};
|
|
700
933
|
actionType: import("zod").ZodEnum<{
|
|
701
934
|
filter: "filter";
|
|
@@ -724,6 +957,12 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
724
957
|
sample: import("zod").ZodOptional<import("zod").ZodString>;
|
|
725
958
|
value: import("zod").ZodOptional<import("zod").ZodString>;
|
|
726
959
|
}, import("zod/v4/core").$strip>;
|
|
960
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
961
|
+
key?: string | undefined;
|
|
962
|
+
label?: string | undefined;
|
|
963
|
+
sample?: string | undefined;
|
|
964
|
+
value?: string | undefined;
|
|
965
|
+
}, Record<string, unknown>, unknown>;
|
|
727
966
|
defaultPageSize: number;
|
|
728
967
|
};
|
|
729
968
|
};
|
|
@@ -757,15 +996,15 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
757
996
|
cursor?: string;
|
|
758
997
|
pageSize?: number;
|
|
759
998
|
maxItems?: number;
|
|
760
|
-
}) | undefined) => import("
|
|
999
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<unknown>;
|
|
761
1000
|
} & {
|
|
762
1001
|
context: {
|
|
763
1002
|
meta: {
|
|
764
|
-
runAction: PluginMeta
|
|
1003
|
+
runAction: import("kitcore").PluginMeta<unknown>;
|
|
765
1004
|
};
|
|
766
1005
|
};
|
|
767
1006
|
} & {
|
|
768
|
-
|
|
1007
|
+
listAuthentications: (options?: ({
|
|
769
1008
|
title?: string | undefined;
|
|
770
1009
|
search?: string | undefined;
|
|
771
1010
|
owner?: string | undefined;
|
|
@@ -786,7 +1025,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
786
1025
|
cursor?: string;
|
|
787
1026
|
pageSize?: number;
|
|
788
1027
|
maxItems?: number;
|
|
789
|
-
}) | undefined) => import("
|
|
1028
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
790
1029
|
date: string;
|
|
791
1030
|
is_invite_only: boolean;
|
|
792
1031
|
is_private: boolean;
|
|
@@ -815,59 +1054,216 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
815
1054
|
app_key?: string | undefined;
|
|
816
1055
|
app_version?: string | undefined;
|
|
817
1056
|
}>;
|
|
818
|
-
} & {
|
|
819
|
-
context: {
|
|
820
|
-
meta: {
|
|
821
|
-
listConnections: PluginMeta;
|
|
822
|
-
};
|
|
823
|
-
};
|
|
824
|
-
} & {
|
|
825
|
-
getConnection: (options?: {
|
|
826
|
-
connection?: string | number | undefined;
|
|
827
|
-
connectionId?: string | number | undefined;
|
|
828
|
-
authenticationId?: string | number | undefined;
|
|
829
|
-
} | undefined) => Promise<{
|
|
830
|
-
data: {
|
|
831
|
-
date: string;
|
|
832
|
-
is_invite_only: boolean;
|
|
833
|
-
is_private: boolean;
|
|
834
|
-
shared_with_all: boolean;
|
|
835
|
-
id: string;
|
|
836
|
-
account_id: string;
|
|
837
|
-
title?: string | null | undefined;
|
|
838
|
-
lastchanged?: string | undefined;
|
|
839
|
-
destination_selected_api?: string | null | undefined;
|
|
840
|
-
is_stale?: string | undefined;
|
|
841
|
-
is_shared?: string | undefined;
|
|
842
|
-
marked_stale_at?: string | null | undefined;
|
|
843
|
-
label?: string | null | undefined;
|
|
844
|
-
identifier?: string | null | undefined;
|
|
845
|
-
url?: string | undefined;
|
|
846
|
-
groups?: Record<string, unknown>[] | undefined;
|
|
847
|
-
members?: string | undefined;
|
|
848
|
-
permissions?: Record<string, boolean> | undefined;
|
|
849
|
-
public_id?: string | undefined;
|
|
850
|
-
account_public_id?: string | undefined;
|
|
851
|
-
customuser_public_id?: string | undefined;
|
|
852
|
-
implementation_id?: string | undefined;
|
|
853
|
-
profile_id?: string | undefined;
|
|
854
|
-
is_expired?: string | undefined;
|
|
855
|
-
expired_at?: string | null | undefined;
|
|
856
|
-
app_key?: string | undefined;
|
|
857
|
-
app_version?: string | undefined;
|
|
858
|
-
};
|
|
859
|
-
}>;
|
|
860
|
-
} & {
|
|
861
1057
|
context: {
|
|
862
1058
|
meta: {
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
1059
|
+
listAuthentications: {
|
|
1060
|
+
packages: string[];
|
|
1061
|
+
categories: string[];
|
|
1062
|
+
deprecation: {
|
|
1063
|
+
message: string;
|
|
1064
|
+
};
|
|
1065
|
+
type: "list";
|
|
1066
|
+
itemType: string;
|
|
1067
|
+
inputSchema: import("zod").ZodObject<{
|
|
1068
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1069
|
+
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1070
|
+
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1071
|
+
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1072
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1073
|
+
}>;
|
|
1074
|
+
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1075
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1076
|
+
}>;
|
|
1077
|
+
connections: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1078
|
+
connectionIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1079
|
+
authenticationIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1080
|
+
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1081
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1082
|
+
includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1083
|
+
isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1084
|
+
expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1085
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1086
|
+
maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1087
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1088
|
+
}, import("zod/v4/core").$strip>;
|
|
1089
|
+
outputSchema: import("zod").ZodObject<{
|
|
1090
|
+
title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1091
|
+
date: import("zod").ZodString;
|
|
1092
|
+
is_invite_only: import("zod").ZodBoolean;
|
|
1093
|
+
lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1094
|
+
destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1095
|
+
is_private: import("zod").ZodBoolean;
|
|
1096
|
+
shared_with_all: import("zod").ZodBoolean;
|
|
1097
|
+
is_stale: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1098
|
+
is_shared: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1099
|
+
marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1100
|
+
label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1101
|
+
identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1102
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1103
|
+
groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
1104
|
+
members: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1105
|
+
permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
|
1106
|
+
public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1107
|
+
account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1108
|
+
customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1109
|
+
id: import("zod").ZodString;
|
|
1110
|
+
account_id: import("zod").ZodString;
|
|
1111
|
+
implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1112
|
+
profile_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1113
|
+
is_expired: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1114
|
+
expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1115
|
+
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1116
|
+
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1117
|
+
}, import("zod/v4/core").$strip>;
|
|
1118
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
1119
|
+
date: string;
|
|
1120
|
+
is_invite_only: boolean;
|
|
1121
|
+
is_private: boolean;
|
|
1122
|
+
shared_with_all: boolean;
|
|
1123
|
+
id: string;
|
|
1124
|
+
account_id: string;
|
|
1125
|
+
title?: string | null | undefined;
|
|
1126
|
+
lastchanged?: string | undefined;
|
|
1127
|
+
destination_selected_api?: string | null | undefined;
|
|
1128
|
+
is_stale?: string | undefined;
|
|
1129
|
+
is_shared?: string | undefined;
|
|
1130
|
+
marked_stale_at?: string | null | undefined;
|
|
1131
|
+
label?: string | null | undefined;
|
|
1132
|
+
identifier?: string | null | undefined;
|
|
1133
|
+
url?: string | undefined;
|
|
1134
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
1135
|
+
members?: string | undefined;
|
|
1136
|
+
permissions?: Record<string, boolean> | undefined;
|
|
1137
|
+
public_id?: string | undefined;
|
|
1138
|
+
account_public_id?: string | undefined;
|
|
1139
|
+
customuser_public_id?: string | undefined;
|
|
1140
|
+
implementation_id?: string | undefined;
|
|
1141
|
+
profile_id?: string | undefined;
|
|
1142
|
+
is_expired?: string | undefined;
|
|
1143
|
+
expired_at?: string | null | undefined;
|
|
1144
|
+
app_key?: string | undefined;
|
|
1145
|
+
app_version?: string | undefined;
|
|
1146
|
+
}, Record<string, unknown>, unknown>;
|
|
1147
|
+
};
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
} & {
|
|
1151
|
+
getAuthentication: (options?: {
|
|
1152
|
+
connection?: string | number | undefined;
|
|
1153
|
+
connectionId?: string | number | undefined;
|
|
1154
|
+
authenticationId?: string | number | undefined;
|
|
1155
|
+
} | undefined) => Promise<{
|
|
1156
|
+
data: {
|
|
1157
|
+
date: string;
|
|
1158
|
+
is_invite_only: boolean;
|
|
1159
|
+
is_private: boolean;
|
|
1160
|
+
shared_with_all: boolean;
|
|
1161
|
+
id: string;
|
|
1162
|
+
account_id: string;
|
|
1163
|
+
title?: string | null | undefined;
|
|
1164
|
+
lastchanged?: string | undefined;
|
|
1165
|
+
destination_selected_api?: string | null | undefined;
|
|
1166
|
+
is_stale?: string | undefined;
|
|
1167
|
+
is_shared?: string | undefined;
|
|
1168
|
+
marked_stale_at?: string | null | undefined;
|
|
1169
|
+
label?: string | null | undefined;
|
|
1170
|
+
identifier?: string | null | undefined;
|
|
1171
|
+
url?: string | undefined;
|
|
1172
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
1173
|
+
members?: string | undefined;
|
|
1174
|
+
permissions?: Record<string, boolean> | undefined;
|
|
1175
|
+
public_id?: string | undefined;
|
|
1176
|
+
account_public_id?: string | undefined;
|
|
1177
|
+
customuser_public_id?: string | undefined;
|
|
1178
|
+
implementation_id?: string | undefined;
|
|
1179
|
+
profile_id?: string | undefined;
|
|
1180
|
+
is_expired?: string | undefined;
|
|
1181
|
+
expired_at?: string | null | undefined;
|
|
1182
|
+
app_key?: string | undefined;
|
|
1183
|
+
app_version?: string | undefined;
|
|
1184
|
+
};
|
|
1185
|
+
}>;
|
|
1186
|
+
context: {
|
|
1187
|
+
meta: {
|
|
1188
|
+
getAuthentication: {
|
|
1189
|
+
packages: string[];
|
|
1190
|
+
categories: string[];
|
|
1191
|
+
deprecation: {
|
|
1192
|
+
message: string;
|
|
1193
|
+
};
|
|
1194
|
+
type: "item";
|
|
1195
|
+
itemType: string;
|
|
1196
|
+
inputSchema: import("zod").ZodObject<{
|
|
1197
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1198
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1199
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1200
|
+
}, import("zod/v4/core").$strip>;
|
|
1201
|
+
outputSchema: import("zod").ZodObject<{
|
|
1202
|
+
title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1203
|
+
date: import("zod").ZodString;
|
|
1204
|
+
is_invite_only: import("zod").ZodBoolean;
|
|
1205
|
+
lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1206
|
+
destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1207
|
+
is_private: import("zod").ZodBoolean;
|
|
1208
|
+
shared_with_all: import("zod").ZodBoolean;
|
|
1209
|
+
is_stale: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1210
|
+
is_shared: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1211
|
+
marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1212
|
+
label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1213
|
+
identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1214
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1215
|
+
groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
1216
|
+
members: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1217
|
+
permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
|
1218
|
+
public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1219
|
+
account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1220
|
+
customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1221
|
+
id: import("zod").ZodString;
|
|
1222
|
+
account_id: import("zod").ZodString;
|
|
1223
|
+
implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1224
|
+
profile_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1225
|
+
is_expired: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1226
|
+
expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1227
|
+
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1228
|
+
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1229
|
+
}, import("zod/v4/core").$strip>;
|
|
1230
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
1231
|
+
date: string;
|
|
1232
|
+
is_invite_only: boolean;
|
|
1233
|
+
is_private: boolean;
|
|
1234
|
+
shared_with_all: boolean;
|
|
1235
|
+
id: string;
|
|
1236
|
+
account_id: string;
|
|
1237
|
+
title?: string | null | undefined;
|
|
1238
|
+
lastchanged?: string | undefined;
|
|
1239
|
+
destination_selected_api?: string | null | undefined;
|
|
1240
|
+
is_stale?: string | undefined;
|
|
1241
|
+
is_shared?: string | undefined;
|
|
1242
|
+
marked_stale_at?: string | null | undefined;
|
|
1243
|
+
label?: string | null | undefined;
|
|
1244
|
+
identifier?: string | null | undefined;
|
|
1245
|
+
url?: string | undefined;
|
|
1246
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
1247
|
+
members?: string | undefined;
|
|
1248
|
+
permissions?: Record<string, boolean> | undefined;
|
|
1249
|
+
public_id?: string | undefined;
|
|
1250
|
+
account_public_id?: string | undefined;
|
|
1251
|
+
customuser_public_id?: string | undefined;
|
|
1252
|
+
implementation_id?: string | undefined;
|
|
1253
|
+
profile_id?: string | undefined;
|
|
1254
|
+
is_expired?: string | undefined;
|
|
1255
|
+
expired_at?: string | null | undefined;
|
|
1256
|
+
app_key?: string | undefined;
|
|
1257
|
+
app_version?: string | undefined;
|
|
1258
|
+
}, Record<string, unknown>, unknown>;
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
};
|
|
1262
|
+
} & {
|
|
1263
|
+
findFirstAuthentication: (options?: {
|
|
1264
|
+
title?: string | undefined;
|
|
1265
|
+
search?: string | undefined;
|
|
1266
|
+
appKey?: string | undefined;
|
|
871
1267
|
app?: string | undefined;
|
|
872
1268
|
owner?: string | undefined;
|
|
873
1269
|
account?: string | undefined;
|
|
@@ -906,14 +1302,95 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
906
1302
|
app_version?: string | undefined;
|
|
907
1303
|
};
|
|
908
1304
|
}>;
|
|
909
|
-
} & {
|
|
910
1305
|
context: {
|
|
911
1306
|
meta: {
|
|
912
|
-
|
|
1307
|
+
findFirstAuthentication: {
|
|
1308
|
+
packages: string[];
|
|
1309
|
+
categories: string[];
|
|
1310
|
+
deprecation: {
|
|
1311
|
+
message: string;
|
|
1312
|
+
};
|
|
1313
|
+
type: "item";
|
|
1314
|
+
itemType: string;
|
|
1315
|
+
inputSchema: import("zod").ZodObject<{
|
|
1316
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1317
|
+
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1318
|
+
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1319
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1320
|
+
}>;
|
|
1321
|
+
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1322
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1323
|
+
}>;
|
|
1324
|
+
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1325
|
+
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1326
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1327
|
+
includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1328
|
+
isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1329
|
+
expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1330
|
+
}, import("zod/v4/core").$strip>;
|
|
1331
|
+
outputSchema: import("zod").ZodObject<{
|
|
1332
|
+
title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1333
|
+
date: import("zod").ZodString;
|
|
1334
|
+
is_invite_only: import("zod").ZodBoolean;
|
|
1335
|
+
lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1336
|
+
destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1337
|
+
is_private: import("zod").ZodBoolean;
|
|
1338
|
+
shared_with_all: import("zod").ZodBoolean;
|
|
1339
|
+
is_stale: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1340
|
+
is_shared: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1341
|
+
marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1342
|
+
label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1343
|
+
identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1344
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1345
|
+
groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
1346
|
+
members: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1347
|
+
permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
|
1348
|
+
public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1349
|
+
account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1350
|
+
customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1351
|
+
id: import("zod").ZodString;
|
|
1352
|
+
account_id: import("zod").ZodString;
|
|
1353
|
+
implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1354
|
+
profile_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1355
|
+
is_expired: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1356
|
+
expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1357
|
+
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1358
|
+
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1359
|
+
}, import("zod/v4/core").$strip>;
|
|
1360
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
1361
|
+
date: string;
|
|
1362
|
+
is_invite_only: boolean;
|
|
1363
|
+
is_private: boolean;
|
|
1364
|
+
shared_with_all: boolean;
|
|
1365
|
+
id: string;
|
|
1366
|
+
account_id: string;
|
|
1367
|
+
title?: string | null | undefined;
|
|
1368
|
+
lastchanged?: string | undefined;
|
|
1369
|
+
destination_selected_api?: string | null | undefined;
|
|
1370
|
+
is_stale?: string | undefined;
|
|
1371
|
+
is_shared?: string | undefined;
|
|
1372
|
+
marked_stale_at?: string | null | undefined;
|
|
1373
|
+
label?: string | null | undefined;
|
|
1374
|
+
identifier?: string | null | undefined;
|
|
1375
|
+
url?: string | undefined;
|
|
1376
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
1377
|
+
members?: string | undefined;
|
|
1378
|
+
permissions?: Record<string, boolean> | undefined;
|
|
1379
|
+
public_id?: string | undefined;
|
|
1380
|
+
account_public_id?: string | undefined;
|
|
1381
|
+
customuser_public_id?: string | undefined;
|
|
1382
|
+
implementation_id?: string | undefined;
|
|
1383
|
+
profile_id?: string | undefined;
|
|
1384
|
+
is_expired?: string | undefined;
|
|
1385
|
+
expired_at?: string | null | undefined;
|
|
1386
|
+
app_key?: string | undefined;
|
|
1387
|
+
app_version?: string | undefined;
|
|
1388
|
+
}, Record<string, unknown>, unknown>;
|
|
1389
|
+
};
|
|
913
1390
|
};
|
|
914
1391
|
};
|
|
915
1392
|
} & {
|
|
916
|
-
|
|
1393
|
+
findUniqueAuthentication: (options?: {
|
|
917
1394
|
title?: string | undefined;
|
|
918
1395
|
search?: string | undefined;
|
|
919
1396
|
appKey?: string | undefined;
|
|
@@ -955,10 +1432,1549 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
955
1432
|
app_version?: string | undefined;
|
|
956
1433
|
};
|
|
957
1434
|
}>;
|
|
1435
|
+
context: {
|
|
1436
|
+
meta: {
|
|
1437
|
+
findUniqueAuthentication: {
|
|
1438
|
+
packages: string[];
|
|
1439
|
+
categories: string[];
|
|
1440
|
+
deprecation: {
|
|
1441
|
+
message: string;
|
|
1442
|
+
};
|
|
1443
|
+
type: "item";
|
|
1444
|
+
itemType: string;
|
|
1445
|
+
inputSchema: import("zod").ZodObject<{
|
|
1446
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1447
|
+
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1448
|
+
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1449
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1450
|
+
}>;
|
|
1451
|
+
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1452
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1453
|
+
}>;
|
|
1454
|
+
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1455
|
+
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1456
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1457
|
+
includeShared: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1458
|
+
isExpired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1459
|
+
expired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1460
|
+
}, import("zod/v4/core").$strip>;
|
|
1461
|
+
outputSchema: import("zod").ZodObject<{
|
|
1462
|
+
title: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1463
|
+
date: import("zod").ZodString;
|
|
1464
|
+
is_invite_only: import("zod").ZodBoolean;
|
|
1465
|
+
lastchanged: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1466
|
+
destination_selected_api: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1467
|
+
is_private: import("zod").ZodBoolean;
|
|
1468
|
+
shared_with_all: import("zod").ZodBoolean;
|
|
1469
|
+
is_stale: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1470
|
+
is_shared: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1471
|
+
marked_stale_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1472
|
+
label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1473
|
+
identifier: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1474
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1475
|
+
groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
1476
|
+
members: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1477
|
+
permissions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>>;
|
|
1478
|
+
public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1479
|
+
account_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1480
|
+
customuser_public_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1481
|
+
id: import("zod").ZodString;
|
|
1482
|
+
account_id: import("zod").ZodString;
|
|
1483
|
+
implementation_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1484
|
+
profile_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1485
|
+
is_expired: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1486
|
+
expired_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1487
|
+
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1488
|
+
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1489
|
+
}, import("zod/v4/core").$strip>;
|
|
1490
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
1491
|
+
date: string;
|
|
1492
|
+
is_invite_only: boolean;
|
|
1493
|
+
is_private: boolean;
|
|
1494
|
+
shared_with_all: boolean;
|
|
1495
|
+
id: string;
|
|
1496
|
+
account_id: string;
|
|
1497
|
+
title?: string | null | undefined;
|
|
1498
|
+
lastchanged?: string | undefined;
|
|
1499
|
+
destination_selected_api?: string | null | undefined;
|
|
1500
|
+
is_stale?: string | undefined;
|
|
1501
|
+
is_shared?: string | undefined;
|
|
1502
|
+
marked_stale_at?: string | null | undefined;
|
|
1503
|
+
label?: string | null | undefined;
|
|
1504
|
+
identifier?: string | null | undefined;
|
|
1505
|
+
url?: string | undefined;
|
|
1506
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
1507
|
+
members?: string | undefined;
|
|
1508
|
+
permissions?: Record<string, boolean> | undefined;
|
|
1509
|
+
public_id?: string | undefined;
|
|
1510
|
+
account_public_id?: string | undefined;
|
|
1511
|
+
customuser_public_id?: string | undefined;
|
|
1512
|
+
implementation_id?: string | undefined;
|
|
1513
|
+
profile_id?: string | undefined;
|
|
1514
|
+
is_expired?: string | undefined;
|
|
1515
|
+
expired_at?: string | null | undefined;
|
|
1516
|
+
app_key?: string | undefined;
|
|
1517
|
+
app_version?: string | undefined;
|
|
1518
|
+
}, Record<string, unknown>, unknown>;
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
};
|
|
1522
|
+
} & {
|
|
1523
|
+
listClientCredentials: (options?: ({
|
|
1524
|
+
pageSize?: number | undefined;
|
|
1525
|
+
maxItems?: number | undefined;
|
|
1526
|
+
cursor?: string | undefined;
|
|
1527
|
+
} & {
|
|
1528
|
+
cursor?: string;
|
|
1529
|
+
pageSize?: number;
|
|
1530
|
+
maxItems?: number;
|
|
1531
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1532
|
+
client_id: string;
|
|
1533
|
+
name: string;
|
|
1534
|
+
allowed_scopes: ("external" | "credentials")[];
|
|
1535
|
+
created_at?: string | null | undefined;
|
|
1536
|
+
updated_at?: string | undefined;
|
|
1537
|
+
}>;
|
|
1538
|
+
} & {
|
|
1539
|
+
context: {
|
|
1540
|
+
meta: {
|
|
1541
|
+
listClientCredentials: import("kitcore").PluginMeta<unknown>;
|
|
1542
|
+
};
|
|
1543
|
+
};
|
|
1544
|
+
} & {
|
|
1545
|
+
createClientCredentials: (options?: {
|
|
1546
|
+
name: string;
|
|
1547
|
+
allowedScopes: ("external" | "credentials")[];
|
|
1548
|
+
policy?: Record<string, unknown> | undefined;
|
|
1549
|
+
} | undefined) => Promise<{
|
|
1550
|
+
data: {
|
|
1551
|
+
client_id: string;
|
|
1552
|
+
name: string;
|
|
1553
|
+
client_secret: string;
|
|
1554
|
+
};
|
|
1555
|
+
}>;
|
|
1556
|
+
} & {
|
|
1557
|
+
context: {
|
|
1558
|
+
meta: {
|
|
1559
|
+
createClientCredentials: import("kitcore").PluginMeta<unknown>;
|
|
1560
|
+
};
|
|
1561
|
+
};
|
|
1562
|
+
} & {
|
|
1563
|
+
deleteClientCredentials: (options?: {
|
|
1564
|
+
clientId: string;
|
|
1565
|
+
} | undefined) => Promise<{
|
|
1566
|
+
success: boolean;
|
|
1567
|
+
}>;
|
|
1568
|
+
} & {
|
|
1569
|
+
context: {
|
|
1570
|
+
meta: {
|
|
1571
|
+
deleteClientCredentials: import("kitcore").PluginMeta<unknown>;
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
} & {
|
|
1575
|
+
fetch: (url: string | URL, init?: import(".").ZapierFetchInitOptions) => Promise<Response>;
|
|
1576
|
+
context: {
|
|
1577
|
+
meta: {
|
|
1578
|
+
fetch: {
|
|
1579
|
+
description: string;
|
|
1580
|
+
packages: string[];
|
|
1581
|
+
categories: {
|
|
1582
|
+
key: string;
|
|
1583
|
+
title: string;
|
|
1584
|
+
}[];
|
|
1585
|
+
returnType: string;
|
|
1586
|
+
inputParameters: ({
|
|
1587
|
+
name: string;
|
|
1588
|
+
schema: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodCustom<URL, URL>]>;
|
|
1589
|
+
} | {
|
|
1590
|
+
name: string;
|
|
1591
|
+
schema: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1592
|
+
method: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1593
|
+
POST: "POST";
|
|
1594
|
+
GET: "GET";
|
|
1595
|
+
DELETE: "DELETE";
|
|
1596
|
+
PUT: "PUT";
|
|
1597
|
+
PATCH: "PATCH";
|
|
1598
|
+
HEAD: "HEAD";
|
|
1599
|
+
OPTIONS: "OPTIONS";
|
|
1600
|
+
}>>;
|
|
1601
|
+
headers: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
1602
|
+
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>]>>;
|
|
1603
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1604
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1605
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1606
|
+
callbackUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1607
|
+
maxTime: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1608
|
+
}, import("zod/v4/core").$strip>>;
|
|
1609
|
+
})[];
|
|
1610
|
+
};
|
|
1611
|
+
};
|
|
1612
|
+
};
|
|
1613
|
+
} & {
|
|
1614
|
+
request: (options?: {
|
|
1615
|
+
url: string;
|
|
1616
|
+
method?: "POST" | "GET" | "DELETE" | "PUT" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
|
|
1617
|
+
body?: any;
|
|
1618
|
+
connection?: string | number | undefined;
|
|
1619
|
+
connectionId?: string | number | undefined;
|
|
1620
|
+
authenticationId?: string | number | undefined;
|
|
1621
|
+
callbackUrl?: string | undefined;
|
|
1622
|
+
headers?: [string, string][] | Record<string, string> | Headers | undefined;
|
|
1623
|
+
} | undefined) => Promise<Response>;
|
|
1624
|
+
} & {
|
|
1625
|
+
context: {
|
|
1626
|
+
meta: {
|
|
1627
|
+
request: import("kitcore").PluginMeta<unknown>;
|
|
1628
|
+
};
|
|
1629
|
+
};
|
|
1630
|
+
} & {
|
|
1631
|
+
listTables: (options?: ({
|
|
1632
|
+
tables?: string[] | undefined;
|
|
1633
|
+
tableIds?: string[] | undefined;
|
|
1634
|
+
kind?: "table" | "virtual_table" | "both" | undefined;
|
|
1635
|
+
search?: string | undefined;
|
|
1636
|
+
owner?: string | undefined;
|
|
1637
|
+
includeShared?: boolean | undefined;
|
|
1638
|
+
pageSize?: number | undefined;
|
|
1639
|
+
maxItems?: number | undefined;
|
|
1640
|
+
cursor?: string | undefined;
|
|
1641
|
+
} & {
|
|
1642
|
+
cursor?: string;
|
|
1643
|
+
pageSize?: number;
|
|
1644
|
+
maxItems?: number;
|
|
1645
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1646
|
+
id: string;
|
|
1647
|
+
name: string;
|
|
1648
|
+
created_at: string;
|
|
1649
|
+
edited_at: string;
|
|
1650
|
+
kind: "table" | "virtual_table";
|
|
1651
|
+
account_id: string;
|
|
1652
|
+
profile_id: string;
|
|
1653
|
+
description?: string | undefined;
|
|
1654
|
+
parent_table_id?: string | undefined;
|
|
1655
|
+
}>;
|
|
1656
|
+
} & {
|
|
1657
|
+
context: {
|
|
1658
|
+
meta: {
|
|
1659
|
+
listTables: import("kitcore").PluginMeta<unknown>;
|
|
1660
|
+
};
|
|
1661
|
+
};
|
|
1662
|
+
} & {
|
|
1663
|
+
getTable: (options?: {
|
|
1664
|
+
table: string;
|
|
1665
|
+
} | {
|
|
1666
|
+
tableId: string;
|
|
1667
|
+
} | undefined) => Promise<{
|
|
1668
|
+
data: {
|
|
1669
|
+
id: string;
|
|
1670
|
+
name: string;
|
|
1671
|
+
created_at: string;
|
|
1672
|
+
edited_at: string;
|
|
1673
|
+
kind: "table" | "virtual_table";
|
|
1674
|
+
account_id: string;
|
|
1675
|
+
profile_id: string;
|
|
1676
|
+
description?: string | undefined;
|
|
1677
|
+
parent_table_id?: string | undefined;
|
|
1678
|
+
};
|
|
1679
|
+
}>;
|
|
1680
|
+
} & {
|
|
1681
|
+
context: {
|
|
1682
|
+
meta: {
|
|
1683
|
+
getTable: import("kitcore").PluginMeta<unknown>;
|
|
1684
|
+
};
|
|
1685
|
+
};
|
|
1686
|
+
} & {
|
|
1687
|
+
deleteTable: (options?: {
|
|
1688
|
+
table: string;
|
|
1689
|
+
} | {
|
|
1690
|
+
tableId: string;
|
|
1691
|
+
} | undefined) => Promise<{
|
|
1692
|
+
success: boolean;
|
|
1693
|
+
}>;
|
|
1694
|
+
} & {
|
|
1695
|
+
context: {
|
|
1696
|
+
meta: {
|
|
1697
|
+
deleteTable: import("kitcore").PluginMeta<unknown>;
|
|
1698
|
+
};
|
|
1699
|
+
};
|
|
1700
|
+
} & {
|
|
1701
|
+
createTable: (options?: {
|
|
1702
|
+
name: string;
|
|
1703
|
+
description?: string | undefined;
|
|
1704
|
+
} | undefined) => Promise<{
|
|
1705
|
+
data: {
|
|
1706
|
+
id: string;
|
|
1707
|
+
name: string;
|
|
1708
|
+
created_at: string;
|
|
1709
|
+
edited_at: string;
|
|
1710
|
+
kind: "table" | "virtual_table";
|
|
1711
|
+
account_id: string;
|
|
1712
|
+
profile_id: string;
|
|
1713
|
+
description?: string | undefined;
|
|
1714
|
+
parent_table_id?: string | undefined;
|
|
1715
|
+
};
|
|
1716
|
+
}>;
|
|
1717
|
+
} & {
|
|
1718
|
+
context: {
|
|
1719
|
+
meta: {
|
|
1720
|
+
createTable: import("kitcore").PluginMeta<unknown>;
|
|
1721
|
+
};
|
|
1722
|
+
};
|
|
1723
|
+
} & {
|
|
1724
|
+
listTableFields: (options?: {
|
|
1725
|
+
table: string;
|
|
1726
|
+
fields?: (string | number)[] | undefined;
|
|
1727
|
+
fieldKeys?: (string | number)[] | undefined;
|
|
1728
|
+
trash?: "only" | "include" | "exclude" | undefined;
|
|
1729
|
+
} | {
|
|
1730
|
+
tableId: string;
|
|
1731
|
+
fields?: (string | number)[] | undefined;
|
|
1732
|
+
fieldKeys?: (string | number)[] | undefined;
|
|
1733
|
+
trash?: "only" | "include" | "exclude" | undefined;
|
|
1734
|
+
} | undefined) => Promise<{
|
|
1735
|
+
data: {
|
|
1736
|
+
id: string;
|
|
1737
|
+
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";
|
|
1738
|
+
name: string;
|
|
1739
|
+
created_at?: string | undefined;
|
|
1740
|
+
edited_at?: string | undefined;
|
|
1741
|
+
options?: Record<string, unknown> | undefined;
|
|
1742
|
+
config?: Record<string, unknown> | undefined;
|
|
1743
|
+
deleted_at?: string | null | undefined;
|
|
1744
|
+
}[];
|
|
1745
|
+
}>;
|
|
1746
|
+
} & {
|
|
1747
|
+
context: {
|
|
1748
|
+
meta: {
|
|
1749
|
+
listTableFields: import("kitcore").PluginMeta<unknown>;
|
|
1750
|
+
};
|
|
1751
|
+
};
|
|
1752
|
+
} & {
|
|
1753
|
+
createTableFields: (options?: {
|
|
1754
|
+
table: string;
|
|
1755
|
+
fields: {
|
|
1756
|
+
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";
|
|
1757
|
+
name: string;
|
|
1758
|
+
options?: Record<string, unknown> | undefined;
|
|
1759
|
+
config?: Record<string, unknown> | undefined;
|
|
1760
|
+
}[];
|
|
1761
|
+
} | {
|
|
1762
|
+
tableId: string;
|
|
1763
|
+
fields: {
|
|
1764
|
+
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";
|
|
1765
|
+
name: string;
|
|
1766
|
+
options?: Record<string, unknown> | undefined;
|
|
1767
|
+
config?: Record<string, unknown> | undefined;
|
|
1768
|
+
}[];
|
|
1769
|
+
} | undefined) => Promise<{
|
|
1770
|
+
data: {
|
|
1771
|
+
id: string;
|
|
1772
|
+
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";
|
|
1773
|
+
name: string;
|
|
1774
|
+
created_at?: string | undefined;
|
|
1775
|
+
edited_at?: string | undefined;
|
|
1776
|
+
options?: Record<string, unknown> | undefined;
|
|
1777
|
+
config?: Record<string, unknown> | undefined;
|
|
1778
|
+
deleted_at?: string | null | undefined;
|
|
1779
|
+
}[];
|
|
1780
|
+
}>;
|
|
1781
|
+
} & {
|
|
1782
|
+
context: {
|
|
1783
|
+
meta: {
|
|
1784
|
+
createTableFields: import("kitcore").PluginMeta<unknown>;
|
|
1785
|
+
};
|
|
1786
|
+
};
|
|
1787
|
+
} & {
|
|
1788
|
+
deleteTableFields: (options?: {
|
|
1789
|
+
table: string;
|
|
1790
|
+
fields: (string | number)[];
|
|
1791
|
+
} | {
|
|
1792
|
+
tableId: string;
|
|
1793
|
+
fieldKeys: (string | number)[];
|
|
1794
|
+
} | undefined) => Promise<{
|
|
1795
|
+
success: boolean;
|
|
1796
|
+
}>;
|
|
1797
|
+
} & {
|
|
1798
|
+
context: {
|
|
1799
|
+
meta: {
|
|
1800
|
+
deleteTableFields: import("kitcore").PluginMeta<unknown>;
|
|
1801
|
+
};
|
|
1802
|
+
};
|
|
1803
|
+
} & {
|
|
1804
|
+
listTableRecords: (options?: (({
|
|
1805
|
+
table: string;
|
|
1806
|
+
keyMode: "names" | "ids";
|
|
1807
|
+
filters?: {
|
|
1808
|
+
fieldKey: string;
|
|
1809
|
+
operator: "in" | "contains" | "gt" | "gte" | "lt" | "lte" | "search" | "exact" | "different" | "icontains" | "range" | "isnull" | "startswith" | "is_within";
|
|
1810
|
+
value?: unknown;
|
|
1811
|
+
}[] | undefined;
|
|
1812
|
+
sort?: {
|
|
1813
|
+
fieldKey: string;
|
|
1814
|
+
direction: "asc" | "desc";
|
|
1815
|
+
} | undefined;
|
|
1816
|
+
pageSize?: number | undefined;
|
|
1817
|
+
maxItems?: number | undefined;
|
|
1818
|
+
cursor?: string | undefined;
|
|
1819
|
+
trash?: "only" | "include" | "exclude" | undefined;
|
|
1820
|
+
} | {
|
|
1821
|
+
tableId: string;
|
|
1822
|
+
keyMode: "names" | "ids";
|
|
1823
|
+
filters?: {
|
|
1824
|
+
fieldKey: string;
|
|
1825
|
+
operator: "in" | "contains" | "gt" | "gte" | "lt" | "lte" | "search" | "exact" | "different" | "icontains" | "range" | "isnull" | "startswith" | "is_within";
|
|
1826
|
+
value?: unknown;
|
|
1827
|
+
}[] | undefined;
|
|
1828
|
+
sort?: {
|
|
1829
|
+
fieldKey: string;
|
|
1830
|
+
direction: "asc" | "desc";
|
|
1831
|
+
} | undefined;
|
|
1832
|
+
pageSize?: number | undefined;
|
|
1833
|
+
maxItems?: number | undefined;
|
|
1834
|
+
cursor?: string | undefined;
|
|
1835
|
+
trash?: "only" | "include" | "exclude" | undefined;
|
|
1836
|
+
}) & {
|
|
1837
|
+
cursor?: string;
|
|
1838
|
+
pageSize?: number;
|
|
1839
|
+
maxItems?: number;
|
|
1840
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1841
|
+
data: Record<string, unknown>;
|
|
1842
|
+
id: string;
|
|
1843
|
+
created_at: string;
|
|
1844
|
+
edited_at: string;
|
|
1845
|
+
deleted_at?: string | null | undefined;
|
|
1846
|
+
}>;
|
|
1847
|
+
} & {
|
|
1848
|
+
context: {
|
|
1849
|
+
meta: {
|
|
1850
|
+
listTableRecords: import("kitcore").PluginMeta<unknown>;
|
|
1851
|
+
};
|
|
1852
|
+
};
|
|
1853
|
+
} & {
|
|
1854
|
+
getTableRecord: (options?: {
|
|
1855
|
+
table: string;
|
|
1856
|
+
record: string;
|
|
1857
|
+
keyMode: "names" | "ids";
|
|
1858
|
+
} | {
|
|
1859
|
+
tableId: string;
|
|
1860
|
+
recordId: string;
|
|
1861
|
+
keyMode: "names" | "ids";
|
|
1862
|
+
} | undefined) => Promise<{
|
|
1863
|
+
data: {
|
|
1864
|
+
data: Record<string, unknown>;
|
|
1865
|
+
id: string;
|
|
1866
|
+
created_at: string;
|
|
1867
|
+
edited_at: string;
|
|
1868
|
+
deleted_at?: string | null | undefined;
|
|
1869
|
+
};
|
|
1870
|
+
}>;
|
|
1871
|
+
} & {
|
|
1872
|
+
context: {
|
|
1873
|
+
meta: {
|
|
1874
|
+
getTableRecord: import("kitcore").PluginMeta<unknown>;
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1877
|
+
} & {
|
|
1878
|
+
createTableRecords: (options?: {
|
|
1879
|
+
table: string;
|
|
1880
|
+
records: {
|
|
1881
|
+
data: Record<string, unknown>;
|
|
1882
|
+
}[];
|
|
1883
|
+
keyMode: "names" | "ids";
|
|
1884
|
+
} | {
|
|
1885
|
+
tableId: string;
|
|
1886
|
+
records: {
|
|
1887
|
+
data: Record<string, unknown>;
|
|
1888
|
+
}[];
|
|
1889
|
+
keyMode: "names" | "ids";
|
|
1890
|
+
} | undefined) => Promise<{
|
|
1891
|
+
data: {
|
|
1892
|
+
data: Record<string, unknown>;
|
|
1893
|
+
id: string;
|
|
1894
|
+
created_at: string;
|
|
1895
|
+
edited_at: string;
|
|
1896
|
+
deleted_at?: string | null | undefined;
|
|
1897
|
+
}[];
|
|
1898
|
+
}>;
|
|
1899
|
+
} & {
|
|
1900
|
+
context: {
|
|
1901
|
+
meta: {
|
|
1902
|
+
createTableRecords: import("kitcore").PluginMeta<unknown>;
|
|
1903
|
+
};
|
|
1904
|
+
};
|
|
1905
|
+
} & {
|
|
1906
|
+
deleteTableRecords: (options?: {
|
|
1907
|
+
table: string;
|
|
1908
|
+
records: string[];
|
|
1909
|
+
} | {
|
|
1910
|
+
tableId: string;
|
|
1911
|
+
recordIds: string[];
|
|
1912
|
+
} | undefined) => Promise<{
|
|
1913
|
+
success: boolean;
|
|
1914
|
+
}>;
|
|
1915
|
+
} & {
|
|
1916
|
+
context: {
|
|
1917
|
+
meta: {
|
|
1918
|
+
deleteTableRecords: import("kitcore").PluginMeta<unknown>;
|
|
1919
|
+
};
|
|
1920
|
+
};
|
|
1921
|
+
} & {
|
|
1922
|
+
updateTableRecords: (options?: {
|
|
1923
|
+
table: string;
|
|
1924
|
+
records: {
|
|
1925
|
+
id: string;
|
|
1926
|
+
data: Record<string, unknown>;
|
|
1927
|
+
}[];
|
|
1928
|
+
keyMode: "names" | "ids";
|
|
1929
|
+
} | {
|
|
1930
|
+
tableId: string;
|
|
1931
|
+
records: {
|
|
1932
|
+
id: string;
|
|
1933
|
+
data: Record<string, unknown>;
|
|
1934
|
+
}[];
|
|
1935
|
+
keyMode: "names" | "ids";
|
|
1936
|
+
} | undefined) => Promise<{
|
|
1937
|
+
data: {
|
|
1938
|
+
data: Record<string, unknown>;
|
|
1939
|
+
id: string;
|
|
1940
|
+
created_at: string;
|
|
1941
|
+
edited_at: string;
|
|
1942
|
+
deleted_at?: string | null | undefined;
|
|
1943
|
+
}[];
|
|
1944
|
+
}>;
|
|
1945
|
+
} & {
|
|
1946
|
+
context: {
|
|
1947
|
+
meta: {
|
|
1948
|
+
updateTableRecords: import("kitcore").PluginMeta<unknown>;
|
|
1949
|
+
};
|
|
1950
|
+
};
|
|
1951
|
+
} & {
|
|
1952
|
+
apps: import("./plugins/apps/schemas").ActionProxy & import(".").ZapierSdkApps;
|
|
1953
|
+
context: {
|
|
1954
|
+
meta: {
|
|
1955
|
+
"apps.{appKey}": {
|
|
1956
|
+
categories: string[];
|
|
1957
|
+
packages: string[];
|
|
1958
|
+
type: "function";
|
|
1959
|
+
inputSchema: import("zod").ZodObject<{
|
|
1960
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1961
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1962
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1963
|
+
}, import("zod/v4/core").$strip>;
|
|
1964
|
+
returnType: string;
|
|
1965
|
+
};
|
|
1966
|
+
"apps.{appKey}.{actionType}.{actionKey}": {
|
|
1967
|
+
categories: string[];
|
|
1968
|
+
packages: string[];
|
|
1969
|
+
type: "list";
|
|
1970
|
+
inputSchema: import("zod").ZodObject<{
|
|
1971
|
+
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1972
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1973
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1974
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1975
|
+
timeoutMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1976
|
+
}, import("zod/v4/core").$strip>;
|
|
1977
|
+
itemType: string;
|
|
1978
|
+
outputSchema: import("zod").ZodUnknown;
|
|
1979
|
+
};
|
|
1980
|
+
};
|
|
1981
|
+
};
|
|
1982
|
+
} & {
|
|
1983
|
+
getProfile: (options?: Record<string, never> | undefined) => Promise<{
|
|
1984
|
+
data: {
|
|
1985
|
+
id: string;
|
|
1986
|
+
first_name: string;
|
|
1987
|
+
last_name: string;
|
|
1988
|
+
full_name: string;
|
|
1989
|
+
email: string;
|
|
1990
|
+
email_confirmed: boolean;
|
|
1991
|
+
timezone: string;
|
|
1992
|
+
};
|
|
1993
|
+
}>;
|
|
1994
|
+
} & {
|
|
1995
|
+
context: {
|
|
1996
|
+
meta: {
|
|
1997
|
+
getProfile: import("kitcore").PluginMeta<unknown>;
|
|
1998
|
+
};
|
|
1999
|
+
};
|
|
2000
|
+
}>;
|
|
2001
|
+
/**
|
|
2002
|
+
* Build the unsealed `PluginStack` that `createZapierSdk` materializes
|
|
2003
|
+
* into a sealed SDK. Exposed so downstream packages (`@zapier/zapier-sdk-cli`,
|
|
2004
|
+
* `@zapier/zapier-sdk-mcp`, any future head built on top of this one)
|
|
2005
|
+
* can layer additional plugins via `.use(...)` before sealing, instead
|
|
2006
|
+
* of going through the deprecated `.addPlugin` chain.
|
|
2007
|
+
*
|
|
2008
|
+
* const sdk = createZapierSdkStack(options)
|
|
2009
|
+
* .use(myExtensionPlugin)
|
|
2010
|
+
* .use(cliOverridesPlugin, { override: true })
|
|
2011
|
+
* .toSdk();
|
|
2012
|
+
*/
|
|
2013
|
+
export declare function createZapierSdkStack(options?: ZapierSdkOptions): import("kitcore").PluginStack<object, {
|
|
2014
|
+
context: {
|
|
2015
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
2016
|
+
hooks: import("kitcore").MethodHooks;
|
|
2017
|
+
};
|
|
2018
|
+
} & {
|
|
2019
|
+
context: {
|
|
2020
|
+
core: import("kitcore").CoreOptions;
|
|
2021
|
+
};
|
|
2022
|
+
} & {
|
|
2023
|
+
context: {
|
|
2024
|
+
options: ZapierSdkOptions;
|
|
2025
|
+
};
|
|
2026
|
+
} & {
|
|
2027
|
+
context: import(".").EventEmissionContext;
|
|
2028
|
+
} & {
|
|
2029
|
+
context: {
|
|
2030
|
+
api: import("./api").ApiClient;
|
|
2031
|
+
resolveCredentials: () => Promise<string | {
|
|
2032
|
+
clientId: string;
|
|
2033
|
+
clientSecret: string;
|
|
2034
|
+
type?: "client_credentials" | undefined;
|
|
2035
|
+
baseUrl?: string | undefined;
|
|
2036
|
+
scope?: string | undefined;
|
|
2037
|
+
} | {
|
|
2038
|
+
clientId: string;
|
|
2039
|
+
type?: "pkce" | undefined;
|
|
2040
|
+
baseUrl?: string | undefined;
|
|
2041
|
+
scope?: string | undefined;
|
|
2042
|
+
} | undefined>;
|
|
2043
|
+
};
|
|
2044
|
+
} & {
|
|
2045
|
+
context: {
|
|
2046
|
+
getResolvedManifest: () => Promise<import(".").Manifest | null>;
|
|
2047
|
+
getVersionedImplementationId: (appKey: string) => Promise<string | null>;
|
|
2048
|
+
resolveAppKeys: ({ appKeys }: {
|
|
2049
|
+
appKeys: string[];
|
|
2050
|
+
}) => Promise<import(".").ResolvedAppLocator[]>;
|
|
2051
|
+
updateManifestEntry: (options: import(".").UpdateManifestEntryOptions) => Promise<import(".").UpdateManifestEntryResult>;
|
|
2052
|
+
addActionEntry: (options: import(".").AddActionEntryOptions) => Promise<import(".").AddActionEntryResult>;
|
|
2053
|
+
findActionEntry: ({ name, manifest, }: {
|
|
2054
|
+
name: string;
|
|
2055
|
+
manifest: import(".").Manifest;
|
|
2056
|
+
}) => import(".").ActionEntry | null;
|
|
2057
|
+
listActionEntries: ({ configPath, }?: {
|
|
2058
|
+
configPath?: string;
|
|
2059
|
+
}) => Promise<Array<[string, import(".").ActionEntry]>>;
|
|
2060
|
+
deleteActionEntry: ({ name, configPath, skipWrite, }: {
|
|
2061
|
+
name: string;
|
|
2062
|
+
configPath?: string;
|
|
2063
|
+
skipWrite?: boolean;
|
|
2064
|
+
}) => Promise<import(".").Manifest>;
|
|
2065
|
+
hasActionEntry: ({ name, manifest, }: {
|
|
2066
|
+
name: string;
|
|
2067
|
+
manifest: import(".").Manifest;
|
|
2068
|
+
}) => boolean;
|
|
2069
|
+
findManifestEntry: typeof import(".").findManifestEntry;
|
|
2070
|
+
readManifestFromFile: typeof import(".").readManifestFromFile;
|
|
2071
|
+
getManifestConnections: () => Promise<Record<string, {
|
|
2072
|
+
connectionId: string | number;
|
|
2073
|
+
}> | null>;
|
|
2074
|
+
};
|
|
2075
|
+
} & {
|
|
2076
|
+
context: import("./plugins/capabilities").CapabilitiesContext;
|
|
2077
|
+
} & {
|
|
2078
|
+
context: {
|
|
2079
|
+
resolveConnection: (name: string) => Promise<{
|
|
2080
|
+
connectionId: string | number;
|
|
2081
|
+
} | undefined>;
|
|
2082
|
+
getConnectionsMap: () => Promise<Record<string, {
|
|
2083
|
+
connectionId: string | number;
|
|
2084
|
+
}> | null>;
|
|
2085
|
+
};
|
|
2086
|
+
} & {
|
|
2087
|
+
listApps: (options?: ({
|
|
2088
|
+
search?: string | undefined;
|
|
2089
|
+
apps?: string[] | undefined;
|
|
2090
|
+
appKeys?: string[] | undefined;
|
|
2091
|
+
pageSize?: number | undefined;
|
|
2092
|
+
maxItems?: number | undefined;
|
|
2093
|
+
cursor?: string | undefined;
|
|
2094
|
+
} & {
|
|
2095
|
+
cursor?: string;
|
|
2096
|
+
pageSize?: number;
|
|
2097
|
+
maxItems?: number;
|
|
2098
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2099
|
+
slug: string;
|
|
2100
|
+
title: string;
|
|
2101
|
+
key: string;
|
|
2102
|
+
implementation_id: string;
|
|
2103
|
+
description?: string | undefined;
|
|
2104
|
+
is_hidden?: boolean | undefined;
|
|
2105
|
+
auth_type?: string | undefined;
|
|
2106
|
+
actions?: {
|
|
2107
|
+
read?: number | undefined;
|
|
2108
|
+
read_bulk?: number | undefined;
|
|
2109
|
+
write?: number | undefined;
|
|
2110
|
+
search?: number | undefined;
|
|
2111
|
+
search_or_write?: number | undefined;
|
|
2112
|
+
search_and_write?: number | undefined;
|
|
2113
|
+
filter?: number | undefined;
|
|
2114
|
+
} | undefined;
|
|
2115
|
+
is_deprecated?: boolean | undefined;
|
|
2116
|
+
is_beta?: boolean | undefined;
|
|
2117
|
+
is_premium?: boolean | undefined;
|
|
2118
|
+
age_in_days?: number | undefined;
|
|
2119
|
+
banner?: string | undefined;
|
|
2120
|
+
categories?: {
|
|
2121
|
+
id: number;
|
|
2122
|
+
name: string;
|
|
2123
|
+
slug: string;
|
|
2124
|
+
}[] | undefined;
|
|
2125
|
+
images?: {
|
|
2126
|
+
url_16x16?: string | undefined;
|
|
2127
|
+
url_32x32?: string | undefined;
|
|
2128
|
+
url_64x64?: string | undefined;
|
|
2129
|
+
url_128x128?: string | undefined;
|
|
2130
|
+
} | undefined;
|
|
2131
|
+
popularity?: number | undefined;
|
|
2132
|
+
has_filters?: boolean | undefined;
|
|
2133
|
+
has_reads?: boolean | undefined;
|
|
2134
|
+
has_searches?: boolean | undefined;
|
|
2135
|
+
has_searches_or_writes?: boolean | undefined;
|
|
2136
|
+
has_upfront_fields?: boolean | undefined;
|
|
2137
|
+
has_writes?: boolean | undefined;
|
|
2138
|
+
is_built_in?: boolean | undefined;
|
|
2139
|
+
is_featured?: boolean | undefined;
|
|
2140
|
+
is_invite?: boolean | undefined;
|
|
2141
|
+
is_public?: boolean | undefined;
|
|
2142
|
+
is_upcoming?: boolean | undefined;
|
|
2143
|
+
visibility?: string | undefined;
|
|
2144
|
+
primary_color?: string | undefined;
|
|
2145
|
+
secondary_color?: string | undefined;
|
|
2146
|
+
classification?: string | undefined;
|
|
2147
|
+
api_docs_url?: string | undefined;
|
|
2148
|
+
image?: string | undefined;
|
|
2149
|
+
version?: string | undefined;
|
|
2150
|
+
}>;
|
|
2151
|
+
} & {
|
|
2152
|
+
context: {
|
|
2153
|
+
meta: {
|
|
2154
|
+
listApps: import("kitcore").PluginMeta<unknown>;
|
|
2155
|
+
};
|
|
2156
|
+
};
|
|
2157
|
+
} & {
|
|
2158
|
+
getApp: (options?: {
|
|
2159
|
+
app: string;
|
|
2160
|
+
} | {
|
|
2161
|
+
appKey: string;
|
|
2162
|
+
} | undefined) => Promise<{
|
|
2163
|
+
data: {
|
|
2164
|
+
slug: string;
|
|
2165
|
+
title: string;
|
|
2166
|
+
key: string;
|
|
2167
|
+
implementation_id: string;
|
|
2168
|
+
description?: string | undefined;
|
|
2169
|
+
is_hidden?: boolean | undefined;
|
|
2170
|
+
auth_type?: string | undefined;
|
|
2171
|
+
actions?: {
|
|
2172
|
+
read?: number | undefined;
|
|
2173
|
+
read_bulk?: number | undefined;
|
|
2174
|
+
write?: number | undefined;
|
|
2175
|
+
search?: number | undefined;
|
|
2176
|
+
search_or_write?: number | undefined;
|
|
2177
|
+
search_and_write?: number | undefined;
|
|
2178
|
+
filter?: number | undefined;
|
|
2179
|
+
} | undefined;
|
|
2180
|
+
is_deprecated?: boolean | undefined;
|
|
2181
|
+
is_beta?: boolean | undefined;
|
|
2182
|
+
is_premium?: boolean | undefined;
|
|
2183
|
+
age_in_days?: number | undefined;
|
|
2184
|
+
banner?: string | undefined;
|
|
2185
|
+
categories?: {
|
|
2186
|
+
id: number;
|
|
2187
|
+
name: string;
|
|
2188
|
+
slug: string;
|
|
2189
|
+
}[] | undefined;
|
|
2190
|
+
images?: {
|
|
2191
|
+
url_16x16?: string | undefined;
|
|
2192
|
+
url_32x32?: string | undefined;
|
|
2193
|
+
url_64x64?: string | undefined;
|
|
2194
|
+
url_128x128?: string | undefined;
|
|
2195
|
+
} | undefined;
|
|
2196
|
+
popularity?: number | undefined;
|
|
2197
|
+
has_filters?: boolean | undefined;
|
|
2198
|
+
has_reads?: boolean | undefined;
|
|
2199
|
+
has_searches?: boolean | undefined;
|
|
2200
|
+
has_searches_or_writes?: boolean | undefined;
|
|
2201
|
+
has_upfront_fields?: boolean | undefined;
|
|
2202
|
+
has_writes?: boolean | undefined;
|
|
2203
|
+
is_built_in?: boolean | undefined;
|
|
2204
|
+
is_featured?: boolean | undefined;
|
|
2205
|
+
is_invite?: boolean | undefined;
|
|
2206
|
+
is_public?: boolean | undefined;
|
|
2207
|
+
is_upcoming?: boolean | undefined;
|
|
2208
|
+
visibility?: string | undefined;
|
|
2209
|
+
primary_color?: string | undefined;
|
|
2210
|
+
secondary_color?: string | undefined;
|
|
2211
|
+
classification?: string | undefined;
|
|
2212
|
+
api_docs_url?: string | undefined;
|
|
2213
|
+
image?: string | undefined;
|
|
2214
|
+
version?: string | undefined;
|
|
2215
|
+
};
|
|
2216
|
+
}>;
|
|
2217
|
+
} & {
|
|
2218
|
+
context: {
|
|
2219
|
+
meta: {
|
|
2220
|
+
getApp: import("kitcore").PluginMeta<unknown>;
|
|
2221
|
+
};
|
|
2222
|
+
};
|
|
2223
|
+
} & {
|
|
2224
|
+
listConnections: (options?: ({
|
|
2225
|
+
title?: string | undefined;
|
|
2226
|
+
search?: string | undefined;
|
|
2227
|
+
owner?: string | undefined;
|
|
2228
|
+
app?: string | undefined;
|
|
2229
|
+
appKey?: string | undefined;
|
|
2230
|
+
connections?: string[] | undefined;
|
|
2231
|
+
connectionIds?: string[] | undefined;
|
|
2232
|
+
authenticationIds?: string[] | undefined;
|
|
2233
|
+
account?: string | undefined;
|
|
2234
|
+
accountId?: string | undefined;
|
|
2235
|
+
includeShared?: boolean | undefined;
|
|
2236
|
+
isExpired?: boolean | undefined;
|
|
2237
|
+
expired?: boolean | undefined;
|
|
2238
|
+
pageSize?: number | undefined;
|
|
2239
|
+
maxItems?: number | undefined;
|
|
2240
|
+
cursor?: string | undefined;
|
|
2241
|
+
} & {
|
|
2242
|
+
cursor?: string;
|
|
2243
|
+
pageSize?: number;
|
|
2244
|
+
maxItems?: number;
|
|
2245
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2246
|
+
date: string;
|
|
2247
|
+
is_invite_only: boolean;
|
|
2248
|
+
is_private: boolean;
|
|
2249
|
+
shared_with_all: boolean;
|
|
2250
|
+
id: string;
|
|
2251
|
+
account_id: string;
|
|
2252
|
+
title?: string | null | undefined;
|
|
2253
|
+
lastchanged?: string | undefined;
|
|
2254
|
+
destination_selected_api?: string | null | undefined;
|
|
2255
|
+
is_stale?: string | undefined;
|
|
2256
|
+
is_shared?: string | undefined;
|
|
2257
|
+
marked_stale_at?: string | null | undefined;
|
|
2258
|
+
label?: string | null | undefined;
|
|
2259
|
+
identifier?: string | null | undefined;
|
|
2260
|
+
url?: string | undefined;
|
|
2261
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
2262
|
+
members?: string | undefined;
|
|
2263
|
+
permissions?: Record<string, boolean> | undefined;
|
|
2264
|
+
public_id?: string | undefined;
|
|
2265
|
+
account_public_id?: string | undefined;
|
|
2266
|
+
customuser_public_id?: string | undefined;
|
|
2267
|
+
implementation_id?: string | undefined;
|
|
2268
|
+
profile_id?: string | undefined;
|
|
2269
|
+
is_expired?: string | undefined;
|
|
2270
|
+
expired_at?: string | null | undefined;
|
|
2271
|
+
app_key?: string | undefined;
|
|
2272
|
+
app_version?: string | undefined;
|
|
2273
|
+
}>;
|
|
2274
|
+
} & {
|
|
2275
|
+
context: {
|
|
2276
|
+
meta: {
|
|
2277
|
+
listConnections: import("kitcore").PluginMeta<unknown>;
|
|
2278
|
+
};
|
|
2279
|
+
};
|
|
2280
|
+
} & {
|
|
2281
|
+
getConnection: (options?: {
|
|
2282
|
+
connection?: string | number | undefined;
|
|
2283
|
+
connectionId?: string | number | undefined;
|
|
2284
|
+
authenticationId?: string | number | undefined;
|
|
2285
|
+
} | undefined) => Promise<{
|
|
2286
|
+
data: {
|
|
2287
|
+
date: string;
|
|
2288
|
+
is_invite_only: boolean;
|
|
2289
|
+
is_private: boolean;
|
|
2290
|
+
shared_with_all: boolean;
|
|
2291
|
+
id: string;
|
|
2292
|
+
account_id: string;
|
|
2293
|
+
title?: string | null | undefined;
|
|
2294
|
+
lastchanged?: string | undefined;
|
|
2295
|
+
destination_selected_api?: string | null | undefined;
|
|
2296
|
+
is_stale?: string | undefined;
|
|
2297
|
+
is_shared?: string | undefined;
|
|
2298
|
+
marked_stale_at?: string | null | undefined;
|
|
2299
|
+
label?: string | null | undefined;
|
|
2300
|
+
identifier?: string | null | undefined;
|
|
2301
|
+
url?: string | undefined;
|
|
2302
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
2303
|
+
members?: string | undefined;
|
|
2304
|
+
permissions?: Record<string, boolean> | undefined;
|
|
2305
|
+
public_id?: string | undefined;
|
|
2306
|
+
account_public_id?: string | undefined;
|
|
2307
|
+
customuser_public_id?: string | undefined;
|
|
2308
|
+
implementation_id?: string | undefined;
|
|
2309
|
+
profile_id?: string | undefined;
|
|
2310
|
+
is_expired?: string | undefined;
|
|
2311
|
+
expired_at?: string | null | undefined;
|
|
2312
|
+
app_key?: string | undefined;
|
|
2313
|
+
app_version?: string | undefined;
|
|
2314
|
+
};
|
|
2315
|
+
}>;
|
|
2316
|
+
} & {
|
|
2317
|
+
context: {
|
|
2318
|
+
meta: {
|
|
2319
|
+
getConnection: import("kitcore").PluginMeta<unknown>;
|
|
2320
|
+
};
|
|
2321
|
+
};
|
|
2322
|
+
} & {
|
|
2323
|
+
findFirstConnection: (options?: {
|
|
2324
|
+
title?: string | undefined;
|
|
2325
|
+
search?: string | undefined;
|
|
2326
|
+
appKey?: string | undefined;
|
|
2327
|
+
app?: string | undefined;
|
|
2328
|
+
owner?: string | undefined;
|
|
2329
|
+
account?: string | undefined;
|
|
2330
|
+
accountId?: string | undefined;
|
|
2331
|
+
includeShared?: boolean | undefined;
|
|
2332
|
+
isExpired?: boolean | undefined;
|
|
2333
|
+
expired?: boolean | undefined;
|
|
2334
|
+
} | undefined) => Promise<{
|
|
2335
|
+
data: {
|
|
2336
|
+
date: string;
|
|
2337
|
+
is_invite_only: boolean;
|
|
2338
|
+
is_private: boolean;
|
|
2339
|
+
shared_with_all: boolean;
|
|
2340
|
+
id: string;
|
|
2341
|
+
account_id: string;
|
|
2342
|
+
title?: string | null | undefined;
|
|
2343
|
+
lastchanged?: string | undefined;
|
|
2344
|
+
destination_selected_api?: string | null | undefined;
|
|
2345
|
+
is_stale?: string | undefined;
|
|
2346
|
+
is_shared?: string | undefined;
|
|
2347
|
+
marked_stale_at?: string | null | undefined;
|
|
2348
|
+
label?: string | null | undefined;
|
|
2349
|
+
identifier?: string | null | undefined;
|
|
2350
|
+
url?: string | undefined;
|
|
2351
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
2352
|
+
members?: string | undefined;
|
|
2353
|
+
permissions?: Record<string, boolean> | undefined;
|
|
2354
|
+
public_id?: string | undefined;
|
|
2355
|
+
account_public_id?: string | undefined;
|
|
2356
|
+
customuser_public_id?: string | undefined;
|
|
2357
|
+
implementation_id?: string | undefined;
|
|
2358
|
+
profile_id?: string | undefined;
|
|
2359
|
+
is_expired?: string | undefined;
|
|
2360
|
+
expired_at?: string | null | undefined;
|
|
2361
|
+
app_key?: string | undefined;
|
|
2362
|
+
app_version?: string | undefined;
|
|
2363
|
+
};
|
|
2364
|
+
}>;
|
|
2365
|
+
} & {
|
|
2366
|
+
context: {
|
|
2367
|
+
meta: {
|
|
2368
|
+
findFirstConnection: import("kitcore").PluginMeta<unknown>;
|
|
2369
|
+
};
|
|
2370
|
+
};
|
|
2371
|
+
} & {
|
|
2372
|
+
findUniqueConnection: (options?: {
|
|
2373
|
+
title?: string | undefined;
|
|
2374
|
+
search?: string | undefined;
|
|
2375
|
+
appKey?: string | undefined;
|
|
2376
|
+
app?: string | undefined;
|
|
2377
|
+
owner?: string | undefined;
|
|
2378
|
+
account?: string | undefined;
|
|
2379
|
+
accountId?: string | undefined;
|
|
2380
|
+
includeShared?: boolean | undefined;
|
|
2381
|
+
isExpired?: boolean | undefined;
|
|
2382
|
+
expired?: boolean | undefined;
|
|
2383
|
+
} | undefined) => Promise<{
|
|
2384
|
+
data: {
|
|
2385
|
+
date: string;
|
|
2386
|
+
is_invite_only: boolean;
|
|
2387
|
+
is_private: boolean;
|
|
2388
|
+
shared_with_all: boolean;
|
|
2389
|
+
id: string;
|
|
2390
|
+
account_id: string;
|
|
2391
|
+
title?: string | null | undefined;
|
|
2392
|
+
lastchanged?: string | undefined;
|
|
2393
|
+
destination_selected_api?: string | null | undefined;
|
|
2394
|
+
is_stale?: string | undefined;
|
|
2395
|
+
is_shared?: string | undefined;
|
|
2396
|
+
marked_stale_at?: string | null | undefined;
|
|
2397
|
+
label?: string | null | undefined;
|
|
2398
|
+
identifier?: string | null | undefined;
|
|
2399
|
+
url?: string | undefined;
|
|
2400
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
2401
|
+
members?: string | undefined;
|
|
2402
|
+
permissions?: Record<string, boolean> | undefined;
|
|
2403
|
+
public_id?: string | undefined;
|
|
2404
|
+
account_public_id?: string | undefined;
|
|
2405
|
+
customuser_public_id?: string | undefined;
|
|
2406
|
+
implementation_id?: string | undefined;
|
|
2407
|
+
profile_id?: string | undefined;
|
|
2408
|
+
is_expired?: string | undefined;
|
|
2409
|
+
expired_at?: string | null | undefined;
|
|
2410
|
+
app_key?: string | undefined;
|
|
2411
|
+
app_version?: string | undefined;
|
|
2412
|
+
};
|
|
2413
|
+
}>;
|
|
2414
|
+
} & {
|
|
2415
|
+
context: {
|
|
2416
|
+
meta: {
|
|
2417
|
+
findUniqueConnection: import("kitcore").PluginMeta<unknown>;
|
|
2418
|
+
};
|
|
2419
|
+
};
|
|
2420
|
+
} & {
|
|
2421
|
+
listActions: (options?: (({
|
|
2422
|
+
app: string;
|
|
2423
|
+
actionType?: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | undefined;
|
|
2424
|
+
pageSize?: number | undefined;
|
|
2425
|
+
maxItems?: number | undefined;
|
|
2426
|
+
cursor?: string | undefined;
|
|
2427
|
+
} | {
|
|
2428
|
+
appKey: string;
|
|
2429
|
+
actionType?: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | undefined;
|
|
2430
|
+
pageSize?: number | undefined;
|
|
2431
|
+
maxItems?: number | undefined;
|
|
2432
|
+
cursor?: string | undefined;
|
|
2433
|
+
}) & {
|
|
2434
|
+
cursor?: string;
|
|
2435
|
+
pageSize?: number;
|
|
2436
|
+
maxItems?: number;
|
|
2437
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2438
|
+
description: string;
|
|
2439
|
+
key: string;
|
|
2440
|
+
app_key: string;
|
|
2441
|
+
action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2442
|
+
title: string;
|
|
2443
|
+
type: "action";
|
|
2444
|
+
id?: string | undefined;
|
|
2445
|
+
is_important?: boolean | undefined;
|
|
2446
|
+
is_hidden?: boolean | undefined;
|
|
2447
|
+
app_version?: string | undefined;
|
|
2448
|
+
}>;
|
|
2449
|
+
} & {
|
|
2450
|
+
context: {
|
|
2451
|
+
meta: {
|
|
2452
|
+
listActions: import("kitcore").PluginMeta<unknown>;
|
|
2453
|
+
};
|
|
2454
|
+
};
|
|
2455
|
+
} & {
|
|
2456
|
+
getAction: (options?: {
|
|
2457
|
+
app: string;
|
|
2458
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2459
|
+
action: string;
|
|
2460
|
+
} | {
|
|
2461
|
+
appKey: string;
|
|
2462
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2463
|
+
actionKey: string;
|
|
2464
|
+
} | undefined) => Promise<{
|
|
2465
|
+
data: {
|
|
2466
|
+
description: string;
|
|
2467
|
+
key: string;
|
|
2468
|
+
app_key: string;
|
|
2469
|
+
action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2470
|
+
title: string;
|
|
2471
|
+
type: "action";
|
|
2472
|
+
id?: string | undefined;
|
|
2473
|
+
is_important?: boolean | undefined;
|
|
2474
|
+
is_hidden?: boolean | undefined;
|
|
2475
|
+
app_version?: string | undefined;
|
|
2476
|
+
};
|
|
2477
|
+
}>;
|
|
2478
|
+
} & {
|
|
2479
|
+
context: {
|
|
2480
|
+
meta: {
|
|
2481
|
+
getAction: import("kitcore").PluginMeta<unknown>;
|
|
2482
|
+
};
|
|
2483
|
+
};
|
|
2484
|
+
} & {
|
|
2485
|
+
listActionInputFields: (options?: (({
|
|
2486
|
+
app: string;
|
|
2487
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2488
|
+
action: string;
|
|
2489
|
+
connection?: string | number | undefined;
|
|
2490
|
+
connectionId?: string | number | null | undefined;
|
|
2491
|
+
authenticationId?: string | number | null | undefined;
|
|
2492
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2493
|
+
pageSize?: number | undefined;
|
|
2494
|
+
maxItems?: number | undefined;
|
|
2495
|
+
cursor?: string | undefined;
|
|
2496
|
+
} | {
|
|
2497
|
+
appKey: string;
|
|
2498
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2499
|
+
actionKey: string;
|
|
2500
|
+
connection?: string | number | undefined;
|
|
2501
|
+
connectionId?: string | number | null | undefined;
|
|
2502
|
+
authenticationId?: string | number | null | undefined;
|
|
2503
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2504
|
+
pageSize?: number | undefined;
|
|
2505
|
+
maxItems?: number | undefined;
|
|
2506
|
+
cursor?: string | undefined;
|
|
2507
|
+
}) & {
|
|
2508
|
+
cursor?: string;
|
|
2509
|
+
pageSize?: number;
|
|
2510
|
+
maxItems?: number;
|
|
2511
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2512
|
+
key: string;
|
|
2513
|
+
type: "input_field";
|
|
2514
|
+
default_value: string;
|
|
2515
|
+
depends_on: string[];
|
|
2516
|
+
description: string;
|
|
2517
|
+
invalidates_input_fields: boolean;
|
|
2518
|
+
is_required: boolean;
|
|
2519
|
+
placeholder: string;
|
|
2520
|
+
title: string;
|
|
2521
|
+
value_type: string;
|
|
2522
|
+
format?: string | undefined;
|
|
2523
|
+
items?: {
|
|
2524
|
+
type: string;
|
|
2525
|
+
} | undefined;
|
|
2526
|
+
} | {
|
|
2527
|
+
key: string;
|
|
2528
|
+
type: "info_field";
|
|
2529
|
+
description: string;
|
|
2530
|
+
title?: string | undefined;
|
|
2531
|
+
} | import(".").FieldsetItem>;
|
|
2532
|
+
} & {
|
|
2533
|
+
context: {
|
|
2534
|
+
meta: {
|
|
2535
|
+
listActionInputFields: import("kitcore").PluginMeta<unknown>;
|
|
2536
|
+
};
|
|
2537
|
+
};
|
|
2538
|
+
} & {
|
|
2539
|
+
getActionInputFieldsSchema: (options?: {
|
|
2540
|
+
app: string;
|
|
2541
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2542
|
+
action: string;
|
|
2543
|
+
connection?: string | number | undefined;
|
|
2544
|
+
connectionId?: string | number | null | undefined;
|
|
2545
|
+
authenticationId?: string | number | null | undefined;
|
|
2546
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2547
|
+
} | {
|
|
2548
|
+
appKey: string;
|
|
2549
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2550
|
+
actionKey: string;
|
|
2551
|
+
connection?: string | number | undefined;
|
|
2552
|
+
connectionId?: string | number | null | undefined;
|
|
2553
|
+
authenticationId?: string | number | null | undefined;
|
|
2554
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2555
|
+
} | undefined) => Promise<{
|
|
2556
|
+
data: Record<string, unknown>;
|
|
2557
|
+
}>;
|
|
2558
|
+
} & {
|
|
2559
|
+
context: {
|
|
2560
|
+
meta: {
|
|
2561
|
+
getActionInputFieldsSchema: import("kitcore").PluginMeta<unknown>;
|
|
2562
|
+
};
|
|
2563
|
+
};
|
|
2564
|
+
} & {
|
|
2565
|
+
listActionInputFieldChoices: (options?: (({
|
|
2566
|
+
app: string;
|
|
2567
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2568
|
+
action: string;
|
|
2569
|
+
inputField: string;
|
|
2570
|
+
connection?: string | number | undefined;
|
|
2571
|
+
connectionId?: string | number | null | undefined;
|
|
2572
|
+
authenticationId?: string | number | null | undefined;
|
|
2573
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2574
|
+
page?: number | undefined;
|
|
2575
|
+
pageSize?: number | undefined;
|
|
2576
|
+
maxItems?: number | undefined;
|
|
2577
|
+
cursor?: string | undefined;
|
|
2578
|
+
} | {
|
|
2579
|
+
appKey: string;
|
|
2580
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2581
|
+
actionKey: string;
|
|
2582
|
+
inputFieldKey: string;
|
|
2583
|
+
connection?: string | number | undefined;
|
|
2584
|
+
connectionId?: string | number | null | undefined;
|
|
2585
|
+
authenticationId?: string | number | null | undefined;
|
|
2586
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2587
|
+
page?: number | undefined;
|
|
2588
|
+
pageSize?: number | undefined;
|
|
2589
|
+
maxItems?: number | undefined;
|
|
2590
|
+
cursor?: string | undefined;
|
|
2591
|
+
}) & {
|
|
2592
|
+
cursor?: string;
|
|
2593
|
+
pageSize?: number;
|
|
2594
|
+
maxItems?: number;
|
|
2595
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2596
|
+
key?: string | undefined;
|
|
2597
|
+
label?: string | undefined;
|
|
2598
|
+
sample?: string | undefined;
|
|
2599
|
+
value?: string | undefined;
|
|
2600
|
+
}>;
|
|
2601
|
+
} & {
|
|
2602
|
+
context: {
|
|
2603
|
+
meta: {
|
|
2604
|
+
listActionInputFieldChoices: import("kitcore").PluginMeta<unknown>;
|
|
2605
|
+
};
|
|
2606
|
+
};
|
|
2607
|
+
} & {
|
|
2608
|
+
listInputFields: (options?: (({
|
|
2609
|
+
app: string;
|
|
2610
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2611
|
+
action: string;
|
|
2612
|
+
connection?: string | number | undefined;
|
|
2613
|
+
connectionId?: string | number | null | undefined;
|
|
2614
|
+
authenticationId?: string | number | null | undefined;
|
|
2615
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2616
|
+
pageSize?: number | undefined;
|
|
2617
|
+
maxItems?: number | undefined;
|
|
2618
|
+
cursor?: string | undefined;
|
|
2619
|
+
} | {
|
|
2620
|
+
appKey: string;
|
|
2621
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2622
|
+
actionKey: string;
|
|
2623
|
+
connection?: string | number | undefined;
|
|
2624
|
+
connectionId?: string | number | null | undefined;
|
|
2625
|
+
authenticationId?: string | number | null | undefined;
|
|
2626
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2627
|
+
pageSize?: number | undefined;
|
|
2628
|
+
maxItems?: number | undefined;
|
|
2629
|
+
cursor?: string | undefined;
|
|
2630
|
+
}) & {
|
|
2631
|
+
cursor?: string;
|
|
2632
|
+
pageSize?: number;
|
|
2633
|
+
maxItems?: number;
|
|
2634
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2635
|
+
key: string;
|
|
2636
|
+
type: "input_field";
|
|
2637
|
+
default_value: string;
|
|
2638
|
+
depends_on: string[];
|
|
2639
|
+
description: string;
|
|
2640
|
+
invalidates_input_fields: boolean;
|
|
2641
|
+
is_required: boolean;
|
|
2642
|
+
placeholder: string;
|
|
2643
|
+
title: string;
|
|
2644
|
+
value_type: string;
|
|
2645
|
+
format?: string | undefined;
|
|
2646
|
+
items?: {
|
|
2647
|
+
type: string;
|
|
2648
|
+
} | undefined;
|
|
2649
|
+
} | {
|
|
2650
|
+
key: string;
|
|
2651
|
+
type: "info_field";
|
|
2652
|
+
description: string;
|
|
2653
|
+
title?: string | undefined;
|
|
2654
|
+
} | import(".").FieldsetItem>;
|
|
2655
|
+
context: {
|
|
2656
|
+
meta: {
|
|
2657
|
+
listInputFields: {
|
|
2658
|
+
categories: string[];
|
|
2659
|
+
deprecation: {
|
|
2660
|
+
message: string;
|
|
2661
|
+
};
|
|
2662
|
+
type: "list";
|
|
2663
|
+
itemType: string;
|
|
2664
|
+
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2665
|
+
app: import("zod").ZodString & {
|
|
2666
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2667
|
+
};
|
|
2668
|
+
actionType: import("zod").ZodEnum<{
|
|
2669
|
+
filter: "filter";
|
|
2670
|
+
write: "write";
|
|
2671
|
+
read: "read";
|
|
2672
|
+
read_bulk: "read_bulk";
|
|
2673
|
+
run: "run";
|
|
2674
|
+
search: "search";
|
|
2675
|
+
search_and_write: "search_and_write";
|
|
2676
|
+
search_or_write: "search_or_write";
|
|
2677
|
+
}>;
|
|
2678
|
+
action: import("zod").ZodString & {
|
|
2679
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2680
|
+
};
|
|
2681
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2682
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
2683
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
2684
|
+
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
2685
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2686
|
+
maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2687
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2688
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2689
|
+
appKey: import("zod").ZodString & {
|
|
2690
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2691
|
+
};
|
|
2692
|
+
actionType: import("zod").ZodEnum<{
|
|
2693
|
+
filter: "filter";
|
|
2694
|
+
write: "write";
|
|
2695
|
+
read: "read";
|
|
2696
|
+
read_bulk: "read_bulk";
|
|
2697
|
+
run: "run";
|
|
2698
|
+
search: "search";
|
|
2699
|
+
search_and_write: "search_and_write";
|
|
2700
|
+
search_or_write: "search_or_write";
|
|
2701
|
+
}>;
|
|
2702
|
+
actionKey: import("zod").ZodString;
|
|
2703
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2704
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
2705
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
2706
|
+
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
2707
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2708
|
+
maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2709
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2710
|
+
}, import("zod/v4/core").$strip>]>;
|
|
2711
|
+
outputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2712
|
+
key: import("zod").ZodString;
|
|
2713
|
+
type: import("zod").ZodLiteral<"input_field">;
|
|
2714
|
+
default_value: import("zod").ZodString;
|
|
2715
|
+
depends_on: import("zod").ZodArray<import("zod").ZodString>;
|
|
2716
|
+
description: import("zod").ZodString;
|
|
2717
|
+
invalidates_input_fields: import("zod").ZodBoolean;
|
|
2718
|
+
is_required: import("zod").ZodBoolean;
|
|
2719
|
+
placeholder: import("zod").ZodString;
|
|
2720
|
+
title: import("zod").ZodString;
|
|
2721
|
+
value_type: import("zod").ZodString;
|
|
2722
|
+
format: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2723
|
+
items: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2724
|
+
type: import("zod").ZodString;
|
|
2725
|
+
}, import("zod/v4/core").$strip>>;
|
|
2726
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2727
|
+
key: import("zod").ZodString;
|
|
2728
|
+
type: import("zod").ZodLiteral<"info_field">;
|
|
2729
|
+
description: import("zod").ZodString;
|
|
2730
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2731
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodType<import(".").FieldsetItem, unknown, import("zod/v4/core").$ZodTypeInternals<import(".").FieldsetItem, unknown>>]>;
|
|
2732
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
2733
|
+
key: string;
|
|
2734
|
+
type: "input_field";
|
|
2735
|
+
default_value: string;
|
|
2736
|
+
depends_on: string[];
|
|
2737
|
+
description: string;
|
|
2738
|
+
invalidates_input_fields: boolean;
|
|
2739
|
+
is_required: boolean;
|
|
2740
|
+
placeholder: string;
|
|
2741
|
+
title: string;
|
|
2742
|
+
value_type: string;
|
|
2743
|
+
format?: string | undefined;
|
|
2744
|
+
items?: {
|
|
2745
|
+
type: string;
|
|
2746
|
+
} | undefined;
|
|
2747
|
+
} | {
|
|
2748
|
+
key: string;
|
|
2749
|
+
type: "info_field";
|
|
2750
|
+
description: string;
|
|
2751
|
+
title?: string | undefined;
|
|
2752
|
+
} | import(".").FieldsetItem, Record<string, unknown>, unknown>;
|
|
2753
|
+
defaultPageSize: number;
|
|
2754
|
+
};
|
|
2755
|
+
};
|
|
2756
|
+
};
|
|
2757
|
+
} & {
|
|
2758
|
+
getInputFieldsSchema: (options?: {
|
|
2759
|
+
app: string;
|
|
2760
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2761
|
+
action: string;
|
|
2762
|
+
connection?: string | number | undefined;
|
|
2763
|
+
connectionId?: string | number | null | undefined;
|
|
2764
|
+
authenticationId?: string | number | null | undefined;
|
|
2765
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2766
|
+
} | {
|
|
2767
|
+
appKey: string;
|
|
2768
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2769
|
+
actionKey: string;
|
|
2770
|
+
connection?: string | number | undefined;
|
|
2771
|
+
connectionId?: string | number | null | undefined;
|
|
2772
|
+
authenticationId?: string | number | null | undefined;
|
|
2773
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2774
|
+
} | undefined) => Promise<{
|
|
2775
|
+
data: Record<string, unknown>;
|
|
2776
|
+
}>;
|
|
2777
|
+
context: {
|
|
2778
|
+
meta: {
|
|
2779
|
+
getInputFieldsSchema: {
|
|
2780
|
+
categories: string[];
|
|
2781
|
+
deprecation: {
|
|
2782
|
+
message: string;
|
|
2783
|
+
};
|
|
2784
|
+
type: "function";
|
|
2785
|
+
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2786
|
+
app: import("zod").ZodString & {
|
|
2787
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2788
|
+
};
|
|
2789
|
+
actionType: import("zod").ZodEnum<{
|
|
2790
|
+
filter: "filter";
|
|
2791
|
+
write: "write";
|
|
2792
|
+
read: "read";
|
|
2793
|
+
read_bulk: "read_bulk";
|
|
2794
|
+
run: "run";
|
|
2795
|
+
search: "search";
|
|
2796
|
+
search_and_write: "search_and_write";
|
|
2797
|
+
search_or_write: "search_or_write";
|
|
2798
|
+
}>;
|
|
2799
|
+
action: import("zod").ZodString & {
|
|
2800
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2801
|
+
};
|
|
2802
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2803
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
2804
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
2805
|
+
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
2806
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2807
|
+
appKey: import("zod").ZodString & {
|
|
2808
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2809
|
+
};
|
|
2810
|
+
actionType: import("zod").ZodEnum<{
|
|
2811
|
+
filter: "filter";
|
|
2812
|
+
write: "write";
|
|
2813
|
+
read: "read";
|
|
2814
|
+
read_bulk: "read_bulk";
|
|
2815
|
+
run: "run";
|
|
2816
|
+
search: "search";
|
|
2817
|
+
search_and_write: "search_and_write";
|
|
2818
|
+
search_or_write: "search_or_write";
|
|
2819
|
+
}>;
|
|
2820
|
+
actionKey: import("zod").ZodString;
|
|
2821
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2822
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
2823
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
2824
|
+
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
2825
|
+
}, import("zod/v4/core").$strip>]>;
|
|
2826
|
+
};
|
|
2827
|
+
};
|
|
2828
|
+
};
|
|
2829
|
+
} & {
|
|
2830
|
+
listInputFieldChoices: (options?: (({
|
|
2831
|
+
app: string;
|
|
2832
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2833
|
+
action: string;
|
|
2834
|
+
inputField: string;
|
|
2835
|
+
connection?: string | number | undefined;
|
|
2836
|
+
connectionId?: string | number | null | undefined;
|
|
2837
|
+
authenticationId?: string | number | null | undefined;
|
|
2838
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2839
|
+
page?: number | undefined;
|
|
2840
|
+
pageSize?: number | undefined;
|
|
2841
|
+
maxItems?: number | undefined;
|
|
2842
|
+
cursor?: string | undefined;
|
|
2843
|
+
} | {
|
|
2844
|
+
appKey: string;
|
|
2845
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2846
|
+
actionKey: string;
|
|
2847
|
+
inputFieldKey: string;
|
|
2848
|
+
connection?: string | number | undefined;
|
|
2849
|
+
connectionId?: string | number | null | undefined;
|
|
2850
|
+
authenticationId?: string | number | null | undefined;
|
|
2851
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2852
|
+
page?: number | undefined;
|
|
2853
|
+
pageSize?: number | undefined;
|
|
2854
|
+
maxItems?: number | undefined;
|
|
2855
|
+
cursor?: string | undefined;
|
|
2856
|
+
}) & {
|
|
2857
|
+
cursor?: string;
|
|
2858
|
+
pageSize?: number;
|
|
2859
|
+
maxItems?: number;
|
|
2860
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2861
|
+
key?: string | undefined;
|
|
2862
|
+
label?: string | undefined;
|
|
2863
|
+
sample?: string | undefined;
|
|
2864
|
+
value?: string | undefined;
|
|
2865
|
+
}>;
|
|
2866
|
+
context: {
|
|
2867
|
+
meta: {
|
|
2868
|
+
listInputFieldChoices: {
|
|
2869
|
+
categories: string[];
|
|
2870
|
+
deprecation: {
|
|
2871
|
+
message: string;
|
|
2872
|
+
};
|
|
2873
|
+
type: "list";
|
|
2874
|
+
itemType: string;
|
|
2875
|
+
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2876
|
+
app: import("zod").ZodString & {
|
|
2877
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2878
|
+
};
|
|
2879
|
+
actionType: import("zod").ZodEnum<{
|
|
2880
|
+
filter: "filter";
|
|
2881
|
+
write: "write";
|
|
2882
|
+
read: "read";
|
|
2883
|
+
read_bulk: "read_bulk";
|
|
2884
|
+
run: "run";
|
|
2885
|
+
search: "search";
|
|
2886
|
+
search_and_write: "search_and_write";
|
|
2887
|
+
search_or_write: "search_or_write";
|
|
2888
|
+
}>;
|
|
2889
|
+
action: import("zod").ZodString & {
|
|
2890
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2891
|
+
};
|
|
2892
|
+
inputField: import("zod").ZodString & {
|
|
2893
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2894
|
+
};
|
|
2895
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2896
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
2897
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
2898
|
+
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
2899
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2900
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2901
|
+
maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2902
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2903
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2904
|
+
appKey: import("zod").ZodString & {
|
|
2905
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2906
|
+
};
|
|
2907
|
+
actionType: import("zod").ZodEnum<{
|
|
2908
|
+
filter: "filter";
|
|
2909
|
+
write: "write";
|
|
2910
|
+
read: "read";
|
|
2911
|
+
read_bulk: "read_bulk";
|
|
2912
|
+
run: "run";
|
|
2913
|
+
search: "search";
|
|
2914
|
+
search_and_write: "search_and_write";
|
|
2915
|
+
search_or_write: "search_or_write";
|
|
2916
|
+
}>;
|
|
2917
|
+
actionKey: import("zod").ZodString;
|
|
2918
|
+
inputFieldKey: import("zod").ZodString;
|
|
2919
|
+
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2920
|
+
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
2921
|
+
authenticationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
2922
|
+
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
2923
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2924
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2925
|
+
maxItems: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2926
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2927
|
+
}, import("zod/v4/core").$strip>]>;
|
|
2928
|
+
outputSchema: import("zod").ZodObject<{
|
|
2929
|
+
key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2930
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2931
|
+
sample: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2932
|
+
value: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2933
|
+
}, import("zod/v4/core").$strip>;
|
|
2934
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
2935
|
+
key?: string | undefined;
|
|
2936
|
+
label?: string | undefined;
|
|
2937
|
+
sample?: string | undefined;
|
|
2938
|
+
value?: string | undefined;
|
|
2939
|
+
}, Record<string, unknown>, unknown>;
|
|
2940
|
+
defaultPageSize: number;
|
|
2941
|
+
};
|
|
2942
|
+
};
|
|
2943
|
+
};
|
|
2944
|
+
} & {
|
|
2945
|
+
runAction: (options?: (({
|
|
2946
|
+
app: string;
|
|
2947
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2948
|
+
action: string;
|
|
2949
|
+
connection?: string | number | undefined;
|
|
2950
|
+
connectionId?: string | number | null | undefined;
|
|
2951
|
+
authenticationId?: string | number | null | undefined;
|
|
2952
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2953
|
+
timeoutMs?: number | undefined;
|
|
2954
|
+
pageSize?: number | undefined;
|
|
2955
|
+
maxItems?: number | undefined;
|
|
2956
|
+
cursor?: string | undefined;
|
|
2957
|
+
} | {
|
|
2958
|
+
appKey: string;
|
|
2959
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
2960
|
+
actionKey: string;
|
|
2961
|
+
connection?: string | number | undefined;
|
|
2962
|
+
connectionId?: string | number | null | undefined;
|
|
2963
|
+
authenticationId?: string | number | null | undefined;
|
|
2964
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2965
|
+
timeoutMs?: number | undefined;
|
|
2966
|
+
pageSize?: number | undefined;
|
|
2967
|
+
maxItems?: number | undefined;
|
|
2968
|
+
cursor?: string | undefined;
|
|
2969
|
+
}) & {
|
|
2970
|
+
cursor?: string;
|
|
2971
|
+
pageSize?: number;
|
|
2972
|
+
maxItems?: number;
|
|
2973
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<unknown>;
|
|
958
2974
|
} & {
|
|
959
2975
|
context: {
|
|
960
2976
|
meta: {
|
|
961
|
-
|
|
2977
|
+
runAction: import("kitcore").PluginMeta<unknown>;
|
|
962
2978
|
};
|
|
963
2979
|
};
|
|
964
2980
|
} & {
|
|
@@ -983,7 +2999,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
983
2999
|
cursor?: string;
|
|
984
3000
|
pageSize?: number;
|
|
985
3001
|
maxItems?: number;
|
|
986
|
-
}) | undefined) => import("
|
|
3002
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
987
3003
|
date: string;
|
|
988
3004
|
is_invite_only: boolean;
|
|
989
3005
|
is_private: boolean;
|
|
@@ -1017,6 +3033,9 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1017
3033
|
listAuthentications: {
|
|
1018
3034
|
packages: string[];
|
|
1019
3035
|
categories: string[];
|
|
3036
|
+
deprecation: {
|
|
3037
|
+
message: string;
|
|
3038
|
+
};
|
|
1020
3039
|
type: "list";
|
|
1021
3040
|
itemType: string;
|
|
1022
3041
|
inputSchema: import("zod").ZodObject<{
|
|
@@ -1024,10 +3043,10 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1024
3043
|
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1025
3044
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1026
3045
|
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1027
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
3046
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1028
3047
|
}>;
|
|
1029
3048
|
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1030
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
3049
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1031
3050
|
}>;
|
|
1032
3051
|
connections: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1033
3052
|
connectionIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
@@ -1070,6 +3089,35 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1070
3089
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1071
3090
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1072
3091
|
}, import("zod/v4/core").$strip>;
|
|
3092
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
3093
|
+
date: string;
|
|
3094
|
+
is_invite_only: boolean;
|
|
3095
|
+
is_private: boolean;
|
|
3096
|
+
shared_with_all: boolean;
|
|
3097
|
+
id: string;
|
|
3098
|
+
account_id: string;
|
|
3099
|
+
title?: string | null | undefined;
|
|
3100
|
+
lastchanged?: string | undefined;
|
|
3101
|
+
destination_selected_api?: string | null | undefined;
|
|
3102
|
+
is_stale?: string | undefined;
|
|
3103
|
+
is_shared?: string | undefined;
|
|
3104
|
+
marked_stale_at?: string | null | undefined;
|
|
3105
|
+
label?: string | null | undefined;
|
|
3106
|
+
identifier?: string | null | undefined;
|
|
3107
|
+
url?: string | undefined;
|
|
3108
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
3109
|
+
members?: string | undefined;
|
|
3110
|
+
permissions?: Record<string, boolean> | undefined;
|
|
3111
|
+
public_id?: string | undefined;
|
|
3112
|
+
account_public_id?: string | undefined;
|
|
3113
|
+
customuser_public_id?: string | undefined;
|
|
3114
|
+
implementation_id?: string | undefined;
|
|
3115
|
+
profile_id?: string | undefined;
|
|
3116
|
+
is_expired?: string | undefined;
|
|
3117
|
+
expired_at?: string | null | undefined;
|
|
3118
|
+
app_key?: string | undefined;
|
|
3119
|
+
app_version?: string | undefined;
|
|
3120
|
+
}, Record<string, unknown>, unknown>;
|
|
1073
3121
|
};
|
|
1074
3122
|
};
|
|
1075
3123
|
};
|
|
@@ -1114,6 +3162,9 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1114
3162
|
getAuthentication: {
|
|
1115
3163
|
packages: string[];
|
|
1116
3164
|
categories: string[];
|
|
3165
|
+
deprecation: {
|
|
3166
|
+
message: string;
|
|
3167
|
+
};
|
|
1117
3168
|
type: "item";
|
|
1118
3169
|
itemType: string;
|
|
1119
3170
|
inputSchema: import("zod").ZodObject<{
|
|
@@ -1150,6 +3201,35 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1150
3201
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1151
3202
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1152
3203
|
}, import("zod/v4/core").$strip>;
|
|
3204
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
3205
|
+
date: string;
|
|
3206
|
+
is_invite_only: boolean;
|
|
3207
|
+
is_private: boolean;
|
|
3208
|
+
shared_with_all: boolean;
|
|
3209
|
+
id: string;
|
|
3210
|
+
account_id: string;
|
|
3211
|
+
title?: string | null | undefined;
|
|
3212
|
+
lastchanged?: string | undefined;
|
|
3213
|
+
destination_selected_api?: string | null | undefined;
|
|
3214
|
+
is_stale?: string | undefined;
|
|
3215
|
+
is_shared?: string | undefined;
|
|
3216
|
+
marked_stale_at?: string | null | undefined;
|
|
3217
|
+
label?: string | null | undefined;
|
|
3218
|
+
identifier?: string | null | undefined;
|
|
3219
|
+
url?: string | undefined;
|
|
3220
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
3221
|
+
members?: string | undefined;
|
|
3222
|
+
permissions?: Record<string, boolean> | undefined;
|
|
3223
|
+
public_id?: string | undefined;
|
|
3224
|
+
account_public_id?: string | undefined;
|
|
3225
|
+
customuser_public_id?: string | undefined;
|
|
3226
|
+
implementation_id?: string | undefined;
|
|
3227
|
+
profile_id?: string | undefined;
|
|
3228
|
+
is_expired?: string | undefined;
|
|
3229
|
+
expired_at?: string | null | undefined;
|
|
3230
|
+
app_key?: string | undefined;
|
|
3231
|
+
app_version?: string | undefined;
|
|
3232
|
+
}, Record<string, unknown>, unknown>;
|
|
1153
3233
|
};
|
|
1154
3234
|
};
|
|
1155
3235
|
};
|
|
@@ -1201,16 +3281,19 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1201
3281
|
findFirstAuthentication: {
|
|
1202
3282
|
packages: string[];
|
|
1203
3283
|
categories: string[];
|
|
3284
|
+
deprecation: {
|
|
3285
|
+
message: string;
|
|
3286
|
+
};
|
|
1204
3287
|
type: "item";
|
|
1205
3288
|
itemType: string;
|
|
1206
3289
|
inputSchema: import("zod").ZodObject<{
|
|
1207
3290
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1208
3291
|
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1209
3292
|
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1210
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
3293
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1211
3294
|
}>;
|
|
1212
3295
|
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1213
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
3296
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1214
3297
|
}>;
|
|
1215
3298
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1216
3299
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1248,6 +3331,35 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1248
3331
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1249
3332
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1250
3333
|
}, import("zod/v4/core").$strip>;
|
|
3334
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
3335
|
+
date: string;
|
|
3336
|
+
is_invite_only: boolean;
|
|
3337
|
+
is_private: boolean;
|
|
3338
|
+
shared_with_all: boolean;
|
|
3339
|
+
id: string;
|
|
3340
|
+
account_id: string;
|
|
3341
|
+
title?: string | null | undefined;
|
|
3342
|
+
lastchanged?: string | undefined;
|
|
3343
|
+
destination_selected_api?: string | null | undefined;
|
|
3344
|
+
is_stale?: string | undefined;
|
|
3345
|
+
is_shared?: string | undefined;
|
|
3346
|
+
marked_stale_at?: string | null | undefined;
|
|
3347
|
+
label?: string | null | undefined;
|
|
3348
|
+
identifier?: string | null | undefined;
|
|
3349
|
+
url?: string | undefined;
|
|
3350
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
3351
|
+
members?: string | undefined;
|
|
3352
|
+
permissions?: Record<string, boolean> | undefined;
|
|
3353
|
+
public_id?: string | undefined;
|
|
3354
|
+
account_public_id?: string | undefined;
|
|
3355
|
+
customuser_public_id?: string | undefined;
|
|
3356
|
+
implementation_id?: string | undefined;
|
|
3357
|
+
profile_id?: string | undefined;
|
|
3358
|
+
is_expired?: string | undefined;
|
|
3359
|
+
expired_at?: string | null | undefined;
|
|
3360
|
+
app_key?: string | undefined;
|
|
3361
|
+
app_version?: string | undefined;
|
|
3362
|
+
}, Record<string, unknown>, unknown>;
|
|
1251
3363
|
};
|
|
1252
3364
|
};
|
|
1253
3365
|
};
|
|
@@ -1299,16 +3411,19 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1299
3411
|
findUniqueAuthentication: {
|
|
1300
3412
|
packages: string[];
|
|
1301
3413
|
categories: string[];
|
|
3414
|
+
deprecation: {
|
|
3415
|
+
message: string;
|
|
3416
|
+
};
|
|
1302
3417
|
type: "item";
|
|
1303
3418
|
itemType: string;
|
|
1304
3419
|
inputSchema: import("zod").ZodObject<{
|
|
1305
3420
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1306
3421
|
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1307
3422
|
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1308
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
3423
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1309
3424
|
}>;
|
|
1310
3425
|
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
1311
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
3426
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
1312
3427
|
}>;
|
|
1313
3428
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1314
3429
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1346,6 +3461,35 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1346
3461
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1347
3462
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1348
3463
|
}, import("zod/v4/core").$strip>;
|
|
3464
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
3465
|
+
date: string;
|
|
3466
|
+
is_invite_only: boolean;
|
|
3467
|
+
is_private: boolean;
|
|
3468
|
+
shared_with_all: boolean;
|
|
3469
|
+
id: string;
|
|
3470
|
+
account_id: string;
|
|
3471
|
+
title?: string | null | undefined;
|
|
3472
|
+
lastchanged?: string | undefined;
|
|
3473
|
+
destination_selected_api?: string | null | undefined;
|
|
3474
|
+
is_stale?: string | undefined;
|
|
3475
|
+
is_shared?: string | undefined;
|
|
3476
|
+
marked_stale_at?: string | null | undefined;
|
|
3477
|
+
label?: string | null | undefined;
|
|
3478
|
+
identifier?: string | null | undefined;
|
|
3479
|
+
url?: string | undefined;
|
|
3480
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
3481
|
+
members?: string | undefined;
|
|
3482
|
+
permissions?: Record<string, boolean> | undefined;
|
|
3483
|
+
public_id?: string | undefined;
|
|
3484
|
+
account_public_id?: string | undefined;
|
|
3485
|
+
customuser_public_id?: string | undefined;
|
|
3486
|
+
implementation_id?: string | undefined;
|
|
3487
|
+
profile_id?: string | undefined;
|
|
3488
|
+
is_expired?: string | undefined;
|
|
3489
|
+
expired_at?: string | null | undefined;
|
|
3490
|
+
app_key?: string | undefined;
|
|
3491
|
+
app_version?: string | undefined;
|
|
3492
|
+
}, Record<string, unknown>, unknown>;
|
|
1349
3493
|
};
|
|
1350
3494
|
};
|
|
1351
3495
|
};
|
|
@@ -1358,7 +3502,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1358
3502
|
cursor?: string;
|
|
1359
3503
|
pageSize?: number;
|
|
1360
3504
|
maxItems?: number;
|
|
1361
|
-
}) | undefined) => import("
|
|
3505
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1362
3506
|
client_id: string;
|
|
1363
3507
|
name: string;
|
|
1364
3508
|
allowed_scopes: ("external" | "credentials")[];
|
|
@@ -1368,7 +3512,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1368
3512
|
} & {
|
|
1369
3513
|
context: {
|
|
1370
3514
|
meta: {
|
|
1371
|
-
listClientCredentials: PluginMeta
|
|
3515
|
+
listClientCredentials: import("kitcore").PluginMeta<unknown>;
|
|
1372
3516
|
};
|
|
1373
3517
|
};
|
|
1374
3518
|
} & {
|
|
@@ -1386,7 +3530,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1386
3530
|
} & {
|
|
1387
3531
|
context: {
|
|
1388
3532
|
meta: {
|
|
1389
|
-
createClientCredentials: PluginMeta
|
|
3533
|
+
createClientCredentials: import("kitcore").PluginMeta<unknown>;
|
|
1390
3534
|
};
|
|
1391
3535
|
};
|
|
1392
3536
|
} & {
|
|
@@ -1398,7 +3542,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1398
3542
|
} & {
|
|
1399
3543
|
context: {
|
|
1400
3544
|
meta: {
|
|
1401
|
-
deleteClientCredentials: PluginMeta
|
|
3545
|
+
deleteClientCredentials: import("kitcore").PluginMeta<unknown>;
|
|
1402
3546
|
};
|
|
1403
3547
|
};
|
|
1404
3548
|
} & {
|
|
@@ -1408,7 +3552,10 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1408
3552
|
fetch: {
|
|
1409
3553
|
description: string;
|
|
1410
3554
|
packages: string[];
|
|
1411
|
-
categories:
|
|
3555
|
+
categories: {
|
|
3556
|
+
key: string;
|
|
3557
|
+
title: string;
|
|
3558
|
+
}[];
|
|
1412
3559
|
returnType: string;
|
|
1413
3560
|
inputParameters: ({
|
|
1414
3561
|
name: string;
|
|
@@ -1419,8 +3566,8 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1419
3566
|
method: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1420
3567
|
POST: "POST";
|
|
1421
3568
|
GET: "GET";
|
|
1422
|
-
PUT: "PUT";
|
|
1423
3569
|
DELETE: "DELETE";
|
|
3570
|
+
PUT: "PUT";
|
|
1424
3571
|
PATCH: "PATCH";
|
|
1425
3572
|
HEAD: "HEAD";
|
|
1426
3573
|
OPTIONS: "OPTIONS";
|
|
@@ -1440,7 +3587,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1440
3587
|
} & {
|
|
1441
3588
|
request: (options?: {
|
|
1442
3589
|
url: string;
|
|
1443
|
-
method?: "POST" | "GET" | "
|
|
3590
|
+
method?: "POST" | "GET" | "DELETE" | "PUT" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
|
|
1444
3591
|
body?: any;
|
|
1445
3592
|
connection?: string | number | undefined;
|
|
1446
3593
|
connectionId?: string | number | undefined;
|
|
@@ -1451,7 +3598,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1451
3598
|
} & {
|
|
1452
3599
|
context: {
|
|
1453
3600
|
meta: {
|
|
1454
|
-
request: PluginMeta
|
|
3601
|
+
request: import("kitcore").PluginMeta<unknown>;
|
|
1455
3602
|
};
|
|
1456
3603
|
};
|
|
1457
3604
|
} & {
|
|
@@ -1469,7 +3616,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1469
3616
|
cursor?: string;
|
|
1470
3617
|
pageSize?: number;
|
|
1471
3618
|
maxItems?: number;
|
|
1472
|
-
}) | undefined) => import("
|
|
3619
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1473
3620
|
id: string;
|
|
1474
3621
|
name: string;
|
|
1475
3622
|
created_at: string;
|
|
@@ -1483,7 +3630,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1483
3630
|
} & {
|
|
1484
3631
|
context: {
|
|
1485
3632
|
meta: {
|
|
1486
|
-
listTables: PluginMeta
|
|
3633
|
+
listTables: import("kitcore").PluginMeta<unknown>;
|
|
1487
3634
|
};
|
|
1488
3635
|
};
|
|
1489
3636
|
} & {
|
|
@@ -1507,7 +3654,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1507
3654
|
} & {
|
|
1508
3655
|
context: {
|
|
1509
3656
|
meta: {
|
|
1510
|
-
getTable: PluginMeta
|
|
3657
|
+
getTable: import("kitcore").PluginMeta<unknown>;
|
|
1511
3658
|
};
|
|
1512
3659
|
};
|
|
1513
3660
|
} & {
|
|
@@ -1521,7 +3668,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1521
3668
|
} & {
|
|
1522
3669
|
context: {
|
|
1523
3670
|
meta: {
|
|
1524
|
-
deleteTable: PluginMeta
|
|
3671
|
+
deleteTable: import("kitcore").PluginMeta<unknown>;
|
|
1525
3672
|
};
|
|
1526
3673
|
};
|
|
1527
3674
|
} & {
|
|
@@ -1544,7 +3691,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1544
3691
|
} & {
|
|
1545
3692
|
context: {
|
|
1546
3693
|
meta: {
|
|
1547
|
-
createTable: PluginMeta
|
|
3694
|
+
createTable: import("kitcore").PluginMeta<unknown>;
|
|
1548
3695
|
};
|
|
1549
3696
|
};
|
|
1550
3697
|
} & {
|
|
@@ -1573,7 +3720,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1573
3720
|
} & {
|
|
1574
3721
|
context: {
|
|
1575
3722
|
meta: {
|
|
1576
|
-
listTableFields: PluginMeta
|
|
3723
|
+
listTableFields: import("kitcore").PluginMeta<unknown>;
|
|
1577
3724
|
};
|
|
1578
3725
|
};
|
|
1579
3726
|
} & {
|
|
@@ -1608,7 +3755,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1608
3755
|
} & {
|
|
1609
3756
|
context: {
|
|
1610
3757
|
meta: {
|
|
1611
|
-
createTableFields: PluginMeta
|
|
3758
|
+
createTableFields: import("kitcore").PluginMeta<unknown>;
|
|
1612
3759
|
};
|
|
1613
3760
|
};
|
|
1614
3761
|
} & {
|
|
@@ -1624,31 +3771,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1624
3771
|
} & {
|
|
1625
3772
|
context: {
|
|
1626
3773
|
meta: {
|
|
1627
|
-
deleteTableFields: PluginMeta
|
|
1628
|
-
};
|
|
1629
|
-
};
|
|
1630
|
-
} & {
|
|
1631
|
-
getTableRecord: (options?: {
|
|
1632
|
-
table: string;
|
|
1633
|
-
record: string;
|
|
1634
|
-
keyMode: "names" | "ids";
|
|
1635
|
-
} | {
|
|
1636
|
-
tableId: string;
|
|
1637
|
-
recordId: string;
|
|
1638
|
-
keyMode: "names" | "ids";
|
|
1639
|
-
} | undefined) => Promise<{
|
|
1640
|
-
data: {
|
|
1641
|
-
data: Record<string, unknown>;
|
|
1642
|
-
id: string;
|
|
1643
|
-
created_at: string;
|
|
1644
|
-
edited_at: string;
|
|
1645
|
-
deleted_at?: string | null | undefined;
|
|
1646
|
-
};
|
|
1647
|
-
}>;
|
|
1648
|
-
} & {
|
|
1649
|
-
context: {
|
|
1650
|
-
meta: {
|
|
1651
|
-
getTableRecord: PluginMeta;
|
|
3774
|
+
deleteTableFields: import("kitcore").PluginMeta<unknown>;
|
|
1652
3775
|
};
|
|
1653
3776
|
};
|
|
1654
3777
|
} & {
|
|
@@ -1688,9 +3811,9 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1688
3811
|
cursor?: string;
|
|
1689
3812
|
pageSize?: number;
|
|
1690
3813
|
maxItems?: number;
|
|
1691
|
-
}) | undefined) => import("
|
|
1692
|
-
id: string;
|
|
3814
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1693
3815
|
data: Record<string, unknown>;
|
|
3816
|
+
id: string;
|
|
1694
3817
|
created_at: string;
|
|
1695
3818
|
edited_at: string;
|
|
1696
3819
|
deleted_at?: string | null | undefined;
|
|
@@ -1698,7 +3821,31 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1698
3821
|
} & {
|
|
1699
3822
|
context: {
|
|
1700
3823
|
meta: {
|
|
1701
|
-
listTableRecords: PluginMeta
|
|
3824
|
+
listTableRecords: import("kitcore").PluginMeta<unknown>;
|
|
3825
|
+
};
|
|
3826
|
+
};
|
|
3827
|
+
} & {
|
|
3828
|
+
getTableRecord: (options?: {
|
|
3829
|
+
table: string;
|
|
3830
|
+
record: string;
|
|
3831
|
+
keyMode: "names" | "ids";
|
|
3832
|
+
} | {
|
|
3833
|
+
tableId: string;
|
|
3834
|
+
recordId: string;
|
|
3835
|
+
keyMode: "names" | "ids";
|
|
3836
|
+
} | undefined) => Promise<{
|
|
3837
|
+
data: {
|
|
3838
|
+
data: Record<string, unknown>;
|
|
3839
|
+
id: string;
|
|
3840
|
+
created_at: string;
|
|
3841
|
+
edited_at: string;
|
|
3842
|
+
deleted_at?: string | null | undefined;
|
|
3843
|
+
};
|
|
3844
|
+
}>;
|
|
3845
|
+
} & {
|
|
3846
|
+
context: {
|
|
3847
|
+
meta: {
|
|
3848
|
+
getTableRecord: import("kitcore").PluginMeta<unknown>;
|
|
1702
3849
|
};
|
|
1703
3850
|
};
|
|
1704
3851
|
} & {
|
|
@@ -1726,7 +3873,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1726
3873
|
} & {
|
|
1727
3874
|
context: {
|
|
1728
3875
|
meta: {
|
|
1729
|
-
createTableRecords: PluginMeta
|
|
3876
|
+
createTableRecords: import("kitcore").PluginMeta<unknown>;
|
|
1730
3877
|
};
|
|
1731
3878
|
};
|
|
1732
3879
|
} & {
|
|
@@ -1742,7 +3889,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1742
3889
|
} & {
|
|
1743
3890
|
context: {
|
|
1744
3891
|
meta: {
|
|
1745
|
-
deleteTableRecords: PluginMeta
|
|
3892
|
+
deleteTableRecords: import("kitcore").PluginMeta<unknown>;
|
|
1746
3893
|
};
|
|
1747
3894
|
};
|
|
1748
3895
|
} & {
|
|
@@ -1772,7 +3919,7 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1772
3919
|
} & {
|
|
1773
3920
|
context: {
|
|
1774
3921
|
meta: {
|
|
1775
|
-
updateTableRecords: PluginMeta
|
|
3922
|
+
updateTableRecords: import("kitcore").PluginMeta<unknown>;
|
|
1776
3923
|
};
|
|
1777
3924
|
};
|
|
1778
3925
|
} & {
|
|
@@ -1821,13 +3968,18 @@ export declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOption
|
|
|
1821
3968
|
} & {
|
|
1822
3969
|
context: {
|
|
1823
3970
|
meta: {
|
|
1824
|
-
getProfile: PluginMeta
|
|
3971
|
+
getProfile: import("kitcore").PluginMeta<unknown>;
|
|
1825
3972
|
};
|
|
1826
3973
|
};
|
|
1827
3974
|
}>;
|
|
1828
|
-
export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
3975
|
+
export declare function createZapierSdk(options?: ZapierSdkOptions): import("kitcore").WithAddPlugin<object & {
|
|
1829
3976
|
context: {
|
|
1830
|
-
meta: Record<string, PluginMeta>;
|
|
3977
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
3978
|
+
hooks: import("kitcore").MethodHooks;
|
|
3979
|
+
};
|
|
3980
|
+
} & {
|
|
3981
|
+
context: {
|
|
3982
|
+
core: import("kitcore").CoreOptions;
|
|
1831
3983
|
};
|
|
1832
3984
|
} & {
|
|
1833
3985
|
context: {
|
|
@@ -1905,7 +4057,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
1905
4057
|
cursor?: string;
|
|
1906
4058
|
pageSize?: number;
|
|
1907
4059
|
maxItems?: number;
|
|
1908
|
-
}) | undefined) => import("
|
|
4060
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
1909
4061
|
slug: string;
|
|
1910
4062
|
title: string;
|
|
1911
4063
|
key: string;
|
|
@@ -1961,7 +4113,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
1961
4113
|
} & {
|
|
1962
4114
|
context: {
|
|
1963
4115
|
meta: {
|
|
1964
|
-
listApps: PluginMeta
|
|
4116
|
+
listApps: import("kitcore").PluginMeta<unknown>;
|
|
1965
4117
|
};
|
|
1966
4118
|
};
|
|
1967
4119
|
} & {
|
|
@@ -2027,7 +4179,204 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2027
4179
|
} & {
|
|
2028
4180
|
context: {
|
|
2029
4181
|
meta: {
|
|
2030
|
-
getApp: PluginMeta
|
|
4182
|
+
getApp: import("kitcore").PluginMeta<unknown>;
|
|
4183
|
+
};
|
|
4184
|
+
};
|
|
4185
|
+
} & {
|
|
4186
|
+
listConnections: (options?: ({
|
|
4187
|
+
title?: string | undefined;
|
|
4188
|
+
search?: string | undefined;
|
|
4189
|
+
owner?: string | undefined;
|
|
4190
|
+
app?: string | undefined;
|
|
4191
|
+
appKey?: string | undefined;
|
|
4192
|
+
connections?: string[] | undefined;
|
|
4193
|
+
connectionIds?: string[] | undefined;
|
|
4194
|
+
authenticationIds?: string[] | undefined;
|
|
4195
|
+
account?: string | undefined;
|
|
4196
|
+
accountId?: string | undefined;
|
|
4197
|
+
includeShared?: boolean | undefined;
|
|
4198
|
+
isExpired?: boolean | undefined;
|
|
4199
|
+
expired?: boolean | undefined;
|
|
4200
|
+
pageSize?: number | undefined;
|
|
4201
|
+
maxItems?: number | undefined;
|
|
4202
|
+
cursor?: string | undefined;
|
|
4203
|
+
} & {
|
|
4204
|
+
cursor?: string;
|
|
4205
|
+
pageSize?: number;
|
|
4206
|
+
maxItems?: number;
|
|
4207
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
4208
|
+
date: string;
|
|
4209
|
+
is_invite_only: boolean;
|
|
4210
|
+
is_private: boolean;
|
|
4211
|
+
shared_with_all: boolean;
|
|
4212
|
+
id: string;
|
|
4213
|
+
account_id: string;
|
|
4214
|
+
title?: string | null | undefined;
|
|
4215
|
+
lastchanged?: string | undefined;
|
|
4216
|
+
destination_selected_api?: string | null | undefined;
|
|
4217
|
+
is_stale?: string | undefined;
|
|
4218
|
+
is_shared?: string | undefined;
|
|
4219
|
+
marked_stale_at?: string | null | undefined;
|
|
4220
|
+
label?: string | null | undefined;
|
|
4221
|
+
identifier?: string | null | undefined;
|
|
4222
|
+
url?: string | undefined;
|
|
4223
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
4224
|
+
members?: string | undefined;
|
|
4225
|
+
permissions?: Record<string, boolean> | undefined;
|
|
4226
|
+
public_id?: string | undefined;
|
|
4227
|
+
account_public_id?: string | undefined;
|
|
4228
|
+
customuser_public_id?: string | undefined;
|
|
4229
|
+
implementation_id?: string | undefined;
|
|
4230
|
+
profile_id?: string | undefined;
|
|
4231
|
+
is_expired?: string | undefined;
|
|
4232
|
+
expired_at?: string | null | undefined;
|
|
4233
|
+
app_key?: string | undefined;
|
|
4234
|
+
app_version?: string | undefined;
|
|
4235
|
+
}>;
|
|
4236
|
+
} & {
|
|
4237
|
+
context: {
|
|
4238
|
+
meta: {
|
|
4239
|
+
listConnections: import("kitcore").PluginMeta<unknown>;
|
|
4240
|
+
};
|
|
4241
|
+
};
|
|
4242
|
+
} & {
|
|
4243
|
+
getConnection: (options?: {
|
|
4244
|
+
connection?: string | number | undefined;
|
|
4245
|
+
connectionId?: string | number | undefined;
|
|
4246
|
+
authenticationId?: string | number | undefined;
|
|
4247
|
+
} | undefined) => Promise<{
|
|
4248
|
+
data: {
|
|
4249
|
+
date: string;
|
|
4250
|
+
is_invite_only: boolean;
|
|
4251
|
+
is_private: boolean;
|
|
4252
|
+
shared_with_all: boolean;
|
|
4253
|
+
id: string;
|
|
4254
|
+
account_id: string;
|
|
4255
|
+
title?: string | null | undefined;
|
|
4256
|
+
lastchanged?: string | undefined;
|
|
4257
|
+
destination_selected_api?: string | null | undefined;
|
|
4258
|
+
is_stale?: string | undefined;
|
|
4259
|
+
is_shared?: string | undefined;
|
|
4260
|
+
marked_stale_at?: string | null | undefined;
|
|
4261
|
+
label?: string | null | undefined;
|
|
4262
|
+
identifier?: string | null | undefined;
|
|
4263
|
+
url?: string | undefined;
|
|
4264
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
4265
|
+
members?: string | undefined;
|
|
4266
|
+
permissions?: Record<string, boolean> | undefined;
|
|
4267
|
+
public_id?: string | undefined;
|
|
4268
|
+
account_public_id?: string | undefined;
|
|
4269
|
+
customuser_public_id?: string | undefined;
|
|
4270
|
+
implementation_id?: string | undefined;
|
|
4271
|
+
profile_id?: string | undefined;
|
|
4272
|
+
is_expired?: string | undefined;
|
|
4273
|
+
expired_at?: string | null | undefined;
|
|
4274
|
+
app_key?: string | undefined;
|
|
4275
|
+
app_version?: string | undefined;
|
|
4276
|
+
};
|
|
4277
|
+
}>;
|
|
4278
|
+
} & {
|
|
4279
|
+
context: {
|
|
4280
|
+
meta: {
|
|
4281
|
+
getConnection: import("kitcore").PluginMeta<unknown>;
|
|
4282
|
+
};
|
|
4283
|
+
};
|
|
4284
|
+
} & {
|
|
4285
|
+
findFirstConnection: (options?: {
|
|
4286
|
+
title?: string | undefined;
|
|
4287
|
+
search?: string | undefined;
|
|
4288
|
+
appKey?: string | undefined;
|
|
4289
|
+
app?: string | undefined;
|
|
4290
|
+
owner?: string | undefined;
|
|
4291
|
+
account?: string | undefined;
|
|
4292
|
+
accountId?: string | undefined;
|
|
4293
|
+
includeShared?: boolean | undefined;
|
|
4294
|
+
isExpired?: boolean | undefined;
|
|
4295
|
+
expired?: boolean | undefined;
|
|
4296
|
+
} | undefined) => Promise<{
|
|
4297
|
+
data: {
|
|
4298
|
+
date: string;
|
|
4299
|
+
is_invite_only: boolean;
|
|
4300
|
+
is_private: boolean;
|
|
4301
|
+
shared_with_all: boolean;
|
|
4302
|
+
id: string;
|
|
4303
|
+
account_id: string;
|
|
4304
|
+
title?: string | null | undefined;
|
|
4305
|
+
lastchanged?: string | undefined;
|
|
4306
|
+
destination_selected_api?: string | null | undefined;
|
|
4307
|
+
is_stale?: string | undefined;
|
|
4308
|
+
is_shared?: string | undefined;
|
|
4309
|
+
marked_stale_at?: string | null | undefined;
|
|
4310
|
+
label?: string | null | undefined;
|
|
4311
|
+
identifier?: string | null | undefined;
|
|
4312
|
+
url?: string | undefined;
|
|
4313
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
4314
|
+
members?: string | undefined;
|
|
4315
|
+
permissions?: Record<string, boolean> | undefined;
|
|
4316
|
+
public_id?: string | undefined;
|
|
4317
|
+
account_public_id?: string | undefined;
|
|
4318
|
+
customuser_public_id?: string | undefined;
|
|
4319
|
+
implementation_id?: string | undefined;
|
|
4320
|
+
profile_id?: string | undefined;
|
|
4321
|
+
is_expired?: string | undefined;
|
|
4322
|
+
expired_at?: string | null | undefined;
|
|
4323
|
+
app_key?: string | undefined;
|
|
4324
|
+
app_version?: string | undefined;
|
|
4325
|
+
};
|
|
4326
|
+
}>;
|
|
4327
|
+
} & {
|
|
4328
|
+
context: {
|
|
4329
|
+
meta: {
|
|
4330
|
+
findFirstConnection: import("kitcore").PluginMeta<unknown>;
|
|
4331
|
+
};
|
|
4332
|
+
};
|
|
4333
|
+
} & {
|
|
4334
|
+
findUniqueConnection: (options?: {
|
|
4335
|
+
title?: string | undefined;
|
|
4336
|
+
search?: string | undefined;
|
|
4337
|
+
appKey?: string | undefined;
|
|
4338
|
+
app?: string | undefined;
|
|
4339
|
+
owner?: string | undefined;
|
|
4340
|
+
account?: string | undefined;
|
|
4341
|
+
accountId?: string | undefined;
|
|
4342
|
+
includeShared?: boolean | undefined;
|
|
4343
|
+
isExpired?: boolean | undefined;
|
|
4344
|
+
expired?: boolean | undefined;
|
|
4345
|
+
} | undefined) => Promise<{
|
|
4346
|
+
data: {
|
|
4347
|
+
date: string;
|
|
4348
|
+
is_invite_only: boolean;
|
|
4349
|
+
is_private: boolean;
|
|
4350
|
+
shared_with_all: boolean;
|
|
4351
|
+
id: string;
|
|
4352
|
+
account_id: string;
|
|
4353
|
+
title?: string | null | undefined;
|
|
4354
|
+
lastchanged?: string | undefined;
|
|
4355
|
+
destination_selected_api?: string | null | undefined;
|
|
4356
|
+
is_stale?: string | undefined;
|
|
4357
|
+
is_shared?: string | undefined;
|
|
4358
|
+
marked_stale_at?: string | null | undefined;
|
|
4359
|
+
label?: string | null | undefined;
|
|
4360
|
+
identifier?: string | null | undefined;
|
|
4361
|
+
url?: string | undefined;
|
|
4362
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
4363
|
+
members?: string | undefined;
|
|
4364
|
+
permissions?: Record<string, boolean> | undefined;
|
|
4365
|
+
public_id?: string | undefined;
|
|
4366
|
+
account_public_id?: string | undefined;
|
|
4367
|
+
customuser_public_id?: string | undefined;
|
|
4368
|
+
implementation_id?: string | undefined;
|
|
4369
|
+
profile_id?: string | undefined;
|
|
4370
|
+
is_expired?: string | undefined;
|
|
4371
|
+
expired_at?: string | null | undefined;
|
|
4372
|
+
app_key?: string | undefined;
|
|
4373
|
+
app_version?: string | undefined;
|
|
4374
|
+
};
|
|
4375
|
+
}>;
|
|
4376
|
+
} & {
|
|
4377
|
+
context: {
|
|
4378
|
+
meta: {
|
|
4379
|
+
findUniqueConnection: import("kitcore").PluginMeta<unknown>;
|
|
2031
4380
|
};
|
|
2032
4381
|
};
|
|
2033
4382
|
} & {
|
|
@@ -2047,7 +4396,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2047
4396
|
cursor?: string;
|
|
2048
4397
|
pageSize?: number;
|
|
2049
4398
|
maxItems?: number;
|
|
2050
|
-
}) | undefined) => import("
|
|
4399
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2051
4400
|
description: string;
|
|
2052
4401
|
key: string;
|
|
2053
4402
|
app_key: string;
|
|
@@ -2062,7 +4411,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2062
4411
|
} & {
|
|
2063
4412
|
context: {
|
|
2064
4413
|
meta: {
|
|
2065
|
-
listActions: PluginMeta
|
|
4414
|
+
listActions: import("kitcore").PluginMeta<unknown>;
|
|
2066
4415
|
};
|
|
2067
4416
|
};
|
|
2068
4417
|
} & {
|
|
@@ -2091,7 +4440,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2091
4440
|
} & {
|
|
2092
4441
|
context: {
|
|
2093
4442
|
meta: {
|
|
2094
|
-
getAction: PluginMeta
|
|
4443
|
+
getAction: import("kitcore").PluginMeta<unknown>;
|
|
2095
4444
|
};
|
|
2096
4445
|
};
|
|
2097
4446
|
} & {
|
|
@@ -2121,7 +4470,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2121
4470
|
cursor?: string;
|
|
2122
4471
|
pageSize?: number;
|
|
2123
4472
|
maxItems?: number;
|
|
2124
|
-
}) | undefined) => import("
|
|
4473
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2125
4474
|
key: string;
|
|
2126
4475
|
type: "input_field";
|
|
2127
4476
|
default_value: string;
|
|
@@ -2145,7 +4494,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2145
4494
|
} & {
|
|
2146
4495
|
context: {
|
|
2147
4496
|
meta: {
|
|
2148
|
-
listActionInputFields: PluginMeta
|
|
4497
|
+
listActionInputFields: import("kitcore").PluginMeta<unknown>;
|
|
2149
4498
|
};
|
|
2150
4499
|
};
|
|
2151
4500
|
} & {
|
|
@@ -2171,7 +4520,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2171
4520
|
} & {
|
|
2172
4521
|
context: {
|
|
2173
4522
|
meta: {
|
|
2174
|
-
getActionInputFieldsSchema: PluginMeta
|
|
4523
|
+
getActionInputFieldsSchema: import("kitcore").PluginMeta<unknown>;
|
|
2175
4524
|
};
|
|
2176
4525
|
};
|
|
2177
4526
|
} & {
|
|
@@ -2205,7 +4554,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2205
4554
|
cursor?: string;
|
|
2206
4555
|
pageSize?: number;
|
|
2207
4556
|
maxItems?: number;
|
|
2208
|
-
}) | undefined) => import("
|
|
4557
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2209
4558
|
key?: string | undefined;
|
|
2210
4559
|
label?: string | undefined;
|
|
2211
4560
|
sample?: string | undefined;
|
|
@@ -2214,7 +4563,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2214
4563
|
} & {
|
|
2215
4564
|
context: {
|
|
2216
4565
|
meta: {
|
|
2217
|
-
listActionInputFieldChoices: PluginMeta
|
|
4566
|
+
listActionInputFieldChoices: import("kitcore").PluginMeta<unknown>;
|
|
2218
4567
|
};
|
|
2219
4568
|
};
|
|
2220
4569
|
} & {
|
|
@@ -2244,7 +4593,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2244
4593
|
cursor?: string;
|
|
2245
4594
|
pageSize?: number;
|
|
2246
4595
|
maxItems?: number;
|
|
2247
|
-
}) | undefined) => import("
|
|
4596
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2248
4597
|
key: string;
|
|
2249
4598
|
type: "input_field";
|
|
2250
4599
|
default_value: string;
|
|
@@ -2269,11 +4618,14 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2269
4618
|
meta: {
|
|
2270
4619
|
listInputFields: {
|
|
2271
4620
|
categories: string[];
|
|
4621
|
+
deprecation: {
|
|
4622
|
+
message: string;
|
|
4623
|
+
};
|
|
2272
4624
|
type: "list";
|
|
2273
4625
|
itemType: string;
|
|
2274
4626
|
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2275
4627
|
app: import("zod").ZodString & {
|
|
2276
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4628
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2277
4629
|
};
|
|
2278
4630
|
actionType: import("zod").ZodEnum<{
|
|
2279
4631
|
filter: "filter";
|
|
@@ -2286,7 +4638,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2286
4638
|
search_or_write: "search_or_write";
|
|
2287
4639
|
}>;
|
|
2288
4640
|
action: import("zod").ZodString & {
|
|
2289
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4641
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2290
4642
|
};
|
|
2291
4643
|
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2292
4644
|
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
@@ -2297,7 +4649,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2297
4649
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2298
4650
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2299
4651
|
appKey: import("zod").ZodString & {
|
|
2300
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4652
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2301
4653
|
};
|
|
2302
4654
|
actionType: import("zod").ZodEnum<{
|
|
2303
4655
|
filter: "filter";
|
|
@@ -2339,6 +4691,27 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2339
4691
|
description: import("zod").ZodString;
|
|
2340
4692
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2341
4693
|
}, import("zod/v4/core").$strip>, import("zod").ZodType<import(".").FieldsetItem, unknown, import("zod/v4/core").$ZodTypeInternals<import(".").FieldsetItem, unknown>>]>;
|
|
4694
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
4695
|
+
key: string;
|
|
4696
|
+
type: "input_field";
|
|
4697
|
+
default_value: string;
|
|
4698
|
+
depends_on: string[];
|
|
4699
|
+
description: string;
|
|
4700
|
+
invalidates_input_fields: boolean;
|
|
4701
|
+
is_required: boolean;
|
|
4702
|
+
placeholder: string;
|
|
4703
|
+
title: string;
|
|
4704
|
+
value_type: string;
|
|
4705
|
+
format?: string | undefined;
|
|
4706
|
+
items?: {
|
|
4707
|
+
type: string;
|
|
4708
|
+
} | undefined;
|
|
4709
|
+
} | {
|
|
4710
|
+
key: string;
|
|
4711
|
+
type: "info_field";
|
|
4712
|
+
description: string;
|
|
4713
|
+
title?: string | undefined;
|
|
4714
|
+
} | import(".").FieldsetItem, Record<string, unknown>, unknown>;
|
|
2342
4715
|
defaultPageSize: number;
|
|
2343
4716
|
};
|
|
2344
4717
|
};
|
|
@@ -2367,10 +4740,13 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2367
4740
|
meta: {
|
|
2368
4741
|
getInputFieldsSchema: {
|
|
2369
4742
|
categories: string[];
|
|
4743
|
+
deprecation: {
|
|
4744
|
+
message: string;
|
|
4745
|
+
};
|
|
2370
4746
|
type: "function";
|
|
2371
4747
|
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2372
4748
|
app: import("zod").ZodString & {
|
|
2373
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4749
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2374
4750
|
};
|
|
2375
4751
|
actionType: import("zod").ZodEnum<{
|
|
2376
4752
|
filter: "filter";
|
|
@@ -2383,7 +4759,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2383
4759
|
search_or_write: "search_or_write";
|
|
2384
4760
|
}>;
|
|
2385
4761
|
action: import("zod").ZodString & {
|
|
2386
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4762
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2387
4763
|
};
|
|
2388
4764
|
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2389
4765
|
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
@@ -2391,7 +4767,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2391
4767
|
inputs: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
2392
4768
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2393
4769
|
appKey: import("zod").ZodString & {
|
|
2394
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4770
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2395
4771
|
};
|
|
2396
4772
|
actionType: import("zod").ZodEnum<{
|
|
2397
4773
|
filter: "filter";
|
|
@@ -2443,7 +4819,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2443
4819
|
cursor?: string;
|
|
2444
4820
|
pageSize?: number;
|
|
2445
4821
|
maxItems?: number;
|
|
2446
|
-
}) | undefined) => import("
|
|
4822
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2447
4823
|
key?: string | undefined;
|
|
2448
4824
|
label?: string | undefined;
|
|
2449
4825
|
sample?: string | undefined;
|
|
@@ -2453,11 +4829,14 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2453
4829
|
meta: {
|
|
2454
4830
|
listInputFieldChoices: {
|
|
2455
4831
|
categories: string[];
|
|
4832
|
+
deprecation: {
|
|
4833
|
+
message: string;
|
|
4834
|
+
};
|
|
2456
4835
|
type: "list";
|
|
2457
4836
|
itemType: string;
|
|
2458
4837
|
inputSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
2459
4838
|
app: import("zod").ZodString & {
|
|
2460
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4839
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2461
4840
|
};
|
|
2462
4841
|
actionType: import("zod").ZodEnum<{
|
|
2463
4842
|
filter: "filter";
|
|
@@ -2470,10 +4849,10 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2470
4849
|
search_or_write: "search_or_write";
|
|
2471
4850
|
}>;
|
|
2472
4851
|
action: import("zod").ZodString & {
|
|
2473
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4852
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2474
4853
|
};
|
|
2475
4854
|
inputField: import("zod").ZodString & {
|
|
2476
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4855
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2477
4856
|
};
|
|
2478
4857
|
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2479
4858
|
connectionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
@@ -2485,7 +4864,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2485
4864
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2486
4865
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2487
4866
|
appKey: import("zod").ZodString & {
|
|
2488
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
4867
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2489
4868
|
};
|
|
2490
4869
|
actionType: import("zod").ZodEnum<{
|
|
2491
4870
|
filter: "filter";
|
|
@@ -2514,6 +4893,12 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2514
4893
|
sample: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2515
4894
|
value: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2516
4895
|
}, import("zod/v4/core").$strip>;
|
|
4896
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
4897
|
+
key?: string | undefined;
|
|
4898
|
+
label?: string | undefined;
|
|
4899
|
+
sample?: string | undefined;
|
|
4900
|
+
value?: string | undefined;
|
|
4901
|
+
}, Record<string, unknown>, unknown>;
|
|
2517
4902
|
defaultPageSize: number;
|
|
2518
4903
|
};
|
|
2519
4904
|
};
|
|
@@ -2547,208 +4932,11 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2547
4932
|
cursor?: string;
|
|
2548
4933
|
pageSize?: number;
|
|
2549
4934
|
maxItems?: number;
|
|
2550
|
-
}) | undefined) => import("
|
|
2551
|
-
} & {
|
|
2552
|
-
context: {
|
|
2553
|
-
meta: {
|
|
2554
|
-
runAction: PluginMeta;
|
|
2555
|
-
};
|
|
2556
|
-
};
|
|
2557
|
-
} & {
|
|
2558
|
-
listConnections: (options?: ({
|
|
2559
|
-
title?: string | undefined;
|
|
2560
|
-
search?: string | undefined;
|
|
2561
|
-
owner?: string | undefined;
|
|
2562
|
-
app?: string | undefined;
|
|
2563
|
-
appKey?: string | undefined;
|
|
2564
|
-
connections?: string[] | undefined;
|
|
2565
|
-
connectionIds?: string[] | undefined;
|
|
2566
|
-
authenticationIds?: string[] | undefined;
|
|
2567
|
-
account?: string | undefined;
|
|
2568
|
-
accountId?: string | undefined;
|
|
2569
|
-
includeShared?: boolean | undefined;
|
|
2570
|
-
isExpired?: boolean | undefined;
|
|
2571
|
-
expired?: boolean | undefined;
|
|
2572
|
-
pageSize?: number | undefined;
|
|
2573
|
-
maxItems?: number | undefined;
|
|
2574
|
-
cursor?: string | undefined;
|
|
2575
|
-
} & {
|
|
2576
|
-
cursor?: string;
|
|
2577
|
-
pageSize?: number;
|
|
2578
|
-
maxItems?: number;
|
|
2579
|
-
}) | undefined) => import(".").PaginatedSdkResult<{
|
|
2580
|
-
date: string;
|
|
2581
|
-
is_invite_only: boolean;
|
|
2582
|
-
is_private: boolean;
|
|
2583
|
-
shared_with_all: boolean;
|
|
2584
|
-
id: string;
|
|
2585
|
-
account_id: string;
|
|
2586
|
-
title?: string | null | undefined;
|
|
2587
|
-
lastchanged?: string | undefined;
|
|
2588
|
-
destination_selected_api?: string | null | undefined;
|
|
2589
|
-
is_stale?: string | undefined;
|
|
2590
|
-
is_shared?: string | undefined;
|
|
2591
|
-
marked_stale_at?: string | null | undefined;
|
|
2592
|
-
label?: string | null | undefined;
|
|
2593
|
-
identifier?: string | null | undefined;
|
|
2594
|
-
url?: string | undefined;
|
|
2595
|
-
groups?: Record<string, unknown>[] | undefined;
|
|
2596
|
-
members?: string | undefined;
|
|
2597
|
-
permissions?: Record<string, boolean> | undefined;
|
|
2598
|
-
public_id?: string | undefined;
|
|
2599
|
-
account_public_id?: string | undefined;
|
|
2600
|
-
customuser_public_id?: string | undefined;
|
|
2601
|
-
implementation_id?: string | undefined;
|
|
2602
|
-
profile_id?: string | undefined;
|
|
2603
|
-
is_expired?: string | undefined;
|
|
2604
|
-
expired_at?: string | null | undefined;
|
|
2605
|
-
app_key?: string | undefined;
|
|
2606
|
-
app_version?: string | undefined;
|
|
2607
|
-
}>;
|
|
2608
|
-
} & {
|
|
2609
|
-
context: {
|
|
2610
|
-
meta: {
|
|
2611
|
-
listConnections: PluginMeta;
|
|
2612
|
-
};
|
|
2613
|
-
};
|
|
2614
|
-
} & {
|
|
2615
|
-
getConnection: (options?: {
|
|
2616
|
-
connection?: string | number | undefined;
|
|
2617
|
-
connectionId?: string | number | undefined;
|
|
2618
|
-
authenticationId?: string | number | undefined;
|
|
2619
|
-
} | undefined) => Promise<{
|
|
2620
|
-
data: {
|
|
2621
|
-
date: string;
|
|
2622
|
-
is_invite_only: boolean;
|
|
2623
|
-
is_private: boolean;
|
|
2624
|
-
shared_with_all: boolean;
|
|
2625
|
-
id: string;
|
|
2626
|
-
account_id: string;
|
|
2627
|
-
title?: string | null | undefined;
|
|
2628
|
-
lastchanged?: string | undefined;
|
|
2629
|
-
destination_selected_api?: string | null | undefined;
|
|
2630
|
-
is_stale?: string | undefined;
|
|
2631
|
-
is_shared?: string | undefined;
|
|
2632
|
-
marked_stale_at?: string | null | undefined;
|
|
2633
|
-
label?: string | null | undefined;
|
|
2634
|
-
identifier?: string | null | undefined;
|
|
2635
|
-
url?: string | undefined;
|
|
2636
|
-
groups?: Record<string, unknown>[] | undefined;
|
|
2637
|
-
members?: string | undefined;
|
|
2638
|
-
permissions?: Record<string, boolean> | undefined;
|
|
2639
|
-
public_id?: string | undefined;
|
|
2640
|
-
account_public_id?: string | undefined;
|
|
2641
|
-
customuser_public_id?: string | undefined;
|
|
2642
|
-
implementation_id?: string | undefined;
|
|
2643
|
-
profile_id?: string | undefined;
|
|
2644
|
-
is_expired?: string | undefined;
|
|
2645
|
-
expired_at?: string | null | undefined;
|
|
2646
|
-
app_key?: string | undefined;
|
|
2647
|
-
app_version?: string | undefined;
|
|
2648
|
-
};
|
|
2649
|
-
}>;
|
|
2650
|
-
} & {
|
|
2651
|
-
context: {
|
|
2652
|
-
meta: {
|
|
2653
|
-
getConnection: PluginMeta;
|
|
2654
|
-
};
|
|
2655
|
-
};
|
|
2656
|
-
} & {
|
|
2657
|
-
findFirstConnection: (options?: {
|
|
2658
|
-
title?: string | undefined;
|
|
2659
|
-
search?: string | undefined;
|
|
2660
|
-
appKey?: string | undefined;
|
|
2661
|
-
app?: string | undefined;
|
|
2662
|
-
owner?: string | undefined;
|
|
2663
|
-
account?: string | undefined;
|
|
2664
|
-
accountId?: string | undefined;
|
|
2665
|
-
includeShared?: boolean | undefined;
|
|
2666
|
-
isExpired?: boolean | undefined;
|
|
2667
|
-
expired?: boolean | undefined;
|
|
2668
|
-
} | undefined) => Promise<{
|
|
2669
|
-
data: {
|
|
2670
|
-
date: string;
|
|
2671
|
-
is_invite_only: boolean;
|
|
2672
|
-
is_private: boolean;
|
|
2673
|
-
shared_with_all: boolean;
|
|
2674
|
-
id: string;
|
|
2675
|
-
account_id: string;
|
|
2676
|
-
title?: string | null | undefined;
|
|
2677
|
-
lastchanged?: string | undefined;
|
|
2678
|
-
destination_selected_api?: string | null | undefined;
|
|
2679
|
-
is_stale?: string | undefined;
|
|
2680
|
-
is_shared?: string | undefined;
|
|
2681
|
-
marked_stale_at?: string | null | undefined;
|
|
2682
|
-
label?: string | null | undefined;
|
|
2683
|
-
identifier?: string | null | undefined;
|
|
2684
|
-
url?: string | undefined;
|
|
2685
|
-
groups?: Record<string, unknown>[] | undefined;
|
|
2686
|
-
members?: string | undefined;
|
|
2687
|
-
permissions?: Record<string, boolean> | undefined;
|
|
2688
|
-
public_id?: string | undefined;
|
|
2689
|
-
account_public_id?: string | undefined;
|
|
2690
|
-
customuser_public_id?: string | undefined;
|
|
2691
|
-
implementation_id?: string | undefined;
|
|
2692
|
-
profile_id?: string | undefined;
|
|
2693
|
-
is_expired?: string | undefined;
|
|
2694
|
-
expired_at?: string | null | undefined;
|
|
2695
|
-
app_key?: string | undefined;
|
|
2696
|
-
app_version?: string | undefined;
|
|
2697
|
-
};
|
|
2698
|
-
}>;
|
|
2699
|
-
} & {
|
|
2700
|
-
context: {
|
|
2701
|
-
meta: {
|
|
2702
|
-
findFirstConnection: PluginMeta;
|
|
2703
|
-
};
|
|
2704
|
-
};
|
|
2705
|
-
} & {
|
|
2706
|
-
findUniqueConnection: (options?: {
|
|
2707
|
-
title?: string | undefined;
|
|
2708
|
-
search?: string | undefined;
|
|
2709
|
-
appKey?: string | undefined;
|
|
2710
|
-
app?: string | undefined;
|
|
2711
|
-
owner?: string | undefined;
|
|
2712
|
-
account?: string | undefined;
|
|
2713
|
-
accountId?: string | undefined;
|
|
2714
|
-
includeShared?: boolean | undefined;
|
|
2715
|
-
isExpired?: boolean | undefined;
|
|
2716
|
-
expired?: boolean | undefined;
|
|
2717
|
-
} | undefined) => Promise<{
|
|
2718
|
-
data: {
|
|
2719
|
-
date: string;
|
|
2720
|
-
is_invite_only: boolean;
|
|
2721
|
-
is_private: boolean;
|
|
2722
|
-
shared_with_all: boolean;
|
|
2723
|
-
id: string;
|
|
2724
|
-
account_id: string;
|
|
2725
|
-
title?: string | null | undefined;
|
|
2726
|
-
lastchanged?: string | undefined;
|
|
2727
|
-
destination_selected_api?: string | null | undefined;
|
|
2728
|
-
is_stale?: string | undefined;
|
|
2729
|
-
is_shared?: string | undefined;
|
|
2730
|
-
marked_stale_at?: string | null | undefined;
|
|
2731
|
-
label?: string | null | undefined;
|
|
2732
|
-
identifier?: string | null | undefined;
|
|
2733
|
-
url?: string | undefined;
|
|
2734
|
-
groups?: Record<string, unknown>[] | undefined;
|
|
2735
|
-
members?: string | undefined;
|
|
2736
|
-
permissions?: Record<string, boolean> | undefined;
|
|
2737
|
-
public_id?: string | undefined;
|
|
2738
|
-
account_public_id?: string | undefined;
|
|
2739
|
-
customuser_public_id?: string | undefined;
|
|
2740
|
-
implementation_id?: string | undefined;
|
|
2741
|
-
profile_id?: string | undefined;
|
|
2742
|
-
is_expired?: string | undefined;
|
|
2743
|
-
expired_at?: string | null | undefined;
|
|
2744
|
-
app_key?: string | undefined;
|
|
2745
|
-
app_version?: string | undefined;
|
|
2746
|
-
};
|
|
2747
|
-
}>;
|
|
4935
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<unknown>;
|
|
2748
4936
|
} & {
|
|
2749
4937
|
context: {
|
|
2750
4938
|
meta: {
|
|
2751
|
-
|
|
4939
|
+
runAction: import("kitcore").PluginMeta<unknown>;
|
|
2752
4940
|
};
|
|
2753
4941
|
};
|
|
2754
4942
|
} & {
|
|
@@ -2773,7 +4961,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2773
4961
|
cursor?: string;
|
|
2774
4962
|
pageSize?: number;
|
|
2775
4963
|
maxItems?: number;
|
|
2776
|
-
}) | undefined) => import("
|
|
4964
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
2777
4965
|
date: string;
|
|
2778
4966
|
is_invite_only: boolean;
|
|
2779
4967
|
is_private: boolean;
|
|
@@ -2807,6 +4995,9 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2807
4995
|
listAuthentications: {
|
|
2808
4996
|
packages: string[];
|
|
2809
4997
|
categories: string[];
|
|
4998
|
+
deprecation: {
|
|
4999
|
+
message: string;
|
|
5000
|
+
};
|
|
2810
5001
|
type: "list";
|
|
2811
5002
|
itemType: string;
|
|
2812
5003
|
inputSchema: import("zod").ZodObject<{
|
|
@@ -2814,10 +5005,10 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2814
5005
|
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2815
5006
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2816
5007
|
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
2817
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
5008
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2818
5009
|
}>;
|
|
2819
5010
|
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
2820
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
5011
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
2821
5012
|
}>;
|
|
2822
5013
|
connections: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
2823
5014
|
connectionIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
@@ -2860,6 +5051,35 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2860
5051
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2861
5052
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2862
5053
|
}, import("zod/v4/core").$strip>;
|
|
5054
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
5055
|
+
date: string;
|
|
5056
|
+
is_invite_only: boolean;
|
|
5057
|
+
is_private: boolean;
|
|
5058
|
+
shared_with_all: boolean;
|
|
5059
|
+
id: string;
|
|
5060
|
+
account_id: string;
|
|
5061
|
+
title?: string | null | undefined;
|
|
5062
|
+
lastchanged?: string | undefined;
|
|
5063
|
+
destination_selected_api?: string | null | undefined;
|
|
5064
|
+
is_stale?: string | undefined;
|
|
5065
|
+
is_shared?: string | undefined;
|
|
5066
|
+
marked_stale_at?: string | null | undefined;
|
|
5067
|
+
label?: string | null | undefined;
|
|
5068
|
+
identifier?: string | null | undefined;
|
|
5069
|
+
url?: string | undefined;
|
|
5070
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
5071
|
+
members?: string | undefined;
|
|
5072
|
+
permissions?: Record<string, boolean> | undefined;
|
|
5073
|
+
public_id?: string | undefined;
|
|
5074
|
+
account_public_id?: string | undefined;
|
|
5075
|
+
customuser_public_id?: string | undefined;
|
|
5076
|
+
implementation_id?: string | undefined;
|
|
5077
|
+
profile_id?: string | undefined;
|
|
5078
|
+
is_expired?: string | undefined;
|
|
5079
|
+
expired_at?: string | null | undefined;
|
|
5080
|
+
app_key?: string | undefined;
|
|
5081
|
+
app_version?: string | undefined;
|
|
5082
|
+
}, Record<string, unknown>, unknown>;
|
|
2863
5083
|
};
|
|
2864
5084
|
};
|
|
2865
5085
|
};
|
|
@@ -2904,6 +5124,9 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2904
5124
|
getAuthentication: {
|
|
2905
5125
|
packages: string[];
|
|
2906
5126
|
categories: string[];
|
|
5127
|
+
deprecation: {
|
|
5128
|
+
message: string;
|
|
5129
|
+
};
|
|
2907
5130
|
type: "item";
|
|
2908
5131
|
itemType: string;
|
|
2909
5132
|
inputSchema: import("zod").ZodObject<{
|
|
@@ -2940,6 +5163,35 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2940
5163
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2941
5164
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2942
5165
|
}, import("zod/v4/core").$strip>;
|
|
5166
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
5167
|
+
date: string;
|
|
5168
|
+
is_invite_only: boolean;
|
|
5169
|
+
is_private: boolean;
|
|
5170
|
+
shared_with_all: boolean;
|
|
5171
|
+
id: string;
|
|
5172
|
+
account_id: string;
|
|
5173
|
+
title?: string | null | undefined;
|
|
5174
|
+
lastchanged?: string | undefined;
|
|
5175
|
+
destination_selected_api?: string | null | undefined;
|
|
5176
|
+
is_stale?: string | undefined;
|
|
5177
|
+
is_shared?: string | undefined;
|
|
5178
|
+
marked_stale_at?: string | null | undefined;
|
|
5179
|
+
label?: string | null | undefined;
|
|
5180
|
+
identifier?: string | null | undefined;
|
|
5181
|
+
url?: string | undefined;
|
|
5182
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
5183
|
+
members?: string | undefined;
|
|
5184
|
+
permissions?: Record<string, boolean> | undefined;
|
|
5185
|
+
public_id?: string | undefined;
|
|
5186
|
+
account_public_id?: string | undefined;
|
|
5187
|
+
customuser_public_id?: string | undefined;
|
|
5188
|
+
implementation_id?: string | undefined;
|
|
5189
|
+
profile_id?: string | undefined;
|
|
5190
|
+
is_expired?: string | undefined;
|
|
5191
|
+
expired_at?: string | null | undefined;
|
|
5192
|
+
app_key?: string | undefined;
|
|
5193
|
+
app_version?: string | undefined;
|
|
5194
|
+
}, Record<string, unknown>, unknown>;
|
|
2943
5195
|
};
|
|
2944
5196
|
};
|
|
2945
5197
|
};
|
|
@@ -2991,16 +5243,19 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
2991
5243
|
findFirstAuthentication: {
|
|
2992
5244
|
packages: string[];
|
|
2993
5245
|
categories: string[];
|
|
5246
|
+
deprecation: {
|
|
5247
|
+
message: string;
|
|
5248
|
+
};
|
|
2994
5249
|
type: "item";
|
|
2995
5250
|
itemType: string;
|
|
2996
5251
|
inputSchema: import("zod").ZodObject<{
|
|
2997
5252
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2998
5253
|
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2999
5254
|
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
3000
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
5255
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
3001
5256
|
}>;
|
|
3002
5257
|
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
3003
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
5258
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
3004
5259
|
}>;
|
|
3005
5260
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3006
5261
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -3038,6 +5293,35 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3038
5293
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3039
5294
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3040
5295
|
}, import("zod/v4/core").$strip>;
|
|
5296
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
5297
|
+
date: string;
|
|
5298
|
+
is_invite_only: boolean;
|
|
5299
|
+
is_private: boolean;
|
|
5300
|
+
shared_with_all: boolean;
|
|
5301
|
+
id: string;
|
|
5302
|
+
account_id: string;
|
|
5303
|
+
title?: string | null | undefined;
|
|
5304
|
+
lastchanged?: string | undefined;
|
|
5305
|
+
destination_selected_api?: string | null | undefined;
|
|
5306
|
+
is_stale?: string | undefined;
|
|
5307
|
+
is_shared?: string | undefined;
|
|
5308
|
+
marked_stale_at?: string | null | undefined;
|
|
5309
|
+
label?: string | null | undefined;
|
|
5310
|
+
identifier?: string | null | undefined;
|
|
5311
|
+
url?: string | undefined;
|
|
5312
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
5313
|
+
members?: string | undefined;
|
|
5314
|
+
permissions?: Record<string, boolean> | undefined;
|
|
5315
|
+
public_id?: string | undefined;
|
|
5316
|
+
account_public_id?: string | undefined;
|
|
5317
|
+
customuser_public_id?: string | undefined;
|
|
5318
|
+
implementation_id?: string | undefined;
|
|
5319
|
+
profile_id?: string | undefined;
|
|
5320
|
+
is_expired?: string | undefined;
|
|
5321
|
+
expired_at?: string | null | undefined;
|
|
5322
|
+
app_key?: string | undefined;
|
|
5323
|
+
app_version?: string | undefined;
|
|
5324
|
+
}, Record<string, unknown>, unknown>;
|
|
3041
5325
|
};
|
|
3042
5326
|
};
|
|
3043
5327
|
};
|
|
@@ -3089,16 +5373,19 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3089
5373
|
findUniqueAuthentication: {
|
|
3090
5374
|
packages: string[];
|
|
3091
5375
|
categories: string[];
|
|
5376
|
+
deprecation: {
|
|
5377
|
+
message: string;
|
|
5378
|
+
};
|
|
3092
5379
|
type: "item";
|
|
3093
5380
|
itemType: string;
|
|
3094
5381
|
inputSchema: import("zod").ZodObject<{
|
|
3095
5382
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3096
5383
|
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3097
5384
|
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
3098
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
5385
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
3099
5386
|
}>;
|
|
3100
5387
|
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
3101
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
5388
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
3102
5389
|
}>;
|
|
3103
5390
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3104
5391
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -3136,6 +5423,35 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3136
5423
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3137
5424
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3138
5425
|
}, import("zod/v4/core").$strip>;
|
|
5426
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
5427
|
+
date: string;
|
|
5428
|
+
is_invite_only: boolean;
|
|
5429
|
+
is_private: boolean;
|
|
5430
|
+
shared_with_all: boolean;
|
|
5431
|
+
id: string;
|
|
5432
|
+
account_id: string;
|
|
5433
|
+
title?: string | null | undefined;
|
|
5434
|
+
lastchanged?: string | undefined;
|
|
5435
|
+
destination_selected_api?: string | null | undefined;
|
|
5436
|
+
is_stale?: string | undefined;
|
|
5437
|
+
is_shared?: string | undefined;
|
|
5438
|
+
marked_stale_at?: string | null | undefined;
|
|
5439
|
+
label?: string | null | undefined;
|
|
5440
|
+
identifier?: string | null | undefined;
|
|
5441
|
+
url?: string | undefined;
|
|
5442
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
5443
|
+
members?: string | undefined;
|
|
5444
|
+
permissions?: Record<string, boolean> | undefined;
|
|
5445
|
+
public_id?: string | undefined;
|
|
5446
|
+
account_public_id?: string | undefined;
|
|
5447
|
+
customuser_public_id?: string | undefined;
|
|
5448
|
+
implementation_id?: string | undefined;
|
|
5449
|
+
profile_id?: string | undefined;
|
|
5450
|
+
is_expired?: string | undefined;
|
|
5451
|
+
expired_at?: string | null | undefined;
|
|
5452
|
+
app_key?: string | undefined;
|
|
5453
|
+
app_version?: string | undefined;
|
|
5454
|
+
}, Record<string, unknown>, unknown>;
|
|
3139
5455
|
};
|
|
3140
5456
|
};
|
|
3141
5457
|
};
|
|
@@ -3148,7 +5464,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3148
5464
|
cursor?: string;
|
|
3149
5465
|
pageSize?: number;
|
|
3150
5466
|
maxItems?: number;
|
|
3151
|
-
}) | undefined) => import("
|
|
5467
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
3152
5468
|
client_id: string;
|
|
3153
5469
|
name: string;
|
|
3154
5470
|
allowed_scopes: ("external" | "credentials")[];
|
|
@@ -3158,7 +5474,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3158
5474
|
} & {
|
|
3159
5475
|
context: {
|
|
3160
5476
|
meta: {
|
|
3161
|
-
listClientCredentials: PluginMeta
|
|
5477
|
+
listClientCredentials: import("kitcore").PluginMeta<unknown>;
|
|
3162
5478
|
};
|
|
3163
5479
|
};
|
|
3164
5480
|
} & {
|
|
@@ -3176,7 +5492,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3176
5492
|
} & {
|
|
3177
5493
|
context: {
|
|
3178
5494
|
meta: {
|
|
3179
|
-
createClientCredentials: PluginMeta
|
|
5495
|
+
createClientCredentials: import("kitcore").PluginMeta<unknown>;
|
|
3180
5496
|
};
|
|
3181
5497
|
};
|
|
3182
5498
|
} & {
|
|
@@ -3188,7 +5504,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3188
5504
|
} & {
|
|
3189
5505
|
context: {
|
|
3190
5506
|
meta: {
|
|
3191
|
-
deleteClientCredentials: PluginMeta
|
|
5507
|
+
deleteClientCredentials: import("kitcore").PluginMeta<unknown>;
|
|
3192
5508
|
};
|
|
3193
5509
|
};
|
|
3194
5510
|
} & {
|
|
@@ -3198,7 +5514,10 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3198
5514
|
fetch: {
|
|
3199
5515
|
description: string;
|
|
3200
5516
|
packages: string[];
|
|
3201
|
-
categories:
|
|
5517
|
+
categories: {
|
|
5518
|
+
key: string;
|
|
5519
|
+
title: string;
|
|
5520
|
+
}[];
|
|
3202
5521
|
returnType: string;
|
|
3203
5522
|
inputParameters: ({
|
|
3204
5523
|
name: string;
|
|
@@ -3209,8 +5528,8 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3209
5528
|
method: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
3210
5529
|
POST: "POST";
|
|
3211
5530
|
GET: "GET";
|
|
3212
|
-
PUT: "PUT";
|
|
3213
5531
|
DELETE: "DELETE";
|
|
5532
|
+
PUT: "PUT";
|
|
3214
5533
|
PATCH: "PATCH";
|
|
3215
5534
|
HEAD: "HEAD";
|
|
3216
5535
|
OPTIONS: "OPTIONS";
|
|
@@ -3230,7 +5549,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3230
5549
|
} & {
|
|
3231
5550
|
request: (options?: {
|
|
3232
5551
|
url: string;
|
|
3233
|
-
method?: "POST" | "GET" | "
|
|
5552
|
+
method?: "POST" | "GET" | "DELETE" | "PUT" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
|
|
3234
5553
|
body?: any;
|
|
3235
5554
|
connection?: string | number | undefined;
|
|
3236
5555
|
connectionId?: string | number | undefined;
|
|
@@ -3241,7 +5560,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3241
5560
|
} & {
|
|
3242
5561
|
context: {
|
|
3243
5562
|
meta: {
|
|
3244
|
-
request: PluginMeta
|
|
5563
|
+
request: import("kitcore").PluginMeta<unknown>;
|
|
3245
5564
|
};
|
|
3246
5565
|
};
|
|
3247
5566
|
} & {
|
|
@@ -3259,7 +5578,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3259
5578
|
cursor?: string;
|
|
3260
5579
|
pageSize?: number;
|
|
3261
5580
|
maxItems?: number;
|
|
3262
|
-
}) | undefined) => import("
|
|
5581
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
3263
5582
|
id: string;
|
|
3264
5583
|
name: string;
|
|
3265
5584
|
created_at: string;
|
|
@@ -3273,7 +5592,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3273
5592
|
} & {
|
|
3274
5593
|
context: {
|
|
3275
5594
|
meta: {
|
|
3276
|
-
listTables: PluginMeta
|
|
5595
|
+
listTables: import("kitcore").PluginMeta<unknown>;
|
|
3277
5596
|
};
|
|
3278
5597
|
};
|
|
3279
5598
|
} & {
|
|
@@ -3297,7 +5616,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3297
5616
|
} & {
|
|
3298
5617
|
context: {
|
|
3299
5618
|
meta: {
|
|
3300
|
-
getTable: PluginMeta
|
|
5619
|
+
getTable: import("kitcore").PluginMeta<unknown>;
|
|
3301
5620
|
};
|
|
3302
5621
|
};
|
|
3303
5622
|
} & {
|
|
@@ -3311,7 +5630,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3311
5630
|
} & {
|
|
3312
5631
|
context: {
|
|
3313
5632
|
meta: {
|
|
3314
|
-
deleteTable: PluginMeta
|
|
5633
|
+
deleteTable: import("kitcore").PluginMeta<unknown>;
|
|
3315
5634
|
};
|
|
3316
5635
|
};
|
|
3317
5636
|
} & {
|
|
@@ -3334,7 +5653,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3334
5653
|
} & {
|
|
3335
5654
|
context: {
|
|
3336
5655
|
meta: {
|
|
3337
|
-
createTable: PluginMeta
|
|
5656
|
+
createTable: import("kitcore").PluginMeta<unknown>;
|
|
3338
5657
|
};
|
|
3339
5658
|
};
|
|
3340
5659
|
} & {
|
|
@@ -3363,7 +5682,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3363
5682
|
} & {
|
|
3364
5683
|
context: {
|
|
3365
5684
|
meta: {
|
|
3366
|
-
listTableFields: PluginMeta
|
|
5685
|
+
listTableFields: import("kitcore").PluginMeta<unknown>;
|
|
3367
5686
|
};
|
|
3368
5687
|
};
|
|
3369
5688
|
} & {
|
|
@@ -3398,7 +5717,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3398
5717
|
} & {
|
|
3399
5718
|
context: {
|
|
3400
5719
|
meta: {
|
|
3401
|
-
createTableFields: PluginMeta
|
|
5720
|
+
createTableFields: import("kitcore").PluginMeta<unknown>;
|
|
3402
5721
|
};
|
|
3403
5722
|
};
|
|
3404
5723
|
} & {
|
|
@@ -3414,31 +5733,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3414
5733
|
} & {
|
|
3415
5734
|
context: {
|
|
3416
5735
|
meta: {
|
|
3417
|
-
deleteTableFields: PluginMeta
|
|
3418
|
-
};
|
|
3419
|
-
};
|
|
3420
|
-
} & {
|
|
3421
|
-
getTableRecord: (options?: {
|
|
3422
|
-
table: string;
|
|
3423
|
-
record: string;
|
|
3424
|
-
keyMode: "names" | "ids";
|
|
3425
|
-
} | {
|
|
3426
|
-
tableId: string;
|
|
3427
|
-
recordId: string;
|
|
3428
|
-
keyMode: "names" | "ids";
|
|
3429
|
-
} | undefined) => Promise<{
|
|
3430
|
-
data: {
|
|
3431
|
-
data: Record<string, unknown>;
|
|
3432
|
-
id: string;
|
|
3433
|
-
created_at: string;
|
|
3434
|
-
edited_at: string;
|
|
3435
|
-
deleted_at?: string | null | undefined;
|
|
3436
|
-
};
|
|
3437
|
-
}>;
|
|
3438
|
-
} & {
|
|
3439
|
-
context: {
|
|
3440
|
-
meta: {
|
|
3441
|
-
getTableRecord: PluginMeta;
|
|
5736
|
+
deleteTableFields: import("kitcore").PluginMeta<unknown>;
|
|
3442
5737
|
};
|
|
3443
5738
|
};
|
|
3444
5739
|
} & {
|
|
@@ -3478,9 +5773,9 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3478
5773
|
cursor?: string;
|
|
3479
5774
|
pageSize?: number;
|
|
3480
5775
|
maxItems?: number;
|
|
3481
|
-
}) | undefined) => import("
|
|
3482
|
-
id: string;
|
|
5776
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
3483
5777
|
data: Record<string, unknown>;
|
|
5778
|
+
id: string;
|
|
3484
5779
|
created_at: string;
|
|
3485
5780
|
edited_at: string;
|
|
3486
5781
|
deleted_at?: string | null | undefined;
|
|
@@ -3488,7 +5783,31 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3488
5783
|
} & {
|
|
3489
5784
|
context: {
|
|
3490
5785
|
meta: {
|
|
3491
|
-
listTableRecords: PluginMeta
|
|
5786
|
+
listTableRecords: import("kitcore").PluginMeta<unknown>;
|
|
5787
|
+
};
|
|
5788
|
+
};
|
|
5789
|
+
} & {
|
|
5790
|
+
getTableRecord: (options?: {
|
|
5791
|
+
table: string;
|
|
5792
|
+
record: string;
|
|
5793
|
+
keyMode: "names" | "ids";
|
|
5794
|
+
} | {
|
|
5795
|
+
tableId: string;
|
|
5796
|
+
recordId: string;
|
|
5797
|
+
keyMode: "names" | "ids";
|
|
5798
|
+
} | undefined) => Promise<{
|
|
5799
|
+
data: {
|
|
5800
|
+
data: Record<string, unknown>;
|
|
5801
|
+
id: string;
|
|
5802
|
+
created_at: string;
|
|
5803
|
+
edited_at: string;
|
|
5804
|
+
deleted_at?: string | null | undefined;
|
|
5805
|
+
};
|
|
5806
|
+
}>;
|
|
5807
|
+
} & {
|
|
5808
|
+
context: {
|
|
5809
|
+
meta: {
|
|
5810
|
+
getTableRecord: import("kitcore").PluginMeta<unknown>;
|
|
3492
5811
|
};
|
|
3493
5812
|
};
|
|
3494
5813
|
} & {
|
|
@@ -3516,7 +5835,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3516
5835
|
} & {
|
|
3517
5836
|
context: {
|
|
3518
5837
|
meta: {
|
|
3519
|
-
createTableRecords: PluginMeta
|
|
5838
|
+
createTableRecords: import("kitcore").PluginMeta<unknown>;
|
|
3520
5839
|
};
|
|
3521
5840
|
};
|
|
3522
5841
|
} & {
|
|
@@ -3532,7 +5851,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3532
5851
|
} & {
|
|
3533
5852
|
context: {
|
|
3534
5853
|
meta: {
|
|
3535
|
-
deleteTableRecords: PluginMeta
|
|
5854
|
+
deleteTableRecords: import("kitcore").PluginMeta<unknown>;
|
|
3536
5855
|
};
|
|
3537
5856
|
};
|
|
3538
5857
|
} & {
|
|
@@ -3562,7 +5881,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3562
5881
|
} & {
|
|
3563
5882
|
context: {
|
|
3564
5883
|
meta: {
|
|
3565
|
-
updateTableRecords: PluginMeta
|
|
5884
|
+
updateTableRecords: import("kitcore").PluginMeta<unknown>;
|
|
3566
5885
|
};
|
|
3567
5886
|
};
|
|
3568
5887
|
} & {
|
|
@@ -3611,9 +5930,10 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlug
|
|
|
3611
5930
|
} & {
|
|
3612
5931
|
context: {
|
|
3613
5932
|
meta: {
|
|
3614
|
-
getProfile: PluginMeta
|
|
5933
|
+
getProfile: import("kitcore").PluginMeta<unknown>;
|
|
3615
5934
|
};
|
|
3616
5935
|
};
|
|
3617
5936
|
}>;
|
|
3618
|
-
export
|
|
5937
|
+
export interface ZapierSdk extends ReturnType<typeof createZapierSdk> {
|
|
5938
|
+
}
|
|
3619
5939
|
//# sourceMappingURL=sdk.d.ts.map
|