⚠️

@codat/common
TypeScript icon, indicating that this package has built-in type declarations

0.38.0 • Public • Published

Common

Manage the building blocks of Codat, including companies, connections, and more.

SDK Installation

NPM

npm add @codat/common

Yarn

yarn add @codat/common

Example Usage

import { CodatCommon } from "@codat/common";

(async () => {
    const sdk = new CodatCommon({
        security: {
            authHeader: "",
        },
    });

    const res = await sdk.companies.create({
        description: "Requested early access to the new financing scheme.",
        name: "Bank of Dave",
    });

    if (res.statusCode == 200) {
        // handle response
    }
})();

Available Resources and Operations

Library generated by Speakeasy

Readme

Keywords

none