UNPKG

@flatfile/safe-api

Version:

Flatfile Safe API client with streaming capabilities

35 lines (34 loc) 1.36 kB
import { FlatfileClient } from '@flatfile/api'; import { EnhancedRecords } from './helpers/records.helper'; import { EnhancedFiles } from './helpers/files.helper'; import { EnhancedJobs } from './helpers/jobs.helper'; import { EnhancedSheets } from './helpers/sheets.helper'; import { EnhancedWorkbooks } from './helpers/workbooks.helper'; import { EnhancedSpaces } from './helpers/spaces.helper'; import { PublicConfig } from './utils/config'; export * from '@flatfile/api'; export * from '@flatfile/records'; export * from './streaming/records'; export * from './streaming/workbooks'; export * from './streaming/jobs'; export * from './streaming/sheets'; export * from './streaming/files'; export * from './streaming/spaces'; export * from './helpers/records.helper'; export * from './helpers/workbooks.helper'; export * from './helpers/jobs.helper'; export * from './helpers/sheets.helper'; export * from './helpers/files.helper'; export * from './helpers/spaces.helper'; declare class EnhancedApi extends FlatfileClient { private readonly _config; get config(): PublicConfig; get records(): EnhancedRecords; get files(): EnhancedFiles; get jobs(): EnhancedJobs; get sheets(): EnhancedSheets; get workbooks(): EnhancedWorkbooks; get spaces(): EnhancedSpaces; } declare const _default: EnhancedApi; export default _default;