@redonvn/redai-backend-api-sdk 0.5.53 → 0.5.55
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/ask-ai/types.js +0 -2
- package/dist/cjs/generated/ask-ai/types.js.map +1 -1
- package/dist/cjs/generated/dynamic-table/services/dashboards.service.js +180 -0
- package/dist/cjs/generated/dynamic-table/services/dashboards.service.js.map +1 -1
- package/dist/cjs/generated/dynamic-table/types.js +14 -2
- package/dist/cjs/generated/dynamic-table/types.js.map +1 -1
- package/dist/cjs/generated/index.js +29 -30
- package/dist/cjs/generated/index.js.map +1 -1
- package/dist/cjs/generated/shared-types.js.map +1 -1
- package/dist/esm/generated/ask-ai/types.d.ts +15 -7
- package/dist/esm/generated/ask-ai/types.d.ts.map +1 -1
- package/dist/esm/generated/ask-ai/types.js +0 -2
- package/dist/esm/generated/ask-ai/types.js.map +1 -1
- package/dist/esm/generated/dynamic-table/services/dashboards.service.d.ts +21 -1
- package/dist/esm/generated/dynamic-table/services/dashboards.service.d.ts.map +1 -1
- package/dist/esm/generated/dynamic-table/services/dashboards.service.js +180 -0
- package/dist/esm/generated/dynamic-table/services/dashboards.service.js.map +1 -1
- package/dist/esm/generated/dynamic-table/types.d.ts +203 -21
- package/dist/esm/generated/dynamic-table/types.d.ts.map +1 -1
- package/dist/esm/generated/dynamic-table/types.js +14 -1
- package/dist/esm/generated/dynamic-table/types.js.map +1 -1
- package/dist/esm/generated/index.d.ts +2 -3
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/generated/index.js +1 -2
- package/dist/esm/generated/index.js.map +1 -1
- package/dist/esm/generated/shared-types.d.ts +288 -41
- package/dist/esm/generated/shared-types.d.ts.map +1 -1
- package/dist/esm/generated/shared-types.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 { BaseMeta, BulkDataListDto, BulkGroupDto, CalendarViewMeta, CalendarWidgetConfigDto, ChartWidgetConfigDto, CreateColumnDto, CreateTableFieldDto, FilterPayload, FilterResponseDto, FormViewMeta, GalleryViewMeta, GridViewMeta, IframeWidgetConfigDto, JsonValue, KanbanViewMeta, KanbanWidgetConfigDto, LimitOffsetQueryDto, ListWidgetConfigDto, MapViewMeta, MapWidgetConfigDto, MetricWidgetConfigDto, PagedResponse, RecordAggregateQueryDto, RecordListQueryDto, RedaiViewWidgetConfigDto, RelationFieldRefDto, SourceConfig, SourceMeta, TableMeta, TableSettings, TableWidgetConfigDto, TextWidgetConfigDto, 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
|
|
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, CalendarWidgetConfigDto, CASCADE, CategoricalChartBucketDto, CategoricalChartRuntimeDto, CENTER, CHAR, CHART, ChartDisplaySpecDto, ChartMeasureSpecDto, ChartPointsSpecDto, ChartRuntimeDisplayDto, ChartRuntimeGroupValueDto, ChartRuntimePointDto, ChartRuntimeSeriesDto, ChartSeriesConfigSpecDto, ChartSeriesLayout, ChartSortBy, ChartSortOrder, ChartTimeBucket, ChartWidgetConfigDto, ChartXAxisSpecDto, ChartYAxisSpecDto, 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, IFRAME, IframeWidgetConfigDto, IframeWidgetProvider, IframeWidgetRuntimeDto, IMAGE, INACTIVE, INET, INT, INTEGER, INTEGRATION_CREATE, INTEGRATION_DELETE, INTEGRATION_UPDATE, INTERVAL, IS, IS_NOT, IS_WITHIN, JSON,
|
|
4
|
-
export { BaseStatus, ChartType, DashboardStatus, ExternalDataType, FieldType, FilterComparisonOp, FilterComparisonSubOp, FilterLogicalOp, GridColumnAlign, GridRowHeight, MapProviderType, ModelType, ProviderEnum, ReferentialAction, RelationType, RollupFunction, RowColoringMode, SourceType, StorageMode, ViewLockType, ViewSortDirection, ViewType,
|
|
1
|
+
import type { AreaChartWidgetConfigDto, BarChartWidgetConfigDto, BaseMeta, BulkDataListDto, BulkGroupDto, CalendarViewMeta, CalendarWidgetConfigDto, ChartWidgetConfigDto, CreateColumnDto, CreateTableFieldDto, DonutChartWidgetConfigDto, FilterPayload, FilterResponseDto, FormViewMeta, GalleryViewMeta, GridViewMeta, IframeWidgetConfigDto, JsonValue, KanbanViewMeta, KanbanWidgetConfigDto, LimitOffsetQueryDto, LineChartWidgetConfigDto, ListWidgetConfigDto, MapViewMeta, MapWidgetConfigDto, MetricWidgetConfigDto, PagedResponse, PieChartWidgetConfigDto, RadarChartWidgetConfigDto, RecordAggregateQueryDto, RecordListQueryDto, RedaiViewWidgetConfigDto, RelationFieldRefDto, SourceConfig, SourceMeta, TableMeta, TableSettings, TableWidgetConfigDto, TextWidgetConfigDto, ViewMeta, WorkspaceRoleCode, WorkspaceSettings } from '../shared-types';
|
|
2
|
+
import { BaseStatus, ChartType, DashboardStatus, ExternalDataType, FieldType, FilterComparisonOp, FilterComparisonSubOp, FilterLogicalOp, GridColumnAlign, GridRowHeight, MapProviderType, ModelType, ProviderEnum, ReferentialAction, RelationType, RollupFunction, RowColoringMode, SourceType, StorageMode, ViewLockType, ViewSortDirection, ViewType } from '../shared-types';
|
|
3
|
+
export type { ACB_BANK, ACCEPTED, ACTION, ACTIVE, AGENT_DESKTOP_SDK_EXE, AGRIBANK_BANK, AHAMOVE, AI, ALIBABA_CODING_PLAN, ALL_OF, AND, ANTHROPIC, ANY_OF, API_TOKEN_CREATE, API_TOKEN_DELETE, API_TOKEN_UPDATE, ApiResponseDto, APPEND, APPROVED, ARCHIVED, AREA, AreaChartWidgetConfigDto, ARRAY, ASC, ATTACHMENT, AUTONUMBER, AVG, AVG_DISTINCT, AZURE_AI, BAR, BarChartWidgetConfigDto, 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, CalendarWidgetConfigDto, CASCADE, CategoricalChartBucketDto, CategoricalChartRuntimeDto, CENTER, CHAR, CHART, ChartDisplaySpecDto, ChartMeasureSpecDto, ChartPointsSpecDto, ChartRuntimeDisplayDto, ChartRuntimeGroupValueDto, ChartRuntimePointDto, ChartRuntimeSeriesDto, ChartSeriesConfigSpecDto, ChartSeriesLayout, ChartSortBy, ChartSortOrder, ChartTimeBucket, ChartWidgetConfigDto, ChartXAxisSpecDto, ChartYAxisSpecDto, 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, DonutChartWidgetConfigDto, 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, GroupedChartWidgetConfigBaseDto, GroupFieldDto, GT, GTE, HAS_MANY, HDB_BANK, HEATMAP, HeatmapCellDto, HeatmapChartRuntimeDto, HSTORE, IFRAME, IframeWidgetConfigDto, IframeWidgetProvider, IframeWidgetRuntimeDto, IMAGE, INACTIVE, INET, INT, INTEGER, INTEGRATION_CREATE, INTEGRATION_DELETE, INTEGRATION_UPDATE, INTERVAL, IS, IS_NOT, IS_WITHIN, JSON, JSONB, JsonPrimitive, JsonValue, KANBAN, KanbanViewMeta, KanbanWidgetConfigDto, KL_BANK, LEFT, LIKE, LimitOffsetQueryDto, LINE, LineChartWidgetConfigDto, LINK_TO_ANOTHER_RECORD, LINKS, LIST, ListWidgetConfigDto, LLM_CUSTOM, LOCKED, LONG_TEXT, LONGTEXT, LOOKUP, LookupConfigDto, LookupConfigResponseDto, LT, LTE, MACADDR, MANY_TO_MANY, MAP, MAPBOX, MapViewMeta, MapWidgetConfigDto, MARIADB, MAX, MB_BANK, MEDIA, MEDIUM, MEDIUMINT, MEDIUMTEXT, METRIC, MetricWidgetColor, MetricWidgetColorMode, MetricWidgetConfigDto, MetricWidgetMode, MetricWidgetRuntimeDto, MetricWidgetSummaryType, 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, PieChartWidgetConfigDto, POINT, POLAR_AREA, POST, POSTGRESQL, PROJECT_CREATE, PROJECT_DELETE, PROJECT_UPDATE, PROXY, PUT, QR_CODE, RADAR, RadarChartRuntimeDto, RadarChartWidgetConfigDto, RadarConfigSpecDto, RadarCriterionDto, RadarCriterionSpecDto, RadarObjectSortBy, RadarObjectSpecDto, RadarRuntimePointDto, RadarRuntimeSeriesDto, RATING, READ, REAL, RecordAggregateQueryDto, RecordListQueryDto, REDAI, REDAI_EXTENSION, REDAI_LLM, REDAI_VIEW, RedaiViewWidgetConfigDto, RedaiViewWidgetRuntimeDto, 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, TableWidgetConfigDto, TALL, TCB_BANK, TELEGRAM, TELEGRAM_BOT, TEST, TEXT, TextWidgetConfigDto, TextWidgetResolvedVariableDto, TextWidgetRuntimeDto, TextWidgetVariableBindingDto, TextWidgetVariableOutputDto, 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, WidgetAggregationSpecDto, WidgetDatePreset, WidgetQuerySpecDto, WidgetResponseDto, WidgetRuntimeResolvedQueryResponseDto, WidgetRuntimeResponseDto, WORKFLOW, WorkspaceRoleCode, WorkspaceSettings, WorkspaceSystemRoleCode, XAI, XLSX, XML, YEAR, YESTERDAY, ZALO_BOT, ZALO_OA, ZALO_PERSONAL } from '../shared-types';
|
|
4
|
+
export { BaseStatus, ChartType, DashboardStatus, ExternalDataType, FieldType, FilterComparisonOp, FilterComparisonSubOp, FilterLogicalOp, GridColumnAlign, GridRowHeight, MapProviderType, ModelType, ProviderEnum, ReferentialAction, RelationType, RollupFunction, RowColoringMode, SourceType, StorageMode, ViewLockType, ViewSortDirection, ViewType, WORKSPACE, WORKSPACE_SYSTEM_ROLE_CODE } from '../shared-types';
|
|
5
5
|
export interface AcceptWorkspaceInviteDto {
|
|
6
6
|
token: string;
|
|
7
7
|
}
|
|
@@ -331,7 +331,7 @@ export interface CatalogFromIntegrationDto {
|
|
|
331
331
|
export interface ChartTypeInfoDto {
|
|
332
332
|
type: ChartType;
|
|
333
333
|
label: string;
|
|
334
|
-
family: 'grouped' | 'radial' | 'scatter' | 'heatmap' | 'treemap' | 'funnel';
|
|
334
|
+
family: 'grouped' | 'radial' | 'radar' | 'scatter' | 'heatmap' | 'treemap' | 'funnel';
|
|
335
335
|
supportsMultipleSeries: boolean;
|
|
336
336
|
supportsGrouping: boolean;
|
|
337
337
|
supportsTimeBucket: boolean;
|
|
@@ -447,6 +447,14 @@ export interface CreateApiTokenDto {
|
|
|
447
447
|
permissions?: ApiTokenPermissions | null;
|
|
448
448
|
expiryAt?: string | null;
|
|
449
449
|
}
|
|
450
|
+
export type CreateAreaChartWidgetDto = WidgetMutationFieldsDto & {
|
|
451
|
+
type: 'chart';
|
|
452
|
+
config: AreaChartWidgetConfigDto;
|
|
453
|
+
};
|
|
454
|
+
export type CreateBarChartWidgetDto = WidgetMutationFieldsDto & {
|
|
455
|
+
type: 'chart';
|
|
456
|
+
config: BarChartWidgetConfigDto;
|
|
457
|
+
};
|
|
450
458
|
export interface CreateBaseDto {
|
|
451
459
|
title: string;
|
|
452
460
|
prefix?: string | null;
|
|
@@ -487,6 +495,10 @@ export interface CreateDashboardDto {
|
|
|
487
495
|
[key: string]: unknown;
|
|
488
496
|
};
|
|
489
497
|
}
|
|
498
|
+
export type CreateDonutChartWidgetDto = WidgetMutationFieldsDto & {
|
|
499
|
+
type: 'chart';
|
|
500
|
+
config: DonutChartWidgetConfigDto;
|
|
501
|
+
};
|
|
490
502
|
export type CreateFormViewDto = CreateViewDto & {
|
|
491
503
|
heading?: string | null;
|
|
492
504
|
subheading?: string | null;
|
|
@@ -548,15 +560,27 @@ export interface CreateHookFullResponseDto {
|
|
|
548
560
|
scheduledHookCreated?: boolean;
|
|
549
561
|
};
|
|
550
562
|
}
|
|
563
|
+
export type CreateIframeWidgetByTypeDto = WidgetMutationFieldsDto & {
|
|
564
|
+
type: 'iframe';
|
|
565
|
+
config: IframeWidgetConfigDto;
|
|
566
|
+
};
|
|
551
567
|
export type CreateKanbanViewDto = CreateViewDto & {
|
|
552
568
|
groupFieldId?: string | null;
|
|
553
569
|
coverImageFieldId?: string | null;
|
|
554
570
|
};
|
|
571
|
+
export type CreateLineChartWidgetDto = WidgetMutationFieldsDto & {
|
|
572
|
+
type: 'chart';
|
|
573
|
+
config: LineChartWidgetConfigDto;
|
|
574
|
+
};
|
|
555
575
|
export type CreateMapViewDto = CreateViewDto & {
|
|
556
576
|
geoDataFieldId?: string | null;
|
|
557
577
|
mapType?: MapProviderType | null;
|
|
558
578
|
mapApiKey?: string | null;
|
|
559
579
|
};
|
|
580
|
+
export type CreateMetricWidgetByTypeDto = WidgetMutationFieldsDto & {
|
|
581
|
+
type: 'metric';
|
|
582
|
+
config: MetricWidgetConfigDto;
|
|
583
|
+
};
|
|
560
584
|
export interface CreatePermissionDto {
|
|
561
585
|
fkSubjectId: unknown;
|
|
562
586
|
subjectType: SupportedPermissionSubjectType;
|
|
@@ -575,16 +599,28 @@ export interface CreatePermissionSubjectDto {
|
|
|
575
599
|
} | null;
|
|
576
600
|
inheritsFrom?: unknown | null;
|
|
577
601
|
}
|
|
602
|
+
export type CreatePieChartWidgetDto = WidgetMutationFieldsDto & {
|
|
603
|
+
type: 'chart';
|
|
604
|
+
config: PieChartWidgetConfigDto;
|
|
605
|
+
};
|
|
578
606
|
export interface CreatePresignedUrlDto {
|
|
579
607
|
path: string;
|
|
580
608
|
ttlSeconds?: number;
|
|
581
609
|
integrationId?: string;
|
|
582
610
|
}
|
|
611
|
+
export type CreateRadarChartWidgetDto = WidgetMutationFieldsDto & {
|
|
612
|
+
type: 'chart';
|
|
613
|
+
config: RadarChartWidgetConfigDto;
|
|
614
|
+
};
|
|
583
615
|
export interface CreateRecordsPayloadDto {
|
|
584
616
|
payload: ({
|
|
585
617
|
[key: string]: unknown;
|
|
586
618
|
})[];
|
|
587
619
|
}
|
|
620
|
+
export type CreateRedaiViewWidgetByTypeDto = WidgetMutationFieldsDto & {
|
|
621
|
+
type: 'redai_view';
|
|
622
|
+
config: RedaiViewWidgetConfigDto;
|
|
623
|
+
};
|
|
588
624
|
export interface CreateRowColorConditionDto {
|
|
589
625
|
fieldId: string;
|
|
590
626
|
operator: string;
|
|
@@ -658,6 +694,10 @@ export interface CreateTableWithRefsDto {
|
|
|
658
694
|
settings?: TableSettings;
|
|
659
695
|
fields?: (CreateTableFieldWithRefsDto)[];
|
|
660
696
|
}
|
|
697
|
+
export type CreateTextWidgetByTypeDto = WidgetMutationFieldsDto & {
|
|
698
|
+
type: 'text';
|
|
699
|
+
config: TextWidgetConfigDto;
|
|
700
|
+
};
|
|
661
701
|
export interface CreateViewColumnDto {
|
|
662
702
|
fieldId: string;
|
|
663
703
|
show?: boolean;
|
|
@@ -704,22 +744,10 @@ export interface CreateViewSortDto {
|
|
|
704
744
|
order?: number | null;
|
|
705
745
|
pushToTop?: boolean;
|
|
706
746
|
}
|
|
707
|
-
export
|
|
708
|
-
title: string;
|
|
709
|
-
description?: string | null;
|
|
747
|
+
export type CreateWidgetDto = WidgetMutationFieldsDto & {
|
|
710
748
|
type: WidgetType;
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
config?: ChartWidgetConfigDto | IframeWidgetConfigDto | MetricWidgetConfigDto | TextWidgetConfigDto | RedaiViewWidgetConfigDto | TableWidgetConfigDto | ListWidgetConfigDto | CalendarWidgetConfigDto | KanbanWidgetConfigDto | MapWidgetConfigDto;
|
|
714
|
-
meta?: {
|
|
715
|
-
[key: string]: unknown;
|
|
716
|
-
};
|
|
717
|
-
row?: number | null;
|
|
718
|
-
col?: number | null;
|
|
719
|
-
sizeX?: number | null;
|
|
720
|
-
sizeY?: number | null;
|
|
721
|
-
order?: number | null;
|
|
722
|
-
}
|
|
749
|
+
config?: BarChartWidgetConfigDto | PieChartWidgetConfigDto | LineChartWidgetConfigDto | AreaChartWidgetConfigDto | DonutChartWidgetConfigDto | RadarChartWidgetConfigDto | IframeWidgetConfigDto | MetricWidgetConfigDto | TextWidgetConfigDto | RedaiViewWidgetConfigDto | TableWidgetConfigDto | ListWidgetConfigDto | CalendarWidgetConfigDto | KanbanWidgetConfigDto | MapWidgetConfigDto | ChartWidgetConfigDto;
|
|
750
|
+
};
|
|
723
751
|
export interface CreateWorkspaceDto {
|
|
724
752
|
name: string;
|
|
725
753
|
slug: string;
|
|
@@ -1101,6 +1129,10 @@ export declare enum JobStatus {
|
|
|
1101
1129
|
FAILED = "failed",
|
|
1102
1130
|
CANCELED = "canceled"
|
|
1103
1131
|
}
|
|
1132
|
+
export type JsonArray = JsonValue[];
|
|
1133
|
+
export type JsonObject = {
|
|
1134
|
+
[key: string]: JsonValue;
|
|
1135
|
+
};
|
|
1104
1136
|
export interface KanbanViewConfigDto {
|
|
1105
1137
|
groupFieldId?: string | null;
|
|
1106
1138
|
coverImageFieldId?: string | null;
|
|
@@ -1516,6 +1548,14 @@ export type UpdateAclEntryDto = Partial<CreateAclEntryDto>;
|
|
|
1516
1548
|
export type UpdateApiTokenDto = Partial<CreateApiTokenDto> & {
|
|
1517
1549
|
revoked?: boolean | null;
|
|
1518
1550
|
};
|
|
1551
|
+
export type UpdateAreaChartWidgetDto = UpdateWidgetMutationFieldsDto & {
|
|
1552
|
+
type?: 'chart';
|
|
1553
|
+
config?: AreaChartWidgetConfigDto;
|
|
1554
|
+
};
|
|
1555
|
+
export type UpdateBarChartWidgetDto = UpdateWidgetMutationFieldsDto & {
|
|
1556
|
+
type?: 'chart';
|
|
1557
|
+
config?: BarChartWidgetConfigDto;
|
|
1558
|
+
};
|
|
1519
1559
|
export type UpdateBaseDto = Partial<CreateBaseDto>;
|
|
1520
1560
|
export type UpdateBaseMemberDto = Partial<AddBaseMemberDto> & {
|
|
1521
1561
|
isActive?: boolean;
|
|
@@ -1528,17 +1568,45 @@ export interface UpdateCommentDto {
|
|
|
1528
1568
|
mentions?: (CommentMentionInputDto)[];
|
|
1529
1569
|
}
|
|
1530
1570
|
export type UpdateDashboardDto = Partial<CreateDashboardDto>;
|
|
1571
|
+
export type UpdateDonutChartWidgetDto = UpdateWidgetMutationFieldsDto & {
|
|
1572
|
+
type?: 'chart';
|
|
1573
|
+
config?: DonutChartWidgetConfigDto;
|
|
1574
|
+
};
|
|
1531
1575
|
export type UpdateFormViewDto = Partial<FormViewConfigDto>;
|
|
1532
1576
|
export type UpdateGalleryViewDto = Partial<GalleryViewConfigDto>;
|
|
1533
1577
|
export type UpdateGridViewDto = Partial<GridViewConfigDto>;
|
|
1534
1578
|
export type UpdateHookDto = Partial<CreateHookDto>;
|
|
1579
|
+
export type UpdateIframeWidgetByTypeDto = UpdateWidgetMutationFieldsDto & {
|
|
1580
|
+
type?: 'iframe';
|
|
1581
|
+
config?: IframeWidgetConfigDto;
|
|
1582
|
+
};
|
|
1535
1583
|
export type UpdateKanbanViewDto = Partial<KanbanViewConfigDto>;
|
|
1584
|
+
export type UpdateLineChartWidgetDto = UpdateWidgetMutationFieldsDto & {
|
|
1585
|
+
type?: 'chart';
|
|
1586
|
+
config?: LineChartWidgetConfigDto;
|
|
1587
|
+
};
|
|
1536
1588
|
export type UpdateMapViewDto = Partial<MapViewConfigDto>;
|
|
1589
|
+
export type UpdateMetricWidgetByTypeDto = UpdateWidgetMutationFieldsDto & {
|
|
1590
|
+
type?: 'metric';
|
|
1591
|
+
config?: MetricWidgetConfigDto;
|
|
1592
|
+
};
|
|
1537
1593
|
export type UpdatePermissionDto = Partial<CreatePermissionDto>;
|
|
1538
1594
|
export type UpdatePermissionSubjectDto = Partial<CreatePermissionSubjectDto>;
|
|
1595
|
+
export type UpdatePieChartWidgetDto = UpdateWidgetMutationFieldsDto & {
|
|
1596
|
+
type?: 'chart';
|
|
1597
|
+
config?: PieChartWidgetConfigDto;
|
|
1598
|
+
};
|
|
1599
|
+
export type UpdateRadarChartWidgetDto = UpdateWidgetMutationFieldsDto & {
|
|
1600
|
+
type?: 'chart';
|
|
1601
|
+
config?: RadarChartWidgetConfigDto;
|
|
1602
|
+
};
|
|
1539
1603
|
export interface UpdateRecordFieldDto {
|
|
1540
1604
|
value: JsonValue;
|
|
1541
1605
|
}
|
|
1606
|
+
export type UpdateRedaiViewWidgetByTypeDto = UpdateWidgetMutationFieldsDto & {
|
|
1607
|
+
type?: 'redai_view';
|
|
1608
|
+
config?: RedaiViewWidgetConfigDto;
|
|
1609
|
+
};
|
|
1542
1610
|
export type UpdateRowColorConditionDto = Partial<CreateRowColorConditionDto>;
|
|
1543
1611
|
export interface UpdateRowColorModeDto {
|
|
1544
1612
|
rowColoringMode: RowColoringMode;
|
|
@@ -1557,6 +1625,10 @@ export interface UpdateTableDto {
|
|
|
1557
1625
|
settings?: TableSettings;
|
|
1558
1626
|
}
|
|
1559
1627
|
export type UpdateTableFieldDto = Partial<CreateTableFieldDto>;
|
|
1628
|
+
export type UpdateTextWidgetByTypeDto = UpdateWidgetMutationFieldsDto & {
|
|
1629
|
+
type?: 'text';
|
|
1630
|
+
config?: TextWidgetConfigDto;
|
|
1631
|
+
};
|
|
1560
1632
|
export interface UpdateUserUiPreferencesDto {
|
|
1561
1633
|
defaultWorkspaceId?: unknown | null;
|
|
1562
1634
|
defaultBaseId?: unknown | null;
|
|
@@ -1568,13 +1640,17 @@ export type UpdateViewColumnItemDto = UpdateViewColumnDto & {
|
|
|
1568
1640
|
export type UpdateViewDto = Partial<CreateViewDto>;
|
|
1569
1641
|
export type UpdateViewFilterDto = Partial<CreateViewFilterDto>;
|
|
1570
1642
|
export type UpdateViewSortDto = Partial<CreateViewSortDto>;
|
|
1571
|
-
export type UpdateWidgetDto =
|
|
1643
|
+
export type UpdateWidgetDto = UpdateWidgetMutationFieldsDto & {
|
|
1644
|
+
type?: WidgetType;
|
|
1645
|
+
config?: BarChartWidgetConfigDto | PieChartWidgetConfigDto | LineChartWidgetConfigDto | AreaChartWidgetConfigDto | DonutChartWidgetConfigDto | RadarChartWidgetConfigDto | IframeWidgetConfigDto | MetricWidgetConfigDto | TextWidgetConfigDto | RedaiViewWidgetConfigDto | TableWidgetConfigDto | ListWidgetConfigDto | CalendarWidgetConfigDto | KanbanWidgetConfigDto | MapWidgetConfigDto | ChartWidgetConfigDto;
|
|
1646
|
+
};
|
|
1572
1647
|
export interface UpdateWidgetLayoutDto {
|
|
1573
1648
|
row?: number | null;
|
|
1574
1649
|
col?: number | null;
|
|
1575
1650
|
sizeX?: number | null;
|
|
1576
1651
|
sizeY?: number | null;
|
|
1577
1652
|
}
|
|
1653
|
+
export type UpdateWidgetMutationFieldsDto = Partial<WidgetMutationFieldsDto>;
|
|
1578
1654
|
export type UpdateWorkspaceDto = Partial<CreateWorkspaceDto>;
|
|
1579
1655
|
export interface UpdateWorkspaceInviteLinkSettingsDto {
|
|
1580
1656
|
allowJoinViaInviteLink?: boolean;
|
|
@@ -1641,6 +1717,32 @@ export interface WidgetFilterNodeDto {
|
|
|
1641
1717
|
order?: number | null;
|
|
1642
1718
|
children?: (WidgetFilterNodeDto)[];
|
|
1643
1719
|
}
|
|
1720
|
+
export interface WidgetMutationFieldsDto {
|
|
1721
|
+
title: string;
|
|
1722
|
+
description?: string | null;
|
|
1723
|
+
fkModelId?: string | null;
|
|
1724
|
+
fkViewId?: string | null;
|
|
1725
|
+
meta?: {
|
|
1726
|
+
[key: string]: unknown;
|
|
1727
|
+
};
|
|
1728
|
+
row?: number | null;
|
|
1729
|
+
col?: number | null;
|
|
1730
|
+
sizeX?: number | null;
|
|
1731
|
+
sizeY?: number | null;
|
|
1732
|
+
order?: number | null;
|
|
1733
|
+
}
|
|
1734
|
+
export declare enum WidgetType {
|
|
1735
|
+
CHART = "chart",
|
|
1736
|
+
IFRAME = "iframe",
|
|
1737
|
+
METRIC = "metric",
|
|
1738
|
+
REDAI_VIEW = "redai_view",
|
|
1739
|
+
TEXT = "text",
|
|
1740
|
+
TABLE = "table",
|
|
1741
|
+
LIST = "list",
|
|
1742
|
+
CALENDAR = "calendar",
|
|
1743
|
+
KANBAN = "kanban",
|
|
1744
|
+
MAP = "map"
|
|
1745
|
+
}
|
|
1644
1746
|
export interface WorkspaceInviteLinkPreviewResponseDto {
|
|
1645
1747
|
workspaceId: string;
|
|
1646
1748
|
workspaceName: string;
|
|
@@ -2159,9 +2261,49 @@ export interface CommentsUpdateCommentParams {
|
|
|
2159
2261
|
commentId: string;
|
|
2160
2262
|
body: UpdateCommentDto;
|
|
2161
2263
|
}
|
|
2264
|
+
export interface DashboardsCreateAreaChartWidgetParams {
|
|
2265
|
+
dashboardId: string;
|
|
2266
|
+
body: CreateAreaChartWidgetDto;
|
|
2267
|
+
}
|
|
2268
|
+
export interface DashboardsCreateBarChartWidgetParams {
|
|
2269
|
+
dashboardId: string;
|
|
2270
|
+
body: CreateBarChartWidgetDto;
|
|
2271
|
+
}
|
|
2162
2272
|
export interface DashboardsCreateDashboardParams {
|
|
2163
2273
|
body: CreateDashboardDto;
|
|
2164
2274
|
}
|
|
2275
|
+
export interface DashboardsCreateDonutChartWidgetParams {
|
|
2276
|
+
dashboardId: string;
|
|
2277
|
+
body: CreateDonutChartWidgetDto;
|
|
2278
|
+
}
|
|
2279
|
+
export interface DashboardsCreateIframeWidgetParams {
|
|
2280
|
+
dashboardId: string;
|
|
2281
|
+
body: CreateIframeWidgetByTypeDto;
|
|
2282
|
+
}
|
|
2283
|
+
export interface DashboardsCreateLineChartWidgetParams {
|
|
2284
|
+
dashboardId: string;
|
|
2285
|
+
body: CreateLineChartWidgetDto;
|
|
2286
|
+
}
|
|
2287
|
+
export interface DashboardsCreateMetricWidgetParams {
|
|
2288
|
+
dashboardId: string;
|
|
2289
|
+
body: CreateMetricWidgetByTypeDto;
|
|
2290
|
+
}
|
|
2291
|
+
export interface DashboardsCreatePieChartWidgetParams {
|
|
2292
|
+
dashboardId: string;
|
|
2293
|
+
body: CreatePieChartWidgetDto;
|
|
2294
|
+
}
|
|
2295
|
+
export interface DashboardsCreateRadarChartWidgetParams {
|
|
2296
|
+
dashboardId: string;
|
|
2297
|
+
body: CreateRadarChartWidgetDto;
|
|
2298
|
+
}
|
|
2299
|
+
export interface DashboardsCreateRedaiViewWidgetParams {
|
|
2300
|
+
dashboardId: string;
|
|
2301
|
+
body: CreateRedaiViewWidgetByTypeDto;
|
|
2302
|
+
}
|
|
2303
|
+
export interface DashboardsCreateTextWidgetParams {
|
|
2304
|
+
dashboardId: string;
|
|
2305
|
+
body: CreateTextWidgetByTypeDto;
|
|
2306
|
+
}
|
|
2165
2307
|
export interface DashboardsCreateWidgetParams {
|
|
2166
2308
|
dashboardId: string;
|
|
2167
2309
|
body: CreateWidgetDto;
|
|
@@ -2206,10 +2348,50 @@ export interface DashboardsReplaceWidgetFiltersParams {
|
|
|
2206
2348
|
widgetId: string;
|
|
2207
2349
|
body: ReplaceWidgetFiltersDto;
|
|
2208
2350
|
}
|
|
2351
|
+
export interface DashboardsUpdateAreaChartWidgetParams {
|
|
2352
|
+
widgetId: string;
|
|
2353
|
+
body: UpdateAreaChartWidgetDto;
|
|
2354
|
+
}
|
|
2355
|
+
export interface DashboardsUpdateBarChartWidgetParams {
|
|
2356
|
+
widgetId: string;
|
|
2357
|
+
body: UpdateBarChartWidgetDto;
|
|
2358
|
+
}
|
|
2209
2359
|
export interface DashboardsUpdateDashboardParams {
|
|
2210
2360
|
dashboardId: string;
|
|
2211
2361
|
body: UpdateDashboardDto;
|
|
2212
2362
|
}
|
|
2363
|
+
export interface DashboardsUpdateDonutChartWidgetParams {
|
|
2364
|
+
widgetId: string;
|
|
2365
|
+
body: UpdateDonutChartWidgetDto;
|
|
2366
|
+
}
|
|
2367
|
+
export interface DashboardsUpdateIframeWidgetParams {
|
|
2368
|
+
widgetId: string;
|
|
2369
|
+
body: UpdateIframeWidgetByTypeDto;
|
|
2370
|
+
}
|
|
2371
|
+
export interface DashboardsUpdateLineChartWidgetParams {
|
|
2372
|
+
widgetId: string;
|
|
2373
|
+
body: UpdateLineChartWidgetDto;
|
|
2374
|
+
}
|
|
2375
|
+
export interface DashboardsUpdateMetricWidgetParams {
|
|
2376
|
+
widgetId: string;
|
|
2377
|
+
body: UpdateMetricWidgetByTypeDto;
|
|
2378
|
+
}
|
|
2379
|
+
export interface DashboardsUpdatePieChartWidgetParams {
|
|
2380
|
+
widgetId: string;
|
|
2381
|
+
body: UpdatePieChartWidgetDto;
|
|
2382
|
+
}
|
|
2383
|
+
export interface DashboardsUpdateRadarChartWidgetParams {
|
|
2384
|
+
widgetId: string;
|
|
2385
|
+
body: UpdateRadarChartWidgetDto;
|
|
2386
|
+
}
|
|
2387
|
+
export interface DashboardsUpdateRedaiViewWidgetParams {
|
|
2388
|
+
widgetId: string;
|
|
2389
|
+
body: UpdateRedaiViewWidgetByTypeDto;
|
|
2390
|
+
}
|
|
2391
|
+
export interface DashboardsUpdateTextWidgetParams {
|
|
2392
|
+
widgetId: string;
|
|
2393
|
+
body: UpdateTextWidgetByTypeDto;
|
|
2394
|
+
}
|
|
2213
2395
|
export interface DashboardsUpdateWidgetLayoutParams {
|
|
2214
2396
|
widgetId: string;
|
|
2215
2397
|
body: UpdateWidgetLayoutDto;
|