@redonvn/redai-backend-api-sdk 0.5.65 → 0.5.67

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 (61) hide show
  1. package/dist/cjs/generated/dynamic-table/services/base-members.service.js +0 -9
  2. package/dist/cjs/generated/dynamic-table/services/base-members.service.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 +1 -0
  12. package/dist/cjs/generated/dynamic-table/types.js.map +1 -1
  13. package/dist/cjs/generated/index.js +1 -3
  14. package/dist/cjs/generated/index.js.map +1 -1
  15. package/dist/cjs/generated/shared-types.js +227 -1
  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/services/base-members.service.d.ts +1 -2
  22. package/dist/esm/generated/dynamic-table/services/base-members.service.d.ts.map +1 -1
  23. package/dist/esm/generated/dynamic-table/services/base-members.service.js +0 -9
  24. package/dist/esm/generated/dynamic-table/services/base-members.service.js.map +1 -1
  25. package/dist/esm/generated/dynamic-table/services/bases.service.d.ts +2 -1
  26. package/dist/esm/generated/dynamic-table/services/bases.service.d.ts.map +1 -1
  27. package/dist/esm/generated/dynamic-table/services/bases.service.js +9 -0
  28. package/dist/esm/generated/dynamic-table/services/bases.service.js.map +1 -1
  29. package/dist/esm/generated/dynamic-table/services/index.d.ts +1 -0
  30. package/dist/esm/generated/dynamic-table/services/index.d.ts.map +1 -1
  31. package/dist/esm/generated/dynamic-table/services/index.js +1 -0
  32. package/dist/esm/generated/dynamic-table/services/index.js.map +1 -1
  33. package/dist/esm/generated/dynamic-table/services/scripts.service.d.ts +4 -1
  34. package/dist/esm/generated/dynamic-table/services/scripts.service.d.ts.map +1 -1
  35. package/dist/esm/generated/dynamic-table/services/scripts.service.js +27 -0
  36. package/dist/esm/generated/dynamic-table/services/scripts.service.js.map +1 -1
  37. package/dist/esm/generated/dynamic-table/services/workspace-my-invites.service.d.ts +11 -0
  38. package/dist/esm/generated/dynamic-table/services/workspace-my-invites.service.d.ts.map +1 -0
  39. package/dist/esm/generated/dynamic-table/services/workspace-my-invites.service.js +42 -0
  40. package/dist/esm/generated/dynamic-table/services/workspace-my-invites.service.js.map +1 -0
  41. package/dist/esm/generated/dynamic-table/types.d.ts +175 -59
  42. package/dist/esm/generated/dynamic-table/types.d.ts.map +1 -1
  43. package/dist/esm/generated/dynamic-table/types.js +1 -0
  44. package/dist/esm/generated/dynamic-table/types.js.map +1 -1
  45. package/dist/esm/generated/index.d.ts +1 -2
  46. package/dist/esm/generated/index.d.ts.map +1 -1
  47. package/dist/esm/generated/index.js +0 -1
  48. package/dist/esm/generated/index.js.map +1 -1
  49. package/dist/esm/generated/shared-types.d.ts +433 -10
  50. package/dist/esm/generated/shared-types.d.ts.map +1 -1
  51. package/dist/esm/generated/shared-types.js +226 -0
  52. package/dist/esm/generated/shared-types.js.map +1 -1
  53. package/dist/esm/generated/workspace/types.d.ts +5 -365
  54. package/dist/esm/generated/workspace/types.d.ts.map +1 -1
  55. package/dist/esm/generated/workspace/types.js +1 -208
  56. package/dist/esm/generated/workspace/types.js.map +1 -1
  57. package/dist/esm/index.d.ts +4 -2
  58. package/dist/esm/index.d.ts.map +1 -1
  59. package/dist/esm/index.js +2 -1
  60. package/dist/esm/index.js.map +1 -1
  61. package/package.json +4 -2
@@ -1,6 +1,6 @@
1
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
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';
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, HTML, 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, 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, WORKSPACE_CREATE, WorkspaceRoleCode, WorkspaceSettings, WorkspaceSystemRoleCode, XAI, XLSX, XML, Y_AXIS, YEAR, YESTERDAY, ZALO_BOT, ZALO_OA, ZALO_PERSONAL } from '../shared-types';
4
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';
5
5
  export interface AcceptWorkspaceInviteDto {
6
6
  token: string;
@@ -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?: {
@@ -1792,6 +1815,7 @@ export interface ListViewsQueryDto {
1792
1815
  }
1793
1816
  export type ListWorkspaceInvitesQueryDto = PaginationQueryDto & {
1794
1817
  status?: WorkspaceInviteStatus;
1818
+ excludeRevoked?: boolean;
1795
1819
  };
1796
1820
  export type ListWorkspaceJoinRequestsQueryDto = PaginationQueryDto;
1797
1821
  export type ListWorkspaceMembersQueryDto = PaginationQueryDto & {
@@ -1896,6 +1920,24 @@ export interface PinCommandPaletteDto {
1896
1920
  id: string;
1897
1921
  label: string;
1898
1922
  }
1923
+ export interface PrepareScriptDto {
1924
+ input?: {
1925
+ [key: string]: unknown;
1926
+ };
1927
+ context?: {
1928
+ [key: string]: unknown;
1929
+ };
1930
+ }
1931
+ export interface PrepareScriptResponseDto {
1932
+ executionToken: string;
1933
+ title?: string;
1934
+ description?: string;
1935
+ items: (ScriptConfigItemDto)[];
1936
+ defaults: {
1937
+ [key: string]: unknown;
1938
+ };
1939
+ expiresAt: string;
1940
+ }
1899
1941
  export interface PreviewImportDto {
1900
1942
  fileId?: string;
1901
1943
  sourceType?: AttachmentSourceType;
@@ -2046,6 +2088,20 @@ export interface ScheduledHookResponseDto {
2046
2088
  createdAt?: unknown | null;
2047
2089
  updatedAt?: unknown | null;
2048
2090
  }
2091
+ export interface ScriptConfigItemDto {
2092
+ id: string;
2093
+ type: 'table' | 'view' | 'field' | 'select' | 'text' | 'number' | 'boolean' | 'date';
2094
+ label?: string;
2095
+ description?: string;
2096
+ parentTable?: string;
2097
+ parentView?: string;
2098
+ required?: boolean;
2099
+ options?: (ScriptConfigOptionDto)[];
2100
+ }
2101
+ export interface ScriptConfigOptionDto {
2102
+ label: string;
2103
+ value?: unknown;
2104
+ }
2049
2105
  export type ScriptDetailResponseDto = ScriptResponseDto & {
2050
2106
  script: unknown | null;
2051
2107
  };
@@ -2055,10 +2111,19 @@ export interface ScriptExecuteResponseDto {
2055
2111
  output?: unknown | null;
2056
2112
  errorMessage?: unknown | null;
2057
2113
  durationMs?: unknown | null;
2114
+ logs?: (ScriptLogResponseDto)[] | null;
2115
+ steps?: (ScriptStepResponseDto)[] | null;
2116
+ stats?: ScriptStatsResponseDto;
2117
+ warnings?: (string)[] | null;
2058
2118
  }
2059
2119
  export declare enum ScriptLanguage {
2060
2120
  JAVASCRIPT = "javascript"
2061
2121
  }
2122
+ export interface ScriptLogResponseDto {
2123
+ message: string;
2124
+ level: 'info' | 'success' | 'warning' | 'error';
2125
+ createdAt: number;
2126
+ }
2062
2127
  export interface ScriptResponseDto {
2063
2128
  id: unknown;
2064
2129
  workspaceId: unknown | null;
@@ -2096,8 +2161,15 @@ export interface ScriptRunResponseDto {
2096
2161
  contextSnapshot?: {
2097
2162
  [key: string]: unknown;
2098
2163
  } | null;
2164
+ prepareSnapshot?: {
2165
+ [key: string]: unknown;
2166
+ } | null;
2099
2167
  output?: unknown | null;
2100
2168
  errorMessage?: unknown | null;
2169
+ logs?: (ScriptLogResponseDto)[] | null;
2170
+ steps?: (ScriptStepResponseDto)[] | null;
2171
+ stats?: ScriptStatsResponseDto;
2172
+ warnings?: (string)[] | null;
2101
2173
  startedAt?: unknown | null;
2102
2174
  finishedAt?: unknown | null;
2103
2175
  durationMs?: unknown | null;
@@ -2110,6 +2182,20 @@ export declare enum ScriptRunStatus {
2110
2182
  FAILED = "failed",
2111
2183
  TIMEOUT = "timeout"
2112
2184
  }
2185
+ export interface ScriptStatsResponseDto {
2186
+ selectCalls: number;
2187
+ updateCalls: number;
2188
+ recordsRead: number;
2189
+ recordsUpdated: number;
2190
+ rpcErrors: number;
2191
+ }
2192
+ export interface ScriptStepResponseDto {
2193
+ title: string;
2194
+ description?: string;
2195
+ icon?: string;
2196
+ color?: string;
2197
+ createdAt: number;
2198
+ }
2113
2199
  export interface SecureAttachmentTokenDto {
2114
2200
  ttlSeconds?: number;
2115
2201
  }
@@ -2233,13 +2319,11 @@ export type UpdateAclEntryDto = Partial<CreateAclEntryDto>;
2233
2319
  export type UpdateApiTokenDto = Partial<CreateApiTokenDto> & {
2234
2320
  revoked?: unknown | null;
2235
2321
  };
2236
- export type UpdateAreaChartWidgetDto = UpdateWidgetMutationFieldsDto & {
2237
- type?: 'chart';
2238
- config?: AreaChartWidgetConfigDto;
2322
+ export type UpdateAreaChartWidgetDto = UpdateModelBoundWidgetMutationFieldsDto & {
2323
+ config?: CreateAreaChartWidgetConfigByTypeDto;
2239
2324
  };
2240
- export type UpdateBarChartWidgetDto = UpdateWidgetMutationFieldsDto & {
2241
- type?: 'chart';
2242
- config?: BarChartWidgetConfigDto;
2325
+ export type UpdateBarChartWidgetDto = UpdateModelBoundWidgetMutationFieldsDto & {
2326
+ config?: CreateBarChartWidgetConfigByTypeDto;
2243
2327
  };
2244
2328
  export type UpdateBaseDto = Partial<CreateBaseDto>;
2245
2329
  export type UpdateBaseMemberDto = Partial<AddBaseMemberDto> & {
@@ -2267,44 +2351,40 @@ export interface UpdateCommentDto {
2267
2351
  mentions?: (CommentMentionInputDto)[];
2268
2352
  }
2269
2353
  export type UpdateDashboardDto = Partial<CreateDashboardDto>;
2270
- export type UpdateDonutChartWidgetDto = UpdateWidgetMutationFieldsDto & {
2271
- type?: 'chart';
2272
- config?: DonutChartWidgetConfigDto;
2354
+ export type UpdateDonutChartWidgetDto = UpdateModelBoundWidgetMutationFieldsDto & {
2355
+ config?: CreateDonutChartWidgetConfigByTypeDto;
2273
2356
  };
2274
2357
  export type UpdateFilterPresetDto = Partial<CreateFilterPresetDto>;
2275
2358
  export type UpdateFormViewDto = Partial<FormViewConfigDto>;
2276
2359
  export type UpdateGalleryViewDto = Partial<GalleryViewConfigDto>;
2277
2360
  export type UpdateGridViewDto = Partial<GridViewConfigDto>;
2278
2361
  export type UpdateHookDto = Partial<CreateHookDto>;
2279
- export type UpdateIframeWidgetByTypeDto = UpdateWidgetMutationFieldsDto & {
2280
- type?: 'iframe';
2362
+ export type UpdateIframeWidgetByTypeDto = UpdateWidgetPresentationFieldsDto & {
2281
2363
  config?: IframeWidgetConfigDto;
2282
2364
  };
2283
2365
  export type UpdateKanbanViewDto = Partial<KanbanViewConfigDto>;
2284
- export type UpdateLineChartWidgetDto = UpdateWidgetMutationFieldsDto & {
2285
- type?: 'chart';
2286
- config?: LineChartWidgetConfigDto;
2366
+ export type UpdateLineChartWidgetDto = UpdateModelBoundWidgetMutationFieldsDto & {
2367
+ config?: CreateLineChartWidgetConfigByTypeDto;
2287
2368
  };
2288
2369
  export type UpdateMapViewDto = Partial<MapViewConfigDto>;
2289
- export type UpdateMetricWidgetByTypeDto = UpdateWidgetMutationFieldsDto & {
2290
- type?: 'metric';
2370
+ export type UpdateMetricWidgetByTypeDto = UpdateModelBoundWidgetMutationFieldsDto & {
2291
2371
  config?: MetricWidgetConfigDto;
2292
2372
  };
2373
+ export type UpdateModelBoundWidgetMutationFieldsDto = UpdateWidgetPresentationFieldsDto & {
2374
+ fkModelId?: unknown | null;
2375
+ };
2293
2376
  export type UpdatePermissionDto = Partial<CreatePermissionDto>;
2294
2377
  export type UpdatePermissionSubjectDto = Partial<CreatePermissionSubjectDto>;
2295
- export type UpdatePieChartWidgetDto = UpdateWidgetMutationFieldsDto & {
2296
- type?: 'chart';
2297
- config?: PieChartWidgetConfigDto;
2378
+ export type UpdatePieChartWidgetDto = UpdateModelBoundWidgetMutationFieldsDto & {
2379
+ config?: CreatePieChartWidgetConfigByTypeDto;
2298
2380
  };
2299
- export type UpdateRadarChartWidgetDto = UpdateWidgetMutationFieldsDto & {
2300
- type?: 'chart';
2301
- config?: RadarChartWidgetConfigDto;
2381
+ export type UpdateRadarChartWidgetDto = UpdateModelBoundWidgetMutationFieldsDto & {
2382
+ config?: CreateRadarChartWidgetConfigByTypeDto;
2302
2383
  };
2303
2384
  export interface UpdateRecordFieldDto {
2304
2385
  value: JsonValue;
2305
2386
  }
2306
- export type UpdateRedaiViewWidgetByTypeDto = UpdateWidgetMutationFieldsDto & {
2307
- type?: 'redai_view';
2387
+ export type UpdateRedaiViewWidgetByTypeDto = UpdateViewBoundWidgetMutationFieldsDto & {
2308
2388
  config?: RedaiViewWidgetConfigDto;
2309
2389
  };
2310
2390
  export type UpdateRowColorConditionDto = Partial<CreateRowColorConditionDto>;
@@ -2333,14 +2413,16 @@ export interface UpdateTableDto {
2333
2413
  };
2334
2414
  }
2335
2415
  export type UpdateTableFieldDto = Partial<CreateTableFieldDto>;
2336
- export type UpdateTextWidgetByTypeDto = UpdateWidgetMutationFieldsDto & {
2337
- type?: 'text';
2416
+ export type UpdateTextWidgetByTypeDto = UpdateWidgetPresentationFieldsDto & {
2338
2417
  config?: TextWidgetConfigDto;
2339
2418
  };
2340
2419
  export interface UpdateUserUiPreferencesDto {
2341
2420
  defaultWorkspaceId?: unknown | null;
2342
2421
  defaultBaseId?: unknown | null;
2343
2422
  }
2423
+ export type UpdateViewBoundWidgetMutationFieldsDto = UpdateModelBoundWidgetMutationFieldsDto & {
2424
+ fkViewId?: unknown | null;
2425
+ };
2344
2426
  export type UpdateViewColumnDto = Partial<CreateViewColumnDto>;
2345
2427
  export type UpdateViewColumnItemDto = UpdateViewColumnDto & {
2346
2428
  columnId: string;
@@ -2360,6 +2442,7 @@ export interface UpdateWidgetLayoutDto {
2360
2442
  sizeY?: number | null;
2361
2443
  }
2362
2444
  export type UpdateWidgetMutationFieldsDto = Partial<WidgetMutationFieldsDto>;
2445
+ export type UpdateWidgetPresentationFieldsDto = Partial<WidgetPresentationFieldsDto>;
2363
2446
  export type UpdateWorkspaceDto = Partial<CreateWorkspaceDto>;
2364
2447
  export interface UpdateWorkspaceInviteLinkSettingsDto {
2365
2448
  allowJoinViaInviteLink?: boolean;
@@ -2432,7 +2515,8 @@ export interface WidgetFilterNodeDto {
2432
2515
  order?: number | null;
2433
2516
  children?: (WidgetFilterNodeDto)[];
2434
2517
  }
2435
- export interface WidgetMutationFieldsDto {
2518
+ export type WidgetMutationFieldsDto = WidgetPresentationFieldsDto;
2519
+ export interface WidgetPresentationFieldsDto {
2436
2520
  title: string;
2437
2521
  description?: unknown | null;
2438
2522
  fkModelId?: unknown | null;
@@ -2492,6 +2576,7 @@ export interface WorkspaceInviteResponseDto {
2492
2576
  id: string;
2493
2577
  workspaceId: string;
2494
2578
  email: string;
2579
+ scopeRoleId: string;
2495
2580
  roleCode: WorkspaceRoleCode;
2496
2581
  scope: MembershipScope;
2497
2582
  baseId?: string | null;
@@ -2504,10 +2589,16 @@ export interface WorkspaceInviteResponseDto {
2504
2589
  acceptedAt?: number | null;
2505
2590
  createdAt: number;
2506
2591
  updatedAt: number;
2592
+ workspaceName?: string | null;
2593
+ workspaceLogo?: string | null;
2594
+ ownerId?: number | null;
2595
+ ownerName?: string | null;
2596
+ ownerAvatarUrl?: string | null;
2507
2597
  }
2508
2598
  export declare enum WorkspaceInviteStatus {
2509
2599
  PENDING = "PENDING",
2510
2600
  ACCEPTED = "ACCEPTED",
2601
+ DECLINED = "DECLINED",
2511
2602
  EXPIRED = "EXPIRED",
2512
2603
  REVOKED = "REVOKED"
2513
2604
  }
@@ -2628,6 +2719,7 @@ export type DASHBOARD_DUPLICATE_COMPLETE = unknown;
2628
2719
  export type DASHBOARD_DUPLICATE_FAIL = unknown;
2629
2720
  export type DASHBOARD_DUPLICATE_START = unknown;
2630
2721
  export type DATA_MUTATION = unknown;
2722
+ export type DECLINED = unknown;
2631
2723
  export type DEV = unknown;
2632
2724
  export type DYNAMIC_TABLE_LEGACY = unknown;
2633
2725
  export type EXPIRED = unknown;
@@ -2677,7 +2769,6 @@ export type PROJECT_INVITE = unknown;
2677
2769
  export type PROJECT_USER_DELETE = unknown;
2678
2770
  export type PROJECT_USER_RESEND_INVITE = unknown;
2679
2771
  export type PROJECT_USER_UPDATE = unknown;
2680
- export type REJECTED = unknown;
2681
2772
  export type RELATION_CREATE = unknown;
2682
2773
  export type RELATION_DELETE = unknown;
2683
2774
  export type REVOKED = unknown;
@@ -2745,7 +2836,6 @@ export type WIDGET_CREATE = unknown;
2745
2836
  export type WIDGET_DELETE = unknown;
2746
2837
  export type WIDGET_DUPLICATE = unknown;
2747
2838
  export type WIDGET_UPDATE = unknown;
2748
- export type WORKSPACE_CREATE = unknown;
2749
2839
  export type WORKSPACE_DELETE = unknown;
2750
2840
  export type WORKSPACE_UPDATE = unknown;
2751
2841
  export type WORKSPACE_UPGRADE_REQUEST = unknown;
@@ -2831,9 +2921,6 @@ export interface BaseMembersLeaveBaseParams {
2831
2921
  export interface BaseMembersListBaseMembersParams {
2832
2922
  query?: ListBaseMembersQueryDto;
2833
2923
  }
2834
- export interface BaseMembersRemoveBaseMemberParams {
2835
- baseMemberId: string;
2836
- }
2837
2924
  export interface BaseMembersUpdateBaseMemberParams {
2838
2925
  baseMemberId: string;
2839
2926
  body: UpdateBaseMemberDto;
@@ -2857,6 +2944,9 @@ export interface BasesHardDeleteBaseParams {
2857
2944
  export interface BasesListBasesParams {
2858
2945
  query?: ListBasesQueryDto;
2859
2946
  }
2947
+ export interface BasesListMyBasesParams {
2948
+ query?: ListBasesQueryDto;
2949
+ }
2860
2950
  export interface BasesUpdateBaseParams {
2861
2951
  id: string;
2862
2952
  body: UpdateBaseDto;
@@ -3672,6 +3762,10 @@ export interface ScheduledHooksUpdateScheduledHookParams {
3672
3762
  scriptId: string;
3673
3763
  body: UpdateScheduledHookDto;
3674
3764
  }
3765
+ export interface ScriptsCreateAndExecuteScriptParams {
3766
+ baseId: string;
3767
+ body: CreateAndExecuteScriptDto;
3768
+ }
3675
3769
  export interface ScriptsCreateScriptParams {
3676
3770
  baseId: string;
3677
3771
  body: CreateScriptDto;
@@ -3680,6 +3774,11 @@ export interface ScriptsDeleteScriptParams {
3680
3774
  baseId: string;
3681
3775
  scriptId: string;
3682
3776
  }
3777
+ export interface ScriptsExecuteScriptDirectParams {
3778
+ baseId: string;
3779
+ scriptId: string;
3780
+ body: ExecuteScriptDirectDto;
3781
+ }
3683
3782
  export interface ScriptsExecuteScriptParams {
3684
3783
  baseId: string;
3685
3784
  scriptId: string;
@@ -3703,6 +3802,11 @@ export interface ScriptsListScriptsParams {
3703
3802
  baseId: string;
3704
3803
  query?: ListScriptsQueryDto;
3705
3804
  }
3805
+ export interface ScriptsPrepareScriptParams {
3806
+ baseId: string;
3807
+ scriptId: string;
3808
+ body: PrepareScriptDto;
3809
+ }
3706
3810
  export interface ScriptsUpdateScriptParams {
3707
3811
  baseId: string;
3708
3812
  scriptId: string;
@@ -3949,6 +4053,18 @@ export interface WorkspaceMembersUpdateMemberParams {
3949
4053
  memberId: string;
3950
4054
  body: UpdateWorkspaceMemberDto;
3951
4055
  }
4056
+ export interface WorkspaceMyInvitesAcceptMyInviteParams {
4057
+ inviteId: string;
4058
+ }
4059
+ export interface WorkspaceMyInvitesDeclineMyInviteParams {
4060
+ inviteId: string;
4061
+ }
4062
+ export interface WorkspaceMyInvitesDeleteMyInviteParams {
4063
+ inviteId: string;
4064
+ }
4065
+ export interface WorkspaceMyInvitesListMyInvitesParams {
4066
+ query?: ListWorkspaceInvitesQueryDto;
4067
+ }
3952
4068
  export interface WorkspaceNotificationEmailChannelsCreateChannelParams {
3953
4069
  body: CreateWorkspaceNotificationEmailChannelDto;
3954
4070
  }