UNPKG

monday-sdk-js

Version:

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/mondaycom/monday-sdk-js/blob/master/LICENSE)   [![npm version](https://img.shields.io/npm/v/monday-sdk-js.svg?style=flat)](https://www.npmjs.com/package/monday-

17 lines (12 loc) 651 B
import { APIOptions } from './client-api.interface'; /** * @deprecated The monday-sdk-js server SDK is deprecated and will be removed in version 1.0.0. * The api() method for GraphQL queries should be replaced with @mondaydotcomorg/api: https://www.npmjs.com/package/@mondaydotcomorg/api * For more information, visit: https://developer.monday.com/api-reference/docs/api-sdk */ export interface MondayServerSdk { setToken(token: string): void; setApiVersion(version: string): void; api<T = any>(query: string, options?: APIOptions): Promise<T>; oauthToken(code: string, clientId: string, clientSecret: string): Promise<any>; }