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

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 (115) hide show
  1. package/dist/cjs/generated/dynamic-table/index.js +10 -2
  2. package/dist/cjs/generated/dynamic-table/index.js.map +1 -1
  3. package/dist/cjs/generated/dynamic-table/services/calendar-data.service.js.map +1 -1
  4. package/dist/cjs/generated/dynamic-table/services/chart-data.service.js +19 -0
  5. package/dist/cjs/generated/dynamic-table/services/chart-data.service.js.map +1 -0
  6. package/dist/cjs/generated/dynamic-table/services/chart-views.service.js +19 -0
  7. package/dist/cjs/generated/dynamic-table/services/chart-views.service.js.map +1 -0
  8. package/dist/cjs/generated/dynamic-table/services/columns.service.js +9 -0
  9. package/dist/cjs/generated/dynamic-table/services/columns.service.js.map +1 -1
  10. package/dist/cjs/generated/dynamic-table/services/command-palette.service.js.map +1 -1
  11. package/dist/cjs/generated/dynamic-table/services/comments.service.js.map +1 -1
  12. package/dist/cjs/generated/dynamic-table/services/data-table-key-name.service.js.map +1 -1
  13. package/dist/cjs/generated/dynamic-table/services/data-table-mutations.service.js +9 -0
  14. package/dist/cjs/generated/dynamic-table/services/data-table-mutations.service.js.map +1 -1
  15. package/dist/cjs/generated/dynamic-table/services/data-table.service.js.map +1 -1
  16. package/dist/cjs/generated/dynamic-table/services/hooks.service.js.map +1 -1
  17. package/dist/cjs/generated/dynamic-table/services/index.js +12 -2
  18. package/dist/cjs/generated/dynamic-table/services/index.js.map +1 -1
  19. package/dist/cjs/generated/dynamic-table/services/metric-views.service.js +19 -0
  20. package/dist/cjs/generated/dynamic-table/services/metric-views.service.js.map +1 -0
  21. package/dist/cjs/generated/dynamic-table/services/scripts.service.js +82 -0
  22. package/dist/cjs/generated/dynamic-table/services/scripts.service.js.map +1 -0
  23. package/dist/cjs/generated/dynamic-table/services/sources.service.js +36 -0
  24. package/dist/cjs/generated/dynamic-table/services/sources.service.js.map +1 -1
  25. package/dist/cjs/generated/dynamic-table/services/tables-marketplace-artifact-export.service.js +19 -0
  26. package/dist/cjs/generated/dynamic-table/services/tables-marketplace-artifact-export.service.js.map +1 -0
  27. package/dist/cjs/generated/dynamic-table/services/tables.service.js +36 -0
  28. package/dist/cjs/generated/dynamic-table/services/tables.service.js.map +1 -1
  29. package/dist/cjs/generated/dynamic-table/types.js +34 -2
  30. package/dist/cjs/generated/dynamic-table/types.js.map +1 -1
  31. package/dist/cjs/generated/index.js +7 -2
  32. package/dist/cjs/generated/index.js.map +1 -1
  33. package/dist/cjs/generated/shared-types.js +37 -47
  34. package/dist/cjs/generated/shared-types.js.map +1 -1
  35. package/dist/cjs/index.js +5 -0
  36. package/dist/cjs/index.js.map +1 -1
  37. package/dist/esm/generated/dynamic-table/index.d.ts +1 -1
  38. package/dist/esm/generated/dynamic-table/index.d.ts.map +1 -1
  39. package/dist/esm/generated/dynamic-table/index.js +1 -1
  40. package/dist/esm/generated/dynamic-table/index.js.map +1 -1
  41. package/dist/esm/generated/dynamic-table/services/calendar-data.service.d.ts +3 -8
  42. package/dist/esm/generated/dynamic-table/services/calendar-data.service.d.ts.map +1 -1
  43. package/dist/esm/generated/dynamic-table/services/calendar-data.service.js.map +1 -1
  44. package/dist/esm/generated/dynamic-table/services/chart-data.service.d.ts +8 -0
  45. package/dist/esm/generated/dynamic-table/services/chart-data.service.d.ts.map +1 -0
  46. package/dist/esm/generated/dynamic-table/services/chart-data.service.js +15 -0
  47. package/dist/esm/generated/dynamic-table/services/chart-data.service.js.map +1 -0
  48. package/dist/esm/generated/dynamic-table/services/chart-views.service.d.ts +8 -0
  49. package/dist/esm/generated/dynamic-table/services/chart-views.service.d.ts.map +1 -0
  50. package/dist/esm/generated/dynamic-table/services/chart-views.service.js +15 -0
  51. package/dist/esm/generated/dynamic-table/services/chart-views.service.js.map +1 -0
  52. package/dist/esm/generated/dynamic-table/services/columns.service.d.ts +3 -5
  53. package/dist/esm/generated/dynamic-table/services/columns.service.d.ts.map +1 -1
  54. package/dist/esm/generated/dynamic-table/services/columns.service.js +9 -0
  55. package/dist/esm/generated/dynamic-table/services/columns.service.js.map +1 -1
  56. package/dist/esm/generated/dynamic-table/services/command-palette.service.d.ts +4 -4
  57. package/dist/esm/generated/dynamic-table/services/command-palette.service.d.ts.map +1 -1
  58. package/dist/esm/generated/dynamic-table/services/command-palette.service.js.map +1 -1
  59. package/dist/esm/generated/dynamic-table/services/comments.service.d.ts +2 -4
  60. package/dist/esm/generated/dynamic-table/services/comments.service.d.ts.map +1 -1
  61. package/dist/esm/generated/dynamic-table/services/comments.service.js.map +1 -1
  62. package/dist/esm/generated/dynamic-table/services/data-table-key-name.service.d.ts +3 -7
  63. package/dist/esm/generated/dynamic-table/services/data-table-key-name.service.d.ts.map +1 -1
  64. package/dist/esm/generated/dynamic-table/services/data-table-key-name.service.js.map +1 -1
  65. package/dist/esm/generated/dynamic-table/services/data-table-mutations.service.d.ts +2 -1
  66. package/dist/esm/generated/dynamic-table/services/data-table-mutations.service.d.ts.map +1 -1
  67. package/dist/esm/generated/dynamic-table/services/data-table-mutations.service.js +9 -0
  68. package/dist/esm/generated/dynamic-table/services/data-table-mutations.service.js.map +1 -1
  69. package/dist/esm/generated/dynamic-table/services/data-table.service.d.ts +3 -7
  70. package/dist/esm/generated/dynamic-table/services/data-table.service.d.ts.map +1 -1
  71. package/dist/esm/generated/dynamic-table/services/data-table.service.js.map +1 -1
  72. package/dist/esm/generated/dynamic-table/services/hooks.service.d.ts +3 -3
  73. package/dist/esm/generated/dynamic-table/services/hooks.service.d.ts.map +1 -1
  74. package/dist/esm/generated/dynamic-table/services/hooks.service.js.map +1 -1
  75. package/dist/esm/generated/dynamic-table/services/index.d.ts +5 -0
  76. package/dist/esm/generated/dynamic-table/services/index.d.ts.map +1 -1
  77. package/dist/esm/generated/dynamic-table/services/index.js +5 -0
  78. package/dist/esm/generated/dynamic-table/services/index.js.map +1 -1
  79. package/dist/esm/generated/dynamic-table/services/metric-views.service.d.ts +8 -0
  80. package/dist/esm/generated/dynamic-table/services/metric-views.service.d.ts.map +1 -0
  81. package/dist/esm/generated/dynamic-table/services/metric-views.service.js +15 -0
  82. package/dist/esm/generated/dynamic-table/services/metric-views.service.js.map +1 -0
  83. package/dist/esm/generated/dynamic-table/services/scripts.service.d.ts +15 -0
  84. package/dist/esm/generated/dynamic-table/services/scripts.service.d.ts.map +1 -0
  85. package/dist/esm/generated/dynamic-table/services/scripts.service.js +78 -0
  86. package/dist/esm/generated/dynamic-table/services/scripts.service.js.map +1 -0
  87. package/dist/esm/generated/dynamic-table/services/sources.service.d.ts +5 -1
  88. package/dist/esm/generated/dynamic-table/services/sources.service.d.ts.map +1 -1
  89. package/dist/esm/generated/dynamic-table/services/sources.service.js +36 -0
  90. package/dist/esm/generated/dynamic-table/services/sources.service.js.map +1 -1
  91. package/dist/esm/generated/dynamic-table/services/tables-marketplace-artifact-export.service.d.ts +8 -0
  92. package/dist/esm/generated/dynamic-table/services/tables-marketplace-artifact-export.service.d.ts.map +1 -0
  93. package/dist/esm/generated/dynamic-table/services/tables-marketplace-artifact-export.service.js +15 -0
  94. package/dist/esm/generated/dynamic-table/services/tables-marketplace-artifact-export.service.js.map +1 -0
  95. package/dist/esm/generated/dynamic-table/services/tables.service.d.ts +5 -1
  96. package/dist/esm/generated/dynamic-table/services/tables.service.d.ts.map +1 -1
  97. package/dist/esm/generated/dynamic-table/services/tables.service.js +36 -0
  98. package/dist/esm/generated/dynamic-table/services/tables.service.js.map +1 -1
  99. package/dist/esm/generated/dynamic-table/types.d.ts +451 -51
  100. package/dist/esm/generated/dynamic-table/types.d.ts.map +1 -1
  101. package/dist/esm/generated/dynamic-table/types.js +30 -1
  102. package/dist/esm/generated/dynamic-table/types.js.map +1 -1
  103. package/dist/esm/generated/index.d.ts +2 -2
  104. package/dist/esm/generated/index.d.ts.map +1 -1
  105. package/dist/esm/generated/index.js +1 -1
  106. package/dist/esm/generated/index.js.map +1 -1
  107. package/dist/esm/generated/shared-types.d.ts +827 -139
  108. package/dist/esm/generated/shared-types.d.ts.map +1 -1
  109. package/dist/esm/generated/shared-types.js +35 -45
  110. package/dist/esm/generated/shared-types.js.map +1 -1
  111. package/dist/esm/index.d.ts +12 -2
  112. package/dist/esm/index.d.ts.map +1 -1
  113. package/dist/esm/index.js +6 -1
  114. package/dist/esm/index.js.map +1 -1
  115. package/package.json +1 -1
@@ -190,6 +190,17 @@ export type ALL_EXPORTS = unknown;
190
190
  export type ALL_OF = unknown;
191
191
  export type Allow = unknown;
192
192
  export type AND = unknown;
193
+ export interface Animation {
194
+ duration: number;
195
+ file_id: string;
196
+ file_name?: string;
197
+ file_size?: number;
198
+ file_unique_id: string;
199
+ height: number;
200
+ mime_type?: string;
201
+ thumbnail?: PhotoSize;
202
+ width: number;
203
+ }
193
204
  export type ANTHROPIC = unknown;
194
205
  export interface AnthropicMetadata {
195
206
  isValid: boolean;
@@ -286,6 +297,17 @@ export type ASSIGN = unknown;
286
297
  export type ATTACHMENT = unknown;
287
298
  export type Attributes = Record<string, string>;
288
299
  export type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
300
+ export interface Audio {
301
+ duration: number;
302
+ file_id: string;
303
+ file_name?: string;
304
+ file_size?: number;
305
+ file_unique_id: string;
306
+ mime_type?: string;
307
+ performer?: string;
308
+ thumbnail?: PhotoSize;
309
+ title?: string;
310
+ }
289
311
  export type AUTH_001 = unknown;
290
312
  export interface AuthClient {
291
313
  sign(blobToSign: string): Promise<string>;
@@ -361,6 +383,46 @@ export interface AwsSecurityCredentialsSupplier {
361
383
  getAwsSecurityCredentials: (context: ExternalAccountSupplierContext) => Promise<AwsSecurityCredentials>;
362
384
  }
363
385
  export type AZURE_AI = unknown;
386
+ export type BackgroundFill = BackgroundFillSolid | BackgroundFillGradient | BackgroundFillFreeformGradient;
387
+ export interface BackgroundFillFreeformGradient {
388
+ colors: number[];
389
+ type: string;
390
+ }
391
+ export interface BackgroundFillGradient {
392
+ bottom_color: number;
393
+ rotation_angle: number;
394
+ top_color: number;
395
+ type: string;
396
+ }
397
+ export interface BackgroundFillSolid {
398
+ color: number;
399
+ type: string;
400
+ }
401
+ export type BackgroundType = BackgroundTypeFill | BackgroundTypeWallpaper | BackgroundTypePattern | BackgroundTypeChatTheme;
402
+ export interface BackgroundTypeChatTheme {
403
+ theme_name: string;
404
+ type: string;
405
+ }
406
+ export interface BackgroundTypeFill {
407
+ dark_theme_dimming: number;
408
+ fill: BackgroundFill;
409
+ type: string;
410
+ }
411
+ export interface BackgroundTypePattern {
412
+ document: Document;
413
+ fill: BackgroundFill;
414
+ intensity: number;
415
+ is_inverted?: boolean;
416
+ is_moving?: boolean;
417
+ type: string;
418
+ }
419
+ export interface BackgroundTypeWallpaper {
420
+ dark_theme_dimming: number;
421
+ document: Document;
422
+ is_blurred?: boolean;
423
+ is_moving?: boolean;
424
+ type: string;
425
+ }
364
426
  export type Backup = unknown;
365
427
  export type BANNED = unknown;
366
428
  export type BAR = unknown;
@@ -465,10 +527,10 @@ export type Bucket = ServiceObject & {
465
527
  unreachable: boolean;
466
528
  };
467
529
  export type BulkDataListDto = LimitOffsetQueryDto & {
468
- viewId?: string;
469
- fields?: JsonValue;
470
- filters?: JsonValue;
471
- sorts?: JsonValue;
530
+ viewId?: unknown;
531
+ fields?: string | (string)[];
532
+ filters?: string | (unknown)[];
533
+ sorts?: string | (unknown)[];
472
534
  includeSortFilterFields?: JsonValue;
473
535
  applyViewFilters?: JsonValue;
474
536
  };
@@ -501,6 +563,8 @@ export interface CalendarWidgetConfigDto {
501
563
  query: WidgetQuerySpecDto;
502
564
  dateFieldId: unknown;
503
565
  }
566
+ export interface CallbackGame {
567
+ }
504
568
  export interface CallCredentials {
505
569
  }
506
570
  export interface CallOptions {
@@ -676,6 +740,43 @@ export declare enum ChartType {
676
740
  POLAR_AREA = "polar_area",
677
741
  TREEMAP = "treemap"
678
742
  }
743
+ export interface ChartViewConfigDto {
744
+ chartType: ChartType;
745
+ xAxisFieldId?: unknown;
746
+ breakdownFieldId?: unknown;
747
+ pointXFieldId?: unknown;
748
+ pointYFieldId?: unknown;
749
+ pointSizeFieldId?: unknown;
750
+ pointCategoryFieldId?: unknown;
751
+ radarObjectFieldId?: unknown;
752
+ xAxisMode?: 'category' | 'time' | 'numeric';
753
+ xAxisTimeBucket?: 'day' | 'week' | 'month' | 'quarter';
754
+ display?: {
755
+ [key: string]: unknown;
756
+ };
757
+ meta?: {
758
+ [key: string]: unknown;
759
+ };
760
+ measures: (ChartViewMeasureConfigDto)[];
761
+ }
762
+ export interface ChartViewMeasureConfigDto {
763
+ fieldId?: unknown;
764
+ aggregationFieldId?: unknown;
765
+ role?: ChartViewMeasureRole;
766
+ key: string;
767
+ label: string;
768
+ aggregationFunction: WidgetAggregationFunction;
769
+ distinct?: boolean;
770
+ color?: string | null;
771
+ renderAs?: 'bar' | 'line' | 'area';
772
+ stackGroup?: string | null;
773
+ useSecondaryAxis?: boolean;
774
+ order?: number | null;
775
+ }
776
+ export declare enum ChartViewMeasureRole {
777
+ Y_AXIS = "y_axis",
778
+ RADAR_CRITERION = "radar_criterion"
779
+ }
679
780
  export type ChartWidgetConfig = {
680
781
  chartType: ChartType;
681
782
  scope: ChartScopeSpec;
@@ -729,7 +830,29 @@ export interface ChartYAxisSpecDto {
729
830
  measures: (ChartMeasureSpecDto)[];
730
831
  label?: string;
731
832
  }
833
+ export interface Chat {
834
+ first_name?: string;
835
+ id: number;
836
+ is_forum?: boolean;
837
+ last_name?: string;
838
+ title?: string;
839
+ type: string;
840
+ username?: string;
841
+ }
732
842
  export type CHAT = unknown;
843
+ export interface ChatBackground {
844
+ type: BackgroundType;
845
+ }
846
+ export interface ChatBoostAdded {
847
+ boost_count: number;
848
+ }
849
+ export interface ChatShared {
850
+ chat_id: number;
851
+ photo?: PhotoSize[];
852
+ request_id: number;
853
+ title?: string;
854
+ username?: string;
855
+ }
733
856
  export type CHECKBOX_GROUP = unknown;
734
857
  export type CHECKED = unknown;
735
858
  export type CIDR = unknown;
@@ -824,11 +947,14 @@ export interface ColumnResponseDto {
824
947
  createdAt?: number | null;
825
948
  updatedAt?: number | null;
826
949
  relationConfig?: RelationConfigResponseDto;
950
+ relationDisplayConfig?: RelationConfigResponseDto;
827
951
  lookupConfig?: LookupConfigResponseDto;
828
952
  rollupConfig?: RollupConfigResponseDto;
829
953
  inverseFieldId?: string | null;
830
954
  inverseFieldKey?: string | null;
831
955
  inverseFieldName?: string | null;
956
+ isInverseField?: boolean | null;
957
+ isRelationStructuralEditable?: boolean | null;
832
958
  }
833
959
  export type COMBO = unknown;
834
960
  export type COMMENT = unknown;
@@ -850,6 +976,13 @@ export interface ConfigResponseExtractionField {
850
976
  }
851
977
  export type CONNECT = unknown;
852
978
  export type CONNECTED = unknown;
979
+ export interface Contact {
980
+ first_name: string;
981
+ last_name?: string;
982
+ phone_number: string;
983
+ user_id?: number;
984
+ vcard?: string;
985
+ }
853
986
  export type CONTAINER = unknown;
854
987
  export type ConvertConfig = Record<string, ConvertFieldMapping>;
855
988
  export interface ConvertFieldMapping {
@@ -899,7 +1032,9 @@ export interface CreateColumnDto {
899
1032
  keyName: string;
900
1033
  type: FieldType;
901
1034
  description?: string | null;
902
- config?: FieldConfig;
1035
+ config?: {
1036
+ [key: string]: unknown;
1037
+ };
903
1038
  isPrimary?: boolean;
904
1039
  isRequired?: boolean;
905
1040
  isUnique?: boolean;
@@ -912,7 +1047,9 @@ export interface CreateColumnDto {
912
1047
  uiDataType?: string | null;
913
1048
  dataType?: string | null;
914
1049
  columnDefault?: string | null;
915
- meta?: Record<string, JsonValue>;
1050
+ meta?: {
1051
+ [key: string]: unknown;
1052
+ };
916
1053
  externalColumnName?: string | null;
917
1054
  externalDataType?: ExternalDataType | null;
918
1055
  }
@@ -1012,9 +1149,9 @@ export type DashboardMeta = {
1012
1149
  };
1013
1150
  };
1014
1151
  export interface DashboardResponseDto {
1015
- id: string;
1016
- fkWorkspaceId: string | null;
1017
- baseId: string | null;
1152
+ id: unknown;
1153
+ fkWorkspaceId?: unknown;
1154
+ baseId?: unknown;
1018
1155
  title: string;
1019
1156
  description: string | null;
1020
1157
  order: number | null;
@@ -1108,6 +1245,10 @@ export type DESC = unknown;
1108
1245
  export interface Deserialize<T> {
1109
1246
  (bytes: Buffer): T;
1110
1247
  }
1248
+ export interface Dice {
1249
+ emoji: string;
1250
+ value: number;
1251
+ }
1111
1252
  export interface Dimension {
1112
1253
  magnitude: number;
1113
1254
  unit: string;
@@ -1119,6 +1260,14 @@ export type DIVIDER = unknown;
1119
1260
  export interface DocsColor {
1120
1261
  rgbColor?: RgbColor;
1121
1262
  }
1263
+ export interface Document {
1264
+ file_id: string;
1265
+ file_name?: string;
1266
+ file_size?: number;
1267
+ file_unique_id: string;
1268
+ mime_type?: string;
1269
+ thumbnail?: PhotoSize;
1270
+ }
1122
1271
  export type DOCUMENT = unknown;
1123
1272
  export type DONUT = unknown;
1124
1273
  export type DonutChartWidgetConfigDto = GroupedChartWidgetConfigBaseDto & {
@@ -1211,6 +1360,23 @@ export interface EmployeeRole {
1211
1360
  permissions: Permission[];
1212
1361
  }
1213
1362
  export type EMPTY = unknown;
1363
+ export interface EncryptedCredentials {
1364
+ data: string;
1365
+ hash: string;
1366
+ secret: string;
1367
+ }
1368
+ export interface EncryptedPassportElement {
1369
+ data?: string;
1370
+ email?: string;
1371
+ files?: PassportFile[];
1372
+ front_side?: PassportFile;
1373
+ hash: string;
1374
+ phone_number?: string;
1375
+ reverse_side?: PassportFile;
1376
+ selfie?: PassportFile;
1377
+ translation?: PassportFile[];
1378
+ type: string;
1379
+ }
1214
1380
  export type END = unknown;
1215
1381
  export interface EndOfSegmentLocation {
1216
1382
  segmentId?: SegmentId;
@@ -1341,6 +1507,31 @@ export declare enum ExternalDataType {
1341
1507
  HSTORE = "HSTORE",
1342
1508
  CUSTOM = "CUSTOM"
1343
1509
  }
1510
+ export interface ExternalReplyInfo {
1511
+ animation?: Animation;
1512
+ audio?: Audio;
1513
+ chat?: Chat;
1514
+ contact?: Contact;
1515
+ dice?: Dice;
1516
+ document?: Document;
1517
+ game?: Game;
1518
+ giveaway?: Giveaway;
1519
+ giveaway_winners?: GiveawayWinners;
1520
+ has_media_spoiler?: boolean;
1521
+ invoice?: Invoice;
1522
+ link_preview_options?: LinkPreviewOptions;
1523
+ location?: Location;
1524
+ message_id?: number;
1525
+ origin: MessageOrigin;
1526
+ photo?: PhotoSize[];
1527
+ poll?: Poll;
1528
+ sticker?: Sticker;
1529
+ story?: Story;
1530
+ venue?: Venue;
1531
+ video?: Video;
1532
+ video_note?: VideoNote;
1533
+ voice?: Voice;
1534
+ }
1344
1535
  export interface ExternalSyncConfig {
1345
1536
  source: 'google_sheets' | 'airtable' | 'notion' | 'api';
1346
1537
  sourceId?: string;
@@ -1609,27 +1800,12 @@ export declare enum FieldType {
1609
1800
  USER = "user",
1610
1801
  AI = "ai"
1611
1802
  }
1612
- export type File = ServiceObject & {
1613
- acl: Acl;
1614
- crc32cGenerator: CRC32CValidatorGenerator;
1615
- bucket: Bucket;
1616
- storage: Storage;
1617
- kmsKeyName?: string;
1618
- userProject?: string;
1619
- signer?: URLSigner;
1620
- name: string;
1621
- generation?: number;
1622
- restoreToken?: string;
1623
- parent: Bucket;
1624
- encryptionKey?: any;
1625
- encryptionKeyBase64?: any;
1626
- encryptionKeyHash?: any;
1627
- encryptionKeyInterceptor?: any;
1628
- instanceRetryValue?: any;
1629
- instancePreconditionOpts?: PreconditionOptions;
1630
- shouldRetryBasedOnPreconditionAndIdempotencyStrat: any;
1631
- getBufferFromReadable: any;
1632
- };
1803
+ export interface File {
1804
+ file_id: string;
1805
+ file_path?: string;
1806
+ file_size?: number;
1807
+ file_unique_id: string;
1808
+ }
1633
1809
  export type FILE_SYSTEM = unknown;
1634
1810
  export interface FileDescriptor {
1635
1811
  source: FileSourceType;
@@ -1730,13 +1906,13 @@ export type FilterLogicalPayload = {
1730
1906
  };
1731
1907
  export type FilterPayload = FilterConditionPayload | FilterGroupPayload | FilterLogicalPayload;
1732
1908
  export interface FilterResponseDto {
1733
- id: string;
1734
- viewId: string | null;
1735
- hookId?: string | null;
1736
- widgetId?: string | null;
1737
- filterPresetId?: string | null;
1738
- parentId: string | null;
1739
- fieldId: string | null;
1909
+ id: unknown;
1910
+ viewId?: unknown;
1911
+ hookId?: unknown;
1912
+ widgetId?: unknown;
1913
+ filterPresetId?: unknown;
1914
+ parentId?: unknown;
1915
+ fieldId?: unknown;
1740
1916
  operator: string | null;
1741
1917
  comparisonSubOp: string | null;
1742
1918
  value?: {
@@ -1782,12 +1958,26 @@ export type FormViewMeta = ViewMeta & {
1782
1958
  submitButtonLabel?: string;
1783
1959
  showBranding?: boolean;
1784
1960
  };
1961
+ export interface ForumTopicClosed {
1962
+ }
1963
+ export interface ForumTopicCreated {
1964
+ icon_color: number;
1965
+ icon_custom_emoji_id?: string;
1966
+ name: string;
1967
+ }
1968
+ export interface ForumTopicEdited {
1969
+ icon_custom_emoji_id?: string;
1970
+ name?: string;
1971
+ }
1972
+ export interface ForumTopicReopened {
1973
+ }
1785
1974
  export interface FptSmsMetadata {
1786
1975
  brandName: string;
1787
1976
  apiUrl?: string;
1788
1977
  [key: string]: any;
1789
1978
  }
1790
1979
  export type FRIDAY = unknown;
1980
+ export type FUNCTION = unknown;
1791
1981
  export type FUNNEL = unknown;
1792
1982
  export interface FunnelChartRuntimeDto {
1793
1983
  chartType: 'funnel';
@@ -1807,6 +1997,14 @@ export type GalleryViewMeta = ViewMeta & {
1807
1997
  showCover?: boolean;
1808
1998
  showEmptyCover?: boolean;
1809
1999
  };
2000
+ export interface Game {
2001
+ animation?: Animation;
2002
+ description: string;
2003
+ photo: PhotoSize[];
2004
+ text?: string;
2005
+ text_entities?: MessageEntity[];
2006
+ title: string;
2007
+ }
1810
2008
  export type GAUGE = unknown;
1811
2009
  export interface Gaxios {
1812
2010
  agentCache: Map<string | URL, Agent | ((parsedUrl: URL) => Agent)>;
@@ -1885,6 +2083,10 @@ export declare enum GenderEnum {
1885
2083
  FEMALE = "FEMALE",
1886
2084
  OTHER = "OTHER"
1887
2085
  }
2086
+ export interface GeneralForumTopicHidden {
2087
+ }
2088
+ export interface GeneralForumTopicUnhidden {
2089
+ }
1888
2090
  export type GEOGRAPHY = unknown;
1889
2091
  export type GEOMETRY = unknown;
1890
2092
  export type GET = unknown;
@@ -1897,6 +2099,36 @@ export interface GetflyMetadata {
1897
2099
  export type GHN = unknown;
1898
2100
  export type GHTK = unknown;
1899
2101
  export type Gi = unknown;
2102
+ export interface Giveaway {
2103
+ chats: Chat[];
2104
+ country_codes?: string[];
2105
+ has_public_winners?: boolean;
2106
+ only_new_members?: boolean;
2107
+ premium_subscription_month_count?: number;
2108
+ prize_description?: string;
2109
+ winner_count: number;
2110
+ winners_selection_date: number;
2111
+ }
2112
+ export interface GiveawayCompleted {
2113
+ giveaway_message?: Message;
2114
+ unclaimed_prize_count?: number;
2115
+ winner_count: number;
2116
+ }
2117
+ export interface GiveawayCreated {
2118
+ }
2119
+ export interface GiveawayWinners {
2120
+ additional_chat_count?: number;
2121
+ chat: Chat;
2122
+ giveaway_message_id: number;
2123
+ only_new_members?: boolean;
2124
+ premium_subscription_month_count?: number;
2125
+ prize_description?: string;
2126
+ unclaimed_prize_count?: number;
2127
+ was_refunded?: boolean;
2128
+ winner_count: number;
2129
+ winners: User[];
2130
+ winners_selection_date: number;
2131
+ }
1900
2132
  export type GMAIL = unknown;
1901
2133
  export interface GmailMetadata {
1902
2134
  email: string;
@@ -2092,7 +2324,7 @@ export interface GroupedChartWidgetConfigBaseDto {
2092
2324
  display?: ChartDisplaySpecDto;
2093
2325
  }
2094
2326
  export interface GroupFieldDto {
2095
- fieldId: string;
2327
+ fieldId: unknown;
2096
2328
  direction?: 'asc' | 'desc';
2097
2329
  }
2098
2330
  export interface GrpcClientOptions extends GoogleAuthOptions {
@@ -2297,10 +2529,30 @@ export type IMAGE = unknown;
2297
2529
  export type IMPORT = unknown;
2298
2530
  export type Important = unknown;
2299
2531
  export type IN_SYSTEM = unknown;
2532
+ export interface InaccessibleMessage {
2533
+ chat: Chat;
2534
+ date: number;
2535
+ message_id: number;
2536
+ }
2300
2537
  export type INACTIVE = unknown;
2301
2538
  export type INDIVIDUAL = unknown;
2302
2539
  export type INET = unknown;
2303
2540
  export type INFO_RESULT_API = unknown;
2541
+ export interface InlineKeyboardButton {
2542
+ callback_data?: string;
2543
+ callback_game?: CallbackGame;
2544
+ login_url?: LoginUrl;
2545
+ pay?: boolean;
2546
+ switch_inline_query?: string;
2547
+ switch_inline_query_chosen_chat?: SwitchInlineQueryChosenChat;
2548
+ switch_inline_query_current_chat?: string;
2549
+ text: string;
2550
+ url?: string;
2551
+ web_app?: WebAppInfo;
2552
+ }
2553
+ export interface InlineKeyboardMarkup {
2554
+ inline_keyboard: InlineKeyboardButton[][];
2555
+ }
2304
2556
  export interface INotificationConfig {
2305
2557
  id: string;
2306
2558
  name: string;
@@ -2477,6 +2729,61 @@ export type INTERNAL = unknown;
2477
2729
  export type INTERVAL = unknown;
2478
2730
  export type Invalid = unknown;
2479
2731
  export type INVITE = unknown;
2732
+ export interface Invoice {
2733
+ id: number;
2734
+ orderId: number;
2735
+ invoicePathPdf: string;
2736
+ invoicePathPdfS3Key: string;
2737
+ invPattern: string;
2738
+ invSerial: string;
2739
+ fkey: string;
2740
+ invID: string;
2741
+ createdAt: number;
2742
+ updatedAt: number;
2743
+ buyerFullName: string;
2744
+ companyName: string;
2745
+ taxCode: string;
2746
+ address: string;
2747
+ phoneNumber: string;
2748
+ paymentMethod: string;
2749
+ currency: string;
2750
+ accountNumber: string;
2751
+ bankCode: string;
2752
+ exchangeRate: number;
2753
+ status: InvoiceStatus;
2754
+ vatAmount: number;
2755
+ itemName: string;
2756
+ unitOfMeasure: number;
2757
+ quantity: number;
2758
+ unitPrice: number;
2759
+ amount: number;
2760
+ vatRate: number;
2761
+ totalAmount: number;
2762
+ invoiceType: 'BUSINESS' | 'PERSONAL';
2763
+ dateOfBirth: Date;
2764
+ gender: 'MALE' | 'FEMALE' | 'OTHER';
2765
+ email: string;
2766
+ representativeName: string;
2767
+ representativePosition: string;
2768
+ type: InvoiceType;
2769
+ isMain: boolean;
2770
+ invoicePathPdfMySystem: string;
2771
+ arisingDate: string;
2772
+ note: string;
2773
+ cmnd: string;
2774
+ invoiceNature: number;
2775
+ discountAmount: number;
2776
+ }
2777
+ export declare enum InvoiceStatus {
2778
+ PENDING = "PENDING",
2779
+ APPROVED = "APPROVED",
2780
+ REJECTED = "REJECTED",
2781
+ PAID = "PAID"
2782
+ }
2783
+ export declare enum InvoiceType {
2784
+ SUBSCRIPTION = "subscription",
2785
+ R_POINT = "r-point"
2786
+ }
2480
2787
  export type IP = unknown;
2481
2788
  export type IS = unknown;
2482
2789
  export type IS_NOT = unknown;
@@ -2490,15 +2797,13 @@ export interface IStateVariable {
2490
2797
  export type JSON = unknown;
2491
2798
  export type JSON_PARSE = unknown;
2492
2799
  export type JSON_STRINGIFY = unknown;
2493
- export interface JsonArray extends Array<JsonValue> {
2494
- __jsonArrayBrand?: 'JsonArray';
2495
- }
2800
+ export type JsonArray = JsonValue[];
2496
2801
  export type JSONB = unknown;
2497
- export interface JsonObject {
2802
+ export type JsonObject = {
2498
2803
  [key: string]: JsonValue;
2499
- }
2804
+ };
2500
2805
  export type JsonPrimitive = string | number | boolean | null;
2501
- export type JsonValue = JsonPrimitive | JsonObject | JsonArray;
2806
+ export type JsonValue = JsonPrimitive | JsonArray | JsonObject;
2502
2807
  export interface JWTInput {
2503
2808
  type?: string;
2504
2809
  client_email?: string;
@@ -2545,6 +2850,13 @@ export interface Link {
2545
2850
  headingId?: string;
2546
2851
  }
2547
2852
  export type LINK_TO_ANOTHER_RECORD = unknown;
2853
+ export interface LinkPreviewOptions {
2854
+ is_disabled?: boolean;
2855
+ prefer_large_media?: boolean;
2856
+ prefer_small_media?: boolean;
2857
+ show_above_text?: boolean;
2858
+ url?: string;
2859
+ }
2548
2860
  export type LINKS = unknown;
2549
2861
  export type LIST = unknown;
2550
2862
  export type ListWidgetConfig = {
@@ -2571,6 +2883,12 @@ export type LocationInput = {
2571
2883
  value: EndOfSegmentLocation;
2572
2884
  };
2573
2885
  export type LOCKED = unknown;
2886
+ export interface LoginUrl {
2887
+ bot_username?: string;
2888
+ forward_text?: string;
2889
+ request_write_access?: boolean;
2890
+ url: string;
2891
+ }
2574
2892
  export type LONG_TEXT = unknown;
2575
2893
  export type LONGTEXT = unknown;
2576
2894
  export type LOOKUP = unknown;
@@ -2635,7 +2953,14 @@ export type MARKETING_CREATE = unknown;
2635
2953
  export type MARKETING_DELETE = unknown;
2636
2954
  export type MARKETING_UPDATE = unknown;
2637
2955
  export type MARKETPLACE = unknown;
2956
+ export interface MaskPosition {
2957
+ point: string;
2958
+ scale: number;
2959
+ x_shift: number;
2960
+ y_shift: number;
2961
+ }
2638
2962
  export type MAX = unknown;
2963
+ export type MaybeInaccessibleMessage = Message | InaccessibleMessage;
2639
2964
  export type MB_BANK = unknown;
2640
2965
  export interface Mcp {
2641
2966
  id: string;
@@ -2682,24 +3007,92 @@ export declare enum MergeStrategy {
2682
3007
  MERGE = "MERGE"
2683
3008
  }
2684
3009
  export interface Message {
2685
- ackId: string;
2686
- attributes: {
2687
- [key: string]: string;
2688
- };
2689
- data: Buffer;
2690
- deliveryAttempt: number;
2691
- id: string;
2692
- orderingKey?: string;
2693
- publishTime: PreciseDate;
2694
- received: number;
2695
- _handledPromise: any;
2696
- _handled: any;
2697
- _length: any;
2698
- _subscriber: any;
2699
- _ackFailed?: any;
2700
- _dispatched: any;
2701
- parentSpan?: tracing.Span;
2702
- subSpans: SubscriberSpans;
3010
+ animation?: Animation;
3011
+ audio?: Audio;
3012
+ author_signature?: string;
3013
+ boost_added?: ChatBoostAdded;
3014
+ business_connection_id?: string;
3015
+ caption?: string;
3016
+ caption_entities?: MessageEntity[];
3017
+ channel_chat_created?: boolean;
3018
+ chat: Chat;
3019
+ chat_background_set?: ChatBackground;
3020
+ chat_shared?: ChatShared;
3021
+ connected_website?: string;
3022
+ contact?: Contact;
3023
+ date: number;
3024
+ delete_chat_photo?: boolean;
3025
+ dice?: Dice;
3026
+ document?: Document;
3027
+ edit_date?: number;
3028
+ effect_id?: string;
3029
+ entities?: MessageEntity[];
3030
+ external_reply?: ExternalReplyInfo;
3031
+ forum_topic_closed?: ForumTopicClosed;
3032
+ forum_topic_created?: ForumTopicCreated;
3033
+ forum_topic_edited?: ForumTopicEdited;
3034
+ forum_topic_reopened?: ForumTopicReopened;
3035
+ forward_origin?: MessageOrigin;
3036
+ from?: User;
3037
+ game?: Game;
3038
+ general_forum_topic_hidden?: GeneralForumTopicHidden;
3039
+ general_forum_topic_unhidden?: GeneralForumTopicUnhidden;
3040
+ giveaway?: Giveaway;
3041
+ giveaway_completed?: GiveawayCompleted;
3042
+ giveaway_created?: GiveawayCreated;
3043
+ giveaway_winners?: GiveawayWinners;
3044
+ group_chat_created?: boolean;
3045
+ has_media_spoiler?: boolean;
3046
+ has_protected_content?: boolean;
3047
+ invoice?: Invoice;
3048
+ is_automatic_forward?: boolean;
3049
+ is_from_offline?: boolean;
3050
+ is_topic_message?: boolean;
3051
+ left_chat_member?: User;
3052
+ link_preview_options?: LinkPreviewOptions;
3053
+ location?: Location;
3054
+ media_group_id?: string;
3055
+ message_auto_delete_timer_changed?: MessageAutoDeleteTimerChanged;
3056
+ message_id: number;
3057
+ message_thread_id?: number;
3058
+ migrate_from_chat_id?: number;
3059
+ migrate_to_chat_id?: number;
3060
+ new_chat_members?: User[];
3061
+ new_chat_photo?: PhotoSize[];
3062
+ new_chat_title?: string;
3063
+ passport_data?: PassportData;
3064
+ photo?: PhotoSize[];
3065
+ pinned_message?: MaybeInaccessibleMessage;
3066
+ poll?: Poll;
3067
+ proximity_alert_triggered?: ProximityAlertTriggered;
3068
+ quote?: TextQuote;
3069
+ reply_markup?: InlineKeyboardMarkup;
3070
+ reply_to_message?: Message;
3071
+ reply_to_story?: Story;
3072
+ sender_boost_count?: number;
3073
+ sender_business_bot?: User;
3074
+ sender_chat?: Chat;
3075
+ show_caption_above_media?: boolean;
3076
+ sticker?: Sticker;
3077
+ story?: Story;
3078
+ successful_payment?: SuccessfulPayment;
3079
+ supergroup_chat_created?: boolean;
3080
+ text?: string;
3081
+ users_shared?: UsersShared;
3082
+ venue?: Venue;
3083
+ via_bot?: User;
3084
+ video?: Video;
3085
+ video_chat_ended?: VideoChatEnded;
3086
+ video_chat_participants_invited?: VideoChatParticipantsInvited;
3087
+ video_chat_scheduled?: VideoChatScheduled;
3088
+ video_chat_started?: VideoChatStarted;
3089
+ video_note?: VideoNote;
3090
+ voice?: Voice;
3091
+ web_app_data?: WebAppData;
3092
+ write_access_allowed?: WriteAccessAllowed;
3093
+ }
3094
+ export interface MessageAutoDeleteTimerChanged {
3095
+ message_auto_delete_time: number;
2703
3096
  }
2704
3097
  export interface MessageBatch {
2705
3098
  options: BatchPublishOptions;
@@ -2709,6 +3102,39 @@ export interface MessageBatch {
2709
3102
  created: number;
2710
3103
  bytes: number;
2711
3104
  }
3105
+ export interface MessageEntity {
3106
+ custom_emoji_id?: string;
3107
+ language?: string;
3108
+ length: number;
3109
+ offset: number;
3110
+ type: string;
3111
+ url?: string;
3112
+ user?: User;
3113
+ }
3114
+ export type MessageOrigin = MessageOriginUser | MessageOriginHiddenUser | MessageOriginChat | MessageOriginChannel;
3115
+ export interface MessageOriginChannel {
3116
+ author_signature?: string;
3117
+ chat: Chat;
3118
+ date: number;
3119
+ message_id: number;
3120
+ type: string;
3121
+ }
3122
+ export interface MessageOriginChat {
3123
+ author_signature?: string;
3124
+ date: number;
3125
+ sender_chat: Chat;
3126
+ type: string;
3127
+ }
3128
+ export interface MessageOriginHiddenUser {
3129
+ date: number;
3130
+ sender_user_name: string;
3131
+ type: string;
3132
+ }
3133
+ export interface MessageOriginUser {
3134
+ date: number;
3135
+ sender_user: User;
3136
+ type: string;
3137
+ }
2712
3138
  export interface MessageQueue {
2713
3139
  numPendingRequests: number;
2714
3140
  numInFlightRequests: number;
@@ -2738,6 +3164,19 @@ export interface Methods {
2738
3164
  } | boolean;
2739
3165
  }
2740
3166
  export type METRIC = unknown;
3167
+ export interface MetricViewConfigDto {
3168
+ mode: 'record_count' | 'field_summary';
3169
+ fieldId?: unknown;
3170
+ summaryType?: MetricWidgetSummaryType | null;
3171
+ comparisonMode?: 'previous_period' | 'fixed_target';
3172
+ comparisonValue?: number | null;
3173
+ format?: 'number' | 'currency' | 'percent';
3174
+ colorMode?: 'default' | 'filled' | 'colored_text';
3175
+ color?: MetricWidgetColor | null;
3176
+ meta?: {
3177
+ [key: string]: unknown;
3178
+ };
3179
+ }
2741
3180
  export type MetricWidgetColor = 'gray' | 'red' | 'green' | 'yellow' | 'pink' | 'blue' | 'orange' | 'maroon' | 'purple';
2742
3181
  export type MetricWidgetColorMode = 'default' | 'filled' | 'colored_text';
2743
3182
  export type MetricWidgetConfig = {
@@ -2908,6 +3347,13 @@ export type OrderedQueue = MessageQueue & {
2908
3347
  error?: null | PublishError;
2909
3348
  key: string;
2910
3349
  };
3350
+ export interface OrderInfo {
3351
+ id: string | number;
3352
+ userId: number;
3353
+ note?: string;
3354
+ content?: string;
3355
+ totalAmount?: number;
3356
+ }
2911
3357
  export type OriginalAndCamel<T> = {
2912
3358
  [K in keyof T as K | SnakeToCamel<K>]: T[K] extends {} ? OriginalAndCamel<T[K]> : T[K];
2913
3359
  };
@@ -2983,6 +3429,16 @@ export interface ParagraphStyle {
2983
3429
  avoidWidowAndOrphan?: boolean;
2984
3430
  shading?: Shading;
2985
3431
  }
3432
+ export interface PassportData {
3433
+ credentials: EncryptedCredentials;
3434
+ data: EncryptedPassportElement[];
3435
+ }
3436
+ export interface PassportFile {
3437
+ file_date: number;
3438
+ file_id: string;
3439
+ file_size: number;
3440
+ file_unique_id: string;
3441
+ }
2986
3442
  export type PASSWORD = unknown;
2987
3443
  export type PAST_MONTH = unknown;
2988
3444
  export type PAST_NUMBER_OF_DAYS = unknown;
@@ -3157,6 +3613,13 @@ export interface PerRequestMetricRecorder {
3157
3613
  export type PERSONAL = unknown;
3158
3614
  export type PHONE = unknown;
3159
3615
  export type PHOTO = unknown;
3616
+ export interface PhotoSize {
3617
+ file_id: string;
3618
+ file_size?: number;
3619
+ file_unique_id: string;
3620
+ height: number;
3621
+ width: number;
3622
+ }
3160
3623
  export type PHYSICAL = unknown;
3161
3624
  export type PIE = unknown;
3162
3625
  export type PIE_CHART = unknown;
@@ -3185,6 +3648,27 @@ export interface PluggableAuthClientOptions extends BaseExternalAccountClientOpt
3185
3648
  }
3186
3649
  export type POINT = unknown;
3187
3650
  export type POLAR_AREA = unknown;
3651
+ export interface Poll {
3652
+ allows_multiple_answers: boolean;
3653
+ close_date?: number;
3654
+ correct_option_id?: number;
3655
+ explanation?: string;
3656
+ explanation_entities?: MessageEntity[];
3657
+ id: string;
3658
+ is_anonymous: boolean;
3659
+ is_closed: boolean;
3660
+ open_period?: number;
3661
+ options: PollOption[];
3662
+ question: string;
3663
+ question_entities?: MessageEntity[];
3664
+ total_voter_count: number;
3665
+ type: string;
3666
+ }
3667
+ export interface PollOption {
3668
+ text: string;
3669
+ text_entities?: MessageEntity[];
3670
+ voter_count: number;
3671
+ }
3188
3672
  export interface Position {
3189
3673
  x: number;
3190
3674
  y: number;
@@ -3315,6 +3799,7 @@ export declare enum ProviderEnum {
3315
3799
  FACEBOOK_ADS = "FACEBOOK_ADS",
3316
3800
  FACEBOOK_BUSINESS = "FACEBOOK_BUSINESS",
3317
3801
  TIKTOK = "TIKTOK",
3802
+ TIKTOK_ADS = "TIKTOK_ADS",
3318
3803
  WEBSITE = "WEBSITE",
3319
3804
  ZALO_OA = "ZALO_OA",
3320
3805
  ZALO_PERSONAL = "ZALO_PERSONAL",
@@ -3380,6 +3865,11 @@ export declare enum ProviderEnum {
3380
3865
  CLOUD_BACKBLAZE_B2 = "CLOUD_BACKBLAZE_B2",
3381
3866
  CLOUD_WASABI = "CLOUD_WASABI"
3382
3867
  }
3868
+ export interface ProximityAlertTriggered {
3869
+ distance: number;
3870
+ traveler: User;
3871
+ watcher: User;
3872
+ }
3383
3873
  export type PROXY = unknown;
3384
3874
  export type PublishCallback = RequestCallback<string>;
3385
3875
  export interface Publisher {
@@ -3442,6 +3932,7 @@ export interface QueuedMessage {
3442
3932
  }
3443
3933
  export type QueuedMessages = Array<QueuedMessage>;
3444
3934
  export type RADAR = unknown;
3935
+ export type RADAR_CRITERION = unknown;
3445
3936
  export interface RadarChartRuntimeDto {
3446
3937
  chartType: 'radar';
3447
3938
  family: 'radar';
@@ -3541,7 +4032,7 @@ export type RecordChange = {
3541
4032
  export type RecordData = Record<string, RecordValue>;
3542
4033
  export type RecordHistoryChanges = Record<string, RecordChange>;
3543
4034
  export type RecordListQueryDto = LimitOffsetQueryDto & {
3544
- viewId?: string;
4035
+ viewId?: unknown;
3545
4036
  fields?: string;
3546
4037
  filters?: string;
3547
4038
  sorts?: string;
@@ -3589,6 +4080,7 @@ export declare enum ReferentialAction {
3589
4080
  SET_DEFAULT = "SET DEFAULT"
3590
4081
  }
3591
4082
  export type REJECT = unknown;
4083
+ export type REJECTED = unknown;
3592
4084
  export type RELATION = unknown;
3593
4085
  export interface RelationConfigDto {
3594
4086
  relationType: RelationType;
@@ -3988,6 +4480,13 @@ export interface SharedExternalAccountClientOptions extends AuthClientOptions {
3988
4480
  audience: string;
3989
4481
  token_url?: string;
3990
4482
  }
4483
+ export interface SharedUser {
4484
+ first_name?: string;
4485
+ last_name?: string;
4486
+ photo?: PhotoSize[];
4487
+ user_id: number;
4488
+ username?: string;
4489
+ }
3991
4490
  export type SHB_BANK = unknown;
3992
4491
  export interface ShippingIntegrationMetadata extends IntegrationMetadataBase {
3993
4492
  provider: ShippingProvider;
@@ -4086,8 +4585,10 @@ export interface Snapshot {
4086
4585
  metadata?: google.pubsub.v1.ISnapshot;
4087
4586
  }
4088
4587
  export declare enum SortDirection {
4089
- ASC = "ASC",
4090
- DESC = "DESC"
4588
+ ASC = "asc",
4589
+ DESC = "desc",
4590
+ COUNT_ASC = "count-asc",
4591
+ COUNT_DESC = "count-desc"
4091
4592
  }
4092
4593
  export type SOURCE = unknown;
4093
4594
  export type SOURCE_CREATE = unknown;
@@ -4203,6 +4704,23 @@ export interface StatusObject {
4203
4704
  }
4204
4705
  export type STB_BANK = unknown;
4205
4706
  export type STEP = unknown;
4707
+ export interface Sticker {
4708
+ custom_emoji_id?: string;
4709
+ emoji?: string;
4710
+ file_id: string;
4711
+ file_size?: number;
4712
+ file_unique_id: string;
4713
+ height: number;
4714
+ is_animated: boolean;
4715
+ is_video: boolean;
4716
+ mask_position?: MaskPosition;
4717
+ needs_repainting?: boolean;
4718
+ premium_animation?: File;
4719
+ set_name?: string;
4720
+ thumbnail?: PhotoSize;
4721
+ type: string;
4722
+ width: number;
4723
+ }
4206
4724
  export type STICKER = unknown;
4207
4725
  export type Storage = Service & {
4208
4726
  Bucket: typeof Bucket;
@@ -4224,6 +4742,11 @@ export declare enum StorageMode {
4224
4742
  EAV = "EAV",
4225
4743
  PHYSICAL = "PHYSICAL"
4226
4744
  }
4745
+ export interface Story {
4746
+ chat: Chat;
4747
+ id: number;
4748
+ }
4749
+ export type STRING = unknown;
4227
4750
  export type SubjectTokenFormatType = 'json' | 'text';
4228
4751
  export interface SubjectTokenSupplier {
4229
4752
  getSubjectToken: (context: ExternalAccountSupplierContext) => Promise<string>;
@@ -4273,9 +4796,25 @@ export interface SuccessCondition {
4273
4796
  jsonPath: string;
4274
4797
  expectedValue: any;
4275
4798
  }
4799
+ export interface SuccessfulPayment {
4800
+ currency: string;
4801
+ invoice_payload: string;
4802
+ order_info?: OrderInfo;
4803
+ provider_payment_charge_id: string;
4804
+ shipping_option_id?: string;
4805
+ telegram_payment_charge_id: string;
4806
+ total_amount: number;
4807
+ }
4276
4808
  export type SUM = unknown;
4277
4809
  export type SUM_DISTINCT = unknown;
4278
4810
  export type SUNDAY = unknown;
4811
+ export interface SwitchInlineQueryChosenChat {
4812
+ allow_bot_chats?: boolean;
4813
+ allow_channel_chats?: boolean;
4814
+ allow_group_chats?: boolean;
4815
+ allow_user_chats?: boolean;
4816
+ query?: string;
4817
+ }
4279
4818
  export type SYNC = unknown;
4280
4819
  export interface SysBases {
4281
4820
  id: string;
@@ -4339,6 +4878,59 @@ export interface SysCalendarViewRange {
4339
4878
  fromField: SysField;
4340
4879
  toField: SysField | null;
4341
4880
  }
4881
+ export interface SysChartView {
4882
+ viewId: string;
4883
+ workspaceId: string | null;
4884
+ baseId: string | null;
4885
+ sourceId: string | null;
4886
+ chartType: ChartType;
4887
+ xAxisFieldId: string | null;
4888
+ breakdownFieldId: string | null;
4889
+ pointXFieldId: string | null;
4890
+ pointYFieldId: string | null;
4891
+ pointSizeFieldId: string | null;
4892
+ pointCategoryFieldId: string | null;
4893
+ radarObjectFieldId: string | null;
4894
+ xAxisMode: ChartXAxisMode | null;
4895
+ xAxisTimeBucket: ChartTimeBucket | null;
4896
+ display: ChartDisplaySpec;
4897
+ meta: Record<string, unknown>;
4898
+ createdAt: number;
4899
+ updatedAt: number | null;
4900
+ view: SysView;
4901
+ measures: SysChartViewMeasure[];
4902
+ xAxisField?: SysField | null;
4903
+ breakdownField?: SysField | null;
4904
+ pointXField?: SysField | null;
4905
+ pointYField?: SysField | null;
4906
+ pointSizeField?: SysField | null;
4907
+ pointCategoryField?: SysField | null;
4908
+ radarObjectField?: SysField | null;
4909
+ }
4910
+ export interface SysChartViewMeasure {
4911
+ id: string;
4912
+ viewId: string;
4913
+ workspaceId: string | null;
4914
+ baseId: string | null;
4915
+ sourceId: string | null;
4916
+ fieldId: string | null;
4917
+ aggregationFieldId: string | null;
4918
+ role: ChartViewMeasureRole;
4919
+ key: string;
4920
+ label: string;
4921
+ aggregationFunction: WidgetAggregationFunction;
4922
+ distinct: boolean;
4923
+ color: string | null;
4924
+ renderAs: ChartRenderAs | null;
4925
+ stackGroup: string | null;
4926
+ useSecondaryAxis: boolean;
4927
+ order: number | null;
4928
+ createdAt: number;
4929
+ updatedAt: number | null;
4930
+ chartView: SysChartView;
4931
+ field?: SysField | null;
4932
+ aggregationField?: SysField | null;
4933
+ }
4342
4934
  export interface SysDashboards {
4343
4935
  id: string;
4344
4936
  fkWorkspaceId: string | null;
@@ -4521,15 +5113,17 @@ export interface SysIntegrations {
4521
5113
  integrationName: string;
4522
5114
  typeId: number;
4523
5115
  integrationProvider?: SysIntegrationProviders;
4524
- userId: number | null;
4525
5116
  ownedType: OwnedTypeEnum;
4526
5117
  createdAt: number | null;
5118
+ employeeId: number | null;
4527
5119
  encryptedConfig: string | null;
5120
+ mcpEncryptedConfig: string | null;
4528
5121
  metadata: IntegrationMetadata | null;
4529
5122
  updatedAt: number | null;
4530
5123
  status: IntegrationEntityStatus;
4531
5124
  secretKey: string | null;
4532
5125
  imageKey: string | null;
5126
+ externalIntegrationId: string | null;
4533
5127
  errorTracking: IntegrationJobErrorTracking | null;
4534
5128
  source?: SysSources;
4535
5129
  updateTimestamp: () => void;
@@ -4589,6 +5183,25 @@ export interface SysMapViewColumn {
4589
5183
  view: SysMapView;
4590
5184
  field: SysField;
4591
5185
  }
5186
+ export interface SysMetricView {
5187
+ viewId: string;
5188
+ workspaceId: string | null;
5189
+ baseId: string | null;
5190
+ sourceId: string | null;
5191
+ mode: MetricWidgetMode;
5192
+ fieldId: string | null;
5193
+ summaryType: MetricWidgetSummaryType | null;
5194
+ comparisonMode: 'previous_period' | 'fixed_target' | null;
5195
+ comparisonValue: string | null;
5196
+ format: 'number' | 'currency' | 'percent' | null;
5197
+ colorMode: MetricWidgetColorMode | null;
5198
+ color: MetricWidgetColor | null;
5199
+ meta: Record<string, unknown>;
5200
+ createdAt: number;
5201
+ updatedAt: number | null;
5202
+ view: SysView;
5203
+ field?: SysField | null;
5204
+ }
4592
5205
  export interface SysRowColorCondition {
4593
5206
  id: string;
4594
5207
  viewId: string;
@@ -4611,6 +5224,7 @@ export interface SysSources {
4611
5224
  type: SourceType | null;
4612
5225
  config: SourceConfig | null;
4613
5226
  enabled: boolean | null;
5227
+ isDefault: boolean;
4614
5228
  isMeta: boolean | null;
4615
5229
  order: number | null;
4616
5230
  inflectionColumn: string | null;
@@ -4691,6 +5305,8 @@ export interface SysView {
4691
5305
  calendarView: SysCalendarView;
4692
5306
  formView: SysFormView;
4693
5307
  mapView: SysMapView;
5308
+ chartView: SysChartView;
5309
+ metricView: SysMetricView;
4694
5310
  filters: SysViewFilter[];
4695
5311
  sorts: SysViewSort[];
4696
5312
  rowColorConditions: SysRowColorCondition[];
@@ -4806,15 +5422,25 @@ export type TableMeta = {
4806
5422
  primaryFieldId?: string;
4807
5423
  displayFieldId?: string;
4808
5424
  isTemplate?: boolean;
5425
+ physicalOrigin?: 'managed' | 'imported';
4809
5426
  externalObjectType?: 'table' | 'view';
4810
5427
  externalCatalogName?: string;
4811
5428
  isReadonly?: boolean;
5429
+ capabilities?: {
5430
+ read?: boolean;
5431
+ insert?: boolean;
5432
+ update?: boolean;
5433
+ delete?: boolean;
5434
+ aggregate?: boolean;
5435
+ groupBy?: boolean;
5436
+ ddl?: boolean;
5437
+ };
4812
5438
  syncState?: 'active' | 'stale';
4813
5439
  sourceFingerprint?: string;
4814
5440
  };
4815
5441
  export interface TableResponseDto {
4816
- id: string;
4817
- workspaceId: string;
5442
+ id: unknown;
5443
+ workspaceId: unknown;
4818
5444
  name: string;
4819
5445
  slug: string;
4820
5446
  description?: string | null;
@@ -4896,6 +5522,12 @@ export type TEMPLATE = unknown;
4896
5522
  export type TEST = unknown;
4897
5523
  export type TEXT = unknown;
4898
5524
  export type TEXTAREA = unknown;
5525
+ export interface TextQuote {
5526
+ entities?: MessageEntity[];
5527
+ is_manual?: boolean;
5528
+ position: number;
5529
+ text: string;
5530
+ }
4899
5531
  export interface TextStyle {
4900
5532
  bold?: boolean;
4901
5533
  italic?: boolean;
@@ -4993,6 +5625,7 @@ export type TextWidgetVariableSource = TextWidgetAggregateBindingSource | TextWi
4993
5625
  export type Th = unknown;
4994
5626
  export type THURSDAY = unknown;
4995
5627
  export type TIKTOK = unknown;
5628
+ export type TIKTOK_ADS = unknown;
4996
5629
  export interface TikTokIntegrationMetadata {
4997
5630
  providerType: 'TIKTOK';
4998
5631
  authMode: 'oauth';
@@ -5168,6 +5801,7 @@ export interface TypeAgent {
5168
5801
  enableResourcesProducts: boolean;
5169
5802
  enableOutputZaloPersonal: boolean;
5170
5803
  enableOutputZaloBot: boolean;
5804
+ enableOutputTelegram: boolean;
5171
5805
  enableSeeding: boolean;
5172
5806
  enableGenImage: boolean;
5173
5807
  enableGenVideo: boolean;
@@ -5329,6 +5963,10 @@ export declare enum UserCategoryEnum {
5329
5963
  VERIFIED = "VERIFIED",
5330
5964
  COMMUNITY = "COMMUNITY"
5331
5965
  }
5966
+ export interface UsersShared {
5967
+ request_id: number;
5968
+ users: SharedUser[];
5969
+ }
5332
5970
  export interface UserToolsCustom {
5333
5971
  id: string;
5334
5972
  workspaceId: string;
@@ -5408,6 +6046,15 @@ export type UUID = unknown;
5408
6046
  export type VARBINARY = unknown;
5409
6047
  export type VARCHAR = unknown;
5410
6048
  export type VCB_BANK = unknown;
6049
+ export interface Venue {
6050
+ address: string;
6051
+ foursquare_id?: string;
6052
+ foursquare_type?: string;
6053
+ google_place_id?: string;
6054
+ google_place_type?: string;
6055
+ location: Location;
6056
+ title: string;
6057
+ }
5411
6058
  export type Verified = unknown;
5412
6059
  export type VERIFIED = unknown;
5413
6060
  export type VERTEX_AI = unknown;
@@ -5429,7 +6076,37 @@ export interface VertexAIMetadata {
5429
6076
  };
5430
6077
  }
5431
6078
  export type VIB_BANK = unknown;
6079
+ export interface Video {
6080
+ duration: number;
6081
+ file_id: string;
6082
+ file_name?: string;
6083
+ file_size?: number;
6084
+ file_unique_id: string;
6085
+ height: number;
6086
+ mime_type?: string;
6087
+ thumbnail?: PhotoSize;
6088
+ width: number;
6089
+ }
5432
6090
  export type VIDEO = unknown;
6091
+ export interface VideoChatEnded {
6092
+ duration: number;
6093
+ }
6094
+ export interface VideoChatParticipantsInvited {
6095
+ users: User[];
6096
+ }
6097
+ export interface VideoChatScheduled {
6098
+ start_date: number;
6099
+ }
6100
+ export interface VideoChatStarted {
6101
+ }
6102
+ export interface VideoNote {
6103
+ duration: number;
6104
+ file_id: string;
6105
+ file_size?: number;
6106
+ file_unique_id: string;
6107
+ length: number;
6108
+ thumbnail?: PhotoSize;
6109
+ }
5433
6110
  export type VIEW = unknown;
5434
6111
  export type VIEW_CREATE = unknown;
5435
6112
  export type VIEW_DELETE = unknown;
@@ -5452,29 +6129,30 @@ export type ViewMeta = {
5452
6129
  };
5453
6130
  };
5454
6131
  export interface ViewResponseDto {
5455
- id: string;
5456
- tableId: string;
5457
- workspaceId?: string | null;
5458
- baseId?: string | null;
5459
- sourceId?: string | null;
6132
+ id: unknown;
6133
+ tableId: unknown;
6134
+ workspaceId?: unknown;
6135
+ baseId?: unknown;
6136
+ sourceId?: unknown;
5460
6137
  name: string;
5461
- description?: string | null;
6138
+ description: string | null;
5462
6139
  type: ViewType;
5463
6140
  show: boolean;
5464
- order?: number | null;
5465
- lockType: ViewLockType | null;
5466
- uuid?: string | null;
6141
+ order: number | null;
6142
+ lockType?: unknown | null;
6143
+ uuid?: unknown | null;
5467
6144
  showSystemFields: boolean;
5468
6145
  meta?: {
5469
6146
  [key: string]: unknown;
5470
6147
  };
5471
- rowColoringMode: RowColoringMode | null;
5472
- createdBy?: number | null;
5473
- ownedBy?: number | null;
5474
- customUrlId?: string | null;
6148
+ config?: MetricViewConfigDto | ChartViewConfigDto;
6149
+ rowColoringMode?: unknown | null;
6150
+ createdBy?: unknown | null;
6151
+ ownedBy?: unknown | null;
6152
+ customUrlId?: unknown | null;
5475
6153
  isDefault: boolean;
5476
6154
  createdAt: number;
5477
- updatedAt?: number | null;
6155
+ updatedAt?: unknown | null;
5478
6156
  }
5479
6157
  export declare enum ViewSortDirection {
5480
6158
  ASC = "asc",
@@ -5488,7 +6166,16 @@ export declare enum ViewType {
5488
6166
  GRID = "grid",
5489
6167
  KANBAN = "kanban",
5490
6168
  CALENDAR = "calendar",
5491
- MAP = "map"
6169
+ MAP = "map",
6170
+ CHART = "chart",
6171
+ METRIC = "metric"
6172
+ }
6173
+ export interface Voice {
6174
+ duration: number;
6175
+ file_id: string;
6176
+ file_size?: number;
6177
+ file_unique_id: string;
6178
+ mime_type?: string;
5492
6179
  }
5493
6180
  export interface VonageSmsMetadata {
5494
6181
  from?: string;
@@ -5497,6 +6184,13 @@ export interface VonageSmsMetadata {
5497
6184
  export type VPB_BANK = unknown;
5498
6185
  export type VTB_BANK = unknown;
5499
6186
  export type WAITING = unknown;
6187
+ export interface WebAppData {
6188
+ button_text: string;
6189
+ data: string;
6190
+ }
6191
+ export interface WebAppInfo {
6192
+ url: string;
6193
+ }
5500
6194
  export type WEBHOOK = unknown;
5501
6195
  export interface WebhookNotificationConfig extends BaseNotificationConfig {
5502
6196
  url: string;
@@ -5539,6 +6233,27 @@ export interface WidgetAggregationSpecDto {
5539
6233
  export type WidgetConfig = ChartWidgetConfig | IframeWidgetConfig | MetricWidgetConfig | RedaiViewWidgetConfig | TextWidgetConfig | TableWidgetConfig | ListWidgetConfig | CalendarWidgetConfig | KanbanWidgetConfig | MapWidgetConfig;
5540
6234
  export type WidgetDatePreset = 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'this_month' | 'last_month' | 'this_quarter' | 'this_year';
5541
6235
  export type WidgetFilter = FilterPayload | FilterPayload[];
6236
+ export interface WidgetFilterPayloadDto {
6237
+ fieldId?: unknown;
6238
+ field?: unknown;
6239
+ columnId?: unknown;
6240
+ operator?: FilterComparisonOp | string;
6241
+ op?: FilterComparisonOp | string;
6242
+ comparisonOp?: FilterComparisonOp | string;
6243
+ comparison?: string;
6244
+ condition?: string;
6245
+ comparisonSubOp?: FilterComparisonSubOp | string;
6246
+ logicalOp?: FilterLogicalOp;
6247
+ logical?: FilterLogicalOp;
6248
+ value?: string | number | boolean | (unknown)[] | {
6249
+ [key: string]: unknown;
6250
+ } | null;
6251
+ isGroup?: boolean;
6252
+ children?: (WidgetFilterPayloadDto)[];
6253
+ and?: (WidgetFilterPayloadDto)[];
6254
+ or?: (WidgetFilterPayloadDto)[];
6255
+ not?: (WidgetFilterPayloadDto)[];
6256
+ }
5542
6257
  export type WidgetMeta = {
5543
6258
  icon?: string;
5544
6259
  color?: string;
@@ -5559,22 +6274,18 @@ export type WidgetQuerySpec = {
5559
6274
  export interface WidgetQuerySpecDto {
5560
6275
  modelId: unknown;
5561
6276
  viewId?: unknown;
5562
- filters?: {
5563
- [key: string]: unknown;
5564
- };
6277
+ filters?: WidgetFilterPayloadDto | (WidgetFilterPayloadDto)[];
5565
6278
  groupBy?: (string)[];
5566
- sorts?: ({
5567
- [key: string]: unknown;
5568
- })[];
6279
+ sorts?: (WidgetSortSpecDto)[];
5569
6280
  limit?: number;
5570
6281
  dateRangeFieldId?: unknown;
5571
6282
  datePreset?: WidgetDatePreset;
5572
6283
  }
5573
6284
  export interface WidgetResponseDto {
5574
- id: string;
5575
- fkWorkspaceId: string | null;
5576
- baseId: string | null;
5577
- fkDashboardId: string | null;
6285
+ id: unknown;
6286
+ fkWorkspaceId?: unknown;
6287
+ baseId?: unknown;
6288
+ fkDashboardId?: unknown;
5578
6289
  title: string;
5579
6290
  description: string | null;
5580
6291
  type: WidgetType;
@@ -5583,8 +6294,8 @@ export interface WidgetResponseDto {
5583
6294
  col: number | null;
5584
6295
  sizeX: number | null;
5585
6296
  sizeY: number | null;
5586
- fkModelId: string | null;
5587
- fkViewId: string | null;
6297
+ fkModelId?: unknown;
6298
+ fkViewId?: unknown;
5588
6299
  meta?: {
5589
6300
  [key: string]: unknown;
5590
6301
  };
@@ -5617,50 +6328,21 @@ export type WidgetSortSpec = {
5617
6328
  fieldId: string;
5618
6329
  direction: 'asc' | 'desc';
5619
6330
  };
6331
+ export interface WidgetSortSpecDto {
6332
+ fieldId: unknown;
6333
+ direction: 'asc' | 'desc';
6334
+ }
5620
6335
  export declare enum WidgetType {
5621
- TABLE = "TABLE",
5622
- CHART = "CHART",
5623
- CARD = "CARD",
5624
- METRIC = "METRIC",
5625
- GAUGE = "GAUGE",
5626
- PROGRESS = "PROGRESS",
5627
- HEATMAP = "HEATMAP",
5628
- FUNNEL = "FUNNEL",
5629
- PIE_CHART = "PIE_CHART",
5630
- FORM = "FORM",
5631
- INPUT = "INPUT",
5632
- SELECT = "SELECT",
5633
- CHECKBOX_GROUP = "CHECKBOX_GROUP",
5634
- RADIO_GROUP = "RADIO_GROUP",
5635
- DATE_PICKER = "DATE_PICKER",
5636
- SLIDER = "SLIDER",
5637
- TEXT = "TEXT",
5638
- IMAGE = "IMAGE",
5639
- VIDEO = "VIDEO",
5640
- IFRAME = "IFRAME",
5641
- LIST = "LIST",
5642
- TIMELINE = "TIMELINE",
5643
- NOTIFICATION = "NOTIFICATION",
5644
- CONTAINER = "CONTAINER",
5645
- GRID = "GRID",
5646
- TABS = "TABS",
5647
- ACCORDION = "ACCORDION",
5648
- DIVIDER = "DIVIDER",
5649
- SPACER = "SPACER",
5650
- BUTTON = "BUTTON",
5651
- BUTTON_GROUP = "BUTTON_GROUP",
5652
- FILTER = "FILTER",
5653
- SEARCH = "SEARCH",
5654
- PAGINATION = "PAGINATION",
5655
- BREADCRUMB = "BREADCRUMB",
5656
- MENU = "MENU",
5657
- MODAL = "MODAL",
5658
- KPI_GRID = "KPI_GRID",
5659
- COMPARISON = "COMPARISON",
5660
- MAP = "MAP",
5661
- CALENDAR = "CALENDAR",
5662
- TREE = "TREE",
5663
- KANBAN = "KANBAN"
6336
+ CHART = "chart",
6337
+ IFRAME = "iframe",
6338
+ METRIC = "metric",
6339
+ REDAI_VIEW = "redai_view",
6340
+ TEXT = "text",
6341
+ TABLE = "table",
6342
+ LIST = "list",
6343
+ CALENDAR = "calendar",
6344
+ KANBAN = "kanban",
6345
+ MAP = "map"
5664
6346
  }
5665
6347
  export interface Workflow {
5666
6348
  id: string;
@@ -5685,7 +6367,7 @@ export interface Workflow {
5685
6367
  }
5686
6368
  export type WORKFLOW = unknown;
5687
6369
  export type WORKFLOW_TRIGGER = unknown;
5688
- export type WORKSPACE = unknown;
6370
+ export declare const WORKSPACE: readonly unknown[];
5689
6371
  export declare const WORKSPACE_SYSTEM_ROLE_CODE: readonly unknown[];
5690
6372
  export declare enum WorkspaceAuthScopeType {
5691
6373
  WORKSPACE = "workspace",
@@ -5772,6 +6454,11 @@ export interface WorkspaceSettings {
5772
6454
  customDomainVerified?: boolean;
5773
6455
  }
5774
6456
  export type WorkspaceSystemRoleCode = (typeof WORKSPACE_SYSTEM_ROLE_CODE)[keyof typeof WORKSPACE_SYSTEM_ROLE_CODE];
6457
+ export interface WriteAccessAllowed {
6458
+ from_attachment_menu?: boolean;
6459
+ from_request?: boolean;
6460
+ web_app_name?: string;
6461
+ }
5775
6462
  export interface WriteCallback {
5776
6463
  (error?: Error | null): void;
5777
6464
  }
@@ -5787,6 +6474,7 @@ export interface XAIMetadata {
5787
6474
  }
5788
6475
  export type XLSX = unknown;
5789
6476
  export type XML = unknown;
6477
+ export type Y_AXIS = unknown;
5790
6478
  export type YEAR = unknown;
5791
6479
  export type YESTERDAY = unknown;
5792
6480
  export type YOUTUBE = unknown;