UNPKG

@nimbella/postman-api

Version:

Postman Collection to Nimbella Project: Take your APIs seamlessly into Serverless world with this API

13 lines (12 loc) 472 B
import { AxiosInstance } from 'axios'; export default class PostmanFetcher { baseUrl: string; apiKey: string | undefined; instance: AxiosInstance; constructor(apiKey: string | undefined); getAllCollections: () => Promise<Array<any>>; getCollection: (collectionId: string) => Promise<object>; getCollectionGuid: (name: string) => Promise<string>; getCollectionWithVersion: (id: string) => Promise<any>; getUser: () => Promise<string>; }