import { Api } from '../api'; import { CreatedJobStatus, DocumentQueryParams, ICustomerOrderLine, IDocumentInfo, IHandlingUnit, IOperation, IOSMMaterial, IPurchaseOrderLine, IRequisitionStatus, IRoutingAlternate, IShipment, IShipmentLine, IShopOrder, IShopOrderPartBreakdown, ISupplierInfo, JobOutput, JobsOutputResponse, OperationsQueryParams, OSMMaterialsQueryParams, PresignedUrlData, PresignedUrlResponse, RoutingAlternatesQueryParams, SmbFolderNode, SupplierQueryParams } from './imi.interface'; import { DocumentFileLookupResult, IJobOrderData, SmbShareListingResponse } from './imi_sti.interface'; export declare const IMI_API = "/imi"; export declare const SMB_API = "/service/smb"; export declare class IMI { api: Api; constructor(api: Api); getJobsStatus(jobIds: number[]): Promise, JobsOutputResponse>>; createJobs(shopOrders: [string, string][]): Promise, JobsOutputResponse>>; getJobOutputs(jobIds: number[]): Promise, JobsOutputResponse>>; getAllJobsOutputs(): Promise, JobsOutputResponse>>; getDocumentInfo(params: DocumentQueryParams): Promise>; uploadExternalFilesUrl(data: PresignedUrlData): Promise>; getShopOrders(contract: string, shopOrders: string[]): Promise>; /** * Always returns an IOperation[] body, for both branches. * * Status-branch calls (`{ status, contract, limit?, offset? }`) return the * current page as the array, with the total count across all pages in the * `x-count` response header — read it off `res.headers['x-count']`. * Callers already know the `limit`/`offset` they requested, so page * through until `offset + rows.length >= total`. * * Shop-order-branch calls (`{ contract, shopOrder }`) return all operations * for that shop order, unpaginated; there's no `x-count` header for these. */ getOperations(params: OperationsQueryParams): Promise>; getRoutingAlternates(params: RoutingAlternatesQueryParams): Promise>; getHandlingUnits(params: { contract: string; shipment: string; }): Promise>; getCustomerOrderLine(params: { shopOrder: string; }): Promise>; getShipments(params: { contract: string; shipments: string[]; }): Promise>; getSupplier(params: SupplierQueryParams): Promise>; getShipmentLines(params: { shipmentId: string; }): Promise>; getPurchaseOrderLines(params: { contract: string; purchaseOrderId: string; }): Promise>; getShopOrderPartBreakdown(contract: string, shopOrders: string[]): Promise>; getOSMMaterials(params: OSMMaterialsQueryParams): Promise>; getRequisitionsStatus(contract: string, requisitions: string[]): Promise>; getJobOrderListing(jobOrderNo: string): Promise>; getJobOrderData(jobOrderNo: string): Promise>; getDocumentFileNames(jobOrderNo: string, lineNos: string[] | undefined, classCode: string): Promise>; listSmbFilesByPrefix(logicalShareName: string, prefix: string): Promise>; getSmbFileUrl(logicalShareName: string, shareRelativePath: string): string; }