@lucidtech/las-sdk-core
Advanced tools
Comparing version 7.1.6 to 8.0.0
@@ -492,4 +492,4 @@ /// <reference types="node" /> | ||
* @param fieldConfig Specification of the fields that the model is going to predict | ||
* @param width The number of pixels to be used for the input image width of your model | ||
* @param height The number of pixels to be used for the input image height of your model | ||
* @param options.width The number of pixels to be used for the input image width of your model | ||
* @param options.height The number of pixels to be used for the input image height of your model | ||
* @param options.description Description of the model | ||
@@ -500,3 +500,3 @@ * @param options.name Name of the model | ||
*/ | ||
createModel(fieldConfig: FieldConfig, width: number, height: number, options?: CreateModelOptions): Promise<Model>; | ||
createModel(fieldConfig: FieldConfig, options?: CreateModelOptions): Promise<Model>; | ||
/** | ||
@@ -503,0 +503,0 @@ * Get model from the REST API, calls the GET /models/{modelId} endpoint. |
@@ -807,4 +807,4 @@ "use strict"; | ||
* @param fieldConfig Specification of the fields that the model is going to predict | ||
* @param width The number of pixels to be used for the input image width of your model | ||
* @param height The number of pixels to be used for the input image height of your model | ||
* @param options.width The number of pixels to be used for the input image width of your model | ||
* @param options.height The number of pixels to be used for the input image height of your model | ||
* @param options.description Description of the model | ||
@@ -815,5 +815,5 @@ * @param options.name Name of the model | ||
*/ | ||
createModel(fieldConfig, width, height, options) { | ||
createModel(fieldConfig, options) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
let body = { fieldConfig, width, height }; | ||
let body = { fieldConfig }; | ||
if (options) { | ||
@@ -820,0 +820,0 @@ body = Object.assign(Object.assign({}, body), options); |
@@ -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 }); |
@@ -376,2 +376,3 @@ /// <reference types="node" /> | ||
documentRetentionInDays: number; | ||
monthlyNumberOfActiveModelsUsed: number; | ||
monthlyNumberOfDataBundlesAllowed: number; | ||
@@ -381,2 +382,4 @@ monthlyNumberOfDataBundlesCreated: number; | ||
monthlyNumberOfDocumentsCreated: number; | ||
monthlyNumberOfFieldPredictionsUsed: number; | ||
monthlyNumberOfGpuHoursUsed: number; | ||
monthlyNumberOfPredictionsAllowed: number; | ||
@@ -463,5 +466,6 @@ monthlyNumberOfPredictionsCreated: number; | ||
export declare type Field = { | ||
description: string; | ||
maxLength: number; | ||
type: 'all' | 'alphanum' | 'alphanumext' | 'amount' | 'date' | 'letter' | 'number' | 'phone' | 'string' | 'digits'; | ||
description?: string; | ||
maxLength?: number; | ||
enum?: Array<string>; | ||
type: 'all' | 'alphanum' | 'alphanumext' | 'amount' | 'date' | 'digits' | 'enum' | 'letter' | 'number' | 'phone' | 'string'; | ||
}; | ||
@@ -472,2 +476,4 @@ export declare type FieldConfig = Record<string, Field>; | ||
name?: string; | ||
width?: number; | ||
height?: number; | ||
preprocessConfig?: PreprocessConfig; | ||
@@ -553,5 +559,5 @@ metadata?: Record<string, JSONValue> | null; | ||
gpuHours?: Record<any, any>; | ||
fieldPredictions?: Record<any, any>; | ||
activeModels?: Record<any, any>; | ||
description?: string | null; | ||
predictions?: Record<any, any>; | ||
}; | ||
@@ -558,0 +564,0 @@ export declare type PlanList = { |
"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": "7.1.6", | ||
"version": "8.0.0", | ||
"author": "Lucidtech AS <hello@lucidtech.ai>", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2445
116585