import { type AdditionalDataHolder, type Guid, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {DataFile} */ export declare function createDataFileFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {DataRequest} */ export declare function createDataRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {Job} */ export declare function createJobFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {Pagination} */ export declare function createPaginationFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); export interface DataFile extends AdditionalDataHolder, Parsable { /** * The date and time the file was created (ISO 8601) */ createdAt?: Date | null; /** * The name of the file */ name?: string | null; /** * The size of the file in bytes */ size?: number | null; } export interface DataRequest extends AdditionalDataHolder, Parsable { /** * The account ID */ accountId?: Guid | null; /** * The callback URL specified for the data request */ callbackUrl?: string | null; /** * The date and time the data request was created (ISO 8601) */ createdAt?: Date | null; /** * The BIM 360 / ACC user ID of the user who created the data request */ createdBy?: string | null; /** * The email address of the user who created the data request */ createdByEmail?: string | null; /** * The timeframe used for extracting data in the request */ dateRange?: DataRequest_dateRange | null; /** * The user-entered description of this data request */ description?: string | null; /** * The date and time when a one-time job execution or a recurring interval schedule begins (ISO 8601) */ effectiveFrom?: Date | null; /** * The date and time when the recurring interval schedule ends (ISO 8601) */ effectiveTo?: Date | null; /** * The end date and time for the data extraction (ISO 8601) */ endDate?: Date | null; /** * The ID of the data request */ id?: Guid | null; /** * The data request's active/inactive status */ isActive?: boolean | null; /** * The date and time the last job for this data request was scheduled to execute (ISO 8601) */ lastQueuedAt?: Date | null; /** * (Legacy) A single project ID for the data request. Superseded by projectIdList */ projectId?: Guid | null; /** * A list of up to 50 project IDs included in the data request */ projectIdList?: string[] | null; /** * The types of projects to be included in a request */ projectStatus?: DataRequest_projectStatus | null; /** * The number of scheduleInterval units to wait between job execution */ reoccuringInterval?: number | null; /** * The scheduling interval unit for jobs spawned by this data request */ scheduleInterval?: DataRequest_scheduleInterval | null; /** * Send a notification email to the user upon job completion */ sendEmail?: boolean | null; /** * The service groups from which data has been extracted */ serviceGroups?: string[] | null; /** * The start date and time for the data extraction (ISO 8601) */ startDate?: Date | null; /** * The date and time the data request was last updated (ISO 8601) */ updatedAt?: Date | null; /** * The BIM 360 / ACC user ID of the user who last updated the data request */ updatedBy?: string | null; } export type DataRequest_dateRange = (typeof DataRequest_dateRangeObject)[keyof typeof DataRequest_dateRangeObject]; export type DataRequest_projectStatus = (typeof DataRequest_projectStatusObject)[keyof typeof DataRequest_projectStatusObject]; export type DataRequest_scheduleInterval = (typeof DataRequest_scheduleIntervalObject)[keyof typeof DataRequest_scheduleIntervalObject]; /** * The deserialization information for the current model * @param DataFile The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoDataFile(dataFile?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @param DataRequest The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoDataRequest(dataRequest?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @param Job The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoJob(job?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @param Pagination The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoPagination(pagination?: Partial | undefined): Record void>; export interface Job extends AdditionalDataHolder, Parsable { /** * The account ID */ accountId?: Guid | null; /** * The date and time the job completed execution (ISO 8601) */ completedAt?: Date | null; /** * The completion status of the job (only set when status is complete) */ completionStatus?: Job_completionStatus | null; /** * The date and time the job was created (ISO 8601) */ createdAt?: Date | null; /** * The BIM 360 / ACC user ID of the user who created the data request */ createdBy?: string | null; /** * The email address of the user who created the data request */ createdByEmail?: string | null; /** * The ID of the job */ id?: Guid | null; /** * The project ID (if applicable) */ projectId?: Guid | null; /** * The ID of the data request that spawned this job */ requestId?: Guid | null; /** * The date and time the job started execution (ISO 8601) */ startedAt?: Date | null; /** * The current status of the job */ status?: Job_status | null; } export type Job_completionStatus = (typeof Job_completionStatusObject)[keyof typeof Job_completionStatusObject]; export type Job_status = (typeof Job_statusObject)[keyof typeof Job_statusObject]; export interface Pagination extends AdditionalDataHolder, Parsable { /** * The number of objects returned per page */ limit?: number | null; /** * The number of objects skipped before starting to collect the result set */ offset?: number | null; /** * The total number of objects available */ totalResults?: number | null; } /** * Serializes information the current object * @param DataFile The instance to serialize from. * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param writer Serialization writer to use to serialize this model */ export declare function serializeDataFile(writer: SerializationWriter, dataFile?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Serializes information the current object * @param DataRequest The instance to serialize from. * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param writer Serialization writer to use to serialize this model */ export declare function serializeDataRequest(writer: SerializationWriter, dataRequest?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param Job The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializeJob(writer: SerializationWriter, job?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param Pagination The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializePagination(writer: SerializationWriter, pagination?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * The timeframe used for extracting data in the request */ export declare const DataRequest_dateRangeObject: { readonly TODAY: "TODAY"; readonly YESTERDAY: "YESTERDAY"; readonly PAST_7_DAYS: "PAST_7_DAYS"; readonly MONTH_TO_DATE: "MONTH_TO_DATE"; readonly LAST_MONTH: "LAST_MONTH"; }; /** * The types of projects to be included in a request */ export declare const DataRequest_projectStatusObject: { readonly All: "all"; readonly Archived: "archived"; readonly Active: "active"; }; /** * The scheduling interval unit for jobs spawned by this data request */ export declare const DataRequest_scheduleIntervalObject: { readonly ONE_TIME: "ONE_TIME"; readonly DAY: "DAY"; readonly WEEK: "WEEK"; readonly MONTH: "MONTH"; readonly YEAR: "YEAR"; }; /** * The completion status of the job (only set when status is complete) */ export declare const Job_completionStatusObject: { readonly Success: "success"; readonly Failure: "failure"; readonly Partial: "partial"; }; /** * The current status of the job */ export declare const Job_statusObject: { readonly Queued: "queued"; readonly Running: "running"; readonly Complete: "complete"; readonly Failed: "failed"; readonly Cancelled: "cancelled"; }; //# sourceMappingURL=index.d.ts.map