UNPKG

@uservitals/import

Version:

Import helpers for uploading feedback to UserVitals

22 lines 1.18 kB
import { AxiosInstance, AxiosPromise } from "axios"; import { APIClient, InsightCreationInput, MessageCreationInput, StoryCreationInput, GenericChangelogInput, User } from "./types"; export declare class UservitalsClient implements APIClient { client: AxiosInstance; apiKey: string; baseApiPath?: string; constructor(apiKey: string); myTeamMembers: () => Promise<AxiosPromise>; team: () => Promise<AxiosPromise>; teamLabels: () => Promise<AxiosPromise>; teamCategories: () => Promise<AxiosPromise>; changelogLabels: () => Promise<AxiosPromise>; createInsight: (input: InsightCreationInput) => Promise<AxiosPromise>; createMessage: (input: MessageCreationInput) => Promise<AxiosPromise>; createStory: (input: StoryCreationInput) => Promise<AxiosPromise>; createStoryLabel: (name: string) => Promise<AxiosPromise>; createChangelogLabel: (name: string) => Promise<AxiosPromise>; createStoryCategory: (name: string) => Promise<AxiosPromise>; createChangelog: (input: GenericChangelogInput) => Promise<AxiosPromise>; createMembership: (input: User) => Promise<AxiosPromise>; } //# sourceMappingURL=client.d.ts.map