![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@liblab/sdk
Advanced tools
The Typescript SDK for Liblab.
npm install liblab
To see whether an endpoint needs a specific type of authentication check the endpoint's documentation.
The Liblab API uses bearer tokens for authentication, but these bearer tokens have a short expiration time. Refresh tokens have longer duration, and they have the ability to obtain new bearer tokens. The bearer and refresh token can be set when initializing the SDK like this:
sdk = new Liblab('YOUR_REFRESH_TOKEN', 'YOUR_BEARER_TOKEN')
Or at a later stage:
sdk = new Liblab()
sdk.setBearerToken('YOUR_BEARER_TOKEN');
sdk.setRefreshToken('YOUR_REFRESH_TOKEN');
After the refresh token has been set, the SDK will automatically refresh the bearer token when needed.
Here is a simple program demonstrating usage of this SDK. It is also available in the sample.js
file in this directory.
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Org
.getByCurrentUser();
console.log(result);
})();
Here is the list of all available environments:
DEFAULT = 'https://api-dev.liblab.com',
PRODUCTION = 'https://api.liblab.com',
STAGING = 'https://api-staging.liblab.com',
DEVELOPMENT = 'https://api-dev.liblab.com'
How to set the environment:
const sdk = new Liblab();
sdk.setEnvironment(Environment.DEFAULT);
A list of all services and services methods.
Services
Method | Description |
---|---|
buildSdk | |
buildDoc | |
getBuilds | |
getById |
Method | Description |
---|---|
create | |
getApis | |
getById | |
update | |
remove | |
getApiMembers | |
getApiSdks | |
getApiDocs | |
getApiBuilds | |
getApiByOrgSlugAndApiSlug |
Method | Description |
---|---|
create | |
getByCurrentUser | |
getById | |
update | |
remove | |
getApis | |
getPayments | |
getArtifacts | |
getDocs |
Method | Description |
---|---|
createMember | |
getByOrgId | |
updateMember | |
removeMember | |
enableAllMembers | |
disableAllMembers |
Method | Description |
---|---|
create | |
getArtifacts | |
getById | |
remove |
Method | Description |
---|---|
create | |
findSdks | |
getById | |
remove |
Method | Description |
---|---|
getApprovedByOrgSlugAndApiSlug | |
getAllApprovedByOrgSlugAndApiSlug | |
create | |
findDocs | |
approve | |
getById | |
remove | |
update |
Method | Description |
---|---|
signup | |
login | |
logout | |
refreshToken | |
resetPassword | |
oneTimeLogin | |
changePassword | |
verifyEmail | |
resendVerifictionEmail |
Method | Description |
---|---|
getCurrentUser | |
create | |
getUserApis | |
getById | |
update | |
remove |
Method | Description |
---|---|
create | |
findByUserId | |
getById | |
remove |
Method | Description |
---|---|
HealthCheckController_check |
Method | Description |
---|---|
track |
Method | Description |
---|---|
createInvite | |
acceptInvite | |
declineInvite | |
inviteCode | |
getInvitesByUser |
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Build.buildSdk();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Build.buildDoc();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
apiId | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Build.getBuilds(59634700.91996676);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Build.getById(-20126496.688035727);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Api.create();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
orgId | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Api.getApis(-62746750.77052838);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Api.getById(46932958.57907626);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number | |
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Api.update(-41764453.685370564);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Returns a dict object.
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Api.remove(48124821.0190011);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Api.getApiMembers(63941601.55143252);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Api.getApiSdks(-23525260.608993202);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Api.getApiDocs(-87067088.4182359);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Api.getApiBuilds(98791159.60693374);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
orgSlug | string | |
apiSlug | string |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
ApiGetApiByOrgSlugAndApiSlug200Response
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Api.getApiByOrgSlugAndApiSlug(
'consectetur ea mollit aute',
'deserunt cupidatat voluptate Duis',
);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Org.create();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
OrgGetByCurrentUser200Response
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Org.getByCurrentUser();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Org.getById(-15150623.487047985);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number | |
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Org.update(7635786.838635504);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Returns a dict object.
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Org.remove(-84241558.47510129);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Org.getApis(-4583551.752192423);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Org.getPayments(98010434.53537384);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Org.getArtifacts(-84379730.68496332);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Org.getDocs(15514099.348234385);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
orgId | number | |
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.OrgMember.createMember(6044688.852225065);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
orgId | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
OrgmemberGetByOrgId200Response
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.OrgMember.getByOrgId(40775351.606452435);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
memberId | number | |
orgId | number | |
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.OrgMember.updateMember(87983244.94409439, 2684615.95311819);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
memberId | number | |
orgId | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Returns a dict object.
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.OrgMember.removeMember(2045034.0059317052, 21751370.481368154);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
orgId | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.OrgMember.enableAllMembers(27565138.973987937);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
orgId | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.OrgMember.disableAllMembers(-85872598.50076175);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Artifact.create();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
buildId | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
ArtifactGetArtifacts200Response
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Artifact.getArtifacts(90597778.80702743);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Artifact.getById(35092647.0975658);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Returns a dict object.
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Artifact.remove(1459738.4965782166);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Sdk.create();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
offset | number | |
limit | number | |
artifactId | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Sdk.findSdks(
-60473534.49488693,
-28240420.612496614,
-96729935.94518644,
);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Sdk.getById(12852306.619963944);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Returns a dict object.
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Sdk.remove(36040263.85478282);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
orgSlug | string |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|---|---|
apiSlug | string | |
apiVersion | string |
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Doc.getApprovedByOrgSlugAndApiSlug('laboris', {
apiSlug: 'ut',
apiVersion: 'eu sint nisi',
});
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
orgSlug | string |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|---|---|
apiSlug | string | |
apiVersion | string |
Return Type
DocGetAllApprovedByOrgSlugAndApiSlug200Response
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Doc.getAllApprovedByOrgSlugAndApiSlug('dolore', {
apiSlug: 'ea non incididunt aute officia',
apiVersion: 'ullamco irure',
});
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Doc.create();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
offset | number | |
limit | number | |
artifactId | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Doc.findDocs(-73010289.7992203, -96057035.2332199, -83237452.5303173);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
previewSlug | string |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Doc.approve('in Ut');
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Doc.getById(-47505014.54999743);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Doc.remove(-65882340.530661665);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number | |
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Doc.update(-59724388.452076524);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Auth.signup();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Auth.login();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Returns a dict object.
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Auth.logout();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Auth.refreshToken();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Returns a dict object.
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Auth.resetPassword();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Auth.oneTimeLogin();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Auth.changePassword();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Returns a dict object.
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Auth.verifyEmail();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Returns a dict object.
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Auth.resendVerifictionEmail();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.User.getCurrentUser();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.User.create();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.User.getUserApis();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.User.getById(-58436627.95764453);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number | |
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.User.update(80987905.82253394);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Returns a dict object.
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.User.remove(-96664790.1696299);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Token.create();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
userId | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Token.findByUserId(8722124.320271224);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Token.getById(55108577.93535206);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
id | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Returns a dict object.
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Token.remove(-8710355.174106881);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.HealthCheck.healthCheckControllerCheck();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Returns a dict object.
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Event.track();
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
orgId | number | |
input | object | Request body. |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
InvitationResponse InvitationResponse
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Invitation.createInvite(-64698228.28666039);
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
inviteCode | string |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Returns a dict object.
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Invitation.acceptInvite('ullamco in aliquip occaecat');
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
inviteCode | string |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Returns a dict object.
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Invitation.declineInvite('est');
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
inviteCode | string |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Invitation.inviteCode('pariatur');
console.log(result);
})();
Required Parameters
Name | Type | Description |
---|---|---|
offset | number | |
limit | number |
Optional Parameters
Optional parameters are passed as part of the last parameter to the method. Ex. {optionalParam1 : 'value1', optionalParam2: 'value2'}
Name | Type | Description |
---|
Return Type
InvitationGetInvitesByUser200Response
Example Usage Code Snippet
import { Liblab } from './src';
const sdk = new Liblab();
(async () => {
const result = await sdk.Invitation.getInvitesByUser(-83779445.8852048, 61874668.19490507);
console.log(result);
})();
FAQs
Liblab
The npm package @liblab/sdk receives a total of 0 weekly downloads. As such, @liblab/sdk popularity was classified as not popular.
We found that @liblab/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.