@redonvn/redai-backend-api-sdk 0.5.50 → 0.5.53

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 (109) hide show
  1. package/dist/cjs/dynamic-table/filter-operators.js +93 -45
  2. package/dist/cjs/dynamic-table/filter-operators.js.map +1 -1
  3. package/dist/cjs/generated/dynamic-table/types.js.map +1 -1
  4. package/dist/cjs/generated/index.js +7 -31
  5. package/dist/cjs/generated/index.js.map +1 -1
  6. package/dist/cjs/generated/integration/index.js +1 -2
  7. package/dist/cjs/generated/integration/index.js.map +1 -1
  8. package/dist/cjs/generated/integration/services/facebook-ads-user.service.js +7 -7
  9. package/dist/cjs/generated/integration/services/facebook-ads-user.service.js.map +1 -1
  10. package/dist/cjs/generated/integration/services/index.js +5 -3
  11. package/dist/cjs/generated/integration/services/index.js.map +1 -1
  12. package/dist/cjs/generated/integration/services/integration-provider.service.js +27 -0
  13. package/dist/cjs/generated/integration/services/integration-provider.service.js.map +1 -1
  14. package/dist/cjs/generated/integration/services/integration-user.service.js +18 -0
  15. package/dist/cjs/generated/integration/services/integration-user.service.js.map +1 -1
  16. package/dist/cjs/generated/integration/services/tiktok-data-portability.service.js +46 -0
  17. package/dist/cjs/generated/integration/services/tiktok-data-portability.service.js.map +1 -0
  18. package/dist/cjs/generated/integration/services/tiktok-integration.service.js +226 -0
  19. package/dist/cjs/generated/integration/services/tiktok-integration.service.js.map +1 -0
  20. package/dist/cjs/generated/integration/types.js +21 -174
  21. package/dist/cjs/generated/integration/types.js.map +1 -1
  22. package/dist/cjs/generated/rai-job/index.js +0 -5
  23. package/dist/cjs/generated/rai-job/index.js.map +1 -1
  24. package/dist/cjs/generated/rai-job/services/index.js +3 -3
  25. package/dist/cjs/generated/rai-job/services/index.js.map +1 -1
  26. package/dist/cjs/generated/rai-job/services/status.service.js +19 -0
  27. package/dist/cjs/generated/rai-job/services/status.service.js.map +1 -0
  28. package/dist/cjs/generated/rai-job/types.js +0 -20
  29. package/dist/cjs/generated/rai-job/types.js.map +1 -1
  30. package/dist/cjs/generated/shared-types.js +32 -2
  31. package/dist/cjs/generated/shared-types.js.map +1 -1
  32. package/dist/cjs/index.js +3 -2
  33. package/dist/cjs/index.js.map +1 -1
  34. package/dist/esm/dynamic-table/filter-operators.d.ts +5 -3
  35. package/dist/esm/dynamic-table/filter-operators.d.ts.map +1 -1
  36. package/dist/esm/dynamic-table/filter-operators.js +94 -46
  37. package/dist/esm/dynamic-table/filter-operators.js.map +1 -1
  38. package/dist/esm/generated/dynamic-table/types.d.ts +12 -1
  39. package/dist/esm/generated/dynamic-table/types.d.ts.map +1 -1
  40. package/dist/esm/generated/dynamic-table/types.js.map +1 -1
  41. package/dist/esm/generated/index.d.ts +3 -4
  42. package/dist/esm/generated/index.d.ts.map +1 -1
  43. package/dist/esm/generated/index.js +1 -2
  44. package/dist/esm/generated/index.js.map +1 -1
  45. package/dist/esm/generated/integration/index.js +1 -1
  46. package/dist/esm/generated/integration/index.js.map +1 -1
  47. package/dist/esm/generated/integration/services/facebook-ads-user.service.js +7 -7
  48. package/dist/esm/generated/integration/services/facebook-ads-user.service.js.map +1 -1
  49. package/dist/esm/generated/integration/services/index.d.ts +2 -1
  50. package/dist/esm/generated/integration/services/index.d.ts.map +1 -1
  51. package/dist/esm/generated/integration/services/index.js +2 -1
  52. package/dist/esm/generated/integration/services/index.js.map +1 -1
  53. package/dist/esm/generated/integration/services/integration-provider.service.d.ts +6 -1
  54. package/dist/esm/generated/integration/services/integration-provider.service.d.ts.map +1 -1
  55. package/dist/esm/generated/integration/services/integration-provider.service.js +27 -0
  56. package/dist/esm/generated/integration/services/integration-provider.service.js.map +1 -1
  57. package/dist/esm/generated/integration/services/integration-user.service.d.ts +3 -1
  58. package/dist/esm/generated/integration/services/integration-user.service.d.ts.map +1 -1
  59. package/dist/esm/generated/integration/services/integration-user.service.js +18 -0
  60. package/dist/esm/generated/integration/services/integration-user.service.js.map +1 -1
  61. package/dist/esm/generated/integration/services/tiktok-data-portability.service.d.ts +11 -0
  62. package/dist/esm/generated/integration/services/tiktok-data-portability.service.d.ts.map +1 -0
  63. package/dist/esm/generated/integration/services/tiktok-data-portability.service.js +42 -0
  64. package/dist/esm/generated/integration/services/tiktok-data-portability.service.js.map +1 -0
  65. package/dist/esm/generated/integration/services/tiktok-integration.service.d.ts +34 -0
  66. package/dist/esm/generated/integration/services/tiktok-integration.service.d.ts.map +1 -0
  67. package/dist/esm/generated/integration/services/tiktok-integration.service.js +222 -0
  68. package/dist/esm/generated/integration/services/tiktok-integration.service.js.map +1 -0
  69. package/dist/esm/generated/integration/types.d.ts +513 -1185
  70. package/dist/esm/generated/integration/types.d.ts.map +1 -1
  71. package/dist/esm/generated/integration/types.js +1 -174
  72. package/dist/esm/generated/integration/types.js.map +1 -1
  73. package/dist/esm/generated/rai-job/index.d.ts +0 -1
  74. package/dist/esm/generated/rai-job/index.d.ts.map +1 -1
  75. package/dist/esm/generated/rai-job/index.js +0 -1
  76. package/dist/esm/generated/rai-job/index.js.map +1 -1
  77. package/dist/esm/generated/rai-job/services/index.d.ts +1 -1
  78. package/dist/esm/generated/rai-job/services/index.d.ts.map +1 -1
  79. package/dist/esm/generated/rai-job/services/index.js +1 -1
  80. package/dist/esm/generated/rai-job/services/index.js.map +1 -1
  81. package/dist/esm/generated/rai-job/services/status.service.d.ts +8 -0
  82. package/dist/esm/generated/rai-job/services/status.service.d.ts.map +1 -0
  83. package/dist/esm/generated/rai-job/services/status.service.js +15 -0
  84. package/dist/esm/generated/rai-job/services/status.service.js.map +1 -0
  85. package/dist/esm/generated/rai-job/types.d.ts +3 -93
  86. package/dist/esm/generated/rai-job/types.d.ts.map +1 -1
  87. package/dist/esm/generated/rai-job/types.js +1 -18
  88. package/dist/esm/generated/rai-job/types.js.map +1 -1
  89. package/dist/esm/generated/shared-types.d.ts +711 -189
  90. package/dist/esm/generated/shared-types.d.ts.map +1 -1
  91. package/dist/esm/generated/shared-types.js +30 -0
  92. package/dist/esm/generated/shared-types.js.map +1 -1
  93. package/dist/esm/index.d.ts +8 -6
  94. package/dist/esm/index.d.ts.map +1 -1
  95. package/dist/esm/index.js +4 -3
  96. package/dist/esm/index.js.map +1 -1
  97. package/package.json +1 -1
  98. package/dist/cjs/generated/integration/services/facebook-ads-campaign.service.js +0 -82
  99. package/dist/cjs/generated/integration/services/facebook-ads-campaign.service.js.map +0 -1
  100. package/dist/cjs/generated/rai-job/services/rai-job.service.js +0 -28
  101. package/dist/cjs/generated/rai-job/services/rai-job.service.js.map +0 -1
  102. package/dist/esm/generated/integration/services/facebook-ads-campaign.service.d.ts +0 -15
  103. package/dist/esm/generated/integration/services/facebook-ads-campaign.service.d.ts.map +0 -1
  104. package/dist/esm/generated/integration/services/facebook-ads-campaign.service.js +0 -78
  105. package/dist/esm/generated/integration/services/facebook-ads-campaign.service.js.map +0 -1
  106. package/dist/esm/generated/rai-job/services/rai-job.service.d.ts +0 -9
  107. package/dist/esm/generated/rai-job/services/rai-job.service.d.ts.map +0 -1
  108. package/dist/esm/generated/rai-job/services/rai-job.service.js +0 -24
  109. package/dist/esm/generated/rai-job/services/rai-job.service.js.map +0 -1
@@ -1,115 +1,3 @@
1
- type AuthClientCtor = new (...args: any[]) => AuthClient;
2
- type PeerCertificate = Record<string, unknown>;
3
- type HttpsAgentOptions = Record<string, unknown>;
4
- type HttpAgentOptions = Record<string, unknown>;
5
- declare const defaultErrorRedactor: (...args: any[]) => any;
6
- declare const Bucket: new (...args: any[]) => any;
7
- declare const Channel: new (...args: any[]) => any;
8
- declare const HmacKey: new (...args: any[]) => any;
9
- declare const PubSub: {
10
- prototype: {
11
- request: (...args: any[]) => any;
12
- };
13
- };
14
- declare class Readable {
15
- [key: string]: any;
16
- }
17
- declare class Writable {
18
- [key: string]: any;
19
- end(...args: any[]): Writable;
20
- }
21
- declare class Duplex extends Readable {
22
- [key: string]: any;
23
- }
24
- declare class PassThrough extends Duplex {
25
- [key: string]: any;
26
- }
27
- declare class Transform extends Duplex {
28
- [key: string]: any;
29
- }
30
- declare class EventEmitter {
31
- [key: string]: any;
32
- }
33
- declare namespace r {
34
- interface CoreOptions {
35
- [key: string]: any;
36
- }
37
- interface Options extends CoreOptions {
38
- [key: string]: any;
39
- }
40
- interface Response {
41
- [key: string]: any;
42
- }
43
- interface Request {
44
- [key: string]: any;
45
- }
46
- }
47
- declare namespace grpc {
48
- type status = number;
49
- interface Metadata {
50
- [key: string]: any;
51
- }
52
- interface ServiceError extends Error {
53
- [key: string]: any;
54
- }
55
- interface Client {
56
- [key: string]: any;
57
- }
58
- type ChannelCredentials = any;
59
- }
60
- declare namespace gax {
61
- interface GrpcClientOptions {
62
- [key: string]: any;
63
- }
64
- interface ClientStub {
65
- [key: string]: any;
66
- }
67
- namespace grpc {
68
- type ChannelCredentials = any;
69
- }
70
- }
71
- declare namespace protobuf {
72
- interface Root {
73
- [key: string]: any;
74
- }
75
- }
76
- declare namespace google {
77
- namespace api {
78
- interface IHttpRule {
79
- [key: string]: any;
80
- }
81
- }
82
- namespace pubsub {
83
- namespace v1 {
84
- interface IPubsubMessage {
85
- [key: string]: any;
86
- }
87
- interface ISnapshot {
88
- [key: string]: any;
89
- }
90
- interface ITopic {
91
- [key: string]: any;
92
- }
93
- namespace StreamingPullResponse {
94
- interface ISubscriptionProperties {
95
- [key: string]: any;
96
- }
97
- }
98
- }
99
- }
100
- }
101
- declare namespace tracing {
102
- interface Span {
103
- [key: string]: any;
104
- }
105
- interface MessageWithAttributes {
106
- [key: string]: any;
107
- }
108
- }
109
- declare namespace defer {
110
- interface DeferredPromise<T> extends Promise<T> {
111
- }
112
- }
113
1
  export interface Abortable {
114
2
  abort(): void;
115
3
  }
@@ -204,6 +92,13 @@ export type ALL_OF = unknown;
204
92
  export type Allow = unknown;
205
93
  export type AND = unknown;
206
94
  export type ANTHROPIC = unknown;
95
+ export interface AnthropicMetadata {
96
+ isValid: boolean;
97
+ usageCount?: number;
98
+ lastUsedAt?: number;
99
+ lastQuotaErrorAt?: number;
100
+ isQuotaExceeded?: boolean;
101
+ }
207
102
  export type ANY_OF = unknown;
208
103
  export type AnyAuthClient = InstanceType<Extract<ALL_EXPORTS, AuthClientCtor>>;
209
104
  export type AnyAuthClientConstructor = Extract<ALL_EXPORTS, AuthClientCtor>;
@@ -363,12 +258,20 @@ export interface AwsSecurityCredentialsSupplier {
363
258
  getAwsSecurityCredentials: (context: ExternalAccountSupplierContext) => Promise<AwsSecurityCredentials>;
364
259
  }
365
260
  export type AZURE_AI = unknown;
261
+ export type Backup = unknown;
366
262
  export type BAR = unknown;
367
263
  export type BARCODE = unknown;
368
264
  export type BASE = unknown;
369
265
  export type BASE64 = unknown;
370
266
  export type BASE64_DECODE = unknown;
371
267
  export type BASE64_ENCODE = unknown;
268
+ export interface BaseDocsRequest {
269
+ auth: Auth.OAuth2Client | {
270
+ accessToken: string;
271
+ refreshToken: string;
272
+ };
273
+ documentId: string;
274
+ }
372
275
  export interface BaseExternalAccountClientOptions extends SharedExternalAccountClientOptions {
373
276
  type?: string;
374
277
  subject_token_type: string;
@@ -472,6 +375,7 @@ export type BUSINESS_UPDATE = unknown;
472
375
  export type BUTTON = unknown;
473
376
  export type BUTTON_GROUP = unknown;
474
377
  export type BYTEA = unknown;
378
+ export type C = unknown;
475
379
  export type CALENDAR = unknown;
476
380
  export type CALENDAR_CREATE = unknown;
477
381
  export type CALENDAR_DELETE = unknown;
@@ -507,6 +411,7 @@ export type CASCADE = unknown;
507
411
  export interface CategoricalChartBucketDto {
508
412
  key: string;
509
413
  label: string;
414
+ bucketKind?: 'regular' | 'others';
510
415
  groups: (ChartRuntimeGroupValueDto)[];
511
416
  metrics: {
512
417
  [key: string]: number | null;
@@ -518,6 +423,7 @@ export interface CategoricalChartRuntimeDto {
518
423
  categories: (string)[];
519
424
  buckets: (CategoricalChartBucketDto)[];
520
425
  series: (ChartRuntimeSeriesDto)[];
426
+ display?: ChartRuntimeDisplayDto;
521
427
  }
522
428
  export type CENTER = unknown;
523
429
  export type Channel = ServiceObject;
@@ -543,6 +449,67 @@ export interface ChartAxisSpecDto {
543
449
  timeBucket?: 'day' | 'week' | 'month' | 'quarter';
544
450
  label?: string;
545
451
  }
452
+ export type ChartDisplaySpec = {
453
+ showLegend?: boolean;
454
+ showGrid?: boolean;
455
+ showTooltip?: boolean;
456
+ showDataLabels?: boolean;
457
+ seriesLayout?: ChartSeriesLayout;
458
+ showSecondaryAxis?: boolean;
459
+ maxPoints?: number;
460
+ };
461
+ export interface ChartDisplaySpecDto {
462
+ showLegend?: boolean;
463
+ showDataLabels?: boolean;
464
+ showGrid?: boolean;
465
+ showTooltip?: boolean;
466
+ showSecondaryAxis?: boolean;
467
+ seriesLayout?: ChartSeriesLayout;
468
+ maxPoints?: number;
469
+ }
470
+ export type ChartGroupingMode = 'single' | 'breakdown';
471
+ export type ChartMeasureSpec = {
472
+ key: string;
473
+ label: string;
474
+ aggregation: WidgetAggregationSpec;
475
+ fieldId?: string;
476
+ color?: string;
477
+ renderAs?: ChartRenderAs;
478
+ stackGroup?: string;
479
+ useSecondaryAxis?: boolean;
480
+ };
481
+ export interface ChartMeasureSpecDto {
482
+ key: string;
483
+ label: string;
484
+ aggregation: WidgetAggregationSpecDto;
485
+ fieldId?: string;
486
+ color?: string;
487
+ renderAs?: 'bar' | 'line' | 'area';
488
+ stackGroup?: string;
489
+ useSecondaryAxis?: boolean;
490
+ }
491
+ export type ChartPointsSpec = {
492
+ xFieldId: string;
493
+ yFieldId: string;
494
+ sizeFieldId?: string;
495
+ categoryFieldId?: string;
496
+ };
497
+ export interface ChartPointsSpecDto {
498
+ xFieldId: string;
499
+ yFieldId: string;
500
+ sizeFieldId?: string;
501
+ categoryFieldId?: string;
502
+ }
503
+ export type ChartRenderAs = 'bar' | 'line' | 'area';
504
+ export interface ChartRuntimeDisplayDto {
505
+ showLegend?: boolean;
506
+ showGrid?: boolean;
507
+ showTooltip?: boolean;
508
+ showDataLabels?: boolean;
509
+ seriesLayout?: 'grouped' | 'stacked' | 'percent';
510
+ showSecondaryAxis?: boolean;
511
+ maxPoints?: number | null;
512
+ }
546
513
  export interface ChartRuntimeGroupValueDto {
547
514
  fieldId: string;
548
515
  value?: unknown;
@@ -557,19 +524,20 @@ export interface ChartRuntimeSeriesDto {
557
524
  label: string;
558
525
  renderAs?: 'bar' | 'line' | 'area';
559
526
  color?: string | null;
527
+ useSecondaryAxis?: boolean;
560
528
  points: (ChartRuntimePointDto)[];
561
529
  }
562
- export type ChartSeriesSpec = {
563
- label: string;
564
- aggregation: WidgetAggregationSpec;
565
- fieldId?: string;
566
- color?: string;
567
- renderAs?: 'bar' | 'line' | 'area';
568
- stackGroup?: string;
569
- xFieldId?: string;
570
- yFieldId?: string;
571
- sizeFieldId?: string;
530
+ export type ChartScopeSpec = WidgetQuerySpec;
531
+ export type ChartSeriesConfigSpec = {
532
+ breakdownFieldId?: string;
533
+ groupingMode?: ChartGroupingMode;
572
534
  };
535
+ export interface ChartSeriesConfigSpecDto {
536
+ breakdownFieldId?: string;
537
+ groupingMode?: 'single' | 'breakdown';
538
+ }
539
+ export type ChartSeriesLayout = 'grouped' | 'stacked' | 'percent';
540
+ export type ChartSeriesSpec = ChartMeasureSpec;
573
541
  export interface ChartSeriesSpecDto {
574
542
  label: string;
575
543
  aggregation: WidgetAggregationSpecDto;
@@ -581,6 +549,9 @@ export interface ChartSeriesSpecDto {
581
549
  yFieldId?: string;
582
550
  sizeFieldId?: string;
583
551
  }
552
+ export type ChartSortBy = 'label' | 'metric' | 'default';
553
+ export type ChartSortOrder = 'asc' | 'desc' | 'default';
554
+ export type ChartTimeBucket = 'day' | 'week' | 'month' | 'quarter';
584
555
  export declare enum ChartType {
585
556
  BAR = "bar",
586
557
  STACKED_BAR = "stacked_bar",
@@ -600,39 +571,54 @@ export declare enum ChartType {
600
571
  }
601
572
  export type ChartWidgetConfig = {
602
573
  chartType: ChartType;
603
- query: WidgetQuerySpec;
604
- dimensionFieldId?: string;
605
- breakdownFieldId?: string;
606
- sizeFieldId?: string;
607
- maxPoints?: number;
608
- xAxis?: ChartAxisSpec;
609
- yAxis?: ChartAxisSpec;
610
- series: ChartSeriesSpec[];
611
- stacked?: boolean;
612
- showLegend?: boolean;
613
- showDataLabels?: boolean;
614
- showGrid?: boolean;
615
- showTooltip?: boolean;
616
- showSecondaryAxis?: boolean;
617
- seriesLayout?: 'grouped' | 'stacked' | 'percent';
574
+ scope: ChartScopeSpec;
575
+ xAxis?: ChartXAxisSpec;
576
+ yAxis?: ChartYAxisSpec;
577
+ series?: ChartSeriesConfigSpec;
578
+ points?: ChartPointsSpec;
579
+ display?: ChartDisplaySpec;
618
580
  };
619
581
  export interface ChartWidgetConfigDto {
620
582
  chartType: ChartType;
621
- query: WidgetQuerySpecDto;
622
- dimensionFieldId?: string;
623
- breakdownFieldId?: string;
624
- sizeFieldId?: string;
625
- maxPoints?: number;
626
- xAxis?: ChartAxisSpecDto;
627
- yAxis?: ChartAxisSpecDto;
628
- series: (ChartSeriesSpecDto)[];
629
- stacked?: boolean;
630
- showLegend?: boolean;
631
- showDataLabels?: boolean;
632
- showGrid?: boolean;
633
- showTooltip?: boolean;
634
- showSecondaryAxis?: boolean;
635
- seriesLayout?: 'grouped' | 'stacked' | 'percent';
583
+ scope: WidgetQuerySpecDto;
584
+ xAxis?: ChartXAxisSpecDto;
585
+ yAxis?: ChartYAxisSpecDto;
586
+ series?: ChartSeriesConfigSpecDto;
587
+ points?: ChartPointsSpecDto;
588
+ display?: ChartDisplaySpecDto;
589
+ }
590
+ export type ChartXAxisMode = 'category' | 'time' | 'numeric';
591
+ export type ChartXAxisSpec = {
592
+ mode: ChartXAxisMode;
593
+ fieldId: string;
594
+ timeBucket?: ChartTimeBucket;
595
+ sortBy?: ChartSortBy;
596
+ sortOrder?: ChartSortOrder;
597
+ sortMeasureKey?: string;
598
+ includeEmptyCategories?: boolean;
599
+ includeOthersBucket?: boolean;
600
+ categoryLimit?: number;
601
+ label?: string;
602
+ };
603
+ export interface ChartXAxisSpecDto {
604
+ mode: 'category' | 'time' | 'numeric';
605
+ fieldId: string;
606
+ timeBucket?: ChartTimeBucket;
607
+ sortBy?: ChartSortBy;
608
+ sortOrder?: ChartSortOrder;
609
+ sortMeasureKey?: string;
610
+ includeEmptyCategories?: boolean;
611
+ includeOthersBucket?: boolean;
612
+ categoryLimit?: number;
613
+ label?: string;
614
+ }
615
+ export type ChartYAxisSpec = {
616
+ measures: ChartMeasureSpec[];
617
+ label?: string;
618
+ };
619
+ export interface ChartYAxisSpecDto {
620
+ measures: (ChartMeasureSpecDto)[];
621
+ label?: string;
636
622
  }
637
623
  export type CHAT = unknown;
638
624
  export type CHECKBOX_GROUP = unknown;
@@ -754,6 +740,7 @@ export interface ConfigResponseExtractionField {
754
740
  mergeStrategy?: MergeStrategy;
755
741
  }
756
742
  export type CONNECT = unknown;
743
+ export type CONNECTED = unknown;
757
744
  export type CONTAINER = unknown;
758
745
  export type ConvertConfig = Record<string, ConvertFieldMapping>;
759
746
  export interface ConvertFieldMapping {
@@ -770,6 +757,7 @@ export interface ConvertFieldMapping {
770
757
  options?: string[];
771
758
  };
772
759
  }
760
+ export type Cookies = unknown;
773
761
  export interface CoreOptions {
774
762
  method?: string;
775
763
  timeout?: number;
@@ -991,18 +979,37 @@ export interface DecorateRequestOptions extends r.CoreOptions {
991
979
  projectId?: string;
992
980
  }
993
981
  export type DEEPSEEK = unknown;
982
+ export interface DeepSeekMetadata {
983
+ isValid: boolean;
984
+ usageCount?: number;
985
+ lastUsedAt?: number;
986
+ lastQuotaErrorAt?: number;
987
+ isQuotaExceeded?: boolean;
988
+ }
994
989
  export type Default = unknown;
995
990
  export type DEFAULT = unknown;
996
991
  export type DEGRADED = unknown;
992
+ export type Delay = unknown;
997
993
  export type DELETE = unknown;
994
+ export interface DeleteContentRangeRequest {
995
+ range: Range;
996
+ }
998
997
  export type DELETED = unknown;
999
998
  export type DESC = unknown;
1000
999
  export interface Deserialize<T> {
1001
1000
  (bytes: Buffer): T;
1002
1001
  }
1002
+ export interface Dimension {
1003
+ magnitude: number;
1004
+ unit: string;
1005
+ }
1003
1006
  export type DISABLED = unknown;
1004
1007
  export type DISCONNECT = unknown;
1008
+ export type DISCONNECTED = unknown;
1005
1009
  export type DIVIDER = unknown;
1010
+ export interface DocsColor {
1011
+ rgbColor?: RgbColor;
1012
+ }
1006
1013
  export type DOCUMENT = unknown;
1007
1014
  export type DONUT = unknown;
1008
1015
  export type DOUBLE = unknown;
@@ -1044,6 +1051,19 @@ export interface EmailIntegrationMetadata extends IntegrationMetadataBase {
1044
1051
  notes?: string;
1045
1052
  }
1046
1053
  export type EmailProvider = ProviderEnum.EMAIL_SMTP | ProviderEnum.EMAIL_TWILIO_SENDGRID | ProviderEnum.EMAIL_GMAIL | ProviderEnum.EMAIL_OUTLOOK;
1054
+ export interface EmailServerMetadata {
1055
+ userId?: number | null;
1056
+ serverName: string;
1057
+ providerName: string;
1058
+ host?: string;
1059
+ port?: number;
1060
+ useSsl?: boolean;
1061
+ useStartTls?: boolean;
1062
+ isActive: boolean;
1063
+ additionalSettings?: any;
1064
+ createdAt: number;
1065
+ updatedAt: number;
1066
+ }
1047
1067
  export interface EmailSMTPNotificationConfig extends BaseNotificationConfig {
1048
1068
  recipientEmail: string;
1049
1069
  defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
@@ -1080,6 +1100,9 @@ export interface EmployeeRole {
1080
1100
  }
1081
1101
  export type EMPTY = unknown;
1082
1102
  export type END = unknown;
1103
+ export interface EndOfSegmentLocation {
1104
+ segmentId?: SegmentId;
1105
+ }
1083
1106
  export type ENUM = unknown;
1084
1107
  export type EQ = unknown;
1085
1108
  export type ERROR = unknown;
@@ -1087,6 +1110,20 @@ export interface ErrorMapping {
1087
1110
  messageJsonPath?: string;
1088
1111
  codeJsonPath?: string;
1089
1112
  }
1113
+ export interface ESmsMetadata {
1114
+ brandname?: string;
1115
+ brandnameType?: number;
1116
+ brandnameTypeName?: string;
1117
+ baseUrl?: string;
1118
+ statusBaseUrl?: string;
1119
+ voiceBaseUrl?: string;
1120
+ timeoutMs?: number;
1121
+ accountBalance?: number;
1122
+ eSmsUserId?: string | number;
1123
+ lastBalanceCheck?: number;
1124
+ totalBrandnames?: number;
1125
+ parentIntegrationId?: string;
1126
+ }
1090
1127
  export declare enum EventNotificationStatus {
1091
1128
  ON_SUCCESS = "ON_SUCCESS",
1092
1129
  ON_FAILURE = "ON_FAILURE",
@@ -1203,12 +1240,92 @@ export type FACEBOOK_ADS = unknown;
1203
1240
  export type FACEBOOK_BUSINESS = unknown;
1204
1241
  export type FACEBOOK_PAGE = unknown;
1205
1242
  export type FACEBOOK_PERSONAL = unknown;
1243
+ export interface FacebookAdsMetadata {
1244
+ businessId: string;
1245
+ businessName: string;
1246
+ adAccountId: string;
1247
+ adAccountName: string;
1248
+ userIds: number[];
1249
+ expirationDateUnix: number;
1250
+ accountStatus?: number;
1251
+ currency?: string;
1252
+ timezoneId?: number;
1253
+ timezoneName?: string;
1254
+ balance?: number;
1255
+ amountSpent?: number;
1256
+ ownedByPersonalIntegrationId: string;
1257
+ primaryAccessVia: {
1258
+ type: 'personal' | 'business';
1259
+ id: string;
1260
+ name: string;
1261
+ role: 'owner' | 'admin' | 'advertiser';
1262
+ integrationId: string;
1263
+ };
1264
+ allAccessPaths: Array<{
1265
+ type: 'personal' | 'business';
1266
+ id: string;
1267
+ name: string;
1268
+ role: 'owner' | 'admin' | 'advertiser';
1269
+ integrationId: string;
1270
+ }>;
1271
+ accessiblePages?: Array<{
1272
+ pageId: string;
1273
+ pageName: string;
1274
+ accessViaType: 'personal' | 'business';
1275
+ accessViaId: string;
1276
+ accessViaName: string;
1277
+ integrationId: string;
1278
+ }>;
1279
+ syncSessionId: string;
1280
+ lastSyncAt: number;
1281
+ pageCount?: number;
1282
+ }
1206
1283
  export interface FacebookNotificationConfig extends BaseNotificationConfig {
1207
1284
  recipientId: string;
1208
1285
  pageAccessToken: string;
1209
1286
  messageType?: 'text' | 'template';
1210
1287
  defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
1211
1288
  }
1289
+ export interface FacebookPageMetadata {
1290
+ pageId: string;
1291
+ ownedByPersonalIntegrationId: string;
1292
+ primaryAccessVia: {
1293
+ type: 'personal' | 'business';
1294
+ id: string;
1295
+ name: string;
1296
+ role: 'owner' | 'admin' | 'editor' | 'advertiser';
1297
+ integrationId: string;
1298
+ };
1299
+ allAccessPaths: Array<{
1300
+ type: 'personal' | 'business';
1301
+ id: string;
1302
+ name: string;
1303
+ role: 'owner' | 'admin' | 'editor' | 'advertiser';
1304
+ integrationId: string;
1305
+ }>;
1306
+ relatedAdsAccounts?: Array<{
1307
+ adAccountId: string;
1308
+ adAccountName: string;
1309
+ accessViaType: 'personal' | 'business';
1310
+ accessViaId: string;
1311
+ accessViaName: string;
1312
+ integrationId: string;
1313
+ }>;
1314
+ syncSessionId: string;
1315
+ lastSyncAt: number;
1316
+ }
1317
+ export interface FacebookPersonalMetadata {
1318
+ personalId: string;
1319
+ expirationDateUnix: number;
1320
+ ownedBusinessIntegrationIds: string[];
1321
+ ownedPageIntegrationIds: string[];
1322
+ ownedAdsIntegrationIds: string[];
1323
+ lastSyncAt: number;
1324
+ syncSessionId: string;
1325
+ totalBusinessAccounts: number;
1326
+ totalPages: number;
1327
+ totalAdsAccounts: number;
1328
+ }
1212
1329
  export type FAILED = unknown;
1213
1330
  export type FAQ = unknown;
1214
1331
  export type FEMALE = unknown;
@@ -1546,12 +1663,18 @@ export type FormViewMeta = ViewMeta & {
1546
1663
  submitButtonLabel?: string;
1547
1664
  showBranding?: boolean;
1548
1665
  };
1666
+ export interface FptSmsMetadata {
1667
+ brandName: string;
1668
+ apiUrl?: string;
1669
+ [key: string]: any;
1670
+ }
1549
1671
  export type FRIDAY = unknown;
1550
1672
  export type FUNNEL = unknown;
1551
1673
  export interface FunnelChartRuntimeDto {
1552
1674
  chartType: 'funnel';
1553
1675
  family: 'funnel';
1554
1676
  steps: (FunnelStepDto)[];
1677
+ display?: ChartRuntimeDisplayDto;
1555
1678
  }
1556
1679
  export interface FunnelStepDto {
1557
1680
  key: string;
@@ -1647,9 +1770,31 @@ export type GEOGRAPHY = unknown;
1647
1770
  export type GEOMETRY = unknown;
1648
1771
  export type GET = unknown;
1649
1772
  export type GETFLY_CRM = unknown;
1773
+ export interface GetflyMetadata {
1774
+ domain: string;
1775
+ userId: number;
1776
+ version: '4.0' | '6.0' | '6.1';
1777
+ }
1650
1778
  export type GHN = unknown;
1651
1779
  export type GHTK = unknown;
1652
1780
  export type Gi = unknown;
1781
+ export interface GmailMetadata {
1782
+ email: string;
1783
+ normalizedEmail?: string;
1784
+ description?: string;
1785
+ isActive: boolean;
1786
+ connectionStatus: string;
1787
+ expiresAt?: number;
1788
+ updatedAt: number;
1789
+ isDefault?: boolean;
1790
+ userInfo?: {
1791
+ id?: string;
1792
+ name?: string;
1793
+ picture?: string;
1794
+ verified_email?: boolean;
1795
+ locale?: string;
1796
+ };
1797
+ }
1653
1798
  export type GOOGLE = unknown;
1654
1799
  export type GOOGLE_ADS = unknown;
1655
1800
  export type GOOGLE_AI_STUDIO = unknown;
@@ -1709,6 +1854,17 @@ export interface GoogleAuthOptions<T extends AuthClient = AnyAuthClient> {
1709
1854
  projectId?: string;
1710
1855
  universeDomain?: string;
1711
1856
  }
1857
+ export interface GoogleCloudProjectMetadata {
1858
+ projectId: string;
1859
+ projectName?: string;
1860
+ clientId: string;
1861
+ configuredScopes?: string[];
1862
+ redirectUris?: string[];
1863
+ createdAt: number;
1864
+ updatedAt: number;
1865
+ isActive: boolean;
1866
+ notes?: string;
1867
+ }
1712
1868
  export interface GoogleInnerError {
1713
1869
  reason?: string;
1714
1870
  message?: string;
@@ -1720,6 +1876,31 @@ export interface GoogleIntegrationMetadata extends IntegrationMetadataBase {
1720
1876
  notes?: string;
1721
1877
  }
1722
1878
  export type GoogleProvider = ProviderEnum.GOOGLE_CALENDAR | ProviderEnum.GOOGLE_SHEETS | ProviderEnum.GOOGLE_DOCS | ProviderEnum.GOOGLE_DRIVE | ProviderEnum.GOOGLE_ADS | ProviderEnum.GOOGLE_CLOUD_PROJECT;
1879
+ export interface GoogleServiceMetadata {
1880
+ serviceType: GoogleServiceType;
1881
+ email: string;
1882
+ normalizedEmail?: string;
1883
+ connectedAt: number;
1884
+ grantedScopes?: string[];
1885
+ hostedDomain?: string;
1886
+ lastTestedAt?: number;
1887
+ lastTestResult?: boolean;
1888
+ userInfo?: {
1889
+ name?: string;
1890
+ picture?: string;
1891
+ hd?: string;
1892
+ };
1893
+ projectId?: string;
1894
+ location?: string;
1895
+ isConfigured?: boolean;
1896
+ modelCount?: number;
1897
+ lastTestAt?: number;
1898
+ vertexApiEnabled?: boolean;
1899
+ vertexApiEnableUrl?: string;
1900
+ vertexApiWarning?: string;
1901
+ vertexApiErrorReason?: string;
1902
+ vertexApiStatusCode?: number;
1903
+ }
1723
1904
  export declare enum GoogleServiceType {
1724
1905
  GOOGLE_DOCS = "GOOGLE_DOCS",
1725
1906
  GOOGLE_SHEETS = "GOOGLE_SHEETS",
@@ -1814,12 +1995,14 @@ export interface HeatmapChartRuntimeDto {
1814
1995
  chartType: 'heatmap';
1815
1996
  family: 'heatmap';
1816
1997
  cells: (HeatmapCellDto)[];
1998
+ display?: ChartRuntimeDisplayDto;
1817
1999
  }
1818
2000
  export type HmacKey = ServiceObject & {
1819
2001
  storage: Storage;
1820
2002
  instanceRetryValue?: any;
1821
2003
  };
1822
2004
  export type HOOK = unknown;
2005
+ export type Hosted = unknown;
1823
2006
  export type HOURLY = unknown;
1824
2007
  export interface HourlyScheduleConfig {
1825
2008
  everyHours: number;
@@ -1828,7 +2011,13 @@ export interface HourlyScheduleConfig {
1828
2011
  export type HrTime = [number, number];
1829
2012
  export type HSTORE = unknown;
1830
2013
  export type HTTP = unknown;
1831
- export type HttpMethod = 'GET' | 'PATCH' | 'PUT';
2014
+ export declare enum HttpMethod {
2015
+ GET = "GET",
2016
+ POST = "POST",
2017
+ PUT = "PUT",
2018
+ PATCH = "PATCH",
2019
+ DELETE = "DELETE"
2020
+ }
1832
2021
  export declare enum HttpMethodEnum {
1833
2022
  GET = "GET",
1834
2023
  POST = "POST",
@@ -1970,6 +2159,7 @@ export interface IIntegrationInputField {
1970
2159
  export type ILocalizedText = Record<ELanguage, string>;
1971
2160
  export type IMAGE = unknown;
1972
2161
  export type IMPORT = unknown;
2162
+ export type Important = unknown;
1973
2163
  export type IN_SYSTEM = unknown;
1974
2164
  export type INACTIVE = unknown;
1975
2165
  export type INDIVIDUAL = unknown;
@@ -1983,6 +2173,24 @@ export interface INotificationConfig {
1983
2173
  }
1984
2174
  export type INPUT = unknown;
1985
2175
  export type INSERT_ROWS = unknown;
2176
+ export interface InsertPageBreakOptions {
2177
+ location: LocationInput;
2178
+ }
2179
+ export interface InsertPageBreakRequest extends BaseDocsRequest, InsertPageBreakOptions {
2180
+ }
2181
+ export interface InsertTableOptions {
2182
+ rows: number;
2183
+ columns: number;
2184
+ location: LocationInput;
2185
+ }
2186
+ export interface InsertTableRequest extends BaseDocsRequest, InsertTableOptions {
2187
+ }
2188
+ export interface InsertTextOptions {
2189
+ text: string;
2190
+ location: LocationInput;
2191
+ }
2192
+ export interface InsertTextRequest extends BaseDocsRequest, InsertTextOptions {
2193
+ }
1986
2194
  export interface InstructionEdge {
1987
2195
  from: number;
1988
2196
  to: number;
@@ -2079,7 +2287,7 @@ export declare enum IntegrationJobHealthStatus {
2079
2287
  }
2080
2288
  export type IntegrationMetadata = DatabaseIntegrationMetadata | CloudStorageIntegrationMetadata | AiIntegrationMetadata | ChannelIntegrationMetadata | EmailIntegrationMetadata | SmsIntegrationMetadata | GoogleIntegrationMetadata | ShippingIntegrationMetadata | PaymentIntegrationMetadata | OtherIntegrationMetadata;
2081
2289
  export interface IntegrationMetadataBase {
2082
- provider: ProviderEnum | string;
2290
+ provider: ProviderEnum;
2083
2291
  displayName?: string;
2084
2292
  description?: string;
2085
2293
  icon?: string;
@@ -2130,8 +2338,9 @@ export interface IntermediateObjectWritable<T> extends Writable {
2130
2338
  end(chunk: any & T, encoding?: any, cb?: Function): ReturnType<Writable['end']> extends Writable ? this : void;
2131
2339
  }
2132
2340
  export type INTERVAL = unknown;
2133
- export type Invalid = false;
2341
+ export type Invalid = unknown;
2134
2342
  export type INVITE = unknown;
2343
+ export type IP = unknown;
2135
2344
  export type IS = unknown;
2136
2345
  export type IS_NOT = unknown;
2137
2346
  export type IS_WITHIN = unknown;
@@ -2188,9 +2397,9 @@ export interface LimitOffsetQueryDto {
2188
2397
  }
2189
2398
  export type LINE = unknown;
2190
2399
  export interface Link {
2191
- context: SpanContext;
2192
- attributes?: SpanAttributes;
2193
- droppedAttributesCount?: number;
2400
+ url?: string;
2401
+ bookmarkId?: string;
2402
+ headingId?: string;
2194
2403
  }
2195
2404
  export type LINK_TO_ANOTHER_RECORD = unknown;
2196
2405
  export type LINKS = unknown;
@@ -2211,6 +2420,13 @@ export interface Location {
2211
2420
  segmentId?: SegmentId;
2212
2421
  index?: number;
2213
2422
  }
2423
+ export type LocationInput = {
2424
+ type: 'location';
2425
+ value: Location;
2426
+ } | {
2427
+ type: 'endOfSegmentLocation';
2428
+ value: EndOfSegmentLocation;
2429
+ };
2214
2430
  export type LOCKED = unknown;
2215
2431
  export type LONG_TEXT = unknown;
2216
2432
  export type LONGTEXT = unknown;
@@ -2243,11 +2459,7 @@ export type MANAGE = unknown;
2243
2459
  export type MANY_TO_MANY = unknown;
2244
2460
  export type MAP = unknown;
2245
2461
  export type MAPBOX = unknown;
2246
- export interface Mapping {
2247
- mapToIndex(value: number): number;
2248
- lowerBoundary(index: number): number;
2249
- get scale(): number;
2250
- }
2462
+ export type Mapping = unknown;
2251
2463
  export declare enum MapProviderType {
2252
2464
  OSM = "osm",
2253
2465
  GOOGLE = "google",
@@ -2457,6 +2669,7 @@ export interface MultiLanguageText {
2457
2669
  export type MYSQL = unknown;
2458
2670
  export type NCHAR = unknown;
2459
2671
  export type NEQ = unknown;
2672
+ export type NEW = unknown;
2460
2673
  export type NEXT_MONTH = unknown;
2461
2674
  export type NEXT_NUMBER_OF_DAYS = unknown;
2462
2675
  export type NEXT_WEEK = unknown;
@@ -2524,7 +2737,17 @@ export type ONE_WEEK_AGO = unknown;
2524
2737
  export type ONE_WEEK_FROM_NOW = unknown;
2525
2738
  export type OPENAI = unknown;
2526
2739
  export type OPENAI_OAUTH = unknown;
2740
+ export interface OpenAIMetadata {
2741
+ isValid: boolean;
2742
+ usageCount?: number;
2743
+ lastUsedAt?: number;
2744
+ lastQuotaErrorAt?: number;
2745
+ isQuotaExceeded?: boolean;
2746
+ }
2527
2747
  export type OPENROUTER = unknown;
2748
+ export interface OptionalColor {
2749
+ color?: DocsColor;
2750
+ }
2528
2751
  export type Options = OptionsWithUri | OptionsWithUrl;
2529
2752
  export type OPTIONS = unknown;
2530
2753
  export interface OptionsWithUri extends CoreOptions {
@@ -2588,6 +2811,35 @@ export interface PaginationMeta {
2588
2811
  currentPage: number;
2589
2812
  hasItems?: boolean;
2590
2813
  }
2814
+ export interface ParagraphBorder {
2815
+ color?: OptionalColor;
2816
+ width?: Dimension;
2817
+ padding?: Dimension;
2818
+ dashStyle?: string;
2819
+ }
2820
+ export interface ParagraphStyle {
2821
+ headingId?: string;
2822
+ namedStyleType?: string;
2823
+ alignment?: string;
2824
+ lineSpacing?: number;
2825
+ direction?: string;
2826
+ spacingMode?: string;
2827
+ spaceAbove?: Dimension;
2828
+ spaceBelow?: Dimension;
2829
+ borderBetween?: ParagraphBorder;
2830
+ borderTop?: ParagraphBorder;
2831
+ borderBottom?: ParagraphBorder;
2832
+ borderLeft?: ParagraphBorder;
2833
+ borderRight?: ParagraphBorder;
2834
+ indentFirstLine?: Dimension;
2835
+ indentStart?: Dimension;
2836
+ indentEnd?: Dimension;
2837
+ tabStops?: TabStop[];
2838
+ keepLinesTogether?: boolean;
2839
+ keepWithNext?: boolean;
2840
+ avoidWidowAndOrphan?: boolean;
2841
+ shading?: Shading;
2842
+ }
2591
2843
  export type PASSWORD = unknown;
2592
2844
  export type PAST_MONTH = unknown;
2593
2845
  export type PAST_NUMBER_OF_DAYS = unknown;
@@ -2595,6 +2847,33 @@ export type PAST_WEEK = unknown;
2595
2847
  export type PAST_YEAR = unknown;
2596
2848
  export type PATCH = unknown;
2597
2849
  export type PAUSED = unknown;
2850
+ export interface PaymentGatewayMetadata {
2851
+ paymentGatewayType: string;
2852
+ accountId: string;
2853
+ userCompanyInSepayId: string;
2854
+ bankCode: string;
2855
+ accountNumber: string;
2856
+ accountHolderName: string;
2857
+ label: string;
2858
+ phoneNumber: string;
2859
+ status: PaymentGatewayStatus;
2860
+ requestId: string;
2861
+ isVa: boolean;
2862
+ canCreateVa: boolean;
2863
+ mainId?: string;
2864
+ vaId?: string;
2865
+ merchantAddress?: string;
2866
+ merchantName?: string;
2867
+ }
2868
+ export declare enum PaymentGatewayStatus {
2869
+ PENDING = "PENDING",
2870
+ CONNECTED = "CONNECTED",
2871
+ ACTIVE = "ACTIVE",
2872
+ VERIFIED = "VERIFIED",
2873
+ DISCONNECTED = "DISCONNECTED",
2874
+ FAILED = "FAILED",
2875
+ DISABLED = "DISABLED"
2876
+ }
2598
2877
  export interface PaymentIntegrationMetadata extends IntegrationMetadataBase {
2599
2878
  provider: PaymentProvider;
2600
2879
  supportsWebhook?: boolean;
@@ -2996,9 +3275,7 @@ export interface PubsubMessage extends google.pubsub.v1.IPubsubMessage, tracing.
2996
3275
  }
2997
3276
  export type PUT = unknown;
2998
3277
  export type QR_CODE = unknown;
2999
- export interface Query {
3000
- [key: string]: string;
3001
- }
3278
+ export type Query = unknown;
3002
3279
  export interface QueryDto {
3003
3280
  page: number;
3004
3281
  limit: number;
@@ -3020,6 +3297,11 @@ export type QueuedMessages = Array<QueuedMessage>;
3020
3297
  export type RADAR = unknown;
3021
3298
  export type RADIO_GROUP = unknown;
3022
3299
  export type RAG_SETTINGS = unknown;
3300
+ export interface Range {
3301
+ segmentId?: SegmentId;
3302
+ startIndex: number;
3303
+ endIndex: number;
3304
+ }
3023
3305
  export type RATING = unknown;
3024
3306
  export type RAW = unknown;
3025
3307
  export type READ = unknown;
@@ -3132,10 +3414,21 @@ export declare enum RelationType {
3132
3414
  ONE_TO_ONE = "oo"
3133
3415
  }
3134
3416
  export type REPLACE = unknown;
3135
- export interface Request extends PassThrough {
3136
- agent: Agent | false;
3137
- headers: Headers;
3138
- href?: string;
3417
+ export interface ReplaceAllTextOptions {
3418
+ text: string;
3419
+ replaceText: string;
3420
+ matchCase?: boolean;
3421
+ }
3422
+ export interface ReplaceAllTextRequest extends BaseDocsRequest, ReplaceAllTextOptions {
3423
+ }
3424
+ export interface Request {
3425
+ insertText?: InsertTextRequest;
3426
+ deleteContentRange?: DeleteContentRangeRequest;
3427
+ replaceAllText?: ReplaceAllTextRequest;
3428
+ updateTextStyle?: UpdateTextStyleRequest;
3429
+ updateParagraphStyle?: UpdateParagraphStyleRequest;
3430
+ insertTable?: InsertTableRequest;
3431
+ insertPageBreak?: InsertPageBreakRequest;
3139
3432
  }
3140
3433
  export interface RequestCallback<T = any> {
3141
3434
  (err: Error | null, response: Response, body?: T): void;
@@ -3157,19 +3450,11 @@ export type ResponseBody = any;
3157
3450
  export type ResponseType = {} | null;
3158
3451
  export type RESTRICT = unknown;
3159
3452
  export interface RetryConfig {
3160
- retry?: number;
3161
- currentRetryAttempt?: number;
3162
- retryDelay?: number;
3163
- httpMethodsToRetry?: string[];
3164
- statusCodesToRetry?: number[][];
3165
- onRetryAttempt?: (err: GaxiosError) => Promise<void> | void;
3166
- shouldRetry?: (err: GaxiosError) => Promise<boolean> | boolean;
3167
- noResponseRetries?: number;
3168
- retryBackoff?: (err: GaxiosError, defaultBackoffMs: number) => Promise<void>;
3169
- timeOfFirstRequest?: number;
3170
- totalTimeout?: number;
3171
- maxRetryDelay?: number;
3172
- retryDelayMultiplier?: number;
3453
+ maxRetries: number;
3454
+ initialDelayMs: number;
3455
+ backoffMultiplier: number;
3456
+ maxDelayMs: number;
3457
+ jitterMs: number;
3173
3458
  }
3174
3459
  export interface RetryOptions {
3175
3460
  retryDelayMultiplier?: number;
@@ -3179,6 +3464,11 @@ export interface RetryOptions {
3179
3464
  maxRetries?: number;
3180
3465
  retryableErrorFn?: (err: ApiError) => boolean;
3181
3466
  }
3467
+ export interface RgbColor {
3468
+ red: number;
3469
+ green: number;
3470
+ blue: number;
3471
+ }
3182
3472
  export type RIGHT = unknown;
3183
3473
  export type ROLLUP = unknown;
3184
3474
  export interface RollupConfigDto {
@@ -3224,13 +3514,45 @@ export interface ScatterChartRuntimeDto {
3224
3514
  pageInfo?: {
3225
3515
  [key: string]: unknown;
3226
3516
  };
3517
+ display?: ChartRuntimeDisplayDto;
3227
3518
  }
3228
3519
  export type SCB_BANK = unknown;
3229
3520
  export interface Schema {
3230
- id: string;
3231
- name_?: string;
3232
- pubsub: PubSub;
3521
+ type: SchemaType;
3522
+ title?: string;
3523
+ description?: string;
3524
+ nullable?: boolean;
3525
+ enum?: string[];
3526
+ maxItems?: number;
3527
+ minItems?: number;
3528
+ items?: Schema;
3529
+ properties?: {
3530
+ [key: string]: Schema;
3531
+ };
3532
+ required?: string[];
3533
+ minProperties?: number;
3534
+ maxProperties?: number;
3535
+ propertyOrdering?: string[];
3536
+ minLength?: number;
3537
+ maxLength?: number;
3538
+ pattern?: string;
3539
+ minimum?: number;
3540
+ maximum?: number;
3541
+ example?: SchemaValue;
3542
+ default?: SchemaValue;
3543
+ anyOf?: Schema[];
3544
+ }
3545
+ export declare enum SchemaType {
3546
+ STRING = "string",
3547
+ NUMBER = "number",
3548
+ INTEGER = "integer",
3549
+ BOOLEAN = "boolean",
3550
+ ARRAY = "array",
3551
+ OBJECT = "object",
3552
+ NULL = "null",
3553
+ FUNCTION = "function"
3233
3554
  }
3555
+ export type SchemaValue = unknown;
3234
3556
  export interface ScopeCapability {
3235
3557
  id: string;
3236
3558
  domain: WorkspaceCapabilityDomain;
@@ -3356,9 +3678,13 @@ export interface ServiceObjectParent {
3356
3678
  requestStream(reqOpts: DecorateRequestOptions): r.Request;
3357
3679
  request(reqOpts: DecorateRequestOptions, callback: BodyResponseCallback): void;
3358
3680
  }
3681
+ export type Session = unknown;
3359
3682
  export type SET = unknown;
3360
3683
  export type SET_DEFAULT = unknown;
3361
3684
  export type SET_NULL = unknown;
3685
+ export interface Shading {
3686
+ backgroundColor?: OptionalColor;
3687
+ }
3362
3688
  export type SHARE = unknown;
3363
3689
  export interface SharedBaseResponseDto {
3364
3690
  id: string;
@@ -3608,6 +3934,12 @@ export declare enum SpanStatusCode {
3608
3934
  OK = 1,
3609
3935
  ERROR = 2
3610
3936
  }
3937
+ export interface SpeedSmsMetadata {
3938
+ smsType?: number;
3939
+ sender?: string;
3940
+ apiUrl?: string;
3941
+ [key: string]: any;
3942
+ }
3611
3943
  export type SQLITE = unknown;
3612
3944
  export type STACKED_AREA = unknown;
3613
3945
  export type STACKED_BAR = unknown;
@@ -4077,6 +4409,7 @@ export interface SysTable {
4077
4409
  source: SysSources | null;
4078
4410
  records: UsrRecord[];
4079
4411
  }
4412
+ export type SYSTEM = unknown;
4080
4413
  export interface SysUser {
4081
4414
  id: number;
4082
4415
  fullName: string;
@@ -4293,10 +4626,23 @@ export interface TableWidgetConfigDto {
4293
4626
  pageSize?: number;
4294
4627
  }
4295
4628
  export type TABS = unknown;
4629
+ export interface TabStop {
4630
+ offset: Dimension;
4631
+ alignment: string;
4632
+ }
4296
4633
  export type TALL = unknown;
4297
4634
  export type TCB_BANK = unknown;
4298
4635
  export type TELEGRAM = unknown;
4299
4636
  export type TELEGRAM_BOT = unknown;
4637
+ export interface TelegramBotMetadata {
4638
+ botId: number;
4639
+ firstName: string;
4640
+ username: string;
4641
+ botName?: string;
4642
+ agentId?: string;
4643
+ webhookUrl?: string;
4644
+ [key: string]: string | number | undefined;
4645
+ }
4300
4646
  export interface TelegramNotificationConfig extends BaseNotificationConfig {
4301
4647
  chatId: string;
4302
4648
  botToken: string;
@@ -4306,6 +4652,19 @@ export interface TelegramNotificationConfig extends BaseNotificationConfig {
4306
4652
  export type TEST = unknown;
4307
4653
  export type TEXT = unknown;
4308
4654
  export type TEXTAREA = unknown;
4655
+ export interface TextStyle {
4656
+ bold?: boolean;
4657
+ italic?: boolean;
4658
+ underline?: boolean;
4659
+ strikethrough?: boolean;
4660
+ superscript?: boolean;
4661
+ subscript?: boolean;
4662
+ fontSize?: Dimension;
4663
+ foregroundColor?: OptionalColor;
4664
+ backgroundColor?: OptionalColor;
4665
+ weightedFontFamily?: WeightedFontFamily;
4666
+ link?: Link;
4667
+ }
4309
4668
  export type TextWidgetConfig = {
4310
4669
  content: JsonValue;
4311
4670
  format: 'plain' | 'markdown' | 'json';
@@ -4335,8 +4694,41 @@ export type TextWidgetVariableBinding = {
4335
4694
  key: string;
4336
4695
  sourceWidgetId: string;
4337
4696
  };
4697
+ export type Th = unknown;
4338
4698
  export type THURSDAY = unknown;
4339
4699
  export type TIKTOK = unknown;
4700
+ export interface TikTokIntegrationMetadata {
4701
+ providerType: 'TIKTOK';
4702
+ authMode: 'oauth';
4703
+ connectionStatus: 'connected' | 'disconnected';
4704
+ tiktokOpenId?: string | null;
4705
+ unionId?: string | null;
4706
+ displayName?: string | null;
4707
+ avatarUrl?: string | null;
4708
+ profileDeepLink?: string | null;
4709
+ followerCount?: number | null;
4710
+ followingCount?: number | null;
4711
+ likesCount?: number | null;
4712
+ videoCount?: number | null;
4713
+ adsAccountCount?: number | null;
4714
+ connectedAt: number;
4715
+ updatedAt: number;
4716
+ expiresAt?: number | null;
4717
+ tokenRefreshedAt?: number | null;
4718
+ lastResourceSyncAt?: number | null;
4719
+ resourceSyncStatus?: {
4720
+ profile: 'success' | 'failed';
4721
+ videos: 'success' | 'failed';
4722
+ ads: 'success' | 'failed';
4723
+ errors?: string[];
4724
+ };
4725
+ userInfo?: {
4726
+ id?: string | null;
4727
+ email?: string | null;
4728
+ name?: string | null;
4729
+ picture?: string | null;
4730
+ };
4731
+ }
4340
4732
  export type TIME = unknown;
4341
4733
  export type TimeInput = HrTime | number | Date;
4342
4734
  export type TIMELINE = unknown;
@@ -4418,6 +4810,7 @@ export interface TreemapChartRuntimeDto {
4418
4810
  chartType: 'treemap';
4419
4811
  family: 'treemap';
4420
4812
  nodes: (TreemapNodeDto)[];
4813
+ display?: ChartRuntimeDisplayDto;
4421
4814
  }
4422
4815
  export interface TreemapNodeDto {
4423
4816
  key: string;
@@ -4433,6 +4826,19 @@ export declare enum TrustLevelEnum {
4433
4826
  VERIFIED = "Verified"
4434
4827
  }
4435
4828
  export type TUESDAY = unknown;
4829
+ export interface TwilioSmsMetadata {
4830
+ accountSid: string;
4831
+ phoneNumber?: string;
4832
+ messagingServiceSid?: string;
4833
+ accountDetails?: {
4834
+ friendlyName?: string;
4835
+ status?: string;
4836
+ type?: string;
4837
+ dateCreated?: string;
4838
+ dateUpdated?: string;
4839
+ };
4840
+ [key: string]: any;
4841
+ }
4436
4842
  export interface TypeAgent {
4437
4843
  id: number;
4438
4844
  name: ILocalizedText;
@@ -4528,6 +4934,11 @@ export type Unverified = unknown;
4528
4934
  export type UNVERIFIED = unknown;
4529
4935
  export type UPDATE = unknown;
4530
4936
  export type UPDATED_AT = unknown;
4937
+ export interface UpdateParagraphStyleRequest {
4938
+ range: Range;
4939
+ paragraphStyle: ParagraphStyle;
4940
+ fields: string;
4941
+ }
4531
4942
  export interface UpdateSharedBaseDto {
4532
4943
  uuid?: string;
4533
4944
  password?: unknown | null;
@@ -4547,6 +4958,11 @@ export interface UpdateSharedDashboardDto {
4547
4958
  expiryAt?: unknown | null;
4548
4959
  meta?: Record<string, JsonValue>;
4549
4960
  }
4961
+ export interface UpdateTextStyleRequest {
4962
+ range: Range;
4963
+ textStyle: TextStyle;
4964
+ fields: string;
4965
+ }
4550
4966
  export type UPPERCASE = unknown;
4551
4967
  export type URL = unknown;
4552
4968
  export interface URLSigner {
@@ -4697,6 +5113,23 @@ export type VCB_BANK = unknown;
4697
5113
  export type Verified = unknown;
4698
5114
  export type VERIFIED = unknown;
4699
5115
  export type VERTEX_AI = unknown;
5116
+ export interface VertexAIMetadata {
5117
+ isValid: boolean;
5118
+ lastTestAt?: number;
5119
+ modelCount?: number;
5120
+ usageCount?: number;
5121
+ lastUsedAt?: number;
5122
+ lastQuotaErrorAt?: number;
5123
+ isQuotaExceeded?: boolean;
5124
+ userInfo?: {
5125
+ id?: string;
5126
+ email?: string;
5127
+ name?: string;
5128
+ picture?: string;
5129
+ verified_email?: boolean;
5130
+ hd?: string;
5131
+ };
5132
+ }
4700
5133
  export type VIB_BANK = unknown;
4701
5134
  export type VIDEO = unknown;
4702
5135
  export type VIEW = unknown;
@@ -4759,6 +5192,10 @@ export declare enum ViewType {
4759
5192
  CALENDAR = "calendar",
4760
5193
  MAP = "map"
4761
5194
  }
5195
+ export interface VonageSmsMetadata {
5196
+ from?: string;
5197
+ [key: string]: any;
5198
+ }
4762
5199
  export type VPB_BANK = unknown;
4763
5200
  export type VTB_BANK = unknown;
4764
5201
  export type WAITING = unknown;
@@ -4771,6 +5208,12 @@ export interface WebhookNotificationConfig extends BaseNotificationConfig {
4771
5208
  defaultNotificationTemplates: Record<EventNotificationStatus, string | null>;
4772
5209
  }
4773
5210
  export type WEBSITE = unknown;
5211
+ export interface WebsiteMetadata {
5212
+ host: string;
5213
+ logo: string;
5214
+ active: boolean;
5215
+ click: number;
5216
+ }
4774
5217
  export type WEDNESDAY = unknown;
4775
5218
  export type WEEKLY = unknown;
4776
5219
  export interface WeeklyScheduleConfig {
@@ -4779,14 +5222,18 @@ export interface WeeklyScheduleConfig {
4779
5222
  atHour: number;
4780
5223
  atMinute: number;
4781
5224
  }
4782
- export type WidgetAggregationFunction = 'count' | 'sum' | 'avg' | 'min' | 'max';
5225
+ export interface WeightedFontFamily {
5226
+ fontFamily: string;
5227
+ weight: number;
5228
+ }
5229
+ export type WidgetAggregationFunction = 'count' | 'empty' | 'filled' | 'unique' | 'percent_empty' | 'percent_filled' | 'percent_unique' | 'sum' | 'avg' | 'min' | 'max' | 'median' | 'standard_deviation' | 'range' | 'checked' | 'unchecked' | 'percent_checked' | 'percent_unchecked';
4783
5230
  export type WidgetAggregationSpec = {
4784
5231
  function: WidgetAggregationFunction;
4785
5232
  fieldId?: string;
4786
5233
  distinct?: boolean;
4787
5234
  };
4788
5235
  export interface WidgetAggregationSpecDto {
4789
- function: 'count' | 'sum' | 'avg' | 'min' | 'max';
5236
+ function: 'count' | 'empty' | 'filled' | 'unique' | 'percent_empty' | 'percent_filled' | 'percent_unique' | 'sum' | 'avg' | 'min' | 'max' | 'median' | 'standard_deviation' | 'range' | 'checked' | 'unchecked' | 'percent_checked' | 'percent_unchecked';
4790
5237
  fieldId?: string;
4791
5238
  distinct?: boolean;
4792
5239
  }
@@ -4996,6 +5443,13 @@ export interface WriteCallback {
4996
5443
  }
4997
5444
  export type X_WWW_FORM_URLENCODED = unknown;
4998
5445
  export type XAI = unknown;
5446
+ export interface XAIMetadata {
5447
+ isValid: boolean;
5448
+ usageCount?: number;
5449
+ lastUsedAt?: number;
5450
+ lastQuotaErrorAt?: number;
5451
+ isQuotaExceeded?: boolean;
5452
+ }
4999
5453
  export type XLSX = unknown;
5000
5454
  export type XML = unknown;
5001
5455
  export type YEAR = unknown;
@@ -5018,10 +5472,78 @@ export interface ZaloOANotificationConfig extends BaseNotificationConfig {
5018
5472
  defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
5019
5473
  messageFormat?: 'TEXT' | 'TEMPLATE';
5020
5474
  }
5475
+ export interface ZaloPersonalBackupTokens {
5476
+ accessToken: string;
5477
+ refreshToken?: string;
5478
+ }
5479
+ export interface ZaloPersonalMetadata {
5480
+ zalo_uid: string;
5481
+ displayName: string;
5482
+ username?: string;
5483
+ avatarUrl?: string;
5484
+ phoneNumber?: string;
5485
+ email?: string;
5486
+ expiresAt: number;
5487
+ refreshTokenExpiresAt?: number;
5488
+ status: string;
5489
+ createdAt: number;
5490
+ updatedAt: number;
5491
+ backupTokens?: ZaloPersonalBackupTokens;
5492
+ errorReason?: string;
5493
+ corruptedAt?: string;
5494
+ browserInfo?: {
5495
+ /**
5496
+ * User agent của trình duyệt
5497
+ */
5498
+ userAgent?: string;
5499
+ /**
5500
+ * Cookies session
5501
+ */
5502
+ sessionCookies?: string;
5503
+ /**
5504
+ * Thời gian đăng nhập cuối cùng
5505
+ */
5506
+ lastLoginAt?: number;
5507
+ /**
5508
+ * IP address được sử dụng
5509
+ */
5510
+ ipAddress?: string;
5511
+ /**
5512
+ * Session ID từ automation-web
5513
+ */
5514
+ sessionId?: string;
5515
+ };
5516
+ settings?: {
5517
+ /**
5518
+ * Có tự động gửi tin nhắn không
5519
+ */
5520
+ autoSendMessage?: boolean;
5521
+ /**
5522
+ * Giới hạn số tin nhắn mỗi ngày
5523
+ */
5524
+ dailyMessageLimit?: number;
5525
+ /**
5526
+ * Delay giữa các tin nhắn (ms)
5527
+ */
5528
+ messageDelay?: number;
5529
+ /**
5530
+ * Có sử dụng proxy không
5531
+ */
5532
+ useProxy?: boolean;
5533
+ /**
5534
+ * Thông tin proxy
5535
+ */
5536
+ proxyConfig?: {
5537
+ host: string;
5538
+ port: number;
5539
+ username?: string;
5540
+ password?: string;
5541
+ };
5542
+ };
5543
+ }
5021
5544
  export interface ZaloPersonalNotificationConfig extends BaseNotificationConfig {
5022
5545
  userId: string;
5023
5546
  phoneNumber?: string;
5024
5547
  defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
5025
5548
  }
5026
- export {};
5027
5549
  //# sourceMappingURL=shared-types.d.ts.map