@lucidtech/las-sdk-core
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -9,3 +9,5 @@ import { Credentials } from './credentials'; | ||
postPredictions(documentId: string, modelName: string): Promise<any>; | ||
getProcesses(): Promise<any>; | ||
getProcesses(search?: { | ||
[key: string]: string; | ||
}): Promise<any>; | ||
postProcesses(stateMachineArn: string, inputData: any): Promise<any>; | ||
@@ -12,0 +14,0 @@ postTasks(activityArn: string): Promise<any>; |
@@ -7,2 +7,3 @@ "use strict"; | ||
var axios_1 = __importDefault(require("axios")); | ||
var utils_1 = require("./utils"); | ||
var Client = /** @class */ (function () { | ||
@@ -31,4 +32,5 @@ function Client(apiEndpoint, credentials) { | ||
}; | ||
Client.prototype.getProcesses = function () { | ||
return this.makeGetRequest('/processes'); | ||
Client.prototype.getProcesses = function (search) { | ||
var url = utils_1.buildURL('/processes', search); | ||
return this.makeGetRequest(url); | ||
}; | ||
@@ -35,0 +37,0 @@ Client.prototype.postProcesses = function (stateMachineArn, inputData) { |
{ | ||
"name": "@lucidtech/las-sdk-core", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"author": "Lucidtech AS <hello@lucidtech.ai>", | ||
@@ -22,3 +22,4 @@ "maintainers": [ | ||
"axios": "^0.19.0" | ||
} | ||
}, | ||
"gitHead": "010fe6de6318379747a90176e376d94261130d22" | ||
} |
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
31954
22
524