0.0.21 • Published 2 years ago

@capable-health/client v0.0.21

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Capable Client

Typescript client to access Capable Health APIs. Generated from the published openapi spec.

Libraries Used

  • openapi-typescript-codegen
  • Axios

Usage

  const capableClient = new CapableClient({TOKEN: () => Auth.user.getAccessToken()});
  const result = await capableClient.patients.getPatients();

  console.log(result);

Regenerating

If the spec is updated,

  1. Copy the new spec to swagger.yaml
  2. Run the following in the root of the project
pnpm run build
0.0.20

2 years ago

0.0.21

2 years ago

0.0.17

3 years ago

0.0.18

3 years ago

0.0.19

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago