import { type Job, type Pagination } from '../../../models/index.js'; import { type WithJobItemRequestBuilder } from './item/index.js'; import { type AdditionalDataHolder, type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, 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 {JobsGetResponse} */ export declare function createJobsGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @param JobsGetResponse The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoJobsGetResponse(jobsGetResponse?: Partial | undefined): Record void>; export type GetSortQueryParameterType = (typeof GetSortQueryParameterTypeObject)[keyof typeof GetSortQueryParameterTypeObject]; export interface JobsGetResponse extends AdditionalDataHolder, Parsable { /** * The pagination property */ pagination?: Pagination | null; /** * The results property */ results?: Job[] | null; } /** * Builds and executes requests for operations under /accounts/{accountId}/jobs */ export interface JobsRequestBuilder extends BaseRequestBuilder { /** * Gets an item from the Autodesk.ACC.DataConnector.accounts.item.jobs.item collection * @param jobId The job ID * @returns {WithJobItemRequestBuilder} */ byJobId(jobId: Guid): WithJobItemRequestBuilder; /** * Retrieves a paginated list of all jobs spawned by the authenticated user's data requests.Supports filtering, sorting, and pagination parameters.**Response Body**: Paginated array of job objects * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Retrieves a paginated list of all jobs spawned by the authenticated user's data requests.Supports filtering, sorting, and pagination parameters.**Response Body**: Paginated array of job objects * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Retrieves a paginated list of all jobs spawned by the authenticated user's data requests.Supports filtering, sorting, and pagination parameters.**Response Body**: Paginated array of job objects */ export interface JobsRequestBuilderGetQueryParameters { /** * Return only the Data Connector jobs in which the specified field has the specified value */ filtercompletedAt?: string; /** * Return only the Data Connector jobs in which the specified field has the specified value */ filtercompletionStatus?: string; /** * Return only the Data Connector jobs in which the specified field has the specified value */ filtercreatedAt?: string; /** * Return only the Data Connector jobs in which the specified field has the specified value */ filterendDate?: string; /** * Return only the Data Connector jobs in which the specified field has the specified value */ filterprojectId?: string; /** * Return only the Data Connector jobs in which the specified field has the specified value */ filterstartDate?: string; /** * Return only the Data Connector jobs in which the specified field has the specified value */ filterstartedAt?: string; /** * Return only the Data Connector jobs in which the specified field has the specified value */ filterstatus?: string; /** * The number of data connector objects to return */ limit?: number; /** * The number of data objects to skip before starting to collect the result set */ offset?: number; /** * Project ID of the returned Data Connector objects */ projectId?: string; /** * The sort order of returned data connector objects */ sort?: GetSortQueryParameterType; /** * A string of comma-separated names of the fields by which to sort the returned jobs */ sortFields?: string; } /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param JobsGetResponse The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializeJobsGetResponse(writer: SerializationWriter, jobsGetResponse?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Uri template for the request builder. */ export declare const JobsRequestBuilderUriTemplate = "{+baseurl}/accounts/{accountId}/jobs{?filter%5BcompletedAt%5D*,filter%5BcompletionStatus%5D*,filter%5BcreatedAt%5D*,filter%5BendDate%5D*,filter%5BprojectId%5D*,filter%5BstartDate%5D*,filter%5BstartedAt%5D*,filter%5Bstatus%5D*,limit*,offset*,projectId*,sort*,sortFields*}"; export declare const GetSortQueryParameterTypeObject: { readonly Asc: "asc"; readonly Desc: "desc"; }; /** * Metadata for all the navigation properties in the request builder. */ export declare const JobsRequestBuilderNavigationMetadata: Record, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const JobsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map