@redonvn/redai-backend-api-sdk 0.5.33 → 0.5.35
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/dynamic-table/filter-operators.js +48 -20
- package/dist/cjs/dynamic-table/filter-operators.js.map +1 -1
- package/dist/cjs/generated/ask-ai/services/admin-ask-ai-skill.service.js +28 -0
- package/dist/cjs/generated/ask-ai/services/admin-ask-ai-skill.service.js.map +1 -0
- package/dist/cjs/generated/ask-ai/services/admin-ask-ai.service.js +19 -0
- package/dist/cjs/generated/ask-ai/services/admin-ask-ai.service.js.map +1 -0
- package/dist/cjs/generated/ask-ai/services/ask-ai-dynamic-table.service.js +9 -0
- package/dist/cjs/generated/ask-ai/services/ask-ai-dynamic-table.service.js.map +1 -1
- package/dist/cjs/generated/ask-ai/services/common.service.js +19 -0
- package/dist/cjs/generated/ask-ai/services/common.service.js.map +1 -0
- package/dist/cjs/generated/ask-ai/services/index.js +7 -1
- package/dist/cjs/generated/ask-ai/services/index.js.map +1 -1
- package/dist/cjs/generated/ask-ai/types.js +3 -20
- package/dist/cjs/generated/ask-ai/types.js.map +1 -1
- package/dist/cjs/generated/index.js +3 -4
- package/dist/cjs/generated/index.js.map +1 -1
- package/dist/cjs/generated/services/index.js +1 -0
- package/dist/cjs/generated/services/index.js.map +1 -1
- package/dist/cjs/generated/shared-types.js +298 -1
- package/dist/cjs/generated/shared-types.js.map +1 -1
- package/dist/cjs/generated/types.js +2 -1
- package/dist/cjs/generated/types.js.map +1 -1
- package/dist/cjs/generated/workflow/index.js +20 -0
- package/dist/cjs/generated/workflow/index.js.map +1 -0
- package/dist/cjs/generated/workflow/services/connection-user.service.js +46 -0
- package/dist/cjs/generated/workflow/services/connection-user.service.js.map +1 -0
- package/dist/cjs/generated/workflow/services/custom-node-user.service.js +100 -0
- package/dist/cjs/generated/workflow/services/custom-node-user.service.js.map +1 -0
- package/dist/cjs/generated/workflow/services/custom-trigger.service.js +64 -0
- package/dist/cjs/generated/workflow/services/custom-trigger.service.js.map +1 -0
- package/dist/cjs/generated/workflow/services/execution-control-user.service.js +19 -0
- package/dist/cjs/generated/workflow/services/execution-control-user.service.js.map +1 -0
- package/dist/cjs/generated/workflow/services/execution-user.service.js +28 -0
- package/dist/cjs/generated/workflow/services/execution-user.service.js.map +1 -0
- package/dist/cjs/generated/workflow/services/index.js +33 -0
- package/dist/cjs/generated/workflow/services/index.js.map +1 -0
- package/dist/cjs/generated/workflow/services/load-options-user.service.js +19 -0
- package/dist/cjs/generated/workflow/services/load-options-user.service.js.map +1 -0
- package/dist/cjs/generated/workflow/services/node-definition-group-user.service.js +73 -0
- package/dist/cjs/generated/workflow/services/node-definition-group-user.service.js.map +1 -0
- package/dist/cjs/generated/workflow/services/node-definition-user.service.js +37 -0
- package/dist/cjs/generated/workflow/services/node-definition-user.service.js.map +1 -0
- package/dist/cjs/generated/workflow/services/node-execution-user.service.js +19 -0
- package/dist/cjs/generated/workflow/services/node-execution-user.service.js.map +1 -0
- package/dist/cjs/generated/workflow/services/node-user.service.js +91 -0
- package/dist/cjs/generated/workflow/services/node-user.service.js.map +1 -0
- package/dist/cjs/generated/workflow/services/webhook-registry-user.service.js +55 -0
- package/dist/cjs/generated/workflow/services/webhook-registry-user.service.js.map +1 -0
- package/dist/cjs/generated/workflow/services/workflow-sse-user.service.js +28 -0
- package/dist/cjs/generated/workflow/services/workflow-sse-user.service.js.map +1 -0
- package/dist/cjs/generated/workflow/services/workflow-template-user.service.js +37 -0
- package/dist/cjs/generated/workflow/services/workflow-template-user.service.js.map +1 -0
- package/dist/cjs/generated/workflow/services/workflow-user.service.js +163 -0
- package/dist/cjs/generated/workflow/services/workflow-user.service.js.map +1 -0
- package/dist/cjs/generated/workflow/types.js +3 -0
- package/dist/cjs/generated/workflow/types.js.map +1 -0
- package/dist/cjs/index.js +19 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/dynamic-table/filter-operators.d.ts +3 -0
- package/dist/esm/dynamic-table/filter-operators.d.ts.map +1 -1
- package/dist/esm/dynamic-table/filter-operators.js +48 -20
- package/dist/esm/dynamic-table/filter-operators.js.map +1 -1
- package/dist/esm/generated/ask-ai/services/admin-ask-ai-skill.service.d.ts +9 -0
- package/dist/esm/generated/ask-ai/services/admin-ask-ai-skill.service.d.ts.map +1 -0
- package/dist/esm/generated/ask-ai/services/admin-ask-ai-skill.service.js +24 -0
- package/dist/esm/generated/ask-ai/services/admin-ask-ai-skill.service.js.map +1 -0
- package/dist/esm/generated/ask-ai/services/admin-ask-ai.service.d.ts +15 -0
- package/dist/esm/generated/ask-ai/services/admin-ask-ai.service.d.ts.map +1 -0
- package/dist/esm/generated/ask-ai/services/admin-ask-ai.service.js +15 -0
- package/dist/esm/generated/ask-ai/services/admin-ask-ai.service.js.map +1 -0
- package/dist/esm/generated/ask-ai/services/ask-ai-dynamic-table.service.d.ts +2 -1
- package/dist/esm/generated/ask-ai/services/ask-ai-dynamic-table.service.d.ts.map +1 -1
- package/dist/esm/generated/ask-ai/services/ask-ai-dynamic-table.service.js +9 -0
- package/dist/esm/generated/ask-ai/services/ask-ai-dynamic-table.service.js.map +1 -1
- package/dist/esm/generated/ask-ai/services/common.service.d.ts +8 -0
- package/dist/esm/generated/ask-ai/services/common.service.d.ts.map +1 -0
- package/dist/esm/generated/ask-ai/services/common.service.js +15 -0
- package/dist/esm/generated/ask-ai/services/common.service.js.map +1 -0
- package/dist/esm/generated/ask-ai/services/index.d.ts +3 -0
- package/dist/esm/generated/ask-ai/services/index.d.ts.map +1 -1
- package/dist/esm/generated/ask-ai/services/index.js +3 -0
- package/dist/esm/generated/ask-ai/services/index.js.map +1 -1
- package/dist/esm/generated/ask-ai/types.d.ts +63 -33
- package/dist/esm/generated/ask-ai/types.d.ts.map +1 -1
- package/dist/esm/generated/ask-ai/types.js +1 -20
- package/dist/esm/generated/ask-ai/types.js.map +1 -1
- package/dist/esm/generated/index.d.ts +4 -2
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/generated/index.js +2 -1
- package/dist/esm/generated/index.js.map +1 -1
- package/dist/esm/generated/services/index.d.ts +1 -0
- package/dist/esm/generated/services/index.d.ts.map +1 -1
- package/dist/esm/generated/services/index.js +1 -0
- package/dist/esm/generated/services/index.js.map +1 -1
- package/dist/esm/generated/shared-types.d.ts +977 -2
- package/dist/esm/generated/shared-types.d.ts.map +1 -1
- package/dist/esm/generated/shared-types.js +297 -0
- package/dist/esm/generated/shared-types.js.map +1 -1
- package/dist/esm/generated/types.d.ts +1 -0
- package/dist/esm/generated/types.d.ts.map +1 -1
- package/dist/esm/generated/types.js +1 -0
- package/dist/esm/generated/types.js.map +1 -1
- package/dist/esm/generated/workflow/index.d.ts +3 -0
- package/dist/esm/generated/workflow/index.d.ts.map +1 -0
- package/dist/esm/generated/workflow/index.js +4 -0
- package/dist/esm/generated/workflow/index.js.map +1 -0
- package/dist/esm/generated/workflow/services/connection-user.service.d.ts +14 -0
- package/dist/esm/generated/workflow/services/connection-user.service.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/connection-user.service.js +42 -0
- package/dist/esm/generated/workflow/services/connection-user.service.js.map +1 -0
- package/dist/esm/generated/workflow/services/custom-node-user.service.d.ts +30 -0
- package/dist/esm/generated/workflow/services/custom-node-user.service.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/custom-node-user.service.js +96 -0
- package/dist/esm/generated/workflow/services/custom-node-user.service.js.map +1 -0
- package/dist/esm/generated/workflow/services/custom-trigger.service.d.ts +13 -0
- package/dist/esm/generated/workflow/services/custom-trigger.service.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/custom-trigger.service.js +60 -0
- package/dist/esm/generated/workflow/services/custom-trigger.service.js.map +1 -0
- package/dist/esm/generated/workflow/services/execution-control-user.service.d.ts +8 -0
- package/dist/esm/generated/workflow/services/execution-control-user.service.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/execution-control-user.service.js +15 -0
- package/dist/esm/generated/workflow/services/execution-control-user.service.js.map +1 -0
- package/dist/esm/generated/workflow/services/execution-user.service.d.ts +9 -0
- package/dist/esm/generated/workflow/services/execution-user.service.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/execution-user.service.js +24 -0
- package/dist/esm/generated/workflow/services/execution-user.service.js.map +1 -0
- package/dist/esm/generated/workflow/services/index.d.ts +15 -0
- package/dist/esm/generated/workflow/services/index.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/index.js +16 -0
- package/dist/esm/generated/workflow/services/index.js.map +1 -0
- package/dist/esm/generated/workflow/services/load-options-user.service.d.ts +8 -0
- package/dist/esm/generated/workflow/services/load-options-user.service.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/load-options-user.service.js +15 -0
- package/dist/esm/generated/workflow/services/load-options-user.service.js.map +1 -0
- package/dist/esm/generated/workflow/services/node-definition-group-user.service.d.ts +16 -0
- package/dist/esm/generated/workflow/services/node-definition-group-user.service.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/node-definition-group-user.service.js +69 -0
- package/dist/esm/generated/workflow/services/node-definition-group-user.service.js.map +1 -0
- package/dist/esm/generated/workflow/services/node-definition-user.service.d.ts +10 -0
- package/dist/esm/generated/workflow/services/node-definition-user.service.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/node-definition-user.service.js +33 -0
- package/dist/esm/generated/workflow/services/node-definition-user.service.js.map +1 -0
- package/dist/esm/generated/workflow/services/node-execution-user.service.d.ts +8 -0
- package/dist/esm/generated/workflow/services/node-execution-user.service.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/node-execution-user.service.js +15 -0
- package/dist/esm/generated/workflow/services/node-execution-user.service.js.map +1 -0
- package/dist/esm/generated/workflow/services/node-user.service.d.ts +23 -0
- package/dist/esm/generated/workflow/services/node-user.service.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/node-user.service.js +87 -0
- package/dist/esm/generated/workflow/services/node-user.service.js.map +1 -0
- package/dist/esm/generated/workflow/services/webhook-registry-user.service.d.ts +12 -0
- package/dist/esm/generated/workflow/services/webhook-registry-user.service.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/webhook-registry-user.service.js +51 -0
- package/dist/esm/generated/workflow/services/webhook-registry-user.service.js.map +1 -0
- package/dist/esm/generated/workflow/services/workflow-sse-user.service.d.ts +9 -0
- package/dist/esm/generated/workflow/services/workflow-sse-user.service.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/workflow-sse-user.service.js +24 -0
- package/dist/esm/generated/workflow/services/workflow-sse-user.service.js.map +1 -0
- package/dist/esm/generated/workflow/services/workflow-template-user.service.d.ts +10 -0
- package/dist/esm/generated/workflow/services/workflow-template-user.service.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/workflow-template-user.service.js +33 -0
- package/dist/esm/generated/workflow/services/workflow-template-user.service.js.map +1 -0
- package/dist/esm/generated/workflow/services/workflow-user.service.d.ts +24 -0
- package/dist/esm/generated/workflow/services/workflow-user.service.d.ts.map +1 -0
- package/dist/esm/generated/workflow/services/workflow-user.service.js +159 -0
- package/dist/esm/generated/workflow/services/workflow-user.service.js.map +1 -0
- package/dist/esm/generated/workflow/types.d.ts +892 -0
- package/dist/esm/generated/workflow/types.d.ts.map +1 -0
- package/dist/esm/generated/workflow/types.js +2 -0
- package/dist/esm/generated/workflow/types.js.map +1 -0
- package/dist/esm/index.d.ts +37 -2
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +19 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +3 -1
|
@@ -1,29 +1,122 @@
|
|
|
1
1
|
export type ACB_BANK = unknown;
|
|
2
|
+
export type ACCEPTED = unknown;
|
|
3
|
+
export type ACL = unknown;
|
|
2
4
|
export type ACTION = unknown;
|
|
3
5
|
export type ACTIVE = unknown;
|
|
6
|
+
export type ADMIN = unknown;
|
|
7
|
+
export type AGENT = unknown;
|
|
8
|
+
export type AGENT_CREATE = unknown;
|
|
9
|
+
export type AGENT_DELETE = unknown;
|
|
4
10
|
export type AGENT_DESKTOP_SDK_EXE = unknown;
|
|
11
|
+
export type AGENT_UPDATE = unknown;
|
|
5
12
|
export type AGRIBANK_BANK = unknown;
|
|
6
13
|
export type AHAMOVE = unknown;
|
|
7
14
|
export type AI = unknown;
|
|
8
15
|
export type ALIBABA_CODING_PLAN = unknown;
|
|
9
16
|
export type ALL_OF = unknown;
|
|
17
|
+
export type Allow = unknown;
|
|
10
18
|
export type AND = unknown;
|
|
11
19
|
export type ANTHROPIC = unknown;
|
|
12
20
|
export type ANY_OF = unknown;
|
|
21
|
+
export type API = unknown;
|
|
22
|
+
export type API_TOKEN = unknown;
|
|
13
23
|
export type API_TOKEN_CREATE = unknown;
|
|
14
24
|
export type API_TOKEN_DELETE = unknown;
|
|
15
25
|
export type API_TOKEN_UPDATE = unknown;
|
|
26
|
+
export interface ApiRequestConfig {
|
|
27
|
+
request: {
|
|
28
|
+
header: Record<string, any>;
|
|
29
|
+
cookie: Record<string, any>;
|
|
30
|
+
body: Record<string, any>;
|
|
31
|
+
bodyType?: BodyType;
|
|
32
|
+
binary?: FileDescriptor;
|
|
33
|
+
formDataFiles?: Array<{
|
|
34
|
+
fieldName: string;
|
|
35
|
+
file: FileDescriptor;
|
|
36
|
+
}>;
|
|
37
|
+
param: Record<string, any>;
|
|
38
|
+
};
|
|
39
|
+
response: {
|
|
40
|
+
/**
|
|
41
|
+
* Example structure của response header (dùng cho documentation)
|
|
42
|
+
*/
|
|
43
|
+
header: Record<string, any>;
|
|
44
|
+
/**
|
|
45
|
+
* Example structure của response body (dùng cho documentation)
|
|
46
|
+
*/
|
|
47
|
+
body: Record<string, any>;
|
|
48
|
+
/**
|
|
49
|
+
* Danh sách HTTP status codes được coi là success
|
|
50
|
+
* Default: [200, 201, 202, 204] nếu không cung cấp
|
|
51
|
+
* Example: [200, 201]
|
|
52
|
+
*/
|
|
53
|
+
successStatusCodes?: number[];
|
|
54
|
+
/**
|
|
55
|
+
* Điều kiện bổ sung để xác định success dựa trên response body
|
|
56
|
+
* Dùng khi API luôn trả 200 nhưng có field báo success/error trong body
|
|
57
|
+
*
|
|
58
|
+
* Example:
|
|
59
|
+
* - API trả { "status": "success", "data": {...} }
|
|
60
|
+
* → successCondition: { jsonPath: "$.status", expectedValue: "success" }
|
|
61
|
+
*
|
|
62
|
+
* - API trả { "code": 0, "result": {...} }
|
|
63
|
+
* → successCondition: { jsonPath: "$.code", expectedValue: 0 }
|
|
64
|
+
*/
|
|
65
|
+
successCondition?: SuccessCondition;
|
|
66
|
+
/**
|
|
67
|
+
* Mapping để trích xuất error message và code từ response
|
|
68
|
+
* Dùng khi muốn lấy thông tin lỗi chi tiết từ API response
|
|
69
|
+
*
|
|
70
|
+
* Example:
|
|
71
|
+
* - API trả { "error": { "message": "Invalid token", "code": "AUTH_001" } }
|
|
72
|
+
* → errorMapping: {
|
|
73
|
+
* messageJsonPath: "$.error.message",
|
|
74
|
+
* codeJsonPath: "$.error.code"
|
|
75
|
+
* }
|
|
76
|
+
*/
|
|
77
|
+
errorMapping?: ErrorMapping;
|
|
78
|
+
};
|
|
79
|
+
url: string;
|
|
80
|
+
method: HttpMethod;
|
|
81
|
+
responseExtraction?: ConfigResponseExtraction;
|
|
82
|
+
}
|
|
16
83
|
export type ApiResponseDto<T = unknown> = import('../core/types').ApiResponseDto<T>;
|
|
84
|
+
export type APP = unknown;
|
|
85
|
+
export type APPEND = unknown;
|
|
86
|
+
export type APPROVE = unknown;
|
|
87
|
+
export type APPROVED = unknown;
|
|
17
88
|
export type ARCHIVED = unknown;
|
|
89
|
+
export type AREA = unknown;
|
|
18
90
|
export type ARRAY = unknown;
|
|
19
91
|
export type ASC = unknown;
|
|
92
|
+
export type ASK_AI = unknown;
|
|
93
|
+
export type ASSIGN = unknown;
|
|
20
94
|
export type ATTACHMENT = unknown;
|
|
95
|
+
export type AUTH_001 = unknown;
|
|
21
96
|
export type AUTONUMBER = unknown;
|
|
22
97
|
export type AVG = unknown;
|
|
23
98
|
export type AVG_DISTINCT = unknown;
|
|
24
99
|
export type AZURE_AI = unknown;
|
|
100
|
+
export type BAR = unknown;
|
|
25
101
|
export type BARCODE = unknown;
|
|
26
102
|
export type BASE = unknown;
|
|
103
|
+
export type BASE64 = unknown;
|
|
104
|
+
export type BASE64_DECODE = unknown;
|
|
105
|
+
export type BASE64_ENCODE = unknown;
|
|
106
|
+
export type BaseMeta = {
|
|
107
|
+
icon?: string;
|
|
108
|
+
coverImage?: string;
|
|
109
|
+
color?: string;
|
|
110
|
+
tags?: string[];
|
|
111
|
+
defaultTableId?: string;
|
|
112
|
+
defaultViewId?: string;
|
|
113
|
+
isTemplate?: boolean;
|
|
114
|
+
templateId?: string;
|
|
115
|
+
};
|
|
116
|
+
export declare enum BaseStatus {
|
|
117
|
+
ACTIVE = "active",
|
|
118
|
+
ARCHIVED = "archived"
|
|
119
|
+
}
|
|
27
120
|
export type BELONGS_TO = unknown;
|
|
28
121
|
export type BETWEEN = unknown;
|
|
29
122
|
export type BIDV_BANK = unknown;
|
|
@@ -33,17 +126,98 @@ export type BINARY = unknown;
|
|
|
33
126
|
export type BIT = unknown;
|
|
34
127
|
export type BLANK = unknown;
|
|
35
128
|
export type BLOB = unknown;
|
|
129
|
+
export type BLOG = unknown;
|
|
130
|
+
export type BLOG_CREATE = unknown;
|
|
131
|
+
export type BLOG_DELETE = unknown;
|
|
132
|
+
export type BLOG_UPDATE = unknown;
|
|
133
|
+
export type Body = unknown;
|
|
134
|
+
export declare enum BodyType {
|
|
135
|
+
NONE = "none",
|
|
136
|
+
FORM_DATA = "form-data",
|
|
137
|
+
X_WWW_FORM_URLENCODED = "x-www-form-urlencoded",
|
|
138
|
+
RAW = "raw",
|
|
139
|
+
BINARY = "binary"
|
|
140
|
+
}
|
|
36
141
|
export type BOOLEAN = unknown;
|
|
142
|
+
export type BUBBLE = unknown;
|
|
37
143
|
export type BUSINESS = unknown;
|
|
144
|
+
export type BUSINESS_CREATE = unknown;
|
|
145
|
+
export type BUSINESS_DELETE = unknown;
|
|
146
|
+
export type BUSINESS_UPDATE = unknown;
|
|
38
147
|
export type BUTTON = unknown;
|
|
39
148
|
export type BYTEA = unknown;
|
|
40
149
|
export type CALENDAR = unknown;
|
|
41
150
|
export type CALENDAR_CREATE = unknown;
|
|
42
151
|
export type CALENDAR_DELETE = unknown;
|
|
43
152
|
export type CALENDAR_UPDATE = unknown;
|
|
153
|
+
export type CalendarViewMeta = ViewMeta & {
|
|
154
|
+
timezone?: string;
|
|
155
|
+
weekStart?: 'sun' | 'mon';
|
|
156
|
+
defaultView?: 'month' | 'week' | 'day';
|
|
157
|
+
colorByFieldId?: string;
|
|
158
|
+
};
|
|
159
|
+
export type CalendarWidgetConfig = {
|
|
160
|
+
query: WidgetQuerySpec;
|
|
161
|
+
dateFieldId: string;
|
|
162
|
+
};
|
|
163
|
+
export type CANCELLED = unknown;
|
|
44
164
|
export type CASCADE = unknown;
|
|
45
165
|
export type CENTER = unknown;
|
|
46
166
|
export type CHAR = unknown;
|
|
167
|
+
export type CHART = unknown;
|
|
168
|
+
export type ChartAxisSpec = {
|
|
169
|
+
categoryFieldId?: string;
|
|
170
|
+
valueFieldId?: string;
|
|
171
|
+
timeBucket?: 'day' | 'week' | 'month' | 'quarter';
|
|
172
|
+
label?: string;
|
|
173
|
+
};
|
|
174
|
+
export type ChartSeriesSpec = {
|
|
175
|
+
label: string;
|
|
176
|
+
aggregation: WidgetAggregationSpec;
|
|
177
|
+
fieldId?: string;
|
|
178
|
+
color?: string;
|
|
179
|
+
renderAs?: 'bar' | 'line' | 'area';
|
|
180
|
+
stackGroup?: string;
|
|
181
|
+
xFieldId?: string;
|
|
182
|
+
yFieldId?: string;
|
|
183
|
+
sizeFieldId?: string;
|
|
184
|
+
};
|
|
185
|
+
export declare enum ChartType {
|
|
186
|
+
BAR = "bar",
|
|
187
|
+
STACKED_BAR = "stacked_bar",
|
|
188
|
+
LINE = "line",
|
|
189
|
+
AREA = "area",
|
|
190
|
+
STACKED_AREA = "stacked_area",
|
|
191
|
+
PIE = "pie",
|
|
192
|
+
DONUT = "donut",
|
|
193
|
+
RADAR = "radar",
|
|
194
|
+
SCATTER = "scatter",
|
|
195
|
+
BUBBLE = "bubble",
|
|
196
|
+
FUNNEL = "funnel",
|
|
197
|
+
HEATMAP = "heatmap",
|
|
198
|
+
COMBO = "combo",
|
|
199
|
+
POLAR_AREA = "polar_area",
|
|
200
|
+
TREEMAP = "treemap"
|
|
201
|
+
}
|
|
202
|
+
export type ChartWidgetConfig = {
|
|
203
|
+
chartType: ChartType;
|
|
204
|
+
query: WidgetQuerySpec;
|
|
205
|
+
dimensionFieldId?: string;
|
|
206
|
+
breakdownFieldId?: string;
|
|
207
|
+
sizeFieldId?: string;
|
|
208
|
+
maxPoints?: number;
|
|
209
|
+
xAxis?: ChartAxisSpec;
|
|
210
|
+
yAxis?: ChartAxisSpec;
|
|
211
|
+
series: ChartSeriesSpec[];
|
|
212
|
+
stacked?: boolean;
|
|
213
|
+
showLegend?: boolean;
|
|
214
|
+
showDataLabels?: boolean;
|
|
215
|
+
showGrid?: boolean;
|
|
216
|
+
showTooltip?: boolean;
|
|
217
|
+
showSecondaryAxis?: boolean;
|
|
218
|
+
seriesLayout?: 'grouped' | 'stacked' | 'percent';
|
|
219
|
+
};
|
|
220
|
+
export type CHAT = unknown;
|
|
47
221
|
export type CHECKED = unknown;
|
|
48
222
|
export type CIDR = unknown;
|
|
49
223
|
export type CLOUD_AWS_S3 = unknown;
|
|
@@ -102,11 +276,27 @@ export interface ColumnResponseDto {
|
|
|
102
276
|
inverseFieldKey?: string | null;
|
|
103
277
|
inverseFieldName?: string | null;
|
|
104
278
|
}
|
|
279
|
+
export type COMBO = unknown;
|
|
280
|
+
export type COMMENT = unknown;
|
|
105
281
|
export type COMMENT_CREATE = unknown;
|
|
106
282
|
export type COMMENT_DELETE = unknown;
|
|
107
283
|
export type COMMENT_UPDATE = unknown;
|
|
284
|
+
export type COMMUNITY = unknown;
|
|
108
285
|
export type COMPLETED = unknown;
|
|
286
|
+
export type CONCAT = unknown;
|
|
287
|
+
export interface ConfigResponseExtraction {
|
|
288
|
+
fields: ConfigResponseExtractionField[];
|
|
289
|
+
}
|
|
290
|
+
export interface ConfigResponseExtractionField {
|
|
291
|
+
targetKey: string;
|
|
292
|
+
jsonPath: string;
|
|
293
|
+
transform?: FieldTransformType;
|
|
294
|
+
mergeStrategy?: MergeStrategy;
|
|
295
|
+
}
|
|
296
|
+
export type CONNECT = unknown;
|
|
109
297
|
export type COUNT = unknown;
|
|
298
|
+
export type COUNT_ASC = unknown;
|
|
299
|
+
export type COUNT_DESC = unknown;
|
|
110
300
|
export type COUNT_DISTINCT = unknown;
|
|
111
301
|
export type CREATE = unknown;
|
|
112
302
|
export interface CreateColumnDto {
|
|
@@ -131,6 +321,7 @@ export interface CreateColumnDto {
|
|
|
131
321
|
externalColumnName?: string | null;
|
|
132
322
|
externalDataType?: ExternalDataType | null;
|
|
133
323
|
}
|
|
324
|
+
export type CREATED_AT = unknown;
|
|
134
325
|
export type CREATED_BY = unknown;
|
|
135
326
|
export type CREATED_TIME = unknown;
|
|
136
327
|
export type CreateTableFieldDto = CreateColumnDto & {
|
|
@@ -139,12 +330,65 @@ export type CreateTableFieldDto = CreateColumnDto & {
|
|
|
139
330
|
lookupConfig?: LookupConfigDto;
|
|
140
331
|
rollupConfig?: RollupConfigDto;
|
|
141
332
|
};
|
|
333
|
+
export declare enum CronFrequencyType {
|
|
334
|
+
HOURLY = "HOURLY",
|
|
335
|
+
DAILY = "DAILY",
|
|
336
|
+
WEEKLY = "WEEKLY",
|
|
337
|
+
MONTHLY = "MONTHLY",
|
|
338
|
+
CUSTOM = "CUSTOM"
|
|
339
|
+
}
|
|
340
|
+
export interface CronScheduleConfig {
|
|
341
|
+
enabled: boolean;
|
|
342
|
+
frequencyType: CronFrequencyType;
|
|
343
|
+
hourlyConfig?: HourlyScheduleConfig;
|
|
344
|
+
dailyConfig?: DailyScheduleConfig;
|
|
345
|
+
weeklyConfig?: WeeklyScheduleConfig;
|
|
346
|
+
monthlyConfig?: MonthlyScheduleConfig;
|
|
347
|
+
customConfig?: CustomScheduleConfig;
|
|
348
|
+
timezone?: string;
|
|
349
|
+
startAt?: number;
|
|
350
|
+
endAt?: number;
|
|
351
|
+
metadata?: Record<string, any>;
|
|
352
|
+
}
|
|
353
|
+
export type CSV = unknown;
|
|
142
354
|
export type CURRENCY = unknown;
|
|
143
355
|
export type CUSTOM = unknown;
|
|
356
|
+
export interface CustomScheduleConfig {
|
|
357
|
+
cronExpression: string;
|
|
358
|
+
description?: string;
|
|
359
|
+
}
|
|
360
|
+
export declare const D: readonly unknown[];
|
|
361
|
+
export type DAILY = unknown;
|
|
362
|
+
export interface DailyScheduleConfig {
|
|
363
|
+
everyDays: number;
|
|
364
|
+
atHour: number;
|
|
365
|
+
atMinute: number;
|
|
366
|
+
}
|
|
367
|
+
export type Danh = unknown;
|
|
144
368
|
export type DASHBOARD = unknown;
|
|
145
369
|
export type DASHBOARD_CREATE = unknown;
|
|
146
370
|
export type DASHBOARD_DELETE = unknown;
|
|
147
371
|
export type DASHBOARD_UPDATE = unknown;
|
|
372
|
+
export type DashboardMeta = {
|
|
373
|
+
theme?: string;
|
|
374
|
+
layoutVersion?: number;
|
|
375
|
+
grid?: {
|
|
376
|
+
columns?: number;
|
|
377
|
+
rowHeight?: number;
|
|
378
|
+
margin?: number;
|
|
379
|
+
};
|
|
380
|
+
background?: {
|
|
381
|
+
color?: string;
|
|
382
|
+
imageUrl?: string;
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
export declare enum DashboardStatus {
|
|
386
|
+
ACTIVE = "active",
|
|
387
|
+
INACTIVE = "inactive",
|
|
388
|
+
DRAFT = "draft",
|
|
389
|
+
ARCHIVED = "archived"
|
|
390
|
+
}
|
|
391
|
+
export type DATA = unknown;
|
|
148
392
|
export type DATA_CREATE = unknown;
|
|
149
393
|
export type DATA_DELETE = unknown;
|
|
150
394
|
export type DATA_EXPORT = unknown;
|
|
@@ -161,18 +405,35 @@ export type DATABASE_SQLITE = unknown;
|
|
|
161
405
|
export type DATE = unknown;
|
|
162
406
|
export type DATETIME = unknown;
|
|
163
407
|
export type DATETIME2 = unknown;
|
|
408
|
+
export declare enum DayOfWeek {
|
|
409
|
+
SUNDAY = 0,
|
|
410
|
+
MONDAY = 1,
|
|
411
|
+
TUESDAY = 2,
|
|
412
|
+
WEDNESDAY = 3,
|
|
413
|
+
THURSDAY = 4,
|
|
414
|
+
FRIDAY = 5,
|
|
415
|
+
SATURDAY = 6
|
|
416
|
+
}
|
|
164
417
|
export type DAYS_AGO = unknown;
|
|
165
418
|
export type DAYS_FROM_NOW = unknown;
|
|
419
|
+
export type Decimal = unknown;
|
|
166
420
|
export type DECIMAL = unknown;
|
|
167
421
|
export type DEEPSEEK = unknown;
|
|
422
|
+
export declare const Default: readonly unknown[];
|
|
168
423
|
export type DEFAULT = unknown;
|
|
424
|
+
export type DEGRADED = unknown;
|
|
169
425
|
export type DELETE = unknown;
|
|
426
|
+
export type DELETED = unknown;
|
|
170
427
|
export type DESC = unknown;
|
|
171
428
|
export type DISABLED = unknown;
|
|
429
|
+
export type DISCONNECT = unknown;
|
|
172
430
|
export type DOCUMENT = unknown;
|
|
431
|
+
export type DONUT = unknown;
|
|
173
432
|
export type DOUBLE = unknown;
|
|
174
433
|
export type DRAFT = unknown;
|
|
434
|
+
export type DUPLICATE = unknown;
|
|
175
435
|
export type DURATION = unknown;
|
|
436
|
+
export type DYNAMIC_TABLE = unknown;
|
|
176
437
|
export type EAV = unknown;
|
|
177
438
|
export type EMAIL = unknown;
|
|
178
439
|
export type EMAIL_GMAIL = unknown;
|
|
@@ -180,9 +441,19 @@ export type EMAIL_OUTLOOK = unknown;
|
|
|
180
441
|
export type EMAIL_SMTP = unknown;
|
|
181
442
|
export type EMAIL_TWILIO_SENDGRID = unknown;
|
|
182
443
|
export type EMPTY = unknown;
|
|
444
|
+
export type END = unknown;
|
|
183
445
|
export type ENUM = unknown;
|
|
184
446
|
export type EQ = unknown;
|
|
447
|
+
export type ERROR = unknown;
|
|
448
|
+
export interface ErrorMapping {
|
|
449
|
+
messageJsonPath?: string;
|
|
450
|
+
codeJsonPath?: string;
|
|
451
|
+
}
|
|
185
452
|
export type EXACT_DATE = unknown;
|
|
453
|
+
export type Example = unknown;
|
|
454
|
+
export type EXECUTE = unknown;
|
|
455
|
+
export type EXPORT = unknown;
|
|
456
|
+
export type EXTERNAL_TEMPLATE = unknown;
|
|
186
457
|
export declare enum ExternalDataType {
|
|
187
458
|
VARCHAR = "VARCHAR",
|
|
188
459
|
CHAR = "CHAR",
|
|
@@ -248,11 +519,15 @@ export interface ExternalSyncConfig {
|
|
|
248
519
|
syncInterval?: number;
|
|
249
520
|
lastSyncAt?: Date;
|
|
250
521
|
}
|
|
522
|
+
export type EXTRA = unknown;
|
|
251
523
|
export type FACEBOOK_ADS = unknown;
|
|
252
524
|
export type FACEBOOK_BUSINESS = unknown;
|
|
253
525
|
export type FACEBOOK_PAGE = unknown;
|
|
254
526
|
export type FACEBOOK_PERSONAL = unknown;
|
|
255
527
|
export type FAILED = unknown;
|
|
528
|
+
export type FAQ = unknown;
|
|
529
|
+
export type FEMALE = unknown;
|
|
530
|
+
export type FIELD = unknown;
|
|
256
531
|
export interface FieldConfig {
|
|
257
532
|
options?: {
|
|
258
533
|
id: string;
|
|
@@ -324,6 +599,25 @@ export type FieldMeta = {
|
|
|
324
599
|
message?: string;
|
|
325
600
|
};
|
|
326
601
|
};
|
|
602
|
+
export interface FieldResponseMapping {
|
|
603
|
+
jsonPath: string;
|
|
604
|
+
transform?: FieldTransformType;
|
|
605
|
+
}
|
|
606
|
+
export declare enum FieldTransformType {
|
|
607
|
+
NONE = "NONE",
|
|
608
|
+
TO_STRING = "TO_STRING",
|
|
609
|
+
TO_NUMBER = "TO_NUMBER",
|
|
610
|
+
TO_BOOLEAN = "TO_BOOLEAN",
|
|
611
|
+
TO_DATE = "TO_DATE",
|
|
612
|
+
TO_TIMESTAMP = "TO_TIMESTAMP",
|
|
613
|
+
TRIM = "TRIM",
|
|
614
|
+
UPPERCASE = "UPPERCASE",
|
|
615
|
+
LOWERCASE = "LOWERCASE",
|
|
616
|
+
BASE64_ENCODE = "BASE64_ENCODE",
|
|
617
|
+
BASE64_DECODE = "BASE64_DECODE",
|
|
618
|
+
JSON_STRINGIFY = "JSON_STRINGIFY",
|
|
619
|
+
JSON_PARSE = "JSON_PARSE"
|
|
620
|
+
}
|
|
327
621
|
export declare enum FieldType {
|
|
328
622
|
TEXT = "text",
|
|
329
623
|
LONG_TEXT = "long_text",
|
|
@@ -359,6 +653,18 @@ export declare enum FieldType {
|
|
|
359
653
|
USER = "user",
|
|
360
654
|
AI = "ai"
|
|
361
655
|
}
|
|
656
|
+
export type FILE_SYSTEM = unknown;
|
|
657
|
+
export interface FileDescriptor {
|
|
658
|
+
source: FileSourceType;
|
|
659
|
+
value: string;
|
|
660
|
+
fileName?: string;
|
|
661
|
+
contentType?: string;
|
|
662
|
+
}
|
|
663
|
+
export declare enum FileSourceType {
|
|
664
|
+
S3_KEY = "S3_KEY",
|
|
665
|
+
URL = "URL",
|
|
666
|
+
BASE64 = "BASE64"
|
|
667
|
+
}
|
|
362
668
|
export type FILTER = unknown;
|
|
363
669
|
export declare enum FilterComparisonOp {
|
|
364
670
|
EQ = "eq",
|
|
@@ -389,6 +695,7 @@ export declare enum FilterComparisonOp {
|
|
|
389
695
|
GROUP_BY_EQ = "gbEq",
|
|
390
696
|
GROUP_BY_NULL = "gbNull"
|
|
391
697
|
}
|
|
698
|
+
export type FilterComparisonOperator = FilterComparisonOp;
|
|
392
699
|
export declare enum FilterComparisonSubOp {
|
|
393
700
|
TODAY = "today",
|
|
394
701
|
TOMORROW = "tomorrow",
|
|
@@ -409,11 +716,37 @@ export declare enum FilterComparisonSubOp {
|
|
|
409
716
|
PAST_NUMBER_OF_DAYS = "pastNumberOfDays",
|
|
410
717
|
NEXT_NUMBER_OF_DAYS = "nextNumberOfDays"
|
|
411
718
|
}
|
|
719
|
+
export type FilterConditionPayload = {
|
|
720
|
+
fieldId?: string;
|
|
721
|
+
field?: string;
|
|
722
|
+
columnId?: string;
|
|
723
|
+
operator?: FilterComparisonOperator | string;
|
|
724
|
+
op?: FilterComparisonOperator | string;
|
|
725
|
+
comparisonOp?: FilterComparisonOperator | string;
|
|
726
|
+
comparison?: string;
|
|
727
|
+
condition?: string;
|
|
728
|
+
comparisonSubOp?: FilterComparisonSubOp | string;
|
|
729
|
+
logicalOp?: FilterLogicalOperator;
|
|
730
|
+
logical?: FilterLogicalOperator;
|
|
731
|
+
value?: JsonValue;
|
|
732
|
+
};
|
|
733
|
+
export type FilterGroupPayload = {
|
|
734
|
+
isGroup: true;
|
|
735
|
+
logicalOp?: FilterLogicalOperator;
|
|
736
|
+
children?: FilterPayload[];
|
|
737
|
+
};
|
|
412
738
|
export declare enum FilterLogicalOp {
|
|
413
739
|
AND = "and",
|
|
414
740
|
OR = "or",
|
|
415
741
|
NOT = "not"
|
|
416
742
|
}
|
|
743
|
+
export type FilterLogicalOperator = FilterLogicalOp;
|
|
744
|
+
export type FilterLogicalPayload = {
|
|
745
|
+
and?: FilterPayload[];
|
|
746
|
+
or?: FilterPayload[];
|
|
747
|
+
not?: FilterPayload[];
|
|
748
|
+
};
|
|
749
|
+
export type FilterPayload = FilterConditionPayload | FilterGroupPayload | FilterLogicalPayload;
|
|
417
750
|
export interface FilterResponseDto {
|
|
418
751
|
id: string;
|
|
419
752
|
viewId: string | null;
|
|
@@ -428,56 +761,267 @@ export interface FilterResponseDto {
|
|
|
428
761
|
children?: FilterResponseDto[];
|
|
429
762
|
}
|
|
430
763
|
export type FLOAT = unknown;
|
|
764
|
+
export declare enum FlowNodeType {
|
|
765
|
+
START = "start",
|
|
766
|
+
STEP = "step",
|
|
767
|
+
END = "end"
|
|
768
|
+
}
|
|
431
769
|
export type FORM = unknown;
|
|
770
|
+
export type FORM_DATA = unknown;
|
|
771
|
+
export type FORMATTED_STRING = unknown;
|
|
772
|
+
export type FORMATTED_VALUE = unknown;
|
|
432
773
|
export type FORMULA = unknown;
|
|
774
|
+
export type FormViewMeta = ViewMeta & {
|
|
775
|
+
theme?: string;
|
|
776
|
+
logoUrl?: string;
|
|
777
|
+
coverImageUrl?: string;
|
|
778
|
+
submitButtonLabel?: string;
|
|
779
|
+
showBranding?: boolean;
|
|
780
|
+
};
|
|
781
|
+
export type FRIDAY = unknown;
|
|
782
|
+
export type FUNNEL = unknown;
|
|
433
783
|
export type GALLERY = unknown;
|
|
784
|
+
export type GalleryViewMeta = ViewMeta & {
|
|
785
|
+
cardSize?: 'small' | 'medium' | 'large';
|
|
786
|
+
showCover?: boolean;
|
|
787
|
+
showEmptyCover?: boolean;
|
|
788
|
+
};
|
|
789
|
+
export declare enum GenderEnum {
|
|
790
|
+
MALE = "MALE",
|
|
791
|
+
FEMALE = "FEMALE",
|
|
792
|
+
OTHER = "OTHER"
|
|
793
|
+
}
|
|
434
794
|
export type GEOGRAPHY = unknown;
|
|
435
795
|
export type GEOMETRY = unknown;
|
|
436
796
|
export type GET = unknown;
|
|
437
797
|
export type GETFLY_CRM = unknown;
|
|
438
798
|
export type GHN = unknown;
|
|
439
799
|
export type GHTK = unknown;
|
|
800
|
+
export type Gi = unknown;
|
|
801
|
+
export type GOOGLE = unknown;
|
|
440
802
|
export type GOOGLE_ADS = unknown;
|
|
441
803
|
export type GOOGLE_AI_STUDIO = unknown;
|
|
442
804
|
export type GOOGLE_CALENDAR = unknown;
|
|
443
805
|
export type GOOGLE_CLOUD_PROJECT = unknown;
|
|
806
|
+
export type GOOGLE_CLOUD_STORAGE = unknown;
|
|
444
807
|
export type GOOGLE_DOCS = unknown;
|
|
445
808
|
export type GOOGLE_DRIVE = unknown;
|
|
446
809
|
export type GOOGLE_SHEETS = unknown;
|
|
447
810
|
export type GRID = unknown;
|
|
811
|
+
export declare enum GridColumnAlign {
|
|
812
|
+
LEFT = "left",
|
|
813
|
+
CENTER = "center",
|
|
814
|
+
RIGHT = "right"
|
|
815
|
+
}
|
|
816
|
+
export declare enum GridRowHeight {
|
|
817
|
+
SHORT = "short",
|
|
818
|
+
MEDIUM = "medium",
|
|
819
|
+
TALL = "tall",
|
|
820
|
+
EXTRA = "extra"
|
|
821
|
+
}
|
|
822
|
+
export type GridViewMeta = ViewMeta & {
|
|
823
|
+
wrapText?: boolean;
|
|
824
|
+
showEmptyFields?: boolean;
|
|
825
|
+
frozenColumnIds?: string[];
|
|
826
|
+
hiddenColumnIds?: string[];
|
|
827
|
+
columnWidths?: Array<{
|
|
828
|
+
fieldId: string;
|
|
829
|
+
width: number;
|
|
830
|
+
}>;
|
|
831
|
+
};
|
|
448
832
|
export type GROUP_BY_EQ = unknown;
|
|
449
833
|
export type GROUP_BY_NULL = unknown;
|
|
450
834
|
export type GT = unknown;
|
|
451
835
|
export type GTE = unknown;
|
|
452
836
|
export type HAS_MANY = unknown;
|
|
453
837
|
export type HDB_BANK = unknown;
|
|
838
|
+
export type HEAD = unknown;
|
|
839
|
+
export type HEALTHY = unknown;
|
|
840
|
+
export type HEATMAP = unknown;
|
|
841
|
+
export type HOOK = unknown;
|
|
842
|
+
export type HOURLY = unknown;
|
|
843
|
+
export interface HourlyScheduleConfig {
|
|
844
|
+
everyHours: number;
|
|
845
|
+
atMinute?: number;
|
|
846
|
+
}
|
|
454
847
|
export type HSTORE = unknown;
|
|
848
|
+
export type HTTP = unknown;
|
|
849
|
+
export declare enum HttpMethod {
|
|
850
|
+
GET = "GET",
|
|
851
|
+
POST = "POST",
|
|
852
|
+
PUT = "PUT",
|
|
853
|
+
PATCH = "PATCH",
|
|
854
|
+
DELETE = "DELETE",
|
|
855
|
+
HEAD = "HEAD",
|
|
856
|
+
OPTIONS = "OPTIONS"
|
|
857
|
+
}
|
|
858
|
+
export interface HttpUsageConfig {
|
|
859
|
+
headers?: Record<string, string>;
|
|
860
|
+
params?: Record<string, string>;
|
|
861
|
+
body?: Record<string, string>;
|
|
862
|
+
bodyType?: BodyType;
|
|
863
|
+
binary?: FileDescriptor;
|
|
864
|
+
formDataFiles?: Array<{
|
|
865
|
+
fieldName: string;
|
|
866
|
+
file: FileDescriptor;
|
|
867
|
+
}>;
|
|
868
|
+
cookies?: Record<string, string>;
|
|
869
|
+
transforms?: Record<string, TransformDefinition>;
|
|
870
|
+
}
|
|
871
|
+
export type HYBRID = unknown;
|
|
872
|
+
export type ID = unknown;
|
|
873
|
+
export interface IIntegrationInputField {
|
|
874
|
+
key: string;
|
|
875
|
+
label: string;
|
|
876
|
+
type: IntegrationInputFieldType;
|
|
877
|
+
sourceType: IntegrationInputFieldSourceType;
|
|
878
|
+
required: boolean;
|
|
879
|
+
defaultValue?: string | number | boolean;
|
|
880
|
+
description?: string;
|
|
881
|
+
placeholder?: string;
|
|
882
|
+
minValue?: number;
|
|
883
|
+
maxValue?: number;
|
|
884
|
+
minLength?: number;
|
|
885
|
+
maxLength?: number;
|
|
886
|
+
pattern?: string;
|
|
887
|
+
errorMessage?: string;
|
|
888
|
+
responseMapping?: FieldResponseMapping;
|
|
889
|
+
}
|
|
455
890
|
export type IMAGE = unknown;
|
|
891
|
+
export type IMPORT = unknown;
|
|
892
|
+
export type IN_SYSTEM = unknown;
|
|
456
893
|
export type INACTIVE = unknown;
|
|
894
|
+
export type INDIVIDUAL = unknown;
|
|
457
895
|
export type INET = unknown;
|
|
896
|
+
export type INFO_RESULT_API = unknown;
|
|
897
|
+
export type INSERT_ROWS = unknown;
|
|
458
898
|
export type INT = unknown;
|
|
459
899
|
export type INTEGER = unknown;
|
|
900
|
+
export interface Integration {
|
|
901
|
+
id: string;
|
|
902
|
+
integrationName: string;
|
|
903
|
+
typeId: number;
|
|
904
|
+
integrationProvider?: IntegrationProvider;
|
|
905
|
+
ownedType: OwnedTypeEnum;
|
|
906
|
+
createdAt: number;
|
|
907
|
+
employeeId: number | null;
|
|
908
|
+
encryptedConfig: string | null;
|
|
909
|
+
mcpEncryptedConfig: string | null;
|
|
910
|
+
metadata: Metadata | null;
|
|
911
|
+
updatedAt: number | null;
|
|
912
|
+
status: IntegrationEntityStatus;
|
|
913
|
+
secretKey: string | null;
|
|
914
|
+
imageKey: string | null;
|
|
915
|
+
externalIntegrationId: string | null;
|
|
916
|
+
errorTracking: IntegrationJobErrorTracking | null;
|
|
917
|
+
updateTimestamp: () => void;
|
|
918
|
+
}
|
|
919
|
+
export type INTEGRATION = unknown;
|
|
460
920
|
export type INTEGRATION_CREATE = unknown;
|
|
461
921
|
export type INTEGRATION_DELETE = unknown;
|
|
462
922
|
export type INTEGRATION_UPDATE = unknown;
|
|
923
|
+
export declare enum IntegrationEntityStatus {
|
|
924
|
+
ACTIVE = "ACTIVE",
|
|
925
|
+
INACTIVE = "INACTIVE",
|
|
926
|
+
ERROR = "ERROR"
|
|
927
|
+
}
|
|
928
|
+
export declare enum IntegrationInputFieldSourceType {
|
|
929
|
+
USER_INPUT = "USER_INPUT",
|
|
930
|
+
INFO_RESULT_API = "INFO_RESULT_API"
|
|
931
|
+
}
|
|
932
|
+
export declare enum IntegrationInputFieldType {
|
|
933
|
+
TEXT = "TEXT",
|
|
934
|
+
NUMBER = "NUMBER",
|
|
935
|
+
EMAIL = "EMAIL",
|
|
936
|
+
URL = "URL",
|
|
937
|
+
DATE = "DATE",
|
|
938
|
+
BOOLEAN = "BOOLEAN",
|
|
939
|
+
PASSWORD = "PASSWORD",
|
|
940
|
+
TEXTAREA = "TEXTAREA",
|
|
941
|
+
OBJECT = "OBJECT",
|
|
942
|
+
ARRAY = "ARRAY"
|
|
943
|
+
}
|
|
944
|
+
export interface IntegrationJobErrorTracking {
|
|
945
|
+
consecutiveFailures: number;
|
|
946
|
+
lastFailureAt: number | null;
|
|
947
|
+
lastSuccessAt: number | null;
|
|
948
|
+
totalFailures: number;
|
|
949
|
+
totalSuccesses: number;
|
|
950
|
+
healthStatus: IntegrationJobHealthStatus;
|
|
951
|
+
lastError?: string;
|
|
952
|
+
lastErrorDetails?: Record<string, any>;
|
|
953
|
+
}
|
|
954
|
+
export declare enum IntegrationJobHealthStatus {
|
|
955
|
+
HEALTHY = "HEALTHY",
|
|
956
|
+
DEGRADED = "DEGRADED",
|
|
957
|
+
FAILED = "FAILED",
|
|
958
|
+
DISABLED = "DISABLED"
|
|
959
|
+
}
|
|
960
|
+
export interface IntegrationProvider {
|
|
961
|
+
id: number;
|
|
962
|
+
type: ProviderEnum;
|
|
963
|
+
mcpSchema: Record<string, any> | null;
|
|
964
|
+
imageUrl: string;
|
|
965
|
+
displayName: string | null;
|
|
966
|
+
createdAt: number;
|
|
967
|
+
updatedAt: number | null;
|
|
968
|
+
createdBy: number | null;
|
|
969
|
+
updatedBy: number | null;
|
|
970
|
+
workspaceId: string | null;
|
|
971
|
+
baseId: string | null;
|
|
972
|
+
ownerType: OwnedTypeEnum | null;
|
|
973
|
+
inputFields: IIntegrationInputField[] | null;
|
|
974
|
+
config: ApiRequestConfig | null;
|
|
975
|
+
configRefresh: ApiRequestConfig | null;
|
|
976
|
+
cronSchedule: CronScheduleConfig | null;
|
|
977
|
+
usageConfig: ToolUsageConfig | null;
|
|
978
|
+
categoryId: number | null;
|
|
979
|
+
mode: UserCategoryEnum;
|
|
980
|
+
encryptedConfig: string | null;
|
|
981
|
+
secretKey: string | null;
|
|
982
|
+
userManual: string | null;
|
|
983
|
+
}
|
|
463
984
|
export type INTERVAL = unknown;
|
|
985
|
+
export type Invalid = false;
|
|
986
|
+
export type INVITE = unknown;
|
|
464
987
|
export type IS = unknown;
|
|
465
988
|
export type IS_NOT = unknown;
|
|
466
989
|
export type IS_WITHIN = unknown;
|
|
467
990
|
export type JSON = unknown;
|
|
468
|
-
export type
|
|
469
|
-
export type
|
|
991
|
+
export type JSON_PARSE = unknown;
|
|
992
|
+
export type JSON_STRINGIFY = unknown;
|
|
470
993
|
export interface JsonArray extends Array<JsonValue> {
|
|
471
994
|
}
|
|
995
|
+
export type JSONB = unknown;
|
|
472
996
|
export interface JsonObject {
|
|
473
997
|
[key: string]: JsonValue;
|
|
474
998
|
}
|
|
999
|
+
export type JsonPrimitive = string | number | boolean | null;
|
|
475
1000
|
export type JsonValue = JsonPrimitive | JsonObject | JsonArray;
|
|
476
1001
|
export type KANBAN = unknown;
|
|
1002
|
+
export type KanbanViewMeta = ViewMeta & {
|
|
1003
|
+
laneOrder?: string[];
|
|
1004
|
+
showEmptyLanes?: boolean;
|
|
1005
|
+
cardFields?: string[];
|
|
1006
|
+
};
|
|
1007
|
+
export type KanbanWidgetConfig = {
|
|
1008
|
+
query: WidgetQuerySpec;
|
|
1009
|
+
groupFieldId: string;
|
|
1010
|
+
};
|
|
1011
|
+
export type Khi = unknown;
|
|
477
1012
|
export type KL_BANK = unknown;
|
|
1013
|
+
export type LEFT = unknown;
|
|
478
1014
|
export type LIKE = unknown;
|
|
1015
|
+
export type LINE = unknown;
|
|
479
1016
|
export type LINK_TO_ANOTHER_RECORD = unknown;
|
|
480
1017
|
export type LINKS = unknown;
|
|
1018
|
+
export type LIST = unknown;
|
|
1019
|
+
export type ListWidgetConfig = {
|
|
1020
|
+
query: WidgetQuerySpec;
|
|
1021
|
+
visibleFieldIds?: string[];
|
|
1022
|
+
pageSize?: number;
|
|
1023
|
+
};
|
|
1024
|
+
export type Lo = unknown;
|
|
481
1025
|
export type LOCKED = unknown;
|
|
482
1026
|
export type LONG_TEXT = unknown;
|
|
483
1027
|
export type LONGTEXT = unknown;
|
|
@@ -490,16 +1034,72 @@ export interface LookupConfigResponseDto {
|
|
|
490
1034
|
relationFieldId: string | null;
|
|
491
1035
|
lookupFieldId: string | null;
|
|
492
1036
|
}
|
|
1037
|
+
export type LOWERCASE = unknown;
|
|
493
1038
|
export type LT = unknown;
|
|
494
1039
|
export type LTE = unknown;
|
|
495
1040
|
export type MACADDR = unknown;
|
|
1041
|
+
export type MALE = unknown;
|
|
1042
|
+
export type MANAGE = unknown;
|
|
496
1043
|
export type MANY_TO_MANY = unknown;
|
|
497
1044
|
export type MAP = unknown;
|
|
1045
|
+
export type MAPBOX = unknown;
|
|
1046
|
+
export interface Mapping {
|
|
1047
|
+
mapToIndex(value: number): number;
|
|
1048
|
+
lowerBoundary(index: number): number;
|
|
1049
|
+
get scale(): number;
|
|
1050
|
+
}
|
|
1051
|
+
export declare enum MapProviderType {
|
|
1052
|
+
OSM = "osm",
|
|
1053
|
+
GOOGLE = "google",
|
|
1054
|
+
MAPBOX = "mapbox"
|
|
1055
|
+
}
|
|
1056
|
+
export type MapViewMeta = ViewMeta & {
|
|
1057
|
+
defaultZoom?: number;
|
|
1058
|
+
center?: {
|
|
1059
|
+
lat: number;
|
|
1060
|
+
lng: number;
|
|
1061
|
+
};
|
|
1062
|
+
markerColor?: string;
|
|
1063
|
+
showCluster?: boolean;
|
|
1064
|
+
};
|
|
1065
|
+
export type MapWidgetConfig = {
|
|
1066
|
+
query: WidgetQuerySpec;
|
|
1067
|
+
latitudeFieldId?: string;
|
|
1068
|
+
longitudeFieldId?: string;
|
|
1069
|
+
geoFieldId?: string;
|
|
1070
|
+
};
|
|
1071
|
+
export type MARIADB = unknown;
|
|
1072
|
+
export type MARKETING = unknown;
|
|
1073
|
+
export type MARKETING_CREATE = unknown;
|
|
1074
|
+
export type MARKETING_DELETE = unknown;
|
|
1075
|
+
export type MARKETING_UPDATE = unknown;
|
|
1076
|
+
export type MARKETPLACE = unknown;
|
|
498
1077
|
export type MAX = unknown;
|
|
499
1078
|
export type MB_BANK = unknown;
|
|
1079
|
+
export type MCP_DYNAMIC = unknown;
|
|
1080
|
+
export type MEDIA = unknown;
|
|
1081
|
+
export type MEDIUM = unknown;
|
|
500
1082
|
export type MEDIUMINT = unknown;
|
|
501
1083
|
export type MEDIUMTEXT = unknown;
|
|
1084
|
+
export type MEMBER = unknown;
|
|
1085
|
+
export type MERGE = unknown;
|
|
1086
|
+
export declare enum MergeStrategy {
|
|
1087
|
+
REPLACE = "REPLACE",
|
|
1088
|
+
MERGE = "MERGE"
|
|
1089
|
+
}
|
|
1090
|
+
export type Metadata = any;
|
|
1091
|
+
export type METRIC = unknown;
|
|
1092
|
+
export type MetricWidgetConfig = {
|
|
1093
|
+
query: WidgetQuerySpec;
|
|
1094
|
+
aggregation: WidgetAggregationSpec;
|
|
1095
|
+
comparison?: {
|
|
1096
|
+
mode: 'previous_period' | 'fixed_target';
|
|
1097
|
+
value?: number;
|
|
1098
|
+
};
|
|
1099
|
+
format?: 'number' | 'currency' | 'percent';
|
|
1100
|
+
};
|
|
502
1101
|
export type MIN = unknown;
|
|
1102
|
+
export type MODELS = unknown;
|
|
503
1103
|
export declare enum ModelType {
|
|
504
1104
|
TABLE = "table",
|
|
505
1105
|
VIEW = "view",
|
|
@@ -507,8 +1107,19 @@ export declare enum ModelType {
|
|
|
507
1107
|
}
|
|
508
1108
|
export type MODIFIED_BY = unknown;
|
|
509
1109
|
export type MODIFIED_TIME = unknown;
|
|
1110
|
+
export type MONDAY = unknown;
|
|
510
1111
|
export type MONEY = unknown;
|
|
1112
|
+
export type MONGODB = unknown;
|
|
1113
|
+
export type MONTHLY = unknown;
|
|
1114
|
+
export interface MonthlyScheduleConfig {
|
|
1115
|
+
everyMonths: number;
|
|
1116
|
+
onDayOfMonth: number;
|
|
1117
|
+
atHour: number;
|
|
1118
|
+
atMinute: number;
|
|
1119
|
+
}
|
|
1120
|
+
export type MSSQL = unknown;
|
|
511
1121
|
export type MULTI_SELECT = unknown;
|
|
1122
|
+
export type MYSQL = unknown;
|
|
512
1123
|
export type NCHAR = unknown;
|
|
513
1124
|
export type NEQ = unknown;
|
|
514
1125
|
export type NEXT_MONTH = unknown;
|
|
@@ -527,10 +1138,24 @@ export type NOT_BLANK = unknown;
|
|
|
527
1138
|
export type NOT_CHECKED = unknown;
|
|
528
1139
|
export type NOT_EMPTY = unknown;
|
|
529
1140
|
export type NOT_NULL = unknown;
|
|
1141
|
+
export type NOTIFICATION = unknown;
|
|
1142
|
+
export declare enum NotificationProviderType {
|
|
1143
|
+
EMAIL_SMTP = "EMAIL_SMTP",
|
|
1144
|
+
EMAIL_GMAIL = "EMAIL_GMAIL",
|
|
1145
|
+
ZALO_OA = "ZALO_OA",
|
|
1146
|
+
ZALO_OA_GROUP = "ZALO_OA_GROUP",
|
|
1147
|
+
ZALO_OA_PROMOTION = "ZALO_OA_PROMOTION",
|
|
1148
|
+
ZALO_BOT = "ZALO_BOT",
|
|
1149
|
+
ZALO_PERSONAL = "ZALO_PERSONAL",
|
|
1150
|
+
ZALO_ZNS = "ZALO_ZNS",
|
|
1151
|
+
TELEGRAM = "TELEGRAM",
|
|
1152
|
+
FACEBOOK_PAGE = "FACEBOOK_PAGE"
|
|
1153
|
+
}
|
|
530
1154
|
export type NULL = unknown;
|
|
531
1155
|
export type NUMBER = unknown;
|
|
532
1156
|
export type NUMERIC = unknown;
|
|
533
1157
|
export type NVARCHAR = unknown;
|
|
1158
|
+
export type OBJECT = unknown;
|
|
534
1159
|
export type OBJECT_ID = unknown;
|
|
535
1160
|
export type OCB_BANK = unknown;
|
|
536
1161
|
export type ONE_MONTH_AGO = unknown;
|
|
@@ -541,8 +1166,18 @@ export type ONE_WEEK_FROM_NOW = unknown;
|
|
|
541
1166
|
export type OPENAI = unknown;
|
|
542
1167
|
export type OPENAI_OAUTH = unknown;
|
|
543
1168
|
export type OPENROUTER = unknown;
|
|
1169
|
+
export type OPTIONS = unknown;
|
|
544
1170
|
export type OR = unknown;
|
|
1171
|
+
export type ORACLE = unknown;
|
|
545
1172
|
export type ORDER = unknown;
|
|
1173
|
+
export type OSM = unknown;
|
|
1174
|
+
export type OTHER = unknown;
|
|
1175
|
+
export type OVERWRITE = unknown;
|
|
1176
|
+
export declare enum OwnedTypeEnum {
|
|
1177
|
+
USER = "USER",
|
|
1178
|
+
ADMIN = "ADMIN",
|
|
1179
|
+
IN_SYSTEM = "IN_SYSTEM"
|
|
1180
|
+
}
|
|
546
1181
|
export interface PaginatedResult<T> {
|
|
547
1182
|
items: T[];
|
|
548
1183
|
meta: PaginationMeta;
|
|
@@ -555,22 +1190,31 @@ export interface PaginationMeta {
|
|
|
555
1190
|
currentPage: number;
|
|
556
1191
|
hasItems?: boolean;
|
|
557
1192
|
}
|
|
1193
|
+
export type PASSWORD = unknown;
|
|
558
1194
|
export type PAST_MONTH = unknown;
|
|
559
1195
|
export type PAST_NUMBER_OF_DAYS = unknown;
|
|
560
1196
|
export type PAST_WEEK = unknown;
|
|
561
1197
|
export type PAST_YEAR = unknown;
|
|
562
1198
|
export type PATCH = unknown;
|
|
1199
|
+
export type PAUSED = unknown;
|
|
563
1200
|
export type PENDING = unknown;
|
|
564
1201
|
export type PERCENT = unknown;
|
|
1202
|
+
export type PERMISSION = unknown;
|
|
565
1203
|
export type PERMISSION_CREATE = unknown;
|
|
566
1204
|
export type PERMISSION_DELETE = unknown;
|
|
1205
|
+
export type PERMISSION_SUBJECT = unknown;
|
|
567
1206
|
export type PERMISSION_UPDATE = unknown;
|
|
568
1207
|
export type PERPLEXITY_AI = unknown;
|
|
569
1208
|
export type PERSONAL = unknown;
|
|
570
1209
|
export type PHONE = unknown;
|
|
1210
|
+
export type PHOTO = unknown;
|
|
571
1211
|
export type PHYSICAL = unknown;
|
|
1212
|
+
export type PIE = unknown;
|
|
572
1213
|
export type POINT = unknown;
|
|
1214
|
+
export type POLAR_AREA = unknown;
|
|
573
1215
|
export type POST = unknown;
|
|
1216
|
+
export type POSTGRESQL = unknown;
|
|
1217
|
+
export type PROJECT = unknown;
|
|
574
1218
|
export type PROJECT_CREATE = unknown;
|
|
575
1219
|
export type PROJECT_DELETE = unknown;
|
|
576
1220
|
export type PROJECT_UPDATE = unknown;
|
|
@@ -659,6 +1303,9 @@ export declare enum ProviderEnum {
|
|
|
659
1303
|
export type PROXY = unknown;
|
|
660
1304
|
export type PUT = unknown;
|
|
661
1305
|
export type QR_CODE = unknown;
|
|
1306
|
+
export interface Query {
|
|
1307
|
+
[key: string]: string;
|
|
1308
|
+
}
|
|
662
1309
|
export interface QueryDto {
|
|
663
1310
|
page: number;
|
|
664
1311
|
limit: number;
|
|
@@ -667,9 +1314,13 @@ export interface QueryDto {
|
|
|
667
1314
|
sortBy?: string;
|
|
668
1315
|
sortDirection?: SortDirection;
|
|
669
1316
|
}
|
|
1317
|
+
export type RADAR = unknown;
|
|
1318
|
+
export type RAG_SETTINGS = unknown;
|
|
670
1319
|
export type RATING = unknown;
|
|
1320
|
+
export type RAW = unknown;
|
|
671
1321
|
export type READ = unknown;
|
|
672
1322
|
export type REAL = unknown;
|
|
1323
|
+
export type RECORD = unknown;
|
|
673
1324
|
export type REDAI = unknown;
|
|
674
1325
|
export type REDAI_EXTENSION = unknown;
|
|
675
1326
|
export type REDAI_LLM = unknown;
|
|
@@ -680,6 +1331,7 @@ export declare enum ReferentialAction {
|
|
|
680
1331
|
SET_NULL = "SET NULL",
|
|
681
1332
|
SET_DEFAULT = "SET DEFAULT"
|
|
682
1333
|
}
|
|
1334
|
+
export type REJECT = unknown;
|
|
683
1335
|
export type RELATION = unknown;
|
|
684
1336
|
export interface RelationConfigDto {
|
|
685
1337
|
relationType: RelationType;
|
|
@@ -723,7 +1375,9 @@ export declare enum RelationType {
|
|
|
723
1375
|
MANY_TO_MANY = "mm",
|
|
724
1376
|
ONE_TO_ONE = "oo"
|
|
725
1377
|
}
|
|
1378
|
+
export type REPLACE = unknown;
|
|
726
1379
|
export type RESTRICT = unknown;
|
|
1380
|
+
export type RIGHT = unknown;
|
|
727
1381
|
export type ROLLUP = unknown;
|
|
728
1382
|
export interface RollupConfigDto {
|
|
729
1383
|
relationFieldRef: RelationFieldRefDto;
|
|
@@ -749,13 +1403,24 @@ export declare enum RowColoringMode {
|
|
|
749
1403
|
FILTER = "filter",
|
|
750
1404
|
SELECT = "select"
|
|
751
1405
|
}
|
|
1406
|
+
export type RUNNING = unknown;
|
|
1407
|
+
export type S3_KEY = unknown;
|
|
1408
|
+
export type SATURDAY = unknown;
|
|
1409
|
+
export type SCATTER = unknown;
|
|
752
1410
|
export type SCB_BANK = unknown;
|
|
753
1411
|
export type SELECT = unknown;
|
|
754
1412
|
export type SERIAL = unknown;
|
|
1413
|
+
export type SERIAL_NUMBER = unknown;
|
|
755
1414
|
export type SET = unknown;
|
|
756
1415
|
export type SET_DEFAULT = unknown;
|
|
757
1416
|
export type SET_NULL = unknown;
|
|
1417
|
+
export type SHARE = unknown;
|
|
758
1418
|
export type SHB_BANK = unknown;
|
|
1419
|
+
export type SHORT = unknown;
|
|
1420
|
+
export interface SlackIntegrationConfig {
|
|
1421
|
+
webhookUrl?: string;
|
|
1422
|
+
channelId?: string;
|
|
1423
|
+
}
|
|
759
1424
|
export type SMALLDATETIME = unknown;
|
|
760
1425
|
export type SMALLINT = unknown;
|
|
761
1426
|
export type SMALLMONEY = unknown;
|
|
@@ -771,17 +1436,62 @@ export declare enum SortDirection {
|
|
|
771
1436
|
ASC = "ASC",
|
|
772
1437
|
DESC = "DESC"
|
|
773
1438
|
}
|
|
1439
|
+
export type SOURCE = unknown;
|
|
774
1440
|
export type SOURCE_CREATE = unknown;
|
|
775
1441
|
export type SOURCE_DELETE = unknown;
|
|
776
1442
|
export type SOURCE_UPDATE = unknown;
|
|
1443
|
+
export type SourceConfig = {
|
|
1444
|
+
host?: string;
|
|
1445
|
+
port?: number;
|
|
1446
|
+
database?: string;
|
|
1447
|
+
username?: string;
|
|
1448
|
+
password?: string;
|
|
1449
|
+
ssl?: boolean;
|
|
1450
|
+
poolSize?: number;
|
|
1451
|
+
connectionTimeout?: number;
|
|
1452
|
+
idleTimeout?: number;
|
|
1453
|
+
schema?: string;
|
|
1454
|
+
[key: string]: JsonValue | undefined;
|
|
1455
|
+
};
|
|
1456
|
+
export type SourceMeta = {
|
|
1457
|
+
schema?: string;
|
|
1458
|
+
version?: string;
|
|
1459
|
+
driver?: string;
|
|
1460
|
+
lastSyncedAt?: number;
|
|
1461
|
+
note?: string;
|
|
1462
|
+
readOnlySchema?: boolean;
|
|
1463
|
+
readOnlyData?: boolean;
|
|
1464
|
+
};
|
|
1465
|
+
export declare enum SourceType {
|
|
1466
|
+
POSTGRESQL = "POSTGRESQL",
|
|
1467
|
+
MYSQL = "MYSQL",
|
|
1468
|
+
MSSQL = "MSSQL",
|
|
1469
|
+
MONGODB = "MONGODB",
|
|
1470
|
+
ORACLE = "ORACLE",
|
|
1471
|
+
MARIADB = "MARIADB",
|
|
1472
|
+
SQLITE = "SQLITE"
|
|
1473
|
+
}
|
|
1474
|
+
export type SQLITE = unknown;
|
|
1475
|
+
export type STACKED_AREA = unknown;
|
|
1476
|
+
export type STACKED_BAR = unknown;
|
|
1477
|
+
export type START = unknown;
|
|
777
1478
|
export type STB_BANK = unknown;
|
|
1479
|
+
export type STEP = unknown;
|
|
1480
|
+
export type STICKER = unknown;
|
|
778
1481
|
export declare enum StorageMode {
|
|
779
1482
|
JSONB = "JSONB",
|
|
780
1483
|
EAV = "EAV",
|
|
781
1484
|
PHYSICAL = "PHYSICAL"
|
|
782
1485
|
}
|
|
1486
|
+
export type SUCCESS = unknown;
|
|
1487
|
+
export interface SuccessCondition {
|
|
1488
|
+
jsonPath: string;
|
|
1489
|
+
expectedValue: any;
|
|
1490
|
+
}
|
|
783
1491
|
export type SUM = unknown;
|
|
784
1492
|
export type SUM_DISTINCT = unknown;
|
|
1493
|
+
export type SUNDAY = unknown;
|
|
1494
|
+
export type SYNC = unknown;
|
|
785
1495
|
export type T = unknown;
|
|
786
1496
|
export type TABLE = unknown;
|
|
787
1497
|
export type TABLE_CREATE = unknown;
|
|
@@ -838,27 +1548,152 @@ export interface TableSettings {
|
|
|
838
1548
|
maxRecords?: number;
|
|
839
1549
|
maxAttachmentSize?: number;
|
|
840
1550
|
}
|
|
1551
|
+
export type TableWidgetConfig = {
|
|
1552
|
+
query: WidgetQuerySpec;
|
|
1553
|
+
visibleFieldIds?: string[];
|
|
1554
|
+
pageSize?: number;
|
|
1555
|
+
};
|
|
1556
|
+
export type TALL = unknown;
|
|
841
1557
|
export type TCB_BANK = unknown;
|
|
842
1558
|
export type TELEGRAM = unknown;
|
|
843
1559
|
export type TELEGRAM_BOT = unknown;
|
|
844
1560
|
export type TEST = unknown;
|
|
845
1561
|
export type TEXT = unknown;
|
|
1562
|
+
export type TEXTAREA = unknown;
|
|
1563
|
+
export type TextWidgetConfig = {
|
|
1564
|
+
content: string;
|
|
1565
|
+
format: 'plain' | 'markdown';
|
|
1566
|
+
};
|
|
1567
|
+
export type THURSDAY = unknown;
|
|
1568
|
+
export type TIKTOK = unknown;
|
|
846
1569
|
export type TIME = unknown;
|
|
847
1570
|
export type TIMESTAMP = unknown;
|
|
848
1571
|
export type TIMESTAMPTZ = unknown;
|
|
849
1572
|
export type TINYINT = unknown;
|
|
850
1573
|
export type TINYTEXT = unknown;
|
|
1574
|
+
export type TO_BOOLEAN = unknown;
|
|
1575
|
+
export type TO_DATE = unknown;
|
|
1576
|
+
export type TO_NUMBER = unknown;
|
|
1577
|
+
export type TO_STRING = unknown;
|
|
1578
|
+
export type TO_TIMESTAMP = unknown;
|
|
851
1579
|
export type TODAY = unknown;
|
|
852
1580
|
export type TOMORROW = unknown;
|
|
1581
|
+
export type TOOLS = unknown;
|
|
1582
|
+
export interface ToolUsageConfig {
|
|
1583
|
+
http?: HttpUsageConfig;
|
|
1584
|
+
}
|
|
853
1585
|
export type TPB_BANK = unknown;
|
|
1586
|
+
export interface TransformDefinition {
|
|
1587
|
+
sourceKeys: string[];
|
|
1588
|
+
operation?: TransformOperation;
|
|
1589
|
+
separator?: string;
|
|
1590
|
+
transform: TransformType;
|
|
1591
|
+
}
|
|
1592
|
+
export declare enum TransformOperation {
|
|
1593
|
+
NONE = "NONE",
|
|
1594
|
+
CONCAT = "CONCAT"
|
|
1595
|
+
}
|
|
1596
|
+
export declare enum TransformType {
|
|
1597
|
+
NONE = "NONE",
|
|
1598
|
+
TO_STRING = "TO_STRING",
|
|
1599
|
+
TO_NUMBER = "TO_NUMBER",
|
|
1600
|
+
TO_BOOLEAN = "TO_BOOLEAN",
|
|
1601
|
+
TO_DATE = "TO_DATE",
|
|
1602
|
+
TO_TIMESTAMP = "TO_TIMESTAMP",
|
|
1603
|
+
TRIM = "TRIM",
|
|
1604
|
+
UPPERCASE = "UPPERCASE",
|
|
1605
|
+
LOWERCASE = "LOWERCASE",
|
|
1606
|
+
BASE64_ENCODE = "BASE64_ENCODE",
|
|
1607
|
+
BASE64_DECODE = "BASE64_DECODE",
|
|
1608
|
+
JSON_STRINGIFY = "JSON_STRINGIFY",
|
|
1609
|
+
JSON_PARSE = "JSON_PARSE"
|
|
1610
|
+
}
|
|
1611
|
+
export type TREEMAP = unknown;
|
|
1612
|
+
export type TRIGGER = unknown;
|
|
1613
|
+
export type TRIM = unknown;
|
|
1614
|
+
export declare enum TrustLevelEnum {
|
|
1615
|
+
UNVERIFIED = "Unverified",
|
|
1616
|
+
VERIFIED = "Verified"
|
|
1617
|
+
}
|
|
1618
|
+
export type TUESDAY = unknown;
|
|
1619
|
+
export type UNFORMATTED_VALUE = unknown;
|
|
854
1620
|
export type UNIQUEIDENTIFIER = unknown;
|
|
1621
|
+
export type Unverified = unknown;
|
|
1622
|
+
export type UNVERIFIED = unknown;
|
|
855
1623
|
export type UPDATE = unknown;
|
|
1624
|
+
export type UPDATED_AT = unknown;
|
|
1625
|
+
export type UPPERCASE = unknown;
|
|
856
1626
|
export type URL = unknown;
|
|
1627
|
+
export interface User {
|
|
1628
|
+
id: number;
|
|
1629
|
+
fullName: string;
|
|
1630
|
+
email: string;
|
|
1631
|
+
phoneNumber: string;
|
|
1632
|
+
isActive: boolean;
|
|
1633
|
+
isVerifyEmail: boolean;
|
|
1634
|
+
createdAt: number;
|
|
1635
|
+
updatedAt: number;
|
|
1636
|
+
citizenIssuePlace: string;
|
|
1637
|
+
citizenIssueDate: Date;
|
|
1638
|
+
isFirstPasswordChange: boolean;
|
|
1639
|
+
country: number;
|
|
1640
|
+
address: string;
|
|
1641
|
+
taxCode: string;
|
|
1642
|
+
pointsBalance: Decimal;
|
|
1643
|
+
facebookId: string;
|
|
1644
|
+
googleId: string;
|
|
1645
|
+
zaloId: string;
|
|
1646
|
+
type: UserTypeEnum;
|
|
1647
|
+
platform: string;
|
|
1648
|
+
citizenId: string;
|
|
1649
|
+
avatar: string;
|
|
1650
|
+
coverImage: string;
|
|
1651
|
+
password: string;
|
|
1652
|
+
dateOfBirth: Date;
|
|
1653
|
+
gender: GenderEnum;
|
|
1654
|
+
bankCode: string;
|
|
1655
|
+
accountNumber: string;
|
|
1656
|
+
accountHolder: string;
|
|
1657
|
+
bankBranch: string;
|
|
1658
|
+
isVerifyPhone: boolean;
|
|
1659
|
+
alertThreshold: number;
|
|
1660
|
+
wasRpointAlerted: boolean;
|
|
1661
|
+
affiliateAccountId: number | null;
|
|
1662
|
+
hasPaidServicePackage: boolean;
|
|
1663
|
+
hasPaidRpoint: boolean;
|
|
1664
|
+
countryCode: number;
|
|
1665
|
+
userUuid: string;
|
|
1666
|
+
trustLevel: TrustLevelEnum;
|
|
1667
|
+
acceptTerms: boolean;
|
|
1668
|
+
registrationMetadata: {
|
|
1669
|
+
ip?: string;
|
|
1670
|
+
userAgent?: string;
|
|
1671
|
+
referer?: string;
|
|
1672
|
+
country?: string;
|
|
1673
|
+
};
|
|
1674
|
+
utm: string;
|
|
1675
|
+
memory: string;
|
|
1676
|
+
}
|
|
857
1677
|
export type USER = unknown;
|
|
1678
|
+
export type USER_DELETE = unknown;
|
|
1679
|
+
export type USER_ENTERED = unknown;
|
|
1680
|
+
export type USER_INPUT = unknown;
|
|
1681
|
+
export type USER_UPDATE = unknown;
|
|
1682
|
+
export declare enum UserCategoryEnum {
|
|
1683
|
+
VERIFIED = "VERIFIED",
|
|
1684
|
+
COMMUNITY = "COMMUNITY"
|
|
1685
|
+
}
|
|
1686
|
+
export declare enum UserTypeEnum {
|
|
1687
|
+
INDIVIDUAL = "INDIVIDUAL",
|
|
1688
|
+
BUSINESS = "BUSINESS"
|
|
1689
|
+
}
|
|
858
1690
|
export type UUID = unknown;
|
|
859
1691
|
export type VARBINARY = unknown;
|
|
860
1692
|
export type VARCHAR = unknown;
|
|
861
1693
|
export type VCB_BANK = unknown;
|
|
1694
|
+
export type Verified = unknown;
|
|
1695
|
+
export type VERIFIED = unknown;
|
|
1696
|
+
export type VERTEX_AI = unknown;
|
|
862
1697
|
export type VIB_BANK = unknown;
|
|
863
1698
|
export type VIEW = unknown;
|
|
864
1699
|
export type VIEW_CREATE = unknown;
|
|
@@ -904,6 +1739,12 @@ export interface ViewResponseDto {
|
|
|
904
1739
|
createdAt: number;
|
|
905
1740
|
updatedAt: number | null;
|
|
906
1741
|
}
|
|
1742
|
+
export declare enum ViewSortDirection {
|
|
1743
|
+
ASC = "asc",
|
|
1744
|
+
DESC = "desc",
|
|
1745
|
+
COUNT_ASC = "count-asc",
|
|
1746
|
+
COUNT_DESC = "count-desc"
|
|
1747
|
+
}
|
|
907
1748
|
export declare enum ViewType {
|
|
908
1749
|
FORM = "form",
|
|
909
1750
|
GALLERY = "gallery",
|
|
@@ -914,13 +1755,147 @@ export declare enum ViewType {
|
|
|
914
1755
|
}
|
|
915
1756
|
export type VPB_BANK = unknown;
|
|
916
1757
|
export type VTB_BANK = unknown;
|
|
1758
|
+
export type WAITING = unknown;
|
|
1759
|
+
export type WEBHOOK = unknown;
|
|
917
1760
|
export type WEBSITE = unknown;
|
|
1761
|
+
export type WEDNESDAY = unknown;
|
|
1762
|
+
export type WEEKLY = unknown;
|
|
1763
|
+
export interface WeeklyScheduleConfig {
|
|
1764
|
+
everyWeeks: number;
|
|
1765
|
+
onDays: DayOfWeek[];
|
|
1766
|
+
atHour: number;
|
|
1767
|
+
atMinute: number;
|
|
1768
|
+
}
|
|
1769
|
+
export type WidgetAggregationFunction = 'count' | 'sum' | 'avg' | 'min' | 'max';
|
|
1770
|
+
export type WidgetAggregationSpec = {
|
|
1771
|
+
function: WidgetAggregationFunction;
|
|
1772
|
+
fieldId?: string;
|
|
1773
|
+
distinct?: boolean;
|
|
1774
|
+
};
|
|
1775
|
+
export type WidgetConfig = ChartWidgetConfig | MetricWidgetConfig | TextWidgetConfig | TableWidgetConfig | ListWidgetConfig | CalendarWidgetConfig | KanbanWidgetConfig | MapWidgetConfig;
|
|
1776
|
+
export type WidgetDatePreset = 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'this_month' | 'last_month' | 'this_quarter' | 'this_year';
|
|
1777
|
+
export type WidgetFilter = FilterPayload | FilterPayload[];
|
|
1778
|
+
export type WidgetMeta = {
|
|
1779
|
+
icon?: string;
|
|
1780
|
+
color?: string;
|
|
1781
|
+
refreshIntervalSec?: number;
|
|
1782
|
+
lastEditedBy?: string | number;
|
|
1783
|
+
};
|
|
1784
|
+
export type WidgetQuerySpec = {
|
|
1785
|
+
modelId: string;
|
|
1786
|
+
viewId?: string;
|
|
1787
|
+
filters?: WidgetFilter;
|
|
1788
|
+
groupBy?: string[];
|
|
1789
|
+
sorts?: WidgetSortSpec[];
|
|
1790
|
+
limit?: number;
|
|
1791
|
+
dateRangeFieldId?: string;
|
|
1792
|
+
datePreset?: WidgetDatePreset;
|
|
1793
|
+
};
|
|
1794
|
+
export type WidgetSortSpec = {
|
|
1795
|
+
fieldId: string;
|
|
1796
|
+
direction: 'asc' | 'desc';
|
|
1797
|
+
};
|
|
918
1798
|
export type WORKFLOW = unknown;
|
|
1799
|
+
export type WORKFLOW_TRIGGER = unknown;
|
|
1800
|
+
export declare const WORKSPACE: readonly unknown[];
|
|
1801
|
+
export declare const WORKSPACE_SYSTEM_ROLE_CODE: readonly unknown[];
|
|
1802
|
+
export declare enum WorkspaceAuthScopeType {
|
|
1803
|
+
WORKSPACE = "workspace",
|
|
1804
|
+
BASE = "base",
|
|
1805
|
+
HYBRID = "hybrid"
|
|
1806
|
+
}
|
|
1807
|
+
export declare enum WorkspaceCapabilityAction {
|
|
1808
|
+
READ = "read",
|
|
1809
|
+
CREATE = "create",
|
|
1810
|
+
UPDATE = "update",
|
|
1811
|
+
DELETE = "delete",
|
|
1812
|
+
MANAGE = "manage",
|
|
1813
|
+
EXECUTE = "execute",
|
|
1814
|
+
IMPORT = "import",
|
|
1815
|
+
EXPORT = "export",
|
|
1816
|
+
SHARE = "share",
|
|
1817
|
+
INVITE = "invite",
|
|
1818
|
+
ASSIGN = "assign",
|
|
1819
|
+
CONNECT = "connect",
|
|
1820
|
+
DISCONNECT = "disconnect",
|
|
1821
|
+
APPROVE = "approve",
|
|
1822
|
+
REJECT = "reject",
|
|
1823
|
+
TEST = "test",
|
|
1824
|
+
TRIGGER = "trigger",
|
|
1825
|
+
SYNC = "sync",
|
|
1826
|
+
DUPLICATE = "duplicate"
|
|
1827
|
+
}
|
|
1828
|
+
export declare enum WorkspaceCapabilityDomain {
|
|
1829
|
+
WORKSPACE = "workspace",
|
|
1830
|
+
BASE = "base",
|
|
1831
|
+
MEMBER = "member",
|
|
1832
|
+
DYNAMIC_TABLE = "dynamic_table",
|
|
1833
|
+
TABLE = "table",
|
|
1834
|
+
VIEW = "view",
|
|
1835
|
+
FIELD = "field",
|
|
1836
|
+
RECORD = "record",
|
|
1837
|
+
SOURCE = "source",
|
|
1838
|
+
ACL = "acl",
|
|
1839
|
+
PERMISSION_SUBJECT = "permission_subject",
|
|
1840
|
+
PERMISSION = "permission",
|
|
1841
|
+
HOOK = "hook",
|
|
1842
|
+
API_TOKEN = "api_token",
|
|
1843
|
+
COMMENT = "comment",
|
|
1844
|
+
INTEGRATION = "integration",
|
|
1845
|
+
AGENT = "agent",
|
|
1846
|
+
WORKFLOW = "workflow",
|
|
1847
|
+
MARKETING = "marketing",
|
|
1848
|
+
PROJECT = "project",
|
|
1849
|
+
DATA = "data",
|
|
1850
|
+
ASK_AI = "ask_ai",
|
|
1851
|
+
CHAT = "chat",
|
|
1852
|
+
CALENDAR = "calendar",
|
|
1853
|
+
TOOLS = "tools",
|
|
1854
|
+
FAQ = "faq",
|
|
1855
|
+
MARKETPLACE = "marketplace",
|
|
1856
|
+
BUSINESS = "business",
|
|
1857
|
+
MCP_DYNAMIC = "mcp_dynamic",
|
|
1858
|
+
MODELS = "models",
|
|
1859
|
+
BLOG = "blog",
|
|
1860
|
+
FILE_SYSTEM = "file_system",
|
|
1861
|
+
DASHBOARD = "dashboard",
|
|
1862
|
+
PROXY = "proxy",
|
|
1863
|
+
RAG_SETTINGS = "rag_settings"
|
|
1864
|
+
}
|
|
1865
|
+
export type WorkspaceRoleCode = WorkspaceSystemRoleCode | (string & {});
|
|
1866
|
+
export interface WorkspaceSettings {
|
|
1867
|
+
logo?: string;
|
|
1868
|
+
favicon?: string;
|
|
1869
|
+
primaryColor?: string;
|
|
1870
|
+
theme?: 'light' | 'dark' | 'system';
|
|
1871
|
+
defaultMemberRole?: WorkspaceRoleCode;
|
|
1872
|
+
allowPublicTables?: boolean;
|
|
1873
|
+
requireApproval?: boolean;
|
|
1874
|
+
emailNotifications?: boolean;
|
|
1875
|
+
slackIntegration?: SlackIntegrationConfig;
|
|
1876
|
+
maxTables?: number;
|
|
1877
|
+
maxMembers?: number;
|
|
1878
|
+
maxStorageBytes?: number;
|
|
1879
|
+
enableAuditLog?: boolean;
|
|
1880
|
+
enableApiAccess?: boolean;
|
|
1881
|
+
enableExport?: boolean;
|
|
1882
|
+
enableImport?: boolean;
|
|
1883
|
+
customDomain?: string;
|
|
1884
|
+
customDomainVerified?: boolean;
|
|
1885
|
+
}
|
|
1886
|
+
export type WorkspaceSystemRoleCode = (typeof WORKSPACE_SYSTEM_ROLE_CODE)[keyof typeof WORKSPACE_SYSTEM_ROLE_CODE];
|
|
1887
|
+
export type X_WWW_FORM_URLENCODED = unknown;
|
|
919
1888
|
export type XAI = unknown;
|
|
1889
|
+
export type XLSX = unknown;
|
|
920
1890
|
export type XML = unknown;
|
|
921
1891
|
export type YEAR = unknown;
|
|
922
1892
|
export type YESTERDAY = unknown;
|
|
923
1893
|
export type ZALO_BOT = unknown;
|
|
924
1894
|
export type ZALO_OA = unknown;
|
|
1895
|
+
export type ZALO_OA_GROUP = unknown;
|
|
1896
|
+
export type ZALO_OA_PROMOTION = unknown;
|
|
925
1897
|
export type ZALO_PERSONAL = unknown;
|
|
1898
|
+
export type ZALO_PERSONAL_CRAWL_FRIENDS = unknown;
|
|
1899
|
+
export type ZALO_PERSONAL_CRAWL_GROUPS = unknown;
|
|
1900
|
+
export type ZALO_ZNS = unknown;
|
|
926
1901
|
//# sourceMappingURL=shared-types.d.ts.map
|