Browse Source

chore: generate sdk file

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

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

@ -139,7 +139,13 @@ export interface ViewType {
show_system_fields?: boolean;
lock_type?: 'collaborative' | 'locked' | 'personal';
type?: number;
view?: FormType | GridType | GalleryType | KanbanType | MapType;
view?:
| FormType
| GridType
| GalleryType
| KanbanType
| MapType
| (FormType & GridType & GalleryType & KanbanType & MapType);
}
export interface TableInfoType {
@ -1021,8 +1027,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
@ -1061,8 +1067,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
@ -1149,7 +1155,7 @@ export class Api<
/**
* @description Change password of authenticated user with a new one.
*
*
* @tags Auth
* @name PasswordChange
* @summary Password change
@ -1260,7 +1266,7 @@ export class Api<
/**
* No description
*
*
* @tags Auth
* @name ProjectUserList
* @summary Project users
@ -1381,7 +1387,7 @@ export class Api<
orgTokens = {
/**
* No description
*
*
* @tags Org tokens
* @name List
* @summary Organisation API Tokens List
@ -1451,7 +1457,7 @@ export class Api<
orgLicense = {
/**
* No description
*
*
* @tags Org license
* @name Get
* @summary App license get
@ -1500,7 +1506,7 @@ export class Api<
orgAppSettings = {
/**
* No description
*
*
* @tags Org app settings
* @name Get
* @summary App settings get
@ -1549,7 +1555,7 @@ export class Api<
orgUsers = {
/**
* No description
*
*
* @tags Org users
* @name List
* @summary Organisation Users
@ -1650,7 +1656,7 @@ export class Api<
/**
* No description
*
*
* @tags Org users
* @name GeneratePasswordResetToken
* @summary Organisation User Generate Password Reset Token
@ -1678,7 +1684,7 @@ export class Api<
project = {
/**
* No description
*
*
* @tags Project
* @name MetaGet
* @summary Project info
@ -1863,7 +1869,7 @@ export class Api<
/**
* @description Read project details
*
*
* @tags Project
* @name SharedBaseGet
* @request GET:/api/v1/db/meta/projects/{projectId}/shared
@ -1906,7 +1912,7 @@ export class Api<
/**
* No description
*
*
* @tags Project
* @name SharedBaseCreate
* @request POST:/api/v1/db/meta/projects/{projectId}/shared
@ -1943,7 +1949,7 @@ export class Api<
/**
* No description
*
*
* @tags Project
* @name SharedBaseUpdate
* @request PATCH:/api/v1/db/meta/projects/{projectId}/shared
@ -2045,7 +2051,7 @@ export class Api<
/**
* No description
*
*
* @tags Project
* @name AuditList
* @request GET:/api/v1/db/meta/projects/{projectId}/audits
@ -2925,7 +2931,7 @@ export class Api<
/**
* No description
*
*
* @tags DB view share
* @name Create
* @request POST:/api/v1/db/meta/views/{viewId}/share
@ -3044,7 +3050,7 @@ export class Api<
dbTableSort = {
/**
* No description
*
*
* @tags DB table sort
* @name List
* @request GET:/api/v1/db/meta/views/{viewId}/sorts
@ -4241,7 +4247,7 @@ export class Api<
/**
* @description Read project details
*
*
* @tags Public
* @name SharedBaseGet
* @request GET:/api/v1/db/public/shared-base/{sharedBaseUuid}/meta
@ -4265,7 +4271,7 @@ export class Api<
/**
* No description
*
*
* @tags Public
* @name SharedViewMetaGet
* @request GET:/api/v1/db/public/shared-view/{sharedViewUuid}/meta
@ -4411,7 +4417,7 @@ export class Api<
/**
* No description
*
*
* @tags Utils
* @name TestConnection
* @request POST:/api/v1/db/meta/connection/test
@ -4521,7 +4527,7 @@ export class Api<
/**
* No description
*
*
* @tags Utils
* @name AggregatedMetaInfo
* @request GET:/api/v1/aggregated-meta-info
@ -4638,7 +4644,7 @@ export class Api<
dbTableWebhook = {
/**
* No description
*
*
* @tags DB table webhook
* @name List
* @request GET:/api/v1/db/meta/tables/{tableId}/hooks
@ -4710,7 +4716,7 @@ export class Api<
/**
* No description
*
*
* @tags DB table webhook
* @name SamplePayloadGet
* @request GET:/api/v1/db/meta/tables/{tableId}/hooks/samplePayload/{operation}
@ -4779,7 +4785,7 @@ export class Api<
plugin = {
/**
* No description
*
*
* @tags Plugin
* @name List
* @request GET:/api/v1/db/meta/plugins

Loading…
Cancel
Save