@limai.io/cli 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -314,12 +314,15 @@ type Deployment = {
314
314
  type DeploymentConfig = {
315
315
  id: string;
316
316
  modelName?: string;
317
+ /** @deprecated Ignored by the API; responses always echo 1. */
317
318
  temperature?: number;
318
319
  thinkingBudget?: number | null;
320
+ reasoningLevel?: "LOW" | "MEDIUM" | "HIGH";
319
321
  instructions?: string;
320
322
  writeMode?: string;
321
323
  bigTableExtraction?: string;
322
324
  useDynamicMapping?: boolean;
325
+ nestedExtraction?: "PER_PARENT_ROW" | "ONE_SHOT";
323
326
  bboxTier?: "OFF" | "FAST" | "BALANCED" | "PRO";
324
327
  parsePdf?: boolean;
325
328
  markdownConversionType?: "BASIC" | "PRO";
@@ -333,6 +336,8 @@ type DeploymentConfig = {
333
336
  extractionRunsCount?: number;
334
337
  maxPagesToProcess?: number | null;
335
338
  enableFilenameInExtraction?: boolean;
339
+ emailBodySplit?: boolean;
340
+ emailNestedExtraction?: "PER_PARENT_ROW" | "ONE_SHOT" | null;
336
341
  useExamples?: boolean;
337
342
  numberOfExamples?: number;
338
343
  includeExampleDiff?: boolean;
@@ -341,6 +346,7 @@ type DeploymentConfig = {
341
346
  setAllCorrectionsAsExamples?: boolean;
342
347
  updatedAt?: string;
343
348
  };
349
+ type DeploymentConfigUpdate = Partial<Omit<DeploymentConfig, "temperature">>;
344
350
  type DeploymentConfigurationColumn = {
345
351
  id: string;
346
352
  name: string;
@@ -869,7 +875,7 @@ declare class DeploymentsResource {
869
875
  list(projectId: string, opts?: ListDeploymentsOpts): Promise<Deployment[]>;
870
876
  create(projectId: string, body: CreateDeploymentBody): Promise<Deployment>;
871
877
  getConfig(deploymentId: string): Promise<DeploymentConfig>;
872
- updateConfig(deploymentId: string, body: Partial<DeploymentConfig>): Promise<void>;
878
+ updateConfig(deploymentId: string, body: DeploymentConfigUpdate): Promise<void>;
873
879
  listDocuments(deploymentId: string, opts?: ListDocumentsOpts): Promise<OffsetPaginatedResponse<Document>>;
874
880
  getDocument(deploymentId: string, fileId: string): Promise<Document>;
875
881
  deleteDocument(deploymentId: string, fileId: string): Promise<void>;
@@ -1024,7 +1030,7 @@ declare class SchemaResource {
1024
1030
  private http;
1025
1031
  constructor(http: HttpClient);
1026
1032
  get(deploymentId: string): Promise<DeploymentConfiguration>;
1027
- update(deploymentId: string, body: Partial<DeploymentConfig>): Promise<DeploymentConfig>;
1033
+ update(deploymentId: string, body: DeploymentConfigUpdate): Promise<DeploymentConfig>;
1028
1034
  getAllData(deploymentId: string): Promise<unknown>;
1029
1035
  }
1030
1036
 
@@ -1697,4 +1703,4 @@ declare class UploadError extends LimaiError {
1697
1703
  }
1698
1704
  declare function mapHttpError(status: number, message: string, details?: unknown): LimaiError;
1699
1705
 
1700
- export { type Agent, type AgentDeploymentRoute, type AgentDetail, type AgentFile, type AgentIntegrationConfig, type AgentRole, type AgentRowData, type AgentRun, type AgentRunConversation, type AgentRunDetail, type AgentRunInferenceLog, type AgentRunInferenceLogSummary, type AgentRunInferenceLogs, type AgentRunStatus, type AgentSkill, type AgentSkillLinkedFile, type AgentStatus, type AgentStep, type AgentStepType, type AgentSubmission, type AgentTriggerType, AuthError, type Bucket, type BucketFile, type BulkFileResult, type BulkFlatDocumentDataResponse, type BulkGetFilesDataResponse, type BulkProcessResponse, type BulkProcessResult, type BulkUploadFileStatus, type BulkUploadResult, type CellBoundingBox, type CellConfidence, type CellValidation, type CellValue, type ClassificationAsyncResponse, type ClassificationResult, type ClassificationStatus, type Column, type ColumnInput, type ColumnLabel, type ColumnUnit, type ColumnUpdateInput, ConflictError, type CreateRowInput, type CreateRowsRequest, type CreateRowsResponse, type DeleteRowsRequest, type DeleteRowsResponse, type Deployment, type DeploymentConfig, type DeploymentConfiguration, type DeploymentConfigurationColumn, type DeploymentConfigurationTable, type DeploymentStatus, type DeploymentType, type Document, type ExtractionRow, type ExtractionsResponse, type FileData, type FileStatus, type FileValidationCheck, type FileValidations, type FlatCellData, type FlatCellValidation, type FlatDocumentDataResponse, type FlatDocumentEntry, type FlatFileValidations, type FlatRow, ForbiddenError, type GetUrlResponse, HttpClient, type IncludeOption, type JobContext, type JobContextColumn, type JobContextTable, JobPoller, type JobStatus, type JobStatusValue, LimaiClient, type LimaiClientConfig, type LimaiConfig, LimaiError, NotFoundError, type OffsetPaginatedResponse, type OffsetPagination, type PagePaginatedResponse, type PagePagination, type PaginationOptions, type PollOptions, type ProcessFileAsyncResponse, type ProcessOptions, type Project, RateLimitError, type Row, SSEClient, ServerError, type SplitAsyncResponse, type SplitResult, type SplitSegment, type SplitStatus, type StageStatus, type Table, type TableData, TimeoutError, type UpdateStatusRequest, type UpdateStatusResponse, UploadError, type UploadResult, ValidationError, type ValidationResult, collectAll, getDeploymentId, getFileId, getJobId, loadConfig, loadJobContext, mapHttpError, paginateOffset, paginatePage, requireConfig, saveConfig, validateSubmission };
1706
+ export { type Agent, type AgentDeploymentRoute, type AgentDetail, type AgentFile, type AgentIntegrationConfig, type AgentRole, type AgentRowData, type AgentRun, type AgentRunConversation, type AgentRunDetail, type AgentRunInferenceLog, type AgentRunInferenceLogSummary, type AgentRunInferenceLogs, type AgentRunStatus, type AgentSkill, type AgentSkillLinkedFile, type AgentStatus, type AgentStep, type AgentStepType, type AgentSubmission, type AgentTriggerType, AuthError, type Bucket, type BucketFile, type BulkFileResult, type BulkFlatDocumentDataResponse, type BulkGetFilesDataResponse, type BulkProcessResponse, type BulkProcessResult, type BulkUploadFileStatus, type BulkUploadResult, type CellBoundingBox, type CellConfidence, type CellValidation, type CellValue, type ClassificationAsyncResponse, type ClassificationResult, type ClassificationStatus, type Column, type ColumnInput, type ColumnLabel, type ColumnUnit, type ColumnUpdateInput, ConflictError, type CreateRowInput, type CreateRowsRequest, type CreateRowsResponse, type DeleteRowsRequest, type DeleteRowsResponse, type Deployment, type DeploymentConfig, type DeploymentConfigUpdate, type DeploymentConfiguration, type DeploymentConfigurationColumn, type DeploymentConfigurationTable, type DeploymentStatus, type DeploymentType, type Document, type ExtractionRow, type ExtractionsResponse, type FileData, type FileStatus, type FileValidationCheck, type FileValidations, type FlatCellData, type FlatCellValidation, type FlatDocumentDataResponse, type FlatDocumentEntry, type FlatFileValidations, type FlatRow, ForbiddenError, type GetUrlResponse, HttpClient, type IncludeOption, type JobContext, type JobContextColumn, type JobContextTable, JobPoller, type JobStatus, type JobStatusValue, LimaiClient, type LimaiClientConfig, type LimaiConfig, LimaiError, NotFoundError, type OffsetPaginatedResponse, type OffsetPagination, type PagePaginatedResponse, type PagePagination, type PaginationOptions, type PollOptions, type ProcessFileAsyncResponse, type ProcessOptions, type Project, RateLimitError, type Row, SSEClient, ServerError, type SplitAsyncResponse, type SplitResult, type SplitSegment, type SplitStatus, type StageStatus, type Table, type TableData, TimeoutError, type UpdateStatusRequest, type UpdateStatusResponse, UploadError, type UploadResult, ValidationError, type ValidationResult, collectAll, getDeploymentId, getFileId, getJobId, loadConfig, loadJobContext, mapHttpError, paginateOffset, paginatePage, requireConfig, saveConfig, validateSubmission };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limai.io/cli",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "CLI and SDK for the LimAI data extraction platform",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",