Socket
Socket
Sign inDemoInstall

@lucidtech/las-sdk-core

Package Overview
Dependencies
6
Maintainers
2
Versions
113
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 13.0.0 to 13.1.0

lib/types/role.d.ts

14

lib/client.d.ts

@@ -6,2 +6,3 @@ /// <reference types="node" />

import type { AppClient, AppClientList, Asset, AssetList, ContentType, CreateAppClientOptions, CreateAssetOptions, CreateDataBundleOptions, CreateDatasetOptions, CreateDocumentOptions, CreateModelOptions, CreatePaymentMethodOptions, CreatePredictionsOptions, CreateSecretOptions, CreateTrainingOption, CreateTransitionOptions, CreateUserOptions, CreateWorkflowOptions, DataBundle, DataBundleList, Dataset, DatasetList, DeleteAppClientOptions, DeleteAssetOptions, DeleteDataBundleOptions, DeleteDatasetOptions, DeleteDocumentOptions, DeleteDocumentsOptions, DeleteModelOptions, DeleteTransitionOptions, DeleteUserOptions, DeleteWorkflowExecution, DeleteWorkflowOptions, DeploymentEnvironment, DeploymentEnvironmentList, ExecuteTransitionOptions, ExecuteWorkflowOptions, FieldConfig, GetAssetOptions, GetDatasetOptions, GetDeploymentEnvironmentOptions, GetDocumentOptions, GetLogOptions, GetModelOptions, GetOrganizationOptions, GetTransitionExecutionOptions, GetTransitionOptions, GetUserOptions, GetWorkflowExecutionOptions, GetWorkflowOptions, LasDocument, LasDocumentList, LasDocumentWithoutContent, ListAppClientsOptions, ListAssetsOptions, ListDataBundleOptions, ListDatasetsOptions, ListDeploymentEnvironmentsOptions, ListDocumentsOptions, ListModelsOptions, ListPaymentMethodsOptions, ListPlansOptions, ListPredictionsOptions, ListSecretsOptions, ListTrainingsOptions, ListTransitionOptions, ListUsersOptions, ListWorkflowExecutionsOptions, ListWorkflowOptions, Log, Model, ModelList, Organization, PaymentMethod, PaymentMethodList, Plan, PlanList, PostHeartbeatOptions, PredictionList, PredictionResponse, Secret, SecretList, Training, Transition, TransitionExecution, TransitionExecutionList, TransitionExecutionListOptions, TransitionList, TransitionType, UpdateAppClientOptions, UpdateAssetOptions, UpdateDataBundleOptions, UpdateDatasetOptions, UpdateDocumentOptions, UpdateModelOptions, UpdateOrganizationOptions, UpdatePaymentMethodOptions, UpdateSecretOptions, UpdateTrainingOptions, UpdateTransitionExecution, UpdateTransitionOptions, UpdateUserOptions, UpdateWorkflowExecutionOptions, UpdateWorkflowOptions, User, UserList, Workflow, WorkflowExecution, WorkflowExecutionList, WorkflowList, WorkflowSpecification } from './types';
import { GetRoleOptions, ListRoleOptions, Role, RoleList } from './types/role';
/**

@@ -648,2 +649,15 @@ * A high-level http client for communicating with the Lucidtech REST API

/**
* List roles, calls the GET /roles endpoint.
* @param options Request options
* @returns Roles response from REST API
*/
listRoles(options?: ListRoleOptions): Promise<RoleList>;
/**
* Get role, calls the GET /roles/{roleId} endpoint.
* @param roleId Id of the role
* @param options Request options
* @returns Role response from REST API
*/
getRole(roleId: string, options?: GetRoleOptions): Promise<Role>;
/**
* Updates a secret, calls the PATCH /secrets/{secretId} endpoint.

@@ -650,0 +664,0 @@ *

@@ -1047,2 +1047,23 @@ "use strict";

/**
* List roles, calls the GET /roles endpoint.
* @param options Request options
* @returns Roles response from REST API
*/
listRoles(options) {
return __awaiter(this, void 0, void 0, function* () {
return this.makeGetRequest('/roles', options);
});
}
/**
* Get role, calls the GET /roles/{roleId} endpoint.
* @param roleId Id of the role
* @param options Request options
* @returns Role response from REST API
*/
getRole(roleId, options) {
return __awaiter(this, void 0, void 0, function* () {
return this.makeGetRequest(`/roles/${roleId}`, options);
});
}
/**
* Updates a secret, calls the PATCH /secrets/{secretId} endpoint.

@@ -1049,0 +1070,0 @@ *

3

lib/types/appClient.d.ts

@@ -10,2 +10,3 @@ import { PaginationOptions, RequestConfig } from './common';

name?: string;
roleIds?: Array<string>;
};

@@ -17,2 +18,3 @@ export type UpdateAppClientOptions = RequestConfig & {

name?: string;
roleIds?: Array<string>;
};

@@ -32,2 +34,3 @@ export type AppClient = {

name: string | null;
roleIds: Array<string>;
updatedBy: string | null;

@@ -34,0 +37,0 @@ updatedTime: string | null;

@@ -10,2 +10,3 @@ import { JSONValue, PaginationOptions, RequestConfig } from './common';

profileId: string | null;
roleIds: Array<string>;
updatedBy: string | null;

@@ -20,2 +21,3 @@ updatedTime: string | null;

name?: string;
roleIds?: Array<string>;
};

@@ -26,2 +28,3 @@ export type UpdateUserOptions = RequestConfig & {

name?: string | null;
roleIds?: Array<string>;
};

@@ -28,0 +31,0 @@ export type ListUsersOptions = RequestConfig & PaginationOptions;

5

package.json
{
"name": "@lucidtech/las-sdk-core",
"version": "13.0.0",
"version": "13.1.0",
"author": "Lucidtech AS <hello@lucidtech.ai>",

@@ -19,4 +19,3 @@ "maintainers": [

"buffer": "^6.0.3",
"js-base64": "^3.7.5",
"node-abort-controller": "^3.0.1"
"js-base64": "^3.7.5"
},

@@ -23,0 +22,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc