import { SpeakeasyBase } from "../../../internal/utils"; import { DatasetStatus } from "./datasetstatus"; import { DataType } from "./datatype"; export declare class Dataset extends SpeakeasyBase { /** * Unique identifier for your SMB in Codat. */ companyId: string; /** * In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example: * * @remarks * * ``` * 2020-10-08T22:40:50Z * 2021-01-01T00:00:00 * ``` * * * * When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information: * * - Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z` * - Unqualified local time: `2021-11-15T01:00:00` * - UTC time offsets: `2021-11-15T01:00:00-05:00` * * > Time zones * > * > Not all dates from Codat will contain information about time zones. * > Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. */ completed?: string; /** * Unique identifier for a company's data connection. */ connectionId: string; /** * Available Data types */ dataType?: DataType; /** * URI to the dataset's logs. */ datasetLogsUrl?: string; /** * A brief message about the error. */ errorMessage?: string; /** * Identifier for the dataset. */ id: string; /** * `True` if the dataset completed successfully. */ isCompleted: boolean; /** * `True` if the dataset entered an error state. */ isErrored: boolean; /** * An integer signifying the progress of the dataset. */ progress: number; /** * In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example: * * @remarks * * ``` * 2020-10-08T22:40:50Z * 2021-01-01T00:00:00 * ``` * * * * When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information: * * - Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z` * - Unqualified local time: `2021-11-15T01:00:00` * - UTC time offsets: `2021-11-15T01:00:00-05:00` * * > Time zones * > * > Not all dates from Codat will contain information about time zones. * > Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. */ requested: string; /** * The current status of the dataset. */ status: DatasetStatus; /** * URI to the dataset's validation information. */ validationInformationUrl?: string; }