@redonvn/redai-backend-api-sdk 0.5.39 → 0.5.42

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.
@@ -1,41 +1,38 @@
1
- import type { BaseMeta, BulkDataListDto, BulkGroupDto, CalendarViewMeta, CreateColumnDto, CreateTableFieldDto, FilterPayload, FormViewMeta, GalleryViewMeta, GridViewMeta, JsonArray, JsonObject, JsonPrimitive, KanbanViewMeta, LimitOffsetQueryDto, MapViewMeta, PagedResponse, RecordAggregateQueryDto, RecordListQueryDto, RelationFieldRefDto, SourceConfig, TableSettings, ViewMeta, WidgetConfig, WidgetMeta, WorkspaceRoleCode, WorkspaceSettings } from '../shared-types';
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, CalendarWidgetConfig, CASCADE, CENTER, CHAR, CHART, ChartAxisSpec, ChartSeriesSpec, ChartWidgetConfig, 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, FILTER, FilterComparisonOperator, FilterConditionPayload, FilterGroupPayload, FilterLogicalOperator, FilterLogicalPayload, FilterPayload, FLOAT, FORM, FORMULA, FormViewMeta, FUNNEL, 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, GridViewMeta, GROUP_BY_EQ, GROUP_BY_NULL, GroupFieldDto, GT, GTE, HAS_MANY, HDB_BANK, HEATMAP, HSTORE, IMAGE, INACTIVE, INET, INT, INTEGER, INTEGRATION_CREATE, INTEGRATION_DELETE, INTEGRATION_UPDATE, INTERVAL, IS, IS_NOT, IS_WITHIN, JSON, JsonArray, JSONB, JsonObject, JsonPrimitive, KANBAN, KanbanViewMeta, KanbanWidgetConfig, KL_BANK, LEFT, LIKE, LimitOffsetQueryDto, LINE, LINK_TO_ANOTHER_RECORD, LINKS, LIST, ListWidgetConfig, LOCKED, LONG_TEXT, LONGTEXT, LOOKUP, LookupConfigDto, LookupConfigResponseDto, LT, LTE, MACADDR, MANY_TO_MANY, MAP, MAPBOX, MapViewMeta, MapWidgetConfig, MARIADB, MAX, MB_BANK, MEDIA, MEDIUM, MEDIUMINT, MEDIUMTEXT, METRIC, MetricWidgetConfig, 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, 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, SQLITE, STACKED_AREA, STACKED_BAR, STB_BANK, SUCCESS, SUM, SUM_DISTINCT, T, TABLE, TABLE_CREATE, TABLE_DELETE, TABLE_UPDATE, TableResponseDto, TableSettings, TableWidgetConfig, TALL, TCB_BANK, TELEGRAM, TELEGRAM_BOT, TEST, TEXT, TIKTOK, TIME, TIMESTAMP, TIMESTAMPTZ, TINYINT, TINYTEXT, TODAY, TOMORROW, TPB_BANK, TREEMAP, 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, WidgetAggregationFunction, WidgetAggregationSpec, WidgetConfig, WidgetDatePreset, WidgetFilter, WidgetMeta, WidgetQuerySpec, WidgetResponseDto, WidgetRuntimeResolvedQueryResponseDto, WidgetRuntimeResponseDto, WidgetSortSpec, 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, 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, WidgetType } 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, WidgetType, 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: string | null;
24
- baseId: string | null;
25
- sourceId: string | null;
26
- fkModelId: string | null;
27
- roleCode: WorkspaceRoleCode | null;
28
- acl: boolean | null;
29
- create: boolean | null;
30
- read: boolean | null;
31
- update: boolean | null;
32
- delete: boolean | null;
33
- share: boolean | null;
34
- export: boolean | null;
35
- fields: AclFieldPermissions | null;
36
- filter: AclFilter | null;
37
- createdAt: number | null;
38
- updatedAt: number | null;
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?: WorkspaceRoleCode | null;
231
- invitedBy?: number | null;
227
+ roleCode?: unknown | null;
228
+ invitedBy?: unknown | null;
232
229
  deleted: boolean;
233
230
  isActive: boolean;
234
- createdAt?: number | null;
235
- updatedAt?: number | null;
236
- user?: BaseMemberUserDto | null;
231
+ createdAt?: unknown | null;
232
+ updatedAt?: unknown | null;
233
+ user?: BaseMemberUserDto;
237
234
  }
238
235
  export interface BaseMemberUserDto {
239
236
  id: number;
240
- fullName?: string | null;
241
- avatar?: string | null;
237
+ fullName?: unknown | null;
238
+ avatar?: unknown | null;
242
239
  }
243
240
  export interface BaseResponseDto {
244
241
  id: string;
245
- fkWorkspaceId: string | null;
246
- ownerUserId: number | null;
242
+ fkWorkspaceId?: string | null;
243
+ ownerUserId?: number | null;
247
244
  title: string;
248
- prefix: string | null;
245
+ prefix?: string | null;
249
246
  status: BaseStatus | null;
250
- description: string | null;
251
- meta: BaseMeta | null;
252
- color: string | null;
253
- deleted: boolean | null;
254
- isMeta: boolean | null;
255
- order: number | null;
256
- uuid: string | null;
257
- roles: string | null;
258
- fkCustomUrlId: string | null;
259
- isSnapshot: boolean | null;
260
- createdAt: number | null;
261
- updatedAt: number | null;
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: string | null;
316
- baseId: string | null;
317
- sourceId: string | null;
318
- coverImageFieldId: string | null;
319
- meta: CalendarViewMeta;
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: number | null;
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: string | null;
355
- size: number | null;
356
- url: string | null;
357
- sortOrder: number | null;
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: string | null;
362
- avatar: string | null;
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: CommentAuthorResponseDto | null;
379
+ user?: CommentAuthorResponseDto;
379
380
  }
380
381
  export interface CommentReactionResponseDto {
381
382
  id: string;
382
- fkWorkspaceId: string | null;
383
- baseId: string | null;
384
- fkCommentId: string | null;
385
- fkUserId: number | null;
383
+ fkWorkspaceId?: string | null;
384
+ baseId?: string | null;
385
+ fkCommentId?: string | null;
386
+ fkUserId?: number | null;
386
387
  reaction: string;
387
- createdAt: number | null;
388
- updatedAt: number | null;
388
+ createdAt?: number | null;
389
+ updatedAt?: number | null;
389
390
  }
390
391
  export interface CommentResponseDto {
391
392
  id: string;
392
- fkWorkspaceId: string | null;
393
- baseId: string | null;
394
- fkModelId: string | null;
395
- fkUserId: number | null;
393
+ fkWorkspaceId?: string | null;
394
+ baseId?: string | null;
395
+ fkModelId?: string | null;
396
+ fkUserId?: number | null;
396
397
  rowId: string;
397
- parentCommentId: string | null;
398
+ parentCommentId?: string | null;
398
399
  commentText: string;
399
- isDeleted: boolean | null;
400
- isEdit: boolean | null;
401
- createdAt: number | null;
402
- updatedAt: number | null;
403
- author: CommentAuthorResponseDto | null;
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?: string | null;
416
- fkModelId?: string | null;
417
- acl?: boolean | null;
418
- create?: boolean | null;
419
- read?: boolean | null;
420
- update?: boolean | null;
421
- delete?: boolean | null;
422
- share?: boolean | null;
423
- export?: boolean | null;
424
- fields?: AclFieldPermissions | null;
425
- filter?: AclFilter | null;
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?: DashboardMeta | null;
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?: JsonObject | JsonArray;
503
+ payload?: {
504
+ [key: string]: unknown;
505
+ };
495
506
  url?: string;
496
507
  hookSource?: HookSource;
497
508
  method?: HookHttpMethod;
498
- headers?: Record<string, string>;
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: number;
523
- filterNodeCount: number;
524
- scheduledHookCreated: boolean;
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: string;
550
+ fkSubjectId: unknown;
538
551
  subjectType: SupportedPermissionSubjectType;
539
552
  resourceType: SupportedPermissionResourceType;
540
- fkResourceId: string;
541
- permissions: PermissionMap;
553
+ fkResourceId: unknown;
554
+ permissions: {
555
+ [key: string]: boolean;
556
+ };
542
557
  }
543
558
  export interface CreatePermissionSubjectDto {
544
559
  title: string;
545
- description?: string | null;
560
+ description?: unknown | null;
546
561
  type: SupportedPermissionSubjectType;
547
- members?: PermissionSubjectMembers | null;
548
- inheritsFrom?: string | null;
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: JsonValue[];
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?: Record<string, unknown>;
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?: Record<string, unknown>;
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?: WidgetConfig | null;
680
- meta?: WidgetMeta | null;
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: string;
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?: JsonValue;
719
- sorts?: JsonValue;
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: string | null;
811
+ sourceId?: string | null;
781
812
  workspaceId: string;
782
- baseId: string | null;
813
+ baseId?: string | null;
783
814
  integrationId: string;
784
815
  type: SourceType | null;
785
- config: SourceConfig | null;
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: string | null;
850
- baseId: string | null;
851
- sourceId: string | null;
852
- heading: string | null;
853
- subheading: string | null;
854
- successMessage: string | null;
855
- redirectUrl: string | null;
856
- redirectAfterSecs: number | null;
857
- email: string | null;
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: FormViewMeta;
863
+ meta?: {
864
+ [key: string]: unknown;
865
+ };
861
866
  createdAt: number;
862
- updatedAt: number | null;
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: string | null;
875
- baseId: string | null;
876
- sourceId: string | null;
877
- coverImageFieldId: string | null;
878
- meta: GalleryViewMeta;
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: number | null;
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: string | null;
893
- baseId: string | null;
894
- sourceId: string | null;
899
+ workspaceId?: string | null;
900
+ baseId?: string | null;
901
+ sourceId?: string | null;
895
902
  rowHeight: GridRowHeight | null;
896
- meta: GridViewMeta;
903
+ meta?: {
904
+ [key: string]: unknown;
905
+ };
897
906
  createdAt: number;
898
- updatedAt: number | null;
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?: string | null;
938
- workspaceId?: string | null;
939
- baseId?: string | null;
940
- sourceId?: string | null;
941
- tableId?: string | null;
942
- event?: AppEvents | null;
943
- status?: HookLogStatus | null;
944
- responseCode?: number | null;
945
- responseBody?: string | null;
946
- errorMessage?: string | null;
947
- payload?: unknown;
948
- url?: string | null;
949
- executionTime?: number | null;
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?: number | null;
952
- updatedAt?: number | null;
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?: string | null;
970
- baseId?: string | null;
971
- sourceId?: string | null;
972
- tableId?: string | null;
973
- title?: string | null;
974
- description?: string | null;
975
- env?: HookEnvironment | null;
976
- type?: HookType | null;
977
- event?: AppEvents | null;
978
- operations?: HookOperation[] | null;
979
- async?: boolean | null;
980
- payload?: unknown;
981
- url?: string | null;
982
- hookSource?: HookSource | null;
983
- method?: HookHttpMethod | null;
984
- headers?: unknown;
985
- hasSecret?: boolean | null;
986
- condition?: boolean | null;
987
- retries?: number | null;
988
- retryInterval?: number | null;
989
- timeout?: number | null;
990
- active?: boolean | null;
991
- version?: HookVersion | null;
992
- triggerFields: string[];
993
- scheduledHook?: ScheduledHookResponseDto | null;
994
- createdAt?: number | null;
995
- updatedAt?: number | null;
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: number | null;
1028
- result: string | null;
1029
- errorMessage: string | null;
1030
- startedAt: string | null;
1031
- finishedAt: string | null;
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: Array<Record<string, unknown>>;
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: string | null;
1053
- size: number | null;
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: string | null;
1090
- baseId: string | null;
1091
- sourceId: string | null;
1092
- groupFieldId: string | null;
1093
- coverImageFieldId: string | null;
1094
- meta: KanbanViewMeta;
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: number | null;
1115
+ updatedAt?: number | null;
1097
1116
  }
1098
1117
  export interface ListAclEntriesQueryDto {
1099
1118
  roleCode?: WorkspaceRoleCode;
1100
- sourceId?: string;
1101
- fkModelId?: string;
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?: string;
1149
- fkResourceId?: string;
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: string | null;
1198
- baseId: string | null;
1199
- sourceId: string | null;
1200
- geoDataFieldId: string | null;
1201
- meta: MapViewMeta;
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: string | null;
1224
+ mapApiKey?: string | null;
1204
1225
  createdAt: number;
1205
- updatedAt: number | null;
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: string | null;
1230
- baseId: string | null;
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: PermissionMap;
1236
- createdAt: number | null;
1237
- updatedAt: number | null;
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: string | null;
1263
+ fkWorkspaceId?: unknown | null;
1253
1264
  title: string;
1254
- description: string | null;
1265
+ description?: unknown | null;
1255
1266
  type: SupportedPermissionSubjectType;
1256
- members: PermissionSubjectMembers | null;
1257
- inheritsFrom: string | null;
1258
- createdAt: number | null;
1259
- updatedAt: number | null;
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;
@@ -1402,7 +1332,7 @@ export interface ReorderDashboardItemDto {
1402
1332
  order: number;
1403
1333
  }
1404
1334
  export interface ReorderDashboardsDto {
1405
- items: ReorderDashboardItemDto[];
1335
+ items: (ReorderDashboardItemDto)[];
1406
1336
  }
1407
1337
  export interface ReorderTableItemDto {
1408
1338
  tableId: string;
@@ -1419,10 +1349,10 @@ export interface ReorderWidgetItemDto {
1419
1349
  order: number;
1420
1350
  }
1421
1351
  export interface ReorderWidgetsDto {
1422
- items: ReorderWidgetItemDto[];
1352
+ items: (ReorderWidgetItemDto)[];
1423
1353
  }
1424
1354
  export interface ReplaceWidgetFiltersDto {
1425
- filters: WidgetFilterNodeDto[];
1355
+ filters: (WidgetFilterNodeDto)[];
1426
1356
  }
1427
1357
  export interface RequestJoinByInviteLinkDto {
1428
1358
  token: string;
@@ -1436,39 +1366,43 @@ export interface RollupConfigWithRefsDto {
1436
1366
  export interface RowColorConditionResponseDto {
1437
1367
  id: string;
1438
1368
  viewId: string;
1439
- fieldId: string | null;
1440
- operator: string | null;
1441
- value: JsonValue | null;
1442
- color: string | null;
1443
- backgroundColor: string | null;
1444
- order: number | null;
1445
- createdAt: number | null;
1446
- updatedAt: number | null;
1369
+ fieldId?: string | null;
1370
+ operator?: string | null;
1371
+ value?: {
1372
+ [key: string]: unknown;
1373
+ };
1374
+ color?: string | null;
1375
+ backgroundColor?: string | null;
1376
+ order?: number | null;
1377
+ createdAt?: number | null;
1378
+ updatedAt?: number | null;
1447
1379
  }
1448
1380
  export interface RowColorConfigResponseDto {
1449
1381
  mode: RowColoringMode | null;
1450
- conditions: RowColorConditionResponseDto[];
1382
+ conditions: RowColorConditionResponseDto;
1451
1383
  }
1452
1384
  export interface ScheduledHookResponseDto {
1453
1385
  id: string;
1454
- workspaceId: string | null;
1455
- baseId: string | null;
1456
- tableId: string | null;
1457
- hookId: string | null;
1458
- datetimeFieldId: string | null;
1386
+ workspaceId: unknown | null;
1387
+ baseId: unknown | null;
1388
+ tableId: unknown | null;
1389
+ hookId: unknown | null;
1390
+ datetimeFieldId: unknown | null;
1459
1391
  name: string;
1460
- description?: string | null;
1461
- type?: string | null;
1462
- timeZone?: string | null;
1463
- trigger?: string | null;
1464
- meta?: Record<string, unknown> | null;
1465
- active?: boolean | null;
1466
- lastExecutedAt?: Date | null;
1467
- nextExecutionAt?: Date | null;
1468
- hookTitle?: string | null;
1469
- datetimeFieldName?: string | null;
1470
- createdAt?: number | null;
1471
- updatedAt?: number | null;
1392
+ description?: unknown | null;
1393
+ type?: unknown | null;
1394
+ timeZone?: unknown | null;
1395
+ trigger?: unknown | null;
1396
+ meta?: {
1397
+ [key: string]: unknown;
1398
+ } | null;
1399
+ active?: unknown | null;
1400
+ lastExecutedAt?: unknown | null;
1401
+ nextExecutionAt?: unknown | null;
1402
+ hookTitle?: unknown | null;
1403
+ datetimeFieldName?: unknown | null;
1404
+ createdAt?: unknown | null;
1405
+ updatedAt?: unknown | null;
1472
1406
  }
1473
1407
  export interface SecureAttachmentTokenDto {
1474
1408
  ttlSeconds?: number;
@@ -1476,42 +1410,33 @@ export interface SecureAttachmentTokenDto {
1476
1410
  export interface SortResponseDto {
1477
1411
  id: string;
1478
1412
  viewId: string;
1479
- fieldId: string | null;
1480
- direction: string | null;
1481
- order: number | null;
1482
- createdAt: number | null;
1483
- updatedAt: number | null;
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
- };
1413
+ fieldId?: string | null;
1414
+ direction?: string | null;
1415
+ order?: number | null;
1416
+ createdAt?: number | null;
1417
+ updatedAt?: number | null;
1418
+ }
1498
1419
  export interface SourceResponseDto {
1499
1420
  id: string;
1500
- fkWorkspaceId: string | null;
1501
- baseId: string | null;
1502
- alias: string | null;
1421
+ fkWorkspaceId?: string | null;
1422
+ baseId?: string | null;
1423
+ alias?: string | null;
1503
1424
  type: SourceType | null;
1504
- config: SourceConfig | null;
1505
- enabled: boolean | null;
1506
- isMeta: boolean | null;
1507
- order: number | null;
1508
- inflectionColumn: string | null;
1509
- inflectionTable: string | null;
1510
- meta: SourceMeta | null;
1511
- deleted: boolean | null;
1512
- fkIntegrationId: string | null;
1513
- createdAt: number | null;
1514
- updatedAt: number | null;
1425
+ config?: {
1426
+ [key: string]: unknown;
1427
+ };
1428
+ enabled?: boolean | null;
1429
+ isMeta?: boolean | null;
1430
+ order?: number | null;
1431
+ inflectionColumn?: string | null;
1432
+ inflectionTable?: string | null;
1433
+ meta?: {
1434
+ [key: string]: unknown;
1435
+ };
1436
+ deleted?: boolean | null;
1437
+ fkIntegrationId?: string | null;
1438
+ createdAt?: number | null;
1439
+ updatedAt?: number | null;
1515
1440
  }
1516
1441
  export interface StartExportDto {
1517
1442
  viewId?: string;
@@ -1525,7 +1450,7 @@ export interface StartImportDto {
1525
1450
  sourceId?: string;
1526
1451
  format: ImportFileFormat;
1527
1452
  mode?: ImportMode;
1528
- mapping?: ImportFieldMappingDto[];
1453
+ mapping?: (ImportFieldMappingDto)[];
1529
1454
  options?: StartImportOptionsDto;
1530
1455
  }
1531
1456
  export interface StartImportOptionsDto {
@@ -1537,23 +1462,9 @@ export interface StartImportOptionsDto {
1537
1462
  export type SupportedPermissionResourceType = (typeof PERMISSION_RESOURCE_TYPES)[number];
1538
1463
  export type SupportedPermissionSubjectType = (typeof PERMISSION_SUBJECT_TYPES)[number];
1539
1464
  export type SyncFromIntegrationDto = CatalogFromIntegrationDto & {
1540
- tables?: ExternalCatalogTableSelectionDto[];
1465
+ tables?: (ExternalCatalogTableSelectionDto)[];
1541
1466
  syncRelations?: boolean;
1542
1467
  };
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
1468
  export type TableRecord = Record<string, JsonValue> & {
1558
1469
  id?: string | number;
1559
1470
  };
@@ -1578,10 +1489,6 @@ export interface TestWorkspaceNotificationEmailChannelDto {
1578
1489
  recipientEmail: string;
1579
1490
  subject?: string;
1580
1491
  }
1581
- export type TextWidgetConfig = {
1582
- content: JsonValue;
1583
- format: 'plain' | 'markdown' | 'json';
1584
- };
1585
1492
  export type TokenPermissions = {
1586
1493
  actions?: PermissionAction[];
1587
1494
  scopes?: string[];
@@ -1608,10 +1515,10 @@ export type UpdateBaseMemberDto = Partial<AddBaseMemberDto> & {
1608
1515
  export type UpdateCalendarViewDto = Partial<CalendarViewConfigDto>;
1609
1516
  export interface UpdateCommentDto {
1610
1517
  commentText: string;
1611
- attachments?: CommentAttachmentInputDto[];
1612
- mentions?: CommentMentionInputDto[];
1518
+ attachments?: (CommentAttachmentInputDto)[];
1519
+ mentions?: (CommentMentionInputDto)[];
1613
1520
  }
1614
- export type UpdateDashboardDto = CreateDashboardDto;
1521
+ export type UpdateDashboardDto = Partial<CreateDashboardDto>;
1615
1522
  export type UpdateFormViewDto = Partial<FormViewConfigDto>;
1616
1523
  export type UpdateGalleryViewDto = Partial<GalleryViewConfigDto>;
1617
1524
  export type UpdateGridViewDto = Partial<GridViewConfigDto>;
@@ -1642,8 +1549,8 @@ export interface UpdateTableDto {
1642
1549
  }
1643
1550
  export type UpdateTableFieldDto = Partial<CreateTableFieldDto>;
1644
1551
  export interface UpdateUserUiPreferencesDto {
1645
- defaultWorkspaceId?: string | null;
1646
- defaultBaseId?: string | null;
1552
+ defaultWorkspaceId?: unknown | null;
1553
+ defaultBaseId?: unknown | null;
1647
1554
  }
1648
1555
  export type UpdateViewColumnDto = Partial<CreateViewColumnDto>;
1649
1556
  export type UpdateViewColumnItemDto = UpdateViewColumnDto & {
@@ -1652,7 +1559,7 @@ export type UpdateViewColumnItemDto = UpdateViewColumnDto & {
1652
1559
  export type UpdateViewDto = Partial<CreateViewDto>;
1653
1560
  export type UpdateViewFilterDto = Partial<CreateViewFilterDto>;
1654
1561
  export type UpdateViewSortDto = Partial<CreateViewSortDto>;
1655
- export type UpdateWidgetDto = CreateWidgetDto;
1562
+ export type UpdateWidgetDto = Partial<CreateWidgetDto>;
1656
1563
  export interface UpdateWidgetLayoutDto {
1657
1564
  row?: number | null;
1658
1565
  col?: number | null;
@@ -1676,43 +1583,43 @@ export type UpdateWorkspaceNotificationEmailChannelDto = Partial<CreateWorkspace
1676
1583
  export interface UploadImportFileDto {
1677
1584
  }
1678
1585
  export interface UserUiPreferencesRawDto {
1679
- defaultWorkspaceId: string | null;
1680
- defaultBaseId: string | null;
1586
+ defaultWorkspaceId?: unknown | null;
1587
+ defaultBaseId?: unknown | null;
1681
1588
  }
1682
1589
  export interface UserUiPreferencesResolvedDto {
1683
- defaultWorkspaceId: string | null;
1684
- defaultBaseId: string | null;
1685
- defaultWorkspaceName: string | null;
1686
- defaultBaseTitle: string | null;
1590
+ defaultWorkspaceId?: unknown | null;
1591
+ defaultBaseId?: unknown | null;
1592
+ defaultWorkspaceName?: unknown | null;
1593
+ defaultBaseTitle?: unknown | null;
1687
1594
  isValid: boolean;
1688
- reason?: string;
1595
+ reason?: unknown | null;
1689
1596
  }
1690
1597
  export interface ViewColumnResponseDto {
1691
1598
  id: string;
1692
1599
  viewId: string;
1693
- workspaceId: string | null;
1694
- baseId: string | null;
1695
- sourceId: string | null;
1600
+ workspaceId?: string | null;
1601
+ baseId?: string | null;
1602
+ sourceId?: string | null;
1696
1603
  fieldId: string;
1697
- show: boolean | null;
1698
- order: number | null;
1699
- width: string | null;
1604
+ show?: boolean | null;
1605
+ order?: number | null;
1606
+ width?: string | null;
1700
1607
  align: GridColumnAlign | null;
1701
- groupBy: boolean | null;
1702
- groupByOrder: number | null;
1703
- groupBySort: string | null;
1704
- aggregation: string | null;
1705
- label: string | null;
1706
- helpText: string | null;
1707
- placeholder: string | null;
1708
- required: boolean | null;
1709
- description: string | null;
1710
- createdAt: number | null;
1711
- updatedAt: number | null;
1608
+ groupBy?: boolean | null;
1609
+ groupByOrder?: number | null;
1610
+ groupBySort?: string | null;
1611
+ aggregation?: string | null;
1612
+ label?: string | null;
1613
+ helpText?: string | null;
1614
+ placeholder?: string | null;
1615
+ required?: boolean | null;
1616
+ description?: string | null;
1617
+ createdAt?: number | null;
1618
+ updatedAt?: number | null;
1712
1619
  }
1713
1620
  export type ViewDetailQueryDto = ListViewsQueryDto;
1714
1621
  export interface WarmupCacheDto {
1715
- tableIds?: string[];
1622
+ tableIds?: (string)[];
1716
1623
  ttlSeconds?: number;
1717
1624
  }
1718
1625
  export interface WidgetFilterNodeDto {
@@ -1723,14 +1630,14 @@ export interface WidgetFilterNodeDto {
1723
1630
  isGroup?: boolean;
1724
1631
  logicalOp?: FilterLogicalOp | null;
1725
1632
  order?: number | null;
1726
- children?: WidgetFilterNodeDto[];
1633
+ children?: (WidgetFilterNodeDto)[];
1727
1634
  }
1728
1635
  export interface WorkspaceInviteLinkPreviewResponseDto {
1729
1636
  workspaceId: string;
1730
1637
  workspaceName: string;
1731
- workspaceLogo: string | null;
1638
+ workspaceLogo?: string | null;
1732
1639
  ownerId: number;
1733
- ownerName: string | null;
1640
+ ownerName?: string | null;
1734
1641
  roleCode: WorkspaceRoleCode;
1735
1642
  scope: MembershipScope;
1736
1643
  expiresAt: number;
@@ -1741,16 +1648,16 @@ export interface WorkspaceInviteLinkResponseDto {
1741
1648
  workspaceId: string;
1742
1649
  roleCode: WorkspaceRoleCode;
1743
1650
  scope: MembershipScope;
1744
- baseId: string | null;
1745
- teamId: string | null;
1746
- roles: string | null;
1651
+ baseId?: string | null;
1652
+ teamId?: string | null;
1653
+ roles?: string | null;
1747
1654
  expiresAt: number;
1748
1655
  maxUses: number;
1749
1656
  usedCount: number;
1750
1657
  createdBy: number;
1751
1658
  status: WorkspaceInviteLinkStatus;
1752
- createdAt: number | null;
1753
- updatedAt: number | null;
1659
+ createdAt?: number | null;
1660
+ updatedAt?: number | null;
1754
1661
  url?: string;
1755
1662
  }
1756
1663
  export interface WorkspaceInviteLinkSettingsResponseDto {
@@ -1759,8 +1666,8 @@ export interface WorkspaceInviteLinkSettingsResponseDto {
1759
1666
  allowJoinViaInviteLink: boolean;
1760
1667
  defaultExpiryDays: number;
1761
1668
  defaultMaxUses: number;
1762
- createdAt: number | null;
1763
- updatedAt: number | null;
1669
+ createdAt?: number | null;
1670
+ updatedAt?: number | null;
1764
1671
  }
1765
1672
  export declare enum WorkspaceInviteLinkStatus {
1766
1673
  ACTIVE = "ACTIVE",
@@ -1773,14 +1680,14 @@ export interface WorkspaceInviteResponseDto {
1773
1680
  email: string;
1774
1681
  roleCode: WorkspaceRoleCode;
1775
1682
  scope: MembershipScope;
1776
- baseId: string | null;
1777
- teamId: string | null;
1778
- roles: string | null;
1683
+ baseId?: string | null;
1684
+ teamId?: string | null;
1685
+ roles?: string | null;
1779
1686
  invitedBy: number;
1780
1687
  status: WorkspaceInviteStatus;
1781
1688
  expiresAt: number;
1782
- acceptedBy: number | null;
1783
- acceptedAt: number | null;
1689
+ acceptedBy?: number | null;
1690
+ acceptedAt?: number | null;
1784
1691
  createdAt: number;
1785
1692
  updatedAt: number;
1786
1693
  }
@@ -1797,12 +1704,12 @@ export interface WorkspaceJoinRequestResponseDto {
1797
1704
  inviteLinkId: string;
1798
1705
  status: WorkspaceJoinRequestStatus;
1799
1706
  requestedAt: number;
1800
- approvedBy: number | null;
1801
- approvedAt: number | null;
1802
- rejectedBy: number | null;
1803
- rejectedAt: number | null;
1804
- createdAt: number | null;
1805
- updatedAt: number | null;
1707
+ approvedBy?: number | null;
1708
+ approvedAt?: number | null;
1709
+ rejectedBy?: number | null;
1710
+ rejectedAt?: number | null;
1711
+ createdAt?: number | null;
1712
+ updatedAt?: number | null;
1806
1713
  }
1807
1714
  export declare enum WorkspaceJoinRequestStatus {
1808
1715
  PENDING = "PENDING",
@@ -1810,7 +1717,7 @@ export declare enum WorkspaceJoinRequestStatus {
1810
1717
  REJECTED = "REJECTED"
1811
1718
  }
1812
1719
  export interface WorkspaceMemberListResponseDto {
1813
- list: WorkspaceMemberResponseDto[];
1720
+ list: WorkspaceMemberResponseDto;
1814
1721
  pageInfo: WorkspaceMemberPageInfoDto;
1815
1722
  }
1816
1723
  export interface WorkspaceMemberPageInfoDto {
@@ -1825,19 +1732,19 @@ export interface WorkspaceMemberResponseDto {
1825
1732
  id: string;
1826
1733
  workspaceId: string;
1827
1734
  userId: number;
1828
- roleCode?: WorkspaceRoleCode | null;
1829
- starred?: boolean | null;
1830
- order?: number | null;
1831
- hidden?: boolean | null;
1832
- isMigrated?: boolean | null;
1735
+ roleCode?: unknown | null;
1736
+ starred?: unknown | null;
1737
+ order?: unknown | null;
1738
+ hidden?: unknown | null;
1739
+ isMigrated?: unknown | null;
1833
1740
  deleted: boolean;
1834
- invitedBy?: number | null;
1741
+ invitedBy?: unknown | null;
1835
1742
  joinedAt: number;
1836
- createdAt?: number | null;
1837
- updatedAt?: number | null;
1743
+ createdAt?: unknown | null;
1744
+ updatedAt?: unknown | null;
1838
1745
  isActive: boolean;
1839
1746
  groupSpaceCount?: number;
1840
- user?: WorkspaceMemberUserDto | null;
1747
+ user?: WorkspaceMemberUserDto;
1841
1748
  }
1842
1749
  export interface WorkspaceMemberRoleCodeDto {
1843
1750
  roleCode?: WorkspaceRoleCode;
@@ -1849,8 +1756,8 @@ export type WorkspaceMemberRoleCodeScopeDto = WorkspaceMemberRoleCodeDto & {
1849
1756
  };
1850
1757
  export interface WorkspaceMemberUserDto {
1851
1758
  id: number;
1852
- fullName?: string | null;
1853
- avatar?: string | null;
1759
+ fullName?: unknown | null;
1760
+ avatar?: unknown | null;
1854
1761
  }
1855
1762
  export interface WorkspaceNotificationEmailChannelResponseDto {
1856
1763
  id: string;
@@ -1860,11 +1767,11 @@ export interface WorkspaceNotificationEmailChannelResponseDto {
1860
1767
  priority: number;
1861
1768
  isActive: boolean;
1862
1769
  isDefault: boolean;
1863
- createdBy: number | null;
1864
- updatedBy: number | null;
1865
- createdAt: number | null;
1866
- updatedAt: number | null;
1867
- integrationName: string | null;
1770
+ createdBy?: unknown | null;
1771
+ updatedBy?: unknown | null;
1772
+ createdAt?: unknown | null;
1773
+ updatedAt?: unknown | null;
1774
+ integrationName?: unknown | null;
1868
1775
  }
1869
1776
  export interface WorkspaceNotificationEmailChannelTestResultDto {
1870
1777
  success: boolean;
@@ -1874,8 +1781,10 @@ export interface WorkspaceResponseDto {
1874
1781
  id: string;
1875
1782
  name: string;
1876
1783
  slug: string;
1877
- description: string | null;
1878
- settings: WorkspaceSettings;
1784
+ description?: string | null;
1785
+ settings?: {
1786
+ [key: string]: unknown;
1787
+ };
1879
1788
  isActive: boolean;
1880
1789
  ownerId: number;
1881
1790
  createdAt: number;
@@ -2898,98 +2807,4 @@ export interface WorkspacesUpdateWorkspaceParams {
2898
2807
  id: string;
2899
2808
  body: UpdateWorkspaceDto;
2900
2809
  }
2901
- export type DashboardMeta = {
2902
- icon?: string;
2903
- theme?: string;
2904
- layoutVersion?: number;
2905
- grid?: {
2906
- columns?: number;
2907
- rowHeight?: number;
2908
- margin?: number;
2909
- };
2910
- background?: {
2911
- color?: string;
2912
- imageUrl?: string;
2913
- };
2914
- };
2915
- export interface FieldConfig {
2916
- defaultValue?: unknown;
2917
- options?: {
2918
- id: string;
2919
- label: string;
2920
- color?: string;
2921
- }[];
2922
- precision?: number;
2923
- currencySymbol?: string;
2924
- currencyCode?: string;
2925
- percentFormat?: 'decimal' | 'whole';
2926
- maxRating?: number;
2927
- ratingIcon?: 'star' | 'heart' | 'thumb';
2928
- prefix?: string;
2929
- startNumber?: number;
2930
- digitCount?: number;
2931
- dateFormat?: string;
2932
- timeFormat?: '12h' | '24h';
2933
- includeTime?: boolean;
2934
- timezone?: string;
2935
- durationFormat?: 'h:mm' | 'h:mm:ss' | 'days';
2936
- targetTableId?: string;
2937
- allowMultiple?: boolean;
2938
- symmetricFieldId?: string;
2939
- relationFieldId?: string;
2940
- lookupFieldId?: string;
2941
- rollupRelationFieldId?: string;
2942
- rollupFieldId?: string;
2943
- rollupFunction?: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'counta' | 'countall';
2944
- formulaExpression?: string;
2945
- outputType?: 'number' | 'text' | 'date' | 'boolean';
2946
- enableRichText?: boolean;
2947
- maxLength?: number;
2948
- defaultCountryCode?: string;
2949
- urlType?: 'any' | 'image' | 'video';
2950
- allowMultipleUsers?: boolean;
2951
- notifyOnAssign?: boolean;
2952
- allowedFileTypes?: string[];
2953
- maxFileSize?: number;
2954
- maxFiles?: number;
2955
- qrValueFieldId?: string;
2956
- barcodeValueFieldId?: string;
2957
- barcodeFormat?: string;
2958
- buttonLabel?: string;
2959
- buttonType?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info';
2960
- buttonActionType?: 'url' | 'api' | 'script' | 'email' | 'page';
2961
- buttonActionConfig?: Record<string, any>;
2962
- buttonIcon?: string;
2963
- buttonTooltip?: string;
2964
- buttonWidth?: number;
2965
- buttonConfirmation?: string;
2966
- aiPrompt?: string;
2967
- aiModel?: string;
2968
- aiConfig?: Record<string, any>;
2969
- }
2970
- export interface FilterResponseDto {
2971
- id: string;
2972
- viewId: string | null;
2973
- parentId: string | null;
2974
- fieldId: string | null;
2975
- operator: string | null;
2976
- comparisonSubOp: string | null;
2977
- value: JsonValue | null;
2978
- order: number | null;
2979
- isGroup: boolean | null;
2980
- createdAt: number | null;
2981
- updatedAt: number | null;
2982
- children?: FilterResponseDto[];
2983
- }
2984
- export type JsonValue = JsonPrimitive | JsonArray | JsonObject;
2985
- export declare enum WidgetType {
2986
- CHART = "chart",
2987
- METRIC = "metric",
2988
- TEXT = "text",
2989
- TABLE = "table",
2990
- LIST = "list",
2991
- CALENDAR = "calendar",
2992
- KANBAN = "kanban",
2993
- MAP = "map"
2994
- }
2995
2810
  //# sourceMappingURL=types.d.ts.map