Browse Source

chore: build sdk

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5239/head
Pranav C 2 years ago
parent
commit
db1a9984b2
  1. 52
      packages/nocodb-sdk/src/lib/Api.ts

52
packages/nocodb-sdk/src/lib/Api.ts

@ -651,7 +651,7 @@ export interface HookReqType {
env?: string;
event: 'after' | 'before';
operation: 'insert' | 'delete' | 'update';
async?: BoolType;
async?: string | number | null;
notification: object;
retries?: number;
retry_interval?: number;
@ -1095,8 +1095,8 @@ export class Api<
> extends HttpClient<SecurityDataType> {
auth = {
/**
* @description Create a new user with provided email and password and first user is marked as super admin.
*
* @description Create a new user with provided email and password and first user is marked as super admin.
*
* @tags Auth
* @name Signup
* @summary Signup
@ -1130,7 +1130,7 @@ export class Api<
/**
* @description Clear refresh token from the database and cookie.
*
*
* @tags Auth
* @name Signout
* @summary Signout
@ -1154,8 +1154,8 @@ export class Api<
}),
/**
* @description Authenticate existing user with their email and password. Successful login will return a JWT access-token.
*
* @description Authenticate existing user with their email and password. Successful login will return a JWT access-token.
*
* @tags Auth
* @name Signin
* @summary Signin
@ -1231,7 +1231,7 @@ export class Api<
/**
* @description Change password of authenticated user with a new one.
*
*
* @tags Auth
* @name PasswordChange
* @summary Password change
@ -1334,7 +1334,7 @@ export class Api<
/**
* No description
*
*
* @tags Auth
* @name ProjectUserList
* @summary Project users
@ -1455,7 +1455,7 @@ export class Api<
orgTokens = {
/**
* No description
*
*
* @tags Org tokens
* @name List
* @summary Organisation API Tokens List
@ -1525,7 +1525,7 @@ export class Api<
orgLicense = {
/**
* No description
*
*
* @tags Org license
* @name Get
* @summary App license get
@ -1569,7 +1569,7 @@ export class Api<
orgAppSettings = {
/**
* No description
*
*
* @tags Org app settings
* @name Get
* @summary App settings get
@ -1618,7 +1618,7 @@ export class Api<
orgUsers = {
/**
* No description
*
*
* @tags Org users
* @name List
* @summary Organisation Users
@ -1723,7 +1723,7 @@ export class Api<
/**
* No description
*
*
* @tags Org users
* @name GeneratePasswordResetToken
* @summary Organisation User Generate Password Reset Token
@ -1751,7 +1751,7 @@ export class Api<
project = {
/**
* No description
*
*
* @tags Project
* @name MetaGet
* @summary Project info
@ -1936,7 +1936,7 @@ export class Api<
/**
* @description Read project details
*
*
* @tags Project
* @name SharedBaseGet
* @request GET:/api/v1/db/meta/projects/{projectId}/shared
@ -2004,7 +2004,7 @@ export class Api<
/**
* No description
*
*
* @tags Project
* @name SharedBaseUpdate
* @request PATCH:/api/v1/db/meta/projects/{projectId}/shared
@ -2106,7 +2106,7 @@ export class Api<
/**
* No description
*
*
* @tags Project
* @name AuditList
* @request GET:/api/v1/db/meta/projects/{projectId}/audits
@ -2998,7 +2998,7 @@ export class Api<
/**
* No description
*
*
* @tags DB view share
* @name Create
* @request POST:/api/v1/db/meta/views/{viewId}/share
@ -3117,7 +3117,7 @@ export class Api<
dbTableSort = {
/**
* No description
*
*
* @tags DB table sort
* @name List
* @request GET:/api/v1/db/meta/views/{viewId}/sorts
@ -4318,7 +4318,7 @@ export class Api<
/**
* @description Read project details
*
*
* @tags Public
* @name SharedBaseGet
* @request GET:/api/v1/db/public/shared-base/{sharedBaseUuid}/meta
@ -4342,7 +4342,7 @@ export class Api<
/**
* No description
*
*
* @tags Public
* @name SharedViewMetaGet
* @request GET:/api/v1/db/public/shared-view/{sharedViewUuid}/meta
@ -4475,7 +4475,7 @@ export class Api<
/**
* No description
*
*
* @tags Utils
* @name TestConnection
* @request POST:/api/v1/db/meta/connection/test
@ -4585,7 +4585,7 @@ export class Api<
/**
* No description
*
*
* @tags Utils
* @name AggregatedMetaInfo
* @request GET:/api/v1/aggregated-meta-info
@ -4702,7 +4702,7 @@ export class Api<
dbTableWebhook = {
/**
* No description
*
*
* @tags DB table webhook
* @name List
* @request GET:/api/v1/db/meta/tables/{tableId}/hooks
@ -4768,7 +4768,7 @@ export class Api<
/**
* No description
*
*
* @tags DB table webhook
* @name SamplePayloadGet
* @request GET:/api/v1/db/meta/tables/{tableId}/hooks/samplePayload/{operation}
@ -4837,7 +4837,7 @@ export class Api<
plugin = {
/**
* No description
*
*
* @tags Plugin
* @name List
* @request GET:/api/v1/db/meta/plugins

Loading…
Cancel
Save