@lucidtech/las-sdk-core
Advanced tools
Comparing version 9.0.1 to 9.0.2
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { TokenStorage } from './storage'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Credentials, Token } from './credentials'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export { Credentials, Token } from './credentials'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Token } from './credentials'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -44,3 +44,3 @@ /// <reference types="node" /> | ||
export declare type UpdateDocumentOptions = RequestConfig & { | ||
groundTruth?: GroundTruth; | ||
groundTruth?: GroundTruth | null; | ||
retentionInDays?: number; | ||
@@ -59,2 +59,4 @@ name?: string | null; | ||
datasetId?: string | Array<string>; | ||
order?: 'ascending' | 'descending'; | ||
sortBy?: 'createdTime'; | ||
}; | ||
@@ -249,2 +251,4 @@ export declare type DeleteDocumentOptions = RequestConfig; | ||
export declare type PredictionResponse = { | ||
createdBy: string | null; | ||
createdTime: string | null; | ||
documentId: string; | ||
@@ -258,3 +262,6 @@ inferenceTime: number; | ||
}; | ||
export declare type ListPredictionsOptions = RequestConfig & PaginationOptions; | ||
export declare type ListPredictionsOptions = RequestConfig & PaginationOptions & { | ||
order?: 'ascending' | 'descending'; | ||
sortBy?: 'createdTime'; | ||
}; | ||
export declare type PredictionList = { | ||
@@ -261,0 +268,0 @@ predictions: Array<PredictionResponse>; |
"use strict"; | ||
/* eslint-disable @typescript-eslint/no-explicit-any */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
export declare type BuildURLParams = Record<string, undefined | string | Array<string> | number>; | ||
export declare function buildURL(url: string, params?: BuildURLParams): string; | ||
export declare function wait(ms: number): Promise<void>; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "@lucidtech/las-sdk-core", | ||
"version": "9.0.1", | ||
"version": "9.0.2", | ||
"author": "Lucidtech AS <hello@lucidtech.ai>", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
2458
117082