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

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 (97) hide show
  1. package/dist/cjs/generated/dynamic-table/index.js +8 -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/columns.service.js +9 -0
  5. package/dist/cjs/generated/dynamic-table/services/columns.service.js.map +1 -1
  6. package/dist/cjs/generated/dynamic-table/services/command-palette.service.js.map +1 -1
  7. package/dist/cjs/generated/dynamic-table/services/comments.service.js.map +1 -1
  8. package/dist/cjs/generated/dynamic-table/services/data-table-key-name.service.js.map +1 -1
  9. package/dist/cjs/generated/dynamic-table/services/data-table-mutations.service.js +9 -0
  10. package/dist/cjs/generated/dynamic-table/services/data-table-mutations.service.js.map +1 -1
  11. package/dist/cjs/generated/dynamic-table/services/data-table.service.js.map +1 -1
  12. package/dist/cjs/generated/dynamic-table/services/hooks.service.js.map +1 -1
  13. package/dist/cjs/generated/dynamic-table/services/index.js +6 -2
  14. package/dist/cjs/generated/dynamic-table/services/index.js.map +1 -1
  15. package/dist/cjs/generated/dynamic-table/services/scripts.service.js +82 -0
  16. package/dist/cjs/generated/dynamic-table/services/scripts.service.js.map +1 -0
  17. package/dist/cjs/generated/dynamic-table/services/sources.service.js +9 -0
  18. package/dist/cjs/generated/dynamic-table/services/sources.service.js.map +1 -1
  19. package/dist/cjs/generated/dynamic-table/services/tables-marketplace-artifact-export.service.js +19 -0
  20. package/dist/cjs/generated/dynamic-table/services/tables-marketplace-artifact-export.service.js.map +1 -0
  21. package/dist/cjs/generated/dynamic-table/services/tables.service.js +36 -0
  22. package/dist/cjs/generated/dynamic-table/services/tables.service.js.map +1 -1
  23. package/dist/cjs/generated/dynamic-table/types.js +32 -2
  24. package/dist/cjs/generated/dynamic-table/types.js.map +1 -1
  25. package/dist/cjs/generated/index.js +7 -2
  26. package/dist/cjs/generated/index.js.map +1 -1
  27. package/dist/cjs/generated/shared-types.js +15 -2
  28. package/dist/cjs/generated/shared-types.js.map +1 -1
  29. package/dist/cjs/index.js +2 -0
  30. package/dist/cjs/index.js.map +1 -1
  31. package/dist/esm/generated/dynamic-table/index.d.ts +1 -1
  32. package/dist/esm/generated/dynamic-table/index.d.ts.map +1 -1
  33. package/dist/esm/generated/dynamic-table/index.js +1 -1
  34. package/dist/esm/generated/dynamic-table/index.js.map +1 -1
  35. package/dist/esm/generated/dynamic-table/services/calendar-data.service.d.ts +3 -8
  36. package/dist/esm/generated/dynamic-table/services/calendar-data.service.d.ts.map +1 -1
  37. package/dist/esm/generated/dynamic-table/services/calendar-data.service.js.map +1 -1
  38. package/dist/esm/generated/dynamic-table/services/columns.service.d.ts +3 -5
  39. package/dist/esm/generated/dynamic-table/services/columns.service.d.ts.map +1 -1
  40. package/dist/esm/generated/dynamic-table/services/columns.service.js +9 -0
  41. package/dist/esm/generated/dynamic-table/services/columns.service.js.map +1 -1
  42. package/dist/esm/generated/dynamic-table/services/command-palette.service.d.ts +4 -4
  43. package/dist/esm/generated/dynamic-table/services/command-palette.service.d.ts.map +1 -1
  44. package/dist/esm/generated/dynamic-table/services/command-palette.service.js.map +1 -1
  45. package/dist/esm/generated/dynamic-table/services/comments.service.d.ts +2 -4
  46. package/dist/esm/generated/dynamic-table/services/comments.service.d.ts.map +1 -1
  47. package/dist/esm/generated/dynamic-table/services/comments.service.js.map +1 -1
  48. package/dist/esm/generated/dynamic-table/services/data-table-key-name.service.d.ts +3 -7
  49. package/dist/esm/generated/dynamic-table/services/data-table-key-name.service.d.ts.map +1 -1
  50. package/dist/esm/generated/dynamic-table/services/data-table-key-name.service.js.map +1 -1
  51. package/dist/esm/generated/dynamic-table/services/data-table-mutations.service.d.ts +2 -1
  52. package/dist/esm/generated/dynamic-table/services/data-table-mutations.service.d.ts.map +1 -1
  53. package/dist/esm/generated/dynamic-table/services/data-table-mutations.service.js +9 -0
  54. package/dist/esm/generated/dynamic-table/services/data-table-mutations.service.js.map +1 -1
  55. package/dist/esm/generated/dynamic-table/services/data-table.service.d.ts +3 -7
  56. package/dist/esm/generated/dynamic-table/services/data-table.service.d.ts.map +1 -1
  57. package/dist/esm/generated/dynamic-table/services/data-table.service.js.map +1 -1
  58. package/dist/esm/generated/dynamic-table/services/hooks.service.d.ts +3 -3
  59. package/dist/esm/generated/dynamic-table/services/hooks.service.d.ts.map +1 -1
  60. package/dist/esm/generated/dynamic-table/services/hooks.service.js.map +1 -1
  61. package/dist/esm/generated/dynamic-table/services/index.d.ts +2 -0
  62. package/dist/esm/generated/dynamic-table/services/index.d.ts.map +1 -1
  63. package/dist/esm/generated/dynamic-table/services/index.js +2 -0
  64. package/dist/esm/generated/dynamic-table/services/index.js.map +1 -1
  65. package/dist/esm/generated/dynamic-table/services/scripts.service.d.ts +15 -0
  66. package/dist/esm/generated/dynamic-table/services/scripts.service.d.ts.map +1 -0
  67. package/dist/esm/generated/dynamic-table/services/scripts.service.js +78 -0
  68. package/dist/esm/generated/dynamic-table/services/scripts.service.js.map +1 -0
  69. package/dist/esm/generated/dynamic-table/services/sources.service.d.ts +2 -1
  70. package/dist/esm/generated/dynamic-table/services/sources.service.d.ts.map +1 -1
  71. package/dist/esm/generated/dynamic-table/services/sources.service.js +9 -0
  72. package/dist/esm/generated/dynamic-table/services/sources.service.js.map +1 -1
  73. package/dist/esm/generated/dynamic-table/services/tables-marketplace-artifact-export.service.d.ts +8 -0
  74. package/dist/esm/generated/dynamic-table/services/tables-marketplace-artifact-export.service.d.ts.map +1 -0
  75. package/dist/esm/generated/dynamic-table/services/tables-marketplace-artifact-export.service.js +15 -0
  76. package/dist/esm/generated/dynamic-table/services/tables-marketplace-artifact-export.service.js.map +1 -0
  77. package/dist/esm/generated/dynamic-table/services/tables.service.d.ts +5 -1
  78. package/dist/esm/generated/dynamic-table/services/tables.service.d.ts.map +1 -1
  79. package/dist/esm/generated/dynamic-table/services/tables.service.js +36 -0
  80. package/dist/esm/generated/dynamic-table/services/tables.service.js.map +1 -1
  81. package/dist/esm/generated/dynamic-table/types.d.ts +396 -48
  82. package/dist/esm/generated/dynamic-table/types.d.ts.map +1 -1
  83. package/dist/esm/generated/dynamic-table/types.js +30 -1
  84. package/dist/esm/generated/dynamic-table/types.js.map +1 -1
  85. package/dist/esm/generated/index.d.ts +2 -2
  86. package/dist/esm/generated/index.d.ts.map +1 -1
  87. package/dist/esm/generated/index.js +1 -1
  88. package/dist/esm/generated/index.js.map +1 -1
  89. package/dist/esm/generated/shared-types.d.ts +637 -79
  90. package/dist/esm/generated/shared-types.d.ts.map +1 -1
  91. package/dist/esm/generated/shared-types.js +13 -0
  92. package/dist/esm/generated/shared-types.js.map +1 -1
  93. package/dist/esm/index.d.ts +6 -2
  94. package/dist/esm/index.d.ts.map +1 -1
  95. package/dist/esm/index.js +3 -1
  96. package/dist/esm/index.js.map +1 -1
  97. 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 {
@@ -766,7 +830,29 @@ export interface ChartYAxisSpecDto {
766
830
  measures: (ChartMeasureSpecDto)[];
767
831
  label?: string;
768
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
+ }
769
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
+ }
770
856
  export type CHECKBOX_GROUP = unknown;
771
857
  export type CHECKED = unknown;
772
858
  export type CIDR = unknown;
@@ -861,11 +947,14 @@ export interface ColumnResponseDto {
861
947
  createdAt?: number | null;
862
948
  updatedAt?: number | null;
863
949
  relationConfig?: RelationConfigResponseDto;
950
+ relationDisplayConfig?: RelationConfigResponseDto;
864
951
  lookupConfig?: LookupConfigResponseDto;
865
952
  rollupConfig?: RollupConfigResponseDto;
866
953
  inverseFieldId?: string | null;
867
954
  inverseFieldKey?: string | null;
868
955
  inverseFieldName?: string | null;
956
+ isInverseField?: boolean | null;
957
+ isRelationStructuralEditable?: boolean | null;
869
958
  }
870
959
  export type COMBO = unknown;
871
960
  export type COMMENT = unknown;
@@ -887,6 +976,13 @@ export interface ConfigResponseExtractionField {
887
976
  }
888
977
  export type CONNECT = unknown;
889
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
+ }
890
986
  export type CONTAINER = unknown;
891
987
  export type ConvertConfig = Record<string, ConvertFieldMapping>;
892
988
  export interface ConvertFieldMapping {
@@ -936,7 +1032,9 @@ export interface CreateColumnDto {
936
1032
  keyName: string;
937
1033
  type: FieldType;
938
1034
  description?: string | null;
939
- config?: FieldConfig;
1035
+ config?: {
1036
+ [key: string]: unknown;
1037
+ };
940
1038
  isPrimary?: boolean;
941
1039
  isRequired?: boolean;
942
1040
  isUnique?: boolean;
@@ -949,7 +1047,9 @@ export interface CreateColumnDto {
949
1047
  uiDataType?: string | null;
950
1048
  dataType?: string | null;
951
1049
  columnDefault?: string | null;
952
- meta?: Record<string, JsonValue>;
1050
+ meta?: {
1051
+ [key: string]: unknown;
1052
+ };
953
1053
  externalColumnName?: string | null;
954
1054
  externalDataType?: ExternalDataType | null;
955
1055
  }
@@ -1049,9 +1149,9 @@ export type DashboardMeta = {
1049
1149
  };
1050
1150
  };
1051
1151
  export interface DashboardResponseDto {
1052
- id: string;
1053
- fkWorkspaceId: string | null;
1054
- baseId: string | null;
1152
+ id: unknown;
1153
+ fkWorkspaceId?: unknown;
1154
+ baseId?: unknown;
1055
1155
  title: string;
1056
1156
  description: string | null;
1057
1157
  order: number | null;
@@ -1145,6 +1245,10 @@ export type DESC = unknown;
1145
1245
  export interface Deserialize<T> {
1146
1246
  (bytes: Buffer): T;
1147
1247
  }
1248
+ export interface Dice {
1249
+ emoji: string;
1250
+ value: number;
1251
+ }
1148
1252
  export interface Dimension {
1149
1253
  magnitude: number;
1150
1254
  unit: string;
@@ -1156,6 +1260,14 @@ export type DIVIDER = unknown;
1156
1260
  export interface DocsColor {
1157
1261
  rgbColor?: RgbColor;
1158
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
+ }
1159
1271
  export type DOCUMENT = unknown;
1160
1272
  export type DONUT = unknown;
1161
1273
  export type DonutChartWidgetConfigDto = GroupedChartWidgetConfigBaseDto & {
@@ -1248,6 +1360,23 @@ export interface EmployeeRole {
1248
1360
  permissions: Permission[];
1249
1361
  }
1250
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
+ }
1251
1380
  export type END = unknown;
1252
1381
  export interface EndOfSegmentLocation {
1253
1382
  segmentId?: SegmentId;
@@ -1378,6 +1507,31 @@ export declare enum ExternalDataType {
1378
1507
  HSTORE = "HSTORE",
1379
1508
  CUSTOM = "CUSTOM"
1380
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
+ }
1381
1535
  export interface ExternalSyncConfig {
1382
1536
  source: 'google_sheets' | 'airtable' | 'notion' | 'api';
1383
1537
  sourceId?: string;
@@ -1646,27 +1800,12 @@ export declare enum FieldType {
1646
1800
  USER = "user",
1647
1801
  AI = "ai"
1648
1802
  }
1649
- export type File = ServiceObject & {
1650
- acl: Acl;
1651
- crc32cGenerator: CRC32CValidatorGenerator;
1652
- bucket: Bucket;
1653
- storage: Storage;
1654
- kmsKeyName?: string;
1655
- userProject?: string;
1656
- signer?: URLSigner;
1657
- name: string;
1658
- generation?: number;
1659
- restoreToken?: string;
1660
- parent: Bucket;
1661
- encryptionKey?: any;
1662
- encryptionKeyBase64?: any;
1663
- encryptionKeyHash?: any;
1664
- encryptionKeyInterceptor?: any;
1665
- instanceRetryValue?: any;
1666
- instancePreconditionOpts?: PreconditionOptions;
1667
- shouldRetryBasedOnPreconditionAndIdempotencyStrat: any;
1668
- getBufferFromReadable: any;
1669
- };
1803
+ export interface File {
1804
+ file_id: string;
1805
+ file_path?: string;
1806
+ file_size?: number;
1807
+ file_unique_id: string;
1808
+ }
1670
1809
  export type FILE_SYSTEM = unknown;
1671
1810
  export interface FileDescriptor {
1672
1811
  source: FileSourceType;
@@ -1767,13 +1906,13 @@ export type FilterLogicalPayload = {
1767
1906
  };
1768
1907
  export type FilterPayload = FilterConditionPayload | FilterGroupPayload | FilterLogicalPayload;
1769
1908
  export interface FilterResponseDto {
1770
- id: string;
1771
- viewId: string | null;
1772
- hookId?: string | null;
1773
- widgetId?: string | null;
1774
- filterPresetId?: string | null;
1775
- parentId: string | null;
1776
- fieldId: string | null;
1909
+ id: unknown;
1910
+ viewId?: unknown;
1911
+ hookId?: unknown;
1912
+ widgetId?: unknown;
1913
+ filterPresetId?: unknown;
1914
+ parentId?: unknown;
1915
+ fieldId?: unknown;
1777
1916
  operator: string | null;
1778
1917
  comparisonSubOp: string | null;
1779
1918
  value?: {
@@ -1819,12 +1958,26 @@ export type FormViewMeta = ViewMeta & {
1819
1958
  submitButtonLabel?: string;
1820
1959
  showBranding?: boolean;
1821
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
+ }
1822
1974
  export interface FptSmsMetadata {
1823
1975
  brandName: string;
1824
1976
  apiUrl?: string;
1825
1977
  [key: string]: any;
1826
1978
  }
1827
1979
  export type FRIDAY = unknown;
1980
+ export type FUNCTION = unknown;
1828
1981
  export type FUNNEL = unknown;
1829
1982
  export interface FunnelChartRuntimeDto {
1830
1983
  chartType: 'funnel';
@@ -1844,6 +1997,14 @@ export type GalleryViewMeta = ViewMeta & {
1844
1997
  showCover?: boolean;
1845
1998
  showEmptyCover?: boolean;
1846
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
+ }
1847
2008
  export type GAUGE = unknown;
1848
2009
  export interface Gaxios {
1849
2010
  agentCache: Map<string | URL, Agent | ((parsedUrl: URL) => Agent)>;
@@ -1922,6 +2083,10 @@ export declare enum GenderEnum {
1922
2083
  FEMALE = "FEMALE",
1923
2084
  OTHER = "OTHER"
1924
2085
  }
2086
+ export interface GeneralForumTopicHidden {
2087
+ }
2088
+ export interface GeneralForumTopicUnhidden {
2089
+ }
1925
2090
  export type GEOGRAPHY = unknown;
1926
2091
  export type GEOMETRY = unknown;
1927
2092
  export type GET = unknown;
@@ -1934,6 +2099,36 @@ export interface GetflyMetadata {
1934
2099
  export type GHN = unknown;
1935
2100
  export type GHTK = unknown;
1936
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
+ }
1937
2132
  export type GMAIL = unknown;
1938
2133
  export interface GmailMetadata {
1939
2134
  email: string;
@@ -2129,7 +2324,7 @@ export interface GroupedChartWidgetConfigBaseDto {
2129
2324
  display?: ChartDisplaySpecDto;
2130
2325
  }
2131
2326
  export interface GroupFieldDto {
2132
- fieldId: string;
2327
+ fieldId: unknown;
2133
2328
  direction?: 'asc' | 'desc';
2134
2329
  }
2135
2330
  export interface GrpcClientOptions extends GoogleAuthOptions {
@@ -2334,10 +2529,30 @@ export type IMAGE = unknown;
2334
2529
  export type IMPORT = unknown;
2335
2530
  export type Important = unknown;
2336
2531
  export type IN_SYSTEM = unknown;
2532
+ export interface InaccessibleMessage {
2533
+ chat: Chat;
2534
+ date: number;
2535
+ message_id: number;
2536
+ }
2337
2537
  export type INACTIVE = unknown;
2338
2538
  export type INDIVIDUAL = unknown;
2339
2539
  export type INET = unknown;
2340
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
+ }
2341
2556
  export interface INotificationConfig {
2342
2557
  id: string;
2343
2558
  name: string;
@@ -2514,6 +2729,61 @@ export type INTERNAL = unknown;
2514
2729
  export type INTERVAL = unknown;
2515
2730
  export type Invalid = unknown;
2516
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
+ }
2517
2787
  export type IP = unknown;
2518
2788
  export type IS = unknown;
2519
2789
  export type IS_NOT = unknown;
@@ -2580,6 +2850,13 @@ export interface Link {
2580
2850
  headingId?: string;
2581
2851
  }
2582
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
+ }
2583
2860
  export type LINKS = unknown;
2584
2861
  export type LIST = unknown;
2585
2862
  export type ListWidgetConfig = {
@@ -2606,6 +2883,12 @@ export type LocationInput = {
2606
2883
  value: EndOfSegmentLocation;
2607
2884
  };
2608
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
+ }
2609
2892
  export type LONG_TEXT = unknown;
2610
2893
  export type LONGTEXT = unknown;
2611
2894
  export type LOOKUP = unknown;
@@ -2670,7 +2953,14 @@ export type MARKETING_CREATE = unknown;
2670
2953
  export type MARKETING_DELETE = unknown;
2671
2954
  export type MARKETING_UPDATE = unknown;
2672
2955
  export type MARKETPLACE = unknown;
2956
+ export interface MaskPosition {
2957
+ point: string;
2958
+ scale: number;
2959
+ x_shift: number;
2960
+ y_shift: number;
2961
+ }
2673
2962
  export type MAX = unknown;
2963
+ export type MaybeInaccessibleMessage = Message | InaccessibleMessage;
2674
2964
  export type MB_BANK = unknown;
2675
2965
  export interface Mcp {
2676
2966
  id: string;
@@ -2717,24 +3007,92 @@ export declare enum MergeStrategy {
2717
3007
  MERGE = "MERGE"
2718
3008
  }
2719
3009
  export interface Message {
2720
- ackId: string;
2721
- attributes: {
2722
- [key: string]: string;
2723
- };
2724
- data: Buffer;
2725
- deliveryAttempt: number;
2726
- id: string;
2727
- orderingKey?: string;
2728
- publishTime: PreciseDate;
2729
- received: number;
2730
- _handledPromise: any;
2731
- _handled: any;
2732
- _length: any;
2733
- _subscriber: any;
2734
- _ackFailed?: any;
2735
- _dispatched: any;
2736
- parentSpan?: tracing.Span;
2737
- 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;
2738
3096
  }
2739
3097
  export interface MessageBatch {
2740
3098
  options: BatchPublishOptions;
@@ -2744,6 +3102,39 @@ export interface MessageBatch {
2744
3102
  created: number;
2745
3103
  bytes: number;
2746
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
+ }
2747
3138
  export interface MessageQueue {
2748
3139
  numPendingRequests: number;
2749
3140
  numInFlightRequests: number;
@@ -2956,6 +3347,13 @@ export type OrderedQueue = MessageQueue & {
2956
3347
  error?: null | PublishError;
2957
3348
  key: string;
2958
3349
  };
3350
+ export interface OrderInfo {
3351
+ id: string | number;
3352
+ userId: number;
3353
+ note?: string;
3354
+ content?: string;
3355
+ totalAmount?: number;
3356
+ }
2959
3357
  export type OriginalAndCamel<T> = {
2960
3358
  [K in keyof T as K | SnakeToCamel<K>]: T[K] extends {} ? OriginalAndCamel<T[K]> : T[K];
2961
3359
  };
@@ -3031,6 +3429,16 @@ export interface ParagraphStyle {
3031
3429
  avoidWidowAndOrphan?: boolean;
3032
3430
  shading?: Shading;
3033
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
+ }
3034
3442
  export type PASSWORD = unknown;
3035
3443
  export type PAST_MONTH = unknown;
3036
3444
  export type PAST_NUMBER_OF_DAYS = unknown;
@@ -3205,6 +3613,13 @@ export interface PerRequestMetricRecorder {
3205
3613
  export type PERSONAL = unknown;
3206
3614
  export type PHONE = unknown;
3207
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
+ }
3208
3623
  export type PHYSICAL = unknown;
3209
3624
  export type PIE = unknown;
3210
3625
  export type PIE_CHART = unknown;
@@ -3233,6 +3648,27 @@ export interface PluggableAuthClientOptions extends BaseExternalAccountClientOpt
3233
3648
  }
3234
3649
  export type POINT = unknown;
3235
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
+ }
3236
3672
  export interface Position {
3237
3673
  x: number;
3238
3674
  y: number;
@@ -3363,6 +3799,7 @@ export declare enum ProviderEnum {
3363
3799
  FACEBOOK_ADS = "FACEBOOK_ADS",
3364
3800
  FACEBOOK_BUSINESS = "FACEBOOK_BUSINESS",
3365
3801
  TIKTOK = "TIKTOK",
3802
+ TIKTOK_ADS = "TIKTOK_ADS",
3366
3803
  WEBSITE = "WEBSITE",
3367
3804
  ZALO_OA = "ZALO_OA",
3368
3805
  ZALO_PERSONAL = "ZALO_PERSONAL",
@@ -3428,6 +3865,11 @@ export declare enum ProviderEnum {
3428
3865
  CLOUD_BACKBLAZE_B2 = "CLOUD_BACKBLAZE_B2",
3429
3866
  CLOUD_WASABI = "CLOUD_WASABI"
3430
3867
  }
3868
+ export interface ProximityAlertTriggered {
3869
+ distance: number;
3870
+ traveler: User;
3871
+ watcher: User;
3872
+ }
3431
3873
  export type PROXY = unknown;
3432
3874
  export type PublishCallback = RequestCallback<string>;
3433
3875
  export interface Publisher {
@@ -3590,7 +4032,7 @@ export type RecordChange = {
3590
4032
  export type RecordData = Record<string, RecordValue>;
3591
4033
  export type RecordHistoryChanges = Record<string, RecordChange>;
3592
4034
  export type RecordListQueryDto = LimitOffsetQueryDto & {
3593
- viewId?: string;
4035
+ viewId?: unknown;
3594
4036
  fields?: string;
3595
4037
  filters?: string;
3596
4038
  sorts?: string;
@@ -3638,6 +4080,7 @@ export declare enum ReferentialAction {
3638
4080
  SET_DEFAULT = "SET DEFAULT"
3639
4081
  }
3640
4082
  export type REJECT = unknown;
4083
+ export type REJECTED = unknown;
3641
4084
  export type RELATION = unknown;
3642
4085
  export interface RelationConfigDto {
3643
4086
  relationType: RelationType;
@@ -4037,6 +4480,13 @@ export interface SharedExternalAccountClientOptions extends AuthClientOptions {
4037
4480
  audience: string;
4038
4481
  token_url?: string;
4039
4482
  }
4483
+ export interface SharedUser {
4484
+ first_name?: string;
4485
+ last_name?: string;
4486
+ photo?: PhotoSize[];
4487
+ user_id: number;
4488
+ username?: string;
4489
+ }
4040
4490
  export type SHB_BANK = unknown;
4041
4491
  export interface ShippingIntegrationMetadata extends IntegrationMetadataBase {
4042
4492
  provider: ShippingProvider;
@@ -4254,6 +4704,23 @@ export interface StatusObject {
4254
4704
  }
4255
4705
  export type STB_BANK = unknown;
4256
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
+ }
4257
4724
  export type STICKER = unknown;
4258
4725
  export type Storage = Service & {
4259
4726
  Bucket: typeof Bucket;
@@ -4275,6 +4742,11 @@ export declare enum StorageMode {
4275
4742
  EAV = "EAV",
4276
4743
  PHYSICAL = "PHYSICAL"
4277
4744
  }
4745
+ export interface Story {
4746
+ chat: Chat;
4747
+ id: number;
4748
+ }
4749
+ export type STRING = unknown;
4278
4750
  export type SubjectTokenFormatType = 'json' | 'text';
4279
4751
  export interface SubjectTokenSupplier {
4280
4752
  getSubjectToken: (context: ExternalAccountSupplierContext) => Promise<string>;
@@ -4324,9 +4796,25 @@ export interface SuccessCondition {
4324
4796
  jsonPath: string;
4325
4797
  expectedValue: any;
4326
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
+ }
4327
4808
  export type SUM = unknown;
4328
4809
  export type SUM_DISTINCT = unknown;
4329
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
+ }
4330
4818
  export type SYNC = unknown;
4331
4819
  export interface SysBases {
4332
4820
  id: string;
@@ -4736,6 +5224,7 @@ export interface SysSources {
4736
5224
  type: SourceType | null;
4737
5225
  config: SourceConfig | null;
4738
5226
  enabled: boolean | null;
5227
+ isDefault: boolean;
4739
5228
  isMeta: boolean | null;
4740
5229
  order: number | null;
4741
5230
  inflectionColumn: string | null;
@@ -4950,8 +5439,8 @@ export type TableMeta = {
4950
5439
  sourceFingerprint?: string;
4951
5440
  };
4952
5441
  export interface TableResponseDto {
4953
- id: string;
4954
- workspaceId: string;
5442
+ id: unknown;
5443
+ workspaceId: unknown;
4955
5444
  name: string;
4956
5445
  slug: string;
4957
5446
  description?: string | null;
@@ -5033,6 +5522,12 @@ export type TEMPLATE = unknown;
5033
5522
  export type TEST = unknown;
5034
5523
  export type TEXT = unknown;
5035
5524
  export type TEXTAREA = unknown;
5525
+ export interface TextQuote {
5526
+ entities?: MessageEntity[];
5527
+ is_manual?: boolean;
5528
+ position: number;
5529
+ text: string;
5530
+ }
5036
5531
  export interface TextStyle {
5037
5532
  bold?: boolean;
5038
5533
  italic?: boolean;
@@ -5130,6 +5625,7 @@ export type TextWidgetVariableSource = TextWidgetAggregateBindingSource | TextWi
5130
5625
  export type Th = unknown;
5131
5626
  export type THURSDAY = unknown;
5132
5627
  export type TIKTOK = unknown;
5628
+ export type TIKTOK_ADS = unknown;
5133
5629
  export interface TikTokIntegrationMetadata {
5134
5630
  providerType: 'TIKTOK';
5135
5631
  authMode: 'oauth';
@@ -5467,6 +5963,10 @@ export declare enum UserCategoryEnum {
5467
5963
  VERIFIED = "VERIFIED",
5468
5964
  COMMUNITY = "COMMUNITY"
5469
5965
  }
5966
+ export interface UsersShared {
5967
+ request_id: number;
5968
+ users: SharedUser[];
5969
+ }
5470
5970
  export interface UserToolsCustom {
5471
5971
  id: string;
5472
5972
  workspaceId: string;
@@ -5546,6 +6046,15 @@ export type UUID = unknown;
5546
6046
  export type VARBINARY = unknown;
5547
6047
  export type VARCHAR = unknown;
5548
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
+ }
5549
6058
  export type Verified = unknown;
5550
6059
  export type VERIFIED = unknown;
5551
6060
  export type VERTEX_AI = unknown;
@@ -5567,7 +6076,37 @@ export interface VertexAIMetadata {
5567
6076
  };
5568
6077
  }
5569
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
+ }
5570
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
+ }
5571
6110
  export type VIEW = unknown;
5572
6111
  export type VIEW_CREATE = unknown;
5573
6112
  export type VIEW_DELETE = unknown;
@@ -5590,30 +6129,30 @@ export type ViewMeta = {
5590
6129
  };
5591
6130
  };
5592
6131
  export interface ViewResponseDto {
5593
- id: string;
5594
- tableId: string;
5595
- workspaceId?: string | null;
5596
- baseId?: string | null;
5597
- sourceId?: string | null;
6132
+ id: unknown;
6133
+ tableId: unknown;
6134
+ workspaceId?: unknown;
6135
+ baseId?: unknown;
6136
+ sourceId?: unknown;
5598
6137
  name: string;
5599
- description?: string | null;
6138
+ description: string | null;
5600
6139
  type: ViewType;
5601
6140
  show: boolean;
5602
- order?: number | null;
5603
- lockType: ViewLockType | null;
5604
- uuid?: string | null;
6141
+ order: number | null;
6142
+ lockType?: unknown | null;
6143
+ uuid?: unknown | null;
5605
6144
  showSystemFields: boolean;
5606
6145
  meta?: {
5607
6146
  [key: string]: unknown;
5608
6147
  };
5609
6148
  config?: MetricViewConfigDto | ChartViewConfigDto;
5610
- rowColoringMode: RowColoringMode | null;
5611
- createdBy?: number | null;
5612
- ownedBy?: number | null;
5613
- customUrlId?: string | null;
6149
+ rowColoringMode?: unknown | null;
6150
+ createdBy?: unknown | null;
6151
+ ownedBy?: unknown | null;
6152
+ customUrlId?: unknown | null;
5614
6153
  isDefault: boolean;
5615
6154
  createdAt: number;
5616
- updatedAt?: number | null;
6155
+ updatedAt?: unknown | null;
5617
6156
  }
5618
6157
  export declare enum ViewSortDirection {
5619
6158
  ASC = "asc",
@@ -5631,6 +6170,13 @@ export declare enum ViewType {
5631
6170
  CHART = "chart",
5632
6171
  METRIC = "metric"
5633
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;
6179
+ }
5634
6180
  export interface VonageSmsMetadata {
5635
6181
  from?: string;
5636
6182
  [key: string]: any;
@@ -5638,6 +6184,13 @@ export interface VonageSmsMetadata {
5638
6184
  export type VPB_BANK = unknown;
5639
6185
  export type VTB_BANK = unknown;
5640
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
+ }
5641
6194
  export type WEBHOOK = unknown;
5642
6195
  export interface WebhookNotificationConfig extends BaseNotificationConfig {
5643
6196
  url: string;
@@ -5729,10 +6282,10 @@ export interface WidgetQuerySpecDto {
5729
6282
  datePreset?: WidgetDatePreset;
5730
6283
  }
5731
6284
  export interface WidgetResponseDto {
5732
- id: string;
5733
- fkWorkspaceId: string | null;
5734
- baseId: string | null;
5735
- fkDashboardId: string | null;
6285
+ id: unknown;
6286
+ fkWorkspaceId?: unknown;
6287
+ baseId?: unknown;
6288
+ fkDashboardId?: unknown;
5736
6289
  title: string;
5737
6290
  description: string | null;
5738
6291
  type: WidgetType;
@@ -5741,8 +6294,8 @@ export interface WidgetResponseDto {
5741
6294
  col: number | null;
5742
6295
  sizeX: number | null;
5743
6296
  sizeY: number | null;
5744
- fkModelId: string | null;
5745
- fkViewId: string | null;
6297
+ fkModelId?: unknown;
6298
+ fkViewId?: unknown;
5746
6299
  meta?: {
5747
6300
  [key: string]: unknown;
5748
6301
  };
@@ -5901,6 +6454,11 @@ export interface WorkspaceSettings {
5901
6454
  customDomainVerified?: boolean;
5902
6455
  }
5903
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
+ }
5904
6462
  export interface WriteCallback {
5905
6463
  (error?: Error | null): void;
5906
6464
  }