@liaisongroup/assist-api-js-client
v1.5.169
Published

Readme
Installation
Using your node runtime of choice install the package.
bun add @liaisongroup/assist-api-js-client -DUsage
Create a file such as client.ts to store an instance of our JS Client.
import { init } from "@liaisongroup/assist-api-js-client"
export const client = init("https://assist-dev-api.liaison.link")
// ^ returns a full typed client, with autocomplete for all methods, parameters etc.Then when needed, just import this client in project files as needed.
init takes the API base URL as an optional argument, otherwise it will default to the value defined in the OpenAPI definition.
import { client } from "some/path/to/client"
async function make_api_call() {
const sso_configs = await client.get_sso_configs()
}