@redonvn/redai-backend-api-sdk 0.5.46 → 0.5.48
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/ask-ai/index.js +7 -1
- package/dist/cjs/generated/ask-ai/index.js.map +1 -1
- 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/ask-ai-segment.service.js +28 -0
- package/dist/cjs/generated/ask-ai/services/ask-ai-segment.service.js.map +1 -0
- package/dist/cjs/generated/ask-ai/services/index.js +3 -1
- package/dist/cjs/generated/ask-ai/services/index.js.map +1 -1
- package/dist/cjs/generated/ask-ai/types.js +66 -1
- package/dist/cjs/generated/ask-ai/types.js.map +1 -1
- package/dist/cjs/generated/dynamic-table/services/dashboards.service.js +9 -0
- package/dist/cjs/generated/dynamic-table/services/dashboards.service.js.map +1 -1
- package/dist/cjs/generated/index.js +8 -2
- package/dist/cjs/generated/index.js.map +1 -1
- package/dist/cjs/generated/shared-types.js +279 -14
- package/dist/cjs/generated/shared-types.js.map +1 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/generated/ask-ai/index.d.ts +1 -1
- package/dist/esm/generated/ask-ai/index.d.ts.map +1 -1
- package/dist/esm/generated/ask-ai/index.js +1 -1
- package/dist/esm/generated/ask-ai/index.js.map +1 -1
- 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/ask-ai-segment.service.d.ts +9 -0
- package/dist/esm/generated/ask-ai/services/ask-ai-segment.service.d.ts.map +1 -0
- package/dist/esm/generated/ask-ai/services/ask-ai-segment.service.js +24 -0
- package/dist/esm/generated/ask-ai/services/ask-ai-segment.service.js.map +1 -0
- package/dist/esm/generated/ask-ai/services/index.d.ts +1 -0
- package/dist/esm/generated/ask-ai/services/index.d.ts.map +1 -1
- package/dist/esm/generated/ask-ai/services/index.js +1 -0
- package/dist/esm/generated/ask-ai/services/index.js.map +1 -1
- package/dist/esm/generated/ask-ai/types.d.ts +281 -161
- package/dist/esm/generated/ask-ai/types.d.ts.map +1 -1
- package/dist/esm/generated/ask-ai/types.js +65 -0
- package/dist/esm/generated/ask-ai/types.js.map +1 -1
- package/dist/esm/generated/dynamic-table/services/dashboards.service.d.ts +2 -1
- package/dist/esm/generated/dynamic-table/services/dashboards.service.d.ts.map +1 -1
- package/dist/esm/generated/dynamic-table/services/dashboards.service.js +9 -0
- package/dist/esm/generated/dynamic-table/services/dashboards.service.js.map +1 -1
- package/dist/esm/generated/dynamic-table/types.d.ts +3 -0
- package/dist/esm/generated/dynamic-table/types.d.ts.map +1 -1
- package/dist/esm/generated/index.d.ts +3 -3
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/generated/index.js +1 -1
- package/dist/esm/generated/index.js.map +1 -1
- package/dist/esm/generated/shared-types.d.ts +2566 -35
- package/dist/esm/generated/shared-types.d.ts.map +1 -1
- package/dist/esm/generated/shared-types.js +277 -13
- package/dist/esm/generated/shared-types.js.map +1 -1
- package/dist/esm/index.d.ts +4 -2
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,29 +1,199 @@
|
|
|
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
|
+
export interface Abortable {
|
|
86
|
+
abort(): void;
|
|
87
|
+
}
|
|
1
88
|
export type ACB_BANK = unknown;
|
|
2
89
|
export type ACCEPTED = unknown;
|
|
3
90
|
export type ACCORDION = unknown;
|
|
91
|
+
export type Acl = AclRoleAccessorMethods & {
|
|
92
|
+
default: Acl;
|
|
93
|
+
pathPrefix: string;
|
|
94
|
+
request_: (reqOpts: DecorateRequestOptions, callback: BodyResponseCallback) => void;
|
|
95
|
+
};
|
|
4
96
|
export type ACL = unknown;
|
|
97
|
+
export interface AclRoleAccessorMethods {
|
|
98
|
+
accessMethods: any;
|
|
99
|
+
entities: any;
|
|
100
|
+
roles: any;
|
|
101
|
+
owners: {};
|
|
102
|
+
readers: {};
|
|
103
|
+
writers: {};
|
|
104
|
+
}
|
|
5
105
|
export type ACTION = unknown;
|
|
6
106
|
export type ACTIVE = unknown;
|
|
7
107
|
export type ADMIN = unknown;
|
|
108
|
+
export interface Agent {
|
|
109
|
+
id: string;
|
|
110
|
+
name: string;
|
|
111
|
+
avatar: string | null;
|
|
112
|
+
instruction: string | null;
|
|
113
|
+
createdAt: number;
|
|
114
|
+
updatedAt: number;
|
|
115
|
+
deletedAt: number | null;
|
|
116
|
+
userId: number | null;
|
|
117
|
+
workspaceId: string | null;
|
|
118
|
+
baseId: string | null;
|
|
119
|
+
employeeId: number | null;
|
|
120
|
+
typeId: number | null;
|
|
121
|
+
type: TypeAgent | null;
|
|
122
|
+
config: AgentConfig | null;
|
|
123
|
+
active: boolean;
|
|
124
|
+
exp: number;
|
|
125
|
+
strategyId: string | null;
|
|
126
|
+
memory: string | null;
|
|
127
|
+
evaluatorId: string | null;
|
|
128
|
+
agentSkills: AgentSkill[];
|
|
129
|
+
}
|
|
8
130
|
export type AGENT = unknown;
|
|
9
131
|
export type AGENT_CREATE = unknown;
|
|
10
132
|
export type AGENT_DELETE = unknown;
|
|
11
133
|
export type AGENT_DESKTOP_SDK_EXE = unknown;
|
|
12
134
|
export type AGENT_UPDATE = unknown;
|
|
135
|
+
export interface AgentConfig {
|
|
136
|
+
profile?: Profile;
|
|
137
|
+
convert?: ConvertConfig;
|
|
138
|
+
isForSale?: boolean;
|
|
139
|
+
description?: string;
|
|
140
|
+
metadata?: Record<string, any>;
|
|
141
|
+
flowSchema?: AgentFlowSchema;
|
|
142
|
+
paymentMethods?: PaymentMethod[];
|
|
143
|
+
}
|
|
144
|
+
export type AgentContext = {
|
|
145
|
+
instruction?: string | null;
|
|
146
|
+
memory?: string | null;
|
|
147
|
+
flowSchema?: AgentFlowSchemaDto | null;
|
|
148
|
+
multiAgents?: Array<{
|
|
149
|
+
agentId: string;
|
|
150
|
+
name: string;
|
|
151
|
+
prompt?: string | null;
|
|
152
|
+
}>;
|
|
153
|
+
} & ProjectResourceSummary;
|
|
154
|
+
export interface AgentFlowSchema {
|
|
155
|
+
instruction: InstructionFlow;
|
|
156
|
+
ui: UiGraph;
|
|
157
|
+
}
|
|
158
|
+
export interface AgentFlowSchemaDto {
|
|
159
|
+
instruction: InstructionFlowDto;
|
|
160
|
+
ui: UiGraphDto;
|
|
161
|
+
}
|
|
162
|
+
export interface AgentSkill {
|
|
163
|
+
agentId: string;
|
|
164
|
+
skillId: string;
|
|
165
|
+
agent: Agent;
|
|
166
|
+
skill: Skill;
|
|
167
|
+
}
|
|
13
168
|
export type AGRIBANK_BANK = unknown;
|
|
14
169
|
export type AHAMOVE = unknown;
|
|
15
170
|
export type AI = unknown;
|
|
171
|
+
export interface AiIntegrationMetadata extends IntegrationMetadataBase {
|
|
172
|
+
provider: AiProvider;
|
|
173
|
+
modelFamilies?: string[];
|
|
174
|
+
supportsStreaming?: boolean;
|
|
175
|
+
notes?: string;
|
|
176
|
+
}
|
|
177
|
+
export type AiProvider = ProviderEnum.REDAI_LLM | ProviderEnum.OPENAI | ProviderEnum.XAI | ProviderEnum.ANTHROPIC | ProviderEnum.DEEPSEEK | ProviderEnum.VERTEX_AI | ProviderEnum.OPENROUTER | ProviderEnum.AZURE_AI | ProviderEnum.PERPLEXITY_AI;
|
|
16
178
|
export type ALIBABA_CODING_PLAN = unknown;
|
|
179
|
+
export type ALL_EXPORTS = (typeof import('./'))[keyof typeof import('./')];
|
|
17
180
|
export type ALL_OF = unknown;
|
|
18
181
|
export type Allow = unknown;
|
|
19
182
|
export type AND = unknown;
|
|
20
183
|
export type ANTHROPIC = unknown;
|
|
21
184
|
export type ANY_OF = unknown;
|
|
185
|
+
export type AnyAuthClient = AuthClient;
|
|
186
|
+
export type AnyAuthClientConstructor = new (...args: any[]) => AuthClient;
|
|
22
187
|
export type API = unknown;
|
|
23
188
|
export type API_TOKEN = unknown;
|
|
24
189
|
export type API_TOKEN_CREATE = unknown;
|
|
25
190
|
export type API_TOKEN_DELETE = unknown;
|
|
26
191
|
export type API_TOKEN_UPDATE = unknown;
|
|
192
|
+
export type ApiError = Error & {
|
|
193
|
+
code?: number;
|
|
194
|
+
errors?: GoogleInnerError[];
|
|
195
|
+
response?: r.Response;
|
|
196
|
+
};
|
|
27
197
|
export interface ApiRequestConfig {
|
|
28
198
|
request: {
|
|
29
199
|
header: Record<string, any>;
|
|
@@ -93,10 +263,82 @@ export type ASC = unknown;
|
|
|
93
263
|
export type ASK_AI = unknown;
|
|
94
264
|
export type ASSIGN = unknown;
|
|
95
265
|
export type ATTACHMENT = unknown;
|
|
266
|
+
export type Attributes = Record<string, string>;
|
|
267
|
+
export type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
|
|
96
268
|
export type AUTH_001 = unknown;
|
|
269
|
+
export interface AuthClient {
|
|
270
|
+
sign(blobToSign: string): Promise<string>;
|
|
271
|
+
getCredentials(): Promise<{
|
|
272
|
+
client_email?: string;
|
|
273
|
+
}>;
|
|
274
|
+
}
|
|
275
|
+
export interface AuthClientOptions extends Partial<OriginalAndCamel<AuthJSONOptions>> {
|
|
276
|
+
apiKey?: string;
|
|
277
|
+
credentials?: Credentials;
|
|
278
|
+
transporter?: Gaxios;
|
|
279
|
+
transporterOptions?: GaxiosOptions;
|
|
280
|
+
eagerRefreshThresholdMillis?: number;
|
|
281
|
+
forceRefreshOnFailure?: boolean;
|
|
282
|
+
useAuthRequestParameters?: boolean;
|
|
283
|
+
}
|
|
284
|
+
export interface AuthContext {
|
|
285
|
+
transportSecurityType?: string;
|
|
286
|
+
sslPeerCertificate?: PeerCertificate;
|
|
287
|
+
}
|
|
288
|
+
export interface AuthJSONOptions {
|
|
289
|
+
project_id: string | null;
|
|
290
|
+
projectId: AuthJSONOptions['project_id'];
|
|
291
|
+
quota_project_id: string;
|
|
292
|
+
quotaProjectId: AuthJSONOptions['quota_project_id'];
|
|
293
|
+
universe_domain: string;
|
|
294
|
+
universeDomain: AuthJSONOptions['universe_domain'];
|
|
295
|
+
}
|
|
97
296
|
export type AUTONUMBER = unknown;
|
|
98
297
|
export type AVG = unknown;
|
|
99
298
|
export type AVG_DISTINCT = unknown;
|
|
299
|
+
export interface AwsClientOptions extends BaseExternalAccountClientOptions {
|
|
300
|
+
credential_source?: {
|
|
301
|
+
/**
|
|
302
|
+
* AWS environment ID. Currently only 'AWS1' is supported.
|
|
303
|
+
*/
|
|
304
|
+
environment_id: string;
|
|
305
|
+
/**
|
|
306
|
+
* The EC2 metadata URL to retrieve the current AWS region from. If this is
|
|
307
|
+
* not provided, the region should be present in the AWS_REGION or AWS_DEFAULT_REGION
|
|
308
|
+
* environment variables.
|
|
309
|
+
*/
|
|
310
|
+
region_url?: string;
|
|
311
|
+
/**
|
|
312
|
+
* The EC2 metadata URL to retrieve AWS security credentials. If this is not provided,
|
|
313
|
+
* the credentials should be present in the AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY,
|
|
314
|
+
* and AWS_SESSION_TOKEN environment variables.
|
|
315
|
+
*/
|
|
316
|
+
url?: string;
|
|
317
|
+
/**
|
|
318
|
+
* The regional GetCallerIdentity action URL, used to determine the account
|
|
319
|
+
* ID and its roles.
|
|
320
|
+
*/
|
|
321
|
+
regional_cred_verification_url: string;
|
|
322
|
+
/**
|
|
323
|
+
* The imdsv2 session token url is used to fetch session token from AWS
|
|
324
|
+
* which is later sent through headers for metadata requests. If the
|
|
325
|
+
* field is missing, then session token won't be fetched and sent with
|
|
326
|
+
* the metadata requests.
|
|
327
|
+
* The session token is required for IMDSv2 but optional for IMDSv1
|
|
328
|
+
*/
|
|
329
|
+
imdsv2_session_token_url?: string;
|
|
330
|
+
};
|
|
331
|
+
aws_security_credentials_supplier?: AwsSecurityCredentialsSupplier;
|
|
332
|
+
}
|
|
333
|
+
export interface AwsSecurityCredentials {
|
|
334
|
+
accessKeyId: string;
|
|
335
|
+
secretAccessKey: string;
|
|
336
|
+
token?: string;
|
|
337
|
+
}
|
|
338
|
+
export interface AwsSecurityCredentialsSupplier {
|
|
339
|
+
getAwsRegion: (context: ExternalAccountSupplierContext) => Promise<string>;
|
|
340
|
+
getAwsSecurityCredentials: (context: ExternalAccountSupplierContext) => Promise<AwsSecurityCredentials>;
|
|
341
|
+
}
|
|
100
342
|
export type AZURE_AI = unknown;
|
|
101
343
|
export type BAR = unknown;
|
|
102
344
|
export type BARCODE = unknown;
|
|
@@ -104,6 +346,24 @@ export type BASE = unknown;
|
|
|
104
346
|
export type BASE64 = unknown;
|
|
105
347
|
export type BASE64_DECODE = unknown;
|
|
106
348
|
export type BASE64_ENCODE = unknown;
|
|
349
|
+
export interface BaseExternalAccountClientOptions extends SharedExternalAccountClientOptions {
|
|
350
|
+
type?: string;
|
|
351
|
+
subject_token_type: string;
|
|
352
|
+
service_account_impersonation_url?: string;
|
|
353
|
+
service_account_impersonation?: {
|
|
354
|
+
/**
|
|
355
|
+
* The desired lifetime of the impersonated service account access token.
|
|
356
|
+
* If not provided, the default lifetime will be 3600 seconds.
|
|
357
|
+
*/
|
|
358
|
+
token_lifetime_seconds?: number;
|
|
359
|
+
};
|
|
360
|
+
token_info_url?: string;
|
|
361
|
+
client_id?: string;
|
|
362
|
+
client_secret?: string;
|
|
363
|
+
workforce_pool_user_project?: string;
|
|
364
|
+
scopes?: string[];
|
|
365
|
+
cloud_resource_manager_url?: string | URL;
|
|
366
|
+
}
|
|
107
367
|
export type BaseMeta = {
|
|
108
368
|
icon?: string;
|
|
109
369
|
coverImage?: string;
|
|
@@ -114,10 +374,24 @@ export type BaseMeta = {
|
|
|
114
374
|
isTemplate?: boolean;
|
|
115
375
|
templateId?: string;
|
|
116
376
|
};
|
|
377
|
+
export interface BaseNotificationConfig {
|
|
378
|
+
enabled: boolean;
|
|
379
|
+
priority?: number;
|
|
380
|
+
}
|
|
117
381
|
export declare enum BaseStatus {
|
|
118
382
|
ACTIVE = "active",
|
|
119
383
|
ARCHIVED = "archived"
|
|
120
384
|
}
|
|
385
|
+
export interface BatchOptions {
|
|
386
|
+
callOptions?: CallOptions;
|
|
387
|
+
maxMessages?: number;
|
|
388
|
+
maxMilliseconds?: number;
|
|
389
|
+
}
|
|
390
|
+
export interface BatchPublishOptions {
|
|
391
|
+
maxBytes?: number;
|
|
392
|
+
maxMessages?: number;
|
|
393
|
+
maxMilliseconds?: number;
|
|
394
|
+
}
|
|
121
395
|
export type BELONGS_TO = unknown;
|
|
122
396
|
export type BETWEEN = unknown;
|
|
123
397
|
export type BIDV_BANK = unknown;
|
|
@@ -132,6 +406,9 @@ export type BLOG_CREATE = unknown;
|
|
|
132
406
|
export type BLOG_DELETE = unknown;
|
|
133
407
|
export type BLOG_UPDATE = unknown;
|
|
134
408
|
export type Body = unknown;
|
|
409
|
+
export interface BodyResponseCallback {
|
|
410
|
+
(err: Error | ApiError | null, body?: ResponseBody, res?: r.Response): void;
|
|
411
|
+
}
|
|
135
412
|
export declare enum BodyType {
|
|
136
413
|
NONE = "none",
|
|
137
414
|
FORM_DATA = "form-data",
|
|
@@ -142,6 +419,18 @@ export declare enum BodyType {
|
|
|
142
419
|
export type BOOLEAN = unknown;
|
|
143
420
|
export type BREADCRUMB = unknown;
|
|
144
421
|
export type BUBBLE = unknown;
|
|
422
|
+
export type Bucket = ServiceObject & {
|
|
423
|
+
name: string;
|
|
424
|
+
storage: Storage;
|
|
425
|
+
userProject?: string;
|
|
426
|
+
acl: Acl;
|
|
427
|
+
iam: Iam;
|
|
428
|
+
crc32cGenerator: CRC32CValidatorGenerator;
|
|
429
|
+
signer?: URLSigner;
|
|
430
|
+
instanceRetryValue?: any;
|
|
431
|
+
instancePreconditionOpts?: PreconditionOptions;
|
|
432
|
+
unreachable: boolean;
|
|
433
|
+
};
|
|
145
434
|
export type BulkDataListDto = LimitOffsetQueryDto & {
|
|
146
435
|
viewId?: string;
|
|
147
436
|
fields?: JsonValue;
|
|
@@ -178,6 +467,17 @@ export interface CalendarWidgetConfigDto {
|
|
|
178
467
|
query: WidgetQuerySpecDto;
|
|
179
468
|
dateFieldId: string;
|
|
180
469
|
}
|
|
470
|
+
export interface CallCredentials {
|
|
471
|
+
}
|
|
472
|
+
export interface CallOptions {
|
|
473
|
+
deadline?: Deadline;
|
|
474
|
+
host?: string;
|
|
475
|
+
parent?: ServerUnaryCall<any, any> | ServerReadableStream<any, any> | ServerWritableStream<any, any> | ServerDuplexStream<any, any>;
|
|
476
|
+
propagate_flags?: number;
|
|
477
|
+
credentials?: CallCredentials;
|
|
478
|
+
interceptors?: Interceptor[];
|
|
479
|
+
interceptor_providers?: InterceptorProvider[];
|
|
480
|
+
}
|
|
181
481
|
export type CANCELLED = unknown;
|
|
182
482
|
export type CARD = unknown;
|
|
183
483
|
export type CASCADE = unknown;
|
|
@@ -197,6 +497,15 @@ export interface CategoricalChartRuntimeDto {
|
|
|
197
497
|
series: (ChartRuntimeSeriesDto)[];
|
|
198
498
|
}
|
|
199
499
|
export type CENTER = unknown;
|
|
500
|
+
export type Channel = ServiceObject;
|
|
501
|
+
export interface ChannelCredentials {
|
|
502
|
+
}
|
|
503
|
+
export interface ChannelIntegrationMetadata extends IntegrationMetadataBase {
|
|
504
|
+
provider: ChannelProvider;
|
|
505
|
+
supportsWebhook?: boolean;
|
|
506
|
+
notes?: string;
|
|
507
|
+
}
|
|
508
|
+
export type ChannelProvider = ProviderEnum.FACEBOOK_PAGE | ProviderEnum.FACEBOOK_PERSONAL | ProviderEnum.FACEBOOK_ADS | ProviderEnum.FACEBOOK_BUSINESS | ProviderEnum.WEBSITE | ProviderEnum.ZALO_OA | ProviderEnum.ZALO_PERSONAL | ProviderEnum.ZALO_BOT | ProviderEnum.TELEGRAM_BOT | ProviderEnum.TELEGRAM;
|
|
200
509
|
export type CHAR = unknown;
|
|
201
510
|
export type CHART = unknown;
|
|
202
511
|
export type ChartAxisSpec = {
|
|
@@ -306,6 +615,27 @@ export type CHAT = unknown;
|
|
|
306
615
|
export type CHECKBOX_GROUP = unknown;
|
|
307
616
|
export type CHECKED = unknown;
|
|
308
617
|
export type CIDR = unknown;
|
|
618
|
+
export interface Client {
|
|
619
|
+
checkOptionalUnaryResponseArguments: any;
|
|
620
|
+
checkMetadataAndOptions: any;
|
|
621
|
+
}
|
|
622
|
+
export interface ClientConfig extends gax.GrpcClientOptions {
|
|
623
|
+
apiEndpoint?: string;
|
|
624
|
+
emulatorMode?: boolean;
|
|
625
|
+
servicePath?: string;
|
|
626
|
+
port?: string | number;
|
|
627
|
+
sslCreds?: gax.grpc.ChannelCredentials;
|
|
628
|
+
enableOpenTelemetryTracing?: boolean;
|
|
629
|
+
}
|
|
630
|
+
export interface ClientMethodDefinition<RequestType, ResponseType> {
|
|
631
|
+
path: string;
|
|
632
|
+
requestStream: boolean;
|
|
633
|
+
responseStream: boolean;
|
|
634
|
+
requestSerialize: Serialize<RequestType>;
|
|
635
|
+
responseDeserialize: Deserialize<ResponseType>;
|
|
636
|
+
originalName?: string;
|
|
637
|
+
}
|
|
638
|
+
export type ClientStub = grpc.Client;
|
|
309
639
|
export type CLOUD_AWS_S3 = unknown;
|
|
310
640
|
export type CLOUD_AZURE_BLOB = unknown;
|
|
311
641
|
export type CLOUD_BACKBLAZE_B2 = unknown;
|
|
@@ -313,6 +643,28 @@ export type CLOUD_CLOUDFLARE_R2 = unknown;
|
|
|
313
643
|
export type CLOUD_GOOGLE_CLOUD_STORAGE = unknown;
|
|
314
644
|
export type CLOUD_MINIO = unknown;
|
|
315
645
|
export type CLOUD_WASABI = unknown;
|
|
646
|
+
export interface CloudStorageIntegrationMetadata {
|
|
647
|
+
provider: CloudStorageProvider | ProviderEnum;
|
|
648
|
+
displayName?: string;
|
|
649
|
+
description?: string;
|
|
650
|
+
icon?: string;
|
|
651
|
+
tags?: string[];
|
|
652
|
+
websiteUrl?: string;
|
|
653
|
+
docsUrl?: string;
|
|
654
|
+
supportsSignedUrl?: boolean;
|
|
655
|
+
supportsVersioning?: boolean;
|
|
656
|
+
supportsCustomDomain?: boolean;
|
|
657
|
+
notes?: string;
|
|
658
|
+
}
|
|
659
|
+
export declare enum CloudStorageProvider {
|
|
660
|
+
AWS_S3 = "AWS_S3",
|
|
661
|
+
GOOGLE_CLOUD_STORAGE = "GOOGLE_CLOUD_STORAGE",
|
|
662
|
+
AZURE_BLOB = "AZURE_BLOB",
|
|
663
|
+
MINIO = "MINIO",
|
|
664
|
+
CLOUDFLARE_R2 = "CLOUDFLARE_R2",
|
|
665
|
+
BACKBLAZE_B2 = "BACKBLAZE_B2",
|
|
666
|
+
WASABI = "WASABI"
|
|
667
|
+
}
|
|
316
668
|
export type COLLABORATIVE = unknown;
|
|
317
669
|
export interface ColumnResponseDto {
|
|
318
670
|
id: string;
|
|
@@ -386,10 +738,47 @@ export interface ConfigResponseExtractionField {
|
|
|
386
738
|
}
|
|
387
739
|
export type CONNECT = unknown;
|
|
388
740
|
export type CONTAINER = unknown;
|
|
741
|
+
export type ConvertConfig = Record<string, ConvertFieldMapping>;
|
|
742
|
+
export interface ConvertFieldMapping {
|
|
743
|
+
namespace: SegmentFieldNamespace;
|
|
744
|
+
displayName: string | MultiLanguageText;
|
|
745
|
+
description: string | MultiLanguageText;
|
|
746
|
+
fieldKey: string;
|
|
747
|
+
isRequired: boolean;
|
|
748
|
+
defaultValue?: any;
|
|
749
|
+
validation?: {
|
|
750
|
+
min?: number;
|
|
751
|
+
max?: number;
|
|
752
|
+
pattern?: string;
|
|
753
|
+
options?: string[];
|
|
754
|
+
};
|
|
755
|
+
}
|
|
756
|
+
export interface CoreOptions {
|
|
757
|
+
method?: string;
|
|
758
|
+
timeout?: number;
|
|
759
|
+
gzip?: boolean;
|
|
760
|
+
json?: any;
|
|
761
|
+
headers?: Headers;
|
|
762
|
+
body?: string | {};
|
|
763
|
+
useQuerystring?: boolean;
|
|
764
|
+
qs?: any;
|
|
765
|
+
proxy?: string;
|
|
766
|
+
multipart?: RequestPart[];
|
|
767
|
+
forever?: boolean;
|
|
768
|
+
pool?: HttpsAgentOptions | HttpAgentOptions;
|
|
769
|
+
}
|
|
389
770
|
export type COUNT = unknown;
|
|
390
771
|
export type COUNT_ASC = unknown;
|
|
391
772
|
export type COUNT_DESC = unknown;
|
|
392
773
|
export type COUNT_DISTINCT = unknown;
|
|
774
|
+
export interface CRC32CValidator {
|
|
775
|
+
toString: () => string;
|
|
776
|
+
validate: (value: string) => boolean;
|
|
777
|
+
update: (data: Buffer) => void;
|
|
778
|
+
}
|
|
779
|
+
export interface CRC32CValidatorGenerator {
|
|
780
|
+
(): CRC32CValidator;
|
|
781
|
+
}
|
|
393
782
|
export type CREATE = unknown;
|
|
394
783
|
export interface CreateColumnDto {
|
|
395
784
|
name: string;
|
|
@@ -441,6 +830,19 @@ export type CreateTableFieldDto = CreateColumnDto & {
|
|
|
441
830
|
lookupConfig?: LookupConfigDto;
|
|
442
831
|
rollupConfig?: RollupConfigDto;
|
|
443
832
|
};
|
|
833
|
+
export interface CredentialBody {
|
|
834
|
+
client_email?: string;
|
|
835
|
+
private_key?: string;
|
|
836
|
+
universe_domain?: string;
|
|
837
|
+
}
|
|
838
|
+
export interface Credentials {
|
|
839
|
+
refresh_token?: string | null;
|
|
840
|
+
expiry_date?: number | null;
|
|
841
|
+
access_token?: string | null;
|
|
842
|
+
token_type?: string | null;
|
|
843
|
+
id_token?: string | null;
|
|
844
|
+
scope?: string;
|
|
845
|
+
}
|
|
444
846
|
export declare enum CronFrequencyType {
|
|
445
847
|
HOURLY = "HOURLY",
|
|
446
848
|
DAILY = "DAILY",
|
|
@@ -464,6 +866,7 @@ export interface CronScheduleConfig {
|
|
|
464
866
|
export type CSV = unknown;
|
|
465
867
|
export type CURRENCY = unknown;
|
|
466
868
|
export type CUSTOM = unknown;
|
|
869
|
+
export type CUSTOMER_PLATFORM = unknown;
|
|
467
870
|
export interface CustomScheduleConfig {
|
|
468
871
|
cronExpression: string;
|
|
469
872
|
description?: string;
|
|
@@ -529,6 +932,15 @@ export type DATABASE_ORACLE = unknown;
|
|
|
529
932
|
export type DATABASE_POSTGRESQL = unknown;
|
|
530
933
|
export type DATABASE_REDIS = unknown;
|
|
531
934
|
export type DATABASE_SQLITE = unknown;
|
|
935
|
+
export interface DatabaseIntegrationMetadata extends IntegrationMetadataBase {
|
|
936
|
+
provider: DatabaseProvider;
|
|
937
|
+
version?: string;
|
|
938
|
+
defaultPort?: number;
|
|
939
|
+
supportsSsl?: boolean;
|
|
940
|
+
supportsReplication?: boolean;
|
|
941
|
+
notes?: string;
|
|
942
|
+
}
|
|
943
|
+
export type DatabaseProvider = ProviderEnum.DATABASE_POSTGRESQL | ProviderEnum.DATABASE_MYSQL | ProviderEnum.DATABASE_MSSQL | ProviderEnum.DATABASE_MONGODB | ProviderEnum.DATABASE_REDIS | ProviderEnum.DATABASE_SQLITE | ProviderEnum.DATABASE_ORACLE | ProviderEnum.DATABASE_MARIADB;
|
|
532
944
|
export type DATE = unknown;
|
|
533
945
|
export type DATE_PICKER = unknown;
|
|
534
946
|
export type DATETIME = unknown;
|
|
@@ -544,8 +956,23 @@ export declare enum DayOfWeek {
|
|
|
544
956
|
}
|
|
545
957
|
export type DAYS_AGO = unknown;
|
|
546
958
|
export type DAYS_FROM_NOW = unknown;
|
|
959
|
+
export type Deadline = Date | number;
|
|
960
|
+
export interface DebugMessage {
|
|
961
|
+
message: string;
|
|
962
|
+
error?: Error | undefined;
|
|
963
|
+
}
|
|
547
964
|
export type Decimal = unknown;
|
|
548
965
|
export type DECIMAL = unknown;
|
|
966
|
+
export interface DecorateRequestOptions extends r.CoreOptions {
|
|
967
|
+
autoPaginate?: boolean;
|
|
968
|
+
autoPaginateVal?: boolean;
|
|
969
|
+
objectMode?: boolean;
|
|
970
|
+
maxRetries?: number;
|
|
971
|
+
uri: string;
|
|
972
|
+
interceptors_?: Interceptor[];
|
|
973
|
+
shouldReturnStream?: boolean;
|
|
974
|
+
projectId?: string;
|
|
975
|
+
}
|
|
549
976
|
export type DEEPSEEK = unknown;
|
|
550
977
|
export type Default = unknown;
|
|
551
978
|
export type DEFAULT = unknown;
|
|
@@ -553,6 +980,9 @@ export type DEGRADED = unknown;
|
|
|
553
980
|
export type DELETE = unknown;
|
|
554
981
|
export type DELETED = unknown;
|
|
555
982
|
export type DESC = unknown;
|
|
983
|
+
export interface Deserialize<T> {
|
|
984
|
+
(bytes: Buffer): T;
|
|
985
|
+
}
|
|
556
986
|
export type DISABLED = unknown;
|
|
557
987
|
export type DISCONNECT = unknown;
|
|
558
988
|
export type DIVIDER = unknown;
|
|
@@ -560,15 +990,77 @@ export type DOCUMENT = unknown;
|
|
|
560
990
|
export type DONUT = unknown;
|
|
561
991
|
export type DOUBLE = unknown;
|
|
562
992
|
export type DRAFT = unknown;
|
|
993
|
+
export interface Duplexify extends Duplex {
|
|
994
|
+
readonly destroyed: boolean;
|
|
995
|
+
setWritable(writable: Writable | false | null): void;
|
|
996
|
+
setReadable(readable: Readable | false | null): void;
|
|
997
|
+
}
|
|
563
998
|
export type DUPLICATE = unknown;
|
|
999
|
+
export interface Duration {
|
|
1000
|
+
millis: any;
|
|
1001
|
+
secondInMillis: any;
|
|
1002
|
+
minuteInMillis: any;
|
|
1003
|
+
hourInMillis: any;
|
|
1004
|
+
}
|
|
564
1005
|
export type DURATION = unknown;
|
|
565
1006
|
export type DYNAMIC_TABLE = unknown;
|
|
566
1007
|
export type EAV = unknown;
|
|
1008
|
+
export declare enum ELanguage {
|
|
1009
|
+
VIETNAMESE = "vn",
|
|
1010
|
+
ENGLISH = "en",
|
|
1011
|
+
CHINESE = "zh"
|
|
1012
|
+
}
|
|
567
1013
|
export type EMAIL = unknown;
|
|
568
1014
|
export type EMAIL_GMAIL = unknown;
|
|
569
1015
|
export type EMAIL_OUTLOOK = unknown;
|
|
570
1016
|
export type EMAIL_SMTP = unknown;
|
|
571
1017
|
export type EMAIL_TWILIO_SENDGRID = unknown;
|
|
1018
|
+
export interface EmailGmailNotificationConfig extends BaseNotificationConfig {
|
|
1019
|
+
recipientEmail: string;
|
|
1020
|
+
defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
|
|
1021
|
+
cc?: string[];
|
|
1022
|
+
bcc?: string[];
|
|
1023
|
+
}
|
|
1024
|
+
export interface EmailIntegrationMetadata extends IntegrationMetadataBase {
|
|
1025
|
+
provider: EmailProvider;
|
|
1026
|
+
supportsOAuth?: boolean;
|
|
1027
|
+
notes?: string;
|
|
1028
|
+
}
|
|
1029
|
+
export type EmailProvider = ProviderEnum.EMAIL_SMTP | ProviderEnum.EMAIL_TWILIO_SENDGRID | ProviderEnum.EMAIL_GMAIL | ProviderEnum.EMAIL_OUTLOOK;
|
|
1030
|
+
export interface EmailSMTPNotificationConfig extends BaseNotificationConfig {
|
|
1031
|
+
recipientEmail: string;
|
|
1032
|
+
defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
|
|
1033
|
+
}
|
|
1034
|
+
export interface EmitterAugmentation1<Name extends string | symbol, Arg> {
|
|
1035
|
+
addListener(event: Name, listener: (arg1: Arg) => void): this;
|
|
1036
|
+
emit(event: Name, arg1: Arg): boolean;
|
|
1037
|
+
on(event: Name, listener: (arg1: Arg) => void): this;
|
|
1038
|
+
once(event: Name, listener: (arg1: Arg) => void): this;
|
|
1039
|
+
prependListener(event: Name, listener: (arg1: Arg) => void): this;
|
|
1040
|
+
prependOnceListener(event: Name, listener: (arg1: Arg) => void): this;
|
|
1041
|
+
removeListener(event: Name, listener: (arg1: Arg) => void): this;
|
|
1042
|
+
}
|
|
1043
|
+
export interface Employee {
|
|
1044
|
+
id: number;
|
|
1045
|
+
fullName: string;
|
|
1046
|
+
email: string;
|
|
1047
|
+
employeeUuid: string;
|
|
1048
|
+
phoneNumber: string;
|
|
1049
|
+
password: string;
|
|
1050
|
+
address: string;
|
|
1051
|
+
createdAt: number;
|
|
1052
|
+
updatedAt: number;
|
|
1053
|
+
enable: boolean;
|
|
1054
|
+
avatar?: string;
|
|
1055
|
+
coverImage?: string;
|
|
1056
|
+
roles: EmployeeRole[];
|
|
1057
|
+
}
|
|
1058
|
+
export interface EmployeeRole {
|
|
1059
|
+
id: number;
|
|
1060
|
+
name: string;
|
|
1061
|
+
description: string;
|
|
1062
|
+
permissions: Permission[];
|
|
1063
|
+
}
|
|
572
1064
|
export type EMPTY = unknown;
|
|
573
1065
|
export type END = unknown;
|
|
574
1066
|
export type ENUM = unknown;
|
|
@@ -578,11 +1070,52 @@ export interface ErrorMapping {
|
|
|
578
1070
|
messageJsonPath?: string;
|
|
579
1071
|
codeJsonPath?: string;
|
|
580
1072
|
}
|
|
1073
|
+
export declare enum EventNotificationStatus {
|
|
1074
|
+
ON_SUCCESS = "ON_SUCCESS",
|
|
1075
|
+
ON_FAILURE = "ON_FAILURE",
|
|
1076
|
+
ON_SCHEDULED = "ON_SCHEDULED",
|
|
1077
|
+
ON_CANCELLED = "ON_CANCELLED",
|
|
1078
|
+
ON_RETRY = "ON_RETRY"
|
|
1079
|
+
}
|
|
581
1080
|
export type EXACT_DATE = unknown;
|
|
582
1081
|
export type Example = unknown;
|
|
1082
|
+
export type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;
|
|
1083
|
+
export interface ExceptionWithCode {
|
|
1084
|
+
code: string | number;
|
|
1085
|
+
name?: string;
|
|
1086
|
+
message?: string;
|
|
1087
|
+
stack?: string;
|
|
1088
|
+
}
|
|
1089
|
+
export interface ExceptionWithMessage {
|
|
1090
|
+
code?: string | number;
|
|
1091
|
+
message: string;
|
|
1092
|
+
name?: string;
|
|
1093
|
+
stack?: string;
|
|
1094
|
+
}
|
|
1095
|
+
export interface ExceptionWithName {
|
|
1096
|
+
code?: string | number;
|
|
1097
|
+
message?: string;
|
|
1098
|
+
name: string;
|
|
1099
|
+
stack?: string;
|
|
1100
|
+
}
|
|
583
1101
|
export type EXECUTE = unknown;
|
|
1102
|
+
export interface ExponentialRetry<T> {
|
|
1103
|
+
_items: any;
|
|
1104
|
+
_backoffMs: any;
|
|
1105
|
+
_maxBackoffMs: any;
|
|
1106
|
+
_timer?: any;
|
|
1107
|
+
randomizeDelta: any;
|
|
1108
|
+
doRetries: any;
|
|
1109
|
+
scheduleRetry: any;
|
|
1110
|
+
}
|
|
584
1111
|
export type EXPORT = unknown;
|
|
585
1112
|
export type EXTERNAL_TEMPLATE = unknown;
|
|
1113
|
+
export type ExternalAccountClientOptions = IdentityPoolClientOptions | AwsClientOptions | PluggableAuthClientOptions;
|
|
1114
|
+
export interface ExternalAccountSupplierContext {
|
|
1115
|
+
audience: string;
|
|
1116
|
+
subjectTokenType: string;
|
|
1117
|
+
transporter: Gaxios;
|
|
1118
|
+
}
|
|
586
1119
|
export declare enum ExternalDataType {
|
|
587
1120
|
VARCHAR = "VARCHAR",
|
|
588
1121
|
CHAR = "CHAR",
|
|
@@ -653,9 +1186,39 @@ export type FACEBOOK_ADS = unknown;
|
|
|
653
1186
|
export type FACEBOOK_BUSINESS = unknown;
|
|
654
1187
|
export type FACEBOOK_PAGE = unknown;
|
|
655
1188
|
export type FACEBOOK_PERSONAL = unknown;
|
|
1189
|
+
export interface FacebookNotificationConfig extends BaseNotificationConfig {
|
|
1190
|
+
recipientId: string;
|
|
1191
|
+
pageAccessToken: string;
|
|
1192
|
+
messageType?: 'text' | 'template';
|
|
1193
|
+
defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
|
|
1194
|
+
}
|
|
656
1195
|
export type FAILED = unknown;
|
|
657
1196
|
export type FAQ = unknown;
|
|
658
1197
|
export type FEMALE = unknown;
|
|
1198
|
+
export interface FetchHeaders {
|
|
1199
|
+
append(name: string, value: string): void;
|
|
1200
|
+
delete(name: string): void;
|
|
1201
|
+
get(name: string): string | null;
|
|
1202
|
+
has(name: string): boolean;
|
|
1203
|
+
set(name: string, value: string): void;
|
|
1204
|
+
forEach(callbackfn: (value: string, key: string) => void, thisArg?: any): void;
|
|
1205
|
+
}
|
|
1206
|
+
export type FetchImplementation = (input: FetchRequestInfo, init?: FetchRequestInit) => Promise<FetchResponse>;
|
|
1207
|
+
export type FetchRequestInfo = any;
|
|
1208
|
+
export interface FetchRequestInit {
|
|
1209
|
+
method?: string;
|
|
1210
|
+
}
|
|
1211
|
+
export interface FetchResponse {
|
|
1212
|
+
readonly status: number;
|
|
1213
|
+
readonly statusText: string;
|
|
1214
|
+
readonly url: string;
|
|
1215
|
+
readonly body: unknown | null;
|
|
1216
|
+
arrayBuffer(): Promise<unknown>;
|
|
1217
|
+
blob(): Promise<unknown>;
|
|
1218
|
+
readonly headers: FetchHeaders;
|
|
1219
|
+
json(): Promise<any>;
|
|
1220
|
+
text(): Promise<string>;
|
|
1221
|
+
}
|
|
659
1222
|
export type FIELD = unknown;
|
|
660
1223
|
export interface FieldConfig {
|
|
661
1224
|
defaultValue?: unknown;
|
|
@@ -796,6 +1359,27 @@ export declare enum FieldType {
|
|
|
796
1359
|
USER = "user",
|
|
797
1360
|
AI = "ai"
|
|
798
1361
|
}
|
|
1362
|
+
export type File = ServiceObject & {
|
|
1363
|
+
acl: Acl;
|
|
1364
|
+
crc32cGenerator: CRC32CValidatorGenerator;
|
|
1365
|
+
bucket: Bucket;
|
|
1366
|
+
storage: Storage;
|
|
1367
|
+
kmsKeyName?: string;
|
|
1368
|
+
userProject?: string;
|
|
1369
|
+
signer?: URLSigner;
|
|
1370
|
+
name: string;
|
|
1371
|
+
generation?: number;
|
|
1372
|
+
restoreToken?: string;
|
|
1373
|
+
parent: Bucket;
|
|
1374
|
+
encryptionKey?: any;
|
|
1375
|
+
encryptionKeyBase64?: any;
|
|
1376
|
+
encryptionKeyHash?: any;
|
|
1377
|
+
encryptionKeyInterceptor?: any;
|
|
1378
|
+
instanceRetryValue?: any;
|
|
1379
|
+
instancePreconditionOpts?: PreconditionOptions;
|
|
1380
|
+
shouldRetryBasedOnPreconditionAndIdempotencyStrat: any;
|
|
1381
|
+
getBufferFromReadable: any;
|
|
1382
|
+
};
|
|
799
1383
|
export type FILE_SYSTEM = unknown;
|
|
800
1384
|
export interface FileDescriptor {
|
|
801
1385
|
source: FileSourceType;
|
|
@@ -803,6 +1387,11 @@ export interface FileDescriptor {
|
|
|
803
1387
|
fileName?: string;
|
|
804
1388
|
contentType?: string;
|
|
805
1389
|
}
|
|
1390
|
+
export interface FileFieldConfig {
|
|
1391
|
+
type: FileSourceType;
|
|
1392
|
+
contentType?: string;
|
|
1393
|
+
fileName?: string;
|
|
1394
|
+
}
|
|
806
1395
|
export declare enum FileSourceType {
|
|
807
1396
|
S3_KEY = "S3_KEY",
|
|
808
1397
|
URL = "URL",
|
|
@@ -907,6 +1496,18 @@ export interface FilterResponseDto {
|
|
|
907
1496
|
children?: FilterResponseDto;
|
|
908
1497
|
}
|
|
909
1498
|
export type FLOAT = unknown;
|
|
1499
|
+
export interface FlowControl {
|
|
1500
|
+
options: FlowControlOptions;
|
|
1501
|
+
bytes: any;
|
|
1502
|
+
messages: any;
|
|
1503
|
+
requests: any;
|
|
1504
|
+
exceeded: any;
|
|
1505
|
+
}
|
|
1506
|
+
export interface FlowControlOptions {
|
|
1507
|
+
allowExcessMessages?: boolean;
|
|
1508
|
+
maxBytes?: number;
|
|
1509
|
+
maxMessages?: number;
|
|
1510
|
+
}
|
|
910
1511
|
export declare enum FlowNodeType {
|
|
911
1512
|
START = "start",
|
|
912
1513
|
STEP = "step",
|
|
@@ -948,6 +1549,78 @@ export type GalleryViewMeta = ViewMeta & {
|
|
|
948
1549
|
showEmptyCover?: boolean;
|
|
949
1550
|
};
|
|
950
1551
|
export type GAUGE = unknown;
|
|
1552
|
+
export interface Gaxios {
|
|
1553
|
+
agentCache: Map<string | URL, Agent | ((parsedUrl: URL) => Agent)>;
|
|
1554
|
+
defaults: GaxiosOptions;
|
|
1555
|
+
interceptors: {
|
|
1556
|
+
request: GaxiosInterceptorManager<GaxiosOptions>;
|
|
1557
|
+
response: GaxiosInterceptorManager<GaxiosResponse>;
|
|
1558
|
+
};
|
|
1559
|
+
_defaultAdapter: any;
|
|
1560
|
+
getResponseData: any;
|
|
1561
|
+
validateStatus: any;
|
|
1562
|
+
paramsSerializer: any;
|
|
1563
|
+
translateResponse: any;
|
|
1564
|
+
getResponseDataFromContentType: any;
|
|
1565
|
+
getMultipartRequest: any;
|
|
1566
|
+
}
|
|
1567
|
+
export type GaxiosError<T = any> = Error & {
|
|
1568
|
+
config: GaxiosOptions;
|
|
1569
|
+
response?: GaxiosResponse<T> | undefined;
|
|
1570
|
+
error?: (Error | NodeJS.ErrnoException) | undefined;
|
|
1571
|
+
code?: string;
|
|
1572
|
+
status?: number;
|
|
1573
|
+
};
|
|
1574
|
+
export type GaxiosInterceptorManager<T extends GaxiosOptions | GaxiosResponse> = Set<any>;
|
|
1575
|
+
export interface GaxiosMultipartOptions {
|
|
1576
|
+
headers: Headers;
|
|
1577
|
+
content: string | Readable;
|
|
1578
|
+
}
|
|
1579
|
+
export interface GaxiosOptions {
|
|
1580
|
+
adapter?: <T = any>(options: GaxiosOptions, defaultAdapter: (options: GaxiosOptions) => GaxiosPromise<T>) => GaxiosPromise<T>;
|
|
1581
|
+
url?: string | URL;
|
|
1582
|
+
baseUrl?: string;
|
|
1583
|
+
baseURL?: string | URL;
|
|
1584
|
+
method?: 'GET' | 'HEAD' | 'POST' | 'DELETE' | 'PUT' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH';
|
|
1585
|
+
headers?: Headers;
|
|
1586
|
+
data?: any;
|
|
1587
|
+
body?: any;
|
|
1588
|
+
maxContentLength?: number;
|
|
1589
|
+
maxRedirects?: number;
|
|
1590
|
+
follow?: number;
|
|
1591
|
+
multipart?: GaxiosMultipartOptions[];
|
|
1592
|
+
params?: any;
|
|
1593
|
+
paramsSerializer?: (params: {
|
|
1594
|
+
[index: string]: string | number;
|
|
1595
|
+
}) => string;
|
|
1596
|
+
timeout?: number;
|
|
1597
|
+
onUploadProgress?: (progressEvent: any) => void;
|
|
1598
|
+
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text' | 'stream' | 'unknown';
|
|
1599
|
+
agent?: Agent | ((parsedUrl: URL) => Agent);
|
|
1600
|
+
validateStatus?: (status: number) => boolean;
|
|
1601
|
+
retryConfig?: RetryConfig;
|
|
1602
|
+
retry?: boolean;
|
|
1603
|
+
signal?: any;
|
|
1604
|
+
size?: number;
|
|
1605
|
+
fetchImplementation?: FetchImplementation;
|
|
1606
|
+
cert?: string;
|
|
1607
|
+
key?: string;
|
|
1608
|
+
proxy?: string | URL;
|
|
1609
|
+
noProxy?: (string | URL | RegExp)[];
|
|
1610
|
+
errorRedactor?: typeof defaultErrorRedactor | false;
|
|
1611
|
+
}
|
|
1612
|
+
export type GaxiosPromise<T = any> = Promise<GaxiosResponse<T>>;
|
|
1613
|
+
export interface GaxiosResponse<T = any> {
|
|
1614
|
+
config: GaxiosOptions;
|
|
1615
|
+
data: T;
|
|
1616
|
+
status: number;
|
|
1617
|
+
statusText: string;
|
|
1618
|
+
headers: Headers;
|
|
1619
|
+
request: GaxiosXMLHttpRequest;
|
|
1620
|
+
}
|
|
1621
|
+
export interface GaxiosXMLHttpRequest {
|
|
1622
|
+
responseURL: string;
|
|
1623
|
+
}
|
|
951
1624
|
export declare enum GenderEnum {
|
|
952
1625
|
MALE = "MALE",
|
|
953
1626
|
FEMALE = "FEMALE",
|
|
@@ -979,6 +1652,57 @@ export type GOOGLE_SHEETS = unknown;
|
|
|
979
1652
|
export type GOOGLE_SLIDES = unknown;
|
|
980
1653
|
export type GOOGLE_TASKS = unknown;
|
|
981
1654
|
export type GOOGLE_WORKSPACE_ADMIN = unknown;
|
|
1655
|
+
export interface GoogleAuth<T extends AuthClient = AuthClient> {
|
|
1656
|
+
checkIsGCE?: any;
|
|
1657
|
+
useJWTAccessWithScope?: boolean;
|
|
1658
|
+
defaultServicePath?: string;
|
|
1659
|
+
_findProjectIdPromise?: any;
|
|
1660
|
+
_cachedProjectId?: any;
|
|
1661
|
+
jsonContent: JWTInput | ExternalAccountClientOptions | null;
|
|
1662
|
+
apiKey: string | null;
|
|
1663
|
+
cachedCredential: AnyAuthClient | T | null;
|
|
1664
|
+
defaultScopes?: string | string[];
|
|
1665
|
+
keyFilename?: any;
|
|
1666
|
+
scopes?: any;
|
|
1667
|
+
clientOptions: any;
|
|
1668
|
+
getProjectIdOptional: any;
|
|
1669
|
+
findAndCacheProjectId: any;
|
|
1670
|
+
getProjectIdAsync: any;
|
|
1671
|
+
getAnyScopes: any;
|
|
1672
|
+
getApplicationDefaultAsync: any;
|
|
1673
|
+
_cacheClientFromJSON: any;
|
|
1674
|
+
fromStreamAsync: any;
|
|
1675
|
+
_isWindows: any;
|
|
1676
|
+
getDefaultServiceProjectId: any;
|
|
1677
|
+
getProductionProjectId: any;
|
|
1678
|
+
getFileProjectId: any;
|
|
1679
|
+
getExternalAccountClientProjectId: any;
|
|
1680
|
+
getGCEProjectId: any;
|
|
1681
|
+
getCredentialsAsync: any;
|
|
1682
|
+
signBlob: any;
|
|
1683
|
+
}
|
|
1684
|
+
export interface GoogleAuthOptions<T extends AuthClient = AnyAuthClient> {
|
|
1685
|
+
apiKey?: string;
|
|
1686
|
+
authClient?: T;
|
|
1687
|
+
keyFilename?: string;
|
|
1688
|
+
keyFile?: string;
|
|
1689
|
+
credentials?: JWTInput | ExternalAccountClientOptions;
|
|
1690
|
+
clientOptions?: Extract<ConstructorParameters<AnyAuthClientConstructor>[0], AuthClientOptions>;
|
|
1691
|
+
scopes?: string | string[];
|
|
1692
|
+
projectId?: string;
|
|
1693
|
+
universeDomain?: string;
|
|
1694
|
+
}
|
|
1695
|
+
export interface GoogleInnerError {
|
|
1696
|
+
reason?: string;
|
|
1697
|
+
message?: string;
|
|
1698
|
+
}
|
|
1699
|
+
export interface GoogleIntegrationMetadata extends IntegrationMetadataBase {
|
|
1700
|
+
provider: GoogleProvider;
|
|
1701
|
+
supportsOAuth?: boolean;
|
|
1702
|
+
serviceType?: GoogleServiceType;
|
|
1703
|
+
notes?: string;
|
|
1704
|
+
}
|
|
1705
|
+
export type GoogleProvider = ProviderEnum.GOOGLE_CALENDAR | ProviderEnum.GOOGLE_SHEETS | ProviderEnum.GOOGLE_DOCS | ProviderEnum.GOOGLE_DRIVE | ProviderEnum.GOOGLE_ADS | ProviderEnum.GOOGLE_CLOUD_PROJECT;
|
|
982
1706
|
export declare enum GoogleServiceType {
|
|
983
1707
|
GOOGLE_DOCS = "GOOGLE_DOCS",
|
|
984
1708
|
GOOGLE_SHEETS = "GOOGLE_SHEETS",
|
|
@@ -1043,11 +1767,24 @@ export interface GroupFieldDto {
|
|
|
1043
1767
|
fieldId: string;
|
|
1044
1768
|
direction?: 'asc' | 'desc';
|
|
1045
1769
|
}
|
|
1770
|
+
export interface GrpcClientOptions extends GoogleAuthOptions {
|
|
1771
|
+
auth?: GoogleAuth;
|
|
1772
|
+
grpc?: GrpcModule;
|
|
1773
|
+
minifyJson?: boolean;
|
|
1774
|
+
protoJson?: protobuf.Root;
|
|
1775
|
+
httpRules?: Array<google.api.IHttpRule>;
|
|
1776
|
+
numericEnums?: boolean;
|
|
1777
|
+
universeDomain?: string;
|
|
1778
|
+
}
|
|
1779
|
+
export type GrpcModule = typeof grpc;
|
|
1046
1780
|
export type GT = unknown;
|
|
1047
1781
|
export type GTE = unknown;
|
|
1048
1782
|
export type HAS_MANY = unknown;
|
|
1049
1783
|
export type HDB_BANK = unknown;
|
|
1050
1784
|
export type HEAD = unknown;
|
|
1785
|
+
export interface Headers {
|
|
1786
|
+
[index: string]: any;
|
|
1787
|
+
}
|
|
1051
1788
|
export type HEALTHY = unknown;
|
|
1052
1789
|
export type HEATMAP = unknown;
|
|
1053
1790
|
export interface HeatmapCellDto {
|
|
@@ -1061,15 +1798,27 @@ export interface HeatmapChartRuntimeDto {
|
|
|
1061
1798
|
family: 'heatmap';
|
|
1062
1799
|
cells: (HeatmapCellDto)[];
|
|
1063
1800
|
}
|
|
1801
|
+
export type HmacKey = ServiceObject & {
|
|
1802
|
+
storage: Storage;
|
|
1803
|
+
instanceRetryValue?: any;
|
|
1804
|
+
};
|
|
1064
1805
|
export type HOOK = unknown;
|
|
1065
1806
|
export type HOURLY = unknown;
|
|
1066
1807
|
export interface HourlyScheduleConfig {
|
|
1067
1808
|
everyHours: number;
|
|
1068
1809
|
atMinute?: number;
|
|
1069
1810
|
}
|
|
1811
|
+
export type HrTime = [number, number];
|
|
1070
1812
|
export type HSTORE = unknown;
|
|
1071
1813
|
export type HTTP = unknown;
|
|
1072
1814
|
export type HttpMethod = 'GET' | 'PATCH' | 'PUT';
|
|
1815
|
+
export declare enum HttpMethodEnum {
|
|
1816
|
+
GET = "GET",
|
|
1817
|
+
POST = "POST",
|
|
1818
|
+
PUT = "PUT",
|
|
1819
|
+
DELETE = "DELETE",
|
|
1820
|
+
PATCH = "PATCH"
|
|
1821
|
+
}
|
|
1073
1822
|
export interface HttpUsageConfig {
|
|
1074
1823
|
headers?: Record<string, string>;
|
|
1075
1824
|
params?: Record<string, string>;
|
|
@@ -1084,7 +1833,86 @@ export interface HttpUsageConfig {
|
|
|
1084
1833
|
transforms?: Record<string, TransformDefinition>;
|
|
1085
1834
|
}
|
|
1086
1835
|
export type HYBRID = unknown;
|
|
1836
|
+
export interface Iam {
|
|
1837
|
+
request_: any;
|
|
1838
|
+
resourceId_: any;
|
|
1839
|
+
}
|
|
1840
|
+
export interface IAM {
|
|
1841
|
+
pubsub: PubSub;
|
|
1842
|
+
request: typeof PubSub.prototype.request;
|
|
1843
|
+
nameable_: any;
|
|
1844
|
+
}
|
|
1087
1845
|
export type ID = unknown;
|
|
1846
|
+
export interface IdentityPoolClientOptions extends BaseExternalAccountClientOptions {
|
|
1847
|
+
credential_source?: {
|
|
1848
|
+
/**
|
|
1849
|
+
* The file location to read the subject token from. Either this, a URL
|
|
1850
|
+
* or a certificate location should be specified.
|
|
1851
|
+
*/
|
|
1852
|
+
file?: string;
|
|
1853
|
+
/**
|
|
1854
|
+
* The URL to call to retrieve the subject token. Either this, a file
|
|
1855
|
+
* location or a certificate location should be specified.
|
|
1856
|
+
*/
|
|
1857
|
+
url?: string;
|
|
1858
|
+
/**
|
|
1859
|
+
* Optional headers to send on the request to the specified URL.
|
|
1860
|
+
*/
|
|
1861
|
+
headers?: {
|
|
1862
|
+
[key: string]: string;
|
|
1863
|
+
};
|
|
1864
|
+
/**
|
|
1865
|
+
* The format that the subject token is in the file or the URL response.
|
|
1866
|
+
* If not provided, will default to reading the text string directly.
|
|
1867
|
+
*/
|
|
1868
|
+
format?: {
|
|
1869
|
+
/**
|
|
1870
|
+
* The format type. Can either be 'text' or 'json'.
|
|
1871
|
+
*/
|
|
1872
|
+
type: SubjectTokenFormatType;
|
|
1873
|
+
/**
|
|
1874
|
+
* The field name containing the subject token value if the type is 'json'.
|
|
1875
|
+
*/
|
|
1876
|
+
subject_token_field_name?: string;
|
|
1877
|
+
};
|
|
1878
|
+
/**
|
|
1879
|
+
* The certificate location to call to retrieve the subject token. Either this, a file
|
|
1880
|
+
* location, or an url should be specified.
|
|
1881
|
+
* @example
|
|
1882
|
+
* File Format:
|
|
1883
|
+
* ```json
|
|
1884
|
+
* {
|
|
1885
|
+
* "cert_configs": {
|
|
1886
|
+
* "workload": {
|
|
1887
|
+
* "key_path": "$PATH_TO_LEAF_KEY",
|
|
1888
|
+
* "cert_path": "$PATH_TO_LEAF_CERT"
|
|
1889
|
+
* }
|
|
1890
|
+
* }
|
|
1891
|
+
* }
|
|
1892
|
+
* ```
|
|
1893
|
+
*/
|
|
1894
|
+
certificate?: {
|
|
1895
|
+
/**
|
|
1896
|
+
* Specify whether the certificate config should be used from the default location.
|
|
1897
|
+
* Either this or the certificate_config_location must be provided.
|
|
1898
|
+
* The certificate config file must be in the following JSON format:
|
|
1899
|
+
*/
|
|
1900
|
+
use_default_certificate_config?: boolean;
|
|
1901
|
+
/**
|
|
1902
|
+
* Location to fetch certificate config from in case default config is not to be used.
|
|
1903
|
+
* Either this or use_default_certificate_config=true should be provided.
|
|
1904
|
+
*/
|
|
1905
|
+
certificate_config_location?: string;
|
|
1906
|
+
/**
|
|
1907
|
+
* TrustChainPath specifies the path to a PEM-formatted file containing the X.509 certificate trust chain.
|
|
1908
|
+
* The file should contain any intermediate certificates needed to connect
|
|
1909
|
+
* the mTLS leaf certificate to a root certificate in the trust store.
|
|
1910
|
+
*/
|
|
1911
|
+
trust_chain_path?: string;
|
|
1912
|
+
};
|
|
1913
|
+
};
|
|
1914
|
+
subject_token_supplier?: SubjectTokenSupplier;
|
|
1915
|
+
}
|
|
1088
1916
|
export type IFRAME = unknown;
|
|
1089
1917
|
export interface IIntegrationInputField {
|
|
1090
1918
|
key: string;
|
|
@@ -1103,6 +1931,7 @@ export interface IIntegrationInputField {
|
|
|
1103
1931
|
errorMessage?: string;
|
|
1104
1932
|
responseMapping?: FieldResponseMapping;
|
|
1105
1933
|
}
|
|
1934
|
+
export type ILocalizedText = Record<ELanguage, string>;
|
|
1106
1935
|
export type IMAGE = unknown;
|
|
1107
1936
|
export type IMPORT = unknown;
|
|
1108
1937
|
export type IN_SYSTEM = unknown;
|
|
@@ -1110,8 +1939,46 @@ export type INACTIVE = unknown;
|
|
|
1110
1939
|
export type INDIVIDUAL = unknown;
|
|
1111
1940
|
export type INET = unknown;
|
|
1112
1941
|
export type INFO_RESULT_API = unknown;
|
|
1942
|
+
export interface INotificationConfig {
|
|
1943
|
+
id: string;
|
|
1944
|
+
name: string;
|
|
1945
|
+
type: NotificationProviderType;
|
|
1946
|
+
config: NotificationConfig;
|
|
1947
|
+
}
|
|
1113
1948
|
export type INPUT = unknown;
|
|
1114
1949
|
export type INSERT_ROWS = unknown;
|
|
1950
|
+
export interface InstructionEdge {
|
|
1951
|
+
from: number;
|
|
1952
|
+
to: number;
|
|
1953
|
+
reason?: string;
|
|
1954
|
+
}
|
|
1955
|
+
export interface InstructionEdgeDto {
|
|
1956
|
+
from: number;
|
|
1957
|
+
to: number;
|
|
1958
|
+
reason?: string;
|
|
1959
|
+
}
|
|
1960
|
+
export interface InstructionFlow {
|
|
1961
|
+
start: number;
|
|
1962
|
+
steps: InstructionStep[];
|
|
1963
|
+
edges: InstructionEdge[];
|
|
1964
|
+
}
|
|
1965
|
+
export interface InstructionFlowDto {
|
|
1966
|
+
start: number;
|
|
1967
|
+
steps: (InstructionStepDto)[];
|
|
1968
|
+
edges: (InstructionEdgeDto)[];
|
|
1969
|
+
}
|
|
1970
|
+
export interface InstructionStep {
|
|
1971
|
+
id: number;
|
|
1972
|
+
type: FlowNodeType;
|
|
1973
|
+
prompt?: string;
|
|
1974
|
+
example?: string;
|
|
1975
|
+
}
|
|
1976
|
+
export interface InstructionStepDto {
|
|
1977
|
+
id: number;
|
|
1978
|
+
type: FlowNodeType;
|
|
1979
|
+
prompt?: string;
|
|
1980
|
+
example?: string;
|
|
1981
|
+
}
|
|
1115
1982
|
export type INT = unknown;
|
|
1116
1983
|
export type INTEGER = unknown;
|
|
1117
1984
|
export interface Integration {
|
|
@@ -1174,6 +2041,16 @@ export declare enum IntegrationJobHealthStatus {
|
|
|
1174
2041
|
FAILED = "FAILED",
|
|
1175
2042
|
DISABLED = "DISABLED"
|
|
1176
2043
|
}
|
|
2044
|
+
export type IntegrationMetadata = DatabaseIntegrationMetadata | CloudStorageIntegrationMetadata | AiIntegrationMetadata | ChannelIntegrationMetadata | EmailIntegrationMetadata | SmsIntegrationMetadata | GoogleIntegrationMetadata | ShippingIntegrationMetadata | PaymentIntegrationMetadata | OtherIntegrationMetadata;
|
|
2045
|
+
export interface IntegrationMetadataBase {
|
|
2046
|
+
provider: ProviderEnum;
|
|
2047
|
+
displayName?: string;
|
|
2048
|
+
description?: string;
|
|
2049
|
+
icon?: string;
|
|
2050
|
+
tags?: string[];
|
|
2051
|
+
websiteUrl?: string;
|
|
2052
|
+
docsUrl?: string;
|
|
2053
|
+
}
|
|
1177
2054
|
export interface IntegrationProvider {
|
|
1178
2055
|
id: number;
|
|
1179
2056
|
type: ProviderEnum;
|
|
@@ -1198,22 +2075,60 @@ export interface IntegrationProvider {
|
|
|
1198
2075
|
secretKey: string | null;
|
|
1199
2076
|
userManual: string | null;
|
|
1200
2077
|
}
|
|
2078
|
+
export interface Interceptor {
|
|
2079
|
+
request(opts: r.Options): DecorateRequestOptions;
|
|
2080
|
+
}
|
|
2081
|
+
export interface InterceptorProvider {
|
|
2082
|
+
(methodDefinition: ClientMethodDefinition<any, any>): Interceptor;
|
|
2083
|
+
}
|
|
2084
|
+
export interface IntermediateObjectReadable<T> extends Readable {
|
|
2085
|
+
read(size?: number): any & T;
|
|
2086
|
+
}
|
|
2087
|
+
export interface IntermediateObjectWritable<T> extends Writable {
|
|
2088
|
+
_write(chunk: any & T, encoding: string, callback: Function): void;
|
|
2089
|
+
write(chunk: any & T, cb?: WriteCallback): boolean;
|
|
2090
|
+
write(chunk: any & T, encoding?: any, cb?: WriteCallback): boolean;
|
|
2091
|
+
setDefaultEncoding(encoding: string): this;
|
|
2092
|
+
end(): ReturnType<Writable['end']> extends Writable ? this : void;
|
|
2093
|
+
end(chunk: any & T, cb?: Function): ReturnType<Writable['end']> extends Writable ? this : void;
|
|
2094
|
+
end(chunk: any & T, encoding?: any, cb?: Function): ReturnType<Writable['end']> extends Writable ? this : void;
|
|
2095
|
+
}
|
|
1201
2096
|
export type INTERVAL = unknown;
|
|
1202
2097
|
export type Invalid = false;
|
|
1203
2098
|
export type INVITE = unknown;
|
|
1204
2099
|
export type IS = unknown;
|
|
1205
2100
|
export type IS_NOT = unknown;
|
|
1206
2101
|
export type IS_WITHIN = unknown;
|
|
2102
|
+
export interface IStateVariable {
|
|
2103
|
+
name: string;
|
|
2104
|
+
type: StateVariableType;
|
|
2105
|
+
value: unknown;
|
|
2106
|
+
description?: string;
|
|
2107
|
+
}
|
|
1207
2108
|
export type JSON = unknown;
|
|
1208
2109
|
export type JSON_PARSE = unknown;
|
|
1209
2110
|
export type JSON_STRINGIFY = unknown;
|
|
1210
|
-
export
|
|
2111
|
+
export interface JsonArray extends Array<JsonValue> {
|
|
2112
|
+
__jsonArrayBrand?: 'JsonArray';
|
|
2113
|
+
}
|
|
1211
2114
|
export type JSONB = unknown;
|
|
1212
|
-
export
|
|
2115
|
+
export interface JsonObject {
|
|
1213
2116
|
[key: string]: JsonValue;
|
|
1214
|
-
}
|
|
2117
|
+
}
|
|
1215
2118
|
export type JsonPrimitive = string | number | boolean | null;
|
|
1216
|
-
export type JsonValue = JsonPrimitive |
|
|
2119
|
+
export type JsonValue = JsonPrimitive | JsonObject | JsonArray;
|
|
2120
|
+
export interface JWTInput {
|
|
2121
|
+
type?: string;
|
|
2122
|
+
client_email?: string;
|
|
2123
|
+
private_key?: string;
|
|
2124
|
+
private_key_id?: string;
|
|
2125
|
+
project_id?: string;
|
|
2126
|
+
client_id?: string;
|
|
2127
|
+
client_secret?: string;
|
|
2128
|
+
refresh_token?: string;
|
|
2129
|
+
quota_project_id?: string;
|
|
2130
|
+
universe_domain?: string;
|
|
2131
|
+
}
|
|
1217
2132
|
export type KANBAN = unknown;
|
|
1218
2133
|
export type KanbanViewMeta = ViewMeta & {
|
|
1219
2134
|
laneOrder?: string[];
|
|
@@ -1238,6 +2153,11 @@ export interface LimitOffsetQueryDto {
|
|
|
1238
2153
|
offset?: number;
|
|
1239
2154
|
}
|
|
1240
2155
|
export type LINE = unknown;
|
|
2156
|
+
export interface Link {
|
|
2157
|
+
context: SpanContext;
|
|
2158
|
+
attributes?: SpanAttributes;
|
|
2159
|
+
droppedAttributesCount?: number;
|
|
2160
|
+
}
|
|
1241
2161
|
export type LINK_TO_ANOTHER_RECORD = unknown;
|
|
1242
2162
|
export type LINKS = unknown;
|
|
1243
2163
|
export type LIST = unknown;
|
|
@@ -1253,6 +2173,10 @@ export interface ListWidgetConfigDto {
|
|
|
1253
2173
|
}
|
|
1254
2174
|
export type LLM_CUSTOM = unknown;
|
|
1255
2175
|
export type Lo = unknown;
|
|
2176
|
+
export interface Location {
|
|
2177
|
+
segmentId?: SegmentId;
|
|
2178
|
+
index?: number;
|
|
2179
|
+
}
|
|
1256
2180
|
export type LOCKED = unknown;
|
|
1257
2181
|
export type LONG_TEXT = unknown;
|
|
1258
2182
|
export type LONGTEXT = unknown;
|
|
@@ -1269,6 +2193,17 @@ export type LOWERCASE = unknown;
|
|
|
1269
2193
|
export type LT = unknown;
|
|
1270
2194
|
export type LTE = unknown;
|
|
1271
2195
|
export type MACADDR = unknown;
|
|
2196
|
+
export interface MakeAuthenticatedRequest {
|
|
2197
|
+
(reqOpts: DecorateRequestOptions): Duplexify;
|
|
2198
|
+
(reqOpts: DecorateRequestOptions, options?: MakeAuthenticatedRequestOptions): void | Abortable;
|
|
2199
|
+
(reqOpts: DecorateRequestOptions, callback?: BodyResponseCallback): void | Abortable;
|
|
2200
|
+
(reqOpts: DecorateRequestOptions, optionsOrCallback?: MakeAuthenticatedRequestOptions | BodyResponseCallback): void | Abortable | Duplexify;
|
|
2201
|
+
getCredentials: (callback: (err?: Error | null, credentials?: CredentialBody) => void) => void;
|
|
2202
|
+
authClient: GoogleAuth<AuthClient>;
|
|
2203
|
+
}
|
|
2204
|
+
export interface MakeAuthenticatedRequestOptions {
|
|
2205
|
+
onAuthenticated: OnAuthenticatedCallback;
|
|
2206
|
+
}
|
|
1272
2207
|
export type MALE = unknown;
|
|
1273
2208
|
export type MANAGE = unknown;
|
|
1274
2209
|
export type MANY_TO_MANY = unknown;
|
|
@@ -1313,7 +2248,39 @@ export type MARKETING_UPDATE = unknown;
|
|
|
1313
2248
|
export type MARKETPLACE = unknown;
|
|
1314
2249
|
export type MAX = unknown;
|
|
1315
2250
|
export type MB_BANK = unknown;
|
|
2251
|
+
export interface Mcp {
|
|
2252
|
+
id: string;
|
|
2253
|
+
workspaceId: string;
|
|
2254
|
+
baseId: string | null;
|
|
2255
|
+
nameServer: string;
|
|
2256
|
+
description: string | null;
|
|
2257
|
+
config: McpConfig;
|
|
2258
|
+
headers: string | null;
|
|
2259
|
+
secretKey: string;
|
|
2260
|
+
userId: number | null;
|
|
2261
|
+
employeeId: number | null;
|
|
2262
|
+
createdAt: number;
|
|
2263
|
+
updatedAt: number;
|
|
2264
|
+
toolsName: string[];
|
|
2265
|
+
mcpAgentContexts: McpAgentContext[];
|
|
2266
|
+
}
|
|
1316
2267
|
export type MCP_DYNAMIC = unknown;
|
|
2268
|
+
export interface McpAgentContext {
|
|
2269
|
+
mcpId: string;
|
|
2270
|
+
workspaceId: string;
|
|
2271
|
+
baseId: string | null;
|
|
2272
|
+
agentContextId: number;
|
|
2273
|
+
mcp: Mcp;
|
|
2274
|
+
agentContext: AgentContext;
|
|
2275
|
+
}
|
|
2276
|
+
export interface McpConfig {
|
|
2277
|
+
mcpNameServer: string;
|
|
2278
|
+
mcpPort: number;
|
|
2279
|
+
url: string;
|
|
2280
|
+
useNodeEventSource: boolean;
|
|
2281
|
+
header: Record<string, string>;
|
|
2282
|
+
reconnect: Reconnect;
|
|
2283
|
+
}
|
|
1317
2284
|
export type MEDIA = unknown;
|
|
1318
2285
|
export type MEDIUM = unknown;
|
|
1319
2286
|
export type MEDIUMINT = unknown;
|
|
@@ -1325,8 +2292,59 @@ export declare enum MergeStrategy {
|
|
|
1325
2292
|
REPLACE = "REPLACE",
|
|
1326
2293
|
MERGE = "MERGE"
|
|
1327
2294
|
}
|
|
1328
|
-
export interface
|
|
1329
|
-
|
|
2295
|
+
export interface Message {
|
|
2296
|
+
ackId: string;
|
|
2297
|
+
attributes: {
|
|
2298
|
+
[key: string]: string;
|
|
2299
|
+
};
|
|
2300
|
+
data: Buffer;
|
|
2301
|
+
deliveryAttempt: number;
|
|
2302
|
+
id: string;
|
|
2303
|
+
orderingKey?: string;
|
|
2304
|
+
publishTime: PreciseDate;
|
|
2305
|
+
received: number;
|
|
2306
|
+
_handledPromise: any;
|
|
2307
|
+
_handled: any;
|
|
2308
|
+
_length: any;
|
|
2309
|
+
_subscriber: any;
|
|
2310
|
+
_ackFailed?: any;
|
|
2311
|
+
_dispatched: any;
|
|
2312
|
+
parentSpan?: tracing.Span;
|
|
2313
|
+
subSpans: SubscriberSpans;
|
|
2314
|
+
}
|
|
2315
|
+
export interface MessageBatch {
|
|
2316
|
+
options: BatchPublishOptions;
|
|
2317
|
+
topicName: string;
|
|
2318
|
+
messages: PubsubMessage[];
|
|
2319
|
+
callbacks: PublishCallback[];
|
|
2320
|
+
created: number;
|
|
2321
|
+
bytes: number;
|
|
2322
|
+
}
|
|
2323
|
+
export interface MessageQueue {
|
|
2324
|
+
numPendingRequests: number;
|
|
2325
|
+
numInFlightRequests: number;
|
|
2326
|
+
numInRetryRequests: number;
|
|
2327
|
+
bytes: number;
|
|
2328
|
+
_onFlush?: defer.DeferredPromise<void>;
|
|
2329
|
+
_onDrain?: defer.DeferredPromise<void>;
|
|
2330
|
+
_options: BatchOptions;
|
|
2331
|
+
_requests: QueuedMessages;
|
|
2332
|
+
_subscriber: Subscriber;
|
|
2333
|
+
_timer?: NodeJS.Timeout;
|
|
2334
|
+
_retrier: ExponentialRetry<QueuedMessage>;
|
|
2335
|
+
_closed: boolean;
|
|
2336
|
+
logBatch: any;
|
|
2337
|
+
handleRetry: any;
|
|
2338
|
+
}
|
|
2339
|
+
export interface MessageWithAttributes {
|
|
2340
|
+
attributes?: Attributes | null | undefined;
|
|
2341
|
+
parentSpan?: Span;
|
|
2342
|
+
}
|
|
2343
|
+
export type Metadata = any;
|
|
2344
|
+
export interface Methods {
|
|
2345
|
+
[methodName: string]: {
|
|
2346
|
+
reqOpts?: r.CoreOptions;
|
|
2347
|
+
} | boolean;
|
|
1330
2348
|
}
|
|
1331
2349
|
export type METRIC = unknown;
|
|
1332
2350
|
export type MetricWidgetColor = 'gray' | 'red' | 'green' | 'yellow' | 'pink' | 'blue' | 'orange' | 'maroon' | 'purple';
|
|
@@ -1395,6 +2413,11 @@ export interface MonthlyScheduleConfig {
|
|
|
1395
2413
|
}
|
|
1396
2414
|
export type MSSQL = unknown;
|
|
1397
2415
|
export type MULTI_SELECT = unknown;
|
|
2416
|
+
export interface MultiLanguageText {
|
|
2417
|
+
vi: string;
|
|
2418
|
+
en: string;
|
|
2419
|
+
zh: string;
|
|
2420
|
+
}
|
|
1398
2421
|
export type MYSQL = unknown;
|
|
1399
2422
|
export type NCHAR = unknown;
|
|
1400
2423
|
export type NEQ = unknown;
|
|
@@ -1415,6 +2438,7 @@ export type NOT_CHECKED = unknown;
|
|
|
1415
2438
|
export type NOT_EMPTY = unknown;
|
|
1416
2439
|
export type NOT_NULL = unknown;
|
|
1417
2440
|
export type NOTIFICATION = unknown;
|
|
2441
|
+
export type NotificationConfig = EmailSMTPNotificationConfig | EmailGmailNotificationConfig | ZaloOANotificationConfig | ZaloBotNotificationConfig | ZaloPersonalNotificationConfig | TelegramNotificationConfig | FacebookNotificationConfig | WebhookNotificationConfig;
|
|
1418
2442
|
export declare enum NotificationProviderType {
|
|
1419
2443
|
EMAIL_SMTP = "EMAIL_SMTP",
|
|
1420
2444
|
EMAIL_GMAIL = "EMAIL_GMAIL",
|
|
@@ -1433,7 +2457,30 @@ export type NUMERIC = unknown;
|
|
|
1433
2457
|
export type NVARCHAR = unknown;
|
|
1434
2458
|
export type OBJECT = unknown;
|
|
1435
2459
|
export type OBJECT_ID = unknown;
|
|
2460
|
+
export type ObjectReadable<T> = {
|
|
2461
|
+
read(size?: number): T;
|
|
2462
|
+
} & EmitterAugmentation1<'data', T> & IntermediateObjectReadable<T>;
|
|
2463
|
+
export type ObjectStream<O> = {
|
|
2464
|
+
addListener(event: 'data', listener: (data: O) => void): ObjectStream<O>;
|
|
2465
|
+
emit(event: 'data', data: O): boolean;
|
|
2466
|
+
on(event: 'data', listener: (data: O) => void): ObjectStream<O>;
|
|
2467
|
+
once(event: 'data', listener: (data: O) => void): ObjectStream<O>;
|
|
2468
|
+
prependListener(event: 'data', listener: (data: O) => void): ObjectStream<O>;
|
|
2469
|
+
prependOnceListener(event: 'data', listener: (data: O) => void): ObjectStream<O>;
|
|
2470
|
+
} & Transform;
|
|
2471
|
+
export interface ObjectWritable<T> extends IntermediateObjectWritable<T> {
|
|
2472
|
+
_write(chunk: T, encoding: string, callback: Function): void;
|
|
2473
|
+
write(chunk: T, cb?: Function): boolean;
|
|
2474
|
+
write(chunk: T, encoding?: any, cb?: Function): boolean;
|
|
2475
|
+
setDefaultEncoding(encoding: string): this;
|
|
2476
|
+
end(): ReturnType<Writable['end']> extends Writable ? this : void;
|
|
2477
|
+
end(chunk: T, cb?: Function): ReturnType<Writable['end']> extends Writable ? this : void;
|
|
2478
|
+
end(chunk: T, encoding?: any, cb?: Function): ReturnType<Writable['end']> extends Writable ? this : void;
|
|
2479
|
+
}
|
|
1436
2480
|
export type OCB_BANK = unknown;
|
|
2481
|
+
export interface OnAuthenticatedCallback {
|
|
2482
|
+
(err: Error | null, reqOpts?: DecorateRequestOptions): void;
|
|
2483
|
+
}
|
|
1437
2484
|
export type ONE_MONTH_AGO = unknown;
|
|
1438
2485
|
export type ONE_MONTH_FROM_NOW = unknown;
|
|
1439
2486
|
export type ONE_TO_ONE = unknown;
|
|
@@ -1442,22 +2489,45 @@ export type ONE_WEEK_FROM_NOW = unknown;
|
|
|
1442
2489
|
export type OPENAI = unknown;
|
|
1443
2490
|
export type OPENAI_OAUTH = unknown;
|
|
1444
2491
|
export type OPENROUTER = unknown;
|
|
2492
|
+
export type Options = OptionsWithUri | OptionsWithUrl;
|
|
1445
2493
|
export type OPTIONS = unknown;
|
|
2494
|
+
export interface OptionsWithUri extends CoreOptions {
|
|
2495
|
+
uri: string;
|
|
2496
|
+
}
|
|
2497
|
+
export interface OptionsWithUrl extends CoreOptions {
|
|
2498
|
+
url: string;
|
|
2499
|
+
}
|
|
1446
2500
|
export type OR = unknown;
|
|
1447
2501
|
export type ORACLE = unknown;
|
|
1448
2502
|
export type ORDER = unknown;
|
|
2503
|
+
export type OrderedQueue = MessageQueue & {
|
|
2504
|
+
batches: MessageBatch[];
|
|
2505
|
+
inFlight: boolean;
|
|
2506
|
+
error?: null | PublishError;
|
|
2507
|
+
key: string;
|
|
2508
|
+
};
|
|
2509
|
+
export type OriginalAndCamel<T> = {
|
|
2510
|
+
[K in keyof T as K | SnakeToCamel<K>]: T[K] extends {} ? OriginalAndCamel<T[K]> : T[K];
|
|
2511
|
+
};
|
|
1449
2512
|
export type OSM = unknown;
|
|
1450
2513
|
export type OTHER = unknown;
|
|
2514
|
+
export interface OtherIntegrationMetadata extends IntegrationMetadataBase {
|
|
2515
|
+
provider: OtherProvider;
|
|
2516
|
+
notes?: string;
|
|
2517
|
+
}
|
|
2518
|
+
export type OtherProvider = ProviderEnum.REDAI_EXTENSION | ProviderEnum.GETFLY_CRM | ProviderEnum.PROXY | ProviderEnum.CUSTOM | ProviderEnum.NONE;
|
|
1451
2519
|
export type OVERWRITE = unknown;
|
|
1452
2520
|
export declare enum OwnedTypeEnum {
|
|
1453
2521
|
USER = "USER",
|
|
1454
2522
|
ADMIN = "ADMIN",
|
|
1455
2523
|
IN_SYSTEM = "IN_SYSTEM"
|
|
1456
2524
|
}
|
|
1457
|
-
export
|
|
1458
|
-
|
|
1459
|
-
|
|
2525
|
+
export declare enum OwnerTypeEnum {
|
|
2526
|
+
USER = "USER",
|
|
2527
|
+
ADMIN = "ADMIN",
|
|
2528
|
+
IN_SYSTEM = "IN_SYSTEM"
|
|
1460
2529
|
}
|
|
2530
|
+
export type PagedResponse<Item, Response = unknown> = [Item[]] | [Item[], {} | null, Response];
|
|
1461
2531
|
export type PageInfo = {
|
|
1462
2532
|
totalRows: number;
|
|
1463
2533
|
page: number;
|
|
@@ -1486,29 +2556,281 @@ export type PAST_WEEK = unknown;
|
|
|
1486
2556
|
export type PAST_YEAR = unknown;
|
|
1487
2557
|
export type PATCH = unknown;
|
|
1488
2558
|
export type PAUSED = unknown;
|
|
2559
|
+
export interface PaymentIntegrationMetadata extends IntegrationMetadataBase {
|
|
2560
|
+
provider: PaymentProvider;
|
|
2561
|
+
supportsWebhook?: boolean;
|
|
2562
|
+
notes?: string;
|
|
2563
|
+
}
|
|
2564
|
+
export declare enum PaymentMethod {
|
|
2565
|
+
COD = "COD",
|
|
2566
|
+
BANKING = "BANKING"
|
|
2567
|
+
}
|
|
2568
|
+
export type PaymentProvider = ProviderEnum.MB_BANK | ProviderEnum.OCB_BANK | ProviderEnum.KL_BANK | ProviderEnum.ACB_BANK;
|
|
1489
2569
|
export type PENDING = unknown;
|
|
1490
2570
|
export type PERCENT = unknown;
|
|
2571
|
+
export declare enum Permission {
|
|
2572
|
+
POINT_VIEW_LIST = "point:view_list",
|
|
2573
|
+
POINT_CREATE = "point:create",
|
|
2574
|
+
POINT_UPDATE_POINT = "point:update_point",
|
|
2575
|
+
AGENT_CREATE = "agent:create",
|
|
2576
|
+
AGENT_UPDATE = "agent:update",
|
|
2577
|
+
AGENT_DELETE = "agent:delete",
|
|
2578
|
+
AGENT_VIEW = "agent:view",
|
|
2579
|
+
USER_DASHBOARD_VIEW_INFO = "user_dashboard:view_info",
|
|
2580
|
+
AFFILIATE_CREATE = "affiliate:create",
|
|
2581
|
+
AFFILIATE_VIEW = "affiliate:view",
|
|
2582
|
+
AFFILIATE_UPDATE = "affiliate:update",
|
|
2583
|
+
AFFILIATE_DELETE = "affiliate:delete",
|
|
2584
|
+
AUTH_LOGIN = "auth:login",
|
|
2585
|
+
AUTH_LOGOUT = "auth:logout",
|
|
2586
|
+
AUTH_RESET_PASSWORD = "auth:reset-password",
|
|
2587
|
+
BLOG_CREATE = "blog:create",
|
|
2588
|
+
BLOG_VIEW = "blog:view",
|
|
2589
|
+
BLOG_UPDATE = "blog:update",
|
|
2590
|
+
BLOG_DELETE = "blog:delete",
|
|
2591
|
+
BLOG_PUBLISH = "blog:publish",
|
|
2592
|
+
BUSINESS_CREATE = "business:create",
|
|
2593
|
+
BUSINESS_VIEW = "business:view",
|
|
2594
|
+
BUSINESS_UPDATE = "business:update",
|
|
2595
|
+
BUSINESS_DELETE = "business:delete",
|
|
2596
|
+
DATA_IMPORT = "data:import",
|
|
2597
|
+
DATA_EXPORT = "data:export",
|
|
2598
|
+
DATA_VIEW = "data:view",
|
|
2599
|
+
DATA_DELETE = "data:delete",
|
|
2600
|
+
DATABASE_BACKUP = "database:backup",
|
|
2601
|
+
DATABASE_RESTORE = "database:restore",
|
|
2602
|
+
DATABASE_VIEW = "database:view",
|
|
2603
|
+
EMAIL_SEND = "email:send",
|
|
2604
|
+
EMAIL_CREATE_TEMPLATE = "email:create-template",
|
|
2605
|
+
EMAIL_UPDATE_TEMPLATE = "email:update-template",
|
|
2606
|
+
EMAIL_DELETE_TEMPLATE = "email:delete-template",
|
|
2607
|
+
EMAIL_VIEW_TEMPLATE = "email:view-template",
|
|
2608
|
+
EMPLOYEE_CREATE = "employee:create",
|
|
2609
|
+
EMPLOYEE_VIEW = "employee:view",
|
|
2610
|
+
EMPLOYEE_UPDATE = "employee:update",
|
|
2611
|
+
EMPLOYEE_DELETE = "employee:delete",
|
|
2612
|
+
EMPLOYEE_ASSIGN_ROLE = "employee:assign-role",
|
|
2613
|
+
GENERIC_MANAGE_SETTINGS = "generic:manage-settings",
|
|
2614
|
+
GENERIC_VIEW_LOGS = "generic:view-logs",
|
|
2615
|
+
GOOGLE_CONNECT = "google:connect",
|
|
2616
|
+
GOOGLE_DISCONNECT = "google:disconnect",
|
|
2617
|
+
INTEGRATION_CREATE = "integration:create",
|
|
2618
|
+
INTEGRATION_VIEW = "integration:view",
|
|
2619
|
+
INTEGRATION_UPDATE = "integration:update",
|
|
2620
|
+
INTEGRATION_DELETE = "integration:delete",
|
|
2621
|
+
INVOICE_CREATE = "invoice:create",
|
|
2622
|
+
INVOICE_VIEW = "invoice:view",
|
|
2623
|
+
INVOICE_UPDATE = "invoice:update",
|
|
2624
|
+
INVOICE_DELETE = "invoice:delete",
|
|
2625
|
+
INVOICE_EXPORT = "invoice:export",
|
|
2626
|
+
MARKETPLACE_CREATE_PRODUCT = "marketplace:create-product",
|
|
2627
|
+
MARKETPLACE_VIEW_PRODUCT = "marketplace:view-product",
|
|
2628
|
+
MARKETPLACE_UPDATE_PRODUCT = "marketplace:update-product",
|
|
2629
|
+
MARKETPLACE_DELETE_PRODUCT = "marketplace:delete-product",
|
|
2630
|
+
MARKETPLACE_VIEW_ORDER = "marketplace:view-order",
|
|
2631
|
+
MARKETPLACE_UPDATE_ORDER = "marketplace:update-order",
|
|
2632
|
+
MARKETING_CREATE_CAMPAIGN = "marketing:create-campaign",
|
|
2633
|
+
MARKETING_VIEW_CAMPAIGN = "marketing:view-campaign",
|
|
2634
|
+
MARKETING_UPDATE_CAMPAIGN = "marketing:update-campaign",
|
|
2635
|
+
MARKETING_DELETE_CAMPAIGN = "marketing:delete-campaign",
|
|
2636
|
+
MODEL_TRAINING_CREATE = "model-training:create",
|
|
2637
|
+
MODEL_TRAINING_VIEW = "model-training:view",
|
|
2638
|
+
MODEL_TRAINING_UPDATE = "model-training:update",
|
|
2639
|
+
MODEL_TRAINING_DELETE = "model-training:delete",
|
|
2640
|
+
PDF_CREATE = "pdf:create",
|
|
2641
|
+
PDF_VIEW = "pdf:view",
|
|
2642
|
+
PDF_DELETE = "pdf:delete",
|
|
2643
|
+
R_POINT_CREATE = "r-point:create",
|
|
2644
|
+
R_POINT_VIEW = "r-point:view",
|
|
2645
|
+
R_POINT_UPDATE = "r-point:update",
|
|
2646
|
+
R_POINT_DELETE = "r-point:delete",
|
|
2647
|
+
RECAPTCHA_CONFIGURE = "recaptcha:configure",
|
|
2648
|
+
RECAPTCHA_VIEW = "recaptcha:view",
|
|
2649
|
+
SMS_SEND = "sms:send",
|
|
2650
|
+
SMS_CREATE_TEMPLATE = "sms:create-template",
|
|
2651
|
+
SMS_UPDATE_TEMPLATE = "sms:update-template",
|
|
2652
|
+
SMS_DELETE_TEMPLATE = "sms:delete-template",
|
|
2653
|
+
SMS_VIEW_TEMPLATE = "sms:view-template",
|
|
2654
|
+
STRATEGY_CREATE = "strategy:create",
|
|
2655
|
+
STRATEGY_VIEW = "strategy:view",
|
|
2656
|
+
STRATEGY_UPDATE = "strategy:update",
|
|
2657
|
+
STRATEGY_DELETE = "strategy:delete",
|
|
2658
|
+
SUBSCRIPTION_CREATE = "subscription:create",
|
|
2659
|
+
SUBSCRIPTION_VIEW = "subscription:view",
|
|
2660
|
+
SUBSCRIPTION_UPDATE = "subscription:update",
|
|
2661
|
+
SUBSCRIPTION_DELETE = "subscription:delete",
|
|
2662
|
+
SUBSCRIPTION_ASSIGN_USER = "subscription:assign-user",
|
|
2663
|
+
SYSTEM_CONFIGURATION_VIEW = "system-configuration:view",
|
|
2664
|
+
SYSTEM_CONFIGURATION_UPDATE = "system-configuration:update",
|
|
2665
|
+
TASK_CREATE = "task:create",
|
|
2666
|
+
TASK_VIEW = "task:view",
|
|
2667
|
+
TASK_UPDATE = "task:update",
|
|
2668
|
+
TASK_DELETE = "task:delete",
|
|
2669
|
+
TASK_ASSIGN = "task:assign",
|
|
2670
|
+
USER_CREATE = "user:create",
|
|
2671
|
+
USER_VIEW = "user:view",
|
|
2672
|
+
USER_UPDATE = "user:update",
|
|
2673
|
+
USER_DELETE = "user:delete",
|
|
2674
|
+
USER_BLOCK = "user:block",
|
|
2675
|
+
USER_UNBLOCK = "user:unblock",
|
|
2676
|
+
PERMISSION_CREATE = "permission:create",
|
|
2677
|
+
PERMISSION_VIEW = "permission:view",
|
|
2678
|
+
PERMISSION_UPDATE = "permission:update",
|
|
2679
|
+
PERMISSION_DELETE = "permission:delete",
|
|
2680
|
+
MARKETING_VIEW = "marketing:view",
|
|
2681
|
+
MARKETING_CREATE = "marketing:create",
|
|
2682
|
+
MARKETING_UPDATE = "marketing:update",
|
|
2683
|
+
MARKETING_DELETE = "marketing:delete",
|
|
2684
|
+
CONTRACT_VIEW = "contract:view",
|
|
2685
|
+
TOOL_VIEW = "tool:view"
|
|
2686
|
+
}
|
|
1491
2687
|
export type PERMISSION = unknown;
|
|
1492
2688
|
export type PERMISSION_CREATE = unknown;
|
|
1493
2689
|
export type PERMISSION_DELETE = unknown;
|
|
1494
2690
|
export type PERMISSION_SUBJECT = unknown;
|
|
1495
2691
|
export type PERMISSION_UPDATE = unknown;
|
|
1496
2692
|
export type PERPLEXITY_AI = unknown;
|
|
2693
|
+
export interface PerRequestMetricRecorder {
|
|
2694
|
+
message: any;
|
|
2695
|
+
}
|
|
1497
2696
|
export type PERSONAL = unknown;
|
|
1498
2697
|
export type PHONE = unknown;
|
|
1499
2698
|
export type PHOTO = unknown;
|
|
1500
2699
|
export type PHYSICAL = unknown;
|
|
1501
2700
|
export type PIE = unknown;
|
|
1502
2701
|
export type PIE_CHART = unknown;
|
|
2702
|
+
export interface PluggableAuthClientOptions extends BaseExternalAccountClientOptions {
|
|
2703
|
+
credential_source: {
|
|
2704
|
+
executable: {
|
|
2705
|
+
/**
|
|
2706
|
+
* The command used to retrieve the 3rd party token.
|
|
2707
|
+
*/
|
|
2708
|
+
command: string;
|
|
2709
|
+
/**
|
|
2710
|
+
* The timeout for executable to run in milliseconds. If none is provided it
|
|
2711
|
+
* will be set to the default timeout of 30 seconds.
|
|
2712
|
+
*/
|
|
2713
|
+
timeout_millis?: number;
|
|
2714
|
+
/**
|
|
2715
|
+
* An optional output file location that will be checked for a cached response
|
|
2716
|
+
* from a previous run of the executable.
|
|
2717
|
+
*/
|
|
2718
|
+
output_file?: string;
|
|
2719
|
+
};
|
|
2720
|
+
};
|
|
2721
|
+
}
|
|
1503
2722
|
export type POINT = unknown;
|
|
1504
2723
|
export type POLAR_AREA = unknown;
|
|
2724
|
+
export interface Position {
|
|
2725
|
+
x: number;
|
|
2726
|
+
y: number;
|
|
2727
|
+
}
|
|
2728
|
+
export interface PositionDto {
|
|
2729
|
+
x: number;
|
|
2730
|
+
y: number;
|
|
2731
|
+
}
|
|
1505
2732
|
export type POST = unknown;
|
|
1506
2733
|
export type POSTGRESQL = unknown;
|
|
2734
|
+
export type PreciseDate = Date & {
|
|
2735
|
+
_micros: any;
|
|
2736
|
+
_nanos: any;
|
|
2737
|
+
_getSeconds: any;
|
|
2738
|
+
_getNanos: any;
|
|
2739
|
+
};
|
|
2740
|
+
export interface PreconditionOptions {
|
|
2741
|
+
ifGenerationMatch?: number | string;
|
|
2742
|
+
ifGenerationNotMatch?: number | string;
|
|
2743
|
+
ifMetagenerationMatch?: number | string;
|
|
2744
|
+
ifMetagenerationNotMatch?: number | string;
|
|
2745
|
+
}
|
|
2746
|
+
export interface Profile {
|
|
2747
|
+
gender?: GenderEnum;
|
|
2748
|
+
dateOfBirth?: number;
|
|
2749
|
+
position?: string;
|
|
2750
|
+
education?: string;
|
|
2751
|
+
identityBody?: string;
|
|
2752
|
+
skills?: string[];
|
|
2753
|
+
personality?: string[];
|
|
2754
|
+
languages?: string[];
|
|
2755
|
+
nations?: string;
|
|
2756
|
+
}
|
|
1507
2757
|
export type PROGRESS = unknown;
|
|
1508
2758
|
export type PROJECT = unknown;
|
|
1509
2759
|
export type PROJECT_CREATE = unknown;
|
|
1510
2760
|
export type PROJECT_DELETE = unknown;
|
|
1511
2761
|
export type PROJECT_UPDATE = unknown;
|
|
2762
|
+
export type ProjectResourceSummary = {
|
|
2763
|
+
projects: Array<{
|
|
2764
|
+
id: string;
|
|
2765
|
+
name: string;
|
|
2766
|
+
description?: string | null;
|
|
2767
|
+
}>;
|
|
2768
|
+
media: Array<{
|
|
2769
|
+
id: string;
|
|
2770
|
+
name: string;
|
|
2771
|
+
description?: string | null;
|
|
2772
|
+
}>;
|
|
2773
|
+
knowledgeFiles: Array<{
|
|
2774
|
+
id: string;
|
|
2775
|
+
name: string;
|
|
2776
|
+
description?: string | null;
|
|
2777
|
+
}>;
|
|
2778
|
+
urls: Array<{
|
|
2779
|
+
id: string;
|
|
2780
|
+
title: string;
|
|
2781
|
+
type?: string | null;
|
|
2782
|
+
}>;
|
|
2783
|
+
products: Array<{
|
|
2784
|
+
id: number;
|
|
2785
|
+
name: string;
|
|
2786
|
+
description?: string | null;
|
|
2787
|
+
}>;
|
|
2788
|
+
tools: Array<{
|
|
2789
|
+
id: string;
|
|
2790
|
+
name: string;
|
|
2791
|
+
description?: string | null;
|
|
2792
|
+
}>;
|
|
2793
|
+
mcps: Array<{
|
|
2794
|
+
id: string;
|
|
2795
|
+
name: string;
|
|
2796
|
+
description?: string | null;
|
|
2797
|
+
tools?: Array<{
|
|
2798
|
+
name: string;
|
|
2799
|
+
description?: string;
|
|
2800
|
+
}>;
|
|
2801
|
+
}>;
|
|
2802
|
+
workflows: Array<{
|
|
2803
|
+
id: string;
|
|
2804
|
+
name: string | null;
|
|
2805
|
+
description?: string | null;
|
|
2806
|
+
workflowName?: string;
|
|
2807
|
+
}>;
|
|
2808
|
+
skills: Array<{
|
|
2809
|
+
id: string;
|
|
2810
|
+
name: string;
|
|
2811
|
+
description?: string | null;
|
|
2812
|
+
content: string;
|
|
2813
|
+
}>;
|
|
2814
|
+
};
|
|
2815
|
+
export interface ProjectSchema {
|
|
2816
|
+
id: string;
|
|
2817
|
+
workspaceId: string;
|
|
2818
|
+
baseId: string | null;
|
|
2819
|
+
name: string | null;
|
|
2820
|
+
userId: number | null;
|
|
2821
|
+
employeeId: number | null;
|
|
2822
|
+
ownerType: OwnerTypeEnum;
|
|
2823
|
+
description: string | null;
|
|
2824
|
+
avatar: string | null;
|
|
2825
|
+
createdAt: number | null;
|
|
2826
|
+
updatedAt: number | null;
|
|
2827
|
+
integrationProviderId: number | null;
|
|
2828
|
+
integrationProvider?: IntegrationProvider;
|
|
2829
|
+
defaultIntegrationId: string | null;
|
|
2830
|
+
defaultIntegration?: Integration;
|
|
2831
|
+
baseUrls: string[];
|
|
2832
|
+
isForSale: boolean;
|
|
2833
|
+
}
|
|
1512
2834
|
export declare enum ProviderEnum {
|
|
1513
2835
|
REDAI_LLM = "REDAI",
|
|
1514
2836
|
OPENAI = "OPENAI",
|
|
@@ -1594,6 +2916,45 @@ export declare enum ProviderEnum {
|
|
|
1594
2916
|
CLOUD_WASABI = "CLOUD_WASABI"
|
|
1595
2917
|
}
|
|
1596
2918
|
export type PROXY = unknown;
|
|
2919
|
+
export type PublishCallback = RequestCallback<string>;
|
|
2920
|
+
export interface Publisher {
|
|
2921
|
+
topic: Topic;
|
|
2922
|
+
settings: PublishOptions;
|
|
2923
|
+
queue: Queue;
|
|
2924
|
+
orderedQueues: Map<string, OrderedQueue>;
|
|
2925
|
+
flowControl: FlowControl;
|
|
2926
|
+
}
|
|
2927
|
+
export type PublishError = Error & {
|
|
2928
|
+
code: grpc.status;
|
|
2929
|
+
details: string;
|
|
2930
|
+
metadata: grpc.Metadata;
|
|
2931
|
+
orderingKey: string;
|
|
2932
|
+
error: grpc.ServiceError;
|
|
2933
|
+
};
|
|
2934
|
+
export interface PublishOptions {
|
|
2935
|
+
batching?: BatchPublishOptions;
|
|
2936
|
+
flowControlOptions?: FlowControlOptions;
|
|
2937
|
+
gaxOpts?: CallOptions;
|
|
2938
|
+
messageOrdering?: boolean;
|
|
2939
|
+
}
|
|
2940
|
+
export interface PubSub {
|
|
2941
|
+
options: ClientConfig;
|
|
2942
|
+
isEmulator: boolean;
|
|
2943
|
+
api: {
|
|
2944
|
+
[key: string]: gax.ClientStub;
|
|
2945
|
+
};
|
|
2946
|
+
auth: GoogleAuth;
|
|
2947
|
+
projectId: string;
|
|
2948
|
+
name?: string;
|
|
2949
|
+
Promise?: PromiseConstructor;
|
|
2950
|
+
getSubscriptionsStream: () => ObjectStream<Subscription>;
|
|
2951
|
+
getSnapshotsStream: () => ObjectStream<Snapshot>;
|
|
2952
|
+
getTopicsStream: () => ObjectStream<Topic>;
|
|
2953
|
+
isOpen: boolean;
|
|
2954
|
+
schemaClient?: any;
|
|
2955
|
+
}
|
|
2956
|
+
export interface PubsubMessage extends google.pubsub.v1.IPubsubMessage, tracing.MessageWithAttributes {
|
|
2957
|
+
}
|
|
1597
2958
|
export type PUT = unknown;
|
|
1598
2959
|
export type QR_CODE = unknown;
|
|
1599
2960
|
export interface Query {
|
|
@@ -1607,6 +2968,16 @@ export interface QueryDto {
|
|
|
1607
2968
|
sortBy?: string;
|
|
1608
2969
|
sortDirection?: SortDirection;
|
|
1609
2970
|
}
|
|
2971
|
+
export type Queue = MessageQueue & {
|
|
2972
|
+
batch: MessageBatch;
|
|
2973
|
+
};
|
|
2974
|
+
export interface QueuedMessage {
|
|
2975
|
+
message: ReducedMessage;
|
|
2976
|
+
deadline?: number;
|
|
2977
|
+
responsePromise?: defer.DeferredPromise<void>;
|
|
2978
|
+
retryCount: number;
|
|
2979
|
+
}
|
|
2980
|
+
export type QueuedMessages = Array<QueuedMessage>;
|
|
1610
2981
|
export type RADAR = unknown;
|
|
1611
2982
|
export type RADIO_GROUP = unknown;
|
|
1612
2983
|
export type RAG_SETTINGS = unknown;
|
|
@@ -1614,10 +2985,21 @@ export type RATING = unknown;
|
|
|
1614
2985
|
export type RAW = unknown;
|
|
1615
2986
|
export type READ = unknown;
|
|
1616
2987
|
export type REAL = unknown;
|
|
2988
|
+
export interface Reconnect {
|
|
2989
|
+
enable: boolean;
|
|
2990
|
+
delayMs: number;
|
|
2991
|
+
maxAttempts: number;
|
|
2992
|
+
}
|
|
1617
2993
|
export type RECORD = unknown;
|
|
1618
2994
|
export type RecordAggregateQueryDto = RecordListQueryDto & {
|
|
1619
2995
|
aggregations?: string;
|
|
1620
2996
|
};
|
|
2997
|
+
export type RecordChange = {
|
|
2998
|
+
old?: JsonValue;
|
|
2999
|
+
new?: JsonValue;
|
|
3000
|
+
};
|
|
3001
|
+
export type RecordData = Record<string, RecordValue>;
|
|
3002
|
+
export type RecordHistoryChanges = Record<string, RecordChange>;
|
|
1621
3003
|
export type RecordListQueryDto = LimitOffsetQueryDto & {
|
|
1622
3004
|
viewId?: string;
|
|
1623
3005
|
fields?: string;
|
|
@@ -1627,6 +3009,7 @@ export type RecordListQueryDto = LimitOffsetQueryDto & {
|
|
|
1627
3009
|
includeSortFilterFields?: string;
|
|
1628
3010
|
applyViewFilters?: string;
|
|
1629
3011
|
};
|
|
3012
|
+
export type RecordValue = JsonValue | Date;
|
|
1630
3013
|
export type REDAI = unknown;
|
|
1631
3014
|
export type REDAI_EXTENSION = unknown;
|
|
1632
3015
|
export type REDAI_LLM = unknown;
|
|
@@ -1654,6 +3037,10 @@ export interface RedaiViewWidgetRuntimeDto {
|
|
|
1654
3037
|
})[];
|
|
1655
3038
|
dashboardEmbed: true;
|
|
1656
3039
|
}
|
|
3040
|
+
export interface ReducedMessage {
|
|
3041
|
+
ackId: string;
|
|
3042
|
+
tracingSpan?: tracing.Span;
|
|
3043
|
+
}
|
|
1657
3044
|
export declare enum ReferentialAction {
|
|
1658
3045
|
NO_ACTION = "NO ACTION",
|
|
1659
3046
|
CASCADE = "CASCADE",
|
|
@@ -1706,7 +3093,53 @@ export declare enum RelationType {
|
|
|
1706
3093
|
ONE_TO_ONE = "oo"
|
|
1707
3094
|
}
|
|
1708
3095
|
export type REPLACE = unknown;
|
|
3096
|
+
export interface Request extends PassThrough {
|
|
3097
|
+
agent: Agent | false;
|
|
3098
|
+
headers: Headers;
|
|
3099
|
+
href?: string;
|
|
3100
|
+
}
|
|
3101
|
+
export interface RequestCallback<T = any> {
|
|
3102
|
+
(err: Error | null, response: Response, body?: T): void;
|
|
3103
|
+
}
|
|
3104
|
+
export interface RequestPart {
|
|
3105
|
+
body: string | Readable;
|
|
3106
|
+
}
|
|
3107
|
+
export interface RequestType {
|
|
3108
|
+
[index: string]: string | number | RequestType | Array<string | number | RequestType>;
|
|
3109
|
+
}
|
|
3110
|
+
export interface Response<T = any> {
|
|
3111
|
+
statusCode: number;
|
|
3112
|
+
headers: Headers;
|
|
3113
|
+
body: T;
|
|
3114
|
+
request: Request;
|
|
3115
|
+
statusMessage?: string;
|
|
3116
|
+
}
|
|
3117
|
+
export type ResponseBody = any;
|
|
3118
|
+
export type ResponseType = {} | null;
|
|
1709
3119
|
export type RESTRICT = unknown;
|
|
3120
|
+
export interface RetryConfig {
|
|
3121
|
+
retry?: number;
|
|
3122
|
+
currentRetryAttempt?: number;
|
|
3123
|
+
retryDelay?: number;
|
|
3124
|
+
httpMethodsToRetry?: string[];
|
|
3125
|
+
statusCodesToRetry?: number[][];
|
|
3126
|
+
onRetryAttempt?: (err: GaxiosError) => Promise<void> | void;
|
|
3127
|
+
shouldRetry?: (err: GaxiosError) => Promise<boolean> | boolean;
|
|
3128
|
+
noResponseRetries?: number;
|
|
3129
|
+
retryBackoff?: (err: GaxiosError, defaultBackoffMs: number) => Promise<void>;
|
|
3130
|
+
timeOfFirstRequest?: number;
|
|
3131
|
+
totalTimeout?: number;
|
|
3132
|
+
maxRetryDelay?: number;
|
|
3133
|
+
retryDelayMultiplier?: number;
|
|
3134
|
+
}
|
|
3135
|
+
export interface RetryOptions {
|
|
3136
|
+
retryDelayMultiplier?: number;
|
|
3137
|
+
totalTimeout?: number;
|
|
3138
|
+
maxRetryDelay?: number;
|
|
3139
|
+
autoRetry?: boolean;
|
|
3140
|
+
maxRetries?: number;
|
|
3141
|
+
retryableErrorFn?: (err: ApiError) => boolean;
|
|
3142
|
+
}
|
|
1710
3143
|
export type RIGHT = unknown;
|
|
1711
3144
|
export type ROLLUP = unknown;
|
|
1712
3145
|
export interface RollupConfigDto {
|
|
@@ -1754,20 +3187,134 @@ export interface ScatterChartRuntimeDto {
|
|
|
1754
3187
|
};
|
|
1755
3188
|
}
|
|
1756
3189
|
export type SCB_BANK = unknown;
|
|
1757
|
-
export
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
subject?: string;
|
|
1762
|
-
message?: string;
|
|
3190
|
+
export interface Schema {
|
|
3191
|
+
id: string;
|
|
3192
|
+
name_?: string;
|
|
3193
|
+
pubsub: PubSub;
|
|
1763
3194
|
}
|
|
1764
|
-
export
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
3195
|
+
export interface ScopeCapability {
|
|
3196
|
+
id: string;
|
|
3197
|
+
domain: WorkspaceCapabilityDomain;
|
|
3198
|
+
action: WorkspaceCapabilityAction;
|
|
3199
|
+
name: string;
|
|
3200
|
+
description: string | null;
|
|
3201
|
+
isSystem: boolean;
|
|
3202
|
+
isActive: boolean;
|
|
3203
|
+
}
|
|
3204
|
+
export interface ScopeRole {
|
|
3205
|
+
id: string;
|
|
3206
|
+
scopeType: WorkspaceAuthScopeType;
|
|
3207
|
+
workspaceId: string | null;
|
|
3208
|
+
baseId: string | null;
|
|
3209
|
+
code: WorkspaceRoleCode;
|
|
3210
|
+
name: string;
|
|
3211
|
+
description: string | null;
|
|
3212
|
+
isSystem: boolean;
|
|
3213
|
+
isActive: boolean;
|
|
3214
|
+
capabilities?: ScopeRoleCapability[];
|
|
3215
|
+
}
|
|
3216
|
+
export interface ScopeRoleCapability {
|
|
3217
|
+
id: string;
|
|
3218
|
+
roleId: string;
|
|
3219
|
+
capabilityId: string;
|
|
3220
|
+
role: ScopeRole;
|
|
3221
|
+
capability: ScopeCapability;
|
|
3222
|
+
}
|
|
3223
|
+
export type SEARCH = unknown;
|
|
3224
|
+
export declare enum SegmentFieldNamespace {
|
|
3225
|
+
USER_AUDIENCE = "user_audience",
|
|
3226
|
+
USER_AUDIENCE_CUSTOM_FIELDS = "user_audience_custom_fields",
|
|
3227
|
+
USER_AUDIENCE_HAS_TAGS = "user_audience_has_tags",
|
|
3228
|
+
CUSTOMER_PLATFORM = "customer_platform",
|
|
3229
|
+
MULTICHANNEL_CONVERSATION = "multichannel_conversation",
|
|
3230
|
+
USER = "user",
|
|
3231
|
+
ZALO_GROUP = "zalo_group",
|
|
3232
|
+
ZALO_GROUP_HAS_TAGS = "zalo_group_has_tags",
|
|
3233
|
+
USER_TAG = "user_tag",
|
|
3234
|
+
USER_SEGMENT = "user_segment",
|
|
3235
|
+
USER_HAS_SEGMENT = "user_has_segment",
|
|
3236
|
+
ZALO_OA = "zalo_oa",
|
|
3237
|
+
ZALO_CAMPAIGN = "zalo_campaign",
|
|
3238
|
+
EMAIL_CAMPAIGN = "user_email_campaign",
|
|
3239
|
+
SMS_CAMPAIGN = "sms_campaign_user",
|
|
3240
|
+
EXTERNAL_TEMPLATE = "external_templates",
|
|
3241
|
+
USER_TEMPLATE_EMAIL = "user_template_email",
|
|
3242
|
+
USER_TEMPLATE_SMS = "user_template_sms",
|
|
3243
|
+
ZALO_ARTICLE = "zalo_article"
|
|
3244
|
+
}
|
|
3245
|
+
export type SegmentId = string;
|
|
3246
|
+
export type SELECT = unknown;
|
|
3247
|
+
export interface SendSharedDashboardEmailDto {
|
|
3248
|
+
recipients: (string)[];
|
|
3249
|
+
subject?: string;
|
|
3250
|
+
message?: string;
|
|
3251
|
+
}
|
|
3252
|
+
export type SERIAL = unknown;
|
|
3253
|
+
export type SERIAL_NUMBER = unknown;
|
|
3254
|
+
export interface Serialize<T> {
|
|
3255
|
+
(value: T): Buffer;
|
|
3256
|
+
}
|
|
3257
|
+
export type ServerDuplexStream<RequestType, ResponseType> = ServerSurfaceCall & ObjectReadable<RequestType> & ObjectWritable<ResponseType> & {
|
|
3258
|
+
end: (metadata?: Metadata) => void;
|
|
3259
|
+
};
|
|
3260
|
+
export type ServerReadableStream<RequestType, ResponseType> = ServerSurfaceCall & ObjectReadable<RequestType>;
|
|
3261
|
+
export type ServerSurfaceCall = {
|
|
3262
|
+
cancelled: boolean;
|
|
3263
|
+
readonly metadata: Metadata;
|
|
3264
|
+
getPeer(): string;
|
|
3265
|
+
sendMetadata(responseMetadata: Metadata): void;
|
|
3266
|
+
getDeadline(): Deadline;
|
|
3267
|
+
getPath(): string;
|
|
3268
|
+
getHost(): string;
|
|
3269
|
+
getAuthContext(): AuthContext;
|
|
3270
|
+
getMetricsRecorder(): PerRequestMetricRecorder;
|
|
3271
|
+
} & EventEmitter;
|
|
3272
|
+
export type ServerUnaryCall<RequestType, ResponseType> = ServerSurfaceCall & {
|
|
3273
|
+
request: RequestType;
|
|
3274
|
+
};
|
|
3275
|
+
export type ServerWritableStream<RequestType, ResponseType> = ServerSurfaceCall & ObjectWritable<ResponseType> & {
|
|
3276
|
+
request: RequestType;
|
|
3277
|
+
end: (metadata?: Metadata) => void;
|
|
3278
|
+
};
|
|
3279
|
+
export interface Service {
|
|
3280
|
+
baseUrl: string;
|
|
3281
|
+
globalInterceptors: any;
|
|
3282
|
+
interceptors: Interceptor[];
|
|
3283
|
+
packageJson: any;
|
|
3284
|
+
projectId: string;
|
|
3285
|
+
projectIdRequired: any;
|
|
3286
|
+
providedUserAgent?: string;
|
|
3287
|
+
makeAuthenticatedRequest: MakeAuthenticatedRequest;
|
|
3288
|
+
authClient: GoogleAuth<AuthClient>;
|
|
3289
|
+
getCredentials: any;
|
|
3290
|
+
readonly apiEndpoint: string;
|
|
3291
|
+
timeout?: number;
|
|
3292
|
+
request_: any;
|
|
3293
|
+
}
|
|
3294
|
+
export type ServiceError = StatusObject & Error;
|
|
3295
|
+
export type ServiceObject<T = any> = EventEmitter & {
|
|
3296
|
+
metadata: Metadata;
|
|
3297
|
+
baseUrl?: string;
|
|
3298
|
+
parent: ServiceObjectParent;
|
|
3299
|
+
id?: string;
|
|
3300
|
+
pollIntervalMs?: number;
|
|
3301
|
+
createMethod?: any;
|
|
3302
|
+
methods: Methods;
|
|
3303
|
+
interceptors: Interceptor[];
|
|
3304
|
+
projectId?: string;
|
|
3305
|
+
request_: any;
|
|
3306
|
+
};
|
|
3307
|
+
export interface ServiceObjectParent {
|
|
3308
|
+
interceptors: Interceptor[];
|
|
3309
|
+
getRequestInterceptors(): Function[];
|
|
3310
|
+
requestStream(reqOpts: DecorateRequestOptions): r.Request;
|
|
3311
|
+
request(reqOpts: DecorateRequestOptions, callback: BodyResponseCallback): void;
|
|
3312
|
+
}
|
|
3313
|
+
export type SET = unknown;
|
|
3314
|
+
export type SET_DEFAULT = unknown;
|
|
3315
|
+
export type SET_NULL = unknown;
|
|
3316
|
+
export type SHARE = unknown;
|
|
3317
|
+
export interface SharedBaseResponseDto {
|
|
1771
3318
|
id: string;
|
|
1772
3319
|
baseId: string | null;
|
|
1773
3320
|
uuid: string | null;
|
|
@@ -1837,8 +3384,79 @@ export interface SharedDashboardsUpdateSharedDashboardParams {
|
|
|
1837
3384
|
shareId: string;
|
|
1838
3385
|
body: UpdateSharedDashboardDto;
|
|
1839
3386
|
}
|
|
3387
|
+
export interface SharedExternalAccountClientOptions extends AuthClientOptions {
|
|
3388
|
+
audience: string;
|
|
3389
|
+
token_url?: string;
|
|
3390
|
+
}
|
|
1840
3391
|
export type SHB_BANK = unknown;
|
|
3392
|
+
export interface ShippingIntegrationMetadata extends IntegrationMetadataBase {
|
|
3393
|
+
provider: ShippingProvider;
|
|
3394
|
+
supportsTracking?: boolean;
|
|
3395
|
+
notes?: string;
|
|
3396
|
+
}
|
|
3397
|
+
export type ShippingProvider = ProviderEnum.GHTK | ProviderEnum.GHN | ProviderEnum.AHAMOVE;
|
|
1841
3398
|
export type SHORT = unknown;
|
|
3399
|
+
export interface Skill {
|
|
3400
|
+
id: string;
|
|
3401
|
+
name: string;
|
|
3402
|
+
description: string;
|
|
3403
|
+
skillBody: string;
|
|
3404
|
+
ownerType: SkillOwnerTypeEnum;
|
|
3405
|
+
active: boolean;
|
|
3406
|
+
createdAt: number;
|
|
3407
|
+
updatedAt: number;
|
|
3408
|
+
userId: number | null;
|
|
3409
|
+
employeeId: number | null;
|
|
3410
|
+
baseId: string | null;
|
|
3411
|
+
workspaceId: string | null;
|
|
3412
|
+
user: SysUser | null;
|
|
3413
|
+
employee: Employee | null;
|
|
3414
|
+
base: SysBases | null;
|
|
3415
|
+
workspace: SysWorkspace | null;
|
|
3416
|
+
docs: SkillDoc[];
|
|
3417
|
+
skillTools: SkillTool[];
|
|
3418
|
+
skillMcps: SkillMcp[];
|
|
3419
|
+
skillWorkflows: SkillWorkflow[];
|
|
3420
|
+
agentSkills: AgentSkill[];
|
|
3421
|
+
}
|
|
3422
|
+
export interface SkillDoc {
|
|
3423
|
+
id: string;
|
|
3424
|
+
path: string;
|
|
3425
|
+
content: string | null;
|
|
3426
|
+
skillId: string;
|
|
3427
|
+
createAt: number;
|
|
3428
|
+
userId: number | null;
|
|
3429
|
+
employeeId: number | null;
|
|
3430
|
+
baseId: string | null;
|
|
3431
|
+
workspaceId: string | null;
|
|
3432
|
+
skill: Skill;
|
|
3433
|
+
user: SysUser | null;
|
|
3434
|
+
employee: Employee | null;
|
|
3435
|
+
base: SysBases | null;
|
|
3436
|
+
workspace: SysWorkspace | null;
|
|
3437
|
+
}
|
|
3438
|
+
export interface SkillMcp {
|
|
3439
|
+
skillId: string;
|
|
3440
|
+
mcpId: string;
|
|
3441
|
+
skill: Skill;
|
|
3442
|
+
mcp: Mcp;
|
|
3443
|
+
}
|
|
3444
|
+
export declare enum SkillOwnerTypeEnum {
|
|
3445
|
+
USER = "USER",
|
|
3446
|
+
IN_SYSTEM = "IN_SYSTEM"
|
|
3447
|
+
}
|
|
3448
|
+
export interface SkillTool {
|
|
3449
|
+
skillId: string;
|
|
3450
|
+
toolId: string;
|
|
3451
|
+
skill: Skill;
|
|
3452
|
+
tool: UserToolsCustom;
|
|
3453
|
+
}
|
|
3454
|
+
export interface SkillWorkflow {
|
|
3455
|
+
skillId: string;
|
|
3456
|
+
workflowId: string;
|
|
3457
|
+
skill: Skill;
|
|
3458
|
+
workflow: Workflow;
|
|
3459
|
+
}
|
|
1842
3460
|
export interface SlackIntegrationConfig {
|
|
1843
3461
|
webhookUrl?: string;
|
|
1844
3462
|
channelId?: string;
|
|
@@ -1855,11 +3473,21 @@ export type SMS_FPT = unknown;
|
|
|
1855
3473
|
export type SMS_SPEED = unknown;
|
|
1856
3474
|
export type SMS_TWILIO = unknown;
|
|
1857
3475
|
export type SMS_VONAGE = unknown;
|
|
3476
|
+
export interface SmsIntegrationMetadata extends IntegrationMetadataBase {
|
|
3477
|
+
provider: SmsProvider;
|
|
3478
|
+
supportsBrandname?: boolean;
|
|
3479
|
+
notes?: string;
|
|
3480
|
+
}
|
|
3481
|
+
export type SmsProvider = ProviderEnum.SMS_FPT | ProviderEnum.SMS_TWILIO | ProviderEnum.SMS_VONAGE | ProviderEnum.SMS_SPEED | ProviderEnum.SMS_ESMS | ProviderEnum.SMS_ESMS_ADVERTISING | ProviderEnum.SMS_ESMS_CUSTOMER_CARE | ProviderEnum.SMS_ESMS_VIBER;
|
|
3482
|
+
export type SnakeToCamel<S> = S extends `${infer FirstWord}_${infer Remainder}` ? `${FirstWord}${Capitalize<SnakeToCamel<Remainder>>}` : S;
|
|
3483
|
+
export interface Snapshot {
|
|
3484
|
+
parent: Subscription | PubSub;
|
|
3485
|
+
name: string;
|
|
3486
|
+
metadata?: google.pubsub.v1.ISnapshot;
|
|
3487
|
+
}
|
|
1858
3488
|
export declare enum SortDirection {
|
|
1859
|
-
ASC = "
|
|
1860
|
-
DESC = "
|
|
1861
|
-
COUNT_ASC = "count-asc",
|
|
1862
|
-
COUNT_DESC = "count-desc"
|
|
3489
|
+
ASC = "ASC",
|
|
3490
|
+
DESC = "DESC"
|
|
1863
3491
|
}
|
|
1864
3492
|
export type SOURCE = unknown;
|
|
1865
3493
|
export type SOURCE_CREATE = unknown;
|
|
@@ -1901,18 +3529,137 @@ export declare enum SourceType {
|
|
|
1901
3529
|
SQLITE = "SQLITE"
|
|
1902
3530
|
}
|
|
1903
3531
|
export type SPACER = unknown;
|
|
3532
|
+
export interface Span {
|
|
3533
|
+
spanContext(): SpanContext;
|
|
3534
|
+
setAttribute(key: string, value: SpanAttributeValue): this;
|
|
3535
|
+
setAttributes(attributes: SpanAttributes): this;
|
|
3536
|
+
addEvent(name: string, attributesOrStartTime?: SpanAttributes | TimeInput, startTime?: TimeInput): this;
|
|
3537
|
+
addLink(link: Link): this;
|
|
3538
|
+
addLinks(links: Link[]): this;
|
|
3539
|
+
setStatus(status: SpanStatus): this;
|
|
3540
|
+
updateName(name: string): this;
|
|
3541
|
+
end(endTime?: TimeInput): void;
|
|
3542
|
+
isRecording(): boolean;
|
|
3543
|
+
recordException(exception: Exception, time?: TimeInput): void;
|
|
3544
|
+
}
|
|
3545
|
+
export type SpanAttributes = Attributes;
|
|
3546
|
+
export type SpanAttributeValue = AttributeValue;
|
|
3547
|
+
export interface SpanContext {
|
|
3548
|
+
traceId: string;
|
|
3549
|
+
spanId: string;
|
|
3550
|
+
isRemote?: boolean;
|
|
3551
|
+
traceFlags: number;
|
|
3552
|
+
traceState?: TraceState;
|
|
3553
|
+
}
|
|
3554
|
+
export interface SpanStatus {
|
|
3555
|
+
code: SpanStatusCode;
|
|
3556
|
+
message?: string;
|
|
3557
|
+
}
|
|
3558
|
+
export declare enum SpanStatusCode {
|
|
3559
|
+
UNSET = 0,
|
|
3560
|
+
OK = 1,
|
|
3561
|
+
ERROR = 2
|
|
3562
|
+
}
|
|
1904
3563
|
export type SQLITE = unknown;
|
|
1905
3564
|
export type STACKED_AREA = unknown;
|
|
1906
3565
|
export type STACKED_BAR = unknown;
|
|
1907
3566
|
export type START = unknown;
|
|
3567
|
+
export type StateVariableType = 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
3568
|
+
export declare enum Status {
|
|
3569
|
+
OK = 0,
|
|
3570
|
+
CANCELLED = 1,
|
|
3571
|
+
UNKNOWN = 2,
|
|
3572
|
+
INVALID_ARGUMENT = 3,
|
|
3573
|
+
DEADLINE_EXCEEDED = 4,
|
|
3574
|
+
NOT_FOUND = 5,
|
|
3575
|
+
ALREADY_EXISTS = 6,
|
|
3576
|
+
PERMISSION_DENIED = 7,
|
|
3577
|
+
RESOURCE_EXHAUSTED = 8,
|
|
3578
|
+
FAILED_PRECONDITION = 9,
|
|
3579
|
+
ABORTED = 10,
|
|
3580
|
+
OUT_OF_RANGE = 11,
|
|
3581
|
+
UNIMPLEMENTED = 12,
|
|
3582
|
+
INTERNAL = 13,
|
|
3583
|
+
UNAVAILABLE = 14,
|
|
3584
|
+
DATA_LOSS = 15,
|
|
3585
|
+
UNAUTHENTICATED = 16
|
|
3586
|
+
}
|
|
3587
|
+
export type StatusError = Error & {
|
|
3588
|
+
code: grpc.status;
|
|
3589
|
+
details: string;
|
|
3590
|
+
metadata: grpc.Metadata;
|
|
3591
|
+
};
|
|
3592
|
+
export interface StatusObject {
|
|
3593
|
+
code: Status;
|
|
3594
|
+
details: string;
|
|
3595
|
+
metadata: Metadata;
|
|
3596
|
+
}
|
|
1908
3597
|
export type STB_BANK = unknown;
|
|
1909
3598
|
export type STEP = unknown;
|
|
1910
3599
|
export type STICKER = unknown;
|
|
3600
|
+
export type Storage = Service & {
|
|
3601
|
+
Bucket: typeof Bucket;
|
|
3602
|
+
Channel: typeof Channel;
|
|
3603
|
+
File: typeof File;
|
|
3604
|
+
HmacKey: typeof HmacKey;
|
|
3605
|
+
acl: {
|
|
3606
|
+
OWNER_ROLE: string;
|
|
3607
|
+
READER_ROLE: string;
|
|
3608
|
+
WRITER_ROLE: string;
|
|
3609
|
+
};
|
|
3610
|
+
crc32cGenerator: CRC32CValidatorGenerator;
|
|
3611
|
+
retryOptions: RetryOptions;
|
|
3612
|
+
sanitizeEndpoint: any;
|
|
3613
|
+
};
|
|
1911
3614
|
export declare enum StorageMode {
|
|
1912
3615
|
JSONB = "JSONB",
|
|
1913
3616
|
EAV = "EAV",
|
|
1914
3617
|
PHYSICAL = "PHYSICAL"
|
|
1915
3618
|
}
|
|
3619
|
+
export type SubjectTokenFormatType = 'json' | 'text';
|
|
3620
|
+
export interface SubjectTokenSupplier {
|
|
3621
|
+
getSubjectToken: (context: ExternalAccountSupplierContext) => Promise<string>;
|
|
3622
|
+
}
|
|
3623
|
+
export type Subscriber = EventEmitter & {
|
|
3624
|
+
ackDeadline: number;
|
|
3625
|
+
maxMessages: number;
|
|
3626
|
+
maxBytes: number;
|
|
3627
|
+
useLegacyFlowControl: boolean;
|
|
3628
|
+
isOpen: boolean;
|
|
3629
|
+
maxExtensionTime: Duration;
|
|
3630
|
+
_acks: any;
|
|
3631
|
+
_histogram: any;
|
|
3632
|
+
_inventory: any;
|
|
3633
|
+
_latencies: any;
|
|
3634
|
+
_modAcks: any;
|
|
3635
|
+
_name: any;
|
|
3636
|
+
_options: any;
|
|
3637
|
+
_stream: any;
|
|
3638
|
+
_subscription: any;
|
|
3639
|
+
_99th: any;
|
|
3640
|
+
subscriptionProperties?: SubscriptionProperties;
|
|
3641
|
+
getMinMaxDeadlines: any;
|
|
3642
|
+
createParentSpan: any;
|
|
3643
|
+
_onData: any;
|
|
3644
|
+
_discardMessage: any;
|
|
3645
|
+
_waitForFlush: any;
|
|
3646
|
+
};
|
|
3647
|
+
export interface SubscriberSpans {
|
|
3648
|
+
parent: tracing.MessageWithAttributes;
|
|
3649
|
+
flow?: any;
|
|
3650
|
+
scheduler?: any;
|
|
3651
|
+
processing?: any;
|
|
3652
|
+
}
|
|
3653
|
+
export interface Subscription {
|
|
3654
|
+
on(event: 'message', listener: (message: Message) => void): this;
|
|
3655
|
+
on(event: 'error', listener: (error: StatusError) => void): this;
|
|
3656
|
+
on(event: 'close', listener: () => void): this;
|
|
3657
|
+
on(event: 'debug', listener: (msg: DebugMessage) => void): this;
|
|
3658
|
+
on(event: 'newListener', listener: (event: string | symbol, listener: Function) => void): this;
|
|
3659
|
+
on(event: 'removeListener', listener: (event: string | symbol, listener: Function) => void): this;
|
|
3660
|
+
on(event: string, listener: void): this;
|
|
3661
|
+
}
|
|
3662
|
+
export type SubscriptionProperties = google.pubsub.v1.StreamingPullResponse.ISubscriptionProperties;
|
|
1916
3663
|
export type SUCCESS = unknown;
|
|
1917
3664
|
export interface SuccessCondition {
|
|
1918
3665
|
jsonPath: string;
|
|
@@ -1922,6 +3669,505 @@ export type SUM = unknown;
|
|
|
1922
3669
|
export type SUM_DISTINCT = unknown;
|
|
1923
3670
|
export type SUNDAY = unknown;
|
|
1924
3671
|
export type SYNC = unknown;
|
|
3672
|
+
export interface SysBases {
|
|
3673
|
+
id: string;
|
|
3674
|
+
fkWorkspaceId: string | null;
|
|
3675
|
+
workspace: SysWorkspace | null;
|
|
3676
|
+
ownerUserId: number | null;
|
|
3677
|
+
title: string;
|
|
3678
|
+
prefix: string | null;
|
|
3679
|
+
status: BaseStatus;
|
|
3680
|
+
description: string | null;
|
|
3681
|
+
meta: BaseMeta | null;
|
|
3682
|
+
color: string | null;
|
|
3683
|
+
deleted: boolean;
|
|
3684
|
+
isMeta: boolean | null;
|
|
3685
|
+
order: number | null;
|
|
3686
|
+
uuid: string | null;
|
|
3687
|
+
password: string | null;
|
|
3688
|
+
roles: string | null;
|
|
3689
|
+
fkCustomUrlId: string | null;
|
|
3690
|
+
isSnapshot: boolean | null;
|
|
3691
|
+
createdAt: number | null;
|
|
3692
|
+
updatedAt: number | null;
|
|
3693
|
+
}
|
|
3694
|
+
export interface SysCalendarView {
|
|
3695
|
+
viewId: string;
|
|
3696
|
+
workspaceId: string | null;
|
|
3697
|
+
baseId: string | null;
|
|
3698
|
+
sourceId: string | null;
|
|
3699
|
+
coverImageFieldId: string | null;
|
|
3700
|
+
meta: CalendarViewMeta;
|
|
3701
|
+
createdAt: number;
|
|
3702
|
+
updatedAt: number | null;
|
|
3703
|
+
view: SysView;
|
|
3704
|
+
ranges: SysCalendarViewRange[];
|
|
3705
|
+
columns: SysCalendarViewColumn[];
|
|
3706
|
+
}
|
|
3707
|
+
export interface SysCalendarViewColumn {
|
|
3708
|
+
id: string;
|
|
3709
|
+
viewId: string;
|
|
3710
|
+
workspaceId: string | null;
|
|
3711
|
+
baseId: string | null;
|
|
3712
|
+
sourceId: string | null;
|
|
3713
|
+
fieldId: string;
|
|
3714
|
+
show: boolean;
|
|
3715
|
+
order: number | null;
|
|
3716
|
+
createdAt: number;
|
|
3717
|
+
updatedAt: number | null;
|
|
3718
|
+
view: SysCalendarView;
|
|
3719
|
+
field: SysField;
|
|
3720
|
+
}
|
|
3721
|
+
export interface SysCalendarViewRange {
|
|
3722
|
+
id: string;
|
|
3723
|
+
viewId: string;
|
|
3724
|
+
workspaceId: string | null;
|
|
3725
|
+
baseId: string | null;
|
|
3726
|
+
fromFieldId: string;
|
|
3727
|
+
toFieldId: string | null;
|
|
3728
|
+
createdAt: number;
|
|
3729
|
+
updatedAt: number | null;
|
|
3730
|
+
view: SysCalendarView;
|
|
3731
|
+
fromField: SysField;
|
|
3732
|
+
toField: SysField | null;
|
|
3733
|
+
}
|
|
3734
|
+
export interface SysDashboards {
|
|
3735
|
+
id: string;
|
|
3736
|
+
fkWorkspaceId: string | null;
|
|
3737
|
+
workspace: SysWorkspace | null;
|
|
3738
|
+
baseId: string | null;
|
|
3739
|
+
base: SysBases | null;
|
|
3740
|
+
title: string;
|
|
3741
|
+
description: string | null;
|
|
3742
|
+
order: number | null;
|
|
3743
|
+
status: DashboardStatus | null;
|
|
3744
|
+
meta: DashboardMeta | null;
|
|
3745
|
+
createdAt: number | null;
|
|
3746
|
+
updatedAt: number | null;
|
|
3747
|
+
widgets: SysWidgets[];
|
|
3748
|
+
}
|
|
3749
|
+
export interface SysField {
|
|
3750
|
+
id: string;
|
|
3751
|
+
tableId: string;
|
|
3752
|
+
name: string;
|
|
3753
|
+
description: string | null;
|
|
3754
|
+
keyName: string;
|
|
3755
|
+
columnName: string | null;
|
|
3756
|
+
type: FieldType;
|
|
3757
|
+
config: FieldConfig;
|
|
3758
|
+
isPrimary: boolean;
|
|
3759
|
+
isPrimaryValue: boolean | null;
|
|
3760
|
+
isRequired: boolean;
|
|
3761
|
+
isUnique: boolean | null;
|
|
3762
|
+
isAutoIncrement: boolean | null;
|
|
3763
|
+
isUnsigned: boolean | null;
|
|
3764
|
+
isSystem: boolean | null;
|
|
3765
|
+
isReadonly: boolean | null;
|
|
3766
|
+
isVirtual: boolean | null;
|
|
3767
|
+
orderIndex: number;
|
|
3768
|
+
uiDataType: string | null;
|
|
3769
|
+
dataType: string | null;
|
|
3770
|
+
numericPrecision: string | null;
|
|
3771
|
+
numericScale: string | null;
|
|
3772
|
+
characterLength: string | null;
|
|
3773
|
+
columnDefault: string | null;
|
|
3774
|
+
columnType: string | null;
|
|
3775
|
+
columnComment: string | null;
|
|
3776
|
+
columnSequenceName: string | null;
|
|
3777
|
+
dataTypeExtra: string | null;
|
|
3778
|
+
dataTypeExtraPrecision: string | null;
|
|
3779
|
+
dataTypeExtraScale: string | null;
|
|
3780
|
+
autoUpdated: boolean | null;
|
|
3781
|
+
meta: FieldMeta;
|
|
3782
|
+
validation: string | null;
|
|
3783
|
+
externalColumnName: string | null;
|
|
3784
|
+
externalDataType: ExternalDataType | null;
|
|
3785
|
+
createdAt: number;
|
|
3786
|
+
updatedAt: number | null;
|
|
3787
|
+
table: SysTable;
|
|
3788
|
+
}
|
|
3789
|
+
export interface SysFormView {
|
|
3790
|
+
viewId: string;
|
|
3791
|
+
workspaceId: string | null;
|
|
3792
|
+
baseId: string | null;
|
|
3793
|
+
sourceId: string | null;
|
|
3794
|
+
heading: string | null;
|
|
3795
|
+
subheading: string | null;
|
|
3796
|
+
successMessage: string | null;
|
|
3797
|
+
redirectUrl: string | null;
|
|
3798
|
+
redirectAfterSecs: number | null;
|
|
3799
|
+
email: string | null;
|
|
3800
|
+
submitAnotherForm: boolean;
|
|
3801
|
+
showBlankForm: boolean;
|
|
3802
|
+
meta: FormViewMeta;
|
|
3803
|
+
createdAt: number;
|
|
3804
|
+
updatedAt: number | null;
|
|
3805
|
+
view: SysView;
|
|
3806
|
+
columns: SysFormViewColumn[];
|
|
3807
|
+
}
|
|
3808
|
+
export interface SysFormViewColumn {
|
|
3809
|
+
id: string;
|
|
3810
|
+
viewId: string;
|
|
3811
|
+
workspaceId: string | null;
|
|
3812
|
+
baseId: string | null;
|
|
3813
|
+
sourceId: string | null;
|
|
3814
|
+
fieldId: string;
|
|
3815
|
+
show: boolean;
|
|
3816
|
+
order: number | null;
|
|
3817
|
+
label: string | null;
|
|
3818
|
+
helpText: string | null;
|
|
3819
|
+
placeholder: string | null;
|
|
3820
|
+
required: boolean;
|
|
3821
|
+
description: string | null;
|
|
3822
|
+
createdAt: number;
|
|
3823
|
+
updatedAt: number | null;
|
|
3824
|
+
view: SysFormView;
|
|
3825
|
+
field: SysField;
|
|
3826
|
+
}
|
|
3827
|
+
export interface SysGalleryView {
|
|
3828
|
+
viewId: string;
|
|
3829
|
+
workspaceId: string | null;
|
|
3830
|
+
baseId: string | null;
|
|
3831
|
+
sourceId: string | null;
|
|
3832
|
+
coverImageFieldId: string | null;
|
|
3833
|
+
meta: GalleryViewMeta;
|
|
3834
|
+
createdAt: number;
|
|
3835
|
+
updatedAt: number | null;
|
|
3836
|
+
view: SysView;
|
|
3837
|
+
columns: SysGalleryViewColumn[];
|
|
3838
|
+
}
|
|
3839
|
+
export interface SysGalleryViewColumn {
|
|
3840
|
+
id: string;
|
|
3841
|
+
viewId: string;
|
|
3842
|
+
workspaceId: string | null;
|
|
3843
|
+
baseId: string | null;
|
|
3844
|
+
sourceId: string | null;
|
|
3845
|
+
fieldId: string;
|
|
3846
|
+
show: boolean;
|
|
3847
|
+
order: number | null;
|
|
3848
|
+
width: string | null;
|
|
3849
|
+
createdAt: number;
|
|
3850
|
+
updatedAt: number | null;
|
|
3851
|
+
view: SysGalleryView;
|
|
3852
|
+
field: SysField;
|
|
3853
|
+
}
|
|
3854
|
+
export interface SysGridView {
|
|
3855
|
+
viewId: string;
|
|
3856
|
+
workspaceId: string | null;
|
|
3857
|
+
baseId: string | null;
|
|
3858
|
+
sourceId: string | null;
|
|
3859
|
+
rowHeight: GridRowHeight | null;
|
|
3860
|
+
meta: GridViewMeta;
|
|
3861
|
+
createdAt: number;
|
|
3862
|
+
updatedAt: number | null;
|
|
3863
|
+
view: SysView;
|
|
3864
|
+
columns: SysGridViewColumn[];
|
|
3865
|
+
}
|
|
3866
|
+
export interface SysGridViewColumn {
|
|
3867
|
+
id: string;
|
|
3868
|
+
viewId: string;
|
|
3869
|
+
workspaceId: string | null;
|
|
3870
|
+
baseId: string | null;
|
|
3871
|
+
sourceId: string | null;
|
|
3872
|
+
fieldId: string;
|
|
3873
|
+
show: boolean;
|
|
3874
|
+
order: number | null;
|
|
3875
|
+
width: string | null;
|
|
3876
|
+
align: GridColumnAlign | null;
|
|
3877
|
+
groupBy: boolean;
|
|
3878
|
+
groupByOrder: number | null;
|
|
3879
|
+
groupBySort: string | null;
|
|
3880
|
+
aggregation: string | null;
|
|
3881
|
+
createdAt: number;
|
|
3882
|
+
updatedAt: number | null;
|
|
3883
|
+
view: SysGridView;
|
|
3884
|
+
field: SysField;
|
|
3885
|
+
}
|
|
3886
|
+
export interface SysIntegrationProviders {
|
|
3887
|
+
id: number;
|
|
3888
|
+
type: ProviderEnum;
|
|
3889
|
+
imageUrl: string;
|
|
3890
|
+
displayName: string | null;
|
|
3891
|
+
createdAt: number | null;
|
|
3892
|
+
updatedAt: number | null;
|
|
3893
|
+
createdBy: number | null;
|
|
3894
|
+
updatedBy: number | null;
|
|
3895
|
+
ownerType: OwnedTypeEnum | null;
|
|
3896
|
+
mode: UserCategoryEnum;
|
|
3897
|
+
}
|
|
3898
|
+
export interface SysIntegrations {
|
|
3899
|
+
id: string;
|
|
3900
|
+
integrationName: string;
|
|
3901
|
+
typeId: number;
|
|
3902
|
+
integrationProvider?: SysIntegrationProviders;
|
|
3903
|
+
userId: number | null;
|
|
3904
|
+
ownedType: OwnedTypeEnum;
|
|
3905
|
+
createdAt: number | null;
|
|
3906
|
+
encryptedConfig: string | null;
|
|
3907
|
+
metadata: IntegrationMetadata | null;
|
|
3908
|
+
updatedAt: number | null;
|
|
3909
|
+
status: IntegrationEntityStatus;
|
|
3910
|
+
secretKey: string | null;
|
|
3911
|
+
imageKey: string | null;
|
|
3912
|
+
errorTracking: IntegrationJobErrorTracking | null;
|
|
3913
|
+
source?: SysSources;
|
|
3914
|
+
updateTimestamp: () => void;
|
|
3915
|
+
}
|
|
3916
|
+
export interface SysKanbanView {
|
|
3917
|
+
viewId: string;
|
|
3918
|
+
workspaceId: string | null;
|
|
3919
|
+
baseId: string | null;
|
|
3920
|
+
sourceId: string | null;
|
|
3921
|
+
groupFieldId: string | null;
|
|
3922
|
+
coverImageFieldId: string | null;
|
|
3923
|
+
meta: KanbanViewMeta;
|
|
3924
|
+
createdAt: number;
|
|
3925
|
+
updatedAt: number | null;
|
|
3926
|
+
view: SysView;
|
|
3927
|
+
columns: SysKanbanViewColumn[];
|
|
3928
|
+
}
|
|
3929
|
+
export interface SysKanbanViewColumn {
|
|
3930
|
+
id: string;
|
|
3931
|
+
viewId: string;
|
|
3932
|
+
workspaceId: string | null;
|
|
3933
|
+
baseId: string | null;
|
|
3934
|
+
sourceId: string | null;
|
|
3935
|
+
fieldId: string;
|
|
3936
|
+
show: boolean;
|
|
3937
|
+
order: number | null;
|
|
3938
|
+
createdAt: number;
|
|
3939
|
+
updatedAt: number | null;
|
|
3940
|
+
view: SysKanbanView;
|
|
3941
|
+
field: SysField;
|
|
3942
|
+
}
|
|
3943
|
+
export interface SysMapView {
|
|
3944
|
+
viewId: string;
|
|
3945
|
+
workspaceId: string | null;
|
|
3946
|
+
baseId: string | null;
|
|
3947
|
+
sourceId: string | null;
|
|
3948
|
+
geoDataFieldId: string | null;
|
|
3949
|
+
meta: MapViewMeta;
|
|
3950
|
+
mapType: MapProviderType | null;
|
|
3951
|
+
mapApiKey: string | null;
|
|
3952
|
+
createdAt: number;
|
|
3953
|
+
updatedAt: number | null;
|
|
3954
|
+
view: SysView;
|
|
3955
|
+
columns: SysMapViewColumn[];
|
|
3956
|
+
}
|
|
3957
|
+
export interface SysMapViewColumn {
|
|
3958
|
+
id: string;
|
|
3959
|
+
viewId: string;
|
|
3960
|
+
workspaceId: string | null;
|
|
3961
|
+
baseId: string | null;
|
|
3962
|
+
sourceId: string | null;
|
|
3963
|
+
fieldId: string;
|
|
3964
|
+
show: boolean;
|
|
3965
|
+
order: number | null;
|
|
3966
|
+
createdAt: number;
|
|
3967
|
+
updatedAt: number | null;
|
|
3968
|
+
view: SysMapView;
|
|
3969
|
+
field: SysField;
|
|
3970
|
+
}
|
|
3971
|
+
export interface SysRowColorCondition {
|
|
3972
|
+
id: string;
|
|
3973
|
+
viewId: string;
|
|
3974
|
+
fieldId: string;
|
|
3975
|
+
operator: string;
|
|
3976
|
+
value: string | null;
|
|
3977
|
+
color: string | null;
|
|
3978
|
+
backgroundColor: string | null;
|
|
3979
|
+
order: number | null;
|
|
3980
|
+
createdAt: number;
|
|
3981
|
+
updatedAt: number | null;
|
|
3982
|
+
view: SysView;
|
|
3983
|
+
field: SysField;
|
|
3984
|
+
}
|
|
3985
|
+
export interface SysSources {
|
|
3986
|
+
id: string;
|
|
3987
|
+
fkWorkspaceId: string | null;
|
|
3988
|
+
baseId: string | null;
|
|
3989
|
+
alias: string | null;
|
|
3990
|
+
type: SourceType | null;
|
|
3991
|
+
config: SourceConfig | null;
|
|
3992
|
+
enabled: boolean | null;
|
|
3993
|
+
isMeta: boolean | null;
|
|
3994
|
+
order: number | null;
|
|
3995
|
+
inflectionColumn: string | null;
|
|
3996
|
+
inflectionTable: string | null;
|
|
3997
|
+
meta: SourceMeta | null;
|
|
3998
|
+
deleted: boolean | null;
|
|
3999
|
+
fkIntegrationId: string | null;
|
|
4000
|
+
integration: SysIntegrations | null;
|
|
4001
|
+
createdAt: number | null;
|
|
4002
|
+
updatedAt: number | null;
|
|
4003
|
+
}
|
|
4004
|
+
export interface SysTable {
|
|
4005
|
+
id: string;
|
|
4006
|
+
workspaceId: string;
|
|
4007
|
+
name: string;
|
|
4008
|
+
slug: string;
|
|
4009
|
+
description: string | null;
|
|
4010
|
+
baseId: string | null;
|
|
4011
|
+
sourceId: string | null;
|
|
4012
|
+
tableName: string | null;
|
|
4013
|
+
type: ModelType | null;
|
|
4014
|
+
storageMode: StorageMode | null;
|
|
4015
|
+
order: number | null;
|
|
4016
|
+
meta: TableMeta;
|
|
4017
|
+
settings: TableSettings;
|
|
4018
|
+
isManyToMany: boolean | null;
|
|
4019
|
+
isSynced: boolean | null;
|
|
4020
|
+
isDeleted: boolean | null;
|
|
4021
|
+
externalSchemaName: string | null;
|
|
4022
|
+
externalTableName: string | null;
|
|
4023
|
+
createdAt: number;
|
|
4024
|
+
updatedAt: number | null;
|
|
4025
|
+
workspace: SysWorkspace;
|
|
4026
|
+
fields: SysField[];
|
|
4027
|
+
views: SysView[];
|
|
4028
|
+
source: SysSources | null;
|
|
4029
|
+
records: UsrRecord[];
|
|
4030
|
+
}
|
|
4031
|
+
export interface SysUser {
|
|
4032
|
+
id: number;
|
|
4033
|
+
fullName: string;
|
|
4034
|
+
avatar: string;
|
|
4035
|
+
email: string;
|
|
4036
|
+
phoneNumber: string;
|
|
4037
|
+
isActive: boolean;
|
|
4038
|
+
createdAt: number;
|
|
4039
|
+
updatedAt: number;
|
|
4040
|
+
}
|
|
4041
|
+
export interface SysView {
|
|
4042
|
+
id: string;
|
|
4043
|
+
tableId: string;
|
|
4044
|
+
workspaceId: string | null;
|
|
4045
|
+
baseId: string | null;
|
|
4046
|
+
sourceId: string | null;
|
|
4047
|
+
name: string;
|
|
4048
|
+
description: string | null;
|
|
4049
|
+
type: ViewType;
|
|
4050
|
+
show: boolean;
|
|
4051
|
+
order: number | null;
|
|
4052
|
+
lockType: ViewLockType | null;
|
|
4053
|
+
uuid: string | null;
|
|
4054
|
+
password: string | null;
|
|
4055
|
+
showSystemFields: boolean;
|
|
4056
|
+
meta: ViewMeta;
|
|
4057
|
+
rowColoringMode: RowColoringMode | null;
|
|
4058
|
+
createdBy: number | null;
|
|
4059
|
+
ownedBy: number | null;
|
|
4060
|
+
customUrlId: string | null;
|
|
4061
|
+
isDefault: boolean;
|
|
4062
|
+
createdAt: number;
|
|
4063
|
+
updatedAt: number | null;
|
|
4064
|
+
table: SysTable;
|
|
4065
|
+
gridView: SysGridView;
|
|
4066
|
+
kanbanView: SysKanbanView;
|
|
4067
|
+
galleryView: SysGalleryView;
|
|
4068
|
+
calendarView: SysCalendarView;
|
|
4069
|
+
formView: SysFormView;
|
|
4070
|
+
mapView: SysMapView;
|
|
4071
|
+
filters: SysViewFilter[];
|
|
4072
|
+
sorts: SysViewSort[];
|
|
4073
|
+
rowColorConditions: SysRowColorCondition[];
|
|
4074
|
+
}
|
|
4075
|
+
export interface SysViewFilter {
|
|
4076
|
+
id: string;
|
|
4077
|
+
viewId: string | null;
|
|
4078
|
+
workspaceId: string | null;
|
|
4079
|
+
baseId: string | null;
|
|
4080
|
+
sourceId: string | null;
|
|
4081
|
+
fieldId: string | null;
|
|
4082
|
+
parentId: string | null;
|
|
4083
|
+
parentFieldId: string | null;
|
|
4084
|
+
linkFieldId: string | null;
|
|
4085
|
+
hookId: string | null;
|
|
4086
|
+
widgetId: string | null;
|
|
4087
|
+
comparisonOp: FilterComparisonOp | null;
|
|
4088
|
+
comparisonSubOp: FilterComparisonSubOp | null;
|
|
4089
|
+
value: string | null;
|
|
4090
|
+
isGroup: boolean;
|
|
4091
|
+
logicalOp: FilterLogicalOp | null;
|
|
4092
|
+
order: number | null;
|
|
4093
|
+
createdAt: number;
|
|
4094
|
+
updatedAt: number | null;
|
|
4095
|
+
view: SysView | null;
|
|
4096
|
+
field: SysField | null;
|
|
4097
|
+
widget: SysWidgets | null;
|
|
4098
|
+
parent: SysViewFilter | null;
|
|
4099
|
+
children: SysViewFilter[];
|
|
4100
|
+
}
|
|
4101
|
+
export interface SysViewSort {
|
|
4102
|
+
id: string;
|
|
4103
|
+
viewId: string;
|
|
4104
|
+
workspaceId: string | null;
|
|
4105
|
+
baseId: string | null;
|
|
4106
|
+
sourceId: string | null;
|
|
4107
|
+
fieldId: string;
|
|
4108
|
+
direction: ViewSortDirection;
|
|
4109
|
+
order: number | null;
|
|
4110
|
+
pushToTop: boolean;
|
|
4111
|
+
createdAt: number;
|
|
4112
|
+
updatedAt: number | null;
|
|
4113
|
+
view: SysView;
|
|
4114
|
+
field: SysField;
|
|
4115
|
+
}
|
|
4116
|
+
export interface SysWidgets {
|
|
4117
|
+
id: string;
|
|
4118
|
+
fkWorkspaceId: string | null;
|
|
4119
|
+
baseId: string | null;
|
|
4120
|
+
fkDashboardId: string | null;
|
|
4121
|
+
dashboard: SysDashboards | null;
|
|
4122
|
+
title: string;
|
|
4123
|
+
description: string | null;
|
|
4124
|
+
type: WidgetType;
|
|
4125
|
+
config: WidgetConfig | null;
|
|
4126
|
+
row: number | null;
|
|
4127
|
+
col: number | null;
|
|
4128
|
+
sizeX: number | null;
|
|
4129
|
+
sizeY: number | null;
|
|
4130
|
+
fkModelId: string | null;
|
|
4131
|
+
model: SysTable | null;
|
|
4132
|
+
fkViewId: string | null;
|
|
4133
|
+
view: SysView | null;
|
|
4134
|
+
filter: WidgetFilter | null;
|
|
4135
|
+
meta: WidgetMeta | null;
|
|
4136
|
+
order: number | null;
|
|
4137
|
+
createdAt: number | null;
|
|
4138
|
+
updatedAt: number | null;
|
|
4139
|
+
}
|
|
4140
|
+
export interface SysWorkspace {
|
|
4141
|
+
id: string;
|
|
4142
|
+
name: string;
|
|
4143
|
+
slug: string;
|
|
4144
|
+
createdAt: number;
|
|
4145
|
+
tables: SysTable[];
|
|
4146
|
+
ownerId: number;
|
|
4147
|
+
description: string | null;
|
|
4148
|
+
settings: WorkspaceSettings;
|
|
4149
|
+
isActive: boolean;
|
|
4150
|
+
bases: SysBases[];
|
|
4151
|
+
members: SysWorkspaceMember[];
|
|
4152
|
+
}
|
|
4153
|
+
export interface SysWorkspaceMember {
|
|
4154
|
+
id: string;
|
|
4155
|
+
workspaceId: string;
|
|
4156
|
+
userId: number;
|
|
4157
|
+
scopeRoleId: string;
|
|
4158
|
+
starred: boolean | null;
|
|
4159
|
+
order: number | null;
|
|
4160
|
+
hidden: boolean | null;
|
|
4161
|
+
isMigrated: boolean | null;
|
|
4162
|
+
deleted: boolean;
|
|
4163
|
+
invitedBy: number;
|
|
4164
|
+
joinedAt: number;
|
|
4165
|
+
createdAt: number | null;
|
|
4166
|
+
updatedAt: number | null;
|
|
4167
|
+
isActive: boolean;
|
|
4168
|
+
workspace: SysWorkspace;
|
|
4169
|
+
scopeRole: ScopeRole;
|
|
4170
|
+
}
|
|
1925
4171
|
export type T = unknown;
|
|
1926
4172
|
export type TABLE = unknown;
|
|
1927
4173
|
export type TABLE_CREATE = unknown;
|
|
@@ -2002,6 +4248,12 @@ export type TALL = unknown;
|
|
|
2002
4248
|
export type TCB_BANK = unknown;
|
|
2003
4249
|
export type TELEGRAM = unknown;
|
|
2004
4250
|
export type TELEGRAM_BOT = unknown;
|
|
4251
|
+
export interface TelegramNotificationConfig extends BaseNotificationConfig {
|
|
4252
|
+
chatId: string;
|
|
4253
|
+
botToken: string;
|
|
4254
|
+
parseMode?: 'HTML' | 'Markdown';
|
|
4255
|
+
defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
|
|
4256
|
+
}
|
|
2005
4257
|
export type TEST = unknown;
|
|
2006
4258
|
export type TEXT = unknown;
|
|
2007
4259
|
export type TEXTAREA = unknown;
|
|
@@ -2037,6 +4289,7 @@ export type TextWidgetVariableBinding = {
|
|
|
2037
4289
|
export type THURSDAY = unknown;
|
|
2038
4290
|
export type TIKTOK = unknown;
|
|
2039
4291
|
export type TIME = unknown;
|
|
4292
|
+
export type TimeInput = HrTime | number | Date;
|
|
2040
4293
|
export type TIMELINE = unknown;
|
|
2041
4294
|
export type TIMESTAMP = unknown;
|
|
2042
4295
|
export type TIMESTAMPTZ = unknown;
|
|
@@ -2049,11 +4302,42 @@ export type TO_STRING = unknown;
|
|
|
2049
4302
|
export type TO_TIMESTAMP = unknown;
|
|
2050
4303
|
export type TODAY = unknown;
|
|
2051
4304
|
export type TOMORROW = unknown;
|
|
4305
|
+
export interface ToolRequestConfig {
|
|
4306
|
+
bodyType?: BodyType;
|
|
4307
|
+
defaultHeaders?: Record<string, string>;
|
|
4308
|
+
fileMapping?: Record<string, FileFieldConfig>;
|
|
4309
|
+
binary?: FileDescriptor;
|
|
4310
|
+
timeout?: number;
|
|
4311
|
+
followRedirect?: boolean;
|
|
4312
|
+
maxRedirects?: number;
|
|
4313
|
+
}
|
|
2052
4314
|
export type TOOLS = unknown;
|
|
4315
|
+
export declare enum ToolStatusEnum {
|
|
4316
|
+
DRAFT = "DRAFT",
|
|
4317
|
+
APPROVED = "APPROVED",
|
|
4318
|
+
DEPRECATED = "DEPRECATED"
|
|
4319
|
+
}
|
|
2053
4320
|
export interface ToolUsageConfig {
|
|
2054
4321
|
http?: HttpUsageConfig;
|
|
2055
4322
|
}
|
|
4323
|
+
export interface Topic {
|
|
4324
|
+
parent: PubSub;
|
|
4325
|
+
pubsub: PubSub;
|
|
4326
|
+
request: typeof PubSub.prototype.request;
|
|
4327
|
+
iam: IAM;
|
|
4328
|
+
metadata?: TopicMetadata;
|
|
4329
|
+
publisher: Publisher;
|
|
4330
|
+
getSubscriptionsStream: () => ObjectStream<Subscription>;
|
|
4331
|
+
id_: any;
|
|
4332
|
+
}
|
|
4333
|
+
export type TopicMetadata = google.pubsub.v1.ITopic;
|
|
2056
4334
|
export type TPB_BANK = unknown;
|
|
4335
|
+
export interface TraceState {
|
|
4336
|
+
set(key: string, value: string): TraceState;
|
|
4337
|
+
unset(key: string): TraceState;
|
|
4338
|
+
get(key: string): string | undefined;
|
|
4339
|
+
serialize(): string;
|
|
4340
|
+
}
|
|
2057
4341
|
export interface TransformDefinition {
|
|
2058
4342
|
sourceKeys: string[];
|
|
2059
4343
|
operation?: TransformOperation;
|
|
@@ -2100,6 +4384,95 @@ export declare enum TrustLevelEnum {
|
|
|
2100
4384
|
VERIFIED = "Verified"
|
|
2101
4385
|
}
|
|
2102
4386
|
export type TUESDAY = unknown;
|
|
4387
|
+
export interface TypeAgent {
|
|
4388
|
+
id: number;
|
|
4389
|
+
name: ILocalizedText;
|
|
4390
|
+
description: ILocalizedText | null;
|
|
4391
|
+
createdAt: number;
|
|
4392
|
+
updatedAt: number;
|
|
4393
|
+
deletedAt: number | null;
|
|
4394
|
+
employeeId: number | null;
|
|
4395
|
+
userId: number | null;
|
|
4396
|
+
workspaceId: string | null;
|
|
4397
|
+
baseId: string | null;
|
|
4398
|
+
type: TypeAgentEnum;
|
|
4399
|
+
active: boolean;
|
|
4400
|
+
priority: number;
|
|
4401
|
+
isAllModel: boolean;
|
|
4402
|
+
enableProfileCustomization: boolean;
|
|
4403
|
+
enableTool: boolean;
|
|
4404
|
+
enableOutputMessenger: boolean;
|
|
4405
|
+
enableOutputLivechat: boolean;
|
|
4406
|
+
enableOutputZaloOa: boolean;
|
|
4407
|
+
enableOutputPayment: boolean;
|
|
4408
|
+
enableConvert: boolean;
|
|
4409
|
+
enableShipment: boolean;
|
|
4410
|
+
enableMultiAgent: boolean;
|
|
4411
|
+
enableStrategy: boolean;
|
|
4412
|
+
enableConfigStrategy: boolean;
|
|
4413
|
+
enableResourcesUrls: boolean;
|
|
4414
|
+
enableResourcesKnowledgeFiles: boolean;
|
|
4415
|
+
enableResourcesMedias: boolean;
|
|
4416
|
+
enableResourcesProducts: boolean;
|
|
4417
|
+
enableOutputZaloPersonal: boolean;
|
|
4418
|
+
enableOutputZaloBot: boolean;
|
|
4419
|
+
enableSeeding: boolean;
|
|
4420
|
+
enableGenImage: boolean;
|
|
4421
|
+
enableGenVideo: boolean;
|
|
4422
|
+
enableVoice: boolean;
|
|
4423
|
+
enableWorkflows: boolean;
|
|
4424
|
+
enableOrder: boolean;
|
|
4425
|
+
icon: string | null;
|
|
4426
|
+
}
|
|
4427
|
+
export declare enum TypeAgentEnum {
|
|
4428
|
+
SYSTEM = "SYSTEM",
|
|
4429
|
+
STRATEGY = "STRATEGY",
|
|
4430
|
+
ASSISTANT = "ASSISTANT",
|
|
4431
|
+
SUPERVISOR = "SUPERVISOR",
|
|
4432
|
+
SEEDING = "SEEDING",
|
|
4433
|
+
MEDIA = "MEDIA",
|
|
4434
|
+
BUSINESS = "BUSINESS",
|
|
4435
|
+
EXECUTE = "EXECUTE",
|
|
4436
|
+
CUSTOM = "CUSTOM"
|
|
4437
|
+
}
|
|
4438
|
+
export interface UiEdge {
|
|
4439
|
+
id: number;
|
|
4440
|
+
source: number;
|
|
4441
|
+
target: number;
|
|
4442
|
+
sourceHandle?: string;
|
|
4443
|
+
}
|
|
4444
|
+
export interface UiEdgeDto {
|
|
4445
|
+
id: number;
|
|
4446
|
+
source: number;
|
|
4447
|
+
target: number;
|
|
4448
|
+
sourceHandle?: string;
|
|
4449
|
+
}
|
|
4450
|
+
export interface UiGraph {
|
|
4451
|
+
steps: UiStep[];
|
|
4452
|
+
edges: UiEdge[];
|
|
4453
|
+
}
|
|
4454
|
+
export interface UiGraphDto {
|
|
4455
|
+
steps: (UiStepDto)[];
|
|
4456
|
+
edges: (UiEdgeDto)[];
|
|
4457
|
+
}
|
|
4458
|
+
export interface UiStep {
|
|
4459
|
+
id: number;
|
|
4460
|
+
type: FlowNodeType;
|
|
4461
|
+
position: Position;
|
|
4462
|
+
data: UiStepData;
|
|
4463
|
+
}
|
|
4464
|
+
export interface UiStepData {
|
|
4465
|
+
label?: string;
|
|
4466
|
+
}
|
|
4467
|
+
export interface UiStepDataDto {
|
|
4468
|
+
label?: string;
|
|
4469
|
+
}
|
|
4470
|
+
export interface UiStepDto {
|
|
4471
|
+
id: number;
|
|
4472
|
+
type: FlowNodeType;
|
|
4473
|
+
position: PositionDto;
|
|
4474
|
+
data: UiStepDataDto;
|
|
4475
|
+
}
|
|
2103
4476
|
export type UNFORMATTED_VALUE = unknown;
|
|
2104
4477
|
export type UNIQUEIDENTIFIER = unknown;
|
|
2105
4478
|
export type Unverified = unknown;
|
|
@@ -2127,6 +4500,14 @@ export interface UpdateSharedDashboardDto {
|
|
|
2127
4500
|
}
|
|
2128
4501
|
export type UPPERCASE = unknown;
|
|
2129
4502
|
export type URL = unknown;
|
|
4503
|
+
export interface URLSigner {
|
|
4504
|
+
auth: any;
|
|
4505
|
+
bucket: any;
|
|
4506
|
+
file?: any;
|
|
4507
|
+
storage: any;
|
|
4508
|
+
getSignedUrlV2: any;
|
|
4509
|
+
getSignedUrlV4: any;
|
|
4510
|
+
}
|
|
2130
4511
|
export interface User {
|
|
2131
4512
|
id: number;
|
|
2132
4513
|
fullName: string;
|
|
@@ -2186,10 +4567,80 @@ export declare enum UserCategoryEnum {
|
|
|
2186
4567
|
VERIFIED = "VERIFIED",
|
|
2187
4568
|
COMMUNITY = "COMMUNITY"
|
|
2188
4569
|
}
|
|
4570
|
+
export interface UserToolsCustom {
|
|
4571
|
+
id: string;
|
|
4572
|
+
workspaceId: string;
|
|
4573
|
+
baseId: string | null;
|
|
4574
|
+
userId: number | null;
|
|
4575
|
+
employeeId: number | null;
|
|
4576
|
+
createdAt: number;
|
|
4577
|
+
updatedAt: number;
|
|
4578
|
+
status: ToolStatusEnum;
|
|
4579
|
+
toolName: string;
|
|
4580
|
+
versionDefaultId: string | null;
|
|
4581
|
+
versionDefault?: UserToolsCustomVersion;
|
|
4582
|
+
versions?: UserToolsCustomVersion[];
|
|
4583
|
+
hasUpdate: boolean;
|
|
4584
|
+
projectSchemaId: string | null;
|
|
4585
|
+
projectSchema?: ProjectSchema;
|
|
4586
|
+
active: boolean;
|
|
4587
|
+
type: 'SELF_CREATED' | 'ON_SALE' | 'PURCHASE_TYPE';
|
|
4588
|
+
}
|
|
4589
|
+
export interface UserToolsCustomVersion {
|
|
4590
|
+
id: string;
|
|
4591
|
+
workspaceId: string;
|
|
4592
|
+
baseId: string | null;
|
|
4593
|
+
toolId: string;
|
|
4594
|
+
tool?: UserToolsCustom;
|
|
4595
|
+
userId: number | null;
|
|
4596
|
+
employeeId: number | null;
|
|
4597
|
+
versionNumber: number;
|
|
4598
|
+
versionName: string | null;
|
|
4599
|
+
isDefault: boolean;
|
|
4600
|
+
createdAt: number;
|
|
4601
|
+
updatedAt: number;
|
|
4602
|
+
status: ToolStatusEnum;
|
|
4603
|
+
active: boolean;
|
|
4604
|
+
edited: boolean;
|
|
4605
|
+
createdFromVersionId: string | null;
|
|
4606
|
+
createdFromVersion?: UserToolsCustomVersion;
|
|
4607
|
+
toolDescription: string | null;
|
|
4608
|
+
endpoint: string;
|
|
4609
|
+
method: HttpMethodEnum;
|
|
4610
|
+
inputSchema: Schema;
|
|
4611
|
+
outputSchema: Schema | null;
|
|
4612
|
+
requestConfig: ToolRequestConfig | null;
|
|
4613
|
+
inputExample: Record<string, unknown> | null;
|
|
4614
|
+
outputExample: Record<string, unknown> | null;
|
|
4615
|
+
baseUrls: string[];
|
|
4616
|
+
integrationProviderId: number | null;
|
|
4617
|
+
integrationProvider?: IntegrationProvider;
|
|
4618
|
+
defaultIntegrationId: string | null;
|
|
4619
|
+
defaultIntegration?: Integration;
|
|
4620
|
+
}
|
|
2189
4621
|
export declare enum UserTypeEnum {
|
|
2190
4622
|
INDIVIDUAL = "INDIVIDUAL",
|
|
2191
4623
|
BUSINESS = "BUSINESS"
|
|
2192
4624
|
}
|
|
4625
|
+
export interface UsrRecord {
|
|
4626
|
+
id: string;
|
|
4627
|
+
tableId: string;
|
|
4628
|
+
data: RecordData;
|
|
4629
|
+
createdBy: number;
|
|
4630
|
+
updatedBy: number;
|
|
4631
|
+
createdAt: number;
|
|
4632
|
+
updatedAt: number;
|
|
4633
|
+
table: SysTable;
|
|
4634
|
+
history: UsrRecordHistory[];
|
|
4635
|
+
}
|
|
4636
|
+
export interface UsrRecordHistory {
|
|
4637
|
+
id: string;
|
|
4638
|
+
recordId: string;
|
|
4639
|
+
changedBy: number;
|
|
4640
|
+
changedAt: number;
|
|
4641
|
+
changes: RecordHistoryChanges;
|
|
4642
|
+
record: UsrRecord;
|
|
4643
|
+
}
|
|
2193
4644
|
export type UUID = unknown;
|
|
2194
4645
|
export type VARBINARY = unknown;
|
|
2195
4646
|
export type VARCHAR = unknown;
|
|
@@ -2263,6 +4714,13 @@ export type VPB_BANK = unknown;
|
|
|
2263
4714
|
export type VTB_BANK = unknown;
|
|
2264
4715
|
export type WAITING = unknown;
|
|
2265
4716
|
export type WEBHOOK = unknown;
|
|
4717
|
+
export interface WebhookNotificationConfig extends BaseNotificationConfig {
|
|
4718
|
+
url: string;
|
|
4719
|
+
method: 'POST' | 'PUT' | 'PATCH';
|
|
4720
|
+
headers?: Record<string, string>;
|
|
4721
|
+
timeout?: number;
|
|
4722
|
+
defaultNotificationTemplates: Record<EventNotificationStatus, string | null>;
|
|
4723
|
+
}
|
|
2266
4724
|
export type WEBSITE = unknown;
|
|
2267
4725
|
export type WEDNESDAY = unknown;
|
|
2268
4726
|
export type WEEKLY = unknown;
|
|
@@ -2363,15 +4821,70 @@ export type WidgetSortSpec = {
|
|
|
2363
4821
|
direction: 'asc' | 'desc';
|
|
2364
4822
|
};
|
|
2365
4823
|
export declare enum WidgetType {
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
4824
|
+
TABLE = "TABLE",
|
|
4825
|
+
CHART = "CHART",
|
|
4826
|
+
CARD = "CARD",
|
|
4827
|
+
METRIC = "METRIC",
|
|
4828
|
+
GAUGE = "GAUGE",
|
|
4829
|
+
PROGRESS = "PROGRESS",
|
|
4830
|
+
HEATMAP = "HEATMAP",
|
|
4831
|
+
FUNNEL = "FUNNEL",
|
|
4832
|
+
PIE_CHART = "PIE_CHART",
|
|
4833
|
+
FORM = "FORM",
|
|
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"
|
|
4867
|
+
}
|
|
4868
|
+
export interface Workflow {
|
|
4869
|
+
id: string;
|
|
4870
|
+
workspaceId?: string;
|
|
4871
|
+
baseId?: string | null;
|
|
4872
|
+
name: string;
|
|
4873
|
+
maxErrorCount: number;
|
|
4874
|
+
isActive: boolean;
|
|
4875
|
+
settings: INotificationConfig;
|
|
4876
|
+
userId: number | null;
|
|
4877
|
+
employeeId: number | null;
|
|
4878
|
+
createdAt: number;
|
|
4879
|
+
updatedAt: number;
|
|
4880
|
+
inputs: string[];
|
|
4881
|
+
outputs: string[];
|
|
4882
|
+
triggerNodeId: string | null;
|
|
4883
|
+
isSubWorkflow: boolean;
|
|
4884
|
+
inputSchema: any;
|
|
4885
|
+
outputSchema: any;
|
|
4886
|
+
deepCount: number;
|
|
4887
|
+
states: IStateVariable[];
|
|
2375
4888
|
}
|
|
2376
4889
|
export type WORKFLOW = unknown;
|
|
2377
4890
|
export type WORKFLOW_TRIGGER = unknown;
|
|
@@ -2462,6 +4975,9 @@ export interface WorkspaceSettings {
|
|
|
2462
4975
|
customDomainVerified?: boolean;
|
|
2463
4976
|
}
|
|
2464
4977
|
export type WorkspaceSystemRoleCode = (typeof WORKSPACE_SYSTEM_ROLE_CODE)[keyof typeof WORKSPACE_SYSTEM_ROLE_CODE];
|
|
4978
|
+
export interface WriteCallback {
|
|
4979
|
+
(error?: Error | null): void;
|
|
4980
|
+
}
|
|
2465
4981
|
export type X_WWW_FORM_URLENCODED = unknown;
|
|
2466
4982
|
export type XAI = unknown;
|
|
2467
4983
|
export type XLSX = unknown;
|
|
@@ -2470,6 +4986,7 @@ export type YEAR = unknown;
|
|
|
2470
4986
|
export type YESTERDAY = unknown;
|
|
2471
4987
|
export type YOUTUBE = unknown;
|
|
2472
4988
|
export type ZALO_BOT = unknown;
|
|
4989
|
+
export type ZALO_GROUP = unknown;
|
|
2473
4990
|
export type ZALO_OA = unknown;
|
|
2474
4991
|
export type ZALO_OA_GROUP = unknown;
|
|
2475
4992
|
export type ZALO_OA_PROMOTION = unknown;
|
|
@@ -2477,4 +4994,18 @@ export type ZALO_PERSONAL = unknown;
|
|
|
2477
4994
|
export type ZALO_PERSONAL_CRAWL_FRIENDS = unknown;
|
|
2478
4995
|
export type ZALO_PERSONAL_CRAWL_GROUPS = unknown;
|
|
2479
4996
|
export type ZALO_ZNS = unknown;
|
|
4997
|
+
export interface ZaloBotNotificationConfig extends BaseNotificationConfig {
|
|
4998
|
+
userId: string;
|
|
4999
|
+
defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
|
|
5000
|
+
}
|
|
5001
|
+
export interface ZaloOANotificationConfig extends BaseNotificationConfig {
|
|
5002
|
+
defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
|
|
5003
|
+
messageFormat?: 'TEXT' | 'TEMPLATE';
|
|
5004
|
+
}
|
|
5005
|
+
export interface ZaloPersonalNotificationConfig extends BaseNotificationConfig {
|
|
5006
|
+
userId: string;
|
|
5007
|
+
phoneNumber?: string;
|
|
5008
|
+
defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
|
|
5009
|
+
}
|
|
5010
|
+
export {};
|
|
2480
5011
|
//# sourceMappingURL=shared-types.d.ts.map
|