runline 0.35.0 → 0.37.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 +82 -0
- package/dist/credentials/aws-plugin.js +184 -0
- package/dist/credentials/aws.d.ts +52 -0
- package/dist/credentials/aws.js +312 -0
- package/dist/credentials/broker.d.ts +11 -0
- package/dist/{plugins/_shared/credentialAdapter.js → credentials/broker.js} +96 -45
- 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 +111 -27
- package/dist/credentials/types.d.ts +70 -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,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { stravaCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, stravaCredential, "strava", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { stripeCredential } from "./credentials.js";
|
|
3
3
|
/** Stripe's form keys for nested objects: `metadata[plan]`. */
|
|
4
4
|
function flatten(obj, prefix = "") {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { httpsBase, staticCredential } from "
|
|
1
|
+
import { httpsBase, staticCredential } from "runline";
|
|
2
2
|
/**
|
|
3
3
|
* The service-role key, sent twice as Supabase requires: as the apikey
|
|
4
4
|
* header and as a bearer, to the project's own PostgREST base beneath
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { supabaseCredential } from "./credentials.js";
|
|
3
3
|
/** A table's rows, answered back as written (`Prefer: return=representation`). */
|
|
4
4
|
function apiRequest(ctx, method, table, body, query, headers) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { syncromspCredential } from "./credentials.js";
|
|
3
3
|
/** The transport appends the api_key query parameter when signing. */
|
|
4
4
|
function api(ctx, method, endpoint, body, qs) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { tapfiliateCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, endpoint, body, qs) {
|
|
4
4
|
return credentialJson(ctx, tapfiliateCredential, "tapfiliate", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { httpsBase, staticCredential } from "
|
|
1
|
+
import { httpsBase, staticCredential } from "runline";
|
|
2
2
|
/**
|
|
3
3
|
* The bot token, which Telegram takes as the path segment bot<token> on the
|
|
4
4
|
* Bot API: api.telegram.org, or the connection's own HTTPS Bot API server.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { answerFailed, credentialJson } from "
|
|
1
|
+
import { answerFailed, credentialJson, } from "runline";
|
|
2
2
|
import { telegramCredential } from "./credentials.js";
|
|
3
3
|
/** A call to the Bot API method `name`; an answer that is not ok is a failure. */
|
|
4
4
|
async function apiRequest(ctx, name, body = {}) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { httpsBase, staticCredential } from "
|
|
1
|
+
import { httpsBase, staticCredential } from "runline";
|
|
2
2
|
/** An API key, sent as a bearer to the connection's own TheHive instance
|
|
3
3
|
* beneath /api/. The instance URL is public config and must be HTTPS. */
|
|
4
4
|
export const thehiveCredential = staticCredential({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { thehiveCredential } from "./credentials.js";
|
|
3
3
|
async function api(ctx, method, endpoint, body, qs) {
|
|
4
4
|
return credentialJson(ctx, thehiveCredential, "thehive", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { httpsBase, staticCredential } from "
|
|
1
|
+
import { httpsBase, staticCredential } from "runline";
|
|
2
2
|
/**
|
|
3
3
|
* An API key, sent as a bearer to the connection's own TheHive instance
|
|
4
4
|
* beneath /api/. The instance URL is public config and must be HTTPS.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { thehiveProjectCredential } from "./credentials.js";
|
|
3
3
|
function api(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, thehiveProjectCredential, "thehiveProject", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { todoistCredential } from "./credentials.js";
|
|
3
3
|
function api(ctx, method, endpoint, body, qs) {
|
|
4
4
|
return credentialJson(ctx, todoistCredential, "todoist", {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* fidelity switch to FLUX.1-dev / Ideogram / Qwen-Image and bump
|
|
13
13
|
* `steps` accordingly (20–30 is typical for non-schnell models).
|
|
14
14
|
*/
|
|
15
|
-
import { credentialJson } from "
|
|
15
|
+
import { credentialJson, } from "runline";
|
|
16
16
|
import { readImageInput, SEND_FILE_NOTE, writeImageFile, } from "../../_shared/mediaFile.js";
|
|
17
17
|
import { parseSize } from "../../_shared/parseSize.js";
|
|
18
18
|
import { togetherCredential } from "./credentials.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment, slashEncodedSegment, } from "
|
|
1
|
+
import { credentialJson, pathSegment, slashEncodedSegment, } from "runline";
|
|
2
2
|
import { travisciCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, query) {
|
|
4
4
|
return credentialJson(ctx, travisciCredential, "travisci", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { trelloCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, query) {
|
|
4
4
|
return credentialJson(ctx, trelloCredential, "trello", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson } from "
|
|
1
|
+
import { credentialJson, } from "runline";
|
|
2
2
|
import { twilioCredential } from "./credentials.js";
|
|
3
3
|
/** A Twilio form call beneath the account; empty fields are left out. */
|
|
4
4
|
function apiRequest(ctx, endpoint, body) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { twitterCredential } from "./credentials.js";
|
|
3
3
|
async function api(ctx, method, path, body, qs, fullOutput = false) {
|
|
4
4
|
const json = (await credentialJson(ctx, twitterCredential, "twitter", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { credentialRequest } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { credentialRequest } from "../../_shared/credentials.js";
|
|
3
3
|
import { typesafeCredential } from "./credentials.js";
|
|
4
4
|
export const STRICT = { additionalProperties: false };
|
|
5
5
|
export const DEFAULT_BASE = "https://api.typesafe.ai";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { unleashedSoftwareCredential } from "./credentials.js";
|
|
3
3
|
/** An Unleashed read; Unleashed asks for a JSON Content-Type even on GET. */
|
|
4
4
|
function apiRequest(ctx, path, query) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson } from "
|
|
1
|
+
import { credentialJson, } from "runline";
|
|
2
2
|
import { upleadCredential } from "./credentials.js";
|
|
3
3
|
async function apiRequest(ctx, path, qs) {
|
|
4
4
|
const data = (await credentialJson(ctx, upleadCredential, "uplead", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { staticCredential } from "
|
|
1
|
+
import { staticCredential } from "runline";
|
|
2
2
|
/** An API key, added by the transport as the api_key field of every UptimeRobot form. */
|
|
3
3
|
export const uptimerobotCredential = staticCredential({
|
|
4
4
|
id: "uptimerobot",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson } from "
|
|
1
|
+
import { credentialJson, } from "runline";
|
|
2
2
|
import { uptimerobotCredential } from "./credentials.js";
|
|
3
3
|
/** An UptimeRobot form call; an answer whose stat is not "ok" is a failure. */
|
|
4
4
|
async function apiRequest(ctx, endpoint, body = {}) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { urlscanioCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, query) {
|
|
4
4
|
return credentialJson(ctx, urlscanioCredential, "urlscanio", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { pathSegment } from "../../_shared/credentials.js";
|
|
3
3
|
import { LIST_INPUT_SCHEMA, TEAM_INPUT_SCHEMA, api, bindGetAction, } from "./shared.js";
|
|
4
4
|
export function registerDeploymentActions(rl) {
|
|
5
5
|
const getAction = bindGetAction(rl);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { pathSegment } from "../../_shared/credentials.js";
|
|
3
3
|
import { TEAM_INPUT_SCHEMA, api } from "./shared.js";
|
|
4
4
|
const targetSchema = t.Union([t.String(), t.Array(t.String())], {
|
|
5
5
|
description: "production, preview, development, custom environment, or array of targets",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { pathSegment } from "../../_shared/credentials.js";
|
|
3
3
|
import { LIST_INPUT_SCHEMA, TEAM_INPUT_SCHEMA, api, bindGetAction, } from "./shared.js";
|
|
4
4
|
export function registerProjectActions(rl) {
|
|
5
5
|
const getAction = bindGetAction(rl);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { AuthError } from "runline";
|
|
1
|
+
import { AuthError, credentialOk, } from "runline";
|
|
2
2
|
import * as t from "typebox";
|
|
3
|
-
import { credentialOk } from "../../_shared/credentials.js";
|
|
4
3
|
import { vercelCredential } from "./credentials.js";
|
|
5
4
|
export async function api(ctx, path, options = {}) {
|
|
6
5
|
const query = Object.fromEntries(Object.entries({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson } from "
|
|
1
|
+
import { credentialJson, } from "runline";
|
|
2
2
|
import { veroCredential } from "./credentials.js";
|
|
3
3
|
/** A Vero form call; object values travel JSON-encoded. */
|
|
4
4
|
function apiRequest(ctx, method, endpoint, body) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { staticCredential } from "
|
|
1
|
+
import { staticCredential } from "runline";
|
|
2
2
|
/** An API key and secret, added by the transport as the api_key and api_secret fields of Vonage's SMS form. */
|
|
3
3
|
export const vonageCredential = staticCredential({
|
|
4
4
|
id: "vonage",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { wekanCredential } from "./credentials.js";
|
|
3
3
|
function api(ctx, method, endpoint, body) {
|
|
4
4
|
return credentialJson(ctx, wekanCredential, "wekan", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { refuseUnderHost } from "
|
|
1
|
+
import { refuseUnderHost } from "runline";
|
|
2
2
|
import { AUDIENCE, AUTH, arr, authed, CAPABILITIES, CONSUMER, cfgOf, clientHeaders, ensureIdentity, expiresAt, formEncode, http, normPhone, obj, pick, RESTAURANT, WoltError, } from "./shared.js";
|
|
3
3
|
async function authJson(ctx, path, body, extra = {}) {
|
|
4
4
|
return http(AUTH, path, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { refuseUnderHost, } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { refuseUnderHost } from "../../_shared/credentials.js";
|
|
3
3
|
import { discoverPaymentMethod, listAddresses, loginMethods, redeemLink, requestEmailCode, requestSmsCode, status, submitCode, submitConfirmation, whoami, } from "./account.js";
|
|
4
4
|
import { item, menu, nearby, search, venue } from "./catalog.js";
|
|
5
5
|
import { woltCredential } from "./credentials.js";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { randomUUID } from "node:crypto";
|
|
2
|
-
import { AuthError } from "runline";
|
|
3
|
-
import { credentialRequest, pathSegment } from "../../_shared/credentials.js";
|
|
2
|
+
import { AuthError, credentialRequest, pathSegment, } from "runline";
|
|
4
3
|
import { arr, num, numOrNull, obj, pick } from "../../_shared/provider.js";
|
|
5
4
|
import { CONSUMER, clientHeaders, RESTAURANT, woltCredential, } from "./credentials.js";
|
|
6
5
|
import { answerOf, endpointOf } from "./public.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { woocommerceCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, woocommerceCredential, "woocommerce", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { wordpressCredential } from "./credentials.js";
|
|
3
3
|
async function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, wordpressCredential, "wordpress", {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* text rendering well. Sized via aspect_ratio rather than W×H —
|
|
9
9
|
* the API does the math.
|
|
10
10
|
*/
|
|
11
|
-
import { credentialJson } from "
|
|
11
|
+
import { credentialJson } from "runline";
|
|
12
12
|
import { readImageInput, SEND_FILE_NOTE, writeImageFile, } from "../../_shared/mediaFile.js";
|
|
13
13
|
import { xaiCredential } from "./credentials.js";
|
|
14
14
|
const MODEL = "grok-imagine-image";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { xeroCredential } from "./credentials.js";
|
|
3
3
|
function api(ctx, method, endpoint, body, qs) {
|
|
4
4
|
return credentialJson(ctx, xeroCredential, "xero", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { httpsBase, staticCredential } from "
|
|
1
|
+
import { httpsBase, staticCredential } from "runline";
|
|
2
2
|
/**
|
|
3
3
|
* A signature token, appended by the transport as the signature query
|
|
4
4
|
* parameter on the installation's own yourls-api.php. The installation
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { answerFailed, credentialJson } from "
|
|
1
|
+
import { answerFailed, credentialJson, } from "runline";
|
|
2
2
|
import { yourlsCredential } from "./credentials.js";
|
|
3
3
|
async function apiRequest(ctx, qs) {
|
|
4
4
|
const data = (await credentialJson(ctx, yourlsCredential, "yourls", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { httpsBase, staticCredential } from "
|
|
1
|
+
import { httpsBase, staticCredential } from "runline";
|
|
2
2
|
/** An access token, sent as `Authorization: Token token={token}` to the
|
|
3
3
|
* connection's own Zammad instance beneath /api/v1/. The instance URL is
|
|
4
4
|
* public config and must be HTTPS. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { zammadCredential } from "./credentials.js";
|
|
3
3
|
async function api(ctx, method, endpoint, body, qs) {
|
|
4
4
|
return credentialJson(ctx, zammadCredential, "zammad", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { hostLabel, staticCredential } from "
|
|
1
|
+
import { hostLabel, staticCredential } from "runline";
|
|
2
2
|
/**
|
|
3
3
|
* An API token as the Basic password, with the agent email joined to the
|
|
4
4
|
* fixed /token suffix as the username, on the account's own Zendesk
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { zendeskCredential } from "./credentials.js";
|
|
3
3
|
/** One Zendesk call: every endpoint is a .json path beneath /api/v2/. */
|
|
4
4
|
function api(ctx, method, endpoint, body, qs) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { zohoCredential } from "./credentials.js";
|
|
3
3
|
function api(ctx, method, endpoint, body, qs) {
|
|
4
4
|
return credentialJson(ctx, zohoCredential, "zoho", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { zoomCredential } from "./credentials.js";
|
|
3
3
|
async function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, zoomCredential, "zoom", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { zulipCredential } from "./credentials.js";
|
|
3
3
|
/** Zulip takes form-encoded parameters; nested values are JSON strings. */
|
|
4
4
|
function zulipParams(body) {
|