@redonvn/redai-backend-api-sdk 0.5.3 → 0.5.4

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 (35) hide show
  1. package/dist/cjs/generated/ask-ai/types.js +12 -155
  2. package/dist/cjs/generated/ask-ai/types.js.map +1 -1
  3. package/dist/cjs/generated/dynamic-table/services/tables.service.js +9 -0
  4. package/dist/cjs/generated/dynamic-table/services/tables.service.js.map +1 -1
  5. package/dist/cjs/generated/dynamic-table/types.js +13 -224
  6. package/dist/cjs/generated/dynamic-table/types.js.map +1 -1
  7. package/dist/cjs/generated/index.js +3 -13
  8. package/dist/cjs/generated/index.js.map +1 -1
  9. package/dist/cjs/generated/shared-types.js.map +1 -1
  10. package/dist/cjs/index.js +2 -12
  11. package/dist/cjs/index.js.map +1 -1
  12. package/dist/esm/generated/ask-ai/types.d.ts +13 -493
  13. package/dist/esm/generated/ask-ai/types.d.ts.map +1 -1
  14. package/dist/esm/generated/ask-ai/types.js +1 -154
  15. package/dist/esm/generated/ask-ai/types.js.map +1 -1
  16. package/dist/esm/generated/dynamic-table/services/tables.service.d.ts +2 -1
  17. package/dist/esm/generated/dynamic-table/services/tables.service.d.ts.map +1 -1
  18. package/dist/esm/generated/dynamic-table/services/tables.service.js +9 -0
  19. package/dist/esm/generated/dynamic-table/services/tables.service.js.map +1 -1
  20. package/dist/esm/generated/dynamic-table/types.d.ts +57 -648
  21. package/dist/esm/generated/dynamic-table/types.d.ts.map +1 -1
  22. package/dist/esm/generated/dynamic-table/types.js +1 -223
  23. package/dist/esm/generated/dynamic-table/types.js.map +1 -1
  24. package/dist/esm/generated/index.d.ts +4 -4
  25. package/dist/esm/generated/index.d.ts.map +1 -1
  26. package/dist/esm/generated/index.js +3 -3
  27. package/dist/esm/generated/index.js.map +1 -1
  28. package/dist/esm/generated/shared-types.d.ts +4 -0
  29. package/dist/esm/generated/shared-types.d.ts.map +1 -1
  30. package/dist/esm/generated/shared-types.js.map +1 -1
  31. package/dist/esm/index.d.ts +2 -2
  32. package/dist/esm/index.d.ts.map +1 -1
  33. package/dist/esm/index.js +1 -1
  34. package/dist/esm/index.js.map +1 -1
  35. package/package.json +1 -1
@@ -1,4 +1,7 @@
1
- export type ApiResponseDto<T = unknown> = import('../../core/types').ApiResponseDto<T>;
1
+ import type { FieldConfig, TableMeta, TableSettings, ViewMeta } from '../shared-types';
2
+ import { ExternalDataType, FieldType, ModelType, ProviderEnum, ReferentialAction, RelationType, RollupFunction, RowColoringMode, StorageMode, ViewLockType, ViewType } from '../shared-types';
3
+ export type { ACB_BANK, ACTION, ACTIVE, ADMIN, AGENT_DESKTOP_SDK_EXE, AHAMOVE, AI, ALIBABA_CODING_PLAN, ANTHROPIC, ApiResponseDto, ARCHIVED, ARRAY, ASC, ATTACHMENT, AUTONUMBER, AVG, AVG_DISTINCT, AZURE_AI, BARCODE, BELONGS_TO, BIGINT, BIGSERIAL, BINARY, BIT, BLOB, BOOLEAN, BUTTON, BYTEA, CALENDAR, CASCADE, CENTER, CHAR, CIDR, CLOUD_AWS_S3, CLOUD_AZURE_BLOB, CLOUD_BACKBLAZE_B2, CLOUD_CLOUDFLARE_R2, CLOUD_GOOGLE_CLOUD_STORAGE, CLOUD_MINIO, CLOUD_WASABI, COLLABORATIVE, ColumnResponseDto, COUNT, COUNT_DISTINCT, CREATE, CREATED_BY, CREATED_TIME, CURRENCY, CUSTOM, DASHBOARD, DATABASE_MARIADB, DATABASE_MONGODB, DATABASE_MSSQL, DATABASE_MYSQL, DATABASE_ORACLE, DATABASE_POSTGRESQL, DATABASE_REDIS, DATABASE_SQLITE, DATE, DATETIME, DATETIME2, DECIMAL, DEEPSEEK, DEFAULT, DELETE, DESC, DISABLED, DOCUMENT, DOUBLE, DURATION, EAV, EMAIL, EMAIL_GMAIL, EMAIL_OUTLOOK, EMAIL_SMTP, EMAIL_TWILIO_SENDGRID, ENUM, ExternalSyncConfig, FACEBOOK_ADS, FACEBOOK_BUSINESS, FACEBOOK_PAGE, FACEBOOK_PERSONAL, FAILED, FieldConfig, FieldMeta, FILTER, FLOAT, FORM, FORMULA, GALLERY, GEOGRAPHY, GEOMETRY, GET, GETFLY_CRM, GHN, GHTK, GOOGLE_ADS, GOOGLE_CALENDAR, GOOGLE_CLOUD_PROJECT, GOOGLE_DOCS, GOOGLE_DRIVE, GOOGLE_SHEETS, GRID, HAS_MANY, HSTORE, IMAGE, INET, INT, INTEGER, INTERVAL, JSON, JSONB, KANBAN, KL_BANK, LINK_TO_ANOTHER_RECORD, LINKS, LOCKED, LONG_TEXT, LONGTEXT, LOOKUP, LookupConfigResponseDto, MACADDR, MANY_TO_MANY, MAP, MAX, MB_BANK, MEDIUMINT, MEDIUMTEXT, MIN, MODIFIED_BY, MODIFIED_TIME, MONEY, MULTI_SELECT, NCHAR, NO, NO_ACTION, NONE, NULL, NUMBER, NUMERIC, NVARCHAR, OBJECT_ID, OCB_BANK, ONE_TO_ONE, OPENAI, OPENROUTER, ORDER, PATCH, PENDING, PERCENT, PERPLEXITY_AI, PERSONAL, PHONE, PHYSICAL, POINT, POST, PROXY, PUT, QR_CODE, RATING, REAL, REDAI, REDAI_EXTENSION, REDAI_LLM, RELATION, RelationConfigResponseDto, RESTRICT, ROLLUP, RollupConfigResponseDto, SELECT, SERIAL, SET, SET_DEFAULT, SET_NULL, SMALLDATETIME, SMALLINT, SMALLMONEY, SMS_ESMS, SMS_ESMS_ADVERTISING, SMS_ESMS_CUSTOMER_CARE, SMS_ESMS_VIBER, SMS_FPT, SMS_SPEED, SMS_TWILIO, SMS_VONAGE, SUM, SUM_DISTINCT, T, TABLE, TableMeta, TableResponseDto, TableSettings, TELEGRAM, TELEGRAM_BOT, TEXT, TIME, TIMESTAMP, TIMESTAMPTZ, TINYINT, TINYTEXT, UNIQUEIDENTIFIER, UPDATE, URL, USER, UUID, VARBINARY, VARCHAR, VIEW, ViewMeta, ViewResponseDto, WEBSITE, XAI, XML, YEAR, ZALO_BOT, ZALO_OA, ZALO_PERSONAL } from '../shared-types';
4
+ export { ExternalDataType, FieldType, ModelType, ProviderEnum, ReferentialAction, RelationType, RollupFunction, RowColoringMode, StorageMode, ViewLockType, ViewType } from '../shared-types';
2
5
  export interface AcceptWorkspaceInviteDto {
3
6
  token: string;
4
7
  }
@@ -248,6 +251,9 @@ export interface BulkColumnsWithMetaDto {
248
251
  delete?: BulkColumnDeleteDto[];
249
252
  }
250
253
  export type BulkCreateTableFieldDto = CreateTableFieldDto;
254
+ export interface BulkCreateTablesDto {
255
+ tables: CreateTableWithRefsDto[];
256
+ }
251
257
  export type BulkDataListDto = LimitOffsetQueryDto & {
252
258
  viewId?: string;
253
259
  fields?: JsonValue;
@@ -304,54 +310,6 @@ export interface CalendarViewResponseDto {
304
310
  createdAt: number;
305
311
  updatedAt: number | null;
306
312
  }
307
- export interface ColumnResponseDto {
308
- id: string;
309
- tableId: string;
310
- workspaceId: string | null;
311
- baseId: string | null;
312
- sourceId: string | null;
313
- name: string;
314
- keyName: string;
315
- description: string | null;
316
- columnName: string | null;
317
- type: FieldType;
318
- order: number | null;
319
- isPrimary: boolean | null;
320
- isPrimaryValue: boolean | null;
321
- isRequired: boolean | null;
322
- isUnique: boolean | null;
323
- isAutoIncrement: boolean | null;
324
- isUnsigned: boolean | null;
325
- isSystem: boolean | null;
326
- isReadonly: boolean | null;
327
- isVirtual: boolean | null;
328
- uiDataType: string | null;
329
- dataType: string | null;
330
- numericPrecision: string | null;
331
- numericScale: string | null;
332
- characterLength: string | null;
333
- columnDefault: string | null;
334
- columnType: string | null;
335
- columnComment: string | null;
336
- columnSequenceName: string | null;
337
- dataTypeExtra: string | null;
338
- dataTypeExtraPrecision: string | null;
339
- dataTypeExtraScale: string | null;
340
- autoUpdated: boolean | null;
341
- config: FieldConfig | null;
342
- meta: FieldMeta | null;
343
- validation: string | null;
344
- externalColumnName: string | null;
345
- externalDataType: ExternalDataType | null;
346
- createdAt: number | null;
347
- updatedAt: number | null;
348
- relationConfig?: RelationConfigResponseDto | null;
349
- lookupConfig?: LookupConfigResponseDto | null;
350
- rollupConfig?: RollupConfigResponseDto | null;
351
- inverseFieldId?: string | null;
352
- inverseFieldKey?: string | null;
353
- inverseFieldName?: string | null;
354
- }
355
313
  export interface CommandPaletteSearchQueryDto {
356
314
  q: string;
357
315
  limit?: number;
@@ -547,6 +505,25 @@ export type CreateTableFieldDto = CreateColumnDto & {
547
505
  lookupConfig?: LookupConfigDto;
548
506
  rollupConfig?: RollupConfigDto;
549
507
  };
508
+ export type CreateTableFieldWithRefsDto = CreateColumnDto & {
509
+ type: FieldType;
510
+ relationConfig?: RelationConfigWithRefsDto;
511
+ lookupConfig?: LookupConfigWithRefsDto;
512
+ rollupConfig?: RollupConfigWithRefsDto;
513
+ };
514
+ export interface CreateTableWithRefsDto {
515
+ name: string;
516
+ slug: string;
517
+ clientKey?: string;
518
+ sourceId?: string | null;
519
+ type?: ModelType | null;
520
+ storageMode?: StorageMode | null;
521
+ description?: string | null;
522
+ order?: number | null;
523
+ meta?: TableMeta;
524
+ settings?: TableSettings;
525
+ fields?: CreateTableFieldWithRefsDto[];
526
+ }
550
527
  export interface CreateViewColumnDto {
551
528
  fieldId: string;
552
529
  show?: boolean;
@@ -631,177 +608,9 @@ export interface ExportOptionsDto {
631
608
  export interface ExportStartResponseDto {
632
609
  jobId: string;
633
610
  }
634
- export declare enum ExternalDataType {
635
- VARCHAR = "VARCHAR",
636
- CHAR = "CHAR",
637
- TEXT = "TEXT",
638
- NVARCHAR = "NVARCHAR",
639
- NCHAR = "NCHAR",
640
- LONGTEXT = "LONGTEXT",
641
- MEDIUMTEXT = "MEDIUMTEXT",
642
- TINYTEXT = "TINYTEXT",
643
- INTEGER = "INTEGER",
644
- INT = "INT",
645
- SMALLINT = "SMALLINT",
646
- BIGINT = "BIGINT",
647
- TINYINT = "TINYINT",
648
- MEDIUMINT = "MEDIUMINT",
649
- SERIAL = "SERIAL",
650
- BIGSERIAL = "BIGSERIAL",
651
- DECIMAL = "DECIMAL",
652
- NUMERIC = "NUMERIC",
653
- FLOAT = "FLOAT",
654
- DOUBLE = "DOUBLE",
655
- REAL = "REAL",
656
- MONEY = "MONEY",
657
- SMALLMONEY = "SMALLMONEY",
658
- BOOLEAN = "BOOLEAN",
659
- BIT = "BIT",
660
- DATE = "DATE",
661
- TIME = "TIME",
662
- DATETIME = "DATETIME",
663
- DATETIME2 = "DATETIME2",
664
- SMALLDATETIME = "SMALLDATETIME",
665
- TIMESTAMP = "TIMESTAMP",
666
- TIMESTAMPTZ = "TIMESTAMPTZ",
667
- YEAR = "YEAR",
668
- BINARY = "BINARY",
669
- VARBINARY = "VARBINARY",
670
- BLOB = "BLOB",
671
- BYTEA = "BYTEA",
672
- IMAGE = "IMAGE",
673
- JSON = "JSON",
674
- JSONB = "JSONB",
675
- ARRAY = "ARRAY",
676
- UUID = "UUID",
677
- UNIQUEIDENTIFIER = "UNIQUEIDENTIFIER",
678
- GEOMETRY = "GEOMETRY",
679
- GEOGRAPHY = "GEOGRAPHY",
680
- POINT = "POINT",
681
- XML = "XML",
682
- ENUM = "ENUM",
683
- SET = "SET",
684
- OBJECT_ID = "OBJECT_ID",
685
- DOCUMENT = "DOCUMENT",
686
- INTERVAL = "INTERVAL",
687
- CIDR = "CIDR",
688
- INET = "INET",
689
- MACADDR = "MACADDR",
690
- HSTORE = "HSTORE",
691
- CUSTOM = "CUSTOM"
692
- }
693
- export interface ExternalSyncConfig {
694
- source: 'google_sheets' | 'airtable' | 'notion' | 'api';
695
- sourceId?: string;
696
- syncInterval?: number;
697
- lastSyncAt?: Date;
698
- }
699
- export interface FieldConfig {
700
- options?: {
701
- id: string;
702
- label: string;
703
- color?: string;
704
- }[];
705
- precision?: number;
706
- currencySymbol?: string;
707
- currencyCode?: string;
708
- percentFormat?: 'decimal' | 'whole';
709
- maxRating?: number;
710
- ratingIcon?: 'star' | 'heart' | 'thumb';
711
- prefix?: string;
712
- startNumber?: number;
713
- digitCount?: number;
714
- dateFormat?: string;
715
- timeFormat?: '12h' | '24h';
716
- includeTime?: boolean;
717
- timezone?: string;
718
- durationFormat?: 'h:mm' | 'h:mm:ss' | 'days';
719
- targetTableId?: string;
720
- allowMultiple?: boolean;
721
- symmetricFieldId?: string;
722
- relationFieldId?: string;
723
- lookupFieldId?: string;
724
- rollupRelationFieldId?: string;
725
- rollupFieldId?: string;
726
- rollupFunction?: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'counta' | 'countall';
727
- formulaExpression?: string;
728
- outputType?: 'number' | 'text' | 'date' | 'boolean';
729
- enableRichText?: boolean;
730
- maxLength?: number;
731
- defaultCountryCode?: string;
732
- urlType?: 'any' | 'image' | 'video';
733
- allowMultipleUsers?: boolean;
734
- notifyOnAssign?: boolean;
735
- allowedFileTypes?: string[];
736
- maxFileSize?: number;
737
- maxFiles?: number;
738
- qrValueFieldId?: string;
739
- barcodeValueFieldId?: string;
740
- barcodeFormat?: string;
741
- buttonLabel?: string;
742
- buttonType?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info';
743
- buttonActionType?: 'url' | 'api' | 'script' | 'email' | 'page';
744
- buttonActionConfig?: Record<string, any>;
745
- buttonIcon?: string;
746
- buttonTooltip?: string;
747
- buttonWidth?: number;
748
- buttonConfirmation?: string;
749
- aiPrompt?: string;
750
- aiModel?: string;
751
- aiConfig?: Record<string, any>;
752
- }
753
- export type FieldMeta = {
754
- placeholder?: string;
755
- helpText?: string;
756
- icon?: string;
757
- color?: string;
758
- display?: {
759
- width?: number;
760
- hidden?: boolean;
761
- order?: number;
762
- };
763
- validation?: {
764
- min?: number;
765
- max?: number;
766
- pattern?: string;
767
- message?: string;
768
- };
611
+ export type FieldRefWithTableDto = RelationFieldRefDto & {
612
+ tableClientKey?: string;
769
613
  };
770
- export declare enum FieldType {
771
- TEXT = "text",
772
- LONG_TEXT = "long_text",
773
- EMAIL = "email",
774
- PHONE = "phone",
775
- URL = "url",
776
- NUMBER = "number",
777
- CURRENCY = "currency",
778
- PERCENT = "percent",
779
- RATING = "rating",
780
- AUTONUMBER = "autonumber",
781
- ORDER = "order",
782
- SELECT = "select",
783
- MULTI_SELECT = "multi_select",
784
- BOOLEAN = "boolean",
785
- DATE = "date",
786
- DATETIME = "datetime",
787
- DURATION = "duration",
788
- RELATION = "relation",
789
- LINK_TO_ANOTHER_RECORD = "link_to_another_record",
790
- LINKS = "links",
791
- LOOKUP = "lookup",
792
- ROLLUP = "rollup",
793
- FORMULA = "formula",
794
- CREATED_TIME = "created_time",
795
- MODIFIED_TIME = "modified_time",
796
- CREATED_BY = "created_by",
797
- MODIFIED_BY = "modified_by",
798
- ATTACHMENT = "attachment",
799
- QR_CODE = "qrcode",
800
- BARCODE = "barcode",
801
- BUTTON = "button",
802
- USER = "user",
803
- AI = "ai"
804
- }
805
614
  export declare enum FilterComparisonOp {
806
615
  EQ = "eq",
807
616
  NEQ = "neq",
@@ -1263,9 +1072,10 @@ export interface LookupConfigDto {
1263
1072
  relationFieldRef: RelationFieldRefDto;
1264
1073
  lookupFieldId: string;
1265
1074
  }
1266
- export interface LookupConfigResponseDto {
1267
- relationFieldId: string | null;
1268
- lookupFieldId: string | null;
1075
+ export interface LookupConfigWithRefsDto {
1076
+ relationFieldRef: RelationFieldRefDto;
1077
+ lookupFieldId?: string;
1078
+ lookupFieldRef?: FieldRefWithTableDto;
1269
1079
  }
1270
1080
  export declare enum MapProviderType {
1271
1081
  OSM = "osm",
@@ -1308,11 +1118,6 @@ export declare enum MembershipScope {
1308
1118
  BASE = "base",
1309
1119
  TEAM = "team"
1310
1120
  }
1311
- export declare enum ModelType {
1312
- TABLE = "table",
1313
- VIEW = "view",
1314
- DASHBOARD = "dashboard"
1315
- }
1316
1121
  export interface PagedResponse<T> {
1317
1122
  list: T[];
1318
1123
  pageInfo: PageInfo;
@@ -1348,74 +1153,6 @@ export interface PreviewImportDto {
1348
1153
  hasHeader?: boolean;
1349
1154
  sampleSize?: number;
1350
1155
  }
1351
- export declare enum ProviderEnum {
1352
- REDAI_LLM = "REDAI",
1353
- OPENAI = "OPENAI",
1354
- ALIBABA_CODING_PLAN = "ALIBABA_CODING_PLAN",
1355
- XAI = "XAI",
1356
- ANTHROPIC = "ANTHROPIC",
1357
- DEEPSEEK = "DEEPSEEK",
1358
- VERTEX_AI = "VERTEX_AI",
1359
- OPENROUTER = "OPENROUTER",
1360
- AZURE_AI = "AZURE_AI",
1361
- PERPLEXITY_AI = "PERPLEXITY_AI",
1362
- REDAI_EXTENSION = "REDAI_EXTENSION",
1363
- AGENT_DESKTOP_SDK_EXE = "AGENT_DESKTOP_SDK_EXE",
1364
- FACEBOOK_PAGE = "FACEBOOK_PAGE",
1365
- FACEBOOK_PERSONAL = "FACEBOOK_PERSONAL",
1366
- FACEBOOK_ADS = "FACEBOOK_ADS",
1367
- FACEBOOK_BUSINESS = "FACEBOOK_BUSINESS",
1368
- WEBSITE = "WEBSITE",
1369
- ZALO_OA = "ZALO_OA",
1370
- ZALO_PERSONAL = "ZALO_PERSONAL",
1371
- ZALO_BOT = "ZALO_BOT",
1372
- TELEGRAM_BOT = "TELEGRAM_BOT",
1373
- TELEGRAM = "TELEGRAM",
1374
- GHTK = "GHTK",
1375
- GHN = "GHN",
1376
- AHAMOVE = "AHAMOVE",
1377
- MB_BANK = "MB_BANK",
1378
- OCB_BANK = "OCB_BANK",
1379
- KL_BANK = "KL_BANK",
1380
- ACB_BANK = "ACB_BANK",
1381
- NONE = "NONE",
1382
- CUSTOM = "CUSTOM",
1383
- EMAIL_SMTP = "EMAIL_SMTP",
1384
- EMAIL_TWILIO_SENDGRID = "EMAIL_TWILIO_SENDGRID",
1385
- EMAIL_GMAIL = "EMAIL_GMAIL",
1386
- EMAIL_OUTLOOK = "EMAIL_OUTLOOK",
1387
- SMS_FPT = "SMS_FPT",
1388
- SMS_TWILIO = "SMS_TWILIO",
1389
- SMS_VONAGE = "SMS_VONAGE",
1390
- SMS_SPEED = "SMS_SPEED",
1391
- SMS_ESMS = "SMS_ESMS",
1392
- SMS_ESMS_ADVERTISING = "SMS_ESMS_ADVERTISING",
1393
- SMS_ESMS_CUSTOMER_CARE = "SMS_ESMS_CUSTOMER_CARE",
1394
- SMS_ESMS_VIBER = "SMS_ESMS_VIBER",
1395
- GOOGLE_CALENDAR = "GOOGLE_CALENDAR",
1396
- GOOGLE_SHEETS = "GOOGLE_SHEETS",
1397
- GOOGLE_DOCS = "GOOGLE_DOCS",
1398
- GOOGLE_DRIVE = "GOOGLE_DRIVE",
1399
- GOOGLE_ADS = "GOOGLE_ADS",
1400
- GETFLY_CRM = "GETFLY_CRM",
1401
- GOOGLE_CLOUD_PROJECT = "GOOGLE_CLOUD_PROJECT",
1402
- PROXY = "PROXY",
1403
- DATABASE_POSTGRESQL = "DATABASE_POSTGRESQL",
1404
- DATABASE_MYSQL = "DATABASE_MYSQL",
1405
- DATABASE_MSSQL = "DATABASE_MSSQL",
1406
- DATABASE_MONGODB = "DATABASE_MONGODB",
1407
- DATABASE_REDIS = "DATABASE_REDIS",
1408
- DATABASE_SQLITE = "DATABASE_SQLITE",
1409
- DATABASE_ORACLE = "DATABASE_ORACLE",
1410
- DATABASE_MARIADB = "DATABASE_MARIADB",
1411
- CLOUD_AWS_S3 = "CLOUD_AWS_S3",
1412
- CLOUD_GOOGLE_CLOUD_STORAGE = "CLOUD_GOOGLE_CLOUD_STORAGE",
1413
- CLOUD_AZURE_BLOB = "CLOUD_AZURE_BLOB",
1414
- CLOUD_MINIO = "CLOUD_MINIO",
1415
- CLOUD_CLOUDFLARE_R2 = "CLOUD_CLOUDFLARE_R2",
1416
- CLOUD_BACKBLAZE_B2 = "CLOUD_BACKBLAZE_B2",
1417
- CLOUD_WASABI = "CLOUD_WASABI"
1418
- }
1419
1156
  export type RecordAggregateQueryDto = RecordListQueryDto & {
1420
1157
  aggregations?: string;
1421
1158
  };
@@ -1442,13 +1179,6 @@ export interface RecordMoveDto {
1442
1179
  beforeRecordId?: string | null;
1443
1180
  viewId?: string;
1444
1181
  }
1445
- export declare enum ReferentialAction {
1446
- NO_ACTION = "NO ACTION",
1447
- CASCADE = "CASCADE",
1448
- RESTRICT = "RESTRICT",
1449
- SET_NULL = "SET NULL",
1450
- SET_DEFAULT = "SET DEFAULT"
1451
- }
1452
1182
  export interface RelationConfigDto {
1453
1183
  relationType: RelationType;
1454
1184
  relatedTableId: string;
@@ -1464,33 +1194,26 @@ export interface RelationConfigDto {
1464
1194
  mmChildFieldId?: string | null;
1465
1195
  mmParentFieldId?: string | null;
1466
1196
  }
1467
- export interface RelationConfigResponseDto {
1197
+ export interface RelationConfigWithRefsDto {
1468
1198
  relationType: RelationType;
1469
- relatedTableId: string | null;
1470
- relatedBaseId: string | null;
1471
- relatedSourceId: string | null;
1472
- onUpdate: ReferentialAction | null;
1473
- onDelete: ReferentialAction | null;
1474
- isVirtual: boolean | null;
1475
- targetViewId: string | null;
1476
- parentFieldId: string | null;
1477
- childFieldId: string | null;
1478
- mmTableId: string | null;
1479
- mmBaseId: string | null;
1480
- mmSourceId: string | null;
1481
- mmChildFieldId: string | null;
1482
- mmParentFieldId: string | null;
1199
+ relatedTableId?: string;
1200
+ relatedTableRef?: TableRefDto;
1201
+ relatedBaseId?: string | null;
1202
+ relatedSourceId?: string | null;
1203
+ onUpdate?: ReferentialAction | null;
1204
+ onDelete?: ReferentialAction | null;
1205
+ isVirtual?: boolean;
1206
+ targetViewId?: string | null;
1207
+ mmTableId?: string | null;
1208
+ mmBaseId?: string | null;
1209
+ mmSourceId?: string | null;
1210
+ mmChildFieldId?: string | null;
1211
+ mmParentFieldId?: string | null;
1483
1212
  }
1484
1213
  export interface RelationFieldRefDto {
1485
1214
  fieldId?: string;
1486
1215
  fieldKey?: string;
1487
1216
  }
1488
- export declare enum RelationType {
1489
- HAS_MANY = "hm",
1490
- BELONGS_TO = "bt",
1491
- MANY_TO_MANY = "mm",
1492
- ONE_TO_ONE = "oo"
1493
- }
1494
1217
  export interface RelationUpdateDto {
1495
1218
  refRowIds: string[];
1496
1219
  }
@@ -1519,20 +1242,11 @@ export interface RollupConfigDto {
1519
1242
  rollupFieldId: string;
1520
1243
  rollupFunction?: RollupFunction | null;
1521
1244
  }
1522
- export interface RollupConfigResponseDto {
1523
- relationFieldId: string | null;
1524
- rollupFieldId: string | null;
1525
- rollupFunction: RollupFunction | null;
1526
- }
1527
- export declare enum RollupFunction {
1528
- COUNT = "count",
1529
- SUM = "sum",
1530
- AVG = "avg",
1531
- MIN = "min",
1532
- MAX = "max",
1533
- COUNT_DISTINCT = "countDistinct",
1534
- SUM_DISTINCT = "sumDistinct",
1535
- AVG_DISTINCT = "avgDistinct"
1245
+ export interface RollupConfigWithRefsDto {
1246
+ relationFieldRef: RelationFieldRefDto;
1247
+ rollupFieldId?: string;
1248
+ rollupFieldRef?: FieldRefWithTableDto;
1249
+ rollupFunction?: RollupFunction | null;
1536
1250
  }
1537
1251
  export interface RowColorConditionResponseDto {
1538
1252
  id: string;
@@ -1550,10 +1264,6 @@ export interface RowColorConfigResponseDto {
1550
1264
  mode: RowColoringMode | null;
1551
1265
  conditions: RowColorConditionResponseDto[];
1552
1266
  }
1553
- export declare enum RowColoringMode {
1554
- FILTER = "filter",
1555
- SELECT = "select"
1556
- }
1557
1267
  export interface SecureAttachmentTokenDto {
1558
1268
  ttlSeconds?: number;
1559
1269
  }
@@ -1640,67 +1350,15 @@ export interface StartImportOptionsDto {
1640
1350
  sheet?: string;
1641
1351
  chunkSize?: number;
1642
1352
  }
1643
- export declare enum StorageMode {
1644
- JSONB = "JSONB",
1645
- EAV = "EAV",
1646
- PHYSICAL = "PHYSICAL"
1647
- }
1648
- export type TableMeta = {
1649
- icon?: string;
1650
- color?: string;
1651
- coverImage?: string;
1652
- tags?: string[];
1653
- primaryFieldId?: string;
1654
- displayFieldId?: string;
1655
- isTemplate?: boolean;
1656
- };
1657
1353
  export type TableRecord = Record<string, JsonValue> & {
1658
1354
  id?: string | number;
1659
1355
  };
1660
1356
  export type TableRecordInput = TableRecord & {
1661
1357
  recordId?: string | number;
1662
1358
  };
1663
- export interface TableResponseDto {
1664
- id: string;
1665
- workspaceId: string;
1666
- name: string;
1667
- slug: string;
1668
- description: string | null;
1669
- baseId: string | null;
1670
- sourceId: string | null;
1671
- tableName: string | null;
1672
- type: ModelType | null;
1673
- storageMode: StorageMode | null;
1674
- order: number | null;
1675
- meta: TableMeta;
1676
- settings: TableSettings;
1677
- isManyToMany: boolean | null;
1678
- isSynced: boolean | null;
1679
- isDeleted: boolean | null;
1680
- externalSchemaName: string | null;
1681
- externalTableName: string | null;
1682
- createdAt: number;
1683
- updatedAt: number | null;
1684
- fields?: ColumnResponseDto[];
1685
- views?: ViewResponseDto[];
1686
- }
1687
- export interface TableSettings {
1688
- icon?: string;
1689
- color?: string;
1690
- coverImage?: string;
1691
- defaultViewId?: string;
1692
- allowPublicAccess?: boolean;
1693
- allowAnonymousSubmit?: boolean;
1694
- recordPrefix?: string;
1695
- enableComments?: boolean;
1696
- enableHistory?: boolean;
1697
- enableAttachments?: boolean;
1698
- enableWebhooks?: boolean;
1699
- enableAutomations?: boolean;
1700
- externalSyncEnabled?: boolean;
1701
- externalSyncConfig?: ExternalSyncConfig;
1702
- maxRecords?: number;
1703
- maxAttachmentSize?: number;
1359
+ export interface TableRefDto {
1360
+ tableId?: string;
1361
+ tableClientKey?: string;
1704
1362
  }
1705
1363
  export interface TestHookDto {
1706
1364
  hook: CreateHookDto;
@@ -1826,60 +1484,12 @@ export interface ViewColumnResponseDto {
1826
1484
  updatedAt: number | null;
1827
1485
  }
1828
1486
  export type ViewDetailQueryDto = ListViewsQueryDto;
1829
- export declare enum ViewLockType {
1830
- COLLABORATIVE = "collaborative",
1831
- LOCKED = "locked",
1832
- PERSONAL = "personal"
1833
- }
1834
- export type ViewMeta = {
1835
- icon?: string;
1836
- color?: string;
1837
- coverImage?: string;
1838
- tags?: string[];
1839
- isPinned?: boolean;
1840
- layout?: {
1841
- width?: number;
1842
- height?: number;
1843
- density?: 'compact' | 'normal' | 'comfortable';
1844
- };
1845
- };
1846
- export interface ViewResponseDto {
1847
- id: string;
1848
- tableId: string;
1849
- workspaceId: string | null;
1850
- baseId: string | null;
1851
- sourceId: string | null;
1852
- name: string;
1853
- description: string | null;
1854
- type: ViewType;
1855
- show: boolean;
1856
- order: number | null;
1857
- lockType: ViewLockType | null;
1858
- uuid: string | null;
1859
- showSystemFields: boolean;
1860
- meta: ViewMeta;
1861
- rowColoringMode: RowColoringMode | null;
1862
- createdBy: number | null;
1863
- ownedBy: number | null;
1864
- customUrlId: string | null;
1865
- isDefault: boolean;
1866
- createdAt: number;
1867
- updatedAt: number | null;
1868
- }
1869
1487
  export declare enum ViewSortDirection {
1870
1488
  ASC = "asc",
1871
1489
  DESC = "desc",
1872
1490
  COUNT_ASC = "count-asc",
1873
1491
  COUNT_DESC = "count-desc"
1874
1492
  }
1875
- export declare enum ViewType {
1876
- FORM = "form",
1877
- GALLERY = "gallery",
1878
- GRID = "grid",
1879
- KANBAN = "kanban",
1880
- CALENDAR = "calendar",
1881
- MAP = "map"
1882
- }
1883
1493
  export interface WarmupCacheDto {
1884
1494
  tableIds?: string[];
1885
1495
  ttlSeconds?: number;
@@ -2055,18 +1665,9 @@ export interface WorkspaceSettings {
2055
1665
  customDomain?: string;
2056
1666
  customDomainVerified?: boolean;
2057
1667
  }
2058
- export type ACB_BANK = unknown;
2059
1668
  export type ACCEPTED = unknown;
2060
- export type ACTION = unknown;
2061
- export type ACTIVE = unknown;
2062
- export type ADMIN = unknown;
2063
- export type AGENT_DESKTOP_SDK_EXE = unknown;
2064
- export type AHAMOVE = unknown;
2065
- export type AI = unknown;
2066
- export type ALIBABA_CODING_PLAN = unknown;
2067
1669
  export type ALL_OF = unknown;
2068
1670
  export type AND = unknown;
2069
- export type ANTHROPIC = unknown;
2070
1671
  export type ANY_OF = unknown;
2071
1672
  export type API_TOKEN_CREATE = unknown;
2072
1673
  export type API_TOKEN_DELETE = unknown;
@@ -2074,49 +1675,18 @@ export type API_TOKEN_UPDATE = unknown;
2074
1675
  export type APIS_CREATED = unknown;
2075
1676
  export type APPEND = unknown;
2076
1677
  export type APPROVED = unknown;
2077
- export type ARCHIVED = unknown;
2078
- export type ARRAY = unknown;
2079
- export type ASC = unknown;
2080
- export type ATTACHMENT = unknown;
2081
1678
  export type ATTACHMENT_UPLOAD = unknown;
2082
- export type AUTONUMBER = unknown;
2083
- export type AVG = unknown;
2084
- export type AVG_DISTINCT = unknown;
2085
- export type AZURE_AI = unknown;
2086
- export type BARCODE = unknown;
2087
1679
  export type BASE = unknown;
2088
1680
  export type BASE_DUPLICATE_COMPLETE = unknown;
2089
1681
  export type BASE_DUPLICATE_FAIL = unknown;
2090
1682
  export type BASE_DUPLICATE_START = unknown;
2091
- export type BELONGS_TO = unknown;
2092
1683
  export type BETWEEN = unknown;
2093
- export type BIGINT = unknown;
2094
- export type BIGSERIAL = unknown;
2095
- export type BINARY = unknown;
2096
- export type BIT = unknown;
2097
1684
  export type BLANK = unknown;
2098
- export type BLOB = unknown;
2099
- export type BOOLEAN = unknown;
2100
- export type BUTTON = unknown;
2101
- export type BYTEA = unknown;
2102
- export type CALENDAR = unknown;
2103
1685
  export type CALENDAR_CREATE = unknown;
2104
1686
  export type CALENDAR_DELETE = unknown;
2105
1687
  export type CALENDAR_UPDATE = unknown;
2106
1688
  export type CANCELED = unknown;
2107
- export type CASCADE = unknown;
2108
- export type CENTER = unknown;
2109
- export type CHAR = unknown;
2110
1689
  export type CHECKED = unknown;
2111
- export type CIDR = unknown;
2112
- export type CLOUD_AWS_S3 = unknown;
2113
- export type CLOUD_AZURE_BLOB = unknown;
2114
- export type CLOUD_BACKBLAZE_B2 = unknown;
2115
- export type CLOUD_CLOUDFLARE_R2 = unknown;
2116
- export type CLOUD_GOOGLE_CLOUD_STORAGE = unknown;
2117
- export type CLOUD_MINIO = unknown;
2118
- export type CLOUD_WASABI = unknown;
2119
- export type COLLABORATIVE = unknown;
2120
1690
  export type COLUMN_CREATE = unknown;
2121
1691
  export type COLUMN_DELETE = unknown;
2122
1692
  export type COLUMN_DUPLICATE_COMPLETE = unknown;
@@ -2128,17 +1698,9 @@ export type COMMENT_DELETE = unknown;
2128
1698
  export type COMMENT_UPDATE = unknown;
2129
1699
  export type COMMENTER = unknown;
2130
1700
  export type COMPLETED = unknown;
2131
- export type COUNT = unknown;
2132
1701
  export type COUNT_ASC = unknown;
2133
1702
  export type COUNT_DESC = unknown;
2134
- export type COUNT_DISTINCT = unknown;
2135
- export type CREATE = unknown;
2136
- export type CREATED_BY = unknown;
2137
- export type CREATED_TIME = unknown;
2138
1703
  export type CSV = unknown;
2139
- export type CURRENCY = unknown;
2140
- export type CUSTOM = unknown;
2141
- export type DASHBOARD = unknown;
2142
1704
  export type DASHBOARD_CREATE = unknown;
2143
1705
  export type DASHBOARD_DELETE = unknown;
2144
1706
  export type DASHBOARD_DUPLICATE_COMPLETE = unknown;
@@ -2150,38 +1712,11 @@ export type DATA_DELETE = unknown;
2150
1712
  export type DATA_EXPORT = unknown;
2151
1713
  export type DATA_IMPORT = unknown;
2152
1714
  export type DATA_UPDATE = unknown;
2153
- export type DATABASE_MARIADB = unknown;
2154
- export type DATABASE_MONGODB = unknown;
2155
- export type DATABASE_MSSQL = unknown;
2156
- export type DATABASE_MYSQL = unknown;
2157
- export type DATABASE_ORACLE = unknown;
2158
- export type DATABASE_POSTGRESQL = unknown;
2159
- export type DATABASE_REDIS = unknown;
2160
- export type DATABASE_SQLITE = unknown;
2161
- export type DATE = unknown;
2162
- export type DATETIME = unknown;
2163
- export type DATETIME2 = unknown;
2164
1715
  export type DAYS_AGO = unknown;
2165
1716
  export type DAYS_FROM_NOW = unknown;
2166
- export type DECIMAL = unknown;
2167
- export type DEEPSEEK = unknown;
2168
- export type DEFAULT = unknown;
2169
- export type DELETE = unknown;
2170
- export type DESC = unknown;
2171
1717
  export type DEV = unknown;
2172
- export type DISABLED = unknown;
2173
- export type DOCUMENT = unknown;
2174
- export type DOUBLE = unknown;
2175
- export type DURATION = unknown;
2176
- export type EAV = unknown;
2177
1718
  export type EDITOR = unknown;
2178
- export type EMAIL = unknown;
2179
- export type EMAIL_GMAIL = unknown;
2180
- export type EMAIL_OUTLOOK = unknown;
2181
- export type EMAIL_SMTP = unknown;
2182
- export type EMAIL_TWILIO_SENDGRID = unknown;
2183
1719
  export type EMPTY = unknown;
2184
- export type ENUM = unknown;
2185
1720
  export type EQ = unknown;
2186
1721
  export type EXACT_DATE = unknown;
2187
1722
  export type EXPIRED = unknown;
@@ -2189,42 +1724,19 @@ export type EXTENSION_CREATE = unknown;
2189
1724
  export type EXTENSION_DELETE = unknown;
2190
1725
  export type EXTENSION_UPDATE = unknown;
2191
1726
  export type EXTRA = unknown;
2192
- export type FACEBOOK_ADS = unknown;
2193
- export type FACEBOOK_BUSINESS = unknown;
2194
- export type FACEBOOK_PAGE = unknown;
2195
- export type FACEBOOK_PERSONAL = unknown;
2196
- export type FAILED = unknown;
2197
- export type FILTER = unknown;
2198
1727
  export type FILTER_CREATE = unknown;
2199
1728
  export type FILTER_DELETE = unknown;
2200
1729
  export type FILTER_UPDATE = unknown;
2201
- export type FLOAT = unknown;
2202
- export type FORM = unknown;
2203
1730
  export type FORM_COLUMN_UPDATE = unknown;
2204
1731
  export type FORM_CREATE = unknown;
2205
1732
  export type FORM_DELETE = unknown;
2206
1733
  export type FORM_DUPLICATE = unknown;
2207
1734
  export type FORM_UPDATE = unknown;
2208
- export type FORMULA = unknown;
2209
- export type GALLERY = unknown;
2210
1735
  export type GALLERY_CREATE = unknown;
2211
1736
  export type GALLERY_DELETE = unknown;
2212
1737
  export type GALLERY_DUPLICATE = unknown;
2213
1738
  export type GALLERY_UPDATE = unknown;
2214
- export type GEOGRAPHY = unknown;
2215
- export type GEOMETRY = unknown;
2216
- export type GET = unknown;
2217
- export type GETFLY_CRM = unknown;
2218
- export type GHN = unknown;
2219
- export type GHTK = unknown;
2220
1739
  export type GOOGLE = unknown;
2221
- export type GOOGLE_ADS = unknown;
2222
- export type GOOGLE_CALENDAR = unknown;
2223
- export type GOOGLE_CLOUD_PROJECT = unknown;
2224
- export type GOOGLE_DOCS = unknown;
2225
- export type GOOGLE_DRIVE = unknown;
2226
- export type GOOGLE_SHEETS = unknown;
2227
- export type GRID = unknown;
2228
1740
  export type GRID_COLUMN_UPDATE = unknown;
2229
1741
  export type GRID_CREATE = unknown;
2230
1742
  export type GRID_DELETE = unknown;
@@ -2234,72 +1746,39 @@ export type GROUP_BY_EQ = unknown;
2234
1746
  export type GROUP_BY_NULL = unknown;
2235
1747
  export type GT = unknown;
2236
1748
  export type GTE = unknown;
2237
- export type HAS_MANY = unknown;
2238
- export type HSTORE = unknown;
2239
- export type IMAGE = unknown;
2240
1749
  export type IMAGE_UPLOAD = unknown;
2241
- export type INET = unknown;
2242
- export type INT = unknown;
2243
- export type INTEGER = unknown;
2244
1750
  export type INTEGRATION_CREATE = unknown;
2245
1751
  export type INTEGRATION_DELETE = unknown;
2246
1752
  export type INTEGRATION_UPDATE = unknown;
2247
- export type INTERVAL = unknown;
2248
1753
  export type IS = unknown;
2249
1754
  export type IS_NOT = unknown;
2250
1755
  export type IS_WITHIN = unknown;
2251
- export type JSON = unknown;
2252
- export type JSONB = unknown;
2253
- export type KANBAN = unknown;
2254
1756
  export type KANBAN_CREATE = unknown;
2255
1757
  export type KANBAN_DELETE = unknown;
2256
1758
  export type KANBAN_DUPLICATE = unknown;
2257
1759
  export type KANBAN_UPDATE = unknown;
2258
- export type KL_BANK = unknown;
2259
1760
  export type KNOWLEDGE_FILE = unknown;
2260
1761
  export type LEFT = unknown;
2261
1762
  export type LIKE = unknown;
2262
- export type LINK_TO_ANOTHER_RECORD = unknown;
2263
- export type LINKS = unknown;
2264
- export type LOCKED = unknown;
2265
- export type LONG_TEXT = unknown;
2266
- export type LONGTEXT = unknown;
2267
- export type LOOKUP = unknown;
2268
1763
  export type LT = unknown;
2269
1764
  export type LTE = unknown;
2270
- export type MACADDR = unknown;
2271
- export type MANY_TO_MANY = unknown;
2272
- export type MAP = unknown;
2273
1765
  export type MAP_CREATE = unknown;
2274
1766
  export type MAP_DELETE = unknown;
2275
1767
  export type MAP_UPDATE = unknown;
2276
1768
  export type MAPBOX = unknown;
2277
1769
  export type MARIADB = unknown;
2278
- export type MAX = unknown;
2279
- export type MB_BANK = unknown;
2280
1770
  export type MEDIA = unknown;
2281
1771
  export type MEDIUM = unknown;
2282
- export type MEDIUMINT = unknown;
2283
- export type MEDIUMTEXT = unknown;
2284
1772
  export type META_DIFF_SYNC = unknown;
2285
- export type MIN = unknown;
2286
- export type MODIFIED_BY = unknown;
2287
- export type MODIFIED_TIME = unknown;
2288
- export type MONEY = unknown;
2289
1773
  export type MONGODB = unknown;
2290
1774
  export type MSSQL = unknown;
2291
- export type MULTI_SELECT = unknown;
2292
1775
  export type MYSQL = unknown;
2293
- export type NCHAR = unknown;
2294
1776
  export type NEQ = unknown;
2295
1777
  export type NEXT_MONTH = unknown;
2296
1778
  export type NEXT_NUMBER_OF_DAYS = unknown;
2297
1779
  export type NEXT_WEEK = unknown;
2298
1780
  export type NEXT_YEAR = unknown;
2299
1781
  export type NLIKE = unknown;
2300
- export type NO = unknown;
2301
- export type NO_ACTION = unknown;
2302
- export type NONE = unknown;
2303
1782
  export type NOT = unknown;
2304
1783
  export type NOT_ALL_OF = unknown;
2305
1784
  export type NOT_ANY_OF = unknown;
@@ -2308,22 +1787,12 @@ export type NOT_BLANK = unknown;
2308
1787
  export type NOT_CHECKED = unknown;
2309
1788
  export type NOT_EMPTY = unknown;
2310
1789
  export type NOT_NULL = unknown;
2311
- export type NULL = unknown;
2312
- export type NUMBER = unknown;
2313
- export type NUMERIC = unknown;
2314
- export type NVARCHAR = unknown;
2315
- export type OBJECT_ID = unknown;
2316
- export type OCB_BANK = unknown;
2317
1790
  export type ONE_MONTH_AGO = unknown;
2318
1791
  export type ONE_MONTH_FROM_NOW = unknown;
2319
- export type ONE_TO_ONE = unknown;
2320
1792
  export type ONE_WEEK_AGO = unknown;
2321
1793
  export type ONE_WEEK_FROM_NOW = unknown;
2322
- export type OPENAI = unknown;
2323
- export type OPENROUTER = unknown;
2324
1794
  export type OR = unknown;
2325
1795
  export type ORACLE = unknown;
2326
- export type ORDER = unknown;
2327
1796
  export type ORG_API_TOKEN_CREATE = unknown;
2328
1797
  export type ORG_API_TOKEN_DELETE = unknown;
2329
1798
  export type ORG_API_TOKEN_UPDATE = unknown;
@@ -2335,21 +1804,12 @@ export type PAST_MONTH = unknown;
2335
1804
  export type PAST_NUMBER_OF_DAYS = unknown;
2336
1805
  export type PAST_WEEK = unknown;
2337
1806
  export type PAST_YEAR = unknown;
2338
- export type PATCH = unknown;
2339
- export type PENDING = unknown;
2340
- export type PERCENT = unknown;
2341
1807
  export type PERMISSION_CREATE = unknown;
2342
1808
  export type PERMISSION_DELETE = unknown;
2343
1809
  export type PERMISSION_UPDATE = unknown;
2344
- export type PERPLEXITY_AI = unknown;
2345
- export type PERSONAL = unknown;
2346
- export type PHONE = unknown;
2347
- export type PHYSICAL = unknown;
2348
1810
  export type PLUGIN_INSTALL = unknown;
2349
1811
  export type PLUGIN_TEST = unknown;
2350
1812
  export type PLUGIN_UNINSTALL = unknown;
2351
- export type POINT = unknown;
2352
- export type POST = unknown;
2353
1813
  export type POSTGRESQL = unknown;
2354
1814
  export type PROD = unknown;
2355
1815
  export type PROJECT_CLONE = unknown;
@@ -2360,23 +1820,12 @@ export type PROJECT_UPDATE = unknown;
2360
1820
  export type PROJECT_USER_DELETE = unknown;
2361
1821
  export type PROJECT_USER_RESEND_INVITE = unknown;
2362
1822
  export type PROJECT_USER_UPDATE = unknown;
2363
- export type PROXY = unknown;
2364
- export type PUT = unknown;
2365
- export type QR_CODE = unknown;
2366
- export type RATING = unknown;
2367
1823
  export type READ = unknown;
2368
- export type REAL = unknown;
2369
- export type REDAI = unknown;
2370
- export type REDAI_EXTENSION = unknown;
2371
- export type REDAI_LLM = unknown;
2372
1824
  export type REJECTED = unknown;
2373
- export type RELATION = unknown;
2374
1825
  export type RELATION_CREATE = unknown;
2375
1826
  export type RELATION_DELETE = unknown;
2376
- export type RESTRICT = unknown;
2377
1827
  export type REVOKED = unknown;
2378
1828
  export type RIGHT = unknown;
2379
- export type ROLLUP = unknown;
2380
1829
  export type ROW_USER_MENTION = unknown;
2381
1830
  export type RUNNING = unknown;
2382
1831
  export type SCRIPT = unknown;
@@ -2384,11 +1833,6 @@ export type SCRIPT_CREATE = unknown;
2384
1833
  export type SCRIPT_DELETE = unknown;
2385
1834
  export type SCRIPT_DUPLICATE = unknown;
2386
1835
  export type SCRIPT_UPDATE = unknown;
2387
- export type SELECT = unknown;
2388
- export type SERIAL = unknown;
2389
- export type SET = unknown;
2390
- export type SET_DEFAULT = unknown;
2391
- export type SET_NULL = unknown;
2392
1836
  export type SHARED_BASE_DELETE_LINK = unknown;
2393
1837
  export type SHARED_BASE_GENERATE_LINK = unknown;
2394
1838
  export type SHARED_BASE_REVOKE_LINK = unknown;
@@ -2399,17 +1843,6 @@ export type SHARED_VIEW_CREATE = unknown;
2399
1843
  export type SHARED_VIEW_DELETE = unknown;
2400
1844
  export type SHARED_VIEW_UPDATE = unknown;
2401
1845
  export type SHORT = unknown;
2402
- export type SMALLDATETIME = unknown;
2403
- export type SMALLINT = unknown;
2404
- export type SMALLMONEY = unknown;
2405
- export type SMS_ESMS = unknown;
2406
- export type SMS_ESMS_ADVERTISING = unknown;
2407
- export type SMS_ESMS_CUSTOMER_CARE = unknown;
2408
- export type SMS_ESMS_VIBER = unknown;
2409
- export type SMS_FPT = unknown;
2410
- export type SMS_SPEED = unknown;
2411
- export type SMS_TWILIO = unknown;
2412
- export type SMS_VONAGE = unknown;
2413
1846
  export type SNAPSHOT_CREATE = unknown;
2414
1847
  export type SNAPSHOT_DELETE = unknown;
2415
1848
  export type SNAPSHOT_RESTORE = unknown;
@@ -2422,13 +1855,9 @@ export type SOURCE_UPDATE = unknown;
2422
1855
  export type SQLITE = unknown;
2423
1856
  export type STAGING = unknown;
2424
1857
  export type SUCCESS = unknown;
2425
- export type SUM = unknown;
2426
- export type SUM_DISTINCT = unknown;
2427
1858
  export type SYNC_SOURCE_CREATE = unknown;
2428
1859
  export type SYNC_SOURCE_DELETE = unknown;
2429
1860
  export type SYNC_SOURCE_UPDATE = unknown;
2430
- export type T = unknown;
2431
- export type TABLE = unknown;
2432
1861
  export type TABLE_CREATE = unknown;
2433
1862
  export type TABLE_DELETE = unknown;
2434
1863
  export type TABLE_DUPLICATE_COMPLETE = unknown;
@@ -2437,23 +1866,11 @@ export type TABLE_DUPLICATE_START = unknown;
2437
1866
  export type TABLE_UPDATE = unknown;
2438
1867
  export type TALL = unknown;
2439
1868
  export type TEAM = unknown;
2440
- export type TELEGRAM = unknown;
2441
- export type TELEGRAM_BOT = unknown;
2442
1869
  export type TEST = unknown;
2443
- export type TEXT = unknown;
2444
- export type TIME = unknown;
2445
- export type TIMESTAMP = unknown;
2446
- export type TIMESTAMPTZ = unknown;
2447
- export type TINYINT = unknown;
2448
- export type TINYTEXT = unknown;
2449
1870
  export type TODAY = unknown;
2450
1871
  export type TOMORROW = unknown;
2451
1872
  export type UI_ACL = unknown;
2452
1873
  export type UI_ACL_UPDATE = unknown;
2453
- export type UNIQUEIDENTIFIER = unknown;
2454
- export type UPDATE = unknown;
2455
- export type URL = unknown;
2456
- export type USER = unknown;
2457
1874
  export type USER_DELETE = unknown;
2458
1875
  export type USER_EMAIL_VERIFICATION = unknown;
2459
1876
  export type USER_INVITE = unknown;
@@ -2465,14 +1882,10 @@ export type USER_SIGNIN = unknown;
2465
1882
  export type USER_SIGNOUT = unknown;
2466
1883
  export type USER_SIGNUP = unknown;
2467
1884
  export type USER_UPDATE = unknown;
2468
- export type UUID = unknown;
2469
1885
  export type V1 = unknown;
2470
1886
  export type V2 = unknown;
2471
1887
  export type V3 = unknown;
2472
- export type VARBINARY = unknown;
2473
- export type VARCHAR = unknown;
2474
1888
  export type VERTEX_AI = unknown;
2475
- export type VIEW = unknown;
2476
1889
  export type VIEW_COLUMN_CREATE = unknown;
2477
1890
  export type VIEW_COLUMN_UPDATE = unknown;
2478
1891
  export type VIEW_CREATE = unknown;
@@ -2488,7 +1901,6 @@ export type WEBHOOK_DELETE = unknown;
2488
1901
  export type WEBHOOK_TEST = unknown;
2489
1902
  export type WEBHOOK_TRIGGER = unknown;
2490
1903
  export type WEBHOOK_UPDATE = unknown;
2491
- export type WEBSITE = unknown;
2492
1904
  export type WELCOME = unknown;
2493
1905
  export type WIDGET_CREATE = unknown;
2494
1906
  export type WIDGET_DELETE = unknown;
@@ -2502,14 +1914,8 @@ export type WORKSPACE_UPGRADE_REQUEST = unknown;
2502
1914
  export type WORKSPACE_USER_DELETE = unknown;
2503
1915
  export type WORKSPACE_USER_INVITE = unknown;
2504
1916
  export type WORKSPACE_USER_UPDATE = unknown;
2505
- export type XAI = unknown;
2506
1917
  export type XLSX = unknown;
2507
- export type XML = unknown;
2508
- export type YEAR = unknown;
2509
1918
  export type YESTERDAY = unknown;
2510
- export type ZALO_BOT = unknown;
2511
- export type ZALO_OA = unknown;
2512
- export type ZALO_PERSONAL = unknown;
2513
1919
  export interface ApiDocsOpenApiJsonParams {
2514
1920
  _?: never;
2515
1921
  }
@@ -3021,6 +2427,9 @@ export interface SourcesUpdateSourceParams {
3021
2427
  id: string;
3022
2428
  body: UpdateSourceDto;
3023
2429
  }
2430
+ export interface TablesBulkCreateTablesParams {
2431
+ body: BulkCreateTablesDto;
2432
+ }
3024
2433
  export interface TablesCreateTableParams {
3025
2434
  body: CreateTableDto;
3026
2435
  }