Merge TypeScript SDK
The SDK for interacting with Merge's unified Accounting, ATS, CRM, HRIS and Ticketing API's.
This TypeScript package is automatically generated by the OpenAPI Generator project:
- API version: 1.0
- Package version: 1.0.1
- Build package: org.openapitools.codegen.languages.TypeScriptNodeClientCodegen For more information, please visit https://www.merge.dev/
Requirements
Dependencies
- bluebird: ^3.5.0
- request: ^2.81.0
- @types/bluebird: *
- @types/request: *
- rewire: ^3.0.2
Dev Dependencies
- typescript: ^4.3.3
- @types/node: ^15.12.2
Getting Started
Here is an example auth configuration for calling a Merge API:
import { AccountingApis } from "@mergeapi/merge-sdk-typescript"
let syncApi = new AccountingApis.SyncStatusApi()
syncApi.setApiKey(AccountingApis.SyncStatusApiApiKeys.accountTokenAuth, "LINKED ACCOUNT TOKEN HERE")
syncApi.accessToken = "API KEY HERE"
syncApi.syncStatusList().then(result => console.log(result))