@zapier/zapier-sdk 0.65.0 → 0.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/README.md +64 -34
- package/dist/api/client.d.ts.map +1 -1
- package/dist/api/client.js +2 -0
- package/dist/api/debug.d.ts.map +1 -1
- package/dist/api/debug.js +6 -4
- package/dist/api/polling.d.ts +2 -0
- package/dist/api/polling.d.ts.map +1 -1
- package/dist/api/polling.js +10 -2
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +8 -5
- package/dist/core-stack.d.ts +24 -0
- package/dist/core-stack.d.ts.map +1 -0
- package/dist/core-stack.js +32 -0
- package/dist/experimental.cjs +1598 -1323
- package/dist/experimental.d.mts +3476 -224
- package/dist/experimental.d.ts +3508 -256
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.js +117 -87
- package/dist/experimental.mjs +1585 -1322
- package/dist/formatters/action.d.ts +4 -0
- package/dist/formatters/action.d.ts.map +1 -0
- package/dist/formatters/action.js +18 -0
- package/dist/formatters/actionResult.d.ts +3 -0
- package/dist/formatters/actionResult.d.ts.map +1 -0
- package/dist/formatters/actionResult.js +25 -0
- package/dist/formatters/app.d.ts +4 -0
- package/dist/formatters/app.d.ts.map +1 -0
- package/dist/formatters/app.js +10 -0
- package/dist/formatters/clientCredentials.d.ts +5 -0
- package/dist/formatters/clientCredentials.d.ts.map +1 -0
- package/dist/formatters/clientCredentials.js +27 -0
- package/dist/formatters/connection.d.ts +4 -0
- package/dist/formatters/connection.d.ts.map +1 -0
- package/dist/formatters/connection.js +26 -0
- package/dist/formatters/field.d.ts +4 -0
- package/dist/formatters/field.d.ts.map +1 -0
- package/dist/formatters/field.js +51 -0
- package/dist/formatters/inputFieldChoice.d.ts +4 -0
- package/dist/formatters/inputFieldChoice.d.ts.map +1 -0
- package/dist/formatters/inputFieldChoice.js +16 -0
- package/dist/formatters/tableField.d.ts +4 -0
- package/dist/formatters/tableField.d.ts.map +1 -0
- package/dist/formatters/tableField.js +7 -0
- package/dist/formatters/tableRecord.d.ts +5 -3
- package/dist/formatters/tableRecord.d.ts.map +1 -1
- package/dist/formatters/tableRecord.js +4 -3
- package/dist/formatters/triggerInbox.d.ts +4 -0
- package/dist/formatters/triggerInbox.d.ts.map +1 -0
- package/dist/formatters/triggerInbox.js +31 -0
- package/dist/formatters/triggerMessage.d.ts +5 -0
- package/dist/formatters/triggerMessage.d.ts.map +1 -0
- package/dist/formatters/triggerMessage.js +34 -0
- package/dist/formatters/userProfile.d.ts +4 -0
- package/dist/formatters/userProfile.d.ts.map +1 -0
- package/dist/formatters/userProfile.js +19 -0
- package/dist/{index-JhNxS_mq.d.mts → index-oRnHsPn5.d.mts} +12906 -7603
- package/dist/{index-JhNxS_mq.d.ts → index-oRnHsPn5.d.ts} +12906 -7603
- package/dist/index.cjs +1729 -1469
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +12 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -7
- package/dist/index.mjs +1716 -1468
- package/dist/plugins/api/index.d.ts +1 -1
- package/dist/plugins/api/index.js +1 -1
- package/dist/plugins/apps/index.d.ts +8 -5
- package/dist/plugins/apps/index.d.ts.map +1 -1
- package/dist/plugins/apps/index.js +1 -1
- package/dist/plugins/capabilities/index.d.ts +1 -1
- package/dist/plugins/capabilities/index.js +1 -1
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.d.ts +32 -2
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.js +1 -1
- package/dist/plugins/codeSubstrate/createWorkflow/index.d.ts +2 -2
- package/dist/plugins/codeSubstrate/createWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts +32 -2
- package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getDurableRun/index.js +1 -1
- package/dist/plugins/codeSubstrate/getTriggerRun/index.d.ts +2 -2
- package/dist/plugins/codeSubstrate/getTriggerRun/index.js +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/index.js +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts +55 -2
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.js +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts +51 -2
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.js +1 -1
- package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts +3 -3
- package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listDurableRuns/index.js +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts +28 -3
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.js +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts +28 -3
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.js +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts +3 -3
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/index.js +2 -3
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.js +1 -1
- package/dist/plugins/codeSubstrate/runDurable/index.d.ts +2 -2
- package/dist/plugins/codeSubstrate/runDurable/index.js +1 -1
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts +73 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts.map +1 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.js +52 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.d.ts +16 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.d.ts.map +1 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.js +31 -0
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts +27 -2
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/updateWorkflow/index.js +1 -1
- package/dist/plugins/connections/index.d.ts +1 -1
- package/dist/plugins/connections/index.js +1 -1
- package/dist/plugins/createClientCredentials/index.d.ts +2 -2
- package/dist/plugins/createClientCredentials/index.d.ts.map +1 -1
- package/dist/plugins/createClientCredentials/index.js +4 -2
- package/dist/plugins/createClientCredentials/schemas.d.ts +1 -2
- package/dist/plugins/createClientCredentials/schemas.d.ts.map +1 -1
- package/dist/plugins/deleteClientCredentials/index.d.ts +24 -2
- package/dist/plugins/deleteClientCredentials/index.d.ts.map +1 -1
- package/dist/plugins/deleteClientCredentials/index.js +2 -2
- package/dist/plugins/deleteClientCredentials/schemas.d.ts +1 -2
- package/dist/plugins/deleteClientCredentials/schemas.d.ts.map +1 -1
- package/dist/plugins/deprecated/authentications.d.ts +144 -16
- package/dist/plugins/deprecated/authentications.d.ts.map +1 -1
- package/dist/plugins/deprecated/authentications.js +14 -5
- package/dist/plugins/deprecated/inputFields.d.ts +58 -23
- package/dist/plugins/deprecated/inputFields.d.ts.map +1 -1
- package/dist/plugins/deprecated/inputFields.js +15 -7
- package/dist/plugins/eventEmission/event-emission-hook.d.ts +10 -0
- package/dist/plugins/eventEmission/event-emission-hook.d.ts.map +1 -0
- package/dist/plugins/eventEmission/event-emission-hook.js +47 -0
- package/dist/plugins/eventEmission/index.d.ts +5 -3
- package/dist/plugins/eventEmission/index.d.ts.map +1 -1
- package/dist/plugins/eventEmission/index.js +16 -9
- package/dist/plugins/eventEmission/method-metadata.d.ts +16 -0
- package/dist/plugins/eventEmission/method-metadata.d.ts.map +1 -0
- package/dist/plugins/eventEmission/method-metadata.js +20 -0
- package/dist/plugins/eventEmission/transport.d.ts.map +1 -1
- package/dist/plugins/eventEmission/transport.js +2 -1
- package/dist/plugins/eventEmission/types.d.ts +1 -1
- package/dist/plugins/eventEmission/types.d.ts.map +1 -1
- package/dist/plugins/fetch/index.d.ts +11 -5
- package/dist/plugins/fetch/index.d.ts.map +1 -1
- package/dist/plugins/fetch/index.js +42 -32
- package/dist/plugins/fetch/schemas.d.ts +1 -1
- package/dist/plugins/findFirstConnection/index.d.ts +4 -4
- package/dist/plugins/findFirstConnection/index.d.ts.map +1 -1
- package/dist/plugins/findFirstConnection/index.js +4 -2
- package/dist/plugins/findFirstConnection/schemas.d.ts +2 -2
- package/dist/plugins/findUniqueConnection/index.d.ts +4 -4
- package/dist/plugins/findUniqueConnection/index.d.ts.map +1 -1
- package/dist/plugins/findUniqueConnection/index.js +4 -2
- package/dist/plugins/findUniqueConnection/schemas.d.ts +2 -2
- package/dist/plugins/getAction/index.d.ts +141 -4
- package/dist/plugins/getAction/index.d.ts.map +1 -1
- package/dist/plugins/getAction/index.js +5 -3
- package/dist/plugins/getAction/schemas.d.ts +6 -6
- package/dist/plugins/getActionInputFieldsSchema/index.d.ts +232 -3
- package/dist/plugins/getActionInputFieldsSchema/index.d.ts.map +1 -1
- package/dist/plugins/getActionInputFieldsSchema/index.js +3 -3
- package/dist/plugins/getActionInputFieldsSchema/schemas.d.ts +6 -6
- package/dist/plugins/getApp/index.d.ts +4 -4
- package/dist/plugins/getApp/index.d.ts.map +1 -1
- package/dist/plugins/getApp/index.js +3 -1
- package/dist/plugins/getApp/schemas.d.ts +4 -4
- package/dist/plugins/getConnection/index.d.ts +125 -2
- package/dist/plugins/getConnection/index.d.ts.map +1 -1
- package/dist/plugins/getConnection/index.js +4 -2
- package/dist/plugins/getProfile/index.d.ts +2 -2
- package/dist/plugins/getProfile/index.d.ts.map +1 -1
- package/dist/plugins/getProfile/index.js +4 -2
- package/dist/plugins/getProfile/schemas.d.ts +1 -2
- package/dist/plugins/getProfile/schemas.d.ts.map +1 -1
- package/dist/plugins/listActionInputFieldChoices/index.d.ts +287 -4
- package/dist/plugins/listActionInputFieldChoices/index.d.ts.map +1 -1
- package/dist/plugins/listActionInputFieldChoices/index.js +6 -4
- package/dist/plugins/listActionInputFieldChoices/schemas.d.ts +8 -8
- package/dist/plugins/listActionInputFieldChoices/schemas.d.ts.map +1 -1
- package/dist/plugins/listActionInputFieldChoices/schemas.js +1 -22
- package/dist/plugins/listActionInputFields/index.d.ts +168 -5
- package/dist/plugins/listActionInputFields/index.d.ts.map +1 -1
- package/dist/plugins/listActionInputFields/index.js +7 -5
- package/dist/plugins/listActionInputFields/schemas.d.ts +6 -6
- package/dist/plugins/listActions/index.d.ts +140 -3
- package/dist/plugins/listActions/index.d.ts.map +1 -1
- package/dist/plugins/listActions/index.js +6 -4
- package/dist/plugins/listActions/schemas.d.ts +4 -4
- package/dist/plugins/listApps/index.d.ts +3 -3
- package/dist/plugins/listApps/index.d.ts.map +1 -1
- package/dist/plugins/listApps/index.js +6 -4
- package/dist/plugins/listClientCredentials/index.d.ts +3 -3
- package/dist/plugins/listClientCredentials/index.d.ts.map +1 -1
- package/dist/plugins/listClientCredentials/index.js +6 -4
- package/dist/plugins/listConnections/index.d.ts +140 -3
- package/dist/plugins/listConnections/index.d.ts.map +1 -1
- package/dist/plugins/listConnections/index.js +7 -5
- package/dist/plugins/listConnections/schemas.d.ts +2 -2
- package/dist/plugins/manifest/index.d.ts +1 -1
- package/dist/plugins/manifest/index.d.ts.map +1 -1
- package/dist/plugins/manifest/index.js +6 -4
- package/dist/plugins/registry/index.d.ts +1 -1
- package/dist/plugins/registry/index.js +1 -1
- package/dist/plugins/request/index.d.ts +8 -5
- package/dist/plugins/request/index.d.ts.map +1 -1
- package/dist/plugins/request/index.js +4 -3
- package/dist/plugins/request/schemas.d.ts +2 -2
- package/dist/plugins/runAction/index.d.ts +168 -5
- package/dist/plugins/runAction/index.d.ts.map +1 -1
- package/dist/plugins/runAction/index.js +9 -5
- package/dist/plugins/runAction/schemas.d.ts +6 -6
- package/dist/plugins/tables/createTable/index.d.ts +2 -2
- package/dist/plugins/tables/createTable/index.js +2 -2
- package/dist/plugins/tables/createTable/schemas.d.ts +1 -2
- package/dist/plugins/tables/createTable/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/createTableFields/index.d.ts +34 -2
- package/dist/plugins/tables/createTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableFields/index.js +4 -2
- package/dist/plugins/tables/createTableFields/schemas.d.ts +3 -4
- package/dist/plugins/tables/createTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/createTableRecords/index.d.ts +63 -2
- package/dist/plugins/tables/createTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableRecords/index.js +2 -2
- package/dist/plugins/tables/createTableRecords/schemas.d.ts +3 -4
- package/dist/plugins/tables/createTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTable/index.d.ts +34 -2
- package/dist/plugins/tables/deleteTable/index.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTable/index.js +2 -2
- package/dist/plugins/tables/deleteTable/schemas.d.ts +3 -4
- package/dist/plugins/tables/deleteTable/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableFields/index.d.ts +63 -2
- package/dist/plugins/tables/deleteTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableFields/index.js +2 -2
- package/dist/plugins/tables/deleteTableFields/schemas.d.ts +4 -5
- package/dist/plugins/tables/deleteTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableRecords/index.d.ts +84 -2
- package/dist/plugins/tables/deleteTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/deleteTableRecords/index.js +2 -2
- package/dist/plugins/tables/deleteTableRecords/schemas.d.ts +4 -5
- package/dist/plugins/tables/deleteTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/getTable/index.d.ts +34 -2
- package/dist/plugins/tables/getTable/index.d.ts.map +1 -1
- package/dist/plugins/tables/getTable/index.js +2 -2
- package/dist/plugins/tables/getTable/schemas.d.ts +2 -2
- package/dist/plugins/tables/getTableRecord/index.d.ts +84 -2
- package/dist/plugins/tables/getTableRecord/index.d.ts.map +1 -1
- package/dist/plugins/tables/getTableRecord/index.js +2 -2
- package/dist/plugins/tables/getTableRecord/schemas.d.ts +6 -7
- package/dist/plugins/tables/getTableRecord/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/getTableRecord/schemas.js +1 -10
- package/dist/plugins/tables/listTableFields/index.d.ts +34 -2
- package/dist/plugins/tables/listTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTableFields/index.js +4 -2
- package/dist/plugins/tables/listTableFields/schemas.d.ts +4 -5
- package/dist/plugins/tables/listTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/listTableFields/schemas.js +1 -9
- package/dist/plugins/tables/listTableRecords/index.d.ts +65 -4
- package/dist/plugins/tables/listTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTableRecords/index.js +3 -3
- package/dist/plugins/tables/listTableRecords/schemas.d.ts +2 -2
- package/dist/plugins/tables/listTables/index.d.ts +3 -3
- package/dist/plugins/tables/listTables/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTables/index.js +4 -4
- package/dist/plugins/tables/updateTableRecords/index.d.ts +63 -2
- package/dist/plugins/tables/updateTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/updateTableRecords/index.js +2 -2
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts +3 -4
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.d.ts +59 -2
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.d.ts.map +1 -1
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.js +1 -1
- package/dist/plugins/triggers/ackTriggerInboxMessages/schemas.d.ts +1 -1
- package/dist/plugins/triggers/createTriggerInbox/index.d.ts +231 -2
- package/dist/plugins/triggers/createTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/createTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/createTriggerInbox/schemas.d.ts +3 -4
- package/dist/plugins/triggers/createTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/deleteTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/deleteTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/deleteTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/deleteTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/deleteTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/drainTriggerInbox/index.d.ts +68 -6
- package/dist/plugins/triggers/drainTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/drainTriggerInbox/index.js +1 -1
- package/dist/plugins/triggers/drainTriggerInbox/schemas.d.ts +2 -2
- package/dist/plugins/triggers/ensureTriggerInbox/index.d.ts +231 -2
- package/dist/plugins/triggers/ensureTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/ensureTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/ensureTriggerInbox/schemas.d.ts +3 -4
- package/dist/plugins/triggers/ensureTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/getTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/getTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/getTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/getTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/getTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts +232 -3
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts.map +1 -1
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.js +1 -1
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/schemas.d.ts +2 -2
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.d.ts +33 -2
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.d.ts.map +1 -1
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.js +1 -1
- package/dist/plugins/triggers/leaseTriggerInboxMessages/schemas.d.ts +1 -1
- package/dist/plugins/triggers/listTriggerInboxMessages/index.d.ts +34 -3
- package/dist/plugins/triggers/listTriggerInboxMessages/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggerInboxMessages/index.js +5 -13
- package/dist/plugins/triggers/listTriggerInboxMessages/schemas.d.ts +1 -1
- package/dist/plugins/triggers/listTriggerInboxes/index.d.ts +3 -3
- package/dist/plugins/triggers/listTriggerInboxes/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggerInboxes/index.js +5 -14
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts +288 -5
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.js +7 -5
- package/dist/plugins/triggers/listTriggerInputFieldChoices/schemas.d.ts +3 -3
- package/dist/plugins/triggers/listTriggerInputFields/index.d.ts +234 -5
- package/dist/plugins/triggers/listTriggerInputFields/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggerInputFields/index.js +6 -5
- package/dist/plugins/triggers/listTriggerInputFields/schemas.d.ts +2 -2
- package/dist/plugins/triggers/listTriggers/index.d.ts +142 -5
- package/dist/plugins/triggers/listTriggers/index.d.ts.map +1 -1
- package/dist/plugins/triggers/listTriggers/index.js +6 -5
- package/dist/plugins/triggers/listTriggers/schemas.d.ts +1 -1
- package/dist/plugins/triggers/pauseTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/pauseTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/pauseTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/pauseTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/pauseTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.d.ts +59 -2
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.d.ts.map +1 -1
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.js +1 -1
- package/dist/plugins/triggers/releaseTriggerInboxMessages/schemas.d.ts +1 -1
- package/dist/plugins/triggers/resumeTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/resumeTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/resumeTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/resumeTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/resumeTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/updateTriggerInbox/index.d.ts +33 -2
- package/dist/plugins/triggers/updateTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/updateTriggerInbox/index.js +3 -1
- package/dist/plugins/triggers/updateTriggerInbox/schemas.d.ts +2 -3
- package/dist/plugins/triggers/updateTriggerInbox/schemas.d.ts.map +1 -1
- package/dist/plugins/triggers/watchTriggerInbox/index.d.ts +37 -6
- package/dist/plugins/triggers/watchTriggerInbox/index.d.ts.map +1 -1
- package/dist/plugins/triggers/watchTriggerInbox/index.js +1 -1
- package/dist/resolvers/actionKey.d.ts +3 -2
- package/dist/resolvers/actionKey.d.ts.map +1 -1
- package/dist/resolvers/actionType.d.ts +7 -2
- package/dist/resolvers/actionType.d.ts.map +1 -1
- package/dist/resolvers/actionType.js +3 -0
- package/dist/resolvers/appKey.d.ts +10 -5
- package/dist/resolvers/appKey.d.ts.map +1 -1
- package/dist/resolvers/appKey.js +3 -0
- package/dist/resolvers/clientCredentialsName.d.ts +1 -1
- package/dist/resolvers/clientCredentialsName.d.ts.map +1 -1
- package/dist/resolvers/clientId.d.ts +3 -2
- package/dist/resolvers/clientId.d.ts.map +1 -1
- package/dist/resolvers/clientId.js +1 -1
- package/dist/resolvers/connectionId.d.ts +5 -2
- package/dist/resolvers/connectionId.d.ts.map +1 -1
- package/dist/resolvers/connectionId.js +1 -1
- package/dist/resolvers/durableRunId.d.ts +3 -2
- package/dist/resolvers/durableRunId.d.ts.map +1 -1
- package/dist/resolvers/durableRunId.js +3 -2
- package/dist/resolvers/inputFieldKey.d.ts +3 -2
- package/dist/resolvers/inputFieldKey.d.ts.map +1 -1
- package/dist/resolvers/inputFieldKey.js +1 -1
- package/dist/resolvers/tableFieldIds.d.ts +3 -2
- package/dist/resolvers/tableFieldIds.d.ts.map +1 -1
- package/dist/resolvers/tableFields.d.ts +2 -2
- package/dist/resolvers/tableFields.d.ts.map +1 -1
- package/dist/resolvers/tableFilters.d.ts +3 -2
- package/dist/resolvers/tableFilters.d.ts.map +1 -1
- package/dist/resolvers/tableId.d.ts +3 -2
- package/dist/resolvers/tableId.d.ts.map +1 -1
- package/dist/resolvers/tableId.js +1 -1
- package/dist/resolvers/tableName.d.ts +1 -1
- package/dist/resolvers/tableName.d.ts.map +1 -1
- package/dist/resolvers/tableRecordId.d.ts +4 -3
- package/dist/resolvers/tableRecordId.d.ts.map +1 -1
- package/dist/resolvers/tableRecords.d.ts +4 -3
- package/dist/resolvers/tableRecords.d.ts.map +1 -1
- package/dist/resolvers/tableSort.d.ts +3 -2
- package/dist/resolvers/tableSort.d.ts.map +1 -1
- package/dist/resolvers/triggerInbox.d.ts +3 -2
- package/dist/resolvers/triggerInbox.d.ts.map +1 -1
- package/dist/resolvers/triggerInbox.js +1 -1
- package/dist/resolvers/triggerMessages.d.ts +3 -2
- package/dist/resolvers/triggerMessages.d.ts.map +1 -1
- package/dist/resolvers/triggerMessages.js +2 -4
- package/dist/resolvers/workflowId.d.ts +3 -2
- package/dist/resolvers/workflowId.d.ts.map +1 -1
- package/dist/resolvers/workflowId.js +3 -2
- package/dist/resolvers/workflowRunId.d.ts +3 -2
- package/dist/resolvers/workflowRunId.d.ts.map +1 -1
- package/dist/resolvers/workflowRunId.js +5 -5
- package/dist/resolvers/workflowVersionId.d.ts +3 -2
- package/dist/resolvers/workflowVersionId.d.ts.map +1 -1
- package/dist/resolvers/workflowVersionId.js +7 -7
- package/dist/schemas/Action.d.ts.map +1 -1
- package/dist/schemas/Action.js +6 -30
- package/dist/schemas/App.d.ts +0 -1
- package/dist/schemas/App.d.ts.map +1 -1
- package/dist/schemas/App.js +2 -14
- package/dist/schemas/ClientCredentials.d.ts.map +1 -1
- package/dist/schemas/ClientCredentials.js +3 -41
- package/dist/schemas/Connection.d.ts.map +1 -1
- package/dist/schemas/Connection.js +2 -28
- package/dist/schemas/Field.d.ts.map +1 -1
- package/dist/schemas/Field.js +3 -70
- package/dist/schemas/Run.d.ts.map +1 -1
- package/dist/schemas/Run.js +3 -29
- package/dist/schemas/TriggerInbox.d.ts.map +1 -1
- package/dist/schemas/TriggerInbox.js +1 -33
- package/dist/schemas/TriggerMessage.d.ts.map +1 -1
- package/dist/schemas/TriggerMessage.js +2 -60
- package/dist/schemas/UserProfile.d.ts +0 -1
- package/dist/schemas/UserProfile.d.ts.map +1 -1
- package/dist/schemas/UserProfile.js +1 -20
- package/dist/sdk.d.ts +2761 -441
- package/dist/sdk.d.ts.map +1 -1
- package/dist/sdk.js +93 -129
- package/dist/types/errors.d.ts +44 -42
- package/dist/types/errors.d.ts.map +1 -1
- package/dist/types/errors.js +79 -33
- package/dist/types/functions.d.ts +1 -41
- package/dist/types/functions.d.ts.map +1 -1
- package/dist/types/properties.d.ts +7 -7
- package/dist/types/properties.js +1 -1
- package/dist/types/sdk.d.ts +1 -1
- package/dist/types/sdk.d.ts.map +1 -1
- package/dist/types/telemetry-events.d.ts +1 -1
- package/dist/types/telemetry-events.d.ts.map +1 -1
- package/dist/utils/domain-utils.js +1 -1
- package/dist/utils/logging.d.ts +1 -12
- package/dist/utils/logging.d.ts.map +1 -1
- package/dist/utils/logging.js +2 -20
- package/dist/utils/pagination.d.ts +38 -0
- package/dist/utils/pagination.d.ts.map +1 -0
- package/dist/utils/pagination.js +53 -0
- package/package.json +3 -2
- package/dist/registry.d.ts +0 -9
- package/dist/registry.d.ts.map +0 -1
- package/dist/registry.js +0 -103
- package/dist/types/meta.d.ts +0 -9
- package/dist/types/meta.d.ts.map +0 -1
- package/dist/types/meta.js +0 -3
- package/dist/types/plugin.d.ts +0 -84
- package/dist/types/plugin.d.ts.map +0 -1
- package/dist/types/plugin.js +0 -13
- package/dist/types/registry.d.ts +0 -54
- package/dist/types/registry.d.ts.map +0 -1
- package/dist/types/registry.js +0 -1
- package/dist/utils/function-utils.d.ts +0 -59
- package/dist/utils/function-utils.d.ts.map +0 -1
- package/dist/utils/function-utils.js +0 -245
- package/dist/utils/pagination-utils.d.ts +0 -73
- package/dist/utils/pagination-utils.d.ts.map +0 -1
- package/dist/utils/pagination-utils.js +0 -308
- package/dist/utils/plugin-utils.d.ts +0 -245
- package/dist/utils/plugin-utils.d.ts.map +0 -1
- package/dist/utils/plugin-utils.js +0 -234
- package/dist/utils/schema-utils.d.ts +0 -211
- package/dist/utils/schema-utils.d.ts.map +0 -1
- package/dist/utils/schema-utils.js +0 -72
- package/dist/utils/string-utils.d.ts +0 -40
- package/dist/utils/string-utils.d.ts.map +0 -1
- package/dist/utils/string-utils.js +0 -69
- package/dist/utils/telemetry-context.d.ts +0 -15
- package/dist/utils/telemetry-context.d.ts.map +0 -1
- package/dist/utils/telemetry-context.js +0 -48
- package/dist/utils/telemetry-utils.d.ts +0 -44
- package/dist/utils/telemetry-utils.d.ts.map +0 -1
- package/dist/utils/telemetry-utils.js +0 -60
- package/dist/utils/validation.d.ts +0 -4
- package/dist/utils/validation.d.ts.map +0 -1
- package/dist/utils/validation.js +0 -30
|
@@ -27,7 +27,290 @@ export declare const listActionInputFieldChoicesPlugin: (sdk: {
|
|
|
27
27
|
} & {
|
|
28
28
|
context: {
|
|
29
29
|
meta: {
|
|
30
|
-
getAction: import("
|
|
30
|
+
getAction: import("kitcore").PluginMeta<unknown>;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
} & {
|
|
34
|
+
getApp: (options?: {
|
|
35
|
+
app: string;
|
|
36
|
+
} | {
|
|
37
|
+
appKey: string;
|
|
38
|
+
} | undefined) => Promise<{
|
|
39
|
+
data: {
|
|
40
|
+
slug: string;
|
|
41
|
+
title: string;
|
|
42
|
+
key: string;
|
|
43
|
+
implementation_id: string;
|
|
44
|
+
description?: string | undefined;
|
|
45
|
+
is_hidden?: boolean | undefined;
|
|
46
|
+
auth_type?: string | undefined;
|
|
47
|
+
actions?: {
|
|
48
|
+
read?: number | undefined;
|
|
49
|
+
read_bulk?: number | undefined;
|
|
50
|
+
write?: number | undefined;
|
|
51
|
+
search?: number | undefined;
|
|
52
|
+
search_or_write?: number | undefined;
|
|
53
|
+
search_and_write?: number | undefined;
|
|
54
|
+
filter?: number | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
is_deprecated?: boolean | undefined;
|
|
57
|
+
is_beta?: boolean | undefined;
|
|
58
|
+
is_premium?: boolean | undefined;
|
|
59
|
+
age_in_days?: number | undefined;
|
|
60
|
+
banner?: string | undefined;
|
|
61
|
+
categories?: {
|
|
62
|
+
id: number;
|
|
63
|
+
name: string;
|
|
64
|
+
slug: string;
|
|
65
|
+
}[] | undefined;
|
|
66
|
+
images?: {
|
|
67
|
+
url_16x16?: string | undefined;
|
|
68
|
+
url_32x32?: string | undefined;
|
|
69
|
+
url_64x64?: string | undefined;
|
|
70
|
+
url_128x128?: string | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
popularity?: number | undefined;
|
|
73
|
+
has_filters?: boolean | undefined;
|
|
74
|
+
has_reads?: boolean | undefined;
|
|
75
|
+
has_searches?: boolean | undefined;
|
|
76
|
+
has_searches_or_writes?: boolean | undefined;
|
|
77
|
+
has_upfront_fields?: boolean | undefined;
|
|
78
|
+
has_writes?: boolean | undefined;
|
|
79
|
+
is_built_in?: boolean | undefined;
|
|
80
|
+
is_featured?: boolean | undefined;
|
|
81
|
+
is_invite?: boolean | undefined;
|
|
82
|
+
is_public?: boolean | undefined;
|
|
83
|
+
is_upcoming?: boolean | undefined;
|
|
84
|
+
visibility?: string | undefined;
|
|
85
|
+
primary_color?: string | undefined;
|
|
86
|
+
secondary_color?: string | undefined;
|
|
87
|
+
classification?: string | undefined;
|
|
88
|
+
api_docs_url?: string | undefined;
|
|
89
|
+
image?: string | undefined;
|
|
90
|
+
version?: string | undefined;
|
|
91
|
+
};
|
|
92
|
+
}>;
|
|
93
|
+
} & {
|
|
94
|
+
context: {
|
|
95
|
+
meta: {
|
|
96
|
+
getApp: import("kitcore").PluginMeta<unknown>;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
} & {
|
|
100
|
+
listApps: (options?: ({
|
|
101
|
+
search?: string | undefined;
|
|
102
|
+
apps?: string[] | undefined;
|
|
103
|
+
appKeys?: string[] | undefined;
|
|
104
|
+
pageSize?: number | undefined;
|
|
105
|
+
maxItems?: number | undefined;
|
|
106
|
+
cursor?: string | undefined;
|
|
107
|
+
} & {
|
|
108
|
+
cursor?: string;
|
|
109
|
+
pageSize?: number;
|
|
110
|
+
maxItems?: number;
|
|
111
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
112
|
+
slug: string;
|
|
113
|
+
title: string;
|
|
114
|
+
key: string;
|
|
115
|
+
implementation_id: string;
|
|
116
|
+
description?: string | undefined;
|
|
117
|
+
is_hidden?: boolean | undefined;
|
|
118
|
+
auth_type?: string | undefined;
|
|
119
|
+
actions?: {
|
|
120
|
+
read?: number | undefined;
|
|
121
|
+
read_bulk?: number | undefined;
|
|
122
|
+
write?: number | undefined;
|
|
123
|
+
search?: number | undefined;
|
|
124
|
+
search_or_write?: number | undefined;
|
|
125
|
+
search_and_write?: number | undefined;
|
|
126
|
+
filter?: number | undefined;
|
|
127
|
+
} | undefined;
|
|
128
|
+
is_deprecated?: boolean | undefined;
|
|
129
|
+
is_beta?: boolean | undefined;
|
|
130
|
+
is_premium?: boolean | undefined;
|
|
131
|
+
age_in_days?: number | undefined;
|
|
132
|
+
banner?: string | undefined;
|
|
133
|
+
categories?: {
|
|
134
|
+
id: number;
|
|
135
|
+
name: string;
|
|
136
|
+
slug: string;
|
|
137
|
+
}[] | undefined;
|
|
138
|
+
images?: {
|
|
139
|
+
url_16x16?: string | undefined;
|
|
140
|
+
url_32x32?: string | undefined;
|
|
141
|
+
url_64x64?: string | undefined;
|
|
142
|
+
url_128x128?: string | undefined;
|
|
143
|
+
} | undefined;
|
|
144
|
+
popularity?: number | undefined;
|
|
145
|
+
has_filters?: boolean | undefined;
|
|
146
|
+
has_reads?: boolean | undefined;
|
|
147
|
+
has_searches?: boolean | undefined;
|
|
148
|
+
has_searches_or_writes?: boolean | undefined;
|
|
149
|
+
has_upfront_fields?: boolean | undefined;
|
|
150
|
+
has_writes?: boolean | undefined;
|
|
151
|
+
is_built_in?: boolean | undefined;
|
|
152
|
+
is_featured?: boolean | undefined;
|
|
153
|
+
is_invite?: boolean | undefined;
|
|
154
|
+
is_public?: boolean | undefined;
|
|
155
|
+
is_upcoming?: boolean | undefined;
|
|
156
|
+
visibility?: string | undefined;
|
|
157
|
+
primary_color?: string | undefined;
|
|
158
|
+
secondary_color?: string | undefined;
|
|
159
|
+
classification?: string | undefined;
|
|
160
|
+
api_docs_url?: string | undefined;
|
|
161
|
+
image?: string | undefined;
|
|
162
|
+
version?: string | undefined;
|
|
163
|
+
}>;
|
|
164
|
+
} & {
|
|
165
|
+
context: {
|
|
166
|
+
meta: {
|
|
167
|
+
listApps: import("kitcore").PluginMeta<unknown>;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
} & {
|
|
171
|
+
listActions: (options?: (({
|
|
172
|
+
app: string;
|
|
173
|
+
actionType?: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | undefined;
|
|
174
|
+
pageSize?: number | undefined;
|
|
175
|
+
maxItems?: number | undefined;
|
|
176
|
+
cursor?: string | undefined;
|
|
177
|
+
} | {
|
|
178
|
+
appKey: string;
|
|
179
|
+
actionType?: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | undefined;
|
|
180
|
+
pageSize?: number | undefined;
|
|
181
|
+
maxItems?: number | undefined;
|
|
182
|
+
cursor?: string | undefined;
|
|
183
|
+
}) & {
|
|
184
|
+
cursor?: string;
|
|
185
|
+
pageSize?: number;
|
|
186
|
+
maxItems?: number;
|
|
187
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
188
|
+
description: string;
|
|
189
|
+
key: string;
|
|
190
|
+
app_key: string;
|
|
191
|
+
action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
192
|
+
title: string;
|
|
193
|
+
type: "action";
|
|
194
|
+
id?: string | undefined;
|
|
195
|
+
is_important?: boolean | undefined;
|
|
196
|
+
is_hidden?: boolean | undefined;
|
|
197
|
+
app_version?: string | undefined;
|
|
198
|
+
}>;
|
|
199
|
+
} & {
|
|
200
|
+
context: {
|
|
201
|
+
meta: {
|
|
202
|
+
listActions: import("kitcore").PluginMeta<unknown>;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
} & {
|
|
206
|
+
listConnections: (options?: ({
|
|
207
|
+
title?: string | undefined;
|
|
208
|
+
search?: string | undefined;
|
|
209
|
+
owner?: string | undefined;
|
|
210
|
+
app?: string | undefined;
|
|
211
|
+
appKey?: string | undefined;
|
|
212
|
+
connections?: string[] | undefined;
|
|
213
|
+
connectionIds?: string[] | undefined;
|
|
214
|
+
authenticationIds?: string[] | undefined;
|
|
215
|
+
account?: string | undefined;
|
|
216
|
+
accountId?: string | undefined;
|
|
217
|
+
includeShared?: boolean | undefined;
|
|
218
|
+
isExpired?: boolean | undefined;
|
|
219
|
+
expired?: boolean | undefined;
|
|
220
|
+
pageSize?: number | undefined;
|
|
221
|
+
maxItems?: number | undefined;
|
|
222
|
+
cursor?: string | undefined;
|
|
223
|
+
} & {
|
|
224
|
+
cursor?: string;
|
|
225
|
+
pageSize?: number;
|
|
226
|
+
maxItems?: number;
|
|
227
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
228
|
+
date: string;
|
|
229
|
+
is_invite_only: boolean;
|
|
230
|
+
is_private: boolean;
|
|
231
|
+
shared_with_all: boolean;
|
|
232
|
+
id: string;
|
|
233
|
+
account_id: string;
|
|
234
|
+
title?: string | null | undefined;
|
|
235
|
+
lastchanged?: string | undefined;
|
|
236
|
+
destination_selected_api?: string | null | undefined;
|
|
237
|
+
is_stale?: string | undefined;
|
|
238
|
+
is_shared?: string | undefined;
|
|
239
|
+
marked_stale_at?: string | null | undefined;
|
|
240
|
+
label?: string | null | undefined;
|
|
241
|
+
identifier?: string | null | undefined;
|
|
242
|
+
url?: string | undefined;
|
|
243
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
244
|
+
members?: string | undefined;
|
|
245
|
+
permissions?: Record<string, boolean> | undefined;
|
|
246
|
+
public_id?: string | undefined;
|
|
247
|
+
account_public_id?: string | undefined;
|
|
248
|
+
customuser_public_id?: string | undefined;
|
|
249
|
+
implementation_id?: string | undefined;
|
|
250
|
+
profile_id?: string | undefined;
|
|
251
|
+
is_expired?: string | undefined;
|
|
252
|
+
expired_at?: string | null | undefined;
|
|
253
|
+
app_key?: string | undefined;
|
|
254
|
+
app_version?: string | undefined;
|
|
255
|
+
}>;
|
|
256
|
+
} & {
|
|
257
|
+
context: {
|
|
258
|
+
meta: {
|
|
259
|
+
listConnections: import("kitcore").PluginMeta<unknown>;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
} & {
|
|
263
|
+
listActionInputFields: (options?: (({
|
|
264
|
+
app: string;
|
|
265
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
266
|
+
action: string;
|
|
267
|
+
connection?: string | number | undefined;
|
|
268
|
+
connectionId?: string | number | null | undefined;
|
|
269
|
+
authenticationId?: string | number | null | undefined;
|
|
270
|
+
inputs?: Record<string, unknown> | undefined;
|
|
271
|
+
pageSize?: number | undefined;
|
|
272
|
+
maxItems?: number | undefined;
|
|
273
|
+
cursor?: string | undefined;
|
|
274
|
+
} | {
|
|
275
|
+
appKey: string;
|
|
276
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
277
|
+
actionKey: string;
|
|
278
|
+
connection?: string | number | undefined;
|
|
279
|
+
connectionId?: string | number | null | undefined;
|
|
280
|
+
authenticationId?: string | number | null | undefined;
|
|
281
|
+
inputs?: Record<string, unknown> | undefined;
|
|
282
|
+
pageSize?: number | undefined;
|
|
283
|
+
maxItems?: number | undefined;
|
|
284
|
+
cursor?: string | undefined;
|
|
285
|
+
}) & {
|
|
286
|
+
cursor?: string;
|
|
287
|
+
pageSize?: number;
|
|
288
|
+
maxItems?: number;
|
|
289
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
290
|
+
key: string;
|
|
291
|
+
type: "input_field";
|
|
292
|
+
default_value: string;
|
|
293
|
+
depends_on: string[];
|
|
294
|
+
description: string;
|
|
295
|
+
invalidates_input_fields: boolean;
|
|
296
|
+
is_required: boolean;
|
|
297
|
+
placeholder: string;
|
|
298
|
+
title: string;
|
|
299
|
+
value_type: string;
|
|
300
|
+
format?: string | undefined;
|
|
301
|
+
items?: {
|
|
302
|
+
type: string;
|
|
303
|
+
} | undefined;
|
|
304
|
+
} | {
|
|
305
|
+
key: string;
|
|
306
|
+
type: "info_field";
|
|
307
|
+
description: string;
|
|
308
|
+
title?: string | undefined;
|
|
309
|
+
} | import("../..").FieldsetItem>;
|
|
310
|
+
} & {
|
|
311
|
+
context: {
|
|
312
|
+
meta: {
|
|
313
|
+
listActionInputFields: import("kitcore").PluginMeta<unknown>;
|
|
31
314
|
};
|
|
32
315
|
};
|
|
33
316
|
} & {
|
|
@@ -39,7 +322,7 @@ export declare const listActionInputFieldChoicesPlugin: (sdk: {
|
|
|
39
322
|
context: import("../eventEmission").EventEmissionContext;
|
|
40
323
|
} & {
|
|
41
324
|
context: {
|
|
42
|
-
meta: Record<string, import("
|
|
325
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
43
326
|
};
|
|
44
327
|
}) => {
|
|
45
328
|
listActionInputFieldChoices: (options?: (({
|
|
@@ -72,7 +355,7 @@ export declare const listActionInputFieldChoicesPlugin: (sdk: {
|
|
|
72
355
|
cursor?: string;
|
|
73
356
|
pageSize?: number;
|
|
74
357
|
maxItems?: number;
|
|
75
|
-
}) | undefined) => import("
|
|
358
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
76
359
|
key?: string | undefined;
|
|
77
360
|
label?: string | undefined;
|
|
78
361
|
sample?: string | undefined;
|
|
@@ -81,7 +364,7 @@ export declare const listActionInputFieldChoicesPlugin: (sdk: {
|
|
|
81
364
|
} & {
|
|
82
365
|
context: {
|
|
83
366
|
meta: {
|
|
84
|
-
listActionInputFieldChoices: import("
|
|
367
|
+
listActionInputFieldChoices: import("kitcore").PluginMeta<unknown>;
|
|
85
368
|
};
|
|
86
369
|
};
|
|
87
370
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listActionInputFieldChoices/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listActionInputFieldChoices/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAgB3C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAcxE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAehE,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAQ7B;QACP,GAAG,EAAE,SAAS,CAAC;QACf,4BAA4B,EAAE,4BAA4B,CAAC;KAC5D,GAAG,yBAAyB,CAAC,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4H/C,CAAC;AAEF,MAAM,MAAM,yCAAyC,GAAG,UAAU,CAChE,OAAO,iCAAiC,CACzC,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { definePlugin } from "
|
|
2
|
-
import { createPaginatedPluginMethod } from "
|
|
1
|
+
import { definePlugin } from "kitcore";
|
|
2
|
+
import { createPaginatedPluginMethod } from "kitcore";
|
|
3
3
|
import { ListActionInputFieldChoicesInputSchema, InputFieldChoiceItemSchema, } from "./schemas";
|
|
4
|
+
import { inputFieldChoiceItemFormatter } from "../../formatters/inputFieldChoice";
|
|
4
5
|
import { ZapierApiError, ZapierConfigurationError } from "../../types/errors";
|
|
5
6
|
import { DEFAULT_PAGE_SIZE } from "../../constants";
|
|
6
7
|
import { appKeyResolver, actionTypeResolver, actionKeyResolver, connectionIdResolver, inputFieldKeyResolver, inputsAllOptionalResolver, } from "../../resolvers";
|
|
7
8
|
import { fetchImplementationNeeds, fetchImplementationChoices, } from "../../services/implementations";
|
|
8
9
|
import { resolveConnectionId } from "../../utils/domain-utils";
|
|
9
|
-
import { setMethodMetadata } from "
|
|
10
|
+
import { setMethodMetadata } from "../eventEmission/method-metadata";
|
|
10
11
|
function transformNeedChoicesToInputFieldChoiceItem(choice) {
|
|
11
12
|
return {
|
|
12
13
|
key: choice.key,
|
|
@@ -22,6 +23,7 @@ export const listActionInputFieldChoicesPlugin = definePlugin((sdk) => createPag
|
|
|
22
23
|
itemType: "InputFieldChoice",
|
|
23
24
|
inputSchema: ListActionInputFieldChoicesInputSchema,
|
|
24
25
|
outputSchema: InputFieldChoiceItemSchema,
|
|
26
|
+
formatter: inputFieldChoiceItemFormatter,
|
|
25
27
|
defaultPageSize: DEFAULT_PAGE_SIZE,
|
|
26
28
|
resolvers: {
|
|
27
29
|
app: appKeyResolver,
|
|
@@ -31,7 +33,7 @@ export const listActionInputFieldChoicesPlugin = definePlugin((sdk) => createPag
|
|
|
31
33
|
inputField: inputFieldKeyResolver,
|
|
32
34
|
inputs: inputsAllOptionalResolver,
|
|
33
35
|
},
|
|
34
|
-
handler: async ({ sdk, options
|
|
36
|
+
handler: async ({ sdk, options }) => {
|
|
35
37
|
const { api, getVersionedImplementationId } = sdk.context;
|
|
36
38
|
const appKey = "app" in options ? options.app : options.appKey;
|
|
37
39
|
const actionKey = "action" in options ? options.action : options.actionKey;
|
|
@@ -9,7 +9,7 @@ export declare const InputFieldChoiceItemSchema: z.ZodObject<{
|
|
|
9
9
|
export type InputFieldChoiceItem = z.infer<typeof InputFieldChoiceItemSchema>;
|
|
10
10
|
export declare const ListActionInputFieldChoicesSchema: z.ZodObject<{
|
|
11
11
|
app: z.ZodString & {
|
|
12
|
-
_def: z.core.$ZodStringDef & import("
|
|
12
|
+
_def: z.core.$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
13
13
|
};
|
|
14
14
|
actionType: z.ZodEnum<{
|
|
15
15
|
filter: "filter";
|
|
@@ -22,10 +22,10 @@ export declare const ListActionInputFieldChoicesSchema: z.ZodObject<{
|
|
|
22
22
|
search_or_write: "search_or_write";
|
|
23
23
|
}>;
|
|
24
24
|
action: z.ZodString & {
|
|
25
|
-
_def: z.core.$ZodStringDef & import("
|
|
25
|
+
_def: z.core.$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
26
26
|
};
|
|
27
27
|
inputField: z.ZodString & {
|
|
28
|
-
_def: z.core.$ZodStringDef & import("
|
|
28
|
+
_def: z.core.$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
29
29
|
};
|
|
30
30
|
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
31
31
|
connectionId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -38,7 +38,7 @@ export declare const ListActionInputFieldChoicesSchema: z.ZodObject<{
|
|
|
38
38
|
}, z.core.$strip>;
|
|
39
39
|
declare const ListActionInputFieldChoicesSchemaDeprecated: z.ZodObject<{
|
|
40
40
|
appKey: z.ZodString & {
|
|
41
|
-
_def: z.core.$ZodStringDef & import("
|
|
41
|
+
_def: z.core.$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
42
42
|
};
|
|
43
43
|
actionType: z.ZodEnum<{
|
|
44
44
|
filter: "filter";
|
|
@@ -63,7 +63,7 @@ declare const ListActionInputFieldChoicesSchemaDeprecated: z.ZodObject<{
|
|
|
63
63
|
}, z.core.$strip>;
|
|
64
64
|
export declare const ListActionInputFieldChoicesInputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
65
65
|
app: z.ZodString & {
|
|
66
|
-
_def: z.core.$ZodStringDef & import("
|
|
66
|
+
_def: z.core.$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
67
67
|
};
|
|
68
68
|
actionType: z.ZodEnum<{
|
|
69
69
|
filter: "filter";
|
|
@@ -76,10 +76,10 @@ export declare const ListActionInputFieldChoicesInputSchema: z.ZodUnion<readonly
|
|
|
76
76
|
search_or_write: "search_or_write";
|
|
77
77
|
}>;
|
|
78
78
|
action: z.ZodString & {
|
|
79
|
-
_def: z.core.$ZodStringDef & import("
|
|
79
|
+
_def: z.core.$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
80
80
|
};
|
|
81
81
|
inputField: z.ZodString & {
|
|
82
|
-
_def: z.core.$ZodStringDef & import("
|
|
82
|
+
_def: z.core.$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
83
83
|
};
|
|
84
84
|
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
85
85
|
connectionId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -91,7 +91,7 @@ export declare const ListActionInputFieldChoicesInputSchema: z.ZodUnion<readonly
|
|
|
91
91
|
cursor: z.ZodOptional<z.ZodString>;
|
|
92
92
|
}, z.core.$strip>, z.ZodObject<{
|
|
93
93
|
appKey: z.ZodString & {
|
|
94
|
-
_def: z.core.$ZodStringDef & import("
|
|
94
|
+
_def: z.core.$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
95
95
|
};
|
|
96
96
|
actionType: z.ZodEnum<{
|
|
97
97
|
filter: "filter";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/listActionInputFieldChoices/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/listActionInputFieldChoices/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAMlE,eAAO,MAAM,0BAA0B;;;;;iBAAoB,CAAC;AAE5D,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AA2C9E,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiB1C,CAAC;AAGL,QAAA,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;iBAUF,CAAC;AAGhD,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKA,CAAC;AAGpD,MAAM,MAAM,kCAAkC,GAC1C,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,GACjD,CAAC,IAAI,CACH,CAAC,CAAC,KAAK,CAAC,OAAO,2CAA2C,CAAC,EAC3D,QAAQ,GAAG,WAAW,GAAG,eAAe,CACzC,GAAG;IACF,qCAAqC;IACrC,MAAM,EAAE,CAAC,CAAC,KAAK,CACb,OAAO,2CAA2C,CACnD,CAAC,QAAQ,CAAC,CAAC;IACZ,wCAAwC;IACxC,SAAS,EAAE,CAAC,CAAC,KAAK,CAChB,OAAO,2CAA2C,CACnD,CAAC,WAAW,CAAC,CAAC;IACf,4CAA4C;IAC5C,aAAa,EAAE,CAAC,CAAC,KAAK,CACpB,OAAO,2CAA2C,CACnD,CAAC,eAAe,CAAC,CAAC;CACpB,CAAC,CAAC;AAGP,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE,oBAAoB,EAAE,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,WAAW,sCAAsC;IACrD,2BAA2B,EAAE,oBAAoB,CAC/C,kCAAkC,EAClC,oBAAoB,CACrB,CAAC;CACH"}
|
|
@@ -1,31 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { ConnectionIdPropertySchema, ConnectionPropertySchema, AuthenticationIdPropertySchema, AppKeyPropertySchema, AppPropertySchema, ActionTypePropertySchema, ActionKeyPropertySchema, ActionPropertySchema, InputFieldPropertySchema, InputsPropertySchema, } from "../../types/properties";
|
|
3
|
-
import { withFormatter } from "../../utils/schema-utils";
|
|
4
3
|
import { NeedChoicesSchema } from "../../api/schemas";
|
|
5
4
|
// ============================================================================
|
|
6
5
|
// Input Field Choice Item Schema
|
|
7
6
|
// ============================================================================
|
|
8
|
-
export const InputFieldChoiceItemSchema =
|
|
9
|
-
format: (item) => {
|
|
10
|
-
const title = item.label || item.key || "Choice";
|
|
11
|
-
const details = [];
|
|
12
|
-
// Show key as detail if different from label
|
|
13
|
-
if (item.label && item.key && item.label !== item.key) {
|
|
14
|
-
details.push({ text: `Key: ${item.key}`, style: "dim" });
|
|
15
|
-
}
|
|
16
|
-
if (item.sample && item.sample !== item.key) {
|
|
17
|
-
details.push({ text: `Sample: ${item.sample}`, style: "dim" });
|
|
18
|
-
}
|
|
19
|
-
if (item.value && item.value !== item.key) {
|
|
20
|
-
details.push({ text: `Value: ${item.value}`, style: "normal" });
|
|
21
|
-
}
|
|
22
|
-
return {
|
|
23
|
-
title,
|
|
24
|
-
key: item.key,
|
|
25
|
-
details,
|
|
26
|
-
};
|
|
27
|
-
},
|
|
28
|
-
});
|
|
7
|
+
export const InputFieldChoiceItemSchema = NeedChoicesSchema;
|
|
29
8
|
// ============================================================================
|
|
30
9
|
// Plugin Schema Definition
|
|
31
10
|
// ============================================================================
|
|
@@ -65,7 +65,7 @@ export declare const listActionInputFieldsPlugin: (sdk: {
|
|
|
65
65
|
} & {
|
|
66
66
|
context: {
|
|
67
67
|
meta: {
|
|
68
|
-
getApp: import("
|
|
68
|
+
getApp: import("kitcore").PluginMeta<unknown>;
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
} & {
|
|
@@ -94,7 +94,170 @@ export declare const listActionInputFieldsPlugin: (sdk: {
|
|
|
94
94
|
} & {
|
|
95
95
|
context: {
|
|
96
96
|
meta: {
|
|
97
|
-
getAction: import("
|
|
97
|
+
getAction: import("kitcore").PluginMeta<unknown>;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
} & {
|
|
101
|
+
listApps: (options?: ({
|
|
102
|
+
search?: string | undefined;
|
|
103
|
+
apps?: string[] | undefined;
|
|
104
|
+
appKeys?: string[] | undefined;
|
|
105
|
+
pageSize?: number | undefined;
|
|
106
|
+
maxItems?: number | undefined;
|
|
107
|
+
cursor?: string | undefined;
|
|
108
|
+
} & {
|
|
109
|
+
cursor?: string;
|
|
110
|
+
pageSize?: number;
|
|
111
|
+
maxItems?: number;
|
|
112
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
113
|
+
slug: string;
|
|
114
|
+
title: string;
|
|
115
|
+
key: string;
|
|
116
|
+
implementation_id: string;
|
|
117
|
+
description?: string | undefined;
|
|
118
|
+
is_hidden?: boolean | undefined;
|
|
119
|
+
auth_type?: string | undefined;
|
|
120
|
+
actions?: {
|
|
121
|
+
read?: number | undefined;
|
|
122
|
+
read_bulk?: number | undefined;
|
|
123
|
+
write?: number | undefined;
|
|
124
|
+
search?: number | undefined;
|
|
125
|
+
search_or_write?: number | undefined;
|
|
126
|
+
search_and_write?: number | undefined;
|
|
127
|
+
filter?: number | undefined;
|
|
128
|
+
} | undefined;
|
|
129
|
+
is_deprecated?: boolean | undefined;
|
|
130
|
+
is_beta?: boolean | undefined;
|
|
131
|
+
is_premium?: boolean | undefined;
|
|
132
|
+
age_in_days?: number | undefined;
|
|
133
|
+
banner?: string | undefined;
|
|
134
|
+
categories?: {
|
|
135
|
+
id: number;
|
|
136
|
+
name: string;
|
|
137
|
+
slug: string;
|
|
138
|
+
}[] | undefined;
|
|
139
|
+
images?: {
|
|
140
|
+
url_16x16?: string | undefined;
|
|
141
|
+
url_32x32?: string | undefined;
|
|
142
|
+
url_64x64?: string | undefined;
|
|
143
|
+
url_128x128?: string | undefined;
|
|
144
|
+
} | undefined;
|
|
145
|
+
popularity?: number | undefined;
|
|
146
|
+
has_filters?: boolean | undefined;
|
|
147
|
+
has_reads?: boolean | undefined;
|
|
148
|
+
has_searches?: boolean | undefined;
|
|
149
|
+
has_searches_or_writes?: boolean | undefined;
|
|
150
|
+
has_upfront_fields?: boolean | undefined;
|
|
151
|
+
has_writes?: boolean | undefined;
|
|
152
|
+
is_built_in?: boolean | undefined;
|
|
153
|
+
is_featured?: boolean | undefined;
|
|
154
|
+
is_invite?: boolean | undefined;
|
|
155
|
+
is_public?: boolean | undefined;
|
|
156
|
+
is_upcoming?: boolean | undefined;
|
|
157
|
+
visibility?: string | undefined;
|
|
158
|
+
primary_color?: string | undefined;
|
|
159
|
+
secondary_color?: string | undefined;
|
|
160
|
+
classification?: string | undefined;
|
|
161
|
+
api_docs_url?: string | undefined;
|
|
162
|
+
image?: string | undefined;
|
|
163
|
+
version?: string | undefined;
|
|
164
|
+
}>;
|
|
165
|
+
} & {
|
|
166
|
+
context: {
|
|
167
|
+
meta: {
|
|
168
|
+
listApps: import("kitcore").PluginMeta<unknown>;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
} & {
|
|
172
|
+
listActions: (options?: (({
|
|
173
|
+
app: string;
|
|
174
|
+
actionType?: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | undefined;
|
|
175
|
+
pageSize?: number | undefined;
|
|
176
|
+
maxItems?: number | undefined;
|
|
177
|
+
cursor?: string | undefined;
|
|
178
|
+
} | {
|
|
179
|
+
appKey: string;
|
|
180
|
+
actionType?: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | undefined;
|
|
181
|
+
pageSize?: number | undefined;
|
|
182
|
+
maxItems?: number | undefined;
|
|
183
|
+
cursor?: string | undefined;
|
|
184
|
+
}) & {
|
|
185
|
+
cursor?: string;
|
|
186
|
+
pageSize?: number;
|
|
187
|
+
maxItems?: number;
|
|
188
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
189
|
+
description: string;
|
|
190
|
+
key: string;
|
|
191
|
+
app_key: string;
|
|
192
|
+
action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
193
|
+
title: string;
|
|
194
|
+
type: "action";
|
|
195
|
+
id?: string | undefined;
|
|
196
|
+
is_important?: boolean | undefined;
|
|
197
|
+
is_hidden?: boolean | undefined;
|
|
198
|
+
app_version?: string | undefined;
|
|
199
|
+
}>;
|
|
200
|
+
} & {
|
|
201
|
+
context: {
|
|
202
|
+
meta: {
|
|
203
|
+
listActions: import("kitcore").PluginMeta<unknown>;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
} & {
|
|
207
|
+
listConnections: (options?: ({
|
|
208
|
+
title?: string | undefined;
|
|
209
|
+
search?: string | undefined;
|
|
210
|
+
owner?: string | undefined;
|
|
211
|
+
app?: string | undefined;
|
|
212
|
+
appKey?: string | undefined;
|
|
213
|
+
connections?: string[] | undefined;
|
|
214
|
+
connectionIds?: string[] | undefined;
|
|
215
|
+
authenticationIds?: string[] | undefined;
|
|
216
|
+
account?: string | undefined;
|
|
217
|
+
accountId?: string | undefined;
|
|
218
|
+
includeShared?: boolean | undefined;
|
|
219
|
+
isExpired?: boolean | undefined;
|
|
220
|
+
expired?: boolean | undefined;
|
|
221
|
+
pageSize?: number | undefined;
|
|
222
|
+
maxItems?: number | undefined;
|
|
223
|
+
cursor?: string | undefined;
|
|
224
|
+
} & {
|
|
225
|
+
cursor?: string;
|
|
226
|
+
pageSize?: number;
|
|
227
|
+
maxItems?: number;
|
|
228
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
229
|
+
date: string;
|
|
230
|
+
is_invite_only: boolean;
|
|
231
|
+
is_private: boolean;
|
|
232
|
+
shared_with_all: boolean;
|
|
233
|
+
id: string;
|
|
234
|
+
account_id: string;
|
|
235
|
+
title?: string | null | undefined;
|
|
236
|
+
lastchanged?: string | undefined;
|
|
237
|
+
destination_selected_api?: string | null | undefined;
|
|
238
|
+
is_stale?: string | undefined;
|
|
239
|
+
is_shared?: string | undefined;
|
|
240
|
+
marked_stale_at?: string | null | undefined;
|
|
241
|
+
label?: string | null | undefined;
|
|
242
|
+
identifier?: string | null | undefined;
|
|
243
|
+
url?: string | undefined;
|
|
244
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
245
|
+
members?: string | undefined;
|
|
246
|
+
permissions?: Record<string, boolean> | undefined;
|
|
247
|
+
public_id?: string | undefined;
|
|
248
|
+
account_public_id?: string | undefined;
|
|
249
|
+
customuser_public_id?: string | undefined;
|
|
250
|
+
implementation_id?: string | undefined;
|
|
251
|
+
profile_id?: string | undefined;
|
|
252
|
+
is_expired?: string | undefined;
|
|
253
|
+
expired_at?: string | null | undefined;
|
|
254
|
+
app_key?: string | undefined;
|
|
255
|
+
app_version?: string | undefined;
|
|
256
|
+
}>;
|
|
257
|
+
} & {
|
|
258
|
+
context: {
|
|
259
|
+
meta: {
|
|
260
|
+
listConnections: import("kitcore").PluginMeta<unknown>;
|
|
98
261
|
};
|
|
99
262
|
};
|
|
100
263
|
} & {
|
|
@@ -106,7 +269,7 @@ export declare const listActionInputFieldsPlugin: (sdk: {
|
|
|
106
269
|
context: import("../eventEmission").EventEmissionContext;
|
|
107
270
|
} & {
|
|
108
271
|
context: {
|
|
109
|
-
meta: Record<string, import("
|
|
272
|
+
meta: Record<string, import("kitcore").PluginMeta>;
|
|
110
273
|
};
|
|
111
274
|
}) => {
|
|
112
275
|
listActionInputFields: (options?: (({
|
|
@@ -135,7 +298,7 @@ export declare const listActionInputFieldsPlugin: (sdk: {
|
|
|
135
298
|
cursor?: string;
|
|
136
299
|
pageSize?: number;
|
|
137
300
|
maxItems?: number;
|
|
138
|
-
}) | undefined) => import("
|
|
301
|
+
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
139
302
|
key: string;
|
|
140
303
|
type: "input_field";
|
|
141
304
|
default_value: string;
|
|
@@ -159,7 +322,7 @@ export declare const listActionInputFieldsPlugin: (sdk: {
|
|
|
159
322
|
} & {
|
|
160
323
|
context: {
|
|
161
324
|
meta: {
|
|
162
|
-
listActionInputFields: import("
|
|
325
|
+
listActionInputFields: import("kitcore").PluginMeta<unknown>;
|
|
163
326
|
};
|
|
164
327
|
};
|
|
165
328
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listActionInputFields/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,KAAK,EAGV,YAAY,EAEb,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/listActionInputFields/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,KAAK,EAGV,YAAY,EAEb,MAAM,oBAAoB,CAAC;AAS5B,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAaxE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AA4JhE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAOvB;QACP,GAAG,EAAE,SAAS,CAAC;QACf,4BAA4B,EAAE,4BAA4B,CAAC;KAC5D,GAAG,yBAAyB,CAAC,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6E/C,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAC1D,OAAO,2BAA2B,CACnC,CAAC"}
|