|
|
@ -3123,9 +3123,20 @@ export class Api< |
|
|
|
* @summary Create App License |
|
|
|
* @summary Create App License |
|
|
|
* @request POST:/api/v1/license |
|
|
|
* @request POST:/api/v1/license |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
|
|
|
|
|
* @response `400` `{
|
|
|
|
|
|
|
|
\** @example BadRequest [Error]: <ERROR MESSAGE> *\ |
|
|
|
|
|
|
|
msg?: string, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}` |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
set: (data: LicenseReqType, params: RequestParams = {}) => |
|
|
|
set: (data: LicenseReqType, params: RequestParams = {}) => |
|
|
|
this.request<void, any>({ |
|
|
|
this.request< |
|
|
|
|
|
|
|
void, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
/** @example BadRequest [Error]: <ERROR MESSAGE> */ |
|
|
|
|
|
|
|
msg?: string; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
>({ |
|
|
|
path: `/api/v1/license`, |
|
|
|
path: `/api/v1/license`, |
|
|
|
method: 'POST', |
|
|
|
method: 'POST', |
|
|
|
body: data, |
|
|
|
body: data, |
|
|
@ -3587,9 +3598,20 @@ export class Api< |
|
|
|
* @summary List Projects |
|
|
|
* @summary List Projects |
|
|
|
* @request GET:/api/v1/db/meta/projects/ |
|
|
|
* @request GET:/api/v1/db/meta/projects/ |
|
|
|
* @response `200` `ProjectListType` OK |
|
|
|
* @response `200` `ProjectListType` OK |
|
|
|
|
|
|
|
* @response `400` `{
|
|
|
|
|
|
|
|
\** @example BadRequest [Error]: <ERROR MESSAGE> *\ |
|
|
|
|
|
|
|
msg?: string, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}` |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
list: (params: RequestParams = {}) => |
|
|
|
list: (params: RequestParams = {}) => |
|
|
|
this.request<ProjectListType, any>({ |
|
|
|
this.request< |
|
|
|
|
|
|
|
ProjectListType, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
/** @example BadRequest [Error]: <ERROR MESSAGE> */ |
|
|
|
|
|
|
|
msg?: string; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
>({ |
|
|
|
path: `/api/v1/db/meta/projects/`, |
|
|
|
path: `/api/v1/db/meta/projects/`, |
|
|
|
method: 'GET', |
|
|
|
method: 'GET', |
|
|
|
format: 'json', |
|
|
|
format: 'json', |
|
|
@ -4934,13 +4956,24 @@ export class Api< |
|
|
|
* @summary Update Form |
|
|
|
* @summary Update Form |
|
|
|
* @request PATCH:/api/v1/db/meta/forms/{formViewId} |
|
|
|
* @request PATCH:/api/v1/db/meta/forms/{formViewId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
|
|
|
|
|
* @response `400` `{
|
|
|
|
|
|
|
|
\** @example BadRequest [Error]: <ERROR MESSAGE> *\ |
|
|
|
|
|
|
|
msg?: string, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}` |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
formUpdate: ( |
|
|
|
formUpdate: ( |
|
|
|
formViewId: IdType, |
|
|
|
formViewId: IdType, |
|
|
|
data: FormReqType, |
|
|
|
data: FormReqType, |
|
|
|
params: RequestParams = {} |
|
|
|
params: RequestParams = {} |
|
|
|
) => |
|
|
|
) => |
|
|
|
this.request<void, any>({ |
|
|
|
this.request< |
|
|
|
|
|
|
|
void, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
/** @example BadRequest [Error]: <ERROR MESSAGE> */ |
|
|
|
|
|
|
|
msg?: string; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
>({ |
|
|
|
path: `/api/v1/db/meta/forms/${formViewId}`, |
|
|
|
path: `/api/v1/db/meta/forms/${formViewId}`, |
|
|
|
method: 'PATCH', |
|
|
|
method: 'PATCH', |
|
|
|
body: data, |
|
|
|
body: data, |
|
|
@ -6428,6 +6461,11 @@ export class Api< |
|
|
|
* @summary Bulk Update Table Rows with Conditions |
|
|
|
* @summary Bulk Update Table Rows with Conditions |
|
|
|
* @request PATCH:/api/v1/db/data/bulk/{orgs}/{projectName}/{tableName}/all |
|
|
|
* @request PATCH:/api/v1/db/data/bulk/{orgs}/{projectName}/{tableName}/all |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
|
|
|
|
* @response `400` `{
|
|
|
|
|
|
|
|
\** @example BadRequest [Error]: <ERROR MESSAGE> *\ |
|
|
|
|
|
|
|
msg?: string, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}` |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
bulkUpdateAll: ( |
|
|
|
bulkUpdateAll: ( |
|
|
|
orgs: string, |
|
|
|
orgs: string, |
|
|
@ -6439,7 +6477,13 @@ export class Api< |
|
|
|
}, |
|
|
|
}, |
|
|
|
params: RequestParams = {} |
|
|
|
params: RequestParams = {} |
|
|
|
) => |
|
|
|
) => |
|
|
|
this.request<any, any>({ |
|
|
|
this.request< |
|
|
|
|
|
|
|
any, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
/** @example BadRequest [Error]: <ERROR MESSAGE> */ |
|
|
|
|
|
|
|
msg?: string; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
>({ |
|
|
|
path: `/api/v1/db/data/bulk/${orgs}/${projectName}/${tableName}/all`, |
|
|
|
path: `/api/v1/db/data/bulk/${orgs}/${projectName}/${tableName}/all`, |
|
|
|
method: 'PATCH', |
|
|
|
method: 'PATCH', |
|
|
|
query: query, |
|
|
|
query: query, |
|
|
@ -6531,6 +6575,11 @@ export class Api< |
|
|
|
* @summary List Nested Relations Rows |
|
|
|
* @summary List Nested Relations Rows |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId}/{relationType}/{columnName} |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId}/{relationType}/{columnName} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
|
|
|
|
* @response `400` `{
|
|
|
|
|
|
|
|
\** @example BadRequest [Error]: <ERROR MESSAGE> *\ |
|
|
|
|
|
|
|
msg?: string, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}` |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
nestedList: ( |
|
|
|
nestedList: ( |
|
|
|
orgs: string, |
|
|
|
orgs: string, |
|
|
@ -6548,7 +6597,13 @@ export class Api< |
|
|
|
}, |
|
|
|
}, |
|
|
|
params: RequestParams = {} |
|
|
|
params: RequestParams = {} |
|
|
|
) => |
|
|
|
) => |
|
|
|
this.request<any, any>({ |
|
|
|
this.request< |
|
|
|
|
|
|
|
any, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
/** @example BadRequest [Error]: <ERROR MESSAGE> */ |
|
|
|
|
|
|
|
msg?: string; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
>({ |
|
|
|
path: `/api/v1/db/data/${orgs}/${projectName}/${tableName}/${rowId}/${relationType}/${columnName}`, |
|
|
|
path: `/api/v1/db/data/${orgs}/${projectName}/${tableName}/${rowId}/${relationType}/${columnName}`, |
|
|
|
method: 'GET', |
|
|
|
method: 'GET', |
|
|
|
query: query, |
|
|
|
query: query, |
|
|
@ -7528,9 +7583,20 @@ export class Api< |
|
|
|
* @summary Comment Rows |
|
|
|
* @summary Comment Rows |
|
|
|
* @request POST:/api/v1/db/meta/audits/comments |
|
|
|
* @request POST:/api/v1/db/meta/audits/comments |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
|
|
|
|
|
* @response `400` `{
|
|
|
|
|
|
|
|
\** @example BadRequest [Error]: <ERROR MESSAGE> *\ |
|
|
|
|
|
|
|
msg?: string, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}` |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
commentRow: (data: CommentReqType, params: RequestParams = {}) => |
|
|
|
commentRow: (data: CommentReqType, params: RequestParams = {}) => |
|
|
|
this.request<void, any>({ |
|
|
|
this.request< |
|
|
|
|
|
|
|
void, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
/** @example BadRequest [Error]: <ERROR MESSAGE> */ |
|
|
|
|
|
|
|
msg?: string; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
>({ |
|
|
|
path: `/api/v1/db/meta/audits/comments`, |
|
|
|
path: `/api/v1/db/meta/audits/comments`, |
|
|
|
method: 'POST', |
|
|
|
method: 'POST', |
|
|
|
body: data, |
|
|
|
body: data, |
|
|
|