@redonvn/redai-backend-api-sdk 0.5.49 → 0.5.51
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.
- package/dist/cjs/generated/dynamic-table/types.js.map +1 -1
- package/dist/cjs/generated/shared-types.js +15 -46
- package/dist/cjs/generated/shared-types.js.map +1 -1
- package/dist/esm/generated/dynamic-table/types.d.ts +14 -3
- package/dist/esm/generated/dynamic-table/types.d.ts.map +1 -1
- package/dist/esm/generated/dynamic-table/types.js.map +1 -1
- package/dist/esm/generated/shared-types.d.ts +190 -202
- package/dist/esm/generated/shared-types.d.ts.map +1 -1
- package/dist/esm/generated/shared-types.js +15 -46
- package/dist/esm/generated/shared-types.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,87 +1,3 @@
|
|
|
1
|
-
type PeerCertificate = unknown;
|
|
2
|
-
type HttpsAgentOptions = Record<string, unknown>;
|
|
3
|
-
type HttpAgentOptions = Record<string, unknown>;
|
|
4
|
-
interface Duplex {
|
|
5
|
-
}
|
|
6
|
-
interface Readable {
|
|
7
|
-
read?(size?: number): any;
|
|
8
|
-
}
|
|
9
|
-
interface Writable {
|
|
10
|
-
end(...args: any[]): any;
|
|
11
|
-
}
|
|
12
|
-
interface Transform {
|
|
13
|
-
}
|
|
14
|
-
interface PassThrough {
|
|
15
|
-
}
|
|
16
|
-
interface EventEmitter {
|
|
17
|
-
}
|
|
18
|
-
declare const defaultErrorRedactor: any;
|
|
19
|
-
declare const Bucket: any;
|
|
20
|
-
declare const Channel: any;
|
|
21
|
-
declare const HmacKey: any;
|
|
22
|
-
declare const PubSub: any;
|
|
23
|
-
declare const grpc: {
|
|
24
|
-
ChannelCredentials: any;
|
|
25
|
-
};
|
|
26
|
-
declare namespace r {
|
|
27
|
-
type Response = any;
|
|
28
|
-
type Request = any;
|
|
29
|
-
type Options = any;
|
|
30
|
-
type CoreOptions = any;
|
|
31
|
-
type code = any;
|
|
32
|
-
type message = any;
|
|
33
|
-
}
|
|
34
|
-
declare namespace gax {
|
|
35
|
-
type ClientStub = any;
|
|
36
|
-
type GrpcClientOptions = any;
|
|
37
|
-
namespace grpc {
|
|
38
|
-
type ChannelCredentials = any;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
declare namespace grpc {
|
|
42
|
-
interface Client {
|
|
43
|
-
}
|
|
44
|
-
interface Metadata {
|
|
45
|
-
}
|
|
46
|
-
interface ServiceError {
|
|
47
|
-
}
|
|
48
|
-
type status = any;
|
|
49
|
-
type ChannelCredentials = any;
|
|
50
|
-
}
|
|
51
|
-
declare namespace google {
|
|
52
|
-
namespace api {
|
|
53
|
-
interface IHttpRule {
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
namespace pubsub {
|
|
57
|
-
namespace v1 {
|
|
58
|
-
interface IPubsubMessage {
|
|
59
|
-
}
|
|
60
|
-
interface ISnapshot {
|
|
61
|
-
}
|
|
62
|
-
interface ITopic {
|
|
63
|
-
}
|
|
64
|
-
namespace StreamingPullResponse {
|
|
65
|
-
interface ISubscriptionProperties {
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
declare namespace protobuf {
|
|
72
|
-
interface Root {
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
declare namespace tracing {
|
|
76
|
-
interface MessageWithAttributes {
|
|
77
|
-
}
|
|
78
|
-
interface Span {
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
declare namespace defer {
|
|
82
|
-
interface DeferredPromise<T = any> extends Promise<T> {
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
1
|
export interface Abortable {
|
|
86
2
|
abort(): void;
|
|
87
3
|
}
|
|
@@ -141,16 +57,11 @@ export interface AgentConfig {
|
|
|
141
57
|
flowSchema?: AgentFlowSchema;
|
|
142
58
|
paymentMethods?: PaymentMethod[];
|
|
143
59
|
}
|
|
144
|
-
export
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
agentId: string;
|
|
150
|
-
name: string;
|
|
151
|
-
prompt?: string | null;
|
|
152
|
-
}>;
|
|
153
|
-
} & ProjectResourceSummary;
|
|
60
|
+
export interface AgentContext {
|
|
61
|
+
type: 'admin' | 'user';
|
|
62
|
+
employeeId?: number;
|
|
63
|
+
scope?: ScopeContext;
|
|
64
|
+
}
|
|
154
65
|
export interface AgentFlowSchema {
|
|
155
66
|
instruction: InstructionFlow;
|
|
156
67
|
ui: UiGraph;
|
|
@@ -182,8 +93,8 @@ export type Allow = unknown;
|
|
|
182
93
|
export type AND = unknown;
|
|
183
94
|
export type ANTHROPIC = unknown;
|
|
184
95
|
export type ANY_OF = unknown;
|
|
185
|
-
export type AnyAuthClient = AuthClient
|
|
186
|
-
export type AnyAuthClientConstructor =
|
|
96
|
+
export type AnyAuthClient = InstanceType<Extract<ALL_EXPORTS, typeof AuthClient>>;
|
|
97
|
+
export type AnyAuthClientConstructor = Extract<ALL_EXPORTS, typeof AuthClient>;
|
|
187
98
|
export type API = unknown;
|
|
188
99
|
export type API_TOKEN = unknown;
|
|
189
100
|
export type API_TOKEN_CREATE = unknown;
|
|
@@ -495,6 +406,7 @@ export interface CategoricalChartRuntimeDto {
|
|
|
495
406
|
categories: (string)[];
|
|
496
407
|
buckets: (CategoricalChartBucketDto)[];
|
|
497
408
|
series: (ChartRuntimeSeriesDto)[];
|
|
409
|
+
display?: ChartRuntimeDisplayDto;
|
|
498
410
|
}
|
|
499
411
|
export type CENTER = unknown;
|
|
500
412
|
export type Channel = ServiceObject;
|
|
@@ -520,6 +432,67 @@ export interface ChartAxisSpecDto {
|
|
|
520
432
|
timeBucket?: 'day' | 'week' | 'month' | 'quarter';
|
|
521
433
|
label?: string;
|
|
522
434
|
}
|
|
435
|
+
export type ChartDisplaySpec = {
|
|
436
|
+
showLegend?: boolean;
|
|
437
|
+
showGrid?: boolean;
|
|
438
|
+
showTooltip?: boolean;
|
|
439
|
+
showDataLabels?: boolean;
|
|
440
|
+
seriesLayout?: ChartSeriesLayout;
|
|
441
|
+
showSecondaryAxis?: boolean;
|
|
442
|
+
maxPoints?: number;
|
|
443
|
+
};
|
|
444
|
+
export interface ChartDisplaySpecDto {
|
|
445
|
+
showLegend?: boolean;
|
|
446
|
+
showDataLabels?: boolean;
|
|
447
|
+
showGrid?: boolean;
|
|
448
|
+
showTooltip?: boolean;
|
|
449
|
+
showSecondaryAxis?: boolean;
|
|
450
|
+
seriesLayout?: ChartSeriesLayout;
|
|
451
|
+
maxPoints?: number;
|
|
452
|
+
}
|
|
453
|
+
export type ChartGroupingMode = 'single' | 'breakdown';
|
|
454
|
+
export type ChartMeasureSpec = {
|
|
455
|
+
key: string;
|
|
456
|
+
label: string;
|
|
457
|
+
aggregation: WidgetAggregationSpec;
|
|
458
|
+
fieldId?: string;
|
|
459
|
+
color?: string;
|
|
460
|
+
renderAs?: ChartRenderAs;
|
|
461
|
+
stackGroup?: string;
|
|
462
|
+
useSecondaryAxis?: boolean;
|
|
463
|
+
};
|
|
464
|
+
export interface ChartMeasureSpecDto {
|
|
465
|
+
key: string;
|
|
466
|
+
label: string;
|
|
467
|
+
aggregation: WidgetAggregationSpecDto;
|
|
468
|
+
fieldId?: string;
|
|
469
|
+
color?: string;
|
|
470
|
+
renderAs?: 'bar' | 'line' | 'area';
|
|
471
|
+
stackGroup?: string;
|
|
472
|
+
useSecondaryAxis?: boolean;
|
|
473
|
+
}
|
|
474
|
+
export type ChartPointsSpec = {
|
|
475
|
+
xFieldId: string;
|
|
476
|
+
yFieldId: string;
|
|
477
|
+
sizeFieldId?: string;
|
|
478
|
+
categoryFieldId?: string;
|
|
479
|
+
};
|
|
480
|
+
export interface ChartPointsSpecDto {
|
|
481
|
+
xFieldId: string;
|
|
482
|
+
yFieldId: string;
|
|
483
|
+
sizeFieldId?: string;
|
|
484
|
+
categoryFieldId?: string;
|
|
485
|
+
}
|
|
486
|
+
export type ChartRenderAs = 'bar' | 'line' | 'area';
|
|
487
|
+
export interface ChartRuntimeDisplayDto {
|
|
488
|
+
showLegend?: boolean;
|
|
489
|
+
showGrid?: boolean;
|
|
490
|
+
showTooltip?: boolean;
|
|
491
|
+
showDataLabels?: boolean;
|
|
492
|
+
seriesLayout?: 'grouped' | 'stacked' | 'percent';
|
|
493
|
+
showSecondaryAxis?: boolean;
|
|
494
|
+
maxPoints?: number | null;
|
|
495
|
+
}
|
|
523
496
|
export interface ChartRuntimeGroupValueDto {
|
|
524
497
|
fieldId: string;
|
|
525
498
|
value?: unknown;
|
|
@@ -534,19 +507,20 @@ export interface ChartRuntimeSeriesDto {
|
|
|
534
507
|
label: string;
|
|
535
508
|
renderAs?: 'bar' | 'line' | 'area';
|
|
536
509
|
color?: string | null;
|
|
510
|
+
useSecondaryAxis?: boolean;
|
|
537
511
|
points: (ChartRuntimePointDto)[];
|
|
538
512
|
}
|
|
539
|
-
export type
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
color?: string;
|
|
544
|
-
renderAs?: 'bar' | 'line' | 'area';
|
|
545
|
-
stackGroup?: string;
|
|
546
|
-
xFieldId?: string;
|
|
547
|
-
yFieldId?: string;
|
|
548
|
-
sizeFieldId?: string;
|
|
513
|
+
export type ChartScopeSpec = WidgetQuerySpec;
|
|
514
|
+
export type ChartSeriesConfigSpec = {
|
|
515
|
+
breakdownFieldId?: string;
|
|
516
|
+
groupingMode?: ChartGroupingMode;
|
|
549
517
|
};
|
|
518
|
+
export interface ChartSeriesConfigSpecDto {
|
|
519
|
+
breakdownFieldId?: string;
|
|
520
|
+
groupingMode?: 'single' | 'breakdown';
|
|
521
|
+
}
|
|
522
|
+
export type ChartSeriesLayout = 'grouped' | 'stacked' | 'percent';
|
|
523
|
+
export type ChartSeriesSpec = ChartMeasureSpec;
|
|
550
524
|
export interface ChartSeriesSpecDto {
|
|
551
525
|
label: string;
|
|
552
526
|
aggregation: WidgetAggregationSpecDto;
|
|
@@ -558,6 +532,9 @@ export interface ChartSeriesSpecDto {
|
|
|
558
532
|
yFieldId?: string;
|
|
559
533
|
sizeFieldId?: string;
|
|
560
534
|
}
|
|
535
|
+
export type ChartSortBy = 'label' | 'metric' | 'default';
|
|
536
|
+
export type ChartSortOrder = 'asc' | 'desc' | 'default';
|
|
537
|
+
export type ChartTimeBucket = 'day' | 'week' | 'month' | 'quarter';
|
|
561
538
|
export declare enum ChartType {
|
|
562
539
|
BAR = "bar",
|
|
563
540
|
STACKED_BAR = "stacked_bar",
|
|
@@ -577,39 +554,54 @@ export declare enum ChartType {
|
|
|
577
554
|
}
|
|
578
555
|
export type ChartWidgetConfig = {
|
|
579
556
|
chartType: ChartType;
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
yAxis?: ChartAxisSpec;
|
|
587
|
-
series: ChartSeriesSpec[];
|
|
588
|
-
stacked?: boolean;
|
|
589
|
-
showLegend?: boolean;
|
|
590
|
-
showDataLabels?: boolean;
|
|
591
|
-
showGrid?: boolean;
|
|
592
|
-
showTooltip?: boolean;
|
|
593
|
-
showSecondaryAxis?: boolean;
|
|
594
|
-
seriesLayout?: 'grouped' | 'stacked' | 'percent';
|
|
557
|
+
scope: ChartScopeSpec;
|
|
558
|
+
xAxis?: ChartXAxisSpec;
|
|
559
|
+
yAxis?: ChartYAxisSpec;
|
|
560
|
+
series?: ChartSeriesConfigSpec;
|
|
561
|
+
points?: ChartPointsSpec;
|
|
562
|
+
display?: ChartDisplaySpec;
|
|
595
563
|
};
|
|
596
564
|
export interface ChartWidgetConfigDto {
|
|
597
565
|
chartType: ChartType;
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
566
|
+
scope: WidgetQuerySpecDto;
|
|
567
|
+
xAxis?: ChartXAxisSpecDto;
|
|
568
|
+
yAxis?: ChartYAxisSpecDto;
|
|
569
|
+
series?: ChartSeriesConfigSpecDto;
|
|
570
|
+
points?: ChartPointsSpecDto;
|
|
571
|
+
display?: ChartDisplaySpecDto;
|
|
572
|
+
}
|
|
573
|
+
export type ChartXAxisMode = 'category' | 'time' | 'numeric';
|
|
574
|
+
export type ChartXAxisSpec = {
|
|
575
|
+
mode: ChartXAxisMode;
|
|
576
|
+
fieldId: string;
|
|
577
|
+
timeBucket?: ChartTimeBucket;
|
|
578
|
+
sortBy?: ChartSortBy;
|
|
579
|
+
sortOrder?: ChartSortOrder;
|
|
580
|
+
sortMeasureKey?: string;
|
|
581
|
+
includeEmptyCategories?: boolean;
|
|
582
|
+
includeOthersBucket?: boolean;
|
|
583
|
+
categoryLimit?: number;
|
|
584
|
+
label?: string;
|
|
585
|
+
};
|
|
586
|
+
export interface ChartXAxisSpecDto {
|
|
587
|
+
mode: 'category' | 'time' | 'numeric';
|
|
588
|
+
fieldId: string;
|
|
589
|
+
timeBucket?: ChartTimeBucket;
|
|
590
|
+
sortBy?: ChartSortBy;
|
|
591
|
+
sortOrder?: ChartSortOrder;
|
|
592
|
+
sortMeasureKey?: string;
|
|
593
|
+
includeEmptyCategories?: boolean;
|
|
594
|
+
includeOthersBucket?: boolean;
|
|
595
|
+
categoryLimit?: number;
|
|
596
|
+
label?: string;
|
|
597
|
+
}
|
|
598
|
+
export type ChartYAxisSpec = {
|
|
599
|
+
measures: ChartMeasureSpec[];
|
|
600
|
+
label?: string;
|
|
601
|
+
};
|
|
602
|
+
export interface ChartYAxisSpecDto {
|
|
603
|
+
measures: (ChartMeasureSpecDto)[];
|
|
604
|
+
label?: string;
|
|
613
605
|
}
|
|
614
606
|
export type CHAT = unknown;
|
|
615
607
|
export type CHECKBOX_GROUP = unknown;
|
|
@@ -643,14 +635,8 @@ export type CLOUD_CLOUDFLARE_R2 = unknown;
|
|
|
643
635
|
export type CLOUD_GOOGLE_CLOUD_STORAGE = unknown;
|
|
644
636
|
export type CLOUD_MINIO = unknown;
|
|
645
637
|
export type CLOUD_WASABI = unknown;
|
|
646
|
-
export interface CloudStorageIntegrationMetadata {
|
|
647
|
-
provider: CloudStorageProvider
|
|
648
|
-
displayName?: string;
|
|
649
|
-
description?: string;
|
|
650
|
-
icon?: string;
|
|
651
|
-
tags?: string[];
|
|
652
|
-
websiteUrl?: string;
|
|
653
|
-
docsUrl?: string;
|
|
638
|
+
export interface CloudStorageIntegrationMetadata extends IntegrationMetadataBase {
|
|
639
|
+
provider: CloudStorageProvider;
|
|
654
640
|
supportsSignedUrl?: boolean;
|
|
655
641
|
supportsVersioning?: boolean;
|
|
656
642
|
supportsCustomDomain?: boolean;
|
|
@@ -1535,6 +1521,7 @@ export interface FunnelChartRuntimeDto {
|
|
|
1535
1521
|
chartType: 'funnel';
|
|
1536
1522
|
family: 'funnel';
|
|
1537
1523
|
steps: (FunnelStepDto)[];
|
|
1524
|
+
display?: ChartRuntimeDisplayDto;
|
|
1538
1525
|
}
|
|
1539
1526
|
export interface FunnelStepDto {
|
|
1540
1527
|
key: string;
|
|
@@ -1571,7 +1558,7 @@ export type GaxiosError<T = any> = Error & {
|
|
|
1571
1558
|
code?: string;
|
|
1572
1559
|
status?: number;
|
|
1573
1560
|
};
|
|
1574
|
-
export type GaxiosInterceptorManager<T extends GaxiosOptions | GaxiosResponse> = Set
|
|
1561
|
+
export type GaxiosInterceptorManager<T extends GaxiosOptions | GaxiosResponse> = Set;
|
|
1575
1562
|
export interface GaxiosMultipartOptions {
|
|
1576
1563
|
headers: Headers;
|
|
1577
1564
|
content: string | Readable;
|
|
@@ -1797,6 +1784,7 @@ export interface HeatmapChartRuntimeDto {
|
|
|
1797
1784
|
chartType: 'heatmap';
|
|
1798
1785
|
family: 'heatmap';
|
|
1799
1786
|
cells: (HeatmapCellDto)[];
|
|
1787
|
+
display?: ChartRuntimeDisplayDto;
|
|
1800
1788
|
}
|
|
1801
1789
|
export type HmacKey = ServiceObject & {
|
|
1802
1790
|
storage: Storage;
|
|
@@ -1914,6 +1902,25 @@ export interface IdentityPoolClientOptions extends BaseExternalAccountClientOpti
|
|
|
1914
1902
|
subject_token_supplier?: SubjectTokenSupplier;
|
|
1915
1903
|
}
|
|
1916
1904
|
export type IFRAME = unknown;
|
|
1905
|
+
export type IframeWidgetConfig = {
|
|
1906
|
+
url: string;
|
|
1907
|
+
provider?: IframeWidgetProvider;
|
|
1908
|
+
allowFullscreen?: boolean;
|
|
1909
|
+
};
|
|
1910
|
+
export interface IframeWidgetConfigDto {
|
|
1911
|
+
url: string;
|
|
1912
|
+
provider?: IframeWidgetProvider;
|
|
1913
|
+
allowFullscreen?: boolean;
|
|
1914
|
+
}
|
|
1915
|
+
export type IframeWidgetProvider = 'website' | 'youtube' | 'google_sheets';
|
|
1916
|
+
export interface IframeWidgetRuntimeDto {
|
|
1917
|
+
family: 'iframe';
|
|
1918
|
+
widgetType: 'iframe';
|
|
1919
|
+
sourceUrl: string;
|
|
1920
|
+
embedUrl: string;
|
|
1921
|
+
provider: 'website' | 'youtube' | 'google_sheets';
|
|
1922
|
+
allowFullscreen?: boolean;
|
|
1923
|
+
}
|
|
1917
1924
|
export interface IIntegrationInputField {
|
|
1918
1925
|
key: string;
|
|
1919
1926
|
label: string;
|
|
@@ -2108,15 +2115,13 @@ export interface IStateVariable {
|
|
|
2108
2115
|
export type JSON = unknown;
|
|
2109
2116
|
export type JSON_PARSE = unknown;
|
|
2110
2117
|
export type JSON_STRINGIFY = unknown;
|
|
2111
|
-
export
|
|
2112
|
-
__jsonArrayBrand?: 'JsonArray';
|
|
2113
|
-
}
|
|
2118
|
+
export type JsonArray = JsonValue[];
|
|
2114
2119
|
export type JSONB = unknown;
|
|
2115
|
-
export
|
|
2120
|
+
export type JsonObject = {
|
|
2116
2121
|
[key: string]: JsonValue;
|
|
2117
|
-
}
|
|
2122
|
+
};
|
|
2118
2123
|
export type JsonPrimitive = string | number | boolean | null;
|
|
2119
|
-
export type JsonValue = JsonPrimitive |
|
|
2124
|
+
export type JsonValue = JsonPrimitive | JsonArray | JsonObject;
|
|
2120
2125
|
export interface JWTInput {
|
|
2121
2126
|
type?: string;
|
|
2122
2127
|
client_email?: string;
|
|
@@ -2340,7 +2345,9 @@ export interface MessageWithAttributes {
|
|
|
2340
2345
|
attributes?: Attributes | null | undefined;
|
|
2341
2346
|
parentSpan?: Span;
|
|
2342
2347
|
}
|
|
2343
|
-
export
|
|
2348
|
+
export interface Metadata {
|
|
2349
|
+
[key: string]: JsonValue;
|
|
2350
|
+
}
|
|
2344
2351
|
export interface Methods {
|
|
2345
2352
|
[methodName: string]: {
|
|
2346
2353
|
reqOpts?: r.CoreOptions;
|
|
@@ -2527,7 +2534,10 @@ export declare enum OwnerTypeEnum {
|
|
|
2527
2534
|
ADMIN = "ADMIN",
|
|
2528
2535
|
IN_SYSTEM = "IN_SYSTEM"
|
|
2529
2536
|
}
|
|
2530
|
-
export
|
|
2537
|
+
export interface PagedResponse<T> {
|
|
2538
|
+
list: T[];
|
|
2539
|
+
pageInfo: PageInfo;
|
|
2540
|
+
}
|
|
2531
2541
|
export type PageInfo = {
|
|
2532
2542
|
totalRows: number;
|
|
2533
2543
|
page: number;
|
|
@@ -3185,6 +3195,7 @@ export interface ScatterChartRuntimeDto {
|
|
|
3185
3195
|
pageInfo?: {
|
|
3186
3196
|
[key: string]: unknown;
|
|
3187
3197
|
};
|
|
3198
|
+
display?: ChartRuntimeDisplayDto;
|
|
3188
3199
|
}
|
|
3189
3200
|
export type SCB_BANK = unknown;
|
|
3190
3201
|
export interface Schema {
|
|
@@ -3201,6 +3212,12 @@ export interface ScopeCapability {
|
|
|
3201
3212
|
isSystem: boolean;
|
|
3202
3213
|
isActive: boolean;
|
|
3203
3214
|
}
|
|
3215
|
+
export interface ScopeContext {
|
|
3216
|
+
userId: number;
|
|
3217
|
+
workspaceId: string;
|
|
3218
|
+
baseId?: string | null;
|
|
3219
|
+
scopeSource: ScopeSource;
|
|
3220
|
+
}
|
|
3204
3221
|
export interface ScopeRole {
|
|
3205
3222
|
id: string;
|
|
3206
3223
|
scopeType: WorkspaceAuthScopeType;
|
|
@@ -3220,6 +3237,7 @@ export interface ScopeRoleCapability {
|
|
|
3220
3237
|
role: ScopeRole;
|
|
3221
3238
|
capability: ScopeCapability;
|
|
3222
3239
|
}
|
|
3240
|
+
export type ScopeSource = 'header' | 'state' | 'derived';
|
|
3223
3241
|
export type SEARCH = unknown;
|
|
3224
3242
|
export declare enum SegmentFieldNamespace {
|
|
3225
3243
|
USER_AUDIENCE = "user_audience",
|
|
@@ -3486,8 +3504,10 @@ export interface Snapshot {
|
|
|
3486
3504
|
metadata?: google.pubsub.v1.ISnapshot;
|
|
3487
3505
|
}
|
|
3488
3506
|
export declare enum SortDirection {
|
|
3489
|
-
ASC = "
|
|
3490
|
-
DESC = "
|
|
3507
|
+
ASC = "asc",
|
|
3508
|
+
DESC = "desc",
|
|
3509
|
+
COUNT_ASC = "count-asc",
|
|
3510
|
+
COUNT_DESC = "count-desc"
|
|
3491
3511
|
}
|
|
3492
3512
|
export type SOURCE = unknown;
|
|
3493
3513
|
export type SOURCE_CREATE = unknown;
|
|
@@ -3607,6 +3627,7 @@ export type Storage = Service & {
|
|
|
3607
3627
|
READER_ROLE: string;
|
|
3608
3628
|
WRITER_ROLE: string;
|
|
3609
3629
|
};
|
|
3630
|
+
acl: typeof Storage.acl;
|
|
3610
3631
|
crc32cGenerator: CRC32CValidatorGenerator;
|
|
3611
3632
|
retryOptions: RetryOptions;
|
|
3612
3633
|
sanitizeEndpoint: any;
|
|
@@ -4369,6 +4390,7 @@ export interface TreemapChartRuntimeDto {
|
|
|
4369
4390
|
chartType: 'treemap';
|
|
4370
4391
|
family: 'treemap';
|
|
4371
4392
|
nodes: (TreemapNodeDto)[];
|
|
4393
|
+
display?: ChartRuntimeDisplayDto;
|
|
4372
4394
|
}
|
|
4373
4395
|
export interface TreemapNodeDto {
|
|
4374
4396
|
key: string;
|
|
@@ -4741,7 +4763,7 @@ export interface WidgetAggregationSpecDto {
|
|
|
4741
4763
|
fieldId?: string;
|
|
4742
4764
|
distinct?: boolean;
|
|
4743
4765
|
}
|
|
4744
|
-
export type WidgetConfig = ChartWidgetConfig | MetricWidgetConfig | RedaiViewWidgetConfig | TextWidgetConfig | TableWidgetConfig | ListWidgetConfig | CalendarWidgetConfig | KanbanWidgetConfig | MapWidgetConfig;
|
|
4766
|
+
export type WidgetConfig = ChartWidgetConfig | IframeWidgetConfig | MetricWidgetConfig | RedaiViewWidgetConfig | TextWidgetConfig | TableWidgetConfig | ListWidgetConfig | CalendarWidgetConfig | KanbanWidgetConfig | MapWidgetConfig;
|
|
4745
4767
|
export type WidgetDatePreset = 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'this_month' | 'last_month' | 'this_quarter' | 'this_year';
|
|
4746
4768
|
export type WidgetFilter = FilterPayload | FilterPayload[];
|
|
4747
4769
|
export type WidgetMeta = {
|
|
@@ -4781,7 +4803,7 @@ export interface WidgetResponseDto {
|
|
|
4781
4803
|
title: string;
|
|
4782
4804
|
description?: string | null;
|
|
4783
4805
|
type: WidgetType;
|
|
4784
|
-
config?: ChartWidgetConfigDto | MetricWidgetConfigDto | TextWidgetConfigDto | RedaiViewWidgetConfigDto | TableWidgetConfigDto | ListWidgetConfigDto | CalendarWidgetConfigDto | KanbanWidgetConfigDto | MapWidgetConfigDto;
|
|
4806
|
+
config?: ChartWidgetConfigDto | IframeWidgetConfigDto | MetricWidgetConfigDto | TextWidgetConfigDto | RedaiViewWidgetConfigDto | TableWidgetConfigDto | ListWidgetConfigDto | CalendarWidgetConfigDto | KanbanWidgetConfigDto | MapWidgetConfigDto;
|
|
4785
4807
|
row?: number | null;
|
|
4786
4808
|
col?: number | null;
|
|
4787
4809
|
sizeX?: number | null;
|
|
@@ -4812,7 +4834,7 @@ export interface WidgetRuntimeResponseDto {
|
|
|
4812
4834
|
widget: WidgetResponseDto;
|
|
4813
4835
|
runtimeType: string;
|
|
4814
4836
|
resolvedQuery: WidgetRuntimeResolvedQueryResponseDto;
|
|
4815
|
-
data: CategoricalChartRuntimeDto | ScatterChartRuntimeDto | HeatmapChartRuntimeDto | TreemapChartRuntimeDto | FunnelChartRuntimeDto | MetricWidgetRuntimeDto | TextWidgetRuntimeDto | GridEmbedWidgetRuntimeDto | RedaiViewWidgetRuntimeDto | ForbiddenWidgetRuntimeDto | {
|
|
4837
|
+
data: CategoricalChartRuntimeDto | ScatterChartRuntimeDto | HeatmapChartRuntimeDto | TreemapChartRuntimeDto | FunnelChartRuntimeDto | MetricWidgetRuntimeDto | TextWidgetRuntimeDto | IframeWidgetRuntimeDto | GridEmbedWidgetRuntimeDto | RedaiViewWidgetRuntimeDto | ForbiddenWidgetRuntimeDto | {
|
|
4816
4838
|
[key: string]: unknown;
|
|
4817
4839
|
};
|
|
4818
4840
|
}
|
|
@@ -4821,49 +4843,16 @@ export type WidgetSortSpec = {
|
|
|
4821
4843
|
direction: 'asc' | 'desc';
|
|
4822
4844
|
};
|
|
4823
4845
|
export declare enum WidgetType {
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
INPUT = "INPUT",
|
|
4835
|
-
SELECT = "SELECT",
|
|
4836
|
-
CHECKBOX_GROUP = "CHECKBOX_GROUP",
|
|
4837
|
-
RADIO_GROUP = "RADIO_GROUP",
|
|
4838
|
-
DATE_PICKER = "DATE_PICKER",
|
|
4839
|
-
SLIDER = "SLIDER",
|
|
4840
|
-
TEXT = "TEXT",
|
|
4841
|
-
IMAGE = "IMAGE",
|
|
4842
|
-
VIDEO = "VIDEO",
|
|
4843
|
-
IFRAME = "IFRAME",
|
|
4844
|
-
LIST = "LIST",
|
|
4845
|
-
TIMELINE = "TIMELINE",
|
|
4846
|
-
NOTIFICATION = "NOTIFICATION",
|
|
4847
|
-
CONTAINER = "CONTAINER",
|
|
4848
|
-
GRID = "GRID",
|
|
4849
|
-
TABS = "TABS",
|
|
4850
|
-
ACCORDION = "ACCORDION",
|
|
4851
|
-
DIVIDER = "DIVIDER",
|
|
4852
|
-
SPACER = "SPACER",
|
|
4853
|
-
BUTTON = "BUTTON",
|
|
4854
|
-
BUTTON_GROUP = "BUTTON_GROUP",
|
|
4855
|
-
FILTER = "FILTER",
|
|
4856
|
-
SEARCH = "SEARCH",
|
|
4857
|
-
PAGINATION = "PAGINATION",
|
|
4858
|
-
BREADCRUMB = "BREADCRUMB",
|
|
4859
|
-
MENU = "MENU",
|
|
4860
|
-
MODAL = "MODAL",
|
|
4861
|
-
KPI_GRID = "KPI_GRID",
|
|
4862
|
-
COMPARISON = "COMPARISON",
|
|
4863
|
-
MAP = "MAP",
|
|
4864
|
-
CALENDAR = "CALENDAR",
|
|
4865
|
-
TREE = "TREE",
|
|
4866
|
-
KANBAN = "KANBAN"
|
|
4846
|
+
CHART = "chart",
|
|
4847
|
+
IFRAME = "iframe",
|
|
4848
|
+
METRIC = "metric",
|
|
4849
|
+
REDAI_VIEW = "redai_view",
|
|
4850
|
+
TEXT = "text",
|
|
4851
|
+
TABLE = "table",
|
|
4852
|
+
LIST = "list",
|
|
4853
|
+
CALENDAR = "calendar",
|
|
4854
|
+
KANBAN = "kanban",
|
|
4855
|
+
MAP = "map"
|
|
4867
4856
|
}
|
|
4868
4857
|
export interface Workflow {
|
|
4869
4858
|
id: string;
|
|
@@ -5007,5 +4996,4 @@ export interface ZaloPersonalNotificationConfig extends BaseNotificationConfig {
|
|
|
5007
4996
|
phoneNumber?: string;
|
|
5008
4997
|
defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
|
|
5009
4998
|
}
|
|
5010
|
-
export {};
|
|
5011
4999
|
//# sourceMappingURL=shared-types.d.ts.map
|