@redonvn/redai-backend-api-sdk 0.5.35 → 0.5.37
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/index.js +2 -1
- package/dist/cjs/generated/dynamic-table/index.js.map +1 -1
- package/dist/cjs/generated/dynamic-table/services/api-docs-v3.service.js +3 -3
- package/dist/cjs/generated/dynamic-table/services/api-docs-v3.service.js.map +1 -1
- package/dist/cjs/generated/dynamic-table/services/api-docs.service.js +3 -3
- package/dist/cjs/generated/dynamic-table/services/api-docs.service.js.map +1 -1
- package/dist/cjs/generated/dynamic-table/services/dashboards.service.js +12 -3
- package/dist/cjs/generated/dynamic-table/services/dashboards.service.js.map +1 -1
- package/dist/cjs/generated/dynamic-table/services/sources.service.js +18 -0
- package/dist/cjs/generated/dynamic-table/services/sources.service.js.map +1 -1
- package/dist/cjs/generated/dynamic-table/types.js +16 -69
- package/dist/cjs/generated/dynamic-table/types.js.map +1 -1
- package/dist/cjs/generated/index.js +3 -12
- package/dist/cjs/generated/index.js.map +1 -1
- package/dist/esm/generated/dynamic-table/index.d.ts +1 -1
- package/dist/esm/generated/dynamic-table/index.d.ts.map +1 -1
- package/dist/esm/generated/dynamic-table/index.js +1 -1
- package/dist/esm/generated/dynamic-table/index.js.map +1 -1
- package/dist/esm/generated/dynamic-table/services/api-docs-v3.service.js +3 -3
- package/dist/esm/generated/dynamic-table/services/api-docs-v3.service.js.map +1 -1
- package/dist/esm/generated/dynamic-table/services/api-docs.service.js +3 -3
- package/dist/esm/generated/dynamic-table/services/api-docs.service.js.map +1 -1
- package/dist/esm/generated/dynamic-table/services/dashboards.service.d.ts +3 -2
- package/dist/esm/generated/dynamic-table/services/dashboards.service.d.ts.map +1 -1
- package/dist/esm/generated/dynamic-table/services/dashboards.service.js +12 -3
- package/dist/esm/generated/dynamic-table/services/dashboards.service.js.map +1 -1
- package/dist/esm/generated/dynamic-table/services/sources.service.d.ts +3 -1
- package/dist/esm/generated/dynamic-table/services/sources.service.d.ts.map +1 -1
- package/dist/esm/generated/dynamic-table/services/sources.service.js +18 -0
- package/dist/esm/generated/dynamic-table/services/sources.service.js.map +1 -1
- package/dist/esm/generated/dynamic-table/types.d.ts +169 -340
- package/dist/esm/generated/dynamic-table/types.d.ts.map +1 -1
- package/dist/esm/generated/dynamic-table/types.js +6 -69
- package/dist/esm/generated/dynamic-table/types.js.map +1 -1
- package/dist/esm/generated/index.d.ts +2 -2
- 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/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { CreateColumnDto, CreateTableFieldDto,
|
|
2
|
-
import { FieldType, FilterComparisonOp, FilterComparisonSubOp, FilterLogicalOp, ModelType, ReferentialAction, RelationType, RollupFunction, RowColoringMode, StorageMode, ViewLockType, ViewType } from '../shared-types';
|
|
3
|
-
export type { ACB_BANK, 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, ARCHIVED, ARRAY, ASC, ATTACHMENT, AUTONUMBER, AVG, AVG_DISTINCT, AZURE_AI, BARCODE, BASE, BELONGS_TO, BETWEEN, BIDV_BANK, BIGINT, BIGSERIAL, BINARY, BIT, BLANK, BLOB, BOOLEAN, BUTTON, BYTEA, CALENDAR, CALENDAR_CREATE, CALENDAR_DELETE, CALENDAR_UPDATE, CASCADE, CENTER, CHAR, CHECKED, CIDR, CLOUD_AWS_S3, CLOUD_AZURE_BLOB, CLOUD_BACKBLAZE_B2, CLOUD_CLOUDFLARE_R2, CLOUD_GOOGLE_CLOUD_STORAGE, CLOUD_MINIO, CLOUD_WASABI, COLLABORATIVE, ColumnResponseDto, COMMENT_CREATE, COMMENT_DELETE, COMMENT_UPDATE, COMPLETED, COUNT, COUNT_DISTINCT, CREATE, CreateColumnDto, CREATED_BY, CREATED_TIME, CreateTableFieldDto, CURRENCY, CUSTOM, DASHBOARD, DASHBOARD_CREATE, DASHBOARD_DELETE, DASHBOARD_UPDATE, 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, DOUBLE, DRAFT, DURATION, EAV, EMAIL, EMAIL_GMAIL, EMAIL_OUTLOOK, EMAIL_SMTP, EMAIL_TWILIO_SENDGRID, EMPTY, ENUM, EQ, EXACT_DATE, ExternalSyncConfig, FACEBOOK_ADS, FACEBOOK_BUSINESS, FACEBOOK_PAGE, FACEBOOK_PERSONAL, FAILED,
|
|
4
|
-
export { ExternalDataType, FieldType, FilterComparisonOp, FilterComparisonSubOp, FilterLogicalOp, ModelType, ReferentialAction, RelationType, RollupFunction, RowColoringMode, StorageMode, ViewLockType, ViewType } from '../shared-types';
|
|
1
|
+
import type { BaseMeta, CalendarViewMeta, CreateColumnDto, CreateTableFieldDto, FilterPayload, FormViewMeta, GalleryViewMeta, GridViewMeta, JsonPrimitive, KanbanViewMeta, MapViewMeta, 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, 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, CreateTableFieldDto, CSV, CURRENCY, CUSTOM, DASHBOARD, DASHBOARD_CREATE, DASHBOARD_DELETE, DASHBOARD_UPDATE, 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, 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, JSONB, JsonPrimitive, KANBAN, KanbanViewMeta, KanbanWidgetConfig, KL_BANK, LEFT, LIKE, 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, 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, REDAI, REDAI_EXTENSION, REDAI_LLM, RELATION, RelationConfigDto, RelationConfigResponseDto, RelationFieldRefDto, RESTRICT, RIGHT, ROLLUP, RollupConfigDto, RollupConfigResponseDto, RUNNING, SCATTER, SCB_BANK, SELECT, SERIAL, SET, SET_DEFAULT, SET_NULL, 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, 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, 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';
|
|
5
5
|
export interface AcceptWorkspaceInviteDto {
|
|
6
6
|
token: string;
|
|
7
7
|
}
|
|
@@ -240,16 +240,6 @@ export interface BaseMemberUserDto {
|
|
|
240
240
|
fullName?: string | null;
|
|
241
241
|
avatar?: string | null;
|
|
242
242
|
}
|
|
243
|
-
export type BaseMeta = {
|
|
244
|
-
icon?: string;
|
|
245
|
-
coverImage?: string;
|
|
246
|
-
color?: string;
|
|
247
|
-
tags?: string[];
|
|
248
|
-
defaultTableId?: string;
|
|
249
|
-
defaultViewId?: string;
|
|
250
|
-
isTemplate?: boolean;
|
|
251
|
-
templateId?: string;
|
|
252
|
-
};
|
|
253
243
|
export interface BaseResponseDto {
|
|
254
244
|
id: string;
|
|
255
245
|
fkWorkspaceId: string | null;
|
|
@@ -270,10 +260,6 @@ export interface BaseResponseDto {
|
|
|
270
260
|
createdAt: number | null;
|
|
271
261
|
updatedAt: number | null;
|
|
272
262
|
}
|
|
273
|
-
export declare enum BaseStatus {
|
|
274
|
-
ACTIVE = "active",
|
|
275
|
-
ARCHIVED = "archived"
|
|
276
|
-
}
|
|
277
263
|
export type BulkAggregateDto = BulkDataListDto & {
|
|
278
264
|
aggregations?: JsonValue;
|
|
279
265
|
};
|
|
@@ -326,12 +312,6 @@ export interface CalendarViewDetailResponseDto {
|
|
|
326
312
|
config: CalendarViewResponseDto;
|
|
327
313
|
columns: ViewColumnResponseDto[];
|
|
328
314
|
}
|
|
329
|
-
export type CalendarViewMeta = ViewMeta & {
|
|
330
|
-
timezone?: string;
|
|
331
|
-
weekStart?: 'sun' | 'mon';
|
|
332
|
-
defaultView?: 'month' | 'week' | 'day';
|
|
333
|
-
colorByFieldId?: string;
|
|
334
|
-
};
|
|
335
315
|
export interface CalendarViewRangeDto {
|
|
336
316
|
fromFieldId: string;
|
|
337
317
|
toFieldId?: string | null;
|
|
@@ -346,43 +326,12 @@ export interface CalendarViewResponseDto {
|
|
|
346
326
|
createdAt: number;
|
|
347
327
|
updatedAt: number | null;
|
|
348
328
|
}
|
|
349
|
-
export
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
valueFieldId?: string;
|
|
356
|
-
timeBucket?: 'day' | 'week' | 'month' | 'quarter';
|
|
357
|
-
label?: string;
|
|
358
|
-
};
|
|
359
|
-
export type ChartSeriesSpec = {
|
|
360
|
-
label: string;
|
|
361
|
-
aggregation: WidgetAggregationSpec;
|
|
362
|
-
fieldId?: string;
|
|
363
|
-
color?: string;
|
|
364
|
-
renderAs?: 'bar' | 'line' | 'area';
|
|
365
|
-
stackGroup?: string;
|
|
366
|
-
xFieldId?: string;
|
|
367
|
-
yFieldId?: string;
|
|
368
|
-
sizeFieldId?: string;
|
|
369
|
-
};
|
|
370
|
-
export declare enum ChartType {
|
|
371
|
-
BAR = "bar",
|
|
372
|
-
STACKED_BAR = "stacked_bar",
|
|
373
|
-
LINE = "line",
|
|
374
|
-
AREA = "area",
|
|
375
|
-
STACKED_AREA = "stacked_area",
|
|
376
|
-
PIE = "pie",
|
|
377
|
-
DONUT = "donut",
|
|
378
|
-
RADAR = "radar",
|
|
379
|
-
SCATTER = "scatter",
|
|
380
|
-
BUBBLE = "bubble",
|
|
381
|
-
FUNNEL = "funnel",
|
|
382
|
-
HEATMAP = "heatmap",
|
|
383
|
-
COMBO = "combo",
|
|
384
|
-
POLAR_AREA = "polar_area",
|
|
385
|
-
TREEMAP = "treemap"
|
|
329
|
+
export interface CatalogFromIntegrationDto {
|
|
330
|
+
integrationId: string;
|
|
331
|
+
baseId?: string;
|
|
332
|
+
workspaceId?: string;
|
|
333
|
+
schemas?: string[];
|
|
334
|
+
includeViews?: boolean;
|
|
386
335
|
}
|
|
387
336
|
export interface ChartTypeInfoDto {
|
|
388
337
|
type: ChartType;
|
|
@@ -395,24 +344,6 @@ export interface ChartTypeInfoDto {
|
|
|
395
344
|
supportsMixedSeries: boolean;
|
|
396
345
|
supportsStacking: boolean;
|
|
397
346
|
}
|
|
398
|
-
export type ChartWidgetConfig = {
|
|
399
|
-
chartType: ChartType;
|
|
400
|
-
query: WidgetQuerySpec;
|
|
401
|
-
dimensionFieldId?: string;
|
|
402
|
-
breakdownFieldId?: string;
|
|
403
|
-
sizeFieldId?: string;
|
|
404
|
-
maxPoints?: number;
|
|
405
|
-
xAxis?: ChartAxisSpec;
|
|
406
|
-
yAxis?: ChartAxisSpec;
|
|
407
|
-
series: ChartSeriesSpec[];
|
|
408
|
-
stacked?: boolean;
|
|
409
|
-
showLegend?: boolean;
|
|
410
|
-
showDataLabels?: boolean;
|
|
411
|
-
showGrid?: boolean;
|
|
412
|
-
showTooltip?: boolean;
|
|
413
|
-
showSecondaryAxis?: boolean;
|
|
414
|
-
seriesLayout?: 'grouped' | 'stacked' | 'percent';
|
|
415
|
-
};
|
|
416
347
|
export interface CommandPaletteSearchQueryDto {
|
|
417
348
|
q: string;
|
|
418
349
|
limit?: number;
|
|
@@ -774,6 +705,7 @@ export interface CreateWorkspaceNotificationEmailChannelDto {
|
|
|
774
705
|
isDefault?: boolean;
|
|
775
706
|
}
|
|
776
707
|
export type DashboardMeta = {
|
|
708
|
+
icon?: string;
|
|
777
709
|
theme?: string;
|
|
778
710
|
layoutVersion?: number;
|
|
779
711
|
grid?: {
|
|
@@ -799,16 +731,6 @@ export interface DashboardResponseDto {
|
|
|
799
731
|
updatedAt: number | null;
|
|
800
732
|
widgets?: WidgetResponseDto[];
|
|
801
733
|
}
|
|
802
|
-
export interface DashboardRuntimeResponseDto {
|
|
803
|
-
dashboard: DashboardResponseDto;
|
|
804
|
-
widgets: WidgetRuntimeResponseDto[];
|
|
805
|
-
}
|
|
806
|
-
export declare enum DashboardStatus {
|
|
807
|
-
ACTIVE = "active",
|
|
808
|
-
INACTIVE = "inactive",
|
|
809
|
-
DRAFT = "draft",
|
|
810
|
-
ARCHIVED = "archived"
|
|
811
|
-
}
|
|
812
734
|
export interface DuplicateBaseDto {
|
|
813
735
|
title?: string;
|
|
814
736
|
}
|
|
@@ -833,36 +755,127 @@ export interface ExportOptionsDto {
|
|
|
833
755
|
export interface ExportStartResponseDto {
|
|
834
756
|
jobId: string;
|
|
835
757
|
}
|
|
758
|
+
export interface ExternalCatalogCapabilitiesResponseDto {
|
|
759
|
+
provider: string;
|
|
760
|
+
supportsSchemas: boolean;
|
|
761
|
+
supportsViews: boolean;
|
|
762
|
+
supportsMaterializedViews: boolean;
|
|
763
|
+
supportsForeignKeys: boolean;
|
|
764
|
+
}
|
|
765
|
+
export interface ExternalCatalogColumnResponseDto {
|
|
766
|
+
name: string;
|
|
767
|
+
ordinalPosition: number;
|
|
768
|
+
nativeType: string;
|
|
769
|
+
externalDataType: ExternalDataType;
|
|
770
|
+
fieldType: string;
|
|
771
|
+
uiDataType: string;
|
|
772
|
+
dataType: string;
|
|
773
|
+
nullable: boolean;
|
|
774
|
+
defaultValue?: string | null;
|
|
775
|
+
isPrimary: boolean;
|
|
776
|
+
isUnique: boolean;
|
|
777
|
+
isAutoIncrement: boolean;
|
|
778
|
+
}
|
|
779
|
+
export interface ExternalCatalogForeignKeyResponseDto {
|
|
780
|
+
constraintName: string;
|
|
781
|
+
columnNames: string[];
|
|
782
|
+
referencedSchema: string;
|
|
783
|
+
referencedObjectName: string;
|
|
784
|
+
referencedColumnNames: string[];
|
|
785
|
+
onUpdate?: string | null;
|
|
786
|
+
onDelete?: string | null;
|
|
787
|
+
}
|
|
788
|
+
export interface ExternalCatalogObjectResponseDto {
|
|
789
|
+
schema: string;
|
|
790
|
+
name: string;
|
|
791
|
+
objectType: ExternalCatalogObjectTypeDto;
|
|
792
|
+
isReadonly: boolean;
|
|
793
|
+
columns: ExternalCatalogColumnResponseDto[];
|
|
794
|
+
primaryKey: string[];
|
|
795
|
+
foreignKeys: ExternalCatalogForeignKeyResponseDto[];
|
|
796
|
+
}
|
|
797
|
+
export declare enum ExternalCatalogObjectTypeDto {
|
|
798
|
+
TABLE = "table",
|
|
799
|
+
VIEW = "view"
|
|
800
|
+
}
|
|
801
|
+
export interface ExternalCatalogTableSelectionDto {
|
|
802
|
+
schema: string;
|
|
803
|
+
table: string;
|
|
804
|
+
objectType?: ExternalCatalogObjectTypeDto;
|
|
805
|
+
}
|
|
806
|
+
export interface ExternalSourceCatalogResponseDto {
|
|
807
|
+
sourcePreview: ExternalSourcePreviewDto;
|
|
808
|
+
schemas: string[];
|
|
809
|
+
objects: ExternalCatalogObjectResponseDto[];
|
|
810
|
+
capabilities: ExternalCatalogCapabilitiesResponseDto;
|
|
811
|
+
}
|
|
812
|
+
export interface ExternalSourcePreviewDto {
|
|
813
|
+
sourceId: string | null;
|
|
814
|
+
workspaceId: string;
|
|
815
|
+
baseId: string | null;
|
|
816
|
+
integrationId: string;
|
|
817
|
+
type: SourceType | null;
|
|
818
|
+
config: SourceConfig | null;
|
|
819
|
+
}
|
|
820
|
+
export interface ExternalSourceSyncResponseDto {
|
|
821
|
+
sourceId: string;
|
|
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
|
+
}
|
|
832
|
+
export type FieldMeta = {
|
|
833
|
+
placeholder?: string;
|
|
834
|
+
helpText?: string;
|
|
835
|
+
icon?: string;
|
|
836
|
+
color?: string;
|
|
837
|
+
display?: {
|
|
838
|
+
width?: number;
|
|
839
|
+
hidden?: boolean;
|
|
840
|
+
order?: number;
|
|
841
|
+
};
|
|
842
|
+
validation?: {
|
|
843
|
+
min?: number;
|
|
844
|
+
max?: number;
|
|
845
|
+
pattern?: string;
|
|
846
|
+
message?: string;
|
|
847
|
+
};
|
|
848
|
+
syncState?: 'active' | 'stale';
|
|
849
|
+
externalRelationManaged?: boolean;
|
|
850
|
+
externalRelationRole?: 'owner' | 'inverse';
|
|
851
|
+
externalForeignKeyConstraintName?: string;
|
|
852
|
+
externalForeignKeyColumnName?: string;
|
|
853
|
+
externalReferencedSchemaName?: string;
|
|
854
|
+
externalReferencedTableName?: string;
|
|
855
|
+
externalReferencedColumnName?: string;
|
|
856
|
+
relationAutoInverse?: boolean;
|
|
857
|
+
relationInverseOfFieldId?: string;
|
|
858
|
+
relationInverseType?: string;
|
|
859
|
+
relationPrimaryKeyName?: string;
|
|
860
|
+
systemKind?: string;
|
|
861
|
+
};
|
|
836
862
|
export type FieldRefWithTableDto = RelationFieldRefDto & {
|
|
837
863
|
tableClientKey?: string;
|
|
838
864
|
};
|
|
839
|
-
export
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
operator
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
};
|
|
854
|
-
export type FilterGroupPayload = {
|
|
855
|
-
isGroup: true;
|
|
856
|
-
logicalOp?: FilterLogicalOperator;
|
|
857
|
-
children?: FilterPayload[];
|
|
858
|
-
};
|
|
859
|
-
export type FilterLogicalOperator = FilterLogicalOp;
|
|
860
|
-
export type FilterLogicalPayload = {
|
|
861
|
-
and?: FilterPayload[];
|
|
862
|
-
or?: FilterPayload[];
|
|
863
|
-
not?: FilterPayload[];
|
|
864
|
-
};
|
|
865
|
-
export type FilterPayload = FilterConditionPayload | FilterGroupPayload | FilterLogicalPayload;
|
|
865
|
+
export interface FilterResponseDto {
|
|
866
|
+
id: string;
|
|
867
|
+
viewId: string | null;
|
|
868
|
+
parentId: string | null;
|
|
869
|
+
fieldId: string | null;
|
|
870
|
+
operator: string | null;
|
|
871
|
+
comparisonSubOp: string | null;
|
|
872
|
+
value: JsonValue | null;
|
|
873
|
+
order: number | null;
|
|
874
|
+
isGroup: boolean | null;
|
|
875
|
+
createdAt: number | null;
|
|
876
|
+
updatedAt: number | null;
|
|
877
|
+
children?: FilterResponseDto[];
|
|
878
|
+
}
|
|
866
879
|
export interface FormViewConfigDto {
|
|
867
880
|
heading?: string | null;
|
|
868
881
|
subheading?: string | null;
|
|
@@ -878,13 +891,6 @@ export interface FormViewDetailResponseDto {
|
|
|
878
891
|
config: FormViewResponseDto;
|
|
879
892
|
columns: ViewColumnResponseDto[];
|
|
880
893
|
}
|
|
881
|
-
export type FormViewMeta = ViewMeta & {
|
|
882
|
-
theme?: string;
|
|
883
|
-
logoUrl?: string;
|
|
884
|
-
coverImageUrl?: string;
|
|
885
|
-
submitButtonLabel?: string;
|
|
886
|
-
showBranding?: boolean;
|
|
887
|
-
};
|
|
888
894
|
export interface FormViewResponseDto {
|
|
889
895
|
viewId: string;
|
|
890
896
|
workspaceId: string | null;
|
|
@@ -910,11 +916,6 @@ export interface GalleryViewDetailResponseDto {
|
|
|
910
916
|
config: GalleryViewResponseDto;
|
|
911
917
|
columns: ViewColumnResponseDto[];
|
|
912
918
|
}
|
|
913
|
-
export type GalleryViewMeta = ViewMeta & {
|
|
914
|
-
cardSize?: 'small' | 'medium' | 'large';
|
|
915
|
-
showCover?: boolean;
|
|
916
|
-
showEmptyCover?: boolean;
|
|
917
|
-
};
|
|
918
919
|
export interface GalleryViewResponseDto {
|
|
919
920
|
viewId: string;
|
|
920
921
|
workspaceId: string | null;
|
|
@@ -929,31 +930,10 @@ export interface GetUserUiPreferencesResponseDto {
|
|
|
929
930
|
raw: UserUiPreferencesRawDto;
|
|
930
931
|
resolved: UserUiPreferencesResolvedDto;
|
|
931
932
|
}
|
|
932
|
-
export declare enum GridColumnAlign {
|
|
933
|
-
LEFT = "left",
|
|
934
|
-
CENTER = "center",
|
|
935
|
-
RIGHT = "right"
|
|
936
|
-
}
|
|
937
|
-
export declare enum GridRowHeight {
|
|
938
|
-
SHORT = "short",
|
|
939
|
-
MEDIUM = "medium",
|
|
940
|
-
TALL = "tall",
|
|
941
|
-
EXTRA = "extra"
|
|
942
|
-
}
|
|
943
933
|
export interface GridViewConfigDto {
|
|
944
934
|
rowHeight?: GridRowHeight | null;
|
|
945
935
|
meta?: GridViewMeta;
|
|
946
936
|
}
|
|
947
|
-
export type GridViewMeta = ViewMeta & {
|
|
948
|
-
wrapText?: boolean;
|
|
949
|
-
showEmptyFields?: boolean;
|
|
950
|
-
frozenColumnIds?: string[];
|
|
951
|
-
hiddenColumnIds?: string[];
|
|
952
|
-
columnWidths?: Array<{
|
|
953
|
-
fieldId: string;
|
|
954
|
-
width: number;
|
|
955
|
-
}>;
|
|
956
|
-
};
|
|
957
937
|
export interface GridViewResponseDto {
|
|
958
938
|
viewId: string;
|
|
959
939
|
workspaceId: string | null;
|
|
@@ -1160,11 +1140,6 @@ export interface KanbanViewDetailResponseDto {
|
|
|
1160
1140
|
config: KanbanViewResponseDto;
|
|
1161
1141
|
columns: ViewColumnResponseDto[];
|
|
1162
1142
|
}
|
|
1163
|
-
export type KanbanViewMeta = ViewMeta & {
|
|
1164
|
-
laneOrder?: string[];
|
|
1165
|
-
showEmptyLanes?: boolean;
|
|
1166
|
-
cardFields?: string[];
|
|
1167
|
-
};
|
|
1168
1143
|
export interface KanbanViewResponseDto {
|
|
1169
1144
|
viewId: string;
|
|
1170
1145
|
workspaceId: string | null;
|
|
@@ -1176,10 +1151,6 @@ export interface KanbanViewResponseDto {
|
|
|
1176
1151
|
createdAt: number;
|
|
1177
1152
|
updatedAt: number | null;
|
|
1178
1153
|
}
|
|
1179
|
-
export type KanbanWidgetConfig = {
|
|
1180
|
-
query: WidgetQuerySpec;
|
|
1181
|
-
groupFieldId: string;
|
|
1182
|
-
};
|
|
1183
1154
|
export interface LimitOffsetQueryDto {
|
|
1184
1155
|
limit?: number;
|
|
1185
1156
|
offset?: number;
|
|
@@ -1256,11 +1227,6 @@ export interface ListViewsQueryDto {
|
|
|
1256
1227
|
includeConfig?: boolean;
|
|
1257
1228
|
includeColumns?: boolean;
|
|
1258
1229
|
}
|
|
1259
|
-
export type ListWidgetConfig = {
|
|
1260
|
-
query: WidgetQuerySpec;
|
|
1261
|
-
visibleFieldIds?: string[];
|
|
1262
|
-
pageSize?: number;
|
|
1263
|
-
};
|
|
1264
1230
|
export type ListWorkspaceInvitesQueryDto = PaginationQueryDto & {
|
|
1265
1231
|
status?: WorkspaceInviteStatus;
|
|
1266
1232
|
};
|
|
@@ -1277,11 +1243,6 @@ export interface LookupConfigWithRefsDto {
|
|
|
1277
1243
|
lookupFieldId?: string;
|
|
1278
1244
|
lookupFieldRef?: FieldRefWithTableDto;
|
|
1279
1245
|
}
|
|
1280
|
-
export declare enum MapProviderType {
|
|
1281
|
-
OSM = "osm",
|
|
1282
|
-
GOOGLE = "google",
|
|
1283
|
-
MAPBOX = "mapbox"
|
|
1284
|
-
}
|
|
1285
1246
|
export interface MapViewConfigDto {
|
|
1286
1247
|
geoDataFieldId?: string | null;
|
|
1287
1248
|
mapType?: MapProviderType | null;
|
|
@@ -1292,15 +1253,6 @@ export interface MapViewDetailResponseDto {
|
|
|
1292
1253
|
config: MapViewResponseDto;
|
|
1293
1254
|
columns: ViewColumnResponseDto[];
|
|
1294
1255
|
}
|
|
1295
|
-
export type MapViewMeta = ViewMeta & {
|
|
1296
|
-
defaultZoom?: number;
|
|
1297
|
-
center?: {
|
|
1298
|
-
lat: number;
|
|
1299
|
-
lng: number;
|
|
1300
|
-
};
|
|
1301
|
-
markerColor?: string;
|
|
1302
|
-
showCluster?: boolean;
|
|
1303
|
-
};
|
|
1304
1256
|
export interface MapViewResponseDto {
|
|
1305
1257
|
viewId: string;
|
|
1306
1258
|
workspaceId: string | null;
|
|
@@ -1313,26 +1265,11 @@ export interface MapViewResponseDto {
|
|
|
1313
1265
|
createdAt: number;
|
|
1314
1266
|
updatedAt: number | null;
|
|
1315
1267
|
}
|
|
1316
|
-
export type MapWidgetConfig = {
|
|
1317
|
-
query: WidgetQuerySpec;
|
|
1318
|
-
latitudeFieldId?: string;
|
|
1319
|
-
longitudeFieldId?: string;
|
|
1320
|
-
geoFieldId?: string;
|
|
1321
|
-
};
|
|
1322
1268
|
export declare enum MembershipScope {
|
|
1323
1269
|
WORKSPACE = "workspace",
|
|
1324
1270
|
BASE = "base",
|
|
1325
1271
|
TEAM = "team"
|
|
1326
1272
|
}
|
|
1327
|
-
export type MetricWidgetConfig = {
|
|
1328
|
-
query: WidgetQuerySpec;
|
|
1329
|
-
aggregation: WidgetAggregationSpec;
|
|
1330
|
-
comparison?: {
|
|
1331
|
-
mode: 'previous_period' | 'fixed_target';
|
|
1332
|
-
value?: number;
|
|
1333
|
-
};
|
|
1334
|
-
format?: 'number' | 'currency' | 'percent';
|
|
1335
|
-
};
|
|
1336
1273
|
export interface PagedResponse<T> {
|
|
1337
1274
|
list: T[];
|
|
1338
1275
|
pageInfo: PageInfo;
|
|
@@ -1621,10 +1558,6 @@ export interface ScheduledHookResponseDto {
|
|
|
1621
1558
|
export interface SecureAttachmentTokenDto {
|
|
1622
1559
|
ttlSeconds?: number;
|
|
1623
1560
|
}
|
|
1624
|
-
export interface SlackIntegrationConfig {
|
|
1625
|
-
webhookUrl?: string;
|
|
1626
|
-
channelId?: string;
|
|
1627
|
-
}
|
|
1628
1561
|
export interface SortResponseDto {
|
|
1629
1562
|
id: string;
|
|
1630
1563
|
viewId: string;
|
|
@@ -1634,27 +1567,18 @@ export interface SortResponseDto {
|
|
|
1634
1567
|
createdAt: number | null;
|
|
1635
1568
|
updatedAt: number | null;
|
|
1636
1569
|
}
|
|
1637
|
-
export type SourceConfig = {
|
|
1638
|
-
host?: string;
|
|
1639
|
-
port?: number;
|
|
1640
|
-
database?: string;
|
|
1641
|
-
username?: string;
|
|
1642
|
-
password?: string;
|
|
1643
|
-
ssl?: boolean;
|
|
1644
|
-
poolSize?: number;
|
|
1645
|
-
connectionTimeout?: number;
|
|
1646
|
-
idleTimeout?: number;
|
|
1647
|
-
schema?: string;
|
|
1648
|
-
[key: string]: JsonValue | undefined;
|
|
1649
|
-
};
|
|
1650
1570
|
export type SourceMeta = {
|
|
1651
1571
|
schema?: string;
|
|
1652
1572
|
version?: string;
|
|
1653
1573
|
driver?: string;
|
|
1654
1574
|
lastSyncedAt?: number;
|
|
1575
|
+
lastCatalogSyncAt?: number;
|
|
1655
1576
|
note?: string;
|
|
1656
1577
|
readOnlySchema?: boolean;
|
|
1657
1578
|
readOnlyData?: boolean;
|
|
1579
|
+
providerType?: string;
|
|
1580
|
+
catalogNamespaces?: string[];
|
|
1581
|
+
sourceFingerprint?: string;
|
|
1658
1582
|
};
|
|
1659
1583
|
export interface SourceResponseDto {
|
|
1660
1584
|
id: string;
|
|
@@ -1674,15 +1598,6 @@ export interface SourceResponseDto {
|
|
|
1674
1598
|
createdAt: number | null;
|
|
1675
1599
|
updatedAt: number | null;
|
|
1676
1600
|
}
|
|
1677
|
-
export declare enum SourceType {
|
|
1678
|
-
POSTGRESQL = "POSTGRESQL",
|
|
1679
|
-
MYSQL = "MYSQL",
|
|
1680
|
-
MSSQL = "MSSQL",
|
|
1681
|
-
MONGODB = "MONGODB",
|
|
1682
|
-
ORACLE = "ORACLE",
|
|
1683
|
-
MARIADB = "MARIADB",
|
|
1684
|
-
SQLITE = "SQLITE"
|
|
1685
|
-
}
|
|
1686
1601
|
export interface StartExportDto {
|
|
1687
1602
|
viewId?: string;
|
|
1688
1603
|
exportAs: ExportFormatEnum;
|
|
@@ -1706,6 +1621,24 @@ export interface StartImportOptionsDto {
|
|
|
1706
1621
|
}
|
|
1707
1622
|
export type SupportedPermissionResourceType = (typeof PERMISSION_RESOURCE_TYPES)[number];
|
|
1708
1623
|
export type SupportedPermissionSubjectType = (typeof PERMISSION_SUBJECT_TYPES)[number];
|
|
1624
|
+
export type SyncFromIntegrationDto = CatalogFromIntegrationDto & {
|
|
1625
|
+
tables?: ExternalCatalogTableSelectionDto[];
|
|
1626
|
+
syncRelations?: boolean;
|
|
1627
|
+
};
|
|
1628
|
+
export type TableMeta = {
|
|
1629
|
+
icon?: string;
|
|
1630
|
+
color?: string;
|
|
1631
|
+
coverImage?: string;
|
|
1632
|
+
tags?: string[];
|
|
1633
|
+
primaryFieldId?: string;
|
|
1634
|
+
displayFieldId?: string;
|
|
1635
|
+
isTemplate?: boolean;
|
|
1636
|
+
externalObjectType?: 'table' | 'view';
|
|
1637
|
+
externalCatalogName?: string;
|
|
1638
|
+
isReadonly?: boolean;
|
|
1639
|
+
syncState?: 'active' | 'stale';
|
|
1640
|
+
sourceFingerprint?: string;
|
|
1641
|
+
};
|
|
1709
1642
|
export type TableRecord = Record<string, JsonValue> & {
|
|
1710
1643
|
id?: string | number;
|
|
1711
1644
|
};
|
|
@@ -1716,11 +1649,6 @@ export interface TableRefDto {
|
|
|
1716
1649
|
tableId?: string;
|
|
1717
1650
|
tableClientKey?: string;
|
|
1718
1651
|
}
|
|
1719
|
-
export type TableWidgetConfig = {
|
|
1720
|
-
query: WidgetQuerySpec;
|
|
1721
|
-
visibleFieldIds?: string[];
|
|
1722
|
-
pageSize?: number;
|
|
1723
|
-
};
|
|
1724
1652
|
export interface TestHookDto {
|
|
1725
1653
|
hook: CreateHookDto;
|
|
1726
1654
|
kind?: HookFullRequestKind;
|
|
@@ -1736,8 +1664,8 @@ export interface TestWorkspaceNotificationEmailChannelDto {
|
|
|
1736
1664
|
subject?: string;
|
|
1737
1665
|
}
|
|
1738
1666
|
export type TextWidgetConfig = {
|
|
1739
|
-
content:
|
|
1740
|
-
format: 'plain' | 'markdown';
|
|
1667
|
+
content: JsonValue;
|
|
1668
|
+
format: 'plain' | 'markdown' | 'json';
|
|
1741
1669
|
};
|
|
1742
1670
|
export type TokenPermissions = {
|
|
1743
1671
|
actions?: PermissionAction[];
|
|
@@ -1868,25 +1796,10 @@ export interface ViewColumnResponseDto {
|
|
|
1868
1796
|
updatedAt: number | null;
|
|
1869
1797
|
}
|
|
1870
1798
|
export type ViewDetailQueryDto = ListViewsQueryDto;
|
|
1871
|
-
export declare enum ViewSortDirection {
|
|
1872
|
-
ASC = "asc",
|
|
1873
|
-
DESC = "desc",
|
|
1874
|
-
COUNT_ASC = "count-asc",
|
|
1875
|
-
COUNT_DESC = "count-desc"
|
|
1876
|
-
}
|
|
1877
1799
|
export interface WarmupCacheDto {
|
|
1878
1800
|
tableIds?: string[];
|
|
1879
1801
|
ttlSeconds?: number;
|
|
1880
1802
|
}
|
|
1881
|
-
export type WidgetAggregationFunction = 'count' | 'sum' | 'avg' | 'min' | 'max';
|
|
1882
|
-
export type WidgetAggregationSpec = {
|
|
1883
|
-
function: WidgetAggregationFunction;
|
|
1884
|
-
fieldId?: string;
|
|
1885
|
-
distinct?: boolean;
|
|
1886
|
-
};
|
|
1887
|
-
export type WidgetConfig = ChartWidgetConfig | MetricWidgetConfig | TextWidgetConfig | TableWidgetConfig | ListWidgetConfig | CalendarWidgetConfig | KanbanWidgetConfig | MapWidgetConfig;
|
|
1888
|
-
export type WidgetDatePreset = 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'this_month' | 'last_month' | 'this_quarter' | 'this_year';
|
|
1889
|
-
export type WidgetFilter = FilterPayload | FilterPayload[];
|
|
1890
1803
|
export interface WidgetFilterNodeDto {
|
|
1891
1804
|
fieldId?: string | null;
|
|
1892
1805
|
comparisonOp?: FilterComparisonOp | null;
|
|
@@ -1897,22 +1810,6 @@ export interface WidgetFilterNodeDto {
|
|
|
1897
1810
|
order?: number | null;
|
|
1898
1811
|
children?: WidgetFilterNodeDto[];
|
|
1899
1812
|
}
|
|
1900
|
-
export type WidgetMeta = {
|
|
1901
|
-
icon?: string;
|
|
1902
|
-
color?: string;
|
|
1903
|
-
refreshIntervalSec?: number;
|
|
1904
|
-
lastEditedBy?: string | number;
|
|
1905
|
-
};
|
|
1906
|
-
export type WidgetQuerySpec = {
|
|
1907
|
-
modelId: string;
|
|
1908
|
-
viewId?: string;
|
|
1909
|
-
filters?: WidgetFilter;
|
|
1910
|
-
groupBy?: string[];
|
|
1911
|
-
sorts?: WidgetSortSpec[];
|
|
1912
|
-
limit?: number;
|
|
1913
|
-
dateRangeFieldId?: string;
|
|
1914
|
-
datePreset?: WidgetDatePreset;
|
|
1915
|
-
};
|
|
1916
1813
|
export interface WidgetResponseDto {
|
|
1917
1814
|
id: string;
|
|
1918
1815
|
fkWorkspaceId: string | null;
|
|
@@ -1951,10 +1848,6 @@ export interface WidgetRuntimeResponseDto {
|
|
|
1951
1848
|
resolvedQuery: WidgetRuntimeResolvedQueryResponseDto;
|
|
1952
1849
|
data: Record<string, unknown>;
|
|
1953
1850
|
}
|
|
1954
|
-
export type WidgetSortSpec = {
|
|
1955
|
-
fieldId: string;
|
|
1956
|
-
direction: 'asc' | 'desc';
|
|
1957
|
-
};
|
|
1958
1851
|
export declare enum WidgetType {
|
|
1959
1852
|
CHART = "chart",
|
|
1960
1853
|
METRIC = "metric",
|
|
@@ -2120,67 +2013,30 @@ export interface WorkspaceResponseDto {
|
|
|
2120
2013
|
ownerId: number;
|
|
2121
2014
|
createdAt: number;
|
|
2122
2015
|
}
|
|
2123
|
-
export type WorkspaceRoleCode = WorkspaceSystemRoleCode | (string & {});
|
|
2124
|
-
export interface WorkspaceSettings {
|
|
2125
|
-
logo?: string;
|
|
2126
|
-
favicon?: string;
|
|
2127
|
-
primaryColor?: string;
|
|
2128
|
-
theme?: 'light' | 'dark' | 'system';
|
|
2129
|
-
defaultMemberRole?: WorkspaceRoleCode;
|
|
2130
|
-
allowPublicTables?: boolean;
|
|
2131
|
-
requireApproval?: boolean;
|
|
2132
|
-
emailNotifications?: boolean;
|
|
2133
|
-
slackIntegration?: SlackIntegrationConfig;
|
|
2134
|
-
maxTables?: number;
|
|
2135
|
-
maxMembers?: number;
|
|
2136
|
-
maxStorageBytes?: number;
|
|
2137
|
-
enableAuditLog?: boolean;
|
|
2138
|
-
enableApiAccess?: boolean;
|
|
2139
|
-
enableExport?: boolean;
|
|
2140
|
-
enableImport?: boolean;
|
|
2141
|
-
customDomain?: string;
|
|
2142
|
-
customDomainVerified?: boolean;
|
|
2143
|
-
}
|
|
2144
|
-
export type WorkspaceSystemRoleCode = (typeof WORKSPACE_SYSTEM_ROLE_CODE)[keyof typeof WORKSPACE_SYSTEM_ROLE_CODE];
|
|
2145
2016
|
export declare const PERMISSION_RESOURCE_TYPES: readonly unknown[];
|
|
2146
2017
|
export declare const PERMISSION_SUBJECT_TYPES: readonly unknown[];
|
|
2147
|
-
export declare const WORKSPACE_SYSTEM_ROLE_CODE: readonly unknown[];
|
|
2148
|
-
export declare const WORKSPACE: readonly unknown[];
|
|
2149
|
-
export type ACCEPTED = unknown;
|
|
2150
2018
|
export type APIS_CREATED = unknown;
|
|
2151
|
-
export type APPEND = unknown;
|
|
2152
|
-
export type APPROVED = unknown;
|
|
2153
|
-
export type AREA = unknown;
|
|
2154
2019
|
export type ATTACHMENT_UPLOAD = unknown;
|
|
2155
|
-
export type BAR = unknown;
|
|
2156
2020
|
export type BASE_DUPLICATE_COMPLETE = unknown;
|
|
2157
2021
|
export type BASE_DUPLICATE_FAIL = unknown;
|
|
2158
2022
|
export type BASE_DUPLICATE_START = unknown;
|
|
2159
|
-
export type BUBBLE = unknown;
|
|
2160
2023
|
export type CANCELED = unknown;
|
|
2161
|
-
export type CHART = unknown;
|
|
2162
2024
|
export type COLUMN_CREATE = unknown;
|
|
2163
2025
|
export type COLUMN_DELETE = unknown;
|
|
2164
2026
|
export type COLUMN_DUPLICATE_COMPLETE = unknown;
|
|
2165
2027
|
export type COLUMN_DUPLICATE_FAIL = unknown;
|
|
2166
2028
|
export type COLUMN_DUPLICATE_START = unknown;
|
|
2167
2029
|
export type COLUMN_UPDATE = unknown;
|
|
2168
|
-
export type COMBO = unknown;
|
|
2169
|
-
export type COUNT_ASC = unknown;
|
|
2170
|
-
export type COUNT_DESC = unknown;
|
|
2171
|
-
export type CSV = unknown;
|
|
2172
2030
|
export type DASHBOARD_DUPLICATE_COMPLETE = unknown;
|
|
2173
2031
|
export type DASHBOARD_DUPLICATE_FAIL = unknown;
|
|
2174
2032
|
export type DASHBOARD_DUPLICATE_START = unknown;
|
|
2175
2033
|
export type DATA_MUTATION = unknown;
|
|
2176
2034
|
export type DEV = unknown;
|
|
2177
|
-
export type DONUT = unknown;
|
|
2178
2035
|
export type EXPIRED = unknown;
|
|
2179
2036
|
export type EXTENSION_CREATE = unknown;
|
|
2180
2037
|
export type EXTENSION_DELETE = unknown;
|
|
2181
2038
|
export type EXTENSION_UPDATE = unknown;
|
|
2182
2039
|
export type EXTERNAL = unknown;
|
|
2183
|
-
export type EXTRA = unknown;
|
|
2184
2040
|
export type FILTER_CREATE = unknown;
|
|
2185
2041
|
export type FILTER_DELETE = unknown;
|
|
2186
2042
|
export type FILTER_UPDATE = unknown;
|
|
@@ -2189,67 +2045,44 @@ export type FORM_CREATE = unknown;
|
|
|
2189
2045
|
export type FORM_DELETE = unknown;
|
|
2190
2046
|
export type FORM_DUPLICATE = unknown;
|
|
2191
2047
|
export type FORM_UPDATE = unknown;
|
|
2192
|
-
export type FUNNEL = unknown;
|
|
2193
2048
|
export type GALLERY_CREATE = unknown;
|
|
2194
2049
|
export type GALLERY_DELETE = unknown;
|
|
2195
2050
|
export type GALLERY_DUPLICATE = unknown;
|
|
2196
2051
|
export type GALLERY_UPDATE = unknown;
|
|
2197
|
-
export type GOOGLE = unknown;
|
|
2198
2052
|
export type GRID_COLUMN_UPDATE = unknown;
|
|
2199
2053
|
export type GRID_CREATE = unknown;
|
|
2200
2054
|
export type GRID_DELETE = unknown;
|
|
2201
2055
|
export type GRID_DUPLICATE = unknown;
|
|
2202
2056
|
export type GRID_UPDATE = unknown;
|
|
2203
|
-
export type HEATMAP = unknown;
|
|
2204
2057
|
export type IMAGE_UPLOAD = unknown;
|
|
2205
2058
|
export type KANBAN_CREATE = unknown;
|
|
2206
2059
|
export type KANBAN_DELETE = unknown;
|
|
2207
2060
|
export type KANBAN_DUPLICATE = unknown;
|
|
2208
2061
|
export type KANBAN_UPDATE = unknown;
|
|
2209
2062
|
export type KNOWLEDGE_FILE = unknown;
|
|
2210
|
-
export type LEFT = unknown;
|
|
2211
|
-
export type LINE = unknown;
|
|
2212
|
-
export type LIST = unknown;
|
|
2213
2063
|
export type MAP_CREATE = unknown;
|
|
2214
2064
|
export type MAP_DELETE = unknown;
|
|
2215
2065
|
export type MAP_UPDATE = unknown;
|
|
2216
|
-
export type MAPBOX = unknown;
|
|
2217
|
-
export type MARIADB = unknown;
|
|
2218
|
-
export type MEDIA = unknown;
|
|
2219
|
-
export type MEDIUM = unknown;
|
|
2220
2066
|
export type META_DIFF_SYNC = unknown;
|
|
2221
|
-
export type METRIC = unknown;
|
|
2222
|
-
export type MONGODB = unknown;
|
|
2223
|
-
export type MSSQL = unknown;
|
|
2224
|
-
export type MYSQL = unknown;
|
|
2225
|
-
export type ORACLE = unknown;
|
|
2226
2067
|
export type ORG_API_TOKEN_CREATE = unknown;
|
|
2227
2068
|
export type ORG_API_TOKEN_DELETE = unknown;
|
|
2228
2069
|
export type ORG_API_TOKEN_UPDATE = unknown;
|
|
2229
2070
|
export type ORG_USER_INVITE = unknown;
|
|
2230
2071
|
export type ORG_USER_RESEND_INVITE = unknown;
|
|
2231
|
-
export type OSM = unknown;
|
|
2232
|
-
export type PIE = unknown;
|
|
2233
2072
|
export type PLUGIN_INSTALL = unknown;
|
|
2234
2073
|
export type PLUGIN_TEST = unknown;
|
|
2235
2074
|
export type PLUGIN_UNINSTALL = unknown;
|
|
2236
|
-
export type POLAR_AREA = unknown;
|
|
2237
|
-
export type POSTGRESQL = unknown;
|
|
2238
2075
|
export type PROD = unknown;
|
|
2239
2076
|
export type PROJECT_CLONE = unknown;
|
|
2240
2077
|
export type PROJECT_INVITE = unknown;
|
|
2241
2078
|
export type PROJECT_USER_DELETE = unknown;
|
|
2242
2079
|
export type PROJECT_USER_RESEND_INVITE = unknown;
|
|
2243
2080
|
export type PROJECT_USER_UPDATE = unknown;
|
|
2244
|
-
export type RADAR = unknown;
|
|
2245
2081
|
export type REJECTED = unknown;
|
|
2246
2082
|
export type RELATION_CREATE = unknown;
|
|
2247
2083
|
export type RELATION_DELETE = unknown;
|
|
2248
2084
|
export type REVOKED = unknown;
|
|
2249
|
-
export type RIGHT = unknown;
|
|
2250
2085
|
export type ROW_USER_MENTION = unknown;
|
|
2251
|
-
export type RUNNING = unknown;
|
|
2252
|
-
export type SCATTER = unknown;
|
|
2253
2086
|
export type SCHEDULED_HOOK = unknown;
|
|
2254
2087
|
export type SCRIPT = unknown;
|
|
2255
2088
|
export type SCRIPT_CREATE = unknown;
|
|
@@ -2265,31 +2098,22 @@ export type SHARED_DASHBOARD_UPDATE_LINK = unknown;
|
|
|
2265
2098
|
export type SHARED_VIEW_CREATE = unknown;
|
|
2266
2099
|
export type SHARED_VIEW_DELETE = unknown;
|
|
2267
2100
|
export type SHARED_VIEW_UPDATE = unknown;
|
|
2268
|
-
export type SHORT = unknown;
|
|
2269
2101
|
export type SNAPSHOT_CREATE = unknown;
|
|
2270
2102
|
export type SNAPSHOT_DELETE = unknown;
|
|
2271
2103
|
export type SNAPSHOT_RESTORE = unknown;
|
|
2272
2104
|
export type SORT_CREATE = unknown;
|
|
2273
2105
|
export type SORT_DELETE = unknown;
|
|
2274
2106
|
export type SORT_UPDATE = unknown;
|
|
2275
|
-
export type SQLITE = unknown;
|
|
2276
|
-
export type STACKED_AREA = unknown;
|
|
2277
|
-
export type STACKED_BAR = unknown;
|
|
2278
2107
|
export type STAGING = unknown;
|
|
2279
|
-
export type SUCCESS = unknown;
|
|
2280
2108
|
export type SYNC_SOURCE_CREATE = unknown;
|
|
2281
2109
|
export type SYNC_SOURCE_DELETE = unknown;
|
|
2282
2110
|
export type SYNC_SOURCE_UPDATE = unknown;
|
|
2283
2111
|
export type TABLE_DUPLICATE_COMPLETE = unknown;
|
|
2284
2112
|
export type TABLE_DUPLICATE_FAIL = unknown;
|
|
2285
2113
|
export type TABLE_DUPLICATE_START = unknown;
|
|
2286
|
-
export type TALL = unknown;
|
|
2287
2114
|
export type TEAM = unknown;
|
|
2288
|
-
export type TIKTOK = unknown;
|
|
2289
|
-
export type TREEMAP = unknown;
|
|
2290
2115
|
export type UI_ACL = unknown;
|
|
2291
2116
|
export type UI_ACL_UPDATE = unknown;
|
|
2292
|
-
export type USER_DELETE = unknown;
|
|
2293
2117
|
export type USER_EMAIL_VERIFICATION = unknown;
|
|
2294
2118
|
export type USER_INVITE = unknown;
|
|
2295
2119
|
export type USER_PASSWORD_CHANGE = unknown;
|
|
@@ -2299,17 +2123,14 @@ export type USER_PROFILE_UPDATE = unknown;
|
|
|
2299
2123
|
export type USER_SIGNIN = unknown;
|
|
2300
2124
|
export type USER_SIGNOUT = unknown;
|
|
2301
2125
|
export type USER_SIGNUP = unknown;
|
|
2302
|
-
export type USER_UPDATE = unknown;
|
|
2303
2126
|
export type V1 = unknown;
|
|
2304
2127
|
export type V2 = unknown;
|
|
2305
2128
|
export type V3 = unknown;
|
|
2306
|
-
export type VERTEX_AI = unknown;
|
|
2307
2129
|
export type VIEW_COLUMN_CREATE = unknown;
|
|
2308
2130
|
export type VIEW_COLUMN_UPDATE = unknown;
|
|
2309
2131
|
export type VIEW_DUPLICATE_COMPLETE = unknown;
|
|
2310
2132
|
export type VIEW_DUPLICATE_FAIL = unknown;
|
|
2311
2133
|
export type VIEW_DUPLICATE_START = unknown;
|
|
2312
|
-
export type WEBHOOK = unknown;
|
|
2313
2134
|
export type WEBHOOK_CREATE = unknown;
|
|
2314
2135
|
export type WEBHOOK_DELETE = unknown;
|
|
2315
2136
|
export type WEBHOOK_TEST = unknown;
|
|
@@ -2327,7 +2148,6 @@ export type WORKSPACE_UPGRADE_REQUEST = unknown;
|
|
|
2327
2148
|
export type WORKSPACE_USER_DELETE = unknown;
|
|
2328
2149
|
export type WORKSPACE_USER_INVITE = unknown;
|
|
2329
2150
|
export type WORKSPACE_USER_UPDATE = unknown;
|
|
2330
|
-
export type XLSX = unknown;
|
|
2331
2151
|
export interface AclCreateAclEntryParams {
|
|
2332
2152
|
body: CreateAclEntryDto;
|
|
2333
2153
|
}
|
|
@@ -2345,22 +2165,22 @@ export interface AclUpdateAclEntryParams {
|
|
|
2345
2165
|
body: UpdateAclEntryDto;
|
|
2346
2166
|
}
|
|
2347
2167
|
export interface ApiDocsOpenApiJsonParams {
|
|
2348
|
-
|
|
2168
|
+
query?: string;
|
|
2349
2169
|
}
|
|
2350
2170
|
export interface ApiDocsRedocParams {
|
|
2351
|
-
|
|
2171
|
+
query?: string;
|
|
2352
2172
|
}
|
|
2353
2173
|
export interface ApiDocsSwaggerParams {
|
|
2354
|
-
|
|
2174
|
+
query?: string;
|
|
2355
2175
|
}
|
|
2356
2176
|
export interface ApiDocsV3OpenApiJsonParams {
|
|
2357
|
-
|
|
2177
|
+
query?: string;
|
|
2358
2178
|
}
|
|
2359
2179
|
export interface ApiDocsV3RedocParams {
|
|
2360
|
-
|
|
2180
|
+
query?: string;
|
|
2361
2181
|
}
|
|
2362
2182
|
export interface ApiDocsV3SwaggerParams {
|
|
2363
|
-
|
|
2183
|
+
query?: string;
|
|
2364
2184
|
}
|
|
2365
2185
|
export interface ApiTokensCreateApiTokenParams {
|
|
2366
2186
|
body: CreateApiTokenDto;
|
|
@@ -2562,7 +2382,10 @@ export interface DashboardsDeleteDashboardParams {
|
|
|
2562
2382
|
export interface DashboardsDeleteWidgetParams {
|
|
2563
2383
|
widgetId: string;
|
|
2564
2384
|
}
|
|
2565
|
-
export interface
|
|
2385
|
+
export interface DashboardsDuplicateDashboardParams {
|
|
2386
|
+
dashboardId: string;
|
|
2387
|
+
}
|
|
2388
|
+
export interface DashboardsGetDashboardParams {
|
|
2566
2389
|
dashboardId: string;
|
|
2567
2390
|
}
|
|
2568
2391
|
export interface DashboardsGetWidgetFiltersParams {
|
|
@@ -2983,6 +2806,9 @@ export interface SortsUpdateSortParams {
|
|
|
2983
2806
|
sortId: string;
|
|
2984
2807
|
body: UpdateViewSortDto;
|
|
2985
2808
|
}
|
|
2809
|
+
export interface SourcesCatalogFromIntegrationParams {
|
|
2810
|
+
body: CatalogFromIntegrationDto;
|
|
2811
|
+
}
|
|
2986
2812
|
export interface SourcesCreateSourceParams {
|
|
2987
2813
|
body: CreateSourceDto;
|
|
2988
2814
|
}
|
|
@@ -2995,6 +2821,9 @@ export interface SourcesGetSourceParams {
|
|
|
2995
2821
|
export interface SourcesListSourcesParams {
|
|
2996
2822
|
query?: ListSourcesQueryDto;
|
|
2997
2823
|
}
|
|
2824
|
+
export interface SourcesSyncFromIntegrationParams {
|
|
2825
|
+
body: SyncFromIntegrationDto;
|
|
2826
|
+
}
|
|
2998
2827
|
export interface SourcesUpdateSourceParams {
|
|
2999
2828
|
id: string;
|
|
3000
2829
|
body: UpdateSourceDto;
|