@redonvn/redai-backend-api-sdk 0.5.40 → 0.5.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/generated/dynamic-table/types.js +14 -96
- package/dist/cjs/generated/dynamic-table/types.js.map +1 -1
- package/dist/cjs/generated/index.js +2 -3
- package/dist/cjs/generated/index.js.map +1 -1
- package/dist/cjs/generated/shared-types.js +16 -56
- package/dist/cjs/generated/shared-types.js.map +1 -1
- package/dist/esm/generated/dynamic-table/types.d.ts +479 -658
- package/dist/esm/generated/dynamic-table/types.d.ts.map +1 -1
- package/dist/esm/generated/dynamic-table/types.js +13 -96
- package/dist/esm/generated/dynamic-table/types.js.map +1 -1
- package/dist/esm/generated/index.d.ts +1 -1
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/generated/index.js +1 -1
- package/dist/esm/generated/index.js.map +1 -1
- package/dist/esm/generated/shared-types.d.ts +358 -195
- package/dist/esm/generated/shared-types.d.ts.map +1 -1
- package/dist/esm/generated/shared-types.js +15 -55
- package/dist/esm/generated/shared-types.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,41 +1,38 @@
|
|
|
1
|
-
import type { BaseMeta, BulkDataListDto, BulkGroupDto, CalendarViewMeta, CreateColumnDto, CreateTableFieldDto, FilterPayload, FormViewMeta, GalleryViewMeta, GridViewMeta,
|
|
2
|
-
import { BaseStatus, ChartType, DashboardStatus, ExternalDataType, FieldType, FilterComparisonOp, FilterComparisonSubOp, FilterLogicalOp, GridColumnAlign, GridRowHeight, MapProviderType, ModelType, ReferentialAction, RelationType, RollupFunction, RowColoringMode, SourceType, StorageMode, ViewLockType, ViewSortDirection, ViewType } from '../shared-types';
|
|
3
|
-
export type { ACB_BANK, ACCEPTED, ACTION, ACTIVE, AGENT_DESKTOP_SDK_EXE, AGRIBANK_BANK, AHAMOVE, AI, ALIBABA_CODING_PLAN, ALL_OF, AND, ANTHROPIC, ANY_OF, API_TOKEN_CREATE, API_TOKEN_DELETE, API_TOKEN_UPDATE, ApiResponseDto, APPEND, APPROVED, ARCHIVED, AREA, ARRAY, ASC, ATTACHMENT, AUTONUMBER, AVG, AVG_DISTINCT, AZURE_AI, BAR, BARCODE, BASE, BaseMeta, BELONGS_TO, BETWEEN, BIDV_BANK, BIGINT, BIGSERIAL, BINARY, BIT, BLANK, BLOB, BOOLEAN, BUBBLE, BulkDataListDto, BulkGroupDto, BUTTON, BYTEA, CALENDAR, CALENDAR_CREATE, CALENDAR_DELETE, CALENDAR_UPDATE, CalendarViewMeta,
|
|
4
|
-
export { BaseStatus, ChartType, DashboardStatus, ExternalDataType, FieldType, FilterComparisonOp, FilterComparisonSubOp, FilterLogicalOp, GridColumnAlign, GridRowHeight, MapProviderType, ModelType, ReferentialAction, RelationType, RollupFunction, RowColoringMode, SourceType, StorageMode, ViewLockType, ViewSortDirection, ViewType, WORKSPACE, WORKSPACE_SYSTEM_ROLE_CODE } from '../shared-types';
|
|
1
|
+
import type { BaseMeta, BulkDataListDto, BulkGroupDto, CalendarViewMeta, CreateColumnDto, CreateTableFieldDto, FilterPayload, FilterResponseDto, FormViewMeta, GalleryViewMeta, GridViewMeta, JsonValue, KanbanViewMeta, LimitOffsetQueryDto, MapViewMeta, PagedResponse, RecordAggregateQueryDto, RecordListQueryDto, RelationFieldRefDto, SourceConfig, SourceMeta, TableMeta, TableSettings, ViewMeta, WorkspaceRoleCode, WorkspaceSettings } from '../shared-types';
|
|
2
|
+
import { BaseStatus, ChartType, DashboardStatus, ExternalDataType, FieldType, FilterComparisonOp, FilterComparisonSubOp, FilterLogicalOp, GridColumnAlign, GridRowHeight, MapProviderType, ModelType, ProviderEnum, ReferentialAction, RelationType, RollupFunction, RowColoringMode, SourceType, StorageMode, ViewLockType, ViewSortDirection, ViewType } from '../shared-types';
|
|
3
|
+
export type { ACB_BANK, ACCEPTED, ACTION, ACTIVE, AGENT_DESKTOP_SDK_EXE, AGRIBANK_BANK, AHAMOVE, AI, ALIBABA_CODING_PLAN, ALL_OF, AND, ANTHROPIC, ANY_OF, API_TOKEN_CREATE, API_TOKEN_DELETE, API_TOKEN_UPDATE, ApiResponseDto, APPEND, APPROVED, ARCHIVED, AREA, ARRAY, ASC, ATTACHMENT, AUTONUMBER, AVG, AVG_DISTINCT, AZURE_AI, BAR, BARCODE, BASE, BaseMeta, BELONGS_TO, BETWEEN, BIDV_BANK, BIGINT, BIGSERIAL, BINARY, BIT, BLANK, BLOB, BOOLEAN, BUBBLE, BulkDataListDto, BulkGroupDto, BUTTON, BYTEA, CALENDAR, CALENDAR_CREATE, CALENDAR_DELETE, CALENDAR_UPDATE, CalendarViewMeta, CASCADE, CategoricalChartBucketDto, CategoricalChartRuntimeDto, CENTER, CHAR, CHART, ChartRuntimeGroupValueDto, ChartRuntimePointDto, ChartRuntimeSeriesDto, CHECKED, CIDR, CLOUD_AWS_S3, CLOUD_AZURE_BLOB, CLOUD_BACKBLAZE_B2, CLOUD_CLOUDFLARE_R2, CLOUD_GOOGLE_CLOUD_STORAGE, CLOUD_MINIO, CLOUD_WASABI, COLLABORATIVE, ColumnResponseDto, COMBO, COMMENT_CREATE, COMMENT_DELETE, COMMENT_UPDATE, COMPLETED, COUNT, COUNT_ASC, COUNT_DESC, COUNT_DISTINCT, CREATE, CreateColumnDto, CREATED_BY, CREATED_TIME, CreateSharedBaseDto, CreateSharedDashboardDto, CreateTableFieldDto, CSV, CURRENCY, CUSTOM, DASHBOARD, DASHBOARD_CREATE, DASHBOARD_DELETE, DASHBOARD_UPDATE, DashboardResponseDto, DATA_CREATE, DATA_DELETE, DATA_EXPORT, DATA_IMPORT, DATA_UPDATE, DATABASE_MARIADB, DATABASE_MONGODB, DATABASE_MSSQL, DATABASE_MYSQL, DATABASE_ORACLE, DATABASE_POSTGRESQL, DATABASE_REDIS, DATABASE_SQLITE, DATE, DATETIME, DATETIME2, DAYS_AGO, DAYS_FROM_NOW, DECIMAL, DEEPSEEK, DEFAULT, DELETE, DESC, DISABLED, DOCUMENT, DONUT, DOUBLE, DRAFT, DURATION, EAV, EMAIL, EMAIL_GMAIL, EMAIL_OUTLOOK, EMAIL_SMTP, EMAIL_TWILIO_SENDGRID, EMPTY, ENUM, EQ, EXACT_DATE, ExternalSyncConfig, EXTRA, FACEBOOK_ADS, FACEBOOK_BUSINESS, FACEBOOK_PAGE, FACEBOOK_PERSONAL, FAILED, FieldConfig, FILTER, FilterComparisonOperator, FilterConditionPayload, FilterGroupPayload, FilterLogicalOperator, FilterLogicalPayload, FilterPayload, FilterResponseDto, FLOAT, ForbiddenWidgetRuntimeDto, FORM, FORMULA, FormViewMeta, FUNNEL, FunnelChartRuntimeDto, FunnelStepDto, GALLERY, GalleryViewMeta, GEOGRAPHY, GEOMETRY, GET, GETFLY_CRM, GHN, GHTK, GOOGLE, GOOGLE_ADS, GOOGLE_AI_STUDIO, GOOGLE_CALENDAR, GOOGLE_CLOUD_PROJECT, GOOGLE_DOCS, GOOGLE_DRIVE, GOOGLE_SHEETS, GRID, GridEmbedWidgetRuntimeDto, GridViewMeta, GROUP_BY_EQ, GROUP_BY_NULL, GroupFieldDto, GT, GTE, HAS_MANY, HDB_BANK, HEATMAP, HeatmapCellDto, HeatmapChartRuntimeDto, HSTORE, IMAGE, INACTIVE, INET, INT, INTEGER, INTEGRATION_CREATE, INTEGRATION_DELETE, INTEGRATION_UPDATE, INTERVAL, IS, IS_NOT, IS_WITHIN, JSON, JsonArray, JSONB, JsonObject, JsonPrimitive, JsonValue, KANBAN, KanbanViewMeta, KL_BANK, LEFT, LIKE, LimitOffsetQueryDto, LINE, LINK_TO_ANOTHER_RECORD, LINKS, LIST, LLM_CUSTOM, LOCKED, LONG_TEXT, LONGTEXT, LOOKUP, LookupConfigDto, LookupConfigResponseDto, LT, LTE, MACADDR, MANY_TO_MANY, MAP, MAPBOX, MapViewMeta, MARIADB, MAX, MB_BANK, MEDIA, MEDIUM, MEDIUMINT, MEDIUMTEXT, METRIC, MetricWidgetRuntimeDto, MIN, MODIFIED_BY, MODIFIED_TIME, MONEY, MONGODB, MSSQL, MULTI_SELECT, MYSQL, NCHAR, NEQ, NEXT_MONTH, NEXT_NUMBER_OF_DAYS, NEXT_WEEK, NEXT_YEAR, NLIKE, NO, NO_ACTION, NONE, NOT, NOT_ALL_OF, NOT_ANY_OF, NOT_BETWEEN, NOT_BLANK, NOT_CHECKED, NOT_EMPTY, NOT_NULL, NULL, NUMBER, NUMERIC, NVARCHAR, OBJECT_ID, OCB_BANK, ONE_MONTH_AGO, ONE_MONTH_FROM_NOW, ONE_TO_ONE, ONE_WEEK_AGO, ONE_WEEK_FROM_NOW, OPENAI, OPENAI_OAUTH, OPENROUTER, OR, ORACLE, ORDER, OSM, PagedResponse, PageInfo, PAST_MONTH, PAST_NUMBER_OF_DAYS, PAST_WEEK, PAST_YEAR, PATCH, PENDING, PERCENT, PERMISSION_CREATE, PERMISSION_DELETE, PERMISSION_UPDATE, PERPLEXITY_AI, PERSONAL, PHONE, PHYSICAL, PIE, POINT, POLAR_AREA, POST, POSTGRESQL, PROJECT_CREATE, PROJECT_DELETE, PROJECT_UPDATE, PROXY, PUT, QR_CODE, RADAR, RATING, READ, REAL, RecordAggregateQueryDto, RecordListQueryDto, REDAI, REDAI_EXTENSION, REDAI_LLM, RELATION, RelationConfigDto, RelationConfigResponseDto, RelationFieldRefDto, RESTRICT, RIGHT, ROLLUP, RollupConfigDto, RollupConfigResponseDto, RUNNING, SCATTER, ScatterChartPointDto, ScatterChartRuntimeDto, SCB_BANK, SELECT, SendSharedDashboardEmailDto, SERIAL, SET, SET_DEFAULT, SET_NULL, SharedBaseResponseDto, SharedBasesCreateSharedBaseParams, SharedBasesDeleteSharedBaseParams, SharedBasesGetSharedBaseParams, SharedBasesUpdateSharedBaseParams, SharedDashboardResponseDto, SharedDashboardsCreateSharedDashboardParams, SharedDashboardsDeleteSharedDashboardParams, SharedDashboardsGetSharedDashboardParams, SharedDashboardsListSharedDashboardsParams, SharedDashboardsSendSharedDashboardEmailParams, SharedDashboardsUpdateSharedDashboardParams, SHB_BANK, SHORT, SlackIntegrationConfig, SMALLDATETIME, SMALLINT, SMALLMONEY, SMS_ESMS, SMS_ESMS_ADVERTISING, SMS_ESMS_CUSTOMER_CARE, SMS_ESMS_VIBER, SMS_FPT, SMS_SPEED, SMS_TWILIO, SMS_VONAGE, SOURCE_CREATE, SOURCE_DELETE, SOURCE_UPDATE, SourceConfig, SourceMeta, SQLITE, STACKED_AREA, STACKED_BAR, STB_BANK, SUCCESS, SUM, SUM_DISTINCT, T, TABLE, TABLE_CREATE, TABLE_DELETE, TABLE_UPDATE, TableMeta, TableResponseDto, TableSettings, TALL, TCB_BANK, TELEGRAM, TELEGRAM_BOT, TEST, TEXT, TextWidgetResolvedVariableDto, TextWidgetRuntimeDto, TIKTOK, TIME, TIMESTAMP, TIMESTAMPTZ, TINYINT, TINYTEXT, TODAY, TOMORROW, TPB_BANK, TREEMAP, TreemapChartRuntimeDto, TreemapNodeDto, UNIQUEIDENTIFIER, UPDATE, UpdateSharedBaseDto, UpdateSharedDashboardDto, URL, USER, USER_DELETE, USER_UPDATE, UUID, VARBINARY, VARCHAR, VCB_BANK, VERTEX_AI, VIB_BANK, VIEW, VIEW_CREATE, VIEW_DELETE, VIEW_UPDATE, ViewMeta, ViewResponseDto, VPB_BANK, VTB_BANK, WEBHOOK, WEBSITE, WidgetResponseDto, WidgetRuntimeResolvedQueryResponseDto, WidgetRuntimeResponseDto, WORKFLOW, WorkspaceRoleCode, WorkspaceSettings, WorkspaceSystemRoleCode, XAI, XLSX, XML, YEAR, YESTERDAY, ZALO_BOT, ZALO_OA, ZALO_PERSONAL } from '../shared-types';
|
|
4
|
+
export { BaseStatus, ChartType, DashboardStatus, ExternalDataType, FieldType, FilterComparisonOp, FilterComparisonSubOp, FilterLogicalOp, GridColumnAlign, GridRowHeight, MapProviderType, ModelType, ProviderEnum, ReferentialAction, RelationType, RollupFunction, RowColoringMode, SourceType, StorageMode, ViewLockType, ViewSortDirection, ViewType, WORKSPACE, WORKSPACE_SYSTEM_ROLE_CODE } from '../shared-types';
|
|
5
5
|
export interface AcceptWorkspaceInviteDto {
|
|
6
6
|
token: string;
|
|
7
7
|
}
|
|
8
|
-
export type AclFieldFlagMap = {
|
|
9
|
-
[fieldId: string]: boolean;
|
|
10
|
-
};
|
|
11
|
-
export type AclFieldListPermissions = {
|
|
12
|
-
fields?: string[];
|
|
13
|
-
include?: string[];
|
|
14
|
-
exclude?: string[];
|
|
15
|
-
};
|
|
16
|
-
export type AclFieldPermissions = AclFieldListPermissions | AclFieldFlagMap | string[];
|
|
17
8
|
export type AclFilter = FilterPayload | FilterPayload[];
|
|
18
9
|
export interface AclListResponseDto {
|
|
19
|
-
list: AclResponseDto
|
|
10
|
+
list: AclResponseDto;
|
|
20
11
|
}
|
|
21
12
|
export interface AclResponseDto {
|
|
22
13
|
id: string;
|
|
23
|
-
fkWorkspaceId
|
|
24
|
-
baseId
|
|
25
|
-
sourceId
|
|
26
|
-
fkModelId
|
|
27
|
-
roleCode
|
|
28
|
-
acl
|
|
29
|
-
create
|
|
30
|
-
read
|
|
31
|
-
update
|
|
32
|
-
delete
|
|
33
|
-
share
|
|
34
|
-
export
|
|
35
|
-
fields
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
14
|
+
fkWorkspaceId?: unknown | null;
|
|
15
|
+
baseId?: unknown | null;
|
|
16
|
+
sourceId?: unknown | null;
|
|
17
|
+
fkModelId?: unknown | null;
|
|
18
|
+
roleCode?: unknown | null;
|
|
19
|
+
acl?: unknown | null;
|
|
20
|
+
create?: unknown | null;
|
|
21
|
+
read?: unknown | null;
|
|
22
|
+
update?: unknown | null;
|
|
23
|
+
delete?: unknown | null;
|
|
24
|
+
share?: unknown | null;
|
|
25
|
+
export?: unknown | null;
|
|
26
|
+
fields?: (string)[] | {
|
|
27
|
+
[key: string]: boolean;
|
|
28
|
+
} | {
|
|
29
|
+
[key: string]: unknown;
|
|
30
|
+
} | null;
|
|
31
|
+
filter?: {
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
} | null;
|
|
34
|
+
createdAt?: unknown | null;
|
|
35
|
+
updatedAt?: unknown | null;
|
|
39
36
|
}
|
|
40
37
|
export interface AddBaseMemberDto {
|
|
41
38
|
userId: number;
|
|
@@ -211,7 +208,7 @@ export declare enum AttachmentSourceType {
|
|
|
211
208
|
KNOWLEDGE_FILE = "KNOWLEDGE_FILE"
|
|
212
209
|
}
|
|
213
210
|
export interface BaseMemberListResponseDto {
|
|
214
|
-
list: BaseMemberResponseDto
|
|
211
|
+
list: BaseMemberResponseDto;
|
|
215
212
|
pageInfo: BaseMemberPageInfoDto;
|
|
216
213
|
}
|
|
217
214
|
export interface BaseMemberPageInfoDto {
|
|
@@ -227,38 +224,40 @@ export interface BaseMemberResponseDto {
|
|
|
227
224
|
workspaceId: string;
|
|
228
225
|
baseId: string;
|
|
229
226
|
userId: number;
|
|
230
|
-
roleCode?:
|
|
231
|
-
invitedBy?:
|
|
227
|
+
roleCode?: unknown | null;
|
|
228
|
+
invitedBy?: unknown | null;
|
|
232
229
|
deleted: boolean;
|
|
233
230
|
isActive: boolean;
|
|
234
|
-
createdAt?:
|
|
235
|
-
updatedAt?:
|
|
236
|
-
user?: BaseMemberUserDto
|
|
231
|
+
createdAt?: unknown | null;
|
|
232
|
+
updatedAt?: unknown | null;
|
|
233
|
+
user?: BaseMemberUserDto;
|
|
237
234
|
}
|
|
238
235
|
export interface BaseMemberUserDto {
|
|
239
236
|
id: number;
|
|
240
|
-
fullName?:
|
|
241
|
-
avatar?:
|
|
237
|
+
fullName?: unknown | null;
|
|
238
|
+
avatar?: unknown | null;
|
|
242
239
|
}
|
|
243
240
|
export interface BaseResponseDto {
|
|
244
241
|
id: string;
|
|
245
|
-
fkWorkspaceId
|
|
246
|
-
ownerUserId
|
|
242
|
+
fkWorkspaceId?: string | null;
|
|
243
|
+
ownerUserId?: number | null;
|
|
247
244
|
title: string;
|
|
248
|
-
prefix
|
|
245
|
+
prefix?: string | null;
|
|
249
246
|
status: BaseStatus | null;
|
|
250
|
-
description
|
|
251
|
-
meta
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
247
|
+
description?: string | null;
|
|
248
|
+
meta?: {
|
|
249
|
+
[key: string]: unknown;
|
|
250
|
+
};
|
|
251
|
+
color?: string | null;
|
|
252
|
+
deleted?: boolean | null;
|
|
253
|
+
isMeta?: boolean | null;
|
|
254
|
+
order?: number | null;
|
|
255
|
+
uuid?: string | null;
|
|
256
|
+
roles?: string | null;
|
|
257
|
+
fkCustomUrlId?: string | null;
|
|
258
|
+
isSnapshot?: boolean | null;
|
|
259
|
+
createdAt?: number | null;
|
|
260
|
+
updatedAt?: number | null;
|
|
262
261
|
}
|
|
263
262
|
export type BulkAggregateDto = BulkDataListDto & {
|
|
264
263
|
aggregations?: JsonValue;
|
|
@@ -267,13 +266,13 @@ export interface BulkColumnDeleteDto {
|
|
|
267
266
|
id: string;
|
|
268
267
|
}
|
|
269
268
|
export interface BulkColumnsWithMetaDto {
|
|
270
|
-
create?: BulkCreateTableFieldDto[];
|
|
271
|
-
update?: BulkUpdateTableFieldDto[];
|
|
272
|
-
delete?: BulkColumnDeleteDto[];
|
|
269
|
+
create?: (BulkCreateTableFieldDto)[];
|
|
270
|
+
update?: (BulkUpdateTableFieldDto)[];
|
|
271
|
+
delete?: (BulkColumnDeleteDto)[];
|
|
273
272
|
}
|
|
274
273
|
export type BulkCreateTableFieldDto = CreateTableFieldDto;
|
|
275
274
|
export interface BulkCreateTablesDto {
|
|
276
|
-
tables: CreateTableWithRefsDto[];
|
|
275
|
+
tables: (CreateTableWithRefsDto)[];
|
|
277
276
|
}
|
|
278
277
|
export type BulkInsertQuery = {
|
|
279
278
|
wrapped?: string | boolean;
|
|
@@ -282,7 +281,7 @@ export type BulkInsertQuery = {
|
|
|
282
281
|
};
|
|
283
282
|
export type BulkLinkDto = RelationUpdateDto & {
|
|
284
283
|
recordId?: string;
|
|
285
|
-
recordIds?: string[];
|
|
284
|
+
recordIds?: (string)[];
|
|
286
285
|
};
|
|
287
286
|
export type BulkUpdateTableFieldDto = UpdateTableFieldDto & {
|
|
288
287
|
id: string;
|
|
@@ -304,7 +303,7 @@ export interface CalendarViewConfigDto {
|
|
|
304
303
|
}
|
|
305
304
|
export interface CalendarViewDetailResponseDto {
|
|
306
305
|
config: CalendarViewResponseDto;
|
|
307
|
-
columns: ViewColumnResponseDto
|
|
306
|
+
columns: ViewColumnResponseDto;
|
|
308
307
|
}
|
|
309
308
|
export interface CalendarViewRangeDto {
|
|
310
309
|
fromFieldId: string;
|
|
@@ -312,19 +311,21 @@ export interface CalendarViewRangeDto {
|
|
|
312
311
|
}
|
|
313
312
|
export interface CalendarViewResponseDto {
|
|
314
313
|
viewId: string;
|
|
315
|
-
workspaceId
|
|
316
|
-
baseId
|
|
317
|
-
sourceId
|
|
318
|
-
coverImageFieldId
|
|
319
|
-
meta
|
|
314
|
+
workspaceId?: string | null;
|
|
315
|
+
baseId?: string | null;
|
|
316
|
+
sourceId?: string | null;
|
|
317
|
+
coverImageFieldId?: string | null;
|
|
318
|
+
meta?: {
|
|
319
|
+
[key: string]: unknown;
|
|
320
|
+
};
|
|
320
321
|
createdAt: number;
|
|
321
|
-
updatedAt
|
|
322
|
+
updatedAt?: number | null;
|
|
322
323
|
}
|
|
323
324
|
export interface CatalogFromIntegrationDto {
|
|
324
325
|
integrationId: string;
|
|
325
326
|
baseId?: string;
|
|
326
327
|
workspaceId?: string;
|
|
327
|
-
schemas?: string[];
|
|
328
|
+
schemas?: (string)[];
|
|
328
329
|
includeViews?: boolean;
|
|
329
330
|
}
|
|
330
331
|
export interface ChartTypeInfoDto {
|
|
@@ -351,15 +352,15 @@ export interface CommentAttachmentResponseDto {
|
|
|
351
352
|
sourceType: AttachmentSourceType;
|
|
352
353
|
sourceId: string;
|
|
353
354
|
name: string;
|
|
354
|
-
mime
|
|
355
|
-
size
|
|
356
|
-
url
|
|
357
|
-
sortOrder
|
|
355
|
+
mime?: string | null;
|
|
356
|
+
size?: number | null;
|
|
357
|
+
url?: string | null;
|
|
358
|
+
sortOrder?: number | null;
|
|
358
359
|
}
|
|
359
360
|
export interface CommentAuthorResponseDto {
|
|
360
361
|
id: number;
|
|
361
|
-
fullName
|
|
362
|
-
avatar
|
|
362
|
+
fullName?: string | null;
|
|
363
|
+
avatar?: string | null;
|
|
363
364
|
}
|
|
364
365
|
export interface CommentCountItemResponseDto {
|
|
365
366
|
rowId: string;
|
|
@@ -375,54 +376,60 @@ export interface CommentMentionResponseDto {
|
|
|
375
376
|
userId: number;
|
|
376
377
|
start: number;
|
|
377
378
|
end: number;
|
|
378
|
-
user
|
|
379
|
+
user?: CommentAuthorResponseDto;
|
|
379
380
|
}
|
|
380
381
|
export interface CommentReactionResponseDto {
|
|
381
382
|
id: string;
|
|
382
|
-
fkWorkspaceId
|
|
383
|
-
baseId
|
|
384
|
-
fkCommentId
|
|
385
|
-
fkUserId
|
|
383
|
+
fkWorkspaceId?: string | null;
|
|
384
|
+
baseId?: string | null;
|
|
385
|
+
fkCommentId?: string | null;
|
|
386
|
+
fkUserId?: number | null;
|
|
386
387
|
reaction: string;
|
|
387
|
-
createdAt
|
|
388
|
-
updatedAt
|
|
388
|
+
createdAt?: number | null;
|
|
389
|
+
updatedAt?: number | null;
|
|
389
390
|
}
|
|
390
391
|
export interface CommentResponseDto {
|
|
391
392
|
id: string;
|
|
392
|
-
fkWorkspaceId
|
|
393
|
-
baseId
|
|
394
|
-
fkModelId
|
|
395
|
-
fkUserId
|
|
393
|
+
fkWorkspaceId?: string | null;
|
|
394
|
+
baseId?: string | null;
|
|
395
|
+
fkModelId?: string | null;
|
|
396
|
+
fkUserId?: number | null;
|
|
396
397
|
rowId: string;
|
|
397
|
-
parentCommentId
|
|
398
|
+
parentCommentId?: string | null;
|
|
398
399
|
commentText: string;
|
|
399
|
-
isDeleted
|
|
400
|
-
isEdit
|
|
401
|
-
createdAt
|
|
402
|
-
updatedAt
|
|
403
|
-
author
|
|
404
|
-
reactions: CommentReactionResponseDto[];
|
|
405
|
-
attachments: CommentAttachmentResponseDto[];
|
|
406
|
-
mentions: CommentMentionResponseDto[];
|
|
407
|
-
children: CommentResponseDto[];
|
|
400
|
+
isDeleted?: boolean | null;
|
|
401
|
+
isEdit?: boolean | null;
|
|
402
|
+
createdAt?: number | null;
|
|
403
|
+
updatedAt?: number | null;
|
|
404
|
+
author?: CommentAuthorResponseDto;
|
|
405
|
+
reactions: (CommentReactionResponseDto)[];
|
|
406
|
+
attachments: (CommentAttachmentResponseDto)[];
|
|
407
|
+
mentions: (CommentMentionResponseDto)[];
|
|
408
|
+
children: (CommentResponseDto)[];
|
|
408
409
|
}
|
|
409
410
|
export interface CountCommentsQueryDto {
|
|
410
411
|
fkModelId: string;
|
|
411
|
-
ids: string[];
|
|
412
|
+
ids: (string)[];
|
|
412
413
|
}
|
|
413
414
|
export interface CreateAclEntryDto {
|
|
414
415
|
roleCode: WorkspaceRoleCode;
|
|
415
|
-
sourceId?:
|
|
416
|
-
fkModelId?:
|
|
417
|
-
acl?:
|
|
418
|
-
create?:
|
|
419
|
-
read?:
|
|
420
|
-
update?:
|
|
421
|
-
delete?:
|
|
422
|
-
share?:
|
|
423
|
-
export?:
|
|
424
|
-
fields?:
|
|
425
|
-
|
|
416
|
+
sourceId?: unknown | null;
|
|
417
|
+
fkModelId?: unknown | null;
|
|
418
|
+
acl?: unknown | null;
|
|
419
|
+
create?: unknown | null;
|
|
420
|
+
read?: unknown | null;
|
|
421
|
+
update?: unknown | null;
|
|
422
|
+
delete?: unknown | null;
|
|
423
|
+
share?: unknown | null;
|
|
424
|
+
export?: unknown | null;
|
|
425
|
+
fields?: (string)[] | {
|
|
426
|
+
[key: string]: boolean;
|
|
427
|
+
} | {
|
|
428
|
+
[key: string]: unknown;
|
|
429
|
+
} | null;
|
|
430
|
+
filter?: {
|
|
431
|
+
[key: string]: unknown;
|
|
432
|
+
} | null;
|
|
426
433
|
}
|
|
427
434
|
export interface CreateApiTokenDto {
|
|
428
435
|
description?: string | null;
|
|
@@ -454,8 +461,8 @@ export interface CreateCommentDto {
|
|
|
454
461
|
rowId: string;
|
|
455
462
|
commentText: string;
|
|
456
463
|
parentCommentId?: string | null;
|
|
457
|
-
attachments?: CommentAttachmentInputDto[];
|
|
458
|
-
mentions?: CommentMentionInputDto[];
|
|
464
|
+
attachments?: (CommentAttachmentInputDto)[];
|
|
465
|
+
mentions?: (CommentMentionInputDto)[];
|
|
459
466
|
}
|
|
460
467
|
export interface CreateCommentReactionDto {
|
|
461
468
|
reaction: string;
|
|
@@ -465,7 +472,9 @@ export interface CreateDashboardDto {
|
|
|
465
472
|
description?: string | null;
|
|
466
473
|
order?: number | null;
|
|
467
474
|
status?: DashboardStatus | null;
|
|
468
|
-
meta?:
|
|
475
|
+
meta?: {
|
|
476
|
+
[key: string]: unknown;
|
|
477
|
+
};
|
|
469
478
|
}
|
|
470
479
|
export type CreateFormViewDto = CreateViewDto & {
|
|
471
480
|
heading?: string | null;
|
|
@@ -491,11 +500,15 @@ export interface CreateHookDto {
|
|
|
491
500
|
event?: AppEvents;
|
|
492
501
|
operations: HookOperation[];
|
|
493
502
|
async?: boolean;
|
|
494
|
-
payload?:
|
|
503
|
+
payload?: {
|
|
504
|
+
[key: string]: unknown;
|
|
505
|
+
};
|
|
495
506
|
url?: string;
|
|
496
507
|
hookSource?: HookSource;
|
|
497
508
|
method?: HookHttpMethod;
|
|
498
|
-
headers?:
|
|
509
|
+
headers?: {
|
|
510
|
+
[key: string]: string;
|
|
511
|
+
};
|
|
499
512
|
secret?: string;
|
|
500
513
|
condition?: boolean;
|
|
501
514
|
retries?: number;
|
|
@@ -503,25 +516,25 @@ export interface CreateHookDto {
|
|
|
503
516
|
timeout?: number;
|
|
504
517
|
active?: boolean;
|
|
505
518
|
version?: HookVersion;
|
|
506
|
-
triggerFields?: string
|
|
519
|
+
triggerFields?: string;
|
|
507
520
|
}
|
|
508
521
|
export interface CreateHookFullDto {
|
|
509
522
|
kind?: HookFullRequestKind;
|
|
510
523
|
mode?: HookFullMutationMode;
|
|
511
524
|
hookId?: string;
|
|
512
525
|
hook: CreateHookDto;
|
|
513
|
-
filters?: HookFilterTreeNodeDto
|
|
526
|
+
filters?: HookFilterTreeNodeDto;
|
|
514
527
|
scheduledHook?: CreateScheduledHookInlineDto;
|
|
515
528
|
}
|
|
516
529
|
export interface CreateHookFullResponseDto {
|
|
517
530
|
kind: HookFullRequestKind;
|
|
518
531
|
hook: HookResponseDto;
|
|
519
|
-
filters: FilterResponseDto
|
|
532
|
+
filters: FilterResponseDto;
|
|
520
533
|
scheduledHook?: ScheduledHookResponseDto;
|
|
521
534
|
summary: {
|
|
522
|
-
triggerFieldCount
|
|
523
|
-
filterNodeCount
|
|
524
|
-
scheduledHookCreated
|
|
535
|
+
triggerFieldCount?: number;
|
|
536
|
+
filterNodeCount?: number;
|
|
537
|
+
scheduledHookCreated?: boolean;
|
|
525
538
|
};
|
|
526
539
|
}
|
|
527
540
|
export type CreateKanbanViewDto = CreateViewDto & {
|
|
@@ -534,18 +547,22 @@ export type CreateMapViewDto = CreateViewDto & {
|
|
|
534
547
|
mapApiKey?: string | null;
|
|
535
548
|
};
|
|
536
549
|
export interface CreatePermissionDto {
|
|
537
|
-
fkSubjectId:
|
|
550
|
+
fkSubjectId: unknown;
|
|
538
551
|
subjectType: SupportedPermissionSubjectType;
|
|
539
552
|
resourceType: SupportedPermissionResourceType;
|
|
540
|
-
fkResourceId:
|
|
541
|
-
permissions:
|
|
553
|
+
fkResourceId: unknown;
|
|
554
|
+
permissions: {
|
|
555
|
+
[key: string]: boolean;
|
|
556
|
+
};
|
|
542
557
|
}
|
|
543
558
|
export interface CreatePermissionSubjectDto {
|
|
544
559
|
title: string;
|
|
545
|
-
description?:
|
|
560
|
+
description?: unknown | null;
|
|
546
561
|
type: SupportedPermissionSubjectType;
|
|
547
|
-
members?:
|
|
548
|
-
|
|
562
|
+
members?: {
|
|
563
|
+
[key: string]: unknown;
|
|
564
|
+
} | null;
|
|
565
|
+
inheritsFrom?: unknown | null;
|
|
549
566
|
}
|
|
550
567
|
export interface CreatePresignedUrlDto {
|
|
551
568
|
path: string;
|
|
@@ -553,7 +570,9 @@ export interface CreatePresignedUrlDto {
|
|
|
553
570
|
integrationId?: string;
|
|
554
571
|
}
|
|
555
572
|
export interface CreateRecordsPayloadDto {
|
|
556
|
-
payload:
|
|
573
|
+
payload: ({
|
|
574
|
+
[key: string]: unknown;
|
|
575
|
+
})[];
|
|
557
576
|
}
|
|
558
577
|
export interface CreateRowColorConditionDto {
|
|
559
578
|
fieldId: string;
|
|
@@ -570,7 +589,9 @@ export interface CreateScheduledHookDto {
|
|
|
570
589
|
datetimeFieldId: string;
|
|
571
590
|
active?: boolean;
|
|
572
591
|
timeZone?: string;
|
|
573
|
-
meta?:
|
|
592
|
+
meta?: {
|
|
593
|
+
[key: string]: unknown;
|
|
594
|
+
};
|
|
574
595
|
}
|
|
575
596
|
export interface CreateScheduledHookInlineDto {
|
|
576
597
|
name: string;
|
|
@@ -578,7 +599,9 @@ export interface CreateScheduledHookInlineDto {
|
|
|
578
599
|
datetimeFieldId: string;
|
|
579
600
|
active?: boolean;
|
|
580
601
|
timeZone?: string;
|
|
581
|
-
meta?:
|
|
602
|
+
meta?: {
|
|
603
|
+
[key: string]: unknown;
|
|
604
|
+
};
|
|
582
605
|
}
|
|
583
606
|
export interface CreateSourceDto {
|
|
584
607
|
alias?: string | null;
|
|
@@ -603,7 +626,7 @@ export interface CreateTableDto {
|
|
|
603
626
|
order?: number | null;
|
|
604
627
|
meta?: TableMeta;
|
|
605
628
|
settings?: TableSettings;
|
|
606
|
-
fields?: CreateTableFieldDto[];
|
|
629
|
+
fields?: (CreateTableFieldDto)[];
|
|
607
630
|
}
|
|
608
631
|
export type CreateTableFieldWithRefsDto = CreateColumnDto & {
|
|
609
632
|
type: FieldType;
|
|
@@ -622,7 +645,7 @@ export interface CreateTableWithRefsDto {
|
|
|
622
645
|
order?: number | null;
|
|
623
646
|
meta?: TableMeta;
|
|
624
647
|
settings?: TableSettings;
|
|
625
|
-
fields?: CreateTableFieldWithRefsDto[];
|
|
648
|
+
fields?: (CreateTableFieldWithRefsDto)[];
|
|
626
649
|
}
|
|
627
650
|
export interface CreateViewColumnDto {
|
|
628
651
|
fieldId: string;
|
|
@@ -676,8 +699,12 @@ export interface CreateWidgetDto {
|
|
|
676
699
|
type: WidgetType;
|
|
677
700
|
fkModelId?: string | null;
|
|
678
701
|
fkViewId?: string | null;
|
|
679
|
-
config?:
|
|
680
|
-
|
|
702
|
+
config?: {
|
|
703
|
+
[key: string]: unknown;
|
|
704
|
+
};
|
|
705
|
+
meta?: {
|
|
706
|
+
[key: string]: unknown;
|
|
707
|
+
};
|
|
681
708
|
row?: number | null;
|
|
682
709
|
col?: number | null;
|
|
683
710
|
sizeX?: number | null;
|
|
@@ -693,7 +720,7 @@ export interface CreateWorkspaceDto {
|
|
|
693
720
|
}
|
|
694
721
|
export type CreateWorkspaceInviteLinkDto = WorkspaceMemberRoleCodeScopeDto;
|
|
695
722
|
export interface CreateWorkspaceNotificationEmailChannelDto {
|
|
696
|
-
integrationId:
|
|
723
|
+
integrationId: unknown;
|
|
697
724
|
priority?: number;
|
|
698
725
|
isActive?: boolean;
|
|
699
726
|
isDefault?: boolean;
|
|
@@ -715,8 +742,12 @@ export interface ExportOptionsDto {
|
|
|
715
742
|
encoding?: string;
|
|
716
743
|
includeByteOrderMark?: boolean;
|
|
717
744
|
filenameTimeZone?: string;
|
|
718
|
-
filters?:
|
|
719
|
-
|
|
745
|
+
filters?: {
|
|
746
|
+
[key: string]: unknown;
|
|
747
|
+
};
|
|
748
|
+
sorts?: {
|
|
749
|
+
[key: string]: unknown;
|
|
750
|
+
};
|
|
720
751
|
includeSortFilterFields?: boolean;
|
|
721
752
|
}
|
|
722
753
|
export interface ExportStartResponseDto {
|
|
@@ -745,10 +776,10 @@ export interface ExternalCatalogColumnResponseDto {
|
|
|
745
776
|
}
|
|
746
777
|
export interface ExternalCatalogForeignKeyResponseDto {
|
|
747
778
|
constraintName: string;
|
|
748
|
-
columnNames: string[];
|
|
779
|
+
columnNames: (string)[];
|
|
749
780
|
referencedSchema: string;
|
|
750
781
|
referencedObjectName: string;
|
|
751
|
-
referencedColumnNames: string[];
|
|
782
|
+
referencedColumnNames: (string)[];
|
|
752
783
|
onUpdate?: string | null;
|
|
753
784
|
onDelete?: string | null;
|
|
754
785
|
}
|
|
@@ -757,9 +788,9 @@ export interface ExternalCatalogObjectResponseDto {
|
|
|
757
788
|
name: string;
|
|
758
789
|
objectType: ExternalCatalogObjectTypeDto;
|
|
759
790
|
isReadonly: boolean;
|
|
760
|
-
columns: ExternalCatalogColumnResponseDto[];
|
|
761
|
-
primaryKey: string[];
|
|
762
|
-
foreignKeys: ExternalCatalogForeignKeyResponseDto[];
|
|
791
|
+
columns: (ExternalCatalogColumnResponseDto)[];
|
|
792
|
+
primaryKey: (string)[];
|
|
793
|
+
foreignKeys: (ExternalCatalogForeignKeyResponseDto)[];
|
|
763
794
|
}
|
|
764
795
|
export declare enum ExternalCatalogObjectTypeDto {
|
|
765
796
|
TABLE = "table",
|
|
@@ -772,60 +803,32 @@ export interface ExternalCatalogTableSelectionDto {
|
|
|
772
803
|
}
|
|
773
804
|
export interface ExternalSourceCatalogResponseDto {
|
|
774
805
|
sourcePreview: ExternalSourcePreviewDto;
|
|
775
|
-
schemas: string[];
|
|
776
|
-
objects: ExternalCatalogObjectResponseDto[];
|
|
806
|
+
schemas: (string)[];
|
|
807
|
+
objects: (ExternalCatalogObjectResponseDto)[];
|
|
777
808
|
capabilities: ExternalCatalogCapabilitiesResponseDto;
|
|
778
809
|
}
|
|
779
810
|
export interface ExternalSourcePreviewDto {
|
|
780
|
-
sourceId
|
|
811
|
+
sourceId?: string | null;
|
|
781
812
|
workspaceId: string;
|
|
782
|
-
baseId
|
|
813
|
+
baseId?: string | null;
|
|
783
814
|
integrationId: string;
|
|
784
815
|
type: SourceType | null;
|
|
785
|
-
config
|
|
816
|
+
config?: {
|
|
817
|
+
[key: string]: unknown;
|
|
818
|
+
};
|
|
786
819
|
}
|
|
787
820
|
export interface ExternalSourceSyncResponseDto {
|
|
788
821
|
sourceId: string;
|
|
789
|
-
createdTables: string[];
|
|
790
|
-
updatedTables: string[];
|
|
791
|
-
staleTables: string[];
|
|
792
|
-
createdFields: string[];
|
|
793
|
-
updatedFields: string[];
|
|
794
|
-
staleFields: string[];
|
|
795
|
-
createdRelations: string[];
|
|
796
|
-
updatedRelations: string[];
|
|
797
|
-
skippedObjects: string[];
|
|
798
|
-
}
|
|
799
|
-
export type FieldMeta = {
|
|
800
|
-
placeholder?: string;
|
|
801
|
-
helpText?: string;
|
|
802
|
-
icon?: string;
|
|
803
|
-
color?: string;
|
|
804
|
-
display?: {
|
|
805
|
-
width?: number;
|
|
806
|
-
hidden?: boolean;
|
|
807
|
-
order?: number;
|
|
808
|
-
};
|
|
809
|
-
validation?: {
|
|
810
|
-
min?: number;
|
|
811
|
-
max?: number;
|
|
812
|
-
pattern?: string;
|
|
813
|
-
message?: string;
|
|
814
|
-
};
|
|
815
|
-
syncState?: 'active' | 'stale';
|
|
816
|
-
externalRelationManaged?: boolean;
|
|
817
|
-
externalRelationRole?: 'owner' | 'inverse';
|
|
818
|
-
externalForeignKeyConstraintName?: string;
|
|
819
|
-
externalForeignKeyColumnName?: string;
|
|
820
|
-
externalReferencedSchemaName?: string;
|
|
821
|
-
externalReferencedTableName?: string;
|
|
822
|
-
externalReferencedColumnName?: string;
|
|
823
|
-
relationAutoInverse?: boolean;
|
|
824
|
-
relationInverseOfFieldId?: string;
|
|
825
|
-
relationInverseType?: string;
|
|
826
|
-
relationPrimaryKeyName?: string;
|
|
827
|
-
systemKind?: string;
|
|
828
|
-
};
|
|
822
|
+
createdTables: (string)[];
|
|
823
|
+
updatedTables: (string)[];
|
|
824
|
+
staleTables: (string)[];
|
|
825
|
+
createdFields: (string)[];
|
|
826
|
+
updatedFields: (string)[];
|
|
827
|
+
staleFields: (string)[];
|
|
828
|
+
createdRelations: (string)[];
|
|
829
|
+
updatedRelations: (string)[];
|
|
830
|
+
skippedObjects: (string)[];
|
|
831
|
+
}
|
|
829
832
|
export type FieldRefWithTableDto = RelationFieldRefDto & {
|
|
830
833
|
tableClientKey?: string;
|
|
831
834
|
};
|
|
@@ -842,24 +845,26 @@ export interface FormViewConfigDto {
|
|
|
842
845
|
}
|
|
843
846
|
export interface FormViewDetailResponseDto {
|
|
844
847
|
config: FormViewResponseDto;
|
|
845
|
-
columns: ViewColumnResponseDto
|
|
848
|
+
columns: ViewColumnResponseDto;
|
|
846
849
|
}
|
|
847
850
|
export interface FormViewResponseDto {
|
|
848
851
|
viewId: string;
|
|
849
|
-
workspaceId
|
|
850
|
-
baseId
|
|
851
|
-
sourceId
|
|
852
|
-
heading
|
|
853
|
-
subheading
|
|
854
|
-
successMessage
|
|
855
|
-
redirectUrl
|
|
856
|
-
redirectAfterSecs
|
|
857
|
-
email
|
|
852
|
+
workspaceId?: string | null;
|
|
853
|
+
baseId?: string | null;
|
|
854
|
+
sourceId?: string | null;
|
|
855
|
+
heading?: string | null;
|
|
856
|
+
subheading?: string | null;
|
|
857
|
+
successMessage?: string | null;
|
|
858
|
+
redirectUrl?: string | null;
|
|
859
|
+
redirectAfterSecs?: number | null;
|
|
860
|
+
email?: string | null;
|
|
858
861
|
submitAnotherForm: boolean;
|
|
859
862
|
showBlankForm: boolean;
|
|
860
|
-
meta
|
|
863
|
+
meta?: {
|
|
864
|
+
[key: string]: unknown;
|
|
865
|
+
};
|
|
861
866
|
createdAt: number;
|
|
862
|
-
updatedAt
|
|
867
|
+
updatedAt?: number | null;
|
|
863
868
|
}
|
|
864
869
|
export interface GalleryViewConfigDto {
|
|
865
870
|
coverImageFieldId?: string | null;
|
|
@@ -867,17 +872,19 @@ export interface GalleryViewConfigDto {
|
|
|
867
872
|
}
|
|
868
873
|
export interface GalleryViewDetailResponseDto {
|
|
869
874
|
config: GalleryViewResponseDto;
|
|
870
|
-
columns: ViewColumnResponseDto
|
|
875
|
+
columns: ViewColumnResponseDto;
|
|
871
876
|
}
|
|
872
877
|
export interface GalleryViewResponseDto {
|
|
873
878
|
viewId: string;
|
|
874
|
-
workspaceId
|
|
875
|
-
baseId
|
|
876
|
-
sourceId
|
|
877
|
-
coverImageFieldId
|
|
878
|
-
meta
|
|
879
|
+
workspaceId?: string | null;
|
|
880
|
+
baseId?: string | null;
|
|
881
|
+
sourceId?: string | null;
|
|
882
|
+
coverImageFieldId?: string | null;
|
|
883
|
+
meta?: {
|
|
884
|
+
[key: string]: unknown;
|
|
885
|
+
};
|
|
879
886
|
createdAt: number;
|
|
880
|
-
updatedAt
|
|
887
|
+
updatedAt?: number | null;
|
|
881
888
|
}
|
|
882
889
|
export interface GetUserUiPreferencesResponseDto {
|
|
883
890
|
raw: UserUiPreferencesRawDto;
|
|
@@ -889,13 +896,15 @@ export interface GridViewConfigDto {
|
|
|
889
896
|
}
|
|
890
897
|
export interface GridViewResponseDto {
|
|
891
898
|
viewId: string;
|
|
892
|
-
workspaceId
|
|
893
|
-
baseId
|
|
894
|
-
sourceId
|
|
899
|
+
workspaceId?: string | null;
|
|
900
|
+
baseId?: string | null;
|
|
901
|
+
sourceId?: string | null;
|
|
895
902
|
rowHeight: GridRowHeight | null;
|
|
896
|
-
meta
|
|
903
|
+
meta?: {
|
|
904
|
+
[key: string]: unknown;
|
|
905
|
+
};
|
|
897
906
|
createdAt: number;
|
|
898
|
-
updatedAt
|
|
907
|
+
updatedAt?: number | null;
|
|
899
908
|
}
|
|
900
909
|
export type GroupedListItem = {
|
|
901
910
|
key: JsonValue | null;
|
|
@@ -915,7 +924,7 @@ export interface HookFilterTreeNodeDto {
|
|
|
915
924
|
isGroup?: boolean;
|
|
916
925
|
logicalOp?: FilterLogicalOp | null;
|
|
917
926
|
order?: number | null;
|
|
918
|
-
children?: HookFilterTreeNodeDto
|
|
927
|
+
children?: HookFilterTreeNodeDto;
|
|
919
928
|
}
|
|
920
929
|
export declare enum HookFullMutationMode {
|
|
921
930
|
CREATE = "create",
|
|
@@ -934,22 +943,24 @@ export declare enum HookHttpMethod {
|
|
|
934
943
|
}
|
|
935
944
|
export interface HookLogResponseDto {
|
|
936
945
|
id: string;
|
|
937
|
-
hookId?:
|
|
938
|
-
workspaceId?:
|
|
939
|
-
baseId?:
|
|
940
|
-
sourceId?:
|
|
941
|
-
tableId?:
|
|
942
|
-
event?:
|
|
943
|
-
status?:
|
|
944
|
-
responseCode?:
|
|
945
|
-
responseBody?:
|
|
946
|
-
errorMessage?:
|
|
947
|
-
payload?:
|
|
948
|
-
|
|
949
|
-
|
|
946
|
+
hookId?: unknown | null;
|
|
947
|
+
workspaceId?: unknown | null;
|
|
948
|
+
baseId?: unknown | null;
|
|
949
|
+
sourceId?: unknown | null;
|
|
950
|
+
tableId?: unknown | null;
|
|
951
|
+
event?: unknown | null;
|
|
952
|
+
status?: unknown | null;
|
|
953
|
+
responseCode?: unknown | null;
|
|
954
|
+
responseBody?: unknown | null;
|
|
955
|
+
errorMessage?: unknown | null;
|
|
956
|
+
payload?: {
|
|
957
|
+
[key: string]: unknown;
|
|
958
|
+
} | null;
|
|
959
|
+
url?: unknown | null;
|
|
960
|
+
executionTime?: unknown | null;
|
|
950
961
|
triggeredAt?: number | null;
|
|
951
|
-
createdAt?:
|
|
952
|
-
updatedAt?:
|
|
962
|
+
createdAt?: unknown | null;
|
|
963
|
+
updatedAt?: unknown | null;
|
|
953
964
|
}
|
|
954
965
|
export declare enum HookLogStatus {
|
|
955
966
|
PENDING = "pending",
|
|
@@ -966,33 +977,37 @@ export declare enum HookOperation {
|
|
|
966
977
|
export interface HookResponseDto {
|
|
967
978
|
id: string;
|
|
968
979
|
kind: HookFullRequestKind;
|
|
969
|
-
workspaceId?:
|
|
970
|
-
baseId?:
|
|
971
|
-
sourceId?:
|
|
972
|
-
tableId?:
|
|
973
|
-
title?:
|
|
974
|
-
description?:
|
|
975
|
-
env?:
|
|
976
|
-
type?:
|
|
977
|
-
event?:
|
|
978
|
-
operations?:
|
|
979
|
-
async?:
|
|
980
|
-
payload?:
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
980
|
+
workspaceId?: unknown | null;
|
|
981
|
+
baseId?: unknown | null;
|
|
982
|
+
sourceId?: unknown | null;
|
|
983
|
+
tableId?: unknown | null;
|
|
984
|
+
title?: unknown | null;
|
|
985
|
+
description?: unknown | null;
|
|
986
|
+
env?: unknown | null;
|
|
987
|
+
type?: unknown | null;
|
|
988
|
+
event?: unknown | null;
|
|
989
|
+
operations?: unknown | null;
|
|
990
|
+
async?: unknown | null;
|
|
991
|
+
payload?: {
|
|
992
|
+
[key: string]: unknown;
|
|
993
|
+
} | null;
|
|
994
|
+
url?: unknown | null;
|
|
995
|
+
hookSource?: unknown | null;
|
|
996
|
+
method?: unknown | null;
|
|
997
|
+
headers?: {
|
|
998
|
+
[key: string]: unknown;
|
|
999
|
+
} | null;
|
|
1000
|
+
hasSecret?: unknown | null;
|
|
1001
|
+
condition?: unknown | null;
|
|
1002
|
+
retries?: unknown | null;
|
|
1003
|
+
retryInterval?: unknown | null;
|
|
1004
|
+
timeout?: unknown | null;
|
|
1005
|
+
active?: unknown | null;
|
|
1006
|
+
version?: unknown | null;
|
|
1007
|
+
triggerFields: string;
|
|
1008
|
+
scheduledHook?: ScheduledHookResponseDto;
|
|
1009
|
+
createdAt?: unknown | null;
|
|
1010
|
+
updatedAt?: unknown | null;
|
|
996
1011
|
}
|
|
997
1012
|
export declare enum HookSource {
|
|
998
1013
|
EXTERNAL = "external",
|
|
@@ -1024,11 +1039,11 @@ export interface ImportFromUrlDto {
|
|
|
1024
1039
|
export interface ImportJobResponseDto {
|
|
1025
1040
|
id: string;
|
|
1026
1041
|
status: JobStatus;
|
|
1027
|
-
progress
|
|
1028
|
-
result
|
|
1029
|
-
errorMessage
|
|
1030
|
-
startedAt
|
|
1031
|
-
finishedAt
|
|
1042
|
+
progress?: number | null;
|
|
1043
|
+
result?: string | null;
|
|
1044
|
+
errorMessage?: string | null;
|
|
1045
|
+
startedAt?: string | null;
|
|
1046
|
+
finishedAt?: string | null;
|
|
1032
1047
|
}
|
|
1033
1048
|
export declare enum ImportMode {
|
|
1034
1049
|
APPEND = "append"
|
|
@@ -1038,8 +1053,10 @@ export interface ImportPreviewColumnDto {
|
|
|
1038
1053
|
inferredType: string;
|
|
1039
1054
|
}
|
|
1040
1055
|
export interface ImportPreviewResponseDto {
|
|
1041
|
-
columns: ImportPreviewColumnDto[];
|
|
1042
|
-
sampleRows:
|
|
1056
|
+
columns: (ImportPreviewColumnDto)[];
|
|
1057
|
+
sampleRows: ({
|
|
1058
|
+
[key: string]: unknown;
|
|
1059
|
+
})[];
|
|
1043
1060
|
}
|
|
1044
1061
|
export interface ImportStartResponseDto {
|
|
1045
1062
|
jobId: string;
|
|
@@ -1049,16 +1066,16 @@ export interface ImportUploadResponseDto {
|
|
|
1049
1066
|
sourceType: AttachmentSourceType;
|
|
1050
1067
|
sourceId: string;
|
|
1051
1068
|
fileName: string;
|
|
1052
|
-
mimeType
|
|
1053
|
-
size
|
|
1069
|
+
mimeType?: string | null;
|
|
1070
|
+
size?: number | null;
|
|
1054
1071
|
}
|
|
1055
1072
|
export interface InternalOperationDto {
|
|
1056
1073
|
payload?: Record<string, unknown>;
|
|
1057
1074
|
}
|
|
1058
1075
|
export interface InvalidateCacheDto {
|
|
1059
|
-
tableIds?: string[];
|
|
1060
|
-
viewIds?: string[];
|
|
1061
|
-
records?: string[];
|
|
1076
|
+
tableIds?: (string)[];
|
|
1077
|
+
viewIds?: (string)[];
|
|
1078
|
+
records?: (string)[];
|
|
1062
1079
|
reason?: string;
|
|
1063
1080
|
}
|
|
1064
1081
|
export interface JobListenDataDto {
|
|
@@ -1082,23 +1099,25 @@ export interface KanbanViewConfigDto {
|
|
|
1082
1099
|
}
|
|
1083
1100
|
export interface KanbanViewDetailResponseDto {
|
|
1084
1101
|
config: KanbanViewResponseDto;
|
|
1085
|
-
columns: ViewColumnResponseDto
|
|
1102
|
+
columns: ViewColumnResponseDto;
|
|
1086
1103
|
}
|
|
1087
1104
|
export interface KanbanViewResponseDto {
|
|
1088
1105
|
viewId: string;
|
|
1089
|
-
workspaceId
|
|
1090
|
-
baseId
|
|
1091
|
-
sourceId
|
|
1092
|
-
groupFieldId
|
|
1093
|
-
coverImageFieldId
|
|
1094
|
-
meta
|
|
1106
|
+
workspaceId?: string | null;
|
|
1107
|
+
baseId?: string | null;
|
|
1108
|
+
sourceId?: string | null;
|
|
1109
|
+
groupFieldId?: string | null;
|
|
1110
|
+
coverImageFieldId?: string | null;
|
|
1111
|
+
meta?: {
|
|
1112
|
+
[key: string]: unknown;
|
|
1113
|
+
};
|
|
1095
1114
|
createdAt: number;
|
|
1096
|
-
updatedAt
|
|
1115
|
+
updatedAt?: number | null;
|
|
1097
1116
|
}
|
|
1098
1117
|
export interface ListAclEntriesQueryDto {
|
|
1099
1118
|
roleCode?: WorkspaceRoleCode;
|
|
1100
|
-
sourceId?:
|
|
1101
|
-
fkModelId?:
|
|
1119
|
+
sourceId?: unknown;
|
|
1120
|
+
fkModelId?: unknown;
|
|
1102
1121
|
acl?: boolean;
|
|
1103
1122
|
create?: boolean;
|
|
1104
1123
|
read?: boolean;
|
|
@@ -1145,8 +1164,8 @@ export type ListJobsQueryDto = LimitOffsetQueryDto & {
|
|
|
1145
1164
|
export interface ListPermissionsQueryDto {
|
|
1146
1165
|
subjectType?: SupportedPermissionSubjectType;
|
|
1147
1166
|
resourceType?: SupportedPermissionResourceType;
|
|
1148
|
-
fkSubjectId?:
|
|
1149
|
-
fkResourceId?:
|
|
1167
|
+
fkSubjectId?: unknown;
|
|
1168
|
+
fkResourceId?: unknown;
|
|
1150
1169
|
}
|
|
1151
1170
|
export interface ListPermissionSubjectsQueryDto {
|
|
1152
1171
|
type?: SupportedPermissionSubjectType;
|
|
@@ -1190,19 +1209,21 @@ export interface MapViewConfigDto {
|
|
|
1190
1209
|
}
|
|
1191
1210
|
export interface MapViewDetailResponseDto {
|
|
1192
1211
|
config: MapViewResponseDto;
|
|
1193
|
-
columns: ViewColumnResponseDto
|
|
1212
|
+
columns: ViewColumnResponseDto;
|
|
1194
1213
|
}
|
|
1195
1214
|
export interface MapViewResponseDto {
|
|
1196
1215
|
viewId: string;
|
|
1197
|
-
workspaceId
|
|
1198
|
-
baseId
|
|
1199
|
-
sourceId
|
|
1200
|
-
geoDataFieldId
|
|
1201
|
-
meta
|
|
1216
|
+
workspaceId?: string | null;
|
|
1217
|
+
baseId?: string | null;
|
|
1218
|
+
sourceId?: string | null;
|
|
1219
|
+
geoDataFieldId?: string | null;
|
|
1220
|
+
meta?: {
|
|
1221
|
+
[key: string]: unknown;
|
|
1222
|
+
};
|
|
1202
1223
|
mapType: MapProviderType | null;
|
|
1203
|
-
mapApiKey
|
|
1224
|
+
mapApiKey?: string | null;
|
|
1204
1225
|
createdAt: number;
|
|
1205
|
-
updatedAt
|
|
1226
|
+
updatedAt?: number | null;
|
|
1206
1227
|
}
|
|
1207
1228
|
export declare enum MembershipScope {
|
|
1208
1229
|
WORKSPACE = "workspace",
|
|
@@ -1218,45 +1239,37 @@ export interface PaginationQueryDto {
|
|
|
1218
1239
|
}
|
|
1219
1240
|
export type PermissionAction = 'read' | 'create' | 'update' | 'delete' | 'share' | 'export' | 'admin';
|
|
1220
1241
|
export interface PermissionListResponseDto {
|
|
1221
|
-
list: PermissionResponseDto
|
|
1242
|
+
list: PermissionResponseDto;
|
|
1222
1243
|
}
|
|
1223
|
-
export type PermissionMap = Partial<Record<PermissionAction, boolean>> & {
|
|
1224
|
-
fields?: string[];
|
|
1225
|
-
filters?: AclFilter;
|
|
1226
|
-
};
|
|
1227
1244
|
export interface PermissionResponseDto {
|
|
1228
1245
|
id: string;
|
|
1229
|
-
fkWorkspaceId
|
|
1230
|
-
baseId
|
|
1246
|
+
fkWorkspaceId?: unknown | null;
|
|
1247
|
+
baseId?: unknown | null;
|
|
1231
1248
|
fkSubjectId: string;
|
|
1232
1249
|
subjectType: SupportedPermissionSubjectType;
|
|
1233
1250
|
fkResourceId: string;
|
|
1234
1251
|
resourceType: SupportedPermissionResourceType;
|
|
1235
|
-
permissions:
|
|
1236
|
-
|
|
1237
|
-
|
|
1252
|
+
permissions: {
|
|
1253
|
+
[key: string]: boolean;
|
|
1254
|
+
};
|
|
1255
|
+
createdAt?: unknown | null;
|
|
1256
|
+
updatedAt?: unknown | null;
|
|
1238
1257
|
}
|
|
1239
1258
|
export interface PermissionSubjectListResponseDto {
|
|
1240
|
-
list: PermissionSubjectResponseDto
|
|
1241
|
-
}
|
|
1242
|
-
export type PermissionSubjectMembers = {
|
|
1243
|
-
userIds?: Array<string | number>;
|
|
1244
|
-
users?: Array<string | number>;
|
|
1245
|
-
teamIds?: Array<string | number>;
|
|
1246
|
-
teams?: Array<string | number>;
|
|
1247
|
-
roleIds?: string[];
|
|
1248
|
-
roles?: string[];
|
|
1249
|
-
};
|
|
1259
|
+
list: PermissionSubjectResponseDto;
|
|
1260
|
+
}
|
|
1250
1261
|
export interface PermissionSubjectResponseDto {
|
|
1251
1262
|
id: string;
|
|
1252
|
-
fkWorkspaceId
|
|
1263
|
+
fkWorkspaceId?: unknown | null;
|
|
1253
1264
|
title: string;
|
|
1254
|
-
description
|
|
1265
|
+
description?: unknown | null;
|
|
1255
1266
|
type: SupportedPermissionSubjectType;
|
|
1256
|
-
members
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1267
|
+
members?: {
|
|
1268
|
+
[key: string]: unknown;
|
|
1269
|
+
} | null;
|
|
1270
|
+
inheritsFrom?: unknown | null;
|
|
1271
|
+
createdAt?: unknown | null;
|
|
1272
|
+
updatedAt?: unknown | null;
|
|
1260
1273
|
}
|
|
1261
1274
|
export interface PinCommandPaletteDto {
|
|
1262
1275
|
type: 'table' | 'view' | 'action';
|
|
@@ -1273,89 +1286,6 @@ export interface PreviewImportDto {
|
|
|
1273
1286
|
hasHeader?: boolean;
|
|
1274
1287
|
sampleSize?: number;
|
|
1275
1288
|
}
|
|
1276
|
-
export declare enum ProviderEnum {
|
|
1277
|
-
REDAI_LLM = "REDAI",
|
|
1278
|
-
OPENAI = "OPENAI",
|
|
1279
|
-
GOOGLE_AI_STUDIO = "GOOGLE_AI_STUDIO",
|
|
1280
|
-
OPENAI_OAUTH = "OPENAI_OAUTH",
|
|
1281
|
-
ALIBABA_CODING_PLAN = "ALIBABA_CODING_PLAN",
|
|
1282
|
-
XAI = "XAI",
|
|
1283
|
-
ANTHROPIC = "ANTHROPIC",
|
|
1284
|
-
DEEPSEEK = "DEEPSEEK",
|
|
1285
|
-
VERTEX_AI = "VERTEX_AI",
|
|
1286
|
-
OPENROUTER = "OPENROUTER",
|
|
1287
|
-
AZURE_AI = "AZURE_AI",
|
|
1288
|
-
PERPLEXITY_AI = "PERPLEXITY_AI",
|
|
1289
|
-
REDAI_EXTENSION = "REDAI_EXTENSION",
|
|
1290
|
-
AGENT_DESKTOP_SDK_EXE = "AGENT_DESKTOP_SDK_EXE",
|
|
1291
|
-
FACEBOOK_PAGE = "FACEBOOK_PAGE",
|
|
1292
|
-
FACEBOOK_PERSONAL = "FACEBOOK_PERSONAL",
|
|
1293
|
-
FACEBOOK_ADS = "FACEBOOK_ADS",
|
|
1294
|
-
FACEBOOK_BUSINESS = "FACEBOOK_BUSINESS",
|
|
1295
|
-
TIKTOK = "TIKTOK",
|
|
1296
|
-
WEBSITE = "WEBSITE",
|
|
1297
|
-
ZALO_OA = "ZALO_OA",
|
|
1298
|
-
ZALO_PERSONAL = "ZALO_PERSONAL",
|
|
1299
|
-
ZALO_BOT = "ZALO_BOT",
|
|
1300
|
-
TELEGRAM_BOT = "TELEGRAM_BOT",
|
|
1301
|
-
TELEGRAM = "TELEGRAM",
|
|
1302
|
-
GHTK = "GHTK",
|
|
1303
|
-
GHN = "GHN",
|
|
1304
|
-
AHAMOVE = "AHAMOVE",
|
|
1305
|
-
MB_BANK = "MB_BANK",
|
|
1306
|
-
OCB_BANK = "OCB_BANK",
|
|
1307
|
-
KL_BANK = "KL_BANK",
|
|
1308
|
-
ACB_BANK = "ACB_BANK",
|
|
1309
|
-
VCB_BANK = "VCB_BANK",
|
|
1310
|
-
TCB_BANK = "TCB_BANK",
|
|
1311
|
-
VIB_BANK = "VIB_BANK",
|
|
1312
|
-
VPB_BANK = "VPB_BANK",
|
|
1313
|
-
TPB_BANK = "TPB_BANK",
|
|
1314
|
-
STB_BANK = "STB_BANK",
|
|
1315
|
-
HDB_BANK = "HDB_BANK",
|
|
1316
|
-
VTB_BANK = "VTB_BANK",
|
|
1317
|
-
BIDV_BANK = "BIDV_BANK",
|
|
1318
|
-
AGRIBANK_BANK = "AGRIBANK_BANK",
|
|
1319
|
-
SHB_BANK = "SHB_BANK",
|
|
1320
|
-
SCB_BANK = "SCB_BANK",
|
|
1321
|
-
NONE = "NONE",
|
|
1322
|
-
CUSTOM = "CUSTOM",
|
|
1323
|
-
EMAIL_SMTP = "EMAIL_SMTP",
|
|
1324
|
-
EMAIL_TWILIO_SENDGRID = "EMAIL_TWILIO_SENDGRID",
|
|
1325
|
-
EMAIL_GMAIL = "EMAIL_GMAIL",
|
|
1326
|
-
EMAIL_OUTLOOK = "EMAIL_OUTLOOK",
|
|
1327
|
-
SMS_FPT = "SMS_FPT",
|
|
1328
|
-
SMS_TWILIO = "SMS_TWILIO",
|
|
1329
|
-
SMS_VONAGE = "SMS_VONAGE",
|
|
1330
|
-
SMS_SPEED = "SMS_SPEED",
|
|
1331
|
-
SMS_ESMS = "SMS_ESMS",
|
|
1332
|
-
SMS_ESMS_ADVERTISING = "SMS_ESMS_ADVERTISING",
|
|
1333
|
-
SMS_ESMS_CUSTOMER_CARE = "SMS_ESMS_CUSTOMER_CARE",
|
|
1334
|
-
SMS_ESMS_VIBER = "SMS_ESMS_VIBER",
|
|
1335
|
-
GOOGLE_CALENDAR = "GOOGLE_CALENDAR",
|
|
1336
|
-
GOOGLE_SHEETS = "GOOGLE_SHEETS",
|
|
1337
|
-
GOOGLE_DOCS = "GOOGLE_DOCS",
|
|
1338
|
-
GOOGLE_DRIVE = "GOOGLE_DRIVE",
|
|
1339
|
-
GOOGLE_ADS = "GOOGLE_ADS",
|
|
1340
|
-
GETFLY_CRM = "GETFLY_CRM",
|
|
1341
|
-
GOOGLE_CLOUD_PROJECT = "GOOGLE_CLOUD_PROJECT",
|
|
1342
|
-
PROXY = "PROXY",
|
|
1343
|
-
DATABASE_POSTGRESQL = "DATABASE_POSTGRESQL",
|
|
1344
|
-
DATABASE_MYSQL = "DATABASE_MYSQL",
|
|
1345
|
-
DATABASE_MSSQL = "DATABASE_MSSQL",
|
|
1346
|
-
DATABASE_MONGODB = "DATABASE_MONGODB",
|
|
1347
|
-
DATABASE_REDIS = "DATABASE_REDIS",
|
|
1348
|
-
DATABASE_SQLITE = "DATABASE_SQLITE",
|
|
1349
|
-
DATABASE_ORACLE = "DATABASE_ORACLE",
|
|
1350
|
-
DATABASE_MARIADB = "DATABASE_MARIADB",
|
|
1351
|
-
CLOUD_AWS_S3 = "CLOUD_AWS_S3",
|
|
1352
|
-
CLOUD_GOOGLE_CLOUD_STORAGE = "CLOUD_GOOGLE_CLOUD_STORAGE",
|
|
1353
|
-
CLOUD_AZURE_BLOB = "CLOUD_AZURE_BLOB",
|
|
1354
|
-
CLOUD_MINIO = "CLOUD_MINIO",
|
|
1355
|
-
CLOUD_CLOUDFLARE_R2 = "CLOUD_CLOUDFLARE_R2",
|
|
1356
|
-
CLOUD_BACKBLAZE_B2 = "CLOUD_BACKBLAZE_B2",
|
|
1357
|
-
CLOUD_WASABI = "CLOUD_WASABI"
|
|
1358
|
-
}
|
|
1359
1289
|
export type RecordAuditQueryDto = PaginationQueryDto;
|
|
1360
1290
|
export type RecordIdPayload = {
|
|
1361
1291
|
id: string | number;
|
|
@@ -1371,6 +1301,23 @@ export interface RecordMoveDto {
|
|
|
1371
1301
|
beforeRecordId?: string | null;
|
|
1372
1302
|
viewId?: string;
|
|
1373
1303
|
}
|
|
1304
|
+
export interface RedaiViewWidgetRuntimeDto {
|
|
1305
|
+
family: 'redai-view';
|
|
1306
|
+
widgetType: 'redai_view';
|
|
1307
|
+
tableId: string;
|
|
1308
|
+
viewId: string;
|
|
1309
|
+
viewType: ViewType;
|
|
1310
|
+
title?: string;
|
|
1311
|
+
visibleFieldIds?: (string)[];
|
|
1312
|
+
pageSize?: number | null;
|
|
1313
|
+
filters: ({
|
|
1314
|
+
[key: string]: unknown;
|
|
1315
|
+
})[];
|
|
1316
|
+
sorts: ({
|
|
1317
|
+
[key: string]: unknown;
|
|
1318
|
+
})[];
|
|
1319
|
+
dashboardEmbed: true;
|
|
1320
|
+
}
|
|
1374
1321
|
export interface RelationConfigWithRefsDto {
|
|
1375
1322
|
relationType: RelationType;
|
|
1376
1323
|
relatedTableId?: string;
|
|
@@ -1402,7 +1349,7 @@ export interface ReorderDashboardItemDto {
|
|
|
1402
1349
|
order: number;
|
|
1403
1350
|
}
|
|
1404
1351
|
export interface ReorderDashboardsDto {
|
|
1405
|
-
items: ReorderDashboardItemDto[];
|
|
1352
|
+
items: (ReorderDashboardItemDto)[];
|
|
1406
1353
|
}
|
|
1407
1354
|
export interface ReorderTableItemDto {
|
|
1408
1355
|
tableId: string;
|
|
@@ -1419,10 +1366,10 @@ export interface ReorderWidgetItemDto {
|
|
|
1419
1366
|
order: number;
|
|
1420
1367
|
}
|
|
1421
1368
|
export interface ReorderWidgetsDto {
|
|
1422
|
-
items: ReorderWidgetItemDto[];
|
|
1369
|
+
items: (ReorderWidgetItemDto)[];
|
|
1423
1370
|
}
|
|
1424
1371
|
export interface ReplaceWidgetFiltersDto {
|
|
1425
|
-
filters: WidgetFilterNodeDto[];
|
|
1372
|
+
filters: (WidgetFilterNodeDto)[];
|
|
1426
1373
|
}
|
|
1427
1374
|
export interface RequestJoinByInviteLinkDto {
|
|
1428
1375
|
token: string;
|
|
@@ -1436,39 +1383,43 @@ export interface RollupConfigWithRefsDto {
|
|
|
1436
1383
|
export interface RowColorConditionResponseDto {
|
|
1437
1384
|
id: string;
|
|
1438
1385
|
viewId: string;
|
|
1439
|
-
fieldId
|
|
1440
|
-
operator
|
|
1441
|
-
value
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1386
|
+
fieldId?: string | null;
|
|
1387
|
+
operator?: string | null;
|
|
1388
|
+
value?: {
|
|
1389
|
+
[key: string]: unknown;
|
|
1390
|
+
};
|
|
1391
|
+
color?: string | null;
|
|
1392
|
+
backgroundColor?: string | null;
|
|
1393
|
+
order?: number | null;
|
|
1394
|
+
createdAt?: number | null;
|
|
1395
|
+
updatedAt?: number | null;
|
|
1447
1396
|
}
|
|
1448
1397
|
export interface RowColorConfigResponseDto {
|
|
1449
1398
|
mode: RowColoringMode | null;
|
|
1450
|
-
conditions: RowColorConditionResponseDto
|
|
1399
|
+
conditions: RowColorConditionResponseDto;
|
|
1451
1400
|
}
|
|
1452
1401
|
export interface ScheduledHookResponseDto {
|
|
1453
1402
|
id: string;
|
|
1454
|
-
workspaceId:
|
|
1455
|
-
baseId:
|
|
1456
|
-
tableId:
|
|
1457
|
-
hookId:
|
|
1458
|
-
datetimeFieldId:
|
|
1403
|
+
workspaceId: unknown | null;
|
|
1404
|
+
baseId: unknown | null;
|
|
1405
|
+
tableId: unknown | null;
|
|
1406
|
+
hookId: unknown | null;
|
|
1407
|
+
datetimeFieldId: unknown | null;
|
|
1459
1408
|
name: string;
|
|
1460
|
-
description?:
|
|
1461
|
-
type?:
|
|
1462
|
-
timeZone?:
|
|
1463
|
-
trigger?:
|
|
1464
|
-
meta?:
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1409
|
+
description?: unknown | null;
|
|
1410
|
+
type?: unknown | null;
|
|
1411
|
+
timeZone?: unknown | null;
|
|
1412
|
+
trigger?: unknown | null;
|
|
1413
|
+
meta?: {
|
|
1414
|
+
[key: string]: unknown;
|
|
1415
|
+
} | null;
|
|
1416
|
+
active?: unknown | null;
|
|
1417
|
+
lastExecutedAt?: unknown | null;
|
|
1418
|
+
nextExecutionAt?: unknown | null;
|
|
1419
|
+
hookTitle?: unknown | null;
|
|
1420
|
+
datetimeFieldName?: unknown | null;
|
|
1421
|
+
createdAt?: unknown | null;
|
|
1422
|
+
updatedAt?: unknown | null;
|
|
1472
1423
|
}
|
|
1473
1424
|
export interface SecureAttachmentTokenDto {
|
|
1474
1425
|
ttlSeconds?: number;
|
|
@@ -1476,42 +1427,33 @@ export interface SecureAttachmentTokenDto {
|
|
|
1476
1427
|
export interface SortResponseDto {
|
|
1477
1428
|
id: string;
|
|
1478
1429
|
viewId: string;
|
|
1479
|
-
fieldId
|
|
1480
|
-
direction
|
|
1481
|
-
order
|
|
1482
|
-
createdAt
|
|
1483
|
-
updatedAt
|
|
1484
|
-
}
|
|
1485
|
-
export type SourceMeta = {
|
|
1486
|
-
schema?: string;
|
|
1487
|
-
version?: string;
|
|
1488
|
-
driver?: string;
|
|
1489
|
-
lastSyncedAt?: number;
|
|
1490
|
-
lastCatalogSyncAt?: number;
|
|
1491
|
-
note?: string;
|
|
1492
|
-
readOnlySchema?: boolean;
|
|
1493
|
-
readOnlyData?: boolean;
|
|
1494
|
-
providerType?: string;
|
|
1495
|
-
catalogNamespaces?: string[];
|
|
1496
|
-
sourceFingerprint?: string;
|
|
1497
|
-
};
|
|
1430
|
+
fieldId?: string | null;
|
|
1431
|
+
direction?: string | null;
|
|
1432
|
+
order?: number | null;
|
|
1433
|
+
createdAt?: number | null;
|
|
1434
|
+
updatedAt?: number | null;
|
|
1435
|
+
}
|
|
1498
1436
|
export interface SourceResponseDto {
|
|
1499
1437
|
id: string;
|
|
1500
|
-
fkWorkspaceId
|
|
1501
|
-
baseId
|
|
1502
|
-
alias
|
|
1438
|
+
fkWorkspaceId?: string | null;
|
|
1439
|
+
baseId?: string | null;
|
|
1440
|
+
alias?: string | null;
|
|
1503
1441
|
type: SourceType | null;
|
|
1504
|
-
config
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1442
|
+
config?: {
|
|
1443
|
+
[key: string]: unknown;
|
|
1444
|
+
};
|
|
1445
|
+
enabled?: boolean | null;
|
|
1446
|
+
isMeta?: boolean | null;
|
|
1447
|
+
order?: number | null;
|
|
1448
|
+
inflectionColumn?: string | null;
|
|
1449
|
+
inflectionTable?: string | null;
|
|
1450
|
+
meta?: {
|
|
1451
|
+
[key: string]: unknown;
|
|
1452
|
+
};
|
|
1453
|
+
deleted?: boolean | null;
|
|
1454
|
+
fkIntegrationId?: string | null;
|
|
1455
|
+
createdAt?: number | null;
|
|
1456
|
+
updatedAt?: number | null;
|
|
1515
1457
|
}
|
|
1516
1458
|
export interface StartExportDto {
|
|
1517
1459
|
viewId?: string;
|
|
@@ -1525,7 +1467,7 @@ export interface StartImportDto {
|
|
|
1525
1467
|
sourceId?: string;
|
|
1526
1468
|
format: ImportFileFormat;
|
|
1527
1469
|
mode?: ImportMode;
|
|
1528
|
-
mapping?: ImportFieldMappingDto[];
|
|
1470
|
+
mapping?: (ImportFieldMappingDto)[];
|
|
1529
1471
|
options?: StartImportOptionsDto;
|
|
1530
1472
|
}
|
|
1531
1473
|
export interface StartImportOptionsDto {
|
|
@@ -1537,23 +1479,9 @@ export interface StartImportOptionsDto {
|
|
|
1537
1479
|
export type SupportedPermissionResourceType = (typeof PERMISSION_RESOURCE_TYPES)[number];
|
|
1538
1480
|
export type SupportedPermissionSubjectType = (typeof PERMISSION_SUBJECT_TYPES)[number];
|
|
1539
1481
|
export type SyncFromIntegrationDto = CatalogFromIntegrationDto & {
|
|
1540
|
-
tables?: ExternalCatalogTableSelectionDto[];
|
|
1482
|
+
tables?: (ExternalCatalogTableSelectionDto)[];
|
|
1541
1483
|
syncRelations?: boolean;
|
|
1542
1484
|
};
|
|
1543
|
-
export type TableMeta = {
|
|
1544
|
-
icon?: string;
|
|
1545
|
-
color?: string;
|
|
1546
|
-
coverImage?: string;
|
|
1547
|
-
tags?: string[];
|
|
1548
|
-
primaryFieldId?: string;
|
|
1549
|
-
displayFieldId?: string;
|
|
1550
|
-
isTemplate?: boolean;
|
|
1551
|
-
externalObjectType?: 'table' | 'view';
|
|
1552
|
-
externalCatalogName?: string;
|
|
1553
|
-
isReadonly?: boolean;
|
|
1554
|
-
syncState?: 'active' | 'stale';
|
|
1555
|
-
sourceFingerprint?: string;
|
|
1556
|
-
};
|
|
1557
1485
|
export type TableRecord = Record<string, JsonValue> & {
|
|
1558
1486
|
id?: string | number;
|
|
1559
1487
|
};
|
|
@@ -1578,15 +1506,6 @@ export interface TestWorkspaceNotificationEmailChannelDto {
|
|
|
1578
1506
|
recipientEmail: string;
|
|
1579
1507
|
subject?: string;
|
|
1580
1508
|
}
|
|
1581
|
-
export type TextWidgetConfig = {
|
|
1582
|
-
content: JsonValue;
|
|
1583
|
-
format: 'plain' | 'markdown' | 'json';
|
|
1584
|
-
variables?: TextWidgetVariableBinding[];
|
|
1585
|
-
};
|
|
1586
|
-
export type TextWidgetVariableBinding = {
|
|
1587
|
-
key: string;
|
|
1588
|
-
sourceWidgetId: string;
|
|
1589
|
-
};
|
|
1590
1509
|
export type TokenPermissions = {
|
|
1591
1510
|
actions?: PermissionAction[];
|
|
1592
1511
|
scopes?: string[];
|
|
@@ -1613,8 +1532,8 @@ export type UpdateBaseMemberDto = Partial<AddBaseMemberDto> & {
|
|
|
1613
1532
|
export type UpdateCalendarViewDto = Partial<CalendarViewConfigDto>;
|
|
1614
1533
|
export interface UpdateCommentDto {
|
|
1615
1534
|
commentText: string;
|
|
1616
|
-
attachments?: CommentAttachmentInputDto[];
|
|
1617
|
-
mentions?: CommentMentionInputDto[];
|
|
1535
|
+
attachments?: (CommentAttachmentInputDto)[];
|
|
1536
|
+
mentions?: (CommentMentionInputDto)[];
|
|
1618
1537
|
}
|
|
1619
1538
|
export type UpdateDashboardDto = Partial<CreateDashboardDto>;
|
|
1620
1539
|
export type UpdateFormViewDto = Partial<FormViewConfigDto>;
|
|
@@ -1647,8 +1566,8 @@ export interface UpdateTableDto {
|
|
|
1647
1566
|
}
|
|
1648
1567
|
export type UpdateTableFieldDto = Partial<CreateTableFieldDto>;
|
|
1649
1568
|
export interface UpdateUserUiPreferencesDto {
|
|
1650
|
-
defaultWorkspaceId?:
|
|
1651
|
-
defaultBaseId?:
|
|
1569
|
+
defaultWorkspaceId?: unknown | null;
|
|
1570
|
+
defaultBaseId?: unknown | null;
|
|
1652
1571
|
}
|
|
1653
1572
|
export type UpdateViewColumnDto = Partial<CreateViewColumnDto>;
|
|
1654
1573
|
export type UpdateViewColumnItemDto = UpdateViewColumnDto & {
|
|
@@ -1681,43 +1600,43 @@ export type UpdateWorkspaceNotificationEmailChannelDto = Partial<CreateWorkspace
|
|
|
1681
1600
|
export interface UploadImportFileDto {
|
|
1682
1601
|
}
|
|
1683
1602
|
export interface UserUiPreferencesRawDto {
|
|
1684
|
-
defaultWorkspaceId
|
|
1685
|
-
defaultBaseId
|
|
1603
|
+
defaultWorkspaceId?: unknown | null;
|
|
1604
|
+
defaultBaseId?: unknown | null;
|
|
1686
1605
|
}
|
|
1687
1606
|
export interface UserUiPreferencesResolvedDto {
|
|
1688
|
-
defaultWorkspaceId
|
|
1689
|
-
defaultBaseId
|
|
1690
|
-
defaultWorkspaceName
|
|
1691
|
-
defaultBaseTitle
|
|
1607
|
+
defaultWorkspaceId?: unknown | null;
|
|
1608
|
+
defaultBaseId?: unknown | null;
|
|
1609
|
+
defaultWorkspaceName?: unknown | null;
|
|
1610
|
+
defaultBaseTitle?: unknown | null;
|
|
1692
1611
|
isValid: boolean;
|
|
1693
|
-
reason?:
|
|
1612
|
+
reason?: unknown | null;
|
|
1694
1613
|
}
|
|
1695
1614
|
export interface ViewColumnResponseDto {
|
|
1696
1615
|
id: string;
|
|
1697
1616
|
viewId: string;
|
|
1698
|
-
workspaceId
|
|
1699
|
-
baseId
|
|
1700
|
-
sourceId
|
|
1617
|
+
workspaceId?: string | null;
|
|
1618
|
+
baseId?: string | null;
|
|
1619
|
+
sourceId?: string | null;
|
|
1701
1620
|
fieldId: string;
|
|
1702
|
-
show
|
|
1703
|
-
order
|
|
1704
|
-
width
|
|
1621
|
+
show?: boolean | null;
|
|
1622
|
+
order?: number | null;
|
|
1623
|
+
width?: string | null;
|
|
1705
1624
|
align: GridColumnAlign | null;
|
|
1706
|
-
groupBy
|
|
1707
|
-
groupByOrder
|
|
1708
|
-
groupBySort
|
|
1709
|
-
aggregation
|
|
1710
|
-
label
|
|
1711
|
-
helpText
|
|
1712
|
-
placeholder
|
|
1713
|
-
required
|
|
1714
|
-
description
|
|
1715
|
-
createdAt
|
|
1716
|
-
updatedAt
|
|
1625
|
+
groupBy?: boolean | null;
|
|
1626
|
+
groupByOrder?: number | null;
|
|
1627
|
+
groupBySort?: string | null;
|
|
1628
|
+
aggregation?: string | null;
|
|
1629
|
+
label?: string | null;
|
|
1630
|
+
helpText?: string | null;
|
|
1631
|
+
placeholder?: string | null;
|
|
1632
|
+
required?: boolean | null;
|
|
1633
|
+
description?: string | null;
|
|
1634
|
+
createdAt?: number | null;
|
|
1635
|
+
updatedAt?: number | null;
|
|
1717
1636
|
}
|
|
1718
1637
|
export type ViewDetailQueryDto = ListViewsQueryDto;
|
|
1719
1638
|
export interface WarmupCacheDto {
|
|
1720
|
-
tableIds?: string[];
|
|
1639
|
+
tableIds?: (string)[];
|
|
1721
1640
|
ttlSeconds?: number;
|
|
1722
1641
|
}
|
|
1723
1642
|
export interface WidgetFilterNodeDto {
|
|
@@ -1728,32 +1647,25 @@ export interface WidgetFilterNodeDto {
|
|
|
1728
1647
|
isGroup?: boolean;
|
|
1729
1648
|
logicalOp?: FilterLogicalOp | null;
|
|
1730
1649
|
order?: number | null;
|
|
1731
|
-
children?: WidgetFilterNodeDto[];
|
|
1732
|
-
}
|
|
1733
|
-
export
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
filters: Record<string, unknown>[];
|
|
1744
|
-
sorts: Array<{
|
|
1745
|
-
fieldId: string;
|
|
1746
|
-
direction: string;
|
|
1747
|
-
}>;
|
|
1748
|
-
groupBy?: string[];
|
|
1749
|
-
limit?: number | null;
|
|
1650
|
+
children?: (WidgetFilterNodeDto)[];
|
|
1651
|
+
}
|
|
1652
|
+
export declare enum WidgetType {
|
|
1653
|
+
CHART = "chart",
|
|
1654
|
+
METRIC = "metric",
|
|
1655
|
+
REDAI_VIEW = "redai_view",
|
|
1656
|
+
TEXT = "text",
|
|
1657
|
+
TABLE = "table",
|
|
1658
|
+
LIST = "list",
|
|
1659
|
+
CALENDAR = "calendar",
|
|
1660
|
+
KANBAN = "kanban",
|
|
1661
|
+
MAP = "map"
|
|
1750
1662
|
}
|
|
1751
1663
|
export interface WorkspaceInviteLinkPreviewResponseDto {
|
|
1752
1664
|
workspaceId: string;
|
|
1753
1665
|
workspaceName: string;
|
|
1754
|
-
workspaceLogo
|
|
1666
|
+
workspaceLogo?: string | null;
|
|
1755
1667
|
ownerId: number;
|
|
1756
|
-
ownerName
|
|
1668
|
+
ownerName?: string | null;
|
|
1757
1669
|
roleCode: WorkspaceRoleCode;
|
|
1758
1670
|
scope: MembershipScope;
|
|
1759
1671
|
expiresAt: number;
|
|
@@ -1764,16 +1676,16 @@ export interface WorkspaceInviteLinkResponseDto {
|
|
|
1764
1676
|
workspaceId: string;
|
|
1765
1677
|
roleCode: WorkspaceRoleCode;
|
|
1766
1678
|
scope: MembershipScope;
|
|
1767
|
-
baseId
|
|
1768
|
-
teamId
|
|
1769
|
-
roles
|
|
1679
|
+
baseId?: string | null;
|
|
1680
|
+
teamId?: string | null;
|
|
1681
|
+
roles?: string | null;
|
|
1770
1682
|
expiresAt: number;
|
|
1771
1683
|
maxUses: number;
|
|
1772
1684
|
usedCount: number;
|
|
1773
1685
|
createdBy: number;
|
|
1774
1686
|
status: WorkspaceInviteLinkStatus;
|
|
1775
|
-
createdAt
|
|
1776
|
-
updatedAt
|
|
1687
|
+
createdAt?: number | null;
|
|
1688
|
+
updatedAt?: number | null;
|
|
1777
1689
|
url?: string;
|
|
1778
1690
|
}
|
|
1779
1691
|
export interface WorkspaceInviteLinkSettingsResponseDto {
|
|
@@ -1782,8 +1694,8 @@ export interface WorkspaceInviteLinkSettingsResponseDto {
|
|
|
1782
1694
|
allowJoinViaInviteLink: boolean;
|
|
1783
1695
|
defaultExpiryDays: number;
|
|
1784
1696
|
defaultMaxUses: number;
|
|
1785
|
-
createdAt
|
|
1786
|
-
updatedAt
|
|
1697
|
+
createdAt?: number | null;
|
|
1698
|
+
updatedAt?: number | null;
|
|
1787
1699
|
}
|
|
1788
1700
|
export declare enum WorkspaceInviteLinkStatus {
|
|
1789
1701
|
ACTIVE = "ACTIVE",
|
|
@@ -1796,14 +1708,14 @@ export interface WorkspaceInviteResponseDto {
|
|
|
1796
1708
|
email: string;
|
|
1797
1709
|
roleCode: WorkspaceRoleCode;
|
|
1798
1710
|
scope: MembershipScope;
|
|
1799
|
-
baseId
|
|
1800
|
-
teamId
|
|
1801
|
-
roles
|
|
1711
|
+
baseId?: string | null;
|
|
1712
|
+
teamId?: string | null;
|
|
1713
|
+
roles?: string | null;
|
|
1802
1714
|
invitedBy: number;
|
|
1803
1715
|
status: WorkspaceInviteStatus;
|
|
1804
1716
|
expiresAt: number;
|
|
1805
|
-
acceptedBy
|
|
1806
|
-
acceptedAt
|
|
1717
|
+
acceptedBy?: number | null;
|
|
1718
|
+
acceptedAt?: number | null;
|
|
1807
1719
|
createdAt: number;
|
|
1808
1720
|
updatedAt: number;
|
|
1809
1721
|
}
|
|
@@ -1820,12 +1732,12 @@ export interface WorkspaceJoinRequestResponseDto {
|
|
|
1820
1732
|
inviteLinkId: string;
|
|
1821
1733
|
status: WorkspaceJoinRequestStatus;
|
|
1822
1734
|
requestedAt: number;
|
|
1823
|
-
approvedBy
|
|
1824
|
-
approvedAt
|
|
1825
|
-
rejectedBy
|
|
1826
|
-
rejectedAt
|
|
1827
|
-
createdAt
|
|
1828
|
-
updatedAt
|
|
1735
|
+
approvedBy?: number | null;
|
|
1736
|
+
approvedAt?: number | null;
|
|
1737
|
+
rejectedBy?: number | null;
|
|
1738
|
+
rejectedAt?: number | null;
|
|
1739
|
+
createdAt?: number | null;
|
|
1740
|
+
updatedAt?: number | null;
|
|
1829
1741
|
}
|
|
1830
1742
|
export declare enum WorkspaceJoinRequestStatus {
|
|
1831
1743
|
PENDING = "PENDING",
|
|
@@ -1833,7 +1745,7 @@ export declare enum WorkspaceJoinRequestStatus {
|
|
|
1833
1745
|
REJECTED = "REJECTED"
|
|
1834
1746
|
}
|
|
1835
1747
|
export interface WorkspaceMemberListResponseDto {
|
|
1836
|
-
list: WorkspaceMemberResponseDto
|
|
1748
|
+
list: WorkspaceMemberResponseDto;
|
|
1837
1749
|
pageInfo: WorkspaceMemberPageInfoDto;
|
|
1838
1750
|
}
|
|
1839
1751
|
export interface WorkspaceMemberPageInfoDto {
|
|
@@ -1848,19 +1760,19 @@ export interface WorkspaceMemberResponseDto {
|
|
|
1848
1760
|
id: string;
|
|
1849
1761
|
workspaceId: string;
|
|
1850
1762
|
userId: number;
|
|
1851
|
-
roleCode?:
|
|
1852
|
-
starred?:
|
|
1853
|
-
order?:
|
|
1854
|
-
hidden?:
|
|
1855
|
-
isMigrated?:
|
|
1763
|
+
roleCode?: unknown | null;
|
|
1764
|
+
starred?: unknown | null;
|
|
1765
|
+
order?: unknown | null;
|
|
1766
|
+
hidden?: unknown | null;
|
|
1767
|
+
isMigrated?: unknown | null;
|
|
1856
1768
|
deleted: boolean;
|
|
1857
|
-
invitedBy?:
|
|
1769
|
+
invitedBy?: unknown | null;
|
|
1858
1770
|
joinedAt: number;
|
|
1859
|
-
createdAt?:
|
|
1860
|
-
updatedAt?:
|
|
1771
|
+
createdAt?: unknown | null;
|
|
1772
|
+
updatedAt?: unknown | null;
|
|
1861
1773
|
isActive: boolean;
|
|
1862
1774
|
groupSpaceCount?: number;
|
|
1863
|
-
user?: WorkspaceMemberUserDto
|
|
1775
|
+
user?: WorkspaceMemberUserDto;
|
|
1864
1776
|
}
|
|
1865
1777
|
export interface WorkspaceMemberRoleCodeDto {
|
|
1866
1778
|
roleCode?: WorkspaceRoleCode;
|
|
@@ -1872,8 +1784,8 @@ export type WorkspaceMemberRoleCodeScopeDto = WorkspaceMemberRoleCodeDto & {
|
|
|
1872
1784
|
};
|
|
1873
1785
|
export interface WorkspaceMemberUserDto {
|
|
1874
1786
|
id: number;
|
|
1875
|
-
fullName?:
|
|
1876
|
-
avatar?:
|
|
1787
|
+
fullName?: unknown | null;
|
|
1788
|
+
avatar?: unknown | null;
|
|
1877
1789
|
}
|
|
1878
1790
|
export interface WorkspaceNotificationEmailChannelResponseDto {
|
|
1879
1791
|
id: string;
|
|
@@ -1883,11 +1795,11 @@ export interface WorkspaceNotificationEmailChannelResponseDto {
|
|
|
1883
1795
|
priority: number;
|
|
1884
1796
|
isActive: boolean;
|
|
1885
1797
|
isDefault: boolean;
|
|
1886
|
-
createdBy
|
|
1887
|
-
updatedBy
|
|
1888
|
-
createdAt
|
|
1889
|
-
updatedAt
|
|
1890
|
-
integrationName
|
|
1798
|
+
createdBy?: unknown | null;
|
|
1799
|
+
updatedBy?: unknown | null;
|
|
1800
|
+
createdAt?: unknown | null;
|
|
1801
|
+
updatedAt?: unknown | null;
|
|
1802
|
+
integrationName?: unknown | null;
|
|
1891
1803
|
}
|
|
1892
1804
|
export interface WorkspaceNotificationEmailChannelTestResultDto {
|
|
1893
1805
|
success: boolean;
|
|
@@ -1897,8 +1809,10 @@ export interface WorkspaceResponseDto {
|
|
|
1897
1809
|
id: string;
|
|
1898
1810
|
name: string;
|
|
1899
1811
|
slug: string;
|
|
1900
|
-
description
|
|
1901
|
-
settings
|
|
1812
|
+
description?: string | null;
|
|
1813
|
+
settings?: {
|
|
1814
|
+
[key: string]: unknown;
|
|
1815
|
+
};
|
|
1902
1816
|
isActive: boolean;
|
|
1903
1817
|
ownerId: number;
|
|
1904
1818
|
createdAt: number;
|
|
@@ -1968,6 +1882,7 @@ export type PROJECT_INVITE = unknown;
|
|
|
1968
1882
|
export type PROJECT_USER_DELETE = unknown;
|
|
1969
1883
|
export type PROJECT_USER_RESEND_INVITE = unknown;
|
|
1970
1884
|
export type PROJECT_USER_UPDATE = unknown;
|
|
1885
|
+
export type REDAI_VIEW = unknown;
|
|
1971
1886
|
export type REJECTED = unknown;
|
|
1972
1887
|
export type RELATION_CREATE = unknown;
|
|
1973
1888
|
export type RELATION_DELETE = unknown;
|
|
@@ -2921,98 +2836,4 @@ export interface WorkspacesUpdateWorkspaceParams {
|
|
|
2921
2836
|
id: string;
|
|
2922
2837
|
body: UpdateWorkspaceDto;
|
|
2923
2838
|
}
|
|
2924
|
-
export type DashboardMeta = {
|
|
2925
|
-
icon?: string;
|
|
2926
|
-
theme?: string;
|
|
2927
|
-
layoutVersion?: number;
|
|
2928
|
-
grid?: {
|
|
2929
|
-
columns?: number;
|
|
2930
|
-
rowHeight?: number;
|
|
2931
|
-
margin?: number;
|
|
2932
|
-
};
|
|
2933
|
-
background?: {
|
|
2934
|
-
color?: string;
|
|
2935
|
-
imageUrl?: string;
|
|
2936
|
-
};
|
|
2937
|
-
};
|
|
2938
|
-
export interface FieldConfig {
|
|
2939
|
-
defaultValue?: unknown;
|
|
2940
|
-
options?: {
|
|
2941
|
-
id: string;
|
|
2942
|
-
label: string;
|
|
2943
|
-
color?: string;
|
|
2944
|
-
}[];
|
|
2945
|
-
precision?: number;
|
|
2946
|
-
currencySymbol?: string;
|
|
2947
|
-
currencyCode?: string;
|
|
2948
|
-
percentFormat?: 'decimal' | 'whole';
|
|
2949
|
-
maxRating?: number;
|
|
2950
|
-
ratingIcon?: 'star' | 'heart' | 'thumb';
|
|
2951
|
-
prefix?: string;
|
|
2952
|
-
startNumber?: number;
|
|
2953
|
-
digitCount?: number;
|
|
2954
|
-
dateFormat?: string;
|
|
2955
|
-
timeFormat?: '12h' | '24h';
|
|
2956
|
-
includeTime?: boolean;
|
|
2957
|
-
timezone?: string;
|
|
2958
|
-
durationFormat?: 'h:mm' | 'h:mm:ss' | 'days';
|
|
2959
|
-
targetTableId?: string;
|
|
2960
|
-
allowMultiple?: boolean;
|
|
2961
|
-
symmetricFieldId?: string;
|
|
2962
|
-
relationFieldId?: string;
|
|
2963
|
-
lookupFieldId?: string;
|
|
2964
|
-
rollupRelationFieldId?: string;
|
|
2965
|
-
rollupFieldId?: string;
|
|
2966
|
-
rollupFunction?: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'counta' | 'countall';
|
|
2967
|
-
formulaExpression?: string;
|
|
2968
|
-
outputType?: 'number' | 'text' | 'date' | 'boolean';
|
|
2969
|
-
enableRichText?: boolean;
|
|
2970
|
-
maxLength?: number;
|
|
2971
|
-
defaultCountryCode?: string;
|
|
2972
|
-
urlType?: 'any' | 'image' | 'video';
|
|
2973
|
-
allowMultipleUsers?: boolean;
|
|
2974
|
-
notifyOnAssign?: boolean;
|
|
2975
|
-
allowedFileTypes?: string[];
|
|
2976
|
-
maxFileSize?: number;
|
|
2977
|
-
maxFiles?: number;
|
|
2978
|
-
qrValueFieldId?: string;
|
|
2979
|
-
barcodeValueFieldId?: string;
|
|
2980
|
-
barcodeFormat?: string;
|
|
2981
|
-
buttonLabel?: string;
|
|
2982
|
-
buttonType?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info';
|
|
2983
|
-
buttonActionType?: 'url' | 'api' | 'script' | 'email' | 'page';
|
|
2984
|
-
buttonActionConfig?: Record<string, any>;
|
|
2985
|
-
buttonIcon?: string;
|
|
2986
|
-
buttonTooltip?: string;
|
|
2987
|
-
buttonWidth?: number;
|
|
2988
|
-
buttonConfirmation?: string;
|
|
2989
|
-
aiPrompt?: string;
|
|
2990
|
-
aiModel?: string;
|
|
2991
|
-
aiConfig?: Record<string, any>;
|
|
2992
|
-
}
|
|
2993
|
-
export interface FilterResponseDto {
|
|
2994
|
-
id: string;
|
|
2995
|
-
viewId: string | null;
|
|
2996
|
-
parentId: string | null;
|
|
2997
|
-
fieldId: string | null;
|
|
2998
|
-
operator: string | null;
|
|
2999
|
-
comparisonSubOp: string | null;
|
|
3000
|
-
value: JsonValue | null;
|
|
3001
|
-
order: number | null;
|
|
3002
|
-
isGroup: boolean | null;
|
|
3003
|
-
createdAt: number | null;
|
|
3004
|
-
updatedAt: number | null;
|
|
3005
|
-
children?: FilterResponseDto[];
|
|
3006
|
-
}
|
|
3007
|
-
export type JsonValue = JsonPrimitive | JsonArray | JsonObject;
|
|
3008
|
-
export declare enum WidgetType {
|
|
3009
|
-
CHART = "chart",
|
|
3010
|
-
METRIC = "metric",
|
|
3011
|
-
TEXT = "text",
|
|
3012
|
-
TABLE = "table",
|
|
3013
|
-
LIST = "list",
|
|
3014
|
-
CALENDAR = "calendar",
|
|
3015
|
-
KANBAN = "kanban",
|
|
3016
|
-
MAP = "map"
|
|
3017
|
-
}
|
|
3018
2839
|
//# sourceMappingURL=types.d.ts.map
|