0.5.2 • Published 1 year ago

@fabra/sdk v0.5.2

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Fabra Typescript SDK

SDK Installation

NPM

npm add @fabra/sdk

Yarn

yarn add @fabra/sdk

SDK Example Usage

import {
  GetNamespacesRequest,
  GetNamespacesResponse 
} from "@fabra/sdk/dist/sdk/models/operations";

import { AxiosError } from "axios";
import { Fabra } from "@fabra/sdk";

const sdk = new Fabra({
  security: {
    apiKeyAuth: {
      apiKey: "YOUR_API_KEY_HERE",
    },
  }
});
    
const req: GetNamespacesRequest = {
  queryParams: {
    connectionID: 548814,
  },
};

sdk.connection.getNamespaces(req).then((res: GetNamespacesResponse | AxiosError) => {
   // handle response
});

SDK Available Operations

connection

  • getNamespaces - Get all namespaces
  • getSchema - Get schema for table
  • getTables - Get all tables

destination

  • createDestination - Create a new destination
  • getDestinations - Get all destinations

linkToken

  • createLinkToken - Create a new link token

object

  • createObject - Create a new object
  • getObjects - Get all objects

source

  • createSource - Create a new source
  • getSources - Get all sources

sync

  • createSync - Create a new sync
  • getSyncs - Get all syncs

SDK Generated by Speakeasy

0.5.2

1 year ago

0.5.1

1 year ago

0.1.3

1 year ago