@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
|
@@ -5,9 +5,31 @@ export declare const deleteClientCredentialsPlugin: (sdk: {
|
|
|
5
5
|
};
|
|
6
6
|
} & {
|
|
7
7
|
context: import("../eventEmission").EventEmissionContext;
|
|
8
|
+
} & {
|
|
9
|
+
listClientCredentials: (options?: ({
|
|
10
|
+
pageSize?: number | undefined;
|
|
11
|
+
maxItems?: number | undefined;
|
|
12
|
+
cursor?: string | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
cursor?: string;
|
|
15
|
+
pageSize?: number;
|
|
16
|
+
maxItems?: number;
|
|
17
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
18
|
+
client_id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
allowed_scopes: ("external" | "credentials")[];
|
|
21
|
+
created_at?: string | null | undefined;
|
|
22
|
+
updated_at?: string | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
} & {
|
|
25
|
+
context: {
|
|
26
|
+
meta: {
|
|
27
|
+
listClientCredentials: import("kitcore").PluginMeta<unknown>;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
8
30
|
} & {
|
|
9
31
|
context: {
|
|
10
|
-
meta: Record<string, import("
|
|
32
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
11
33
|
};
|
|
12
34
|
}) => {
|
|
13
35
|
deleteClientCredentials: (options?: {
|
|
@@ -18,7 +40,7 @@ export declare const deleteClientCredentialsPlugin: (sdk: {
|
|
|
18
40
|
} & {
|
|
19
41
|
context: {
|
|
20
42
|
meta: {
|
|
21
|
-
deleteClientCredentials: import("
|
|
43
|
+
deleteClientCredentials: import("kitcore").PluginMeta<unknown>;
|
|
22
44
|
};
|
|
23
45
|
};
|
|
24
46
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/deleteClientCredentials/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/deleteClientCredentials/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAM3C,eAAO,MAAM,6BAA6B;aAEtB;QAAE,GAAG,EAAE,SAAS,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBrC,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG,UAAU,CAC5D,OAAO,6BAA6B,CACrC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { definePlugin } from "
|
|
2
|
-
import { createPluginMethod } from "
|
|
1
|
+
import { definePlugin } from "kitcore";
|
|
2
|
+
import { createPluginMethod } from "kitcore";
|
|
3
3
|
import { DeleteClientCredentialsSchema } from "./schemas";
|
|
4
4
|
import { clientIdResolver } from "../../resolvers";
|
|
5
5
|
export const deleteClientCredentialsPlugin = definePlugin((sdk) => createPluginMethod(sdk, {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import type { FunctionOptions } from "../../types/functions";
|
|
3
2
|
export declare const DeleteClientCredentialsSchema: z.ZodObject<{
|
|
4
3
|
clientId: z.ZodString;
|
|
5
4
|
}, z.core.$strip>;
|
|
6
|
-
export type DeleteClientCredentialsOptions = z.infer<typeof DeleteClientCredentialsSchema
|
|
5
|
+
export type DeleteClientCredentialsOptions = z.infer<typeof DeleteClientCredentialsSchema>;
|
|
7
6
|
export interface DeleteClientCredentialsResult {
|
|
8
7
|
success: boolean;
|
|
9
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/deleteClientCredentials/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/deleteClientCredentials/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,eAAO,MAAM,6BAA6B;;iBAMW,CAAC;AAGtD,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,6BAA6B,CACrC,CAAC;AAGF,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,OAAO,CAAC;CAClB;AAGD,MAAM,WAAW,kCAAkC;IACjD,uBAAuB,EAAE,CACvB,OAAO,EAAE,8BAA8B,KACpC,OAAO,CAAC,6BAA6B,CAAC,CAAC;CAC7C"}
|
|
@@ -36,7 +36,7 @@ export declare const listAuthenticationsPlugin: (sdk: {
|
|
|
36
36
|
cursor?: string;
|
|
37
37
|
pageSize?: number;
|
|
38
38
|
maxItems?: number;
|
|
39
|
-
}) | undefined) => import("
|
|
39
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
40
40
|
date: string;
|
|
41
41
|
is_invite_only: boolean;
|
|
42
42
|
is_private: boolean;
|
|
@@ -68,12 +68,12 @@ export declare const listAuthenticationsPlugin: (sdk: {
|
|
|
68
68
|
} & {
|
|
69
69
|
context: {
|
|
70
70
|
meta: {
|
|
71
|
-
listConnections: import("
|
|
71
|
+
listConnections: import("kitcore").PluginMeta<unknown>;
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
74
|
} & {
|
|
75
75
|
context: {
|
|
76
|
-
meta: Record<string, import("
|
|
76
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
77
77
|
};
|
|
78
78
|
}) => {
|
|
79
79
|
listAuthentications: (options?: ({
|
|
@@ -97,7 +97,7 @@ export declare const listAuthenticationsPlugin: (sdk: {
|
|
|
97
97
|
cursor?: string;
|
|
98
98
|
pageSize?: number;
|
|
99
99
|
maxItems?: number;
|
|
100
|
-
}) | undefined) => import("
|
|
100
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
101
101
|
date: string;
|
|
102
102
|
is_invite_only: boolean;
|
|
103
103
|
is_private: boolean;
|
|
@@ -131,6 +131,9 @@ export declare const listAuthenticationsPlugin: (sdk: {
|
|
|
131
131
|
listAuthentications: {
|
|
132
132
|
packages: string[];
|
|
133
133
|
categories: string[];
|
|
134
|
+
deprecation: {
|
|
135
|
+
message: string;
|
|
136
|
+
};
|
|
134
137
|
type: "list";
|
|
135
138
|
itemType: string;
|
|
136
139
|
inputSchema: import("zod").ZodObject<{
|
|
@@ -138,10 +141,10 @@ export declare const listAuthenticationsPlugin: (sdk: {
|
|
|
138
141
|
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
139
142
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
140
143
|
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
141
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
144
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
142
145
|
}>;
|
|
143
146
|
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
144
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
147
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
145
148
|
}>;
|
|
146
149
|
connections: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
147
150
|
connectionIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
@@ -184,6 +187,35 @@ export declare const listAuthenticationsPlugin: (sdk: {
|
|
|
184
187
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
185
188
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
186
189
|
}, import("zod/v4/core").$strip>;
|
|
190
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
191
|
+
date: string;
|
|
192
|
+
is_invite_only: boolean;
|
|
193
|
+
is_private: boolean;
|
|
194
|
+
shared_with_all: boolean;
|
|
195
|
+
id: string;
|
|
196
|
+
account_id: string;
|
|
197
|
+
title?: string | null | undefined;
|
|
198
|
+
lastchanged?: string | undefined;
|
|
199
|
+
destination_selected_api?: string | null | undefined;
|
|
200
|
+
is_stale?: string | undefined;
|
|
201
|
+
is_shared?: string | undefined;
|
|
202
|
+
marked_stale_at?: string | null | undefined;
|
|
203
|
+
label?: string | null | undefined;
|
|
204
|
+
identifier?: string | null | undefined;
|
|
205
|
+
url?: string | undefined;
|
|
206
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
207
|
+
members?: string | undefined;
|
|
208
|
+
permissions?: Record<string, boolean> | undefined;
|
|
209
|
+
public_id?: string | undefined;
|
|
210
|
+
account_public_id?: string | undefined;
|
|
211
|
+
customuser_public_id?: string | undefined;
|
|
212
|
+
implementation_id?: string | undefined;
|
|
213
|
+
profile_id?: string | undefined;
|
|
214
|
+
is_expired?: string | undefined;
|
|
215
|
+
expired_at?: string | null | undefined;
|
|
216
|
+
app_key?: string | undefined;
|
|
217
|
+
app_version?: string | undefined;
|
|
218
|
+
}, Record<string, unknown>, unknown>;
|
|
187
219
|
};
|
|
188
220
|
};
|
|
189
221
|
};
|
|
@@ -231,12 +263,12 @@ export declare const getAuthenticationPlugin: (sdk: {
|
|
|
231
263
|
} & {
|
|
232
264
|
context: {
|
|
233
265
|
meta: {
|
|
234
|
-
getConnection: import("
|
|
266
|
+
getConnection: import("kitcore").PluginMeta<unknown>;
|
|
235
267
|
};
|
|
236
268
|
};
|
|
237
269
|
} & {
|
|
238
270
|
context: {
|
|
239
|
-
meta: Record<string, import("
|
|
271
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
240
272
|
};
|
|
241
273
|
}) => {
|
|
242
274
|
getAuthentication: (options?: {
|
|
@@ -279,6 +311,9 @@ export declare const getAuthenticationPlugin: (sdk: {
|
|
|
279
311
|
getAuthentication: {
|
|
280
312
|
packages: string[];
|
|
281
313
|
categories: string[];
|
|
314
|
+
deprecation: {
|
|
315
|
+
message: string;
|
|
316
|
+
};
|
|
282
317
|
type: "item";
|
|
283
318
|
itemType: string;
|
|
284
319
|
inputSchema: import("zod").ZodObject<{
|
|
@@ -315,6 +350,35 @@ export declare const getAuthenticationPlugin: (sdk: {
|
|
|
315
350
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
316
351
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
317
352
|
}, import("zod/v4/core").$strip>;
|
|
353
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
354
|
+
date: string;
|
|
355
|
+
is_invite_only: boolean;
|
|
356
|
+
is_private: boolean;
|
|
357
|
+
shared_with_all: boolean;
|
|
358
|
+
id: string;
|
|
359
|
+
account_id: string;
|
|
360
|
+
title?: string | null | undefined;
|
|
361
|
+
lastchanged?: string | undefined;
|
|
362
|
+
destination_selected_api?: string | null | undefined;
|
|
363
|
+
is_stale?: string | undefined;
|
|
364
|
+
is_shared?: string | undefined;
|
|
365
|
+
marked_stale_at?: string | null | undefined;
|
|
366
|
+
label?: string | null | undefined;
|
|
367
|
+
identifier?: string | null | undefined;
|
|
368
|
+
url?: string | undefined;
|
|
369
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
370
|
+
members?: string | undefined;
|
|
371
|
+
permissions?: Record<string, boolean> | undefined;
|
|
372
|
+
public_id?: string | undefined;
|
|
373
|
+
account_public_id?: string | undefined;
|
|
374
|
+
customuser_public_id?: string | undefined;
|
|
375
|
+
implementation_id?: string | undefined;
|
|
376
|
+
profile_id?: string | undefined;
|
|
377
|
+
is_expired?: string | undefined;
|
|
378
|
+
expired_at?: string | null | undefined;
|
|
379
|
+
app_key?: string | undefined;
|
|
380
|
+
app_version?: string | undefined;
|
|
381
|
+
}, Record<string, unknown>, unknown>;
|
|
318
382
|
};
|
|
319
383
|
};
|
|
320
384
|
};
|
|
@@ -369,12 +433,12 @@ export declare const findFirstAuthenticationPlugin: (sdk: {
|
|
|
369
433
|
} & {
|
|
370
434
|
context: {
|
|
371
435
|
meta: {
|
|
372
|
-
findFirstConnection: import("
|
|
436
|
+
findFirstConnection: import("kitcore").PluginMeta<unknown>;
|
|
373
437
|
};
|
|
374
438
|
};
|
|
375
439
|
} & {
|
|
376
440
|
context: {
|
|
377
|
-
meta: Record<string, import("
|
|
441
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
378
442
|
};
|
|
379
443
|
}) => {
|
|
380
444
|
findFirstAuthentication: (options?: {
|
|
@@ -424,16 +488,19 @@ export declare const findFirstAuthenticationPlugin: (sdk: {
|
|
|
424
488
|
findFirstAuthentication: {
|
|
425
489
|
packages: string[];
|
|
426
490
|
categories: string[];
|
|
491
|
+
deprecation: {
|
|
492
|
+
message: string;
|
|
493
|
+
};
|
|
427
494
|
type: "item";
|
|
428
495
|
itemType: string;
|
|
429
496
|
inputSchema: import("zod").ZodObject<{
|
|
430
497
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
431
498
|
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
432
499
|
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
433
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
500
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
434
501
|
}>;
|
|
435
502
|
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
436
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
503
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
437
504
|
}>;
|
|
438
505
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
439
506
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -471,6 +538,35 @@ export declare const findFirstAuthenticationPlugin: (sdk: {
|
|
|
471
538
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
472
539
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
473
540
|
}, import("zod/v4/core").$strip>;
|
|
541
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
542
|
+
date: string;
|
|
543
|
+
is_invite_only: boolean;
|
|
544
|
+
is_private: boolean;
|
|
545
|
+
shared_with_all: boolean;
|
|
546
|
+
id: string;
|
|
547
|
+
account_id: string;
|
|
548
|
+
title?: string | null | undefined;
|
|
549
|
+
lastchanged?: string | undefined;
|
|
550
|
+
destination_selected_api?: string | null | undefined;
|
|
551
|
+
is_stale?: string | undefined;
|
|
552
|
+
is_shared?: string | undefined;
|
|
553
|
+
marked_stale_at?: string | null | undefined;
|
|
554
|
+
label?: string | null | undefined;
|
|
555
|
+
identifier?: string | null | undefined;
|
|
556
|
+
url?: string | undefined;
|
|
557
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
558
|
+
members?: string | undefined;
|
|
559
|
+
permissions?: Record<string, boolean> | undefined;
|
|
560
|
+
public_id?: string | undefined;
|
|
561
|
+
account_public_id?: string | undefined;
|
|
562
|
+
customuser_public_id?: string | undefined;
|
|
563
|
+
implementation_id?: string | undefined;
|
|
564
|
+
profile_id?: string | undefined;
|
|
565
|
+
is_expired?: string | undefined;
|
|
566
|
+
expired_at?: string | null | undefined;
|
|
567
|
+
app_key?: string | undefined;
|
|
568
|
+
app_version?: string | undefined;
|
|
569
|
+
}, Record<string, unknown>, unknown>;
|
|
474
570
|
};
|
|
475
571
|
};
|
|
476
572
|
};
|
|
@@ -525,12 +621,12 @@ export declare const findUniqueAuthenticationPlugin: (sdk: {
|
|
|
525
621
|
} & {
|
|
526
622
|
context: {
|
|
527
623
|
meta: {
|
|
528
|
-
findUniqueConnection: import("
|
|
624
|
+
findUniqueConnection: import("kitcore").PluginMeta<unknown>;
|
|
529
625
|
};
|
|
530
626
|
};
|
|
531
627
|
} & {
|
|
532
628
|
context: {
|
|
533
|
-
meta: Record<string, import("
|
|
629
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
534
630
|
};
|
|
535
631
|
}) => {
|
|
536
632
|
findUniqueAuthentication: (options?: {
|
|
@@ -580,16 +676,19 @@ export declare const findUniqueAuthenticationPlugin: (sdk: {
|
|
|
580
676
|
findUniqueAuthentication: {
|
|
581
677
|
packages: string[];
|
|
582
678
|
categories: string[];
|
|
679
|
+
deprecation: {
|
|
680
|
+
message: string;
|
|
681
|
+
};
|
|
583
682
|
type: "item";
|
|
584
683
|
itemType: string;
|
|
585
684
|
inputSchema: import("zod").ZodObject<{
|
|
586
685
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
587
686
|
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
588
687
|
appKey: import("zod").ZodOptional<import("zod").ZodString & {
|
|
589
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
688
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
590
689
|
}>;
|
|
591
690
|
app: import("zod").ZodOptional<import("zod").ZodString & {
|
|
592
|
-
_def: import("zod/v4/core").$ZodStringDef & import("
|
|
691
|
+
_def: import("zod/v4/core").$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
593
692
|
}>;
|
|
594
693
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
595
694
|
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -627,6 +726,35 @@ export declare const findUniqueAuthenticationPlugin: (sdk: {
|
|
|
627
726
|
app_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
628
727
|
app_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
629
728
|
}, import("zod/v4/core").$strip>;
|
|
729
|
+
formatter: import("kitcore").OutputFormatter<unknown, {
|
|
730
|
+
date: string;
|
|
731
|
+
is_invite_only: boolean;
|
|
732
|
+
is_private: boolean;
|
|
733
|
+
shared_with_all: boolean;
|
|
734
|
+
id: string;
|
|
735
|
+
account_id: string;
|
|
736
|
+
title?: string | null | undefined;
|
|
737
|
+
lastchanged?: string | undefined;
|
|
738
|
+
destination_selected_api?: string | null | undefined;
|
|
739
|
+
is_stale?: string | undefined;
|
|
740
|
+
is_shared?: string | undefined;
|
|
741
|
+
marked_stale_at?: string | null | undefined;
|
|
742
|
+
label?: string | null | undefined;
|
|
743
|
+
identifier?: string | null | undefined;
|
|
744
|
+
url?: string | undefined;
|
|
745
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
746
|
+
members?: string | undefined;
|
|
747
|
+
permissions?: Record<string, boolean> | undefined;
|
|
748
|
+
public_id?: string | undefined;
|
|
749
|
+
account_public_id?: string | undefined;
|
|
750
|
+
customuser_public_id?: string | undefined;
|
|
751
|
+
implementation_id?: string | undefined;
|
|
752
|
+
profile_id?: string | undefined;
|
|
753
|
+
is_expired?: string | undefined;
|
|
754
|
+
expired_at?: string | null | undefined;
|
|
755
|
+
app_key?: string | undefined;
|
|
756
|
+
app_version?: string | undefined;
|
|
757
|
+
}, Record<string, unknown>, unknown>;
|
|
630
758
|
};
|
|
631
759
|
};
|
|
632
760
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authentications.d.ts","sourceRoot":"","sources":["../../../src/plugins/deprecated/authentications.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;
|
|
1
|
+
{"version":3,"file":"authentications.d.ts","sourceRoot":"","sources":["../../../src/plugins/deprecated/authentications.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAcH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBrC,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG,UAAU,CACxD,OAAO,yBAAyB,CACjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBnC,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,uBAAuB,CAC/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBzC,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG,UAAU,CAC5D,OAAO,6BAA6B,CACrC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkB1C,CAAC;AAEF,MAAM,MAAM,sCAAsC,GAAG,UAAU,CAC7D,OAAO,8BAA8B,CACtC,CAAC"}
|
|
@@ -11,12 +11,13 @@
|
|
|
11
11
|
* - findFirstAuthentication -> findFirstConnection
|
|
12
12
|
* - findUniqueAuthentication -> findUniqueConnection
|
|
13
13
|
*/
|
|
14
|
-
import { definePlugin } from "
|
|
14
|
+
import { definePlugin } from "kitcore";
|
|
15
15
|
import { ListConnectionsQuerySchema } from "../listConnections/schemas";
|
|
16
16
|
import { GetConnectionParamSchema } from "../getConnection/schemas";
|
|
17
17
|
import { FindFirstConnectionSchema } from "../findFirstConnection/schemas";
|
|
18
18
|
import { FindUniqueConnectionSchema } from "../findUniqueConnection/schemas";
|
|
19
19
|
import { ConnectionItemSchema } from "../../schemas/Connection";
|
|
20
|
+
import { connectionItemFormatter } from "../../formatters/connection";
|
|
20
21
|
/**
|
|
21
22
|
* @deprecated Use listConnections instead
|
|
22
23
|
*/
|
|
@@ -26,11 +27,13 @@ export const listAuthenticationsPlugin = definePlugin((sdk) => ({
|
|
|
26
27
|
meta: {
|
|
27
28
|
listAuthentications: {
|
|
28
29
|
packages: ["cli", "mcp"],
|
|
29
|
-
categories: ["connection"
|
|
30
|
+
categories: ["connection"],
|
|
31
|
+
deprecation: { message: "Use listConnections instead." },
|
|
30
32
|
type: "list",
|
|
31
33
|
itemType: "Connection",
|
|
32
34
|
inputSchema: ListConnectionsQuerySchema,
|
|
33
35
|
outputSchema: ConnectionItemSchema,
|
|
36
|
+
formatter: connectionItemFormatter,
|
|
34
37
|
},
|
|
35
38
|
},
|
|
36
39
|
},
|
|
@@ -44,11 +47,13 @@ export const getAuthenticationPlugin = definePlugin((sdk) => ({
|
|
|
44
47
|
meta: {
|
|
45
48
|
getAuthentication: {
|
|
46
49
|
packages: ["cli", "mcp"],
|
|
47
|
-
categories: ["connection"
|
|
50
|
+
categories: ["connection"],
|
|
51
|
+
deprecation: { message: "Use getConnection instead." },
|
|
48
52
|
type: "item",
|
|
49
53
|
itemType: "Connection",
|
|
50
54
|
inputSchema: GetConnectionParamSchema,
|
|
51
55
|
outputSchema: ConnectionItemSchema,
|
|
56
|
+
formatter: connectionItemFormatter,
|
|
52
57
|
},
|
|
53
58
|
},
|
|
54
59
|
},
|
|
@@ -62,11 +67,13 @@ export const findFirstAuthenticationPlugin = definePlugin((sdk) => ({
|
|
|
62
67
|
meta: {
|
|
63
68
|
findFirstAuthentication: {
|
|
64
69
|
packages: ["cli", "mcp"],
|
|
65
|
-
categories: ["connection"
|
|
70
|
+
categories: ["connection"],
|
|
71
|
+
deprecation: { message: "Use findFirstConnection instead." },
|
|
66
72
|
type: "item",
|
|
67
73
|
itemType: "Connection",
|
|
68
74
|
inputSchema: FindFirstConnectionSchema,
|
|
69
75
|
outputSchema: ConnectionItemSchema,
|
|
76
|
+
formatter: connectionItemFormatter,
|
|
70
77
|
},
|
|
71
78
|
},
|
|
72
79
|
},
|
|
@@ -80,11 +87,13 @@ export const findUniqueAuthenticationPlugin = definePlugin((sdk) => ({
|
|
|
80
87
|
meta: {
|
|
81
88
|
findUniqueAuthentication: {
|
|
82
89
|
packages: ["cli", "mcp"],
|
|
83
|
-
categories: ["connection"
|
|
90
|
+
categories: ["connection"],
|
|
91
|
+
deprecation: { message: "Use findUniqueConnection instead." },
|
|
84
92
|
type: "item",
|
|
85
93
|
itemType: "Connection",
|
|
86
94
|
inputSchema: FindUniqueConnectionSchema,
|
|
87
95
|
outputSchema: ConnectionItemSchema,
|
|
96
|
+
formatter: connectionItemFormatter,
|
|
88
97
|
},
|
|
89
98
|
},
|
|
90
99
|
},
|