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,4 +1,4 @@
|
|
|
1
|
-
import { httpsBase, staticCredential } from "
|
|
1
|
+
import { httpsBase, staticCredential } from "runline";
|
|
2
2
|
/**
|
|
3
3
|
* A personal auth token in the X-Auth-Token header. Its public companion,
|
|
4
4
|
* the X-User-Id identifier, rides as an allowed header.
|
|
@@ -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 authtoken query parameter
|
|
4
4
|
* on the connection's own Rundeck server beneath /api/.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { rundeckCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, rundeckCredential, "rundeck", {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { AuthError, } from "runline";
|
|
2
|
-
import { configChoice, grantSchema, httpsBase, staticCredential, } from "../../_shared/credentials.js";
|
|
1
|
+
import { AuthError, configChoice, grantSchema, httpsBase, staticCredential, } from "runline";
|
|
3
2
|
/**
|
|
4
3
|
* A path beneath the org's My Domain URL. A Lightning UI host serves no
|
|
5
4
|
* API, and is refused as invalid_credentials.
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { AuthError } from "runline";
|
|
2
|
-
import { credentialJson } from "../../_shared/credentials.js";
|
|
1
|
+
import { AuthError, credentialJson, } from "runline";
|
|
3
2
|
import { salesforceCredential } from "./credentials.js";
|
|
4
3
|
export const DEFAULT_API_VERSION = "v59.0";
|
|
5
4
|
/** The connection's REST API version, as `vNN.N`; anything else is refused. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { salesmateCredential } from "./credentials.js";
|
|
3
3
|
function api(ctx, method, endpoint, body, qs) {
|
|
4
4
|
return credentialJson(ctx, salesmateCredential, "salesmate", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { securityScorecardCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, securityScorecardCredential, "securityScorecard", {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { AuthError, } from "runline";
|
|
2
|
-
import { credentialOk, pathSegment } from "../../_shared/credentials.js";
|
|
1
|
+
import { AuthError, credentialOk, pathSegment, } from "runline";
|
|
3
2
|
import { sendgridCredential } from "./credentials.js";
|
|
4
3
|
/** A JSON request whose response headers stay readable (mail.send's x-message-id). */
|
|
5
4
|
async function apiRequest(ctx, method, endpoint, body, qs) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { httpsBase, staticCredential } from "
|
|
1
|
+
import { httpsBase, staticCredential } from "runline";
|
|
2
2
|
/**
|
|
3
3
|
* An API key, added by the transport as the api_key field of every form
|
|
4
4
|
* call to the connection's own Sendy installation. The installation URL
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialOk } from "
|
|
1
|
+
import { credentialOk, } from "runline";
|
|
2
2
|
import { sendyCredential } from "./credentials.js";
|
|
3
3
|
/** A Sendy form call; Sendy answers in plain text, `boolean` asking for 1 on success. */
|
|
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 { sentryCredential } from "./credentials.js";
|
|
3
3
|
async function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, sentryCredential, "sentry", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { hostLabel, staticCredential } from "
|
|
1
|
+
import { hostLabel, staticCredential } from "runline";
|
|
2
2
|
/** A username-password pair, sent as HTTP Basic to the instance subdomain. */
|
|
3
3
|
export const servicenowCredential = staticCredential({
|
|
4
4
|
id: "servicenow",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { servicenowCredential } from "./credentials.js";
|
|
3
3
|
function api(ctx, method, path, body, query) {
|
|
4
4
|
return credentialJson(ctx, servicenowCredential, "servicenow", {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { ATLAS_BASE, cursorSchema, enumSchema, GRAPH_ACTOR_KIND, GRAPH_ASSIGNMENT_ROLE, GRAPH_BINDING_EXECUTOR, GRAPH_BINDING_STATUS, GRAPH_CHANGE_ENTITY_TYPE, GRAPH_EVIDENCE_KIND, GRAPH_JOURNEY_STATUS, GRAPH_RELATION_KIND, GRAPH_TASK_MODE, idSchema,
|
|
3
|
+
import { ATLAS_BASE, cursorSchema, enumSchema, GRAPH_ACTOR_KIND, GRAPH_ASSIGNMENT_ROLE, GRAPH_BINDING_EXECUTOR, GRAPH_BINDING_STATUS, GRAPH_CHANGE_ENTITY_TYPE, GRAPH_EVIDENCE_KIND, GRAPH_JOURNEY_STATUS, GRAPH_RELATION_KIND, GRAPH_TASK_MODE, idSchema, request, STRICT_OBJECT, STRICT_UPDATE_OBJECT, } from "./shared.js";
|
|
3
4
|
/**
|
|
4
5
|
* The operational graph behind the Atlas view: a business spec of how
|
|
5
6
|
* a company operates, in its own language. Four fixed levels — line →
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shiftClient } from "../../_shared/shiftCredentials.js";
|
|
2
|
-
export { cursorSchema, enumSchema, idSchema,
|
|
2
|
+
export { cursorSchema, enumSchema, idSchema, STRICT_OBJECT, STRICT_UPDATE_OBJECT, } from "../../_shared/shiftCloud.js";
|
|
3
3
|
export const { credential: shiftAtlasCredential, request } = shiftClient("shiftAtlas");
|
|
4
4
|
/** Base path of the operational graph service in the Shift cloud API. */
|
|
5
5
|
export const ATLAS_BASE = "/v1/services/operational-graph";
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { AuthError } from "runline";
|
|
1
|
+
import { AuthError, brokerFor, errorIdentifier, failureMessage, } from "runline";
|
|
2
2
|
import * as t from "typebox";
|
|
3
|
-
import { credentialBroker } from "../../_shared/credentialAdapter.js";
|
|
4
|
-
import { errorIdentifier, failureMessage } from "../../_shared/credentials.js";
|
|
5
3
|
import { SHIFT_API_URL, STRICT_OBJECT } from "../../_shared/shiftCloud.js";
|
|
6
4
|
import { shiftCredential, shiftPath } from "../../_shared/shiftCredentials.js";
|
|
7
5
|
import { BusinessWorldModelClient, BwmClientError, } from "./vendor/client.js";
|
|
@@ -20,7 +18,7 @@ function brokeredFetch(ctx) {
|
|
|
20
18
|
const url = new URL(input);
|
|
21
19
|
if (url.origin !== SHIFT_API_URL)
|
|
22
20
|
throw new AuthError("request_not_allowed");
|
|
23
|
-
return
|
|
21
|
+
return brokerFor(ctx, shiftBwmCredential).request({
|
|
24
22
|
target: "api",
|
|
25
23
|
path: `${shiftPath(url.pathname)}${url.search}`,
|
|
26
24
|
method: (init?.method ?? "GET"),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { CRM_ACCESS_ROLE, CRM_BASE, enumSchema, idSchema,
|
|
3
|
+
import { CRM_ACCESS_ROLE, CRM_BASE, enumSchema, idSchema, request, STRICT_OBJECT, } from "./shared.js";
|
|
3
4
|
export function registerAccessActions(rl) {
|
|
4
5
|
rl.registerAction("access.me", {
|
|
5
6
|
access: "read",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { CRM_BASE, createRecordFields, idSchema, paginationFields,
|
|
3
|
+
import { CRM_BASE, createRecordFields, idSchema, paginationFields, request, STRICT_OBJECT, STRICT_UPDATE_OBJECT, updateRecordFields, } from "./shared.js";
|
|
3
4
|
const accountListFields = {
|
|
4
5
|
search: t.Optional(t.String({ minLength: 1, pattern: "\\S", description: "Name search" })),
|
|
5
6
|
accountType: t.Optional(t.String({ minLength: 1, description: "Account type filter" })),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { CRM_BASE, idSchema,
|
|
3
|
+
import { CRM_BASE, idSchema, recordTypeSchema, request, STRICT_OBJECT, } from "./shared.js";
|
|
3
4
|
export function registerImportActions(rl) {
|
|
4
5
|
rl.registerAction("import.create", {
|
|
5
6
|
access: "write",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { CRM_BASE, CRM_PIPELINE_OUTCOME, createRecordFields, enumSchema, idSchema, nullableTimestamp, paginationFields,
|
|
3
|
+
import { CRM_BASE, CRM_PIPELINE_OUTCOME, createRecordFields, enumSchema, idSchema, nullableTimestamp, paginationFields, request, STRICT_OBJECT, STRICT_UPDATE_OBJECT, timestampSchema, updateRecordFields, } from "./shared.js";
|
|
3
4
|
const opportunityListFields = {
|
|
4
5
|
accountId: t.Optional(idSchema("Filter by account record ID")),
|
|
5
6
|
pipelineId: t.Optional(idSchema("Filter by pipeline ID")),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { assertTimeOrder, CRM_BASE, CRM_IDENTITY_KIND, createRecordFields, enumSchema, idSchema, paginationFields,
|
|
3
|
+
import { assertTimeOrder, CRM_BASE, CRM_IDENTITY_KIND, createRecordFields, enumSchema, idSchema, paginationFields, request, STRICT_OBJECT, STRICT_UPDATE_OBJECT, timestampSchema, updateRecordFields, } from "./shared.js";
|
|
3
4
|
const personListFields = {
|
|
4
5
|
search: t.Optional(t.String({ minLength: 1, pattern: "\\S", description: "Name search" })),
|
|
5
6
|
accountId: t.Optional(idSchema("Filter by affiliated account record ID")),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { CRM_BASE, CRM_PROPERTY_DATA_TYPE, enumSchema, idSchema,
|
|
3
|
+
import { CRM_BASE, CRM_PROPERTY_DATA_TYPE, enumSchema, idSchema, recordTypeSchema, request, STRICT_OBJECT, } from "./shared.js";
|
|
3
4
|
export function registerRecordActions(rl) {
|
|
4
5
|
rl.registerAction("record.changeEvents", {
|
|
5
6
|
access: "read",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as t from "typebox";
|
|
2
2
|
import { cursorSchema, enumSchema, idSchema, timestampSchema, } from "../../_shared/shiftCloud.js";
|
|
3
|
-
export { enumSchema, idSchema,
|
|
3
|
+
export { enumSchema, idSchema, STRICT_OBJECT, STRICT_UPDATE_OBJECT, timestampSchema, } from "../../_shared/shiftCloud.js";
|
|
4
4
|
export { request } from "./credentials.js";
|
|
5
5
|
export const CRM_BASE = "/v1/crm";
|
|
6
6
|
export const CRM_ACCESS_ROLE = ["user", "admin"];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { CRM_BASE, CRM_TASK_PRIORITY, CRM_TASK_STATUS, createRecordFields, enumSchema, idSchema, nullableTimestamp, paginationFields,
|
|
3
|
+
import { CRM_BASE, CRM_TASK_PRIORITY, CRM_TASK_STATUS, createRecordFields, enumSchema, idSchema, nullableTimestamp, paginationFields, request, STRICT_OBJECT, STRICT_UPDATE_OBJECT, timestampSchema, updateRecordFields, } from "./shared.js";
|
|
3
4
|
const taskListFields = {
|
|
4
5
|
linkedRecordId: t.Optional(idSchema("Filter by linked CRM record ID")),
|
|
5
6
|
status: t.Optional(enumSchema("Task status", CRM_TASK_STATUS)),
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { writeFile } from "node:fs/promises";
|
|
2
2
|
import { basename } from "node:path";
|
|
3
|
+
import { pathSegment } from "runline";
|
|
3
4
|
import * as t from "typebox";
|
|
4
|
-
import { enumSchema,
|
|
5
|
+
import { enumSchema, STRICT_OBJECT } from "../../_shared/shiftCloud.js";
|
|
5
6
|
import { GENERAL_MEDIA_TYPES, mediaTypeFromPath, putThroughGrant, SIGNED_UPLOAD_MAX_BYTES, statUploadFile, } from "../../_shared/shiftUpload.js";
|
|
6
7
|
import { request } from "./credentials.js";
|
|
7
8
|
const OBJECTS_BASE = "/v1/services/objects";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { basename, extname } from "node:path";
|
|
2
|
+
import { pathSegment } from "runline";
|
|
2
3
|
import * as t from "typebox";
|
|
3
4
|
import { readLocalFile } from "../../_shared/localFile.js";
|
|
4
|
-
import {
|
|
5
|
+
import { STRICT_OBJECT } from "../../_shared/shiftCloud.js";
|
|
5
6
|
import { putThroughGrant, SIGNED_UPLOAD_MAX_BYTES, statUploadFile, } from "../../_shared/shiftUpload.js";
|
|
6
7
|
import { request, shiftOcrCredential } from "./credentials.js";
|
|
7
8
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { enumSchema, idSchema, PAGE_STATUS, PAGE_TYPE, PAGE_VISIBILITY, pageRenderUrl,
|
|
3
|
+
import { enumSchema, idSchema, PAGE_STATUS, PAGE_TYPE, PAGE_VISIBILITY, pageRenderUrl, request, STRICT_OBJECT, timestampSchema, } from "./shared.js";
|
|
3
4
|
const PageSlug = t.String({
|
|
4
5
|
minLength: 1,
|
|
5
6
|
maxLength: 120,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { pathSegment } from "runline";
|
|
2
|
+
import { baseUrl } from "../../_shared/shiftCloud.js";
|
|
2
3
|
import { shiftClient } from "../../_shared/shiftCredentials.js";
|
|
3
|
-
export { enumSchema, idSchema,
|
|
4
|
+
export { enumSchema, idSchema, STRICT_OBJECT, timestampSchema, } from "../../_shared/shiftCloud.js";
|
|
4
5
|
export const { credential: shiftPagesCredential, request } = shiftClient("shiftPages");
|
|
5
6
|
export const PAGE_STATUS = ["draft", "published", "archived"];
|
|
6
7
|
export const PAGE_TYPE = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shiftClient } from "../../_shared/shiftCredentials.js";
|
|
2
|
-
export { enumSchema,
|
|
2
|
+
export { enumSchema, STRICT_OBJECT, } from "../../_shared/shiftCloud.js";
|
|
3
3
|
/** The longest server-held wait /await accepts: waitSeconds is capped at 120. */
|
|
4
4
|
export const MAX_AWAIT_WAIT_MS = 120_000;
|
|
5
5
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
3
|
import { AUDIO_VIDEO_MEDIA_TYPES, putThroughGrant, requireMediaType, SIGNED_UPLOAD_MAX_BYTES, statUploadFile, } from "../../_shared/shiftUpload.js";
|
|
3
|
-
import { enumSchema,
|
|
4
|
+
import { enumSchema, request, STRICT_OBJECT, TRANSCRIPT_FORMAT, TRANSCRIPTION_LANGUAGE, } from "./shared.js";
|
|
4
5
|
/** Transcript previews returned into the sandbox are capped, not truncated silently. */
|
|
5
6
|
const MAX_TRANSCRIPT_BYTES = 2 * 1024 * 1024;
|
|
6
7
|
const Id = t.String({ minLength: 1, pattern: "\\S" });
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { cursorSchema, enumSchema, ISSUE_PRIORITY, ISSUE_STATUS, ISSUE_VIEW_GROUP, ISSUE_VIEW_LAYOUT, ISSUE_VIEW_SORT, ISSUE_VIEW_VISIBILITY, idSchema,
|
|
3
|
+
import { cursorSchema, enumSchema, ISSUE_PRIORITY, ISSUE_STATUS, ISSUE_VIEW_GROUP, ISSUE_VIEW_LAYOUT, ISSUE_VIEW_SORT, ISSUE_VIEW_VISIBILITY, idSchema, request, STRICT_OBJECT, STRICT_UPDATE_OBJECT, timestampSchema, } from "./shared.js";
|
|
3
4
|
const viewFields = {
|
|
4
5
|
name: t.String({
|
|
5
6
|
minLength: 1,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { cursorSchema, enumSchema, ISSUE_PRIORITY, ISSUE_SOURCE, ISSUE_STATUS, idSchema,
|
|
3
|
+
import { cursorSchema, enumSchema, ISSUE_PRIORITY, ISSUE_SOURCE, ISSUE_STATUS, idSchema, request, STRICT_OBJECT, STRICT_UPDATE_OBJECT, timestampSchema, } from "./shared.js";
|
|
3
4
|
const issueFields = {
|
|
4
5
|
title: t.String({
|
|
5
6
|
minLength: 1,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { pathSegment } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { cursorSchema, enumSchema, idSchema, PROJECT_STATUS,
|
|
3
|
+
import { cursorSchema, enumSchema, idSchema, PROJECT_STATUS, request, STRICT_OBJECT, STRICT_UPDATE_OBJECT, timestampSchema, } from "./shared.js";
|
|
3
4
|
const projectListFields = {
|
|
4
5
|
status: t.Optional(enumSchema("Project status", PROJECT_STATUS)),
|
|
5
6
|
leadUserId: t.Optional(idSchema("Lead user ID")),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shiftClient } from "../../_shared/shiftCredentials.js";
|
|
2
|
-
export { cursorSchema, enumDescription, enumSchema, idSchema,
|
|
2
|
+
export { cursorSchema, enumDescription, enumSchema, idSchema, STRICT_OBJECT, STRICT_UPDATE_OBJECT, timestampSchema, } from "../../_shared/shiftCloud.js";
|
|
3
3
|
export const { credential: shiftWorkCredential, request } = shiftClient("shiftWork");
|
|
4
4
|
export const ISSUE_STATUS = [
|
|
5
5
|
"backlog",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { hostLabel, staticCredential } from "
|
|
1
|
+
import { hostLabel, staticCredential } from "runline";
|
|
2
2
|
/**
|
|
3
3
|
* An Admin API access token, sent as the X-Shopify-Access-Token header to
|
|
4
4
|
* the store's own myshopify.com host beneath /admin/api/2024-07/.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, credentialOk, jsonAnswer, pathSegment, pathWithin, } from "
|
|
1
|
+
import { credentialJson, credentialOk, jsonAnswer, pathSegment, pathWithin, } from "runline";
|
|
2
2
|
import { shopifyCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, path, body, qs) {
|
|
4
4
|
return credentialJson(ctx, shopifyCredential, "shopify", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { answerFailed, credentialJson } from "
|
|
1
|
+
import { answerFailed, credentialJson, } from "runline";
|
|
2
2
|
import { slackCredential } from "./credentials.js";
|
|
3
3
|
async function api(ctx, method, path, body, query) {
|
|
4
4
|
const data = (await credentialJson(ctx, slackCredential, "slack", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { httpsBase, staticCredential } from "
|
|
1
|
+
import { httpsBase, staticCredential } from "runline";
|
|
2
2
|
/** An auth token, sent as a bearer to the configured management origin. */
|
|
3
3
|
export const splunkCredential = staticCredential({
|
|
4
4
|
id: "splunk",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { splunkCredential } from "./credentials.js";
|
|
3
3
|
// The Splunk REST API takes form-urlencoded POST bodies and answers JSON
|
|
4
4
|
// because every request carries output_mode=json.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { spotifyCredential } from "./credentials.js";
|
|
3
3
|
function api(ctx, method, endpoint, body, qs) {
|
|
4
4
|
return credentialJson(ctx, spotifyCredential, "spotify", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { stackbyCredential } from "./credentials.js";
|
|
3
3
|
function apiRequest(ctx, method, endpoint, body, qs) {
|
|
4
4
|
return credentialJson(ctx, stackbyCredential, "stackby", {
|
|
@@ -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 { SESSION_OPTIONS_SCHEMA, api, compactRecord, socketUrl } from "./shared.js";
|
|
4
4
|
const SCRAPE_SCHEMA = {
|
|
5
5
|
url: t.String({ description: "URL to scrape" }),
|
|
@@ -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 { api, compactRecord } from "./shared.js";
|
|
4
4
|
export function registerCaptchaActions(rl) {
|
|
5
5
|
rl.registerAction("captcha.status", {
|
|
@@ -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, SESSION_OPTIONS_SCHEMA, api, compactRecord, socketUrl } from "./shared.js";
|
|
4
4
|
export function registerSessionActions(rl) {
|
|
5
5
|
rl.registerAction("session.create", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { credentialOk, credentialSocketUrl, jsonAnswer, multipartBody, } from "runline";
|
|
1
2
|
import * as t from "typebox";
|
|
2
|
-
import { credentialOk, credentialSocketUrl, jsonAnswer, multipartBody } from "../../_shared/credentials.js";
|
|
3
3
|
import { steelCredential } from "./auth.js";
|
|
4
4
|
/** A REST call: a JSON answer parsed, any other answer (a file) as text. */
|
|
5
5
|
export async function api(ctx, path, options = {}) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment, pathSegments, } from "
|
|
1
|
+
import { credentialJson, pathSegment, pathSegments, } from "runline";
|
|
2
2
|
import { storyblokCredential } from "./credentials.js";
|
|
3
3
|
function contentApi(ctx, path, query) {
|
|
4
4
|
return credentialJson(ctx, storyblokCredential, "storyblok", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { configChoice, grantSchema, httpsBase, staticCredential, } from "
|
|
1
|
+
import { configChoice, grantSchema, httpsBase, staticCredential, } from "runline";
|
|
2
2
|
/** The Strapi major version the connection names, v4 when absent. */
|
|
3
3
|
export function strapiVersion(config) {
|
|
4
4
|
return configChoice(config.apiVersion, ["v4", "v3"], "v4");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { credentialJson, pathSegment } from "
|
|
1
|
+
import { credentialJson, pathSegment, } from "runline";
|
|
2
2
|
import { strapiCredential, strapiVersion } from "./credentials.js";
|
|
3
3
|
/** Whether the connection speaks Strapi v4, whose answers wrap entries in `data`. */
|
|
4
4
|
function isV4(ctx) {
|
|
@@ -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 = "") {
|