Coder Social home page Coder Social logo

vesselapi / integrations Goto Github PK

View Code? Open in Web Editor NEW
30.0 30.0 4.0 4.34 MB

Integrations Library for Vessel's Embedded Integrations Platform

Home Page: https://www.vessel.dev/

License: MIT License

JavaScript 0.01% TypeScript 99.99%
api chat crm dialer mailchimp marketing-automation ringcentral sales-engagement salesforce sep slack teams unified unified-api

integrations's People

Contributors

averyyip avatar dependabot[bot] avatar manas-vessel avatar sodiray avatar zkirby avatar zlalvani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

integrations's Issues

Can't run any passthrough calls with Vessel

So I've been trying to use this integrations library to get a simple google calendar passthrough call working but keep running into an auth problem.

Code:

const vessel = require("@vesselapi/integrations");

const main = async () => {
  const auth = vessel.auth.oauth2(vessel.googleCalendar.auth);
  
  const response = await vessel.googleCalendar.client.passthrough(auth, {
    method: "GET",
    url: "/calendar/v3/calendars/primary/events",
  });

  console.log("response: ", response);
};

main();

Error:

const fetchRawResponse = async (auth2, args) => await auth2.retry(async () => {
                                                                ^
TypeError: auth2.retry is not a function
    at fetchRawResponse (.../node_modules/@vesselapi/integrations/dist/index.js:251:65)
    at Object.makeValidatedRequest [as passthrough] (.../node_modules/@vesselapi/integrations/dist/index.js:279:30)
    at main (.../vessel.js:13:55)
    at Object.<anonymous> (.../vessel.js:29:1)
    at Module._compile (node:internal/modules/cjs/loader:1233:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Module._load (node:internal/modules/cjs/loader:938:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
    at node:internal/main/run_main_module:23:47

Node.js v20.5.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.