runline 0.35.0 → 0.36.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/dist/auth/errors.d.ts +3 -3
- package/dist/auth/errors.js +3 -3
- package/dist/credentials/aws-plugin.d.ts +79 -0
- package/dist/credentials/aws-plugin.js +179 -0
- package/dist/credentials/aws.d.ts +41 -0
- package/dist/credentials/aws.js +213 -0
- package/dist/credentials/broker.d.ts +11 -0
- package/dist/{plugins/_shared/credentialAdapter.js → credentials/broker.js} +91 -41
- package/dist/credentials/plugin.d.ts +255 -0
- package/dist/{plugins/_shared/credentials.js → credentials/plugin.js} +11 -10
- package/dist/credentials/policy.d.ts +11 -3
- package/dist/credentials/policy.js +22 -3
- package/dist/credentials/registry.d.ts +14 -0
- package/dist/credentials/registry.js +55 -2
- package/dist/credentials/sigv4.d.ts +47 -0
- package/dist/credentials/sigv4.js +145 -0
- package/dist/credentials/transport.d.ts +9 -0
- package/dist/credentials/transport.js +106 -26
- package/dist/credentials/types.d.ts +63 -4
- package/dist/index.d.ts +8 -2
- package/dist/index.js +5 -1
- package/dist/plugins/_shared/googleAuth.js +3 -5
- package/dist/plugins/_shared/googleCredentials.js +1 -2
- package/dist/plugins/_shared/mediaFile.js +4 -1
- package/dist/plugins/_shared/microsoftAuth.js +3 -5
- package/dist/plugins/_shared/microsoftCredentials.js +1 -2
- package/dist/plugins/_shared/shiftCloud.js +1 -2
- package/dist/plugins/_shared/shiftCredentials.js +1 -2
- package/dist/plugins/actionNetwork/src/credentials.js +1 -1
- package/dist/plugins/actionNetwork/src/index.js +1 -1
- package/dist/plugins/activeCampaign/src/credentials.js +1 -1
- package/dist/plugins/activeCampaign/src/index.js +1 -1
- package/dist/plugins/adalo/src/credentials.js +1 -1
- package/dist/plugins/adalo/src/index.js +1 -1
- package/dist/plugins/affinity/src/credentials.js +1 -1
- package/dist/plugins/affinity/src/index.js +1 -1
- package/dist/plugins/agentMail/src/credentials.js +1 -1
- package/dist/plugins/agentMail/src/shared.js +1 -2
- package/dist/plugins/agileCrm/src/credentials.js +1 -1
- package/dist/plugins/agileCrm/src/index.js +1 -1
- package/dist/plugins/airtable/src/credentials.js +1 -1
- package/dist/plugins/airtable/src/index.js +1 -1
- package/dist/plugins/airtop/src/credentials.js +1 -1
- package/dist/plugins/airtop/src/index.js +1 -1
- package/dist/plugins/apiTemplateIo/src/credentials.js +1 -1
- package/dist/plugins/apiTemplateIo/src/index.js +1 -1
- package/dist/plugins/asana/src/credentials.js +1 -1
- package/dist/plugins/asana/src/index.js +1 -1
- package/dist/plugins/autopilot/src/credentials.js +1 -1
- package/dist/plugins/autopilot/src/index.js +1 -1
- package/dist/plugins/bambooHr/src/credentials.js +1 -1
- package/dist/plugins/bambooHr/src/index.js +1 -1
- package/dist/plugins/bannerbear/src/credentials.js +1 -1
- package/dist/plugins/bannerbear/src/index.js +1 -1
- package/dist/plugins/baserow/src/credentials.js +1 -1
- package/dist/plugins/baserow/src/index.js +1 -1
- package/dist/plugins/beeminder/src/credentials.js +1 -1
- package/dist/plugins/beeminder/src/index.js +1 -1
- package/dist/plugins/bitly/src/credentials.js +1 -1
- package/dist/plugins/bitly/src/index.js +1 -1
- package/dist/plugins/bitwarden/src/credentials.js +1 -1
- package/dist/plugins/bitwarden/src/index.js +1 -1
- package/dist/plugins/box/src/credentials.js +1 -1
- package/dist/plugins/box/src/index.js +1 -1
- package/dist/plugins/brandfetch/src/credentials.js +1 -1
- package/dist/plugins/brandfetch/src/index.js +1 -1
- package/dist/plugins/brevo/src/credentials.js +1 -1
- package/dist/plugins/brevo/src/index.js +1 -1
- package/dist/plugins/bubble/src/credentials.js +1 -1
- package/dist/plugins/bubble/src/index.js +1 -1
- package/dist/plugins/chargebee/src/credentials.js +1 -1
- package/dist/plugins/chargebee/src/index.js +1 -1
- package/dist/plugins/circleci/src/credentials.js +1 -1
- package/dist/plugins/circleci/src/index.js +1 -1
- package/dist/plugins/ciscoWebex/src/credentials.js +1 -1
- package/dist/plugins/ciscoWebex/src/index.js +1 -1
- package/dist/plugins/clearbit/src/credentials.js +1 -1
- package/dist/plugins/clearbit/src/index.js +1 -1
- package/dist/plugins/clickup/src/credentials.js +1 -1
- package/dist/plugins/clickup/src/index.js +1 -1
- package/dist/plugins/clockify/src/credentials.js +1 -1
- package/dist/plugins/clockify/src/index.js +1 -1
- package/dist/plugins/cloudflare/src/credentials.js +1 -1
- package/dist/plugins/cloudflare/src/index.js +1 -1
- package/dist/plugins/cockpit/src/credentials.js +1 -1
- package/dist/plugins/cockpit/src/index.js +1 -1
- package/dist/plugins/coda/src/credentials.js +1 -1
- package/dist/plugins/coda/src/index.js +1 -1
- package/dist/plugins/coingecko/src/credentials.js +1 -1
- package/dist/plugins/coingecko/src/index.js +1 -1
- package/dist/plugins/contentful/src/credentials.js +1 -1
- package/dist/plugins/contentful/src/index.js +1 -1
- package/dist/plugins/convertkit/src/credentials.js +1 -1
- package/dist/plugins/convertkit/src/index.js +1 -1
- package/dist/plugins/copper/src/credentials.js +1 -1
- package/dist/plugins/copper/src/index.js +1 -1
- package/dist/plugins/cortex/src/credentials.js +1 -1
- package/dist/plugins/cortex/src/index.js +1 -1
- package/dist/plugins/currents/src/credentials.js +1 -1
- package/dist/plugins/currents/src/index.js +1 -1
- package/dist/plugins/customerIo/src/credentials.js +1 -1
- package/dist/plugins/customerIo/src/index.js +1 -1
- package/dist/plugins/databricks/src/credentials.js +1 -1
- package/dist/plugins/databricks/src/index.js +1 -1
- package/dist/plugins/deepl/src/credentials.js +1 -1
- package/dist/plugins/deepl/src/index.js +1 -1
- package/dist/plugins/demio/src/credentials.js +1 -1
- package/dist/plugins/demio/src/index.js +1 -1
- package/dist/plugins/dhl/src/credentials.js +1 -1
- package/dist/plugins/dhl/src/index.js +1 -1
- package/dist/plugins/discord/src/credentials.js +1 -1
- package/dist/plugins/discord/src/index.js +1 -1
- package/dist/plugins/discourse/src/credentials.js +1 -1
- package/dist/plugins/discourse/src/index.js +1 -1
- package/dist/plugins/disqus/src/credentials.js +1 -1
- package/dist/plugins/disqus/src/index.js +1 -1
- package/dist/plugins/drift/src/credentials.js +1 -1
- package/dist/plugins/drift/src/index.js +1 -1
- package/dist/plugins/dropbox/src/credentials.js +1 -1
- package/dist/plugins/dropbox/src/index.js +1 -1
- package/dist/plugins/dropcontact/src/credentials.js +1 -1
- package/dist/plugins/dropcontact/src/index.js +1 -1
- package/dist/plugins/egoi/src/credentials.js +1 -1
- package/dist/plugins/egoi/src/index.js +1 -1
- package/dist/plugins/elasticsearch/src/credentials.js +1 -1
- package/dist/plugins/elasticsearch/src/index.js +1 -1
- package/dist/plugins/elevenlabs/src/credentials.js +1 -1
- package/dist/plugins/elevenlabs/src/shared.js +2 -4
- package/dist/plugins/elevenlabs/src/workflows.js +1 -1
- package/dist/plugins/emelia/src/credentials.js +1 -1
- package/dist/plugins/emelia/src/index.js +1 -1
- package/dist/plugins/erpnext/src/credentials.js +1 -1
- package/dist/plugins/erpnext/src/index.js +1 -1
- package/dist/plugins/facebookGraph/src/credentials.js +1 -1
- package/dist/plugins/facebookGraph/src/index.js +1 -2
- package/dist/plugins/fal/src/credentials.js +1 -1
- package/dist/plugins/fal/src/shared.js +1 -1
- package/dist/plugins/freshdesk/src/credentials.js +1 -1
- package/dist/plugins/freshdesk/src/index.js +1 -1
- package/dist/plugins/freshservice/src/credentials.js +1 -1
- package/dist/plugins/freshservice/src/index.js +1 -1
- package/dist/plugins/freshworksCrm/src/credentials.js +1 -1
- package/dist/plugins/freshworksCrm/src/index.js +1 -1
- package/dist/plugins/getresponse/src/credentials.js +1 -1
- package/dist/plugins/getresponse/src/index.js +1 -1
- package/dist/plugins/gett/src/credentials.js +1 -2
- package/dist/plugins/gett/src/index.js +1 -1
- package/dist/plugins/gett/src/login.js +1 -1
- package/dist/plugins/gett/src/session.js +1 -1
- package/dist/plugins/gett/src/shared.js +1 -2
- package/dist/plugins/ghost/src/credentials.js +1 -1
- package/dist/plugins/ghost/src/index.js +1 -1
- package/dist/plugins/github/src/credentials.js +1 -1
- package/dist/plugins/github/src/index.js +1 -1
- package/dist/plugins/gitlab/src/credentials.js +1 -1
- package/dist/plugins/gitlab/src/index.js +1 -1
- package/dist/plugins/gmail/src/index.js +1 -1
- package/dist/plugins/gong/src/credentials.js +1 -1
- package/dist/plugins/gong/src/index.js +1 -1
- package/dist/plugins/googleAppsScript/src/index.js +12 -1
- package/dist/plugins/googleCalendar/src/index.js +1 -1
- package/dist/plugins/googleContacts/src/index.js +1 -1
- package/dist/plugins/googleDocs/src/shared.js +1 -1
- package/dist/plugins/googleDrive/src/index.js +1 -1
- package/dist/plugins/googleImage/src/credentials.js +1 -1
- package/dist/plugins/googleImage/src/index.js +1 -1
- package/dist/plugins/googleSheets/src/index.js +1 -1
- package/dist/plugins/googleSlides/src/index.js +1 -1
- package/dist/plugins/googleTasks/src/index.js +1 -1
- package/dist/plugins/gotify/src/credentials.js +1 -1
- package/dist/plugins/gotify/src/index.js +1 -1
- package/dist/plugins/gotowebinar/src/credentials.js +1 -1
- package/dist/plugins/gotowebinar/src/index.js +1 -1
- package/dist/plugins/grafana/src/credentials.js +1 -1
- package/dist/plugins/grafana/src/index.js +1 -1
- package/dist/plugins/graphql/src/credentials.js +1 -1
- package/dist/plugins/graphql/src/index.js +1 -1
- package/dist/plugins/grist/src/credentials.js +1 -1
- package/dist/plugins/grist/src/index.js +1 -1
- package/dist/plugins/halopsa/src/credentials.js +1 -2
- package/dist/plugins/halopsa/src/index.js +1 -1
- package/dist/plugins/harvest/src/credentials.js +1 -1
- package/dist/plugins/harvest/src/index.js +1 -1
- package/dist/plugins/helpscout/src/credentials.js +1 -1
- package/dist/plugins/helpscout/src/index.js +1 -1
- package/dist/plugins/highlevel/src/credentials.js +1 -1
- package/dist/plugins/highlevel/src/index.js +1 -1
- package/dist/plugins/homeAssistant/src/credentials.js +1 -1
- package/dist/plugins/homeAssistant/src/index.js +1 -1
- package/dist/plugins/hubspot/src/credentials.js +1 -1
- package/dist/plugins/hubspot/src/index.js +1 -1
- package/dist/plugins/humanticAi/src/credentials.js +1 -1
- package/dist/plugins/humanticAi/src/index.js +1 -1
- package/dist/plugins/hunter/src/credentials.js +1 -1
- package/dist/plugins/hunter/src/index.js +1 -1
- package/dist/plugins/intercom/src/credentials.js +1 -1
- package/dist/plugins/intercom/src/index.js +1 -1
- package/dist/plugins/iterable/src/credentials.js +1 -1
- package/dist/plugins/iterable/src/index.js +1 -1
- package/dist/plugins/jenkins/src/credentials.js +1 -1
- package/dist/plugins/jenkins/src/index.js +1 -1
- package/dist/plugins/jira/src/credentials.js +1 -1
- package/dist/plugins/jira/src/index.js +1 -1
- package/dist/plugins/keap/src/credentials.js +1 -1
- package/dist/plugins/keap/src/index.js +1 -1
- package/dist/plugins/kobotoolbox/src/credentials.js +1 -1
- package/dist/plugins/kobotoolbox/src/index.js +1 -1
- package/dist/plugins/lemlist/src/credentials.js +1 -1
- package/dist/plugins/lemlist/src/index.js +1 -1
- package/dist/plugins/linear/src/credentials.js +1 -1
- package/dist/plugins/linear/src/shared.js +1 -1
- package/dist/plugins/lingvanex/src/credentials.js +1 -1
- package/dist/plugins/lingvanex/src/index.js +1 -1
- package/dist/plugins/linkedin/src/credentials.js +1 -1
- package/dist/plugins/linkedin/src/index.js +1 -1
- package/dist/plugins/lonescale/src/credentials.js +1 -1
- package/dist/plugins/lonescale/src/index.js +1 -1
- package/dist/plugins/magento/src/credentials.js +1 -1
- package/dist/plugins/magento/src/index.js +1 -1
- package/dist/plugins/mailcheck/src/credentials.js +1 -1
- package/dist/plugins/mailcheck/src/index.js +1 -1
- package/dist/plugins/mailchimp/src/credentials.js +1 -1
- package/dist/plugins/mailchimp/src/index.js +1 -1
- package/dist/plugins/mailerlite/src/credentials.js +1 -1
- package/dist/plugins/mailerlite/src/index.js +1 -1
- package/dist/plugins/mailgun/src/credentials.js +1 -1
- package/dist/plugins/mailgun/src/index.js +1 -1
- package/dist/plugins/mailjet/src/credentials.js +1 -1
- package/dist/plugins/mailjet/src/index.js +1 -1
- package/dist/plugins/mandrill/src/credentials.js +1 -1
- package/dist/plugins/mandrill/src/index.js +1 -1
- package/dist/plugins/marketstack/src/credentials.js +1 -1
- package/dist/plugins/marketstack/src/index.js +1 -1
- package/dist/plugins/matrix/src/credentials.js +1 -1
- package/dist/plugins/matrix/src/index.js +1 -1
- package/dist/plugins/mattermost/src/credentials.js +1 -1
- package/dist/plugins/mattermost/src/index.js +1 -1
- package/dist/plugins/mautic/src/credentials.js +1 -1
- package/dist/plugins/mautic/src/index.js +1 -1
- package/dist/plugins/medium/src/credentials.js +1 -1
- package/dist/plugins/medium/src/index.js +1 -1
- package/dist/plugins/messagebird/src/credentials.js +1 -1
- package/dist/plugins/messagebird/src/index.js +1 -1
- package/dist/plugins/metabase/src/credentials.js +1 -1
- package/dist/plugins/metabase/src/index.js +1 -1
- package/dist/plugins/microsoftFiles/src/index.js +10 -1
- package/dist/plugins/misp/src/credentials.js +1 -1
- package/dist/plugins/misp/src/index.js +1 -1
- package/dist/plugins/mocean/src/credentials.js +1 -1
- package/dist/plugins/mocean/src/index.js +1 -1
- package/dist/plugins/monday/src/credentials.js +1 -1
- package/dist/plugins/monday/src/index.js +1 -1
- package/dist/plugins/monicaCrm/src/credentials.js +1 -1
- package/dist/plugins/monicaCrm/src/index.js +1 -1
- package/dist/plugins/msg91/src/credentials.js +1 -1
- package/dist/plugins/msg91/src/index.js +1 -1
- package/dist/plugins/nasa/src/credentials.js +1 -1
- package/dist/plugins/nasa/src/index.js +1 -1
- package/dist/plugins/netlify/src/credentials.js +1 -1
- package/dist/plugins/netlify/src/index.js +1 -1
- package/dist/plugins/netscalerAdc/src/credentials.js +1 -1
- package/dist/plugins/netscalerAdc/src/index.js +1 -1
- package/dist/plugins/nextcloud/src/credentials.js +1 -2
- package/dist/plugins/nextcloud/src/index.js +1 -1
- package/dist/plugins/nocodb/src/credentials.js +1 -1
- package/dist/plugins/nocodb/src/index.js +1 -1
- package/dist/plugins/notion/src/credentials.js +1 -1
- package/dist/plugins/notion/src/index.js +1 -1
- package/dist/plugins/npm/src/credentials.js +1 -1
- package/dist/plugins/npm/src/index.js +1 -1
- package/dist/plugins/odoo/src/credentials.js +1 -1
- package/dist/plugins/odoo/src/index.js +1 -2
- package/dist/plugins/okta/src/credentials.js +1 -1
- package/dist/plugins/okta/src/index.js +1 -2
- package/dist/plugins/oneSimpleApi/src/credentials.js +1 -1
- package/dist/plugins/oneSimpleApi/src/index.js +1 -1
- package/dist/plugins/onfleet/src/credentials.js +1 -1
- package/dist/plugins/onfleet/src/index.js +1 -1
- package/dist/plugins/openai/src/credentials.js +1 -1
- package/dist/plugins/openai/src/index.js +1 -1
- package/dist/plugins/openweathermap/src/credentials.js +1 -1
- package/dist/plugins/openweathermap/src/index.js +1 -1
- package/dist/plugins/oura/src/credentials.js +1 -1
- package/dist/plugins/oura/src/index.js +1 -1
- package/dist/plugins/paddle/src/credentials.js +1 -1
- package/dist/plugins/paddle/src/index.js +1 -1
- package/dist/plugins/pagerduty/src/credentials.js +1 -1
- package/dist/plugins/pagerduty/src/index.js +1 -1
- package/dist/plugins/parallel/src/credentials.js +1 -1
- package/dist/plugins/parallel/src/index.js +15 -1
- package/dist/plugins/paypal/src/credentials.js +1 -1
- package/dist/plugins/paypal/src/index.js +1 -1
- package/dist/plugins/peekalink/src/credentials.js +1 -1
- package/dist/plugins/peekalink/src/index.js +1 -1
- package/dist/plugins/phantombuster/src/credentials.js +1 -1
- package/dist/plugins/phantombuster/src/index.js +1 -1
- package/dist/plugins/philipsHue/src/credentials.js +1 -1
- package/dist/plugins/philipsHue/src/index.js +1 -1
- package/dist/plugins/pipedrive/src/credentials.js +1 -1
- package/dist/plugins/pipedrive/src/index.js +1 -1
- package/dist/plugins/plaud/src/shared.js +1 -2
- package/dist/plugins/plivo/src/credentials.js +1 -1
- package/dist/plugins/plivo/src/index.js +1 -1
- package/dist/plugins/posthog/src/credentials.js +1 -1
- package/dist/plugins/posthog/src/index.js +1 -1
- package/dist/plugins/profitwell/src/credentials.js +1 -1
- package/dist/plugins/profitwell/src/index.js +1 -1
- package/dist/plugins/pushbullet/src/credentials.js +1 -1
- package/dist/plugins/pushbullet/src/index.js +1 -1
- package/dist/plugins/pushcut/src/credentials.js +1 -1
- package/dist/plugins/pushcut/src/index.js +1 -1
- package/dist/plugins/pushover/src/credentials.js +1 -1
- package/dist/plugins/pushover/src/index.js +1 -1
- package/dist/plugins/quickbase/src/credentials.js +1 -1
- package/dist/plugins/quickbase/src/index.js +1 -1
- package/dist/plugins/quickbooks/src/credentials.js +1 -1
- package/dist/plugins/quickbooks/src/index.js +1 -1
- package/dist/plugins/raindrop/src/credentials.js +1 -1
- package/dist/plugins/raindrop/src/index.js +1 -1
- package/dist/plugins/recraft/src/credentials.js +1 -1
- package/dist/plugins/recraft/src/index.js +1 -1
- package/dist/plugins/reddit/src/credentials.js +1 -1
- package/dist/plugins/reddit/src/index.js +1 -1
- package/dist/plugins/replicate/src/credentials.js +1 -1
- package/dist/plugins/replicate/src/index.js +1 -1
- package/dist/plugins/rocketchat/src/credentials.js +1 -1
- package/dist/plugins/rocketchat/src/index.js +1 -1
- package/dist/plugins/rundeck/src/credentials.js +1 -1
- package/dist/plugins/rundeck/src/index.js +1 -1
- package/dist/plugins/salesforce/src/credentials.js +1 -2
- package/dist/plugins/salesforce/src/shared.js +1 -2
- package/dist/plugins/salesforce/src/sobjects.js +1 -1
- package/dist/plugins/salesmate/src/credentials.js +1 -1
- package/dist/plugins/salesmate/src/index.js +1 -1
- package/dist/plugins/securityScorecard/src/credentials.js +1 -1
- package/dist/plugins/securityScorecard/src/index.js +1 -1
- package/dist/plugins/segment/src/credentials.js +1 -1
- package/dist/plugins/segment/src/index.js +1 -1
- package/dist/plugins/sendgrid/src/credentials.js +1 -1
- package/dist/plugins/sendgrid/src/index.js +1 -2
- package/dist/plugins/sendy/src/credentials.js +1 -1
- package/dist/plugins/sendy/src/index.js +1 -1
- package/dist/plugins/sentry/src/credentials.js +1 -1
- package/dist/plugins/sentry/src/index.js +1 -1
- package/dist/plugins/servicenow/src/credentials.js +1 -1
- package/dist/plugins/servicenow/src/index.js +1 -1
- package/dist/plugins/shiftAtlas/src/graph.js +2 -1
- package/dist/plugins/shiftAtlas/src/shared.js +1 -1
- package/dist/plugins/shiftBwm/src/shared.js +2 -4
- package/dist/plugins/shiftCrm/src/access.js +2 -1
- package/dist/plugins/shiftCrm/src/accounts.js +2 -1
- package/dist/plugins/shiftCrm/src/imports.js +2 -1
- package/dist/plugins/shiftCrm/src/opportunities.js +2 -1
- package/dist/plugins/shiftCrm/src/people.js +2 -1
- package/dist/plugins/shiftCrm/src/records.js +2 -1
- package/dist/plugins/shiftCrm/src/shared.js +1 -1
- package/dist/plugins/shiftCrm/src/tasks.js +2 -1
- package/dist/plugins/shiftObjects/src/objects.js +2 -1
- package/dist/plugins/shiftOcr/src/index.js +2 -1
- package/dist/plugins/shiftPages/src/pages.js +2 -1
- package/dist/plugins/shiftPages/src/shared.js +3 -2
- package/dist/plugins/shiftTranscription/src/shared.js +1 -1
- package/dist/plugins/shiftTranscription/src/transcription.js +2 -1
- package/dist/plugins/shiftWork/src/issue-views.js +2 -1
- package/dist/plugins/shiftWork/src/issues.js +2 -1
- package/dist/plugins/shiftWork/src/projects.js +2 -1
- package/dist/plugins/shiftWork/src/shared.js +1 -1
- package/dist/plugins/shopify/src/credentials.js +1 -1
- package/dist/plugins/shopify/src/index.js +1 -1
- package/dist/plugins/signl4/src/credentials.js +1 -1
- package/dist/plugins/signl4/src/index.js +1 -1
- package/dist/plugins/slack/src/credentials.js +1 -1
- package/dist/plugins/slack/src/index.js +1 -1
- package/dist/plugins/sms77/src/credentials.js +1 -1
- package/dist/plugins/sms77/src/index.js +1 -1
- package/dist/plugins/splunk/src/credentials.js +1 -1
- package/dist/plugins/splunk/src/index.js +1 -1
- package/dist/plugins/spotify/src/credentials.js +1 -1
- package/dist/plugins/spotify/src/index.js +1 -1
- package/dist/plugins/stackby/src/credentials.js +1 -1
- package/dist/plugins/stackby/src/index.js +1 -1
- package/dist/plugins/steel/src/auth.js +1 -1
- package/dist/plugins/steel/src/browser.js +1 -1
- package/dist/plugins/steel/src/captchas.js +1 -1
- package/dist/plugins/steel/src/extensions.js +1 -1
- package/dist/plugins/steel/src/files.js +1 -1
- package/dist/plugins/steel/src/profiles.js +1 -1
- package/dist/plugins/steel/src/sessions.js +1 -1
- package/dist/plugins/steel/src/shared.js +1 -1
- package/dist/plugins/storyblok/src/credentials.js +1 -1
- package/dist/plugins/storyblok/src/index.js +1 -1
- package/dist/plugins/strapi/src/credentials.js +1 -1
- package/dist/plugins/strapi/src/index.js +1 -1
- package/dist/plugins/strava/src/credentials.js +1 -1
- package/dist/plugins/strava/src/index.js +1 -1
- package/dist/plugins/stripe/src/credentials.js +1 -1
- package/dist/plugins/stripe/src/index.js +1 -1
- package/dist/plugins/supabase/src/credentials.js +1 -1
- package/dist/plugins/supabase/src/index.js +1 -1
- package/dist/plugins/syncromsp/src/credentials.js +1 -1
- package/dist/plugins/syncromsp/src/index.js +1 -1
- package/dist/plugins/tapfiliate/src/credentials.js +1 -1
- package/dist/plugins/tapfiliate/src/index.js +1 -1
- package/dist/plugins/telegram/src/credentials.js +1 -1
- package/dist/plugins/telegram/src/index.js +1 -1
- package/dist/plugins/thehive/src/credentials.js +1 -1
- package/dist/plugins/thehive/src/index.js +1 -1
- package/dist/plugins/thehiveProject/src/credentials.js +1 -1
- package/dist/plugins/thehiveProject/src/index.js +1 -1
- package/dist/plugins/todoist/src/credentials.js +1 -1
- package/dist/plugins/todoist/src/index.js +1 -1
- package/dist/plugins/together/src/credentials.js +1 -1
- package/dist/plugins/together/src/index.js +1 -1
- package/dist/plugins/travisci/src/credentials.js +1 -1
- package/dist/plugins/travisci/src/index.js +1 -1
- package/dist/plugins/trello/src/credentials.js +1 -1
- package/dist/plugins/trello/src/index.js +1 -1
- package/dist/plugins/twake/src/credentials.js +1 -1
- package/dist/plugins/twake/src/index.js +1 -1
- package/dist/plugins/twilio/src/credentials.js +1 -1
- package/dist/plugins/twilio/src/index.js +1 -1
- package/dist/plugins/twist/src/credentials.js +1 -1
- package/dist/plugins/twist/src/index.js +1 -1
- package/dist/plugins/twitter/src/credentials.js +1 -1
- package/dist/plugins/twitter/src/index.js +1 -1
- package/dist/plugins/typesafe/src/credentials.js +1 -1
- package/dist/plugins/typesafe/src/shared.js +1 -1
- package/dist/plugins/unleashedSoftware/src/credentials.js +1 -1
- package/dist/plugins/unleashedSoftware/src/index.js +1 -1
- package/dist/plugins/uplead/src/credentials.js +1 -1
- package/dist/plugins/uplead/src/index.js +1 -1
- package/dist/plugins/uproc/src/credentials.js +1 -1
- package/dist/plugins/uproc/src/index.js +1 -1
- package/dist/plugins/uptimerobot/src/credentials.js +1 -1
- package/dist/plugins/uptimerobot/src/index.js +1 -1
- package/dist/plugins/urlscanio/src/credentials.js +1 -1
- package/dist/plugins/urlscanio/src/index.js +1 -1
- package/dist/plugins/vercel/src/credentials.js +1 -1
- package/dist/plugins/vercel/src/deployments.js +1 -1
- package/dist/plugins/vercel/src/env.js +1 -1
- package/dist/plugins/vercel/src/projects.js +1 -1
- package/dist/plugins/vercel/src/shared.js +1 -2
- package/dist/plugins/vero/src/credentials.js +1 -1
- package/dist/plugins/vero/src/index.js +1 -1
- package/dist/plugins/vonage/src/credentials.js +1 -1
- package/dist/plugins/vonage/src/index.js +1 -1
- package/dist/plugins/wekan/src/credentials.js +1 -1
- package/dist/plugins/wekan/src/index.js +1 -1
- package/dist/plugins/wolt/src/account.js +1 -1
- package/dist/plugins/wolt/src/credentials.js +1 -1
- package/dist/plugins/wolt/src/index.js +1 -1
- package/dist/plugins/wolt/src/shared.js +1 -2
- package/dist/plugins/woocommerce/src/credentials.js +1 -1
- package/dist/plugins/woocommerce/src/index.js +1 -1
- package/dist/plugins/wordpress/src/credentials.js +1 -1
- package/dist/plugins/wordpress/src/index.js +1 -1
- package/dist/plugins/xai/src/credentials.js +1 -1
- package/dist/plugins/xai/src/index.js +1 -1
- package/dist/plugins/xero/src/credentials.js +1 -1
- package/dist/plugins/xero/src/index.js +1 -1
- package/dist/plugins/yourls/src/credentials.js +1 -1
- package/dist/plugins/yourls/src/index.js +1 -1
- package/dist/plugins/zammad/src/credentials.js +1 -1
- package/dist/plugins/zammad/src/index.js +1 -1
- package/dist/plugins/zendesk/src/credentials.js +1 -1
- package/dist/plugins/zendesk/src/index.js +1 -1
- package/dist/plugins/zoho/src/credentials.js +1 -1
- package/dist/plugins/zoho/src/index.js +1 -1
- package/dist/plugins/zoom/src/credentials.js +1 -1
- package/dist/plugins/zoom/src/index.js +1 -1
- package/dist/plugins/zulip/src/credentials.js +1 -1
- package/dist/plugins/zulip/src/index.js +1 -1
- package/package.json +3 -2
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { AuthError, downloadResource, } from "runline";
|
|
2
|
-
import { credentialBroker } from "./credentialAdapter.js";
|
|
3
|
-
import { jsonAnswer, requestFailed } from "./credentials.js";
|
|
1
|
+
import { AuthError, brokerFor, downloadResource, jsonAnswer, requestFailed, } from "runline";
|
|
4
2
|
import { GOOGLE_GRANT, GOOGLE_TOKEN_URL, googleCredential, googleResources, googleServices, } from "./googleCredentials.js";
|
|
5
3
|
export { googleCredential } from "./googleCredentials.js";
|
|
6
4
|
/**
|
|
@@ -84,7 +82,7 @@ export async function googleResponse(ctx, plugin, scopes, url, init = {}, query)
|
|
|
84
82
|
}
|
|
85
83
|
path = `${separator < 0 ? path : path.slice(0, separator)}?${params}`;
|
|
86
84
|
}
|
|
87
|
-
return
|
|
85
|
+
return brokerFor(ctx, googleCredential(plugin, scopes)).request({
|
|
88
86
|
target,
|
|
89
87
|
path,
|
|
90
88
|
method: (init.method ?? "GET"),
|
|
@@ -107,7 +105,7 @@ export async function googleJsonRequest(ctx, plugin, scopes, method, url, body,
|
|
|
107
105
|
return jsonAnswer(response);
|
|
108
106
|
}
|
|
109
107
|
export async function googleProbe(ctx, plugin, scopes) {
|
|
110
|
-
return
|
|
108
|
+
return brokerFor(ctx, googleCredential(plugin, scopes)).probe();
|
|
111
109
|
}
|
|
112
110
|
/** Only Google-issued thumbnail hosts; never attach credentials to signed URLs. */
|
|
113
111
|
export async function googleDownload(value) {
|
|
@@ -57,7 +57,10 @@ export function writeMediaFile(opts) {
|
|
|
57
57
|
*/
|
|
58
58
|
export function writeImageFile(opts) {
|
|
59
59
|
const { base64, ...rest } = opts;
|
|
60
|
-
return writeMediaFile({
|
|
60
|
+
return writeMediaFile({
|
|
61
|
+
...rest,
|
|
62
|
+
bytes: Buffer.from(base64 ?? "", "base64"),
|
|
63
|
+
});
|
|
61
64
|
}
|
|
62
65
|
export const SEND_FILE_NOTE = "File(s) written to disk. Deliver each to the user with send_file using its `path`.";
|
|
63
66
|
const EXT_MIME = {
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { AuthError, downloadResource, } from "runline";
|
|
2
|
-
import { credentialBroker } from "./credentialAdapter.js";
|
|
3
|
-
import { jsonAnswer, requestFailed } from "./credentials.js";
|
|
1
|
+
import { AuthError, brokerFor, downloadResource, jsonAnswer, requestFailed, } from "runline";
|
|
4
2
|
import { MICROSOFT_GRANT, microsoftCredential, microsoftEndpoint, microsoftUserBase, } from "./microsoftCredentials.js";
|
|
5
3
|
export { microsoftCredential, microsoftDriveBase, } from "./microsoftCredentials.js";
|
|
6
4
|
export function userBase(ctx) {
|
|
7
5
|
return microsoftUserBase(ctx.connection.config);
|
|
8
6
|
}
|
|
9
7
|
export async function microsoftProbe(ctx, plugin, scopes) {
|
|
10
|
-
return
|
|
8
|
+
return brokerFor(ctx, microsoftCredential(plugin, scopes)).probe();
|
|
11
9
|
}
|
|
12
10
|
export async function graphResponse(ctx, plugin, scopes, method, path, body, contentType) {
|
|
13
11
|
if (!path.startsWith("/") || path.startsWith("//"))
|
|
14
12
|
throw new AuthError("request_not_allowed");
|
|
15
|
-
return
|
|
13
|
+
return brokerFor(ctx, microsoftCredential(plugin, scopes)).request({
|
|
16
14
|
target: "graph",
|
|
17
15
|
path: path.slice(1),
|
|
18
16
|
method: method,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { AuthError, } from "runline";
|
|
2
|
-
import { grantSchema, pathSegment } from "./credentials.js";
|
|
1
|
+
import { AuthError, grantSchema, pathSegment, } from "runline";
|
|
3
2
|
/** The grant every Microsoft Graph plugin's delegated consent belongs to. */
|
|
4
3
|
export const MICROSOFT_GRANT = "microsoft";
|
|
5
4
|
/** A tenant's OAuth endpoint on the Microsoft identity platform. */
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
+
import { errorIdentifier, responseFailed } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { errorIdentifier, responseFailed } from "./credentials.js";
|
|
3
|
-
export { pathSegment } from "./credentials.js";
|
|
4
3
|
export const STRICT_OBJECT = { additionalProperties: false };
|
|
5
4
|
export const STRICT_UPDATE_OBJECT = {
|
|
6
5
|
additionalProperties: false,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { AuthError, } from "runline";
|
|
2
|
-
import { credentialRequest, staticCredential } from "./credentials.js";
|
|
1
|
+
import { AuthError, credentialRequest, staticCredential, } from "runline";
|
|
3
2
|
import { SHIFT_API_URL, shiftError } from "./shiftCloud.js";
|
|
4
3
|
/**
|
|
5
4
|
* The Shift family (shiftAtlas, shiftBwm, shiftCrm, shiftObjects,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { staticCredential } from "
|
|
1
|
+
import { staticCredential } from "runline";
|
|
2
2
|
/** An OSDI API token, sent as the OSDI-API-Token header to Action Network's
|
|
3
3
|
* one API origin. */
|
|
4
4
|
export const actionNetworkCredential = staticCredential({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { actionNetworkCredential } from "./credentials.js";
|
|
3
3
|
/** Public API base, used only for the resource links Action Network expects in bodies. */
|
|
4
4
|
const BASE_URL = "https://actionnetwork.org/api/v2";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { activeCampaignCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, activeCampaignCredential, "activeCampaign", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { adaloCredential } from "./credentials.js";
|
|
3
3
|
/** A path beneath the connection's app, signed through the credential. */
|
|
4
4
|
function apiRequest(ctx, method, path, body, query) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { staticCredential } from "
|
|
1
|
+
import { staticCredential } from "runline";
|
|
2
2
|
/** An API key as the Basic password, with an empty username, to Affinity's one origin. */
|
|
3
3
|
export const affinityCredential = staticCredential({
|
|
4
4
|
id: "affinity",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { affinityCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, affinityCredential, "affinity", {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { basename } from "node:path";
|
|
2
|
-
import { AuthError } from "runline";
|
|
2
|
+
import { AuthError, credentialRequest, jsonAnswer, pathSegment, responseFailed, } from "runline";
|
|
3
3
|
import * as t from "typebox";
|
|
4
4
|
import { Check } from "typebox/value";
|
|
5
5
|
import { standardBase64 } from "../../_shared/base64.js";
|
|
6
|
-
import { credentialRequest, jsonAnswer, pathSegment, responseFailed, } from "../../_shared/credentials.js";
|
|
7
6
|
import { readLocalFile } from "../../_shared/localFile.js";
|
|
8
7
|
import { obj } from "../../_shared/provider.js";
|
|
9
8
|
import { agentMailCredential } from "./credentials.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { agileCrmCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, query) {
|
|
4
4
|
return credentialJson(ctx, agileCrmCredential, "agileCrm", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { airtableCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
// Airtable's repeated-array convention: fields[]=a&fields[]=b.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { airtopCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, qs, target = "api") {
|
|
4
4
|
const json = body &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { staticCredential } from "
|
|
1
|
+
import { staticCredential } from "runline";
|
|
2
2
|
/** An API key, sent as the X-API-KEY header to APITemplate.io's one origin. */
|
|
3
3
|
export const apiTemplateIoCredential = staticCredential({
|
|
4
4
|
id: "apiTemplateIo",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson } from "
|
|
1
|
+
import { credentialJson, } from "runline";
|
|
2
2
|
import { apiTemplateIoCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, query, body) {
|
|
4
4
|
return credentialJson(ctx, apiTemplateIoCredential, "apiTemplateIo", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment, pathWithin, } from "
|
|
1
|
+
import { credentialJson, pathSegment, pathWithin, } from "runline";
|
|
2
2
|
import { asanaCredential } from "./credentials.js";
|
|
3
3
|
async function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
const json = (await credentialJson(ctx, asanaCredential, "asana", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, credentialRequest, pathSegment, requestFailed, } from "
|
|
1
|
+
import { credentialJson, credentialRequest, pathSegment, requestFailed, } from "runline";
|
|
2
2
|
import { autopilotCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body) {
|
|
4
4
|
return credentialJson(ctx, autopilotCredential, "autopilot", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { hostLabel, staticCredential } from "
|
|
1
|
+
import { hostLabel, staticCredential } from "runline";
|
|
2
2
|
/**
|
|
3
3
|
* The API key as the Basic username, with BambooHR's fixed "x" password,
|
|
4
4
|
* sent to the connection's own company path on the one API gateway host.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialOk, jsonAnswer, jsonOrAcknowledged, pathSegment, } from "
|
|
1
|
+
import { credentialOk, jsonAnswer, jsonOrAcknowledged, pathSegment, } from "runline";
|
|
2
2
|
import { bambooHrCredential } from "./credentials.js";
|
|
3
3
|
async function apiRequest(ctx, method, path, body, query) {
|
|
4
4
|
const res = await credentialOk(ctx, bambooHrCredential, "bambooHr", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { bannerbearCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body) {
|
|
4
4
|
const json = body && Object.keys(body).length > 0 && method !== "GET" ? body : undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { httpsBase, staticCredential } from "
|
|
1
|
+
import { httpsBase, staticCredential } from "runline";
|
|
2
2
|
/**
|
|
3
3
|
* A database token, sent as `Authorization: Token {token}` to the
|
|
4
4
|
* configured host's /api/ base — Baserow's cloud unless the connection
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { baserowCredential } from "./credentials.js";
|
|
3
3
|
/** A path beneath the host's /api/ base, signed through the credential. */
|
|
4
4
|
function apiRequest(ctx, method, path, body, query) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { beeminderCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, query) {
|
|
4
4
|
return credentialJson(ctx, beeminderCredential, "beeminder", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegments } from "
|
|
1
|
+
import { credentialJson, pathSegments, } from "runline";
|
|
2
2
|
import { bitlyCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body) {
|
|
4
4
|
return credentialJson(ctx, bitlyCredential, "bitly", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { configChoice, grantSchema, httpsBase, } from "
|
|
1
|
+
import { configChoice, grantSchema, httpsBase, } from "runline";
|
|
2
2
|
/**
|
|
3
3
|
* An organization API key (client id and secret), exchanged for a bearer
|
|
4
4
|
* token via the client-credentials grant against Bitwarden's identity
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { bitwardenCredential } from "./credentials.js";
|
|
3
3
|
function authedRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, bitwardenCredential, "bitwarden", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { boxCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, query) {
|
|
4
4
|
return credentialJson(ctx, boxCredential, "box", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { brandfetchCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, domain) {
|
|
4
4
|
return credentialJson(ctx, brandfetchCredential, "brandfetch", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { brevoCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, brevoCredential, "brevo", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { configChoice, hostLabel, httpsBase, staticCredential
|
|
1
|
+
import { configChoice, hostLabel, httpsBase, staticCredential } from "runline";
|
|
2
2
|
/**
|
|
3
3
|
* A Data API token, sent as a bearer to the app's own base: the app's
|
|
4
4
|
* bubbleapps.io host, or the self-hosted domain, with the version-test
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { bubbleCredential } from "./credentials.js";
|
|
3
3
|
function api(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, bubbleCredential, "bubble", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { chargebeeCredential } from "./credentials.js";
|
|
3
3
|
/** Chargebee takes write parameters as query-string params, never a body. */
|
|
4
4
|
function apiRequest(ctx, method, path, qs) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment, pathSegments, } from "
|
|
1
|
+
import { credentialJson, pathSegment, pathSegments, } from "runline";
|
|
2
2
|
import { circleciCredential } from "./credentials.js";
|
|
3
3
|
async function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, circleciCredential, "circleci", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, credentialOk, jsonAnswer, pathSegment, pathWithin, } from "
|
|
1
|
+
import { credentialJson, credentialOk, jsonAnswer, pathSegment, pathWithin, } from "runline";
|
|
2
2
|
import { ciscoWebexCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, ciscoWebexCredential, "ciscoWebex", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { staticCredential } from "
|
|
1
|
+
import { staticCredential } from "runline";
|
|
2
2
|
/** One API key, sent as a bearer to Clearbit's three read-only API hosts:
|
|
3
3
|
* person enrichment, company enrichment, and name autocomplete. */
|
|
4
4
|
export const clearbitCredential = staticCredential({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson } from "
|
|
1
|
+
import { credentialJson, } from "runline";
|
|
2
2
|
import { clearbitCredential } from "./credentials.js";
|
|
3
3
|
async function apiRequest(ctx, target, endpoint, qs) {
|
|
4
4
|
return credentialJson(ctx, clearbitCredential, "clearbit", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { staticCredential } from "
|
|
1
|
+
import { staticCredential } from "runline";
|
|
2
2
|
/** A personal or OAuth2 token, sent raw in Authorization, to ClickUp's one API origin. */
|
|
3
3
|
export const clickupCredential = staticCredential({
|
|
4
4
|
id: "clickup",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { clickupCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, endpoint, body, qs) {
|
|
4
4
|
// ClickUp's array parameters use the `key[]` convention.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { clockifyCredential } from "./credentials.js";
|
|
3
3
|
async function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, clockifyCredential, "clockify", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { cloudflareCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, cloudflareCredential, "cloudflare", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { httpsBase, staticCredential } from "
|
|
1
|
+
import { httpsBase, staticCredential } from "runline";
|
|
2
2
|
/**
|
|
3
3
|
* An API token, appended by the transport as the token query parameter on
|
|
4
4
|
* the connection's own Cockpit instance beneath /api/. The instance URL is
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { cockpitCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body) {
|
|
4
4
|
return credentialJson(ctx, cockpitCredential, "cockpit", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { codaCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, query) {
|
|
4
4
|
return credentialJson(ctx, codaCredential, "coda", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { coingeckoCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, path, query) {
|
|
4
4
|
return credentialJson(ctx, coingeckoCredential, "coingecko", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { contentfulCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, path, qs) {
|
|
4
4
|
return credentialJson(ctx, contentfulCredential, "contentful", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { convertkitCredential } from "./credentials.js";
|
|
3
3
|
/** Every write carries a JSON body, the one the API secret travels in. */
|
|
4
4
|
function apiRequest(ctx, method, path, body, query) {
|