@redonvn/redai-backend-api-sdk 0.5.35 → 0.5.36
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/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/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 +162 -350
- 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, DashboardMeta, 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, DashboardMeta, 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, TextWidgetConfig, 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;
|
|
@@ -773,19 +704,6 @@ export interface CreateWorkspaceNotificationEmailChannelDto {
|
|
|
773
704
|
isActive?: boolean;
|
|
774
705
|
isDefault?: boolean;
|
|
775
706
|
}
|
|
776
|
-
export type DashboardMeta = {
|
|
777
|
-
theme?: string;
|
|
778
|
-
layoutVersion?: number;
|
|
779
|
-
grid?: {
|
|
780
|
-
columns?: number;
|
|
781
|
-
rowHeight?: number;
|
|
782
|
-
margin?: number;
|
|
783
|
-
};
|
|
784
|
-
background?: {
|
|
785
|
-
color?: string;
|
|
786
|
-
imageUrl?: string;
|
|
787
|
-
};
|
|
788
|
-
};
|
|
789
707
|
export interface DashboardResponseDto {
|
|
790
708
|
id: string;
|
|
791
709
|
fkWorkspaceId: string | null;
|
|
@@ -803,12 +721,6 @@ export interface DashboardRuntimeResponseDto {
|
|
|
803
721
|
dashboard: DashboardResponseDto;
|
|
804
722
|
widgets: WidgetRuntimeResponseDto[];
|
|
805
723
|
}
|
|
806
|
-
export declare enum DashboardStatus {
|
|
807
|
-
ACTIVE = "active",
|
|
808
|
-
INACTIVE = "inactive",
|
|
809
|
-
DRAFT = "draft",
|
|
810
|
-
ARCHIVED = "archived"
|
|
811
|
-
}
|
|
812
724
|
export interface DuplicateBaseDto {
|
|
813
725
|
title?: string;
|
|
814
726
|
}
|
|
@@ -833,36 +745,127 @@ export interface ExportOptionsDto {
|
|
|
833
745
|
export interface ExportStartResponseDto {
|
|
834
746
|
jobId: string;
|
|
835
747
|
}
|
|
748
|
+
export interface ExternalCatalogCapabilitiesResponseDto {
|
|
749
|
+
provider: string;
|
|
750
|
+
supportsSchemas: boolean;
|
|
751
|
+
supportsViews: boolean;
|
|
752
|
+
supportsMaterializedViews: boolean;
|
|
753
|
+
supportsForeignKeys: boolean;
|
|
754
|
+
}
|
|
755
|
+
export interface ExternalCatalogColumnResponseDto {
|
|
756
|
+
name: string;
|
|
757
|
+
ordinalPosition: number;
|
|
758
|
+
nativeType: string;
|
|
759
|
+
externalDataType: ExternalDataType;
|
|
760
|
+
fieldType: string;
|
|
761
|
+
uiDataType: string;
|
|
762
|
+
dataType: string;
|
|
763
|
+
nullable: boolean;
|
|
764
|
+
defaultValue?: string | null;
|
|
765
|
+
isPrimary: boolean;
|
|
766
|
+
isUnique: boolean;
|
|
767
|
+
isAutoIncrement: boolean;
|
|
768
|
+
}
|
|
769
|
+
export interface ExternalCatalogForeignKeyResponseDto {
|
|
770
|
+
constraintName: string;
|
|
771
|
+
columnNames: string[];
|
|
772
|
+
referencedSchema: string;
|
|
773
|
+
referencedObjectName: string;
|
|
774
|
+
referencedColumnNames: string[];
|
|
775
|
+
onUpdate?: string | null;
|
|
776
|
+
onDelete?: string | null;
|
|
777
|
+
}
|
|
778
|
+
export interface ExternalCatalogObjectResponseDto {
|
|
779
|
+
schema: string;
|
|
780
|
+
name: string;
|
|
781
|
+
objectType: ExternalCatalogObjectTypeDto;
|
|
782
|
+
isReadonly: boolean;
|
|
783
|
+
columns: ExternalCatalogColumnResponseDto[];
|
|
784
|
+
primaryKey: string[];
|
|
785
|
+
foreignKeys: ExternalCatalogForeignKeyResponseDto[];
|
|
786
|
+
}
|
|
787
|
+
export declare enum ExternalCatalogObjectTypeDto {
|
|
788
|
+
TABLE = "table",
|
|
789
|
+
VIEW = "view"
|
|
790
|
+
}
|
|
791
|
+
export interface ExternalCatalogTableSelectionDto {
|
|
792
|
+
schema: string;
|
|
793
|
+
table: string;
|
|
794
|
+
objectType?: ExternalCatalogObjectTypeDto;
|
|
795
|
+
}
|
|
796
|
+
export interface ExternalSourceCatalogResponseDto {
|
|
797
|
+
sourcePreview: ExternalSourcePreviewDto;
|
|
798
|
+
schemas: string[];
|
|
799
|
+
objects: ExternalCatalogObjectResponseDto[];
|
|
800
|
+
capabilities: ExternalCatalogCapabilitiesResponseDto;
|
|
801
|
+
}
|
|
802
|
+
export interface ExternalSourcePreviewDto {
|
|
803
|
+
sourceId: string | null;
|
|
804
|
+
workspaceId: string;
|
|
805
|
+
baseId: string | null;
|
|
806
|
+
integrationId: string;
|
|
807
|
+
type: SourceType | null;
|
|
808
|
+
config: SourceConfig | null;
|
|
809
|
+
}
|
|
810
|
+
export interface ExternalSourceSyncResponseDto {
|
|
811
|
+
sourceId: string;
|
|
812
|
+
createdTables: string[];
|
|
813
|
+
updatedTables: string[];
|
|
814
|
+
staleTables: string[];
|
|
815
|
+
createdFields: string[];
|
|
816
|
+
updatedFields: string[];
|
|
817
|
+
staleFields: string[];
|
|
818
|
+
createdRelations: string[];
|
|
819
|
+
updatedRelations: string[];
|
|
820
|
+
skippedObjects: string[];
|
|
821
|
+
}
|
|
822
|
+
export type FieldMeta = {
|
|
823
|
+
placeholder?: string;
|
|
824
|
+
helpText?: string;
|
|
825
|
+
icon?: string;
|
|
826
|
+
color?: string;
|
|
827
|
+
display?: {
|
|
828
|
+
width?: number;
|
|
829
|
+
hidden?: boolean;
|
|
830
|
+
order?: number;
|
|
831
|
+
};
|
|
832
|
+
validation?: {
|
|
833
|
+
min?: number;
|
|
834
|
+
max?: number;
|
|
835
|
+
pattern?: string;
|
|
836
|
+
message?: string;
|
|
837
|
+
};
|
|
838
|
+
syncState?: 'active' | 'stale';
|
|
839
|
+
externalRelationManaged?: boolean;
|
|
840
|
+
externalRelationRole?: 'owner' | 'inverse';
|
|
841
|
+
externalForeignKeyConstraintName?: string;
|
|
842
|
+
externalForeignKeyColumnName?: string;
|
|
843
|
+
externalReferencedSchemaName?: string;
|
|
844
|
+
externalReferencedTableName?: string;
|
|
845
|
+
externalReferencedColumnName?: string;
|
|
846
|
+
relationAutoInverse?: boolean;
|
|
847
|
+
relationInverseOfFieldId?: string;
|
|
848
|
+
relationInverseType?: string;
|
|
849
|
+
relationPrimaryKeyName?: string;
|
|
850
|
+
systemKind?: string;
|
|
851
|
+
};
|
|
836
852
|
export type FieldRefWithTableDto = RelationFieldRefDto & {
|
|
837
853
|
tableClientKey?: string;
|
|
838
854
|
};
|
|
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;
|
|
855
|
+
export interface FilterResponseDto {
|
|
856
|
+
id: string;
|
|
857
|
+
viewId: string | null;
|
|
858
|
+
parentId: string | null;
|
|
859
|
+
fieldId: string | null;
|
|
860
|
+
operator: string | null;
|
|
861
|
+
comparisonSubOp: string | null;
|
|
862
|
+
value: JsonValue | null;
|
|
863
|
+
order: number | null;
|
|
864
|
+
isGroup: boolean | null;
|
|
865
|
+
createdAt: number | null;
|
|
866
|
+
updatedAt: number | null;
|
|
867
|
+
children?: FilterResponseDto[];
|
|
868
|
+
}
|
|
866
869
|
export interface FormViewConfigDto {
|
|
867
870
|
heading?: string | null;
|
|
868
871
|
subheading?: string | null;
|
|
@@ -878,13 +881,6 @@ export interface FormViewDetailResponseDto {
|
|
|
878
881
|
config: FormViewResponseDto;
|
|
879
882
|
columns: ViewColumnResponseDto[];
|
|
880
883
|
}
|
|
881
|
-
export type FormViewMeta = ViewMeta & {
|
|
882
|
-
theme?: string;
|
|
883
|
-
logoUrl?: string;
|
|
884
|
-
coverImageUrl?: string;
|
|
885
|
-
submitButtonLabel?: string;
|
|
886
|
-
showBranding?: boolean;
|
|
887
|
-
};
|
|
888
884
|
export interface FormViewResponseDto {
|
|
889
885
|
viewId: string;
|
|
890
886
|
workspaceId: string | null;
|
|
@@ -910,11 +906,6 @@ export interface GalleryViewDetailResponseDto {
|
|
|
910
906
|
config: GalleryViewResponseDto;
|
|
911
907
|
columns: ViewColumnResponseDto[];
|
|
912
908
|
}
|
|
913
|
-
export type GalleryViewMeta = ViewMeta & {
|
|
914
|
-
cardSize?: 'small' | 'medium' | 'large';
|
|
915
|
-
showCover?: boolean;
|
|
916
|
-
showEmptyCover?: boolean;
|
|
917
|
-
};
|
|
918
909
|
export interface GalleryViewResponseDto {
|
|
919
910
|
viewId: string;
|
|
920
911
|
workspaceId: string | null;
|
|
@@ -929,31 +920,10 @@ export interface GetUserUiPreferencesResponseDto {
|
|
|
929
920
|
raw: UserUiPreferencesRawDto;
|
|
930
921
|
resolved: UserUiPreferencesResolvedDto;
|
|
931
922
|
}
|
|
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
923
|
export interface GridViewConfigDto {
|
|
944
924
|
rowHeight?: GridRowHeight | null;
|
|
945
925
|
meta?: GridViewMeta;
|
|
946
926
|
}
|
|
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
927
|
export interface GridViewResponseDto {
|
|
958
928
|
viewId: string;
|
|
959
929
|
workspaceId: string | null;
|
|
@@ -1160,11 +1130,6 @@ export interface KanbanViewDetailResponseDto {
|
|
|
1160
1130
|
config: KanbanViewResponseDto;
|
|
1161
1131
|
columns: ViewColumnResponseDto[];
|
|
1162
1132
|
}
|
|
1163
|
-
export type KanbanViewMeta = ViewMeta & {
|
|
1164
|
-
laneOrder?: string[];
|
|
1165
|
-
showEmptyLanes?: boolean;
|
|
1166
|
-
cardFields?: string[];
|
|
1167
|
-
};
|
|
1168
1133
|
export interface KanbanViewResponseDto {
|
|
1169
1134
|
viewId: string;
|
|
1170
1135
|
workspaceId: string | null;
|
|
@@ -1176,10 +1141,6 @@ export interface KanbanViewResponseDto {
|
|
|
1176
1141
|
createdAt: number;
|
|
1177
1142
|
updatedAt: number | null;
|
|
1178
1143
|
}
|
|
1179
|
-
export type KanbanWidgetConfig = {
|
|
1180
|
-
query: WidgetQuerySpec;
|
|
1181
|
-
groupFieldId: string;
|
|
1182
|
-
};
|
|
1183
1144
|
export interface LimitOffsetQueryDto {
|
|
1184
1145
|
limit?: number;
|
|
1185
1146
|
offset?: number;
|
|
@@ -1256,11 +1217,6 @@ export interface ListViewsQueryDto {
|
|
|
1256
1217
|
includeConfig?: boolean;
|
|
1257
1218
|
includeColumns?: boolean;
|
|
1258
1219
|
}
|
|
1259
|
-
export type ListWidgetConfig = {
|
|
1260
|
-
query: WidgetQuerySpec;
|
|
1261
|
-
visibleFieldIds?: string[];
|
|
1262
|
-
pageSize?: number;
|
|
1263
|
-
};
|
|
1264
1220
|
export type ListWorkspaceInvitesQueryDto = PaginationQueryDto & {
|
|
1265
1221
|
status?: WorkspaceInviteStatus;
|
|
1266
1222
|
};
|
|
@@ -1277,11 +1233,6 @@ export interface LookupConfigWithRefsDto {
|
|
|
1277
1233
|
lookupFieldId?: string;
|
|
1278
1234
|
lookupFieldRef?: FieldRefWithTableDto;
|
|
1279
1235
|
}
|
|
1280
|
-
export declare enum MapProviderType {
|
|
1281
|
-
OSM = "osm",
|
|
1282
|
-
GOOGLE = "google",
|
|
1283
|
-
MAPBOX = "mapbox"
|
|
1284
|
-
}
|
|
1285
1236
|
export interface MapViewConfigDto {
|
|
1286
1237
|
geoDataFieldId?: string | null;
|
|
1287
1238
|
mapType?: MapProviderType | null;
|
|
@@ -1292,15 +1243,6 @@ export interface MapViewDetailResponseDto {
|
|
|
1292
1243
|
config: MapViewResponseDto;
|
|
1293
1244
|
columns: ViewColumnResponseDto[];
|
|
1294
1245
|
}
|
|
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
1246
|
export interface MapViewResponseDto {
|
|
1305
1247
|
viewId: string;
|
|
1306
1248
|
workspaceId: string | null;
|
|
@@ -1313,26 +1255,11 @@ export interface MapViewResponseDto {
|
|
|
1313
1255
|
createdAt: number;
|
|
1314
1256
|
updatedAt: number | null;
|
|
1315
1257
|
}
|
|
1316
|
-
export type MapWidgetConfig = {
|
|
1317
|
-
query: WidgetQuerySpec;
|
|
1318
|
-
latitudeFieldId?: string;
|
|
1319
|
-
longitudeFieldId?: string;
|
|
1320
|
-
geoFieldId?: string;
|
|
1321
|
-
};
|
|
1322
1258
|
export declare enum MembershipScope {
|
|
1323
1259
|
WORKSPACE = "workspace",
|
|
1324
1260
|
BASE = "base",
|
|
1325
1261
|
TEAM = "team"
|
|
1326
1262
|
}
|
|
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
1263
|
export interface PagedResponse<T> {
|
|
1337
1264
|
list: T[];
|
|
1338
1265
|
pageInfo: PageInfo;
|
|
@@ -1621,10 +1548,6 @@ export interface ScheduledHookResponseDto {
|
|
|
1621
1548
|
export interface SecureAttachmentTokenDto {
|
|
1622
1549
|
ttlSeconds?: number;
|
|
1623
1550
|
}
|
|
1624
|
-
export interface SlackIntegrationConfig {
|
|
1625
|
-
webhookUrl?: string;
|
|
1626
|
-
channelId?: string;
|
|
1627
|
-
}
|
|
1628
1551
|
export interface SortResponseDto {
|
|
1629
1552
|
id: string;
|
|
1630
1553
|
viewId: string;
|
|
@@ -1634,27 +1557,18 @@ export interface SortResponseDto {
|
|
|
1634
1557
|
createdAt: number | null;
|
|
1635
1558
|
updatedAt: number | null;
|
|
1636
1559
|
}
|
|
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
1560
|
export type SourceMeta = {
|
|
1651
1561
|
schema?: string;
|
|
1652
1562
|
version?: string;
|
|
1653
1563
|
driver?: string;
|
|
1654
1564
|
lastSyncedAt?: number;
|
|
1565
|
+
lastCatalogSyncAt?: number;
|
|
1655
1566
|
note?: string;
|
|
1656
1567
|
readOnlySchema?: boolean;
|
|
1657
1568
|
readOnlyData?: boolean;
|
|
1569
|
+
providerType?: string;
|
|
1570
|
+
catalogNamespaces?: string[];
|
|
1571
|
+
sourceFingerprint?: string;
|
|
1658
1572
|
};
|
|
1659
1573
|
export interface SourceResponseDto {
|
|
1660
1574
|
id: string;
|
|
@@ -1674,15 +1588,6 @@ export interface SourceResponseDto {
|
|
|
1674
1588
|
createdAt: number | null;
|
|
1675
1589
|
updatedAt: number | null;
|
|
1676
1590
|
}
|
|
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
1591
|
export interface StartExportDto {
|
|
1687
1592
|
viewId?: string;
|
|
1688
1593
|
exportAs: ExportFormatEnum;
|
|
@@ -1706,6 +1611,24 @@ export interface StartImportOptionsDto {
|
|
|
1706
1611
|
}
|
|
1707
1612
|
export type SupportedPermissionResourceType = (typeof PERMISSION_RESOURCE_TYPES)[number];
|
|
1708
1613
|
export type SupportedPermissionSubjectType = (typeof PERMISSION_SUBJECT_TYPES)[number];
|
|
1614
|
+
export type SyncFromIntegrationDto = CatalogFromIntegrationDto & {
|
|
1615
|
+
tables?: ExternalCatalogTableSelectionDto[];
|
|
1616
|
+
syncRelations?: boolean;
|
|
1617
|
+
};
|
|
1618
|
+
export type TableMeta = {
|
|
1619
|
+
icon?: string;
|
|
1620
|
+
color?: string;
|
|
1621
|
+
coverImage?: string;
|
|
1622
|
+
tags?: string[];
|
|
1623
|
+
primaryFieldId?: string;
|
|
1624
|
+
displayFieldId?: string;
|
|
1625
|
+
isTemplate?: boolean;
|
|
1626
|
+
externalObjectType?: 'table' | 'view';
|
|
1627
|
+
externalCatalogName?: string;
|
|
1628
|
+
isReadonly?: boolean;
|
|
1629
|
+
syncState?: 'active' | 'stale';
|
|
1630
|
+
sourceFingerprint?: string;
|
|
1631
|
+
};
|
|
1709
1632
|
export type TableRecord = Record<string, JsonValue> & {
|
|
1710
1633
|
id?: string | number;
|
|
1711
1634
|
};
|
|
@@ -1716,11 +1639,6 @@ export interface TableRefDto {
|
|
|
1716
1639
|
tableId?: string;
|
|
1717
1640
|
tableClientKey?: string;
|
|
1718
1641
|
}
|
|
1719
|
-
export type TableWidgetConfig = {
|
|
1720
|
-
query: WidgetQuerySpec;
|
|
1721
|
-
visibleFieldIds?: string[];
|
|
1722
|
-
pageSize?: number;
|
|
1723
|
-
};
|
|
1724
1642
|
export interface TestHookDto {
|
|
1725
1643
|
hook: CreateHookDto;
|
|
1726
1644
|
kind?: HookFullRequestKind;
|
|
@@ -1735,10 +1653,6 @@ export interface TestWorkspaceNotificationEmailChannelDto {
|
|
|
1735
1653
|
recipientEmail: string;
|
|
1736
1654
|
subject?: string;
|
|
1737
1655
|
}
|
|
1738
|
-
export type TextWidgetConfig = {
|
|
1739
|
-
content: string;
|
|
1740
|
-
format: 'plain' | 'markdown';
|
|
1741
|
-
};
|
|
1742
1656
|
export type TokenPermissions = {
|
|
1743
1657
|
actions?: PermissionAction[];
|
|
1744
1658
|
scopes?: string[];
|
|
@@ -1868,25 +1782,10 @@ export interface ViewColumnResponseDto {
|
|
|
1868
1782
|
updatedAt: number | null;
|
|
1869
1783
|
}
|
|
1870
1784
|
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
1785
|
export interface WarmupCacheDto {
|
|
1878
1786
|
tableIds?: string[];
|
|
1879
1787
|
ttlSeconds?: number;
|
|
1880
1788
|
}
|
|
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
1789
|
export interface WidgetFilterNodeDto {
|
|
1891
1790
|
fieldId?: string | null;
|
|
1892
1791
|
comparisonOp?: FilterComparisonOp | null;
|
|
@@ -1897,22 +1796,6 @@ export interface WidgetFilterNodeDto {
|
|
|
1897
1796
|
order?: number | null;
|
|
1898
1797
|
children?: WidgetFilterNodeDto[];
|
|
1899
1798
|
}
|
|
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
1799
|
export interface WidgetResponseDto {
|
|
1917
1800
|
id: string;
|
|
1918
1801
|
fkWorkspaceId: string | null;
|
|
@@ -1951,10 +1834,6 @@ export interface WidgetRuntimeResponseDto {
|
|
|
1951
1834
|
resolvedQuery: WidgetRuntimeResolvedQueryResponseDto;
|
|
1952
1835
|
data: Record<string, unknown>;
|
|
1953
1836
|
}
|
|
1954
|
-
export type WidgetSortSpec = {
|
|
1955
|
-
fieldId: string;
|
|
1956
|
-
direction: 'asc' | 'desc';
|
|
1957
|
-
};
|
|
1958
1837
|
export declare enum WidgetType {
|
|
1959
1838
|
CHART = "chart",
|
|
1960
1839
|
METRIC = "metric",
|
|
@@ -2120,67 +1999,30 @@ export interface WorkspaceResponseDto {
|
|
|
2120
1999
|
ownerId: number;
|
|
2121
2000
|
createdAt: number;
|
|
2122
2001
|
}
|
|
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
2002
|
export declare const PERMISSION_RESOURCE_TYPES: readonly unknown[];
|
|
2146
2003
|
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
2004
|
export type APIS_CREATED = unknown;
|
|
2151
|
-
export type APPEND = unknown;
|
|
2152
|
-
export type APPROVED = unknown;
|
|
2153
|
-
export type AREA = unknown;
|
|
2154
2005
|
export type ATTACHMENT_UPLOAD = unknown;
|
|
2155
|
-
export type BAR = unknown;
|
|
2156
2006
|
export type BASE_DUPLICATE_COMPLETE = unknown;
|
|
2157
2007
|
export type BASE_DUPLICATE_FAIL = unknown;
|
|
2158
2008
|
export type BASE_DUPLICATE_START = unknown;
|
|
2159
|
-
export type BUBBLE = unknown;
|
|
2160
2009
|
export type CANCELED = unknown;
|
|
2161
|
-
export type CHART = unknown;
|
|
2162
2010
|
export type COLUMN_CREATE = unknown;
|
|
2163
2011
|
export type COLUMN_DELETE = unknown;
|
|
2164
2012
|
export type COLUMN_DUPLICATE_COMPLETE = unknown;
|
|
2165
2013
|
export type COLUMN_DUPLICATE_FAIL = unknown;
|
|
2166
2014
|
export type COLUMN_DUPLICATE_START = unknown;
|
|
2167
2015
|
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
2016
|
export type DASHBOARD_DUPLICATE_COMPLETE = unknown;
|
|
2173
2017
|
export type DASHBOARD_DUPLICATE_FAIL = unknown;
|
|
2174
2018
|
export type DASHBOARD_DUPLICATE_START = unknown;
|
|
2175
2019
|
export type DATA_MUTATION = unknown;
|
|
2176
2020
|
export type DEV = unknown;
|
|
2177
|
-
export type DONUT = unknown;
|
|
2178
2021
|
export type EXPIRED = unknown;
|
|
2179
2022
|
export type EXTENSION_CREATE = unknown;
|
|
2180
2023
|
export type EXTENSION_DELETE = unknown;
|
|
2181
2024
|
export type EXTENSION_UPDATE = unknown;
|
|
2182
2025
|
export type EXTERNAL = unknown;
|
|
2183
|
-
export type EXTRA = unknown;
|
|
2184
2026
|
export type FILTER_CREATE = unknown;
|
|
2185
2027
|
export type FILTER_DELETE = unknown;
|
|
2186
2028
|
export type FILTER_UPDATE = unknown;
|
|
@@ -2189,67 +2031,44 @@ export type FORM_CREATE = unknown;
|
|
|
2189
2031
|
export type FORM_DELETE = unknown;
|
|
2190
2032
|
export type FORM_DUPLICATE = unknown;
|
|
2191
2033
|
export type FORM_UPDATE = unknown;
|
|
2192
|
-
export type FUNNEL = unknown;
|
|
2193
2034
|
export type GALLERY_CREATE = unknown;
|
|
2194
2035
|
export type GALLERY_DELETE = unknown;
|
|
2195
2036
|
export type GALLERY_DUPLICATE = unknown;
|
|
2196
2037
|
export type GALLERY_UPDATE = unknown;
|
|
2197
|
-
export type GOOGLE = unknown;
|
|
2198
2038
|
export type GRID_COLUMN_UPDATE = unknown;
|
|
2199
2039
|
export type GRID_CREATE = unknown;
|
|
2200
2040
|
export type GRID_DELETE = unknown;
|
|
2201
2041
|
export type GRID_DUPLICATE = unknown;
|
|
2202
2042
|
export type GRID_UPDATE = unknown;
|
|
2203
|
-
export type HEATMAP = unknown;
|
|
2204
2043
|
export type IMAGE_UPLOAD = unknown;
|
|
2205
2044
|
export type KANBAN_CREATE = unknown;
|
|
2206
2045
|
export type KANBAN_DELETE = unknown;
|
|
2207
2046
|
export type KANBAN_DUPLICATE = unknown;
|
|
2208
2047
|
export type KANBAN_UPDATE = unknown;
|
|
2209
2048
|
export type KNOWLEDGE_FILE = unknown;
|
|
2210
|
-
export type LEFT = unknown;
|
|
2211
|
-
export type LINE = unknown;
|
|
2212
|
-
export type LIST = unknown;
|
|
2213
2049
|
export type MAP_CREATE = unknown;
|
|
2214
2050
|
export type MAP_DELETE = unknown;
|
|
2215
2051
|
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
2052
|
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
2053
|
export type ORG_API_TOKEN_CREATE = unknown;
|
|
2227
2054
|
export type ORG_API_TOKEN_DELETE = unknown;
|
|
2228
2055
|
export type ORG_API_TOKEN_UPDATE = unknown;
|
|
2229
2056
|
export type ORG_USER_INVITE = unknown;
|
|
2230
2057
|
export type ORG_USER_RESEND_INVITE = unknown;
|
|
2231
|
-
export type OSM = unknown;
|
|
2232
|
-
export type PIE = unknown;
|
|
2233
2058
|
export type PLUGIN_INSTALL = unknown;
|
|
2234
2059
|
export type PLUGIN_TEST = unknown;
|
|
2235
2060
|
export type PLUGIN_UNINSTALL = unknown;
|
|
2236
|
-
export type POLAR_AREA = unknown;
|
|
2237
|
-
export type POSTGRESQL = unknown;
|
|
2238
2061
|
export type PROD = unknown;
|
|
2239
2062
|
export type PROJECT_CLONE = unknown;
|
|
2240
2063
|
export type PROJECT_INVITE = unknown;
|
|
2241
2064
|
export type PROJECT_USER_DELETE = unknown;
|
|
2242
2065
|
export type PROJECT_USER_RESEND_INVITE = unknown;
|
|
2243
2066
|
export type PROJECT_USER_UPDATE = unknown;
|
|
2244
|
-
export type RADAR = unknown;
|
|
2245
2067
|
export type REJECTED = unknown;
|
|
2246
2068
|
export type RELATION_CREATE = unknown;
|
|
2247
2069
|
export type RELATION_DELETE = unknown;
|
|
2248
2070
|
export type REVOKED = unknown;
|
|
2249
|
-
export type RIGHT = unknown;
|
|
2250
2071
|
export type ROW_USER_MENTION = unknown;
|
|
2251
|
-
export type RUNNING = unknown;
|
|
2252
|
-
export type SCATTER = unknown;
|
|
2253
2072
|
export type SCHEDULED_HOOK = unknown;
|
|
2254
2073
|
export type SCRIPT = unknown;
|
|
2255
2074
|
export type SCRIPT_CREATE = unknown;
|
|
@@ -2265,31 +2084,22 @@ export type SHARED_DASHBOARD_UPDATE_LINK = unknown;
|
|
|
2265
2084
|
export type SHARED_VIEW_CREATE = unknown;
|
|
2266
2085
|
export type SHARED_VIEW_DELETE = unknown;
|
|
2267
2086
|
export type SHARED_VIEW_UPDATE = unknown;
|
|
2268
|
-
export type SHORT = unknown;
|
|
2269
2087
|
export type SNAPSHOT_CREATE = unknown;
|
|
2270
2088
|
export type SNAPSHOT_DELETE = unknown;
|
|
2271
2089
|
export type SNAPSHOT_RESTORE = unknown;
|
|
2272
2090
|
export type SORT_CREATE = unknown;
|
|
2273
2091
|
export type SORT_DELETE = unknown;
|
|
2274
2092
|
export type SORT_UPDATE = unknown;
|
|
2275
|
-
export type SQLITE = unknown;
|
|
2276
|
-
export type STACKED_AREA = unknown;
|
|
2277
|
-
export type STACKED_BAR = unknown;
|
|
2278
2093
|
export type STAGING = unknown;
|
|
2279
|
-
export type SUCCESS = unknown;
|
|
2280
2094
|
export type SYNC_SOURCE_CREATE = unknown;
|
|
2281
2095
|
export type SYNC_SOURCE_DELETE = unknown;
|
|
2282
2096
|
export type SYNC_SOURCE_UPDATE = unknown;
|
|
2283
2097
|
export type TABLE_DUPLICATE_COMPLETE = unknown;
|
|
2284
2098
|
export type TABLE_DUPLICATE_FAIL = unknown;
|
|
2285
2099
|
export type TABLE_DUPLICATE_START = unknown;
|
|
2286
|
-
export type TALL = unknown;
|
|
2287
2100
|
export type TEAM = unknown;
|
|
2288
|
-
export type TIKTOK = unknown;
|
|
2289
|
-
export type TREEMAP = unknown;
|
|
2290
2101
|
export type UI_ACL = unknown;
|
|
2291
2102
|
export type UI_ACL_UPDATE = unknown;
|
|
2292
|
-
export type USER_DELETE = unknown;
|
|
2293
2103
|
export type USER_EMAIL_VERIFICATION = unknown;
|
|
2294
2104
|
export type USER_INVITE = unknown;
|
|
2295
2105
|
export type USER_PASSWORD_CHANGE = unknown;
|
|
@@ -2299,17 +2109,14 @@ export type USER_PROFILE_UPDATE = unknown;
|
|
|
2299
2109
|
export type USER_SIGNIN = unknown;
|
|
2300
2110
|
export type USER_SIGNOUT = unknown;
|
|
2301
2111
|
export type USER_SIGNUP = unknown;
|
|
2302
|
-
export type USER_UPDATE = unknown;
|
|
2303
2112
|
export type V1 = unknown;
|
|
2304
2113
|
export type V2 = unknown;
|
|
2305
2114
|
export type V3 = unknown;
|
|
2306
|
-
export type VERTEX_AI = unknown;
|
|
2307
2115
|
export type VIEW_COLUMN_CREATE = unknown;
|
|
2308
2116
|
export type VIEW_COLUMN_UPDATE = unknown;
|
|
2309
2117
|
export type VIEW_DUPLICATE_COMPLETE = unknown;
|
|
2310
2118
|
export type VIEW_DUPLICATE_FAIL = unknown;
|
|
2311
2119
|
export type VIEW_DUPLICATE_START = unknown;
|
|
2312
|
-
export type WEBHOOK = unknown;
|
|
2313
2120
|
export type WEBHOOK_CREATE = unknown;
|
|
2314
2121
|
export type WEBHOOK_DELETE = unknown;
|
|
2315
2122
|
export type WEBHOOK_TEST = unknown;
|
|
@@ -2327,7 +2134,6 @@ export type WORKSPACE_UPGRADE_REQUEST = unknown;
|
|
|
2327
2134
|
export type WORKSPACE_USER_DELETE = unknown;
|
|
2328
2135
|
export type WORKSPACE_USER_INVITE = unknown;
|
|
2329
2136
|
export type WORKSPACE_USER_UPDATE = unknown;
|
|
2330
|
-
export type XLSX = unknown;
|
|
2331
2137
|
export interface AclCreateAclEntryParams {
|
|
2332
2138
|
body: CreateAclEntryDto;
|
|
2333
2139
|
}
|
|
@@ -2345,22 +2151,22 @@ export interface AclUpdateAclEntryParams {
|
|
|
2345
2151
|
body: UpdateAclEntryDto;
|
|
2346
2152
|
}
|
|
2347
2153
|
export interface ApiDocsOpenApiJsonParams {
|
|
2348
|
-
|
|
2154
|
+
query?: string;
|
|
2349
2155
|
}
|
|
2350
2156
|
export interface ApiDocsRedocParams {
|
|
2351
|
-
|
|
2157
|
+
query?: string;
|
|
2352
2158
|
}
|
|
2353
2159
|
export interface ApiDocsSwaggerParams {
|
|
2354
|
-
|
|
2160
|
+
query?: string;
|
|
2355
2161
|
}
|
|
2356
2162
|
export interface ApiDocsV3OpenApiJsonParams {
|
|
2357
|
-
|
|
2163
|
+
query?: string;
|
|
2358
2164
|
}
|
|
2359
2165
|
export interface ApiDocsV3RedocParams {
|
|
2360
|
-
|
|
2166
|
+
query?: string;
|
|
2361
2167
|
}
|
|
2362
2168
|
export interface ApiDocsV3SwaggerParams {
|
|
2363
|
-
|
|
2169
|
+
query?: string;
|
|
2364
2170
|
}
|
|
2365
2171
|
export interface ApiTokensCreateApiTokenParams {
|
|
2366
2172
|
body: CreateApiTokenDto;
|
|
@@ -2983,6 +2789,9 @@ export interface SortsUpdateSortParams {
|
|
|
2983
2789
|
sortId: string;
|
|
2984
2790
|
body: UpdateViewSortDto;
|
|
2985
2791
|
}
|
|
2792
|
+
export interface SourcesCatalogFromIntegrationParams {
|
|
2793
|
+
body: CatalogFromIntegrationDto;
|
|
2794
|
+
}
|
|
2986
2795
|
export interface SourcesCreateSourceParams {
|
|
2987
2796
|
body: CreateSourceDto;
|
|
2988
2797
|
}
|
|
@@ -2995,6 +2804,9 @@ export interface SourcesGetSourceParams {
|
|
|
2995
2804
|
export interface SourcesListSourcesParams {
|
|
2996
2805
|
query?: ListSourcesQueryDto;
|
|
2997
2806
|
}
|
|
2807
|
+
export interface SourcesSyncFromIntegrationParams {
|
|
2808
|
+
body: SyncFromIntegrationDto;
|
|
2809
|
+
}
|
|
2998
2810
|
export interface SourcesUpdateSourceParams {
|
|
2999
2811
|
id: string;
|
|
3000
2812
|
body: UpdateSourceDto;
|