@redonvn/redai-backend-api-sdk 0.5.64 → 0.5.66

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.
Files changed (59) hide show
  1. package/dist/cjs/generated/dynamic-table/index.js +1 -2
  2. package/dist/cjs/generated/dynamic-table/index.js.map +1 -1
  3. package/dist/cjs/generated/dynamic-table/services/bases.service.js +9 -0
  4. package/dist/cjs/generated/dynamic-table/services/bases.service.js.map +1 -1
  5. package/dist/cjs/generated/dynamic-table/services/index.js +3 -1
  6. package/dist/cjs/generated/dynamic-table/services/index.js.map +1 -1
  7. package/dist/cjs/generated/dynamic-table/services/scripts.service.js +27 -0
  8. package/dist/cjs/generated/dynamic-table/services/scripts.service.js.map +1 -1
  9. package/dist/cjs/generated/dynamic-table/services/workspace-my-invites.service.js +46 -0
  10. package/dist/cjs/generated/dynamic-table/services/workspace-my-invites.service.js.map +1 -0
  11. package/dist/cjs/generated/dynamic-table/types.js +16 -4
  12. package/dist/cjs/generated/dynamic-table/types.js.map +1 -1
  13. package/dist/cjs/generated/index.js +50 -53
  14. package/dist/cjs/generated/index.js.map +1 -1
  15. package/dist/cjs/generated/shared-types.js +253 -16
  16. package/dist/cjs/generated/shared-types.js.map +1 -1
  17. package/dist/cjs/generated/workspace/types.js +1 -207
  18. package/dist/cjs/generated/workspace/types.js.map +1 -1
  19. package/dist/cjs/index.js +1 -0
  20. package/dist/cjs/index.js.map +1 -1
  21. package/dist/esm/generated/dynamic-table/index.js +1 -1
  22. package/dist/esm/generated/dynamic-table/index.js.map +1 -1
  23. package/dist/esm/generated/dynamic-table/services/bases.service.d.ts +2 -1
  24. package/dist/esm/generated/dynamic-table/services/bases.service.d.ts.map +1 -1
  25. package/dist/esm/generated/dynamic-table/services/bases.service.js +9 -0
  26. package/dist/esm/generated/dynamic-table/services/bases.service.js.map +1 -1
  27. package/dist/esm/generated/dynamic-table/services/index.d.ts +1 -0
  28. package/dist/esm/generated/dynamic-table/services/index.d.ts.map +1 -1
  29. package/dist/esm/generated/dynamic-table/services/index.js +1 -0
  30. package/dist/esm/generated/dynamic-table/services/index.js.map +1 -1
  31. package/dist/esm/generated/dynamic-table/services/scripts.service.d.ts +4 -1
  32. package/dist/esm/generated/dynamic-table/services/scripts.service.d.ts.map +1 -1
  33. package/dist/esm/generated/dynamic-table/services/scripts.service.js +27 -0
  34. package/dist/esm/generated/dynamic-table/services/scripts.service.js.map +1 -1
  35. package/dist/esm/generated/dynamic-table/services/workspace-my-invites.service.d.ts +11 -0
  36. package/dist/esm/generated/dynamic-table/services/workspace-my-invites.service.d.ts.map +1 -0
  37. package/dist/esm/generated/dynamic-table/services/workspace-my-invites.service.js +42 -0
  38. package/dist/esm/generated/dynamic-table/services/workspace-my-invites.service.js.map +1 -0
  39. package/dist/esm/generated/dynamic-table/types.d.ts +194 -58
  40. package/dist/esm/generated/dynamic-table/types.d.ts.map +1 -1
  41. package/dist/esm/generated/dynamic-table/types.js +15 -1
  42. package/dist/esm/generated/dynamic-table/types.js.map +1 -1
  43. package/dist/esm/generated/index.d.ts +2 -4
  44. package/dist/esm/generated/index.d.ts.map +1 -1
  45. package/dist/esm/generated/index.js +1 -3
  46. package/dist/esm/generated/index.js.map +1 -1
  47. package/dist/esm/generated/shared-types.d.ts +462 -27
  48. package/dist/esm/generated/shared-types.d.ts.map +1 -1
  49. package/dist/esm/generated/shared-types.js +252 -15
  50. package/dist/esm/generated/shared-types.js.map +1 -1
  51. package/dist/esm/generated/workspace/types.d.ts +5 -365
  52. package/dist/esm/generated/workspace/types.d.ts.map +1 -1
  53. package/dist/esm/generated/workspace/types.js +1 -208
  54. package/dist/esm/generated/workspace/types.js.map +1 -1
  55. package/dist/esm/index.d.ts +4 -2
  56. package/dist/esm/index.d.ts.map +1 -1
  57. package/dist/esm/index.js +2 -1
  58. package/dist/esm/index.js.map +1 -1
  59. package/package.json +2 -1
@@ -1,7 +1,7 @@
1
- import type { AreaChartWidgetConfigDto, BarChartWidgetConfigDto, BaseMeta, BulkDataListDto, BulkGroupDto, CalendarViewMeta, CalendarWidgetConfigDto, ChartDisplaySpecDto, ChartPointsSpecDto, ChartSeriesConfigSpecDto, ChartViewConfigDto, ChartWidgetConfigDto, ChartXAxisSpecDto, ChartYAxisSpecDto, CreateColumnDto, CreateTableFieldDto, DonutChartWidgetConfigDto, FilterResponseDto, FormViewMeta, GalleryViewMeta, GridViewMeta, GroupFieldDto, IframeWidgetConfigDto, JsonObject, JsonValue, KanbanViewMeta, KanbanWidgetConfigDto, LimitOffsetQueryDto, LineChartWidgetConfigDto, ListWidgetConfigDto, MapViewMeta, MapWidgetConfigDto, MetricViewConfigDto, MetricWidgetConfigDto, PagedResponse, PieChartWidgetConfigDto, RadarChartWidgetConfigDto, RadarConfigSpecDto, RecordAggregateQueryDto, RecordListQueryDto, RedaiViewWidgetConfigDto, RelationConfigResponseDto, RelationFieldRefDto, Schema, SourceConfig, SourceMeta, TableWidgetConfigDto, TextWidgetConfigDto, ViewMeta, WidgetDatePreset, WidgetFilterPayloadDto, WidgetSortSpecDto, WorkspaceRoleCode, WorkspaceSettings } from '../shared-types';
2
- import { BaseStatus, ChartType, DashboardStatus, ExternalDataType, FieldType, FilterComparisonOp, FilterComparisonSubOp, FilterLogicalOp, GridColumnAlign, GridRowHeight, MapProviderType, ModelType, ProviderEnum, ReferentialAction, RelationType, RollupFunction, RowColoringMode, SourceType, StorageMode, ViewLockType, ViewSortDirection, ViewType, WidgetType } from '../shared-types';
3
- export type { ACB_BANK, ACCEPTED, ACTION, ACTIVE, AGENT_DESKTOP_SDK_EXE, AGRIBANK_BANK, AHAMOVE, AI, ALIBABA_CODING_PLAN, ALL_OF, AND, ANTHROPIC, ANY_OF, API_TOKEN_CREATE, API_TOKEN_DELETE, API_TOKEN_UPDATE, ApiResponseDto, APPEND, APPROVED, ARCHIVED, AREA, 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, ChartViewConfigDto, ChartViewMeasureConfigDto, 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, DYNAMIC_TABLE, EAV, EMAIL, EMAIL_GMAIL, EMAIL_OUTLOOK, EMAIL_SMTP, EMAIL_TWILIO_SENDGRID, EMPTY, ENUM, EQ, ERROR, EXACT_DATE, EXTRA, FACEBOOK_ADS, FACEBOOK_BUSINESS, FACEBOOK_PAGE, FACEBOOK_PERSONAL, FAILED, FILTER, FilterResponseDto, FLOAT, ForbiddenWidgetRuntimeDto, FORM, FORMULA, FormViewMeta, FUNCTION, 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, GOOGLE_YOUTUBE, GRID, GridEmbedWidgetRuntimeDto, GridViewMeta, GROUP_BY_EQ, GROUP_BY_NULL, GroupedChartWidgetConfigBaseDto, GroupFieldDto, GT, GTE, HAS_MANY, HDB_BANK, HEATMAP, HeatmapCellDto, HeatmapChartRuntimeDto, HOOK, HSTORE, IFRAME, IframeWidgetConfigDto, IframeWidgetProvider, IframeWidgetRuntimeDto, IMAGE, INACTIVE, INET, INTEGER, INTEGRATION_CREATE, INTEGRATION_DELETE, INTEGRATION_UPDATE, INTERVAL, IS, IS_NOT, IS_WITHIN, JSON, JsonArray, JSONB, JsonObject, JsonPrimitive, JsonValue, KANBAN, KanbanViewMeta, KanbanWidgetConfigDto, KL_BANK, KNOWLEDGE_FILE, 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, MetricViewConfigDto, 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, 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, RADAR_CRITERION, RadarChartRuntimeDto, RadarChartWidgetConfigDto, RadarConfigSpecDto, RadarCriterionDto, RadarCriterionSpecDto, RadarObjectSortBy, RadarObjectSpecDto, RadarRuntimePointDto, RadarRuntimeSeriesDto, RATING, READ, REAL, RecordAggregateQueryDto, RecordListQueryDto, REDAI, REDAI_EXTENSION, REDAI_VIEW, RedaiViewWidgetConfigDto, RedaiViewWidgetRuntimeDto, RELATION, RelationConfigDto, RelationConfigResponseDto, RelationFieldRefDto, RESTRICT, RIGHT, ROLLUP, RollupConfigDto, RollupConfigResponseDto, RUNNING, SCATTER, ScatterChartPointDto, ScatterChartRuntimeDto, SCB_BANK, Schema, SchemaValue, 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, STRING, SUCCESS, SUM, SUM_DISTINCT, TABLE, TABLE_CREATE, TABLE_DELETE, TABLE_UPDATE, TableResponseDto, TableWidgetConfigDto, TALL, TCB_BANK, TELEGRAM, TELEGRAM_BOT, TEST, TEXT, TextWidgetConfigDto, TextWidgetResolvedVariableDto, TextWidgetRuntimeDto, TextWidgetVariableBindingDto, TextWidgetVariableOutputDto, TIKTOK, TIKTOK_ADS, 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, WELCOME, WidgetAggregationFunction, WidgetAggregationSpecDto, WidgetDatePreset, WidgetFilterPayloadDto, WidgetQuerySpecDto, WidgetResponseDto, WidgetRuntimeResolvedQueryResponseDto, WidgetRuntimeResponseDto, WidgetSortSpecDto, WORKFLOW, WorkspaceRoleCode, WorkspaceSettings, WorkspaceSystemRoleCode, XAI, XLSX, XML, Y_AXIS, YEAR, YESTERDAY, ZALO_BOT, ZALO_OA, ZALO_PERSONAL } from '../shared-types';
4
- export { BaseStatus, ChartType, ChartViewMeasureRole, DashboardStatus, ExternalDataType, FieldType, FilterComparisonOp, FilterComparisonSubOp, FilterLogicalOp, GridColumnAlign, GridRowHeight, INT, MapProviderType, ModelType, ProviderEnum, ReferentialAction, RelationType, RollupFunction, RowColoringMode, SchemaType, SourceType, StorageMode, T, ViewLockType, ViewSortDirection, ViewType, WidgetType, WORKSPACE, WORKSPACE_SYSTEM_ROLE_CODE } from '../shared-types';
1
+ import type { AreaChartWidgetConfigDto, BarChartWidgetConfigDto, BaseMeta, BulkDataListDto, BulkGroupDto, CalendarViewMeta, CalendarWidgetConfigDto, ChartDisplaySpecDto, ChartPointsSpecDto, ChartSeriesConfigSpecDto, ChartViewConfigDto, ChartWidgetConfigDto, ChartXAxisSpecDto, ChartYAxisSpecDto, CreateColumnDto, CreateTableFieldDto, DonutChartWidgetConfigDto, FilterResponseDto, FormViewMeta, GalleryViewMeta, GridViewMeta, GroupFieldDto, IframeWidgetConfigDto, JsonValue, KanbanViewMeta, KanbanWidgetConfigDto, LimitOffsetQueryDto, LineChartWidgetConfigDto, ListWidgetConfigDto, MapViewMeta, MapWidgetConfigDto, MetricViewConfigDto, MetricWidgetConfigDto, PagedResponse, PieChartWidgetConfigDto, RadarChartWidgetConfigDto, RadarConfigSpecDto, RecordAggregateQueryDto, RecordListQueryDto, RedaiViewWidgetConfigDto, RelationConfigResponseDto, RelationFieldRefDto, Schema, SourceConfig, SourceMeta, TableWidgetConfigDto, TextWidgetConfigDto, ViewMeta, WidgetDatePreset, WidgetFilterPayloadDto, WidgetSortSpecDto, 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, ChartViewConfigDto, ChartViewMeasureConfigDto, 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, DYNAMIC_TABLE, EAV, EMAIL, EMAIL_GMAIL, EMAIL_OUTLOOK, EMAIL_SMTP, EMAIL_TWILIO_SENDGRID, EMPTY, ENUM, EQ, ERROR, EXACT_DATE, EXTRA, FACEBOOK_ADS, FACEBOOK_BUSINESS, FACEBOOK_PAGE, FACEBOOK_PERSONAL, FAILED, FILTER, FilterResponseDto, FLOAT, ForbiddenWidgetRuntimeDto, FORM, FORMULA, FormViewMeta, FUNCTION, 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, GOOGLE_YOUTUBE, GRID, GridEmbedWidgetRuntimeDto, GridViewMeta, GROUP_BY_EQ, GROUP_BY_NULL, GroupedChartWidgetConfigBaseDto, GroupFieldDto, GT, GTE, HAS_MANY, HDB_BANK, HEATMAP, HeatmapCellDto, HeatmapChartRuntimeDto, HOOK, HSTORE, IFRAME, IframeWidgetConfigDto, IframeWidgetProvider, IframeWidgetRuntimeDto, IMAGE, INACTIVE, INET, INTEGER, INTEGRATION_CREATE, INTEGRATION_DELETE, INTEGRATION_UPDATE, INTERVAL, IS, IS_NOT, IS_WITHIN, JSON, JSONB, JsonPrimitive, JsonValue, KANBAN, KanbanViewMeta, KanbanWidgetConfigDto, KL_BANK, KNOWLEDGE_FILE, 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, MetricViewConfigDto, MetricWidgetColor, MetricWidgetColorMode, MetricWidgetComparisonDto, 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, 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, RADAR_CRITERION, RadarChartRuntimeDto, RadarChartWidgetConfigDto, RadarConfigSpecDto, RadarCriterionDto, RadarCriterionSpecDto, RadarObjectSortBy, RadarObjectSpecDto, RadarRuntimePointDto, RadarRuntimeSeriesDto, RATING, READ, REAL, RecordAggregateQueryDto, RecordListQueryDto, REDAI, REDAI_EXTENSION, REDAI_VIEW, RedaiViewWidgetConfigDto, RedaiViewWidgetRuntimeDto, REJECTED, RELATION, RelationConfigDto, RelationConfigResponseDto, RelationFieldRefDto, RESTRICT, RIGHT, ROLLUP, RollupConfigDto, RollupConfigResponseDto, RUNNING, SCATTER, ScatterChartPointDto, ScatterChartRuntimeDto, SCB_BANK, Schema, SchemaValue, 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, STRING, SUCCESS, SUM, SUM_DISTINCT, TABLE, TABLE_CREATE, TABLE_DELETE, TABLE_UPDATE, TableResponseDto, TableWidgetConfigDto, TALL, TCB_BANK, TELEGRAM, TELEGRAM_BOT, TEST, TEXT, TextWidgetAggregateBindingSourceDto, TextWidgetConfigDto, TextWidgetFirstRowSelectorDto, TextWidgetIndexedRowSelectorDto, TextWidgetLastRowSelectorDto, TextWidgetRecordBindingSourceDto, TextWidgetRecordFieldBindingSourceDto, TextWidgetRecordsBindingSourceDto, TextWidgetResolvedVariableDto, TextWidgetRuntimeDto, TextWidgetVariableBindingDto, TextWidgetVariableOutputDto, TIKTOK, TIKTOK_ADS, 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, WELCOME, WidgetAggregationFunction, WidgetAggregationSpec, WidgetAggregationSpecDto, WidgetDatePreset, WidgetFilterPayloadDto, WidgetQuerySpecDto, WidgetResponseDto, WidgetRuntimeResolvedQueryResponseDto, WidgetRuntimeResponseDto, WidgetSortSpecDto, WORKFLOW, WorkspaceRoleCode, WorkspaceSettings, WorkspaceSystemRoleCode, XAI, XLSX, XML, Y_AXIS, YEAR, YESTERDAY, ZALO_BOT, ZALO_OA, ZALO_PERSONAL } from '../shared-types';
4
+ export { BaseStatus, ChartType, ChartViewMeasureRole, DashboardStatus, ExternalDataType, FieldType, FilterComparisonOp, FilterComparisonSubOp, FilterLogicalOp, GridColumnAlign, GridRowHeight, INT, MapProviderType, ModelType, ProviderEnum, ReferentialAction, RelationType, RollupFunction, RowColoringMode, SchemaType, SourceType, StorageMode, T, ViewLockType, ViewSortDirection, ViewType, WORKSPACE, WORKSPACE_SYSTEM_ROLE_CODE } from '../shared-types';
5
5
  export interface AcceptWorkspaceInviteDto {
6
6
  token: string;
7
7
  }
@@ -626,6 +626,14 @@ export interface CreateAclEntryDto {
626
626
  [key: string]: unknown;
627
627
  } | null;
628
628
  }
629
+ export interface CreateAndExecuteScriptDto {
630
+ create: CreateScriptDto;
631
+ execute?: ExecuteScriptDirectDto;
632
+ }
633
+ export interface CreateAndExecuteScriptResponseDto {
634
+ script: ScriptDetailResponseDto;
635
+ execution: ScriptExecuteResponseDto;
636
+ }
629
637
  export interface CreateApiTokenDto {
630
638
  description?: unknown | null;
631
639
  permissions?: {
@@ -633,13 +641,13 @@ export interface CreateApiTokenDto {
633
641
  } | null;
634
642
  expiryAt?: unknown | null;
635
643
  }
636
- export type CreateAreaChartWidgetDto = WidgetMutationFieldsDto & {
637
- type: 'chart';
638
- config: AreaChartWidgetConfigDto;
644
+ export type CreateAreaChartWidgetConfigByTypeDto = Omit<AreaChartWidgetConfigDto, 'chartType'>;
645
+ export type CreateAreaChartWidgetDto = CreateModelBoundWidgetMutationFieldsDto & {
646
+ config: CreateAreaChartWidgetConfigByTypeDto;
639
647
  };
640
- export type CreateBarChartWidgetDto = WidgetMutationFieldsDto & {
641
- type: 'chart';
642
- config: BarChartWidgetConfigDto;
648
+ export type CreateBarChartWidgetConfigByTypeDto = Omit<BarChartWidgetConfigDto, 'chartType'>;
649
+ export type CreateBarChartWidgetDto = CreateModelBoundWidgetMutationFieldsDto & {
650
+ config: CreateBarChartWidgetConfigByTypeDto;
643
651
  };
644
652
  export interface CreateBaseDto {
645
653
  title: string;
@@ -681,9 +689,9 @@ export interface CreateDashboardDto {
681
689
  [key: string]: unknown;
682
690
  } | null;
683
691
  }
684
- export type CreateDonutChartWidgetDto = WidgetMutationFieldsDto & {
685
- type: 'chart';
686
- config: DonutChartWidgetConfigDto;
692
+ export type CreateDonutChartWidgetConfigByTypeDto = Omit<DonutChartWidgetConfigDto, 'chartType'>;
693
+ export type CreateDonutChartWidgetDto = CreateModelBoundWidgetMutationFieldsDto & {
694
+ config: CreateDonutChartWidgetConfigByTypeDto;
687
695
  };
688
696
  export interface CreateFilterPresetDto {
689
697
  name: string;
@@ -717,6 +725,7 @@ export interface CreateHookDto {
717
725
  [key: string]: unknown;
718
726
  };
719
727
  url?: string;
728
+ workflowWebhookRegistryId?: string;
720
729
  hookSource?: HookSource;
721
730
  method?: HookHttpMethod;
722
731
  headers?: {
@@ -750,27 +759,26 @@ export interface CreateHookFullResponseDto {
750
759
  scheduledHookCreated?: boolean;
751
760
  };
752
761
  }
753
- export type CreateIframeWidgetByTypeDto = WidgetMutationFieldsDto & {
754
- type: 'iframe';
762
+ export type CreateIframeWidgetByTypeDto = WidgetPresentationFieldsDto & {
755
763
  config: IframeWidgetConfigDto;
756
764
  };
757
765
  export type CreateKanbanViewDto = CreateViewDto & {
758
766
  groupFieldId?: string | null;
759
767
  coverImageFieldId?: string | null;
760
768
  };
761
- export type CreateLineChartWidgetDto = WidgetMutationFieldsDto & {
762
- type: 'chart';
763
- config: LineChartWidgetConfigDto;
769
+ export type CreateLineChartWidgetConfigByTypeDto = Omit<LineChartWidgetConfigDto, 'chartType'>;
770
+ export type CreateLineChartWidgetDto = CreateModelBoundWidgetMutationFieldsDto & {
771
+ config: CreateLineChartWidgetConfigByTypeDto;
764
772
  };
765
773
  export type CreateMapViewDto = CreateViewDto & {
766
774
  geoDataFieldId?: string | null;
767
775
  mapType?: MapProviderType | null;
768
776
  mapApiKey?: string | null;
769
777
  };
770
- export type CreateMetricWidgetByTypeDto = WidgetMutationFieldsDto & {
771
- type: 'metric';
778
+ export type CreateMetricWidgetByTypeDto = CreateModelBoundWidgetMutationFieldsDto & {
772
779
  config: MetricWidgetConfigDto;
773
780
  };
781
+ export type CreateModelBoundWidgetMutationFieldsDto = Omit<WidgetPresentationFieldsDto, 'fkModelId'>;
774
782
  export interface CreatePermissionDto {
775
783
  fkSubjectId: unknown;
776
784
  subjectType: SupportedPermissionSubjectType;
@@ -789,9 +797,9 @@ export interface CreatePermissionSubjectDto {
789
797
  } | null;
790
798
  inheritsFrom?: unknown | null;
791
799
  }
792
- export type CreatePieChartWidgetDto = WidgetMutationFieldsDto & {
793
- type: 'chart';
794
- config: PieChartWidgetConfigDto;
800
+ export type CreatePieChartWidgetConfigByTypeDto = Omit<PieChartWidgetConfigDto, 'chartType'>;
801
+ export type CreatePieChartWidgetDto = CreateModelBoundWidgetMutationFieldsDto & {
802
+ config: CreatePieChartWidgetConfigByTypeDto;
795
803
  };
796
804
  export interface CreatePresignedUrlDto {
797
805
  path: string;
@@ -803,17 +811,16 @@ export interface CreatePresignedUrlResponseDto {
803
811
  url: unknown;
804
812
  expiresAt: string;
805
813
  }
806
- export type CreateRadarChartWidgetDto = WidgetMutationFieldsDto & {
807
- type: 'chart';
808
- config: RadarChartWidgetConfigDto;
814
+ export type CreateRadarChartWidgetConfigByTypeDto = Omit<RadarChartWidgetConfigDto, 'chartType'>;
815
+ export type CreateRadarChartWidgetDto = CreateModelBoundWidgetMutationFieldsDto & {
816
+ config: CreateRadarChartWidgetConfigByTypeDto;
809
817
  };
810
818
  export interface CreateRecordsPayloadDto {
811
819
  payload: ({
812
820
  [key: string]: unknown;
813
821
  })[];
814
822
  }
815
- export type CreateRedaiViewWidgetByTypeDto = WidgetMutationFieldsDto & {
816
- type: 'redai_view';
823
+ export type CreateRedaiViewWidgetByTypeDto = CreateViewBoundWidgetMutationFieldsDto & {
817
824
  config: RedaiViewWidgetConfigDto;
818
825
  };
819
826
  export interface CreateRowColorConditionDto {
@@ -918,10 +925,10 @@ export interface CreateTableWithRefsDto {
918
925
  };
919
926
  fields?: (CreateTableFieldWithRefsDto)[];
920
927
  }
921
- export type CreateTextWidgetByTypeDto = WidgetMutationFieldsDto & {
922
- type: 'text';
928
+ export type CreateTextWidgetByTypeDto = WidgetPresentationFieldsDto & {
923
929
  config: TextWidgetConfigDto;
924
930
  };
931
+ export type CreateViewBoundWidgetMutationFieldsDto = Omit<CreateModelBoundWidgetMutationFieldsDto, 'fkViewId'>;
925
932
  export interface CreateViewColumnDto {
926
933
  fieldId: string;
927
934
  show?: boolean;
@@ -1135,7 +1142,22 @@ export interface ErdTableNodeResponseDto {
1135
1142
  isManyToMany?: boolean | null;
1136
1143
  fields: (ErdTableFieldResponseDto)[];
1137
1144
  }
1145
+ export interface ExecuteScriptDirectDto {
1146
+ input?: {
1147
+ [key: string]: unknown;
1148
+ };
1149
+ context?: {
1150
+ [key: string]: unknown;
1151
+ };
1152
+ configValues?: {
1153
+ [key: string]: unknown;
1154
+ };
1155
+ }
1138
1156
  export interface ExecuteScriptDto {
1157
+ executionToken?: string;
1158
+ configValues?: {
1159
+ [key: string]: unknown;
1160
+ };
1139
1161
  input?: {
1140
1162
  [key: string]: unknown;
1141
1163
  };
@@ -1510,6 +1532,7 @@ export interface HookResponseDto {
1510
1532
  [key: string]: unknown;
1511
1533
  } | null;
1512
1534
  url?: unknown | null;
1535
+ workflowWebhookRegistryId?: unknown | null;
1513
1536
  hookSource?: unknown | null;
1514
1537
  method?: unknown | null;
1515
1538
  headers?: {
@@ -1689,6 +1712,10 @@ export declare enum JobStatus {
1689
1712
  FAILED = "failed",
1690
1713
  CANCELED = "canceled"
1691
1714
  }
1715
+ export type JsonArray = JsonValue[];
1716
+ export type JsonObject = {
1717
+ [key: string]: JsonValue;
1718
+ };
1692
1719
  export interface KanbanViewConfigDto {
1693
1720
  groupFieldId?: string | null;
1694
1721
  coverImageFieldId?: string | null;
@@ -1792,6 +1819,7 @@ export interface ListViewsQueryDto {
1792
1819
  }
1793
1820
  export type ListWorkspaceInvitesQueryDto = PaginationQueryDto & {
1794
1821
  status?: WorkspaceInviteStatus;
1822
+ excludeRevoked?: boolean;
1795
1823
  };
1796
1824
  export type ListWorkspaceJoinRequestsQueryDto = PaginationQueryDto;
1797
1825
  export type ListWorkspaceMembersQueryDto = PaginationQueryDto & {
@@ -1896,6 +1924,24 @@ export interface PinCommandPaletteDto {
1896
1924
  id: string;
1897
1925
  label: string;
1898
1926
  }
1927
+ export interface PrepareScriptDto {
1928
+ input?: {
1929
+ [key: string]: unknown;
1930
+ };
1931
+ context?: {
1932
+ [key: string]: unknown;
1933
+ };
1934
+ }
1935
+ export interface PrepareScriptResponseDto {
1936
+ executionToken: string;
1937
+ title?: string;
1938
+ description?: string;
1939
+ items: (ScriptConfigItemDto)[];
1940
+ defaults: {
1941
+ [key: string]: unknown;
1942
+ };
1943
+ expiresAt: string;
1944
+ }
1899
1945
  export interface PreviewImportDto {
1900
1946
  fileId?: string;
1901
1947
  sourceType?: AttachmentSourceType;
@@ -2046,6 +2092,20 @@ export interface ScheduledHookResponseDto {
2046
2092
  createdAt?: unknown | null;
2047
2093
  updatedAt?: unknown | null;
2048
2094
  }
2095
+ export interface ScriptConfigItemDto {
2096
+ id: string;
2097
+ type: 'table' | 'view' | 'field' | 'select' | 'text' | 'number' | 'boolean' | 'date';
2098
+ label?: string;
2099
+ description?: string;
2100
+ parentTable?: string;
2101
+ parentView?: string;
2102
+ required?: boolean;
2103
+ options?: (ScriptConfigOptionDto)[];
2104
+ }
2105
+ export interface ScriptConfigOptionDto {
2106
+ label: string;
2107
+ value?: unknown;
2108
+ }
2049
2109
  export type ScriptDetailResponseDto = ScriptResponseDto & {
2050
2110
  script: unknown | null;
2051
2111
  };
@@ -2055,10 +2115,19 @@ export interface ScriptExecuteResponseDto {
2055
2115
  output?: unknown | null;
2056
2116
  errorMessage?: unknown | null;
2057
2117
  durationMs?: unknown | null;
2118
+ logs?: (ScriptLogResponseDto)[] | null;
2119
+ steps?: (ScriptStepResponseDto)[] | null;
2120
+ stats?: ScriptStatsResponseDto;
2121
+ warnings?: (string)[] | null;
2058
2122
  }
2059
2123
  export declare enum ScriptLanguage {
2060
2124
  JAVASCRIPT = "javascript"
2061
2125
  }
2126
+ export interface ScriptLogResponseDto {
2127
+ message: string;
2128
+ level: 'info' | 'success' | 'warning' | 'error';
2129
+ createdAt: number;
2130
+ }
2062
2131
  export interface ScriptResponseDto {
2063
2132
  id: unknown;
2064
2133
  workspaceId: unknown | null;
@@ -2096,8 +2165,15 @@ export interface ScriptRunResponseDto {
2096
2165
  contextSnapshot?: {
2097
2166
  [key: string]: unknown;
2098
2167
  } | null;
2168
+ prepareSnapshot?: {
2169
+ [key: string]: unknown;
2170
+ } | null;
2099
2171
  output?: unknown | null;
2100
2172
  errorMessage?: unknown | null;
2173
+ logs?: (ScriptLogResponseDto)[] | null;
2174
+ steps?: (ScriptStepResponseDto)[] | null;
2175
+ stats?: ScriptStatsResponseDto;
2176
+ warnings?: (string)[] | null;
2101
2177
  startedAt?: unknown | null;
2102
2178
  finishedAt?: unknown | null;
2103
2179
  durationMs?: unknown | null;
@@ -2110,6 +2186,20 @@ export declare enum ScriptRunStatus {
2110
2186
  FAILED = "failed",
2111
2187
  TIMEOUT = "timeout"
2112
2188
  }
2189
+ export interface ScriptStatsResponseDto {
2190
+ selectCalls: number;
2191
+ updateCalls: number;
2192
+ recordsRead: number;
2193
+ recordsUpdated: number;
2194
+ rpcErrors: number;
2195
+ }
2196
+ export interface ScriptStepResponseDto {
2197
+ title: string;
2198
+ description?: string;
2199
+ icon?: string;
2200
+ color?: string;
2201
+ createdAt: number;
2202
+ }
2113
2203
  export interface SecureAttachmentTokenDto {
2114
2204
  ttlSeconds?: number;
2115
2205
  }
@@ -2233,13 +2323,11 @@ export type UpdateAclEntryDto = Partial<CreateAclEntryDto>;
2233
2323
  export type UpdateApiTokenDto = Partial<CreateApiTokenDto> & {
2234
2324
  revoked?: unknown | null;
2235
2325
  };
2236
- export type UpdateAreaChartWidgetDto = UpdateWidgetMutationFieldsDto & {
2237
- type?: 'chart';
2238
- config?: AreaChartWidgetConfigDto;
2326
+ export type UpdateAreaChartWidgetDto = UpdateModelBoundWidgetMutationFieldsDto & {
2327
+ config?: CreateAreaChartWidgetConfigByTypeDto;
2239
2328
  };
2240
- export type UpdateBarChartWidgetDto = UpdateWidgetMutationFieldsDto & {
2241
- type?: 'chart';
2242
- config?: BarChartWidgetConfigDto;
2329
+ export type UpdateBarChartWidgetDto = UpdateModelBoundWidgetMutationFieldsDto & {
2330
+ config?: CreateBarChartWidgetConfigByTypeDto;
2243
2331
  };
2244
2332
  export type UpdateBaseDto = Partial<CreateBaseDto>;
2245
2333
  export type UpdateBaseMemberDto = Partial<AddBaseMemberDto> & {
@@ -2267,44 +2355,40 @@ export interface UpdateCommentDto {
2267
2355
  mentions?: (CommentMentionInputDto)[];
2268
2356
  }
2269
2357
  export type UpdateDashboardDto = Partial<CreateDashboardDto>;
2270
- export type UpdateDonutChartWidgetDto = UpdateWidgetMutationFieldsDto & {
2271
- type?: 'chart';
2272
- config?: DonutChartWidgetConfigDto;
2358
+ export type UpdateDonutChartWidgetDto = UpdateModelBoundWidgetMutationFieldsDto & {
2359
+ config?: CreateDonutChartWidgetConfigByTypeDto;
2273
2360
  };
2274
2361
  export type UpdateFilterPresetDto = Partial<CreateFilterPresetDto>;
2275
2362
  export type UpdateFormViewDto = Partial<FormViewConfigDto>;
2276
2363
  export type UpdateGalleryViewDto = Partial<GalleryViewConfigDto>;
2277
2364
  export type UpdateGridViewDto = Partial<GridViewConfigDto>;
2278
2365
  export type UpdateHookDto = Partial<CreateHookDto>;
2279
- export type UpdateIframeWidgetByTypeDto = UpdateWidgetMutationFieldsDto & {
2280
- type?: 'iframe';
2366
+ export type UpdateIframeWidgetByTypeDto = UpdateWidgetPresentationFieldsDto & {
2281
2367
  config?: IframeWidgetConfigDto;
2282
2368
  };
2283
2369
  export type UpdateKanbanViewDto = Partial<KanbanViewConfigDto>;
2284
- export type UpdateLineChartWidgetDto = UpdateWidgetMutationFieldsDto & {
2285
- type?: 'chart';
2286
- config?: LineChartWidgetConfigDto;
2370
+ export type UpdateLineChartWidgetDto = UpdateModelBoundWidgetMutationFieldsDto & {
2371
+ config?: CreateLineChartWidgetConfigByTypeDto;
2287
2372
  };
2288
2373
  export type UpdateMapViewDto = Partial<MapViewConfigDto>;
2289
- export type UpdateMetricWidgetByTypeDto = UpdateWidgetMutationFieldsDto & {
2290
- type?: 'metric';
2374
+ export type UpdateMetricWidgetByTypeDto = UpdateModelBoundWidgetMutationFieldsDto & {
2291
2375
  config?: MetricWidgetConfigDto;
2292
2376
  };
2377
+ export type UpdateModelBoundWidgetMutationFieldsDto = UpdateWidgetPresentationFieldsDto & {
2378
+ fkModelId?: unknown | null;
2379
+ };
2293
2380
  export type UpdatePermissionDto = Partial<CreatePermissionDto>;
2294
2381
  export type UpdatePermissionSubjectDto = Partial<CreatePermissionSubjectDto>;
2295
- export type UpdatePieChartWidgetDto = UpdateWidgetMutationFieldsDto & {
2296
- type?: 'chart';
2297
- config?: PieChartWidgetConfigDto;
2382
+ export type UpdatePieChartWidgetDto = UpdateModelBoundWidgetMutationFieldsDto & {
2383
+ config?: CreatePieChartWidgetConfigByTypeDto;
2298
2384
  };
2299
- export type UpdateRadarChartWidgetDto = UpdateWidgetMutationFieldsDto & {
2300
- type?: 'chart';
2301
- config?: RadarChartWidgetConfigDto;
2385
+ export type UpdateRadarChartWidgetDto = UpdateModelBoundWidgetMutationFieldsDto & {
2386
+ config?: CreateRadarChartWidgetConfigByTypeDto;
2302
2387
  };
2303
2388
  export interface UpdateRecordFieldDto {
2304
2389
  value: JsonValue;
2305
2390
  }
2306
- export type UpdateRedaiViewWidgetByTypeDto = UpdateWidgetMutationFieldsDto & {
2307
- type?: 'redai_view';
2391
+ export type UpdateRedaiViewWidgetByTypeDto = UpdateViewBoundWidgetMutationFieldsDto & {
2308
2392
  config?: RedaiViewWidgetConfigDto;
2309
2393
  };
2310
2394
  export type UpdateRowColorConditionDto = Partial<CreateRowColorConditionDto>;
@@ -2333,14 +2417,16 @@ export interface UpdateTableDto {
2333
2417
  };
2334
2418
  }
2335
2419
  export type UpdateTableFieldDto = Partial<CreateTableFieldDto>;
2336
- export type UpdateTextWidgetByTypeDto = UpdateWidgetMutationFieldsDto & {
2337
- type?: 'text';
2420
+ export type UpdateTextWidgetByTypeDto = UpdateWidgetPresentationFieldsDto & {
2338
2421
  config?: TextWidgetConfigDto;
2339
2422
  };
2340
2423
  export interface UpdateUserUiPreferencesDto {
2341
2424
  defaultWorkspaceId?: unknown | null;
2342
2425
  defaultBaseId?: unknown | null;
2343
2426
  }
2427
+ export type UpdateViewBoundWidgetMutationFieldsDto = UpdateModelBoundWidgetMutationFieldsDto & {
2428
+ fkViewId?: unknown | null;
2429
+ };
2344
2430
  export type UpdateViewColumnDto = Partial<CreateViewColumnDto>;
2345
2431
  export type UpdateViewColumnItemDto = UpdateViewColumnDto & {
2346
2432
  columnId: string;
@@ -2360,6 +2446,7 @@ export interface UpdateWidgetLayoutDto {
2360
2446
  sizeY?: number | null;
2361
2447
  }
2362
2448
  export type UpdateWidgetMutationFieldsDto = Partial<WidgetMutationFieldsDto>;
2449
+ export type UpdateWidgetPresentationFieldsDto = Partial<WidgetPresentationFieldsDto>;
2363
2450
  export type UpdateWorkspaceDto = Partial<CreateWorkspaceDto>;
2364
2451
  export interface UpdateWorkspaceInviteLinkSettingsDto {
2365
2452
  allowJoinViaInviteLink?: boolean;
@@ -2432,7 +2519,8 @@ export interface WidgetFilterNodeDto {
2432
2519
  order?: number | null;
2433
2520
  children?: (WidgetFilterNodeDto)[];
2434
2521
  }
2435
- export interface WidgetMutationFieldsDto {
2522
+ export type WidgetMutationFieldsDto = WidgetPresentationFieldsDto;
2523
+ export interface WidgetPresentationFieldsDto {
2436
2524
  title: string;
2437
2525
  description?: unknown | null;
2438
2526
  fkModelId?: unknown | null;
@@ -2446,6 +2534,18 @@ export interface WidgetMutationFieldsDto {
2446
2534
  sizeY?: number | null;
2447
2535
  order?: number | null;
2448
2536
  }
2537
+ export declare enum WidgetType {
2538
+ CHART = "chart",
2539
+ IFRAME = "iframe",
2540
+ METRIC = "metric",
2541
+ REDAI_VIEW = "redai_view",
2542
+ TEXT = "text",
2543
+ TABLE = "table",
2544
+ LIST = "list",
2545
+ CALENDAR = "calendar",
2546
+ KANBAN = "kanban",
2547
+ MAP = "map"
2548
+ }
2449
2549
  export interface WorkspaceInviteLinkPreviewResponseDto {
2450
2550
  workspaceId: string;
2451
2551
  workspaceName: string;
@@ -2492,6 +2592,7 @@ export interface WorkspaceInviteResponseDto {
2492
2592
  id: string;
2493
2593
  workspaceId: string;
2494
2594
  email: string;
2595
+ scopeRoleId: string;
2495
2596
  roleCode: WorkspaceRoleCode;
2496
2597
  scope: MembershipScope;
2497
2598
  baseId?: string | null;
@@ -2504,10 +2605,16 @@ export interface WorkspaceInviteResponseDto {
2504
2605
  acceptedAt?: number | null;
2505
2606
  createdAt: number;
2506
2607
  updatedAt: number;
2608
+ workspaceName?: string | null;
2609
+ workspaceLogo?: string | null;
2610
+ ownerId?: number | null;
2611
+ ownerName?: string | null;
2612
+ ownerAvatarUrl?: string | null;
2507
2613
  }
2508
2614
  export declare enum WorkspaceInviteStatus {
2509
2615
  PENDING = "PENDING",
2510
2616
  ACCEPTED = "ACCEPTED",
2617
+ DECLINED = "DECLINED",
2511
2618
  EXPIRED = "EXPIRED",
2512
2619
  REVOKED = "REVOKED"
2513
2620
  }
@@ -2628,6 +2735,7 @@ export type DASHBOARD_DUPLICATE_COMPLETE = unknown;
2628
2735
  export type DASHBOARD_DUPLICATE_FAIL = unknown;
2629
2736
  export type DASHBOARD_DUPLICATE_START = unknown;
2630
2737
  export type DATA_MUTATION = unknown;
2738
+ export type DECLINED = unknown;
2631
2739
  export type DEV = unknown;
2632
2740
  export type DYNAMIC_TABLE_LEGACY = unknown;
2633
2741
  export type EXPIRED = unknown;
@@ -2677,7 +2785,6 @@ export type PROJECT_INVITE = unknown;
2677
2785
  export type PROJECT_USER_DELETE = unknown;
2678
2786
  export type PROJECT_USER_RESEND_INVITE = unknown;
2679
2787
  export type PROJECT_USER_UPDATE = unknown;
2680
- export type REJECTED = unknown;
2681
2788
  export type RELATION_CREATE = unknown;
2682
2789
  export type RELATION_DELETE = unknown;
2683
2790
  export type REVOKED = unknown;
@@ -2857,6 +2964,9 @@ export interface BasesHardDeleteBaseParams {
2857
2964
  export interface BasesListBasesParams {
2858
2965
  query?: ListBasesQueryDto;
2859
2966
  }
2967
+ export interface BasesListMyBasesParams {
2968
+ query?: ListBasesQueryDto;
2969
+ }
2860
2970
  export interface BasesUpdateBaseParams {
2861
2971
  id: string;
2862
2972
  body: UpdateBaseDto;
@@ -3672,6 +3782,10 @@ export interface ScheduledHooksUpdateScheduledHookParams {
3672
3782
  scriptId: string;
3673
3783
  body: UpdateScheduledHookDto;
3674
3784
  }
3785
+ export interface ScriptsCreateAndExecuteScriptParams {
3786
+ baseId: string;
3787
+ body: CreateAndExecuteScriptDto;
3788
+ }
3675
3789
  export interface ScriptsCreateScriptParams {
3676
3790
  baseId: string;
3677
3791
  body: CreateScriptDto;
@@ -3680,6 +3794,11 @@ export interface ScriptsDeleteScriptParams {
3680
3794
  baseId: string;
3681
3795
  scriptId: string;
3682
3796
  }
3797
+ export interface ScriptsExecuteScriptDirectParams {
3798
+ baseId: string;
3799
+ scriptId: string;
3800
+ body: ExecuteScriptDirectDto;
3801
+ }
3683
3802
  export interface ScriptsExecuteScriptParams {
3684
3803
  baseId: string;
3685
3804
  scriptId: string;
@@ -3703,6 +3822,11 @@ export interface ScriptsListScriptsParams {
3703
3822
  baseId: string;
3704
3823
  query?: ListScriptsQueryDto;
3705
3824
  }
3825
+ export interface ScriptsPrepareScriptParams {
3826
+ baseId: string;
3827
+ scriptId: string;
3828
+ body: PrepareScriptDto;
3829
+ }
3706
3830
  export interface ScriptsUpdateScriptParams {
3707
3831
  baseId: string;
3708
3832
  scriptId: string;
@@ -3949,6 +4073,18 @@ export interface WorkspaceMembersUpdateMemberParams {
3949
4073
  memberId: string;
3950
4074
  body: UpdateWorkspaceMemberDto;
3951
4075
  }
4076
+ export interface WorkspaceMyInvitesAcceptMyInviteParams {
4077
+ inviteId: string;
4078
+ }
4079
+ export interface WorkspaceMyInvitesDeclineMyInviteParams {
4080
+ inviteId: string;
4081
+ }
4082
+ export interface WorkspaceMyInvitesDeleteMyInviteParams {
4083
+ inviteId: string;
4084
+ }
4085
+ export interface WorkspaceMyInvitesListMyInvitesParams {
4086
+ query?: ListWorkspaceInvitesQueryDto;
4087
+ }
3952
4088
  export interface WorkspaceNotificationEmailChannelsCreateChannelParams {
3953
4089
  body: CreateWorkspaceNotificationEmailChannelDto;
3954
4090
  }