@redonvn/redai-backend-api-sdk 0.5.51 → 0.5.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/dynamic-table/filter-operators.js +93 -45
- package/dist/cjs/dynamic-table/filter-operators.js.map +1 -1
- package/dist/cjs/generated/index.js +7 -31
- package/dist/cjs/generated/index.js.map +1 -1
- package/dist/cjs/generated/integration/index.js +1 -2
- package/dist/cjs/generated/integration/index.js.map +1 -1
- package/dist/cjs/generated/integration/services/facebook-ads-user.service.js +7 -7
- package/dist/cjs/generated/integration/services/facebook-ads-user.service.js.map +1 -1
- package/dist/cjs/generated/integration/services/index.js +5 -3
- package/dist/cjs/generated/integration/services/index.js.map +1 -1
- package/dist/cjs/generated/integration/services/integration-provider.service.js +27 -0
- package/dist/cjs/generated/integration/services/integration-provider.service.js.map +1 -1
- package/dist/cjs/generated/integration/services/integration-user.service.js +18 -0
- package/dist/cjs/generated/integration/services/integration-user.service.js.map +1 -1
- package/dist/cjs/generated/integration/services/tiktok-data-portability.service.js +46 -0
- package/dist/cjs/generated/integration/services/tiktok-data-portability.service.js.map +1 -0
- package/dist/cjs/generated/integration/services/tiktok-integration.service.js +226 -0
- package/dist/cjs/generated/integration/services/tiktok-integration.service.js.map +1 -0
- package/dist/cjs/generated/integration/types.js +21 -174
- package/dist/cjs/generated/integration/types.js.map +1 -1
- package/dist/cjs/generated/rai-job/index.js +0 -5
- package/dist/cjs/generated/rai-job/index.js.map +1 -1
- package/dist/cjs/generated/rai-job/services/index.js +3 -3
- package/dist/cjs/generated/rai-job/services/index.js.map +1 -1
- package/dist/cjs/generated/rai-job/services/status.service.js +19 -0
- package/dist/cjs/generated/rai-job/services/status.service.js.map +1 -0
- package/dist/cjs/generated/rai-job/types.js +0 -20
- package/dist/cjs/generated/rai-job/types.js.map +1 -1
- package/dist/cjs/generated/shared-types.js +31 -2
- package/dist/cjs/generated/shared-types.js.map +1 -1
- package/dist/cjs/index.js +3 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/dynamic-table/filter-operators.d.ts +5 -3
- package/dist/esm/dynamic-table/filter-operators.d.ts.map +1 -1
- package/dist/esm/dynamic-table/filter-operators.js +94 -46
- package/dist/esm/dynamic-table/filter-operators.js.map +1 -1
- package/dist/esm/generated/dynamic-table/types.d.ts +2 -2
- package/dist/esm/generated/dynamic-table/types.d.ts.map +1 -1
- package/dist/esm/generated/index.d.ts +3 -4
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/generated/index.js +1 -2
- package/dist/esm/generated/index.js.map +1 -1
- package/dist/esm/generated/integration/index.js +1 -1
- package/dist/esm/generated/integration/index.js.map +1 -1
- package/dist/esm/generated/integration/services/facebook-ads-user.service.js +7 -7
- package/dist/esm/generated/integration/services/facebook-ads-user.service.js.map +1 -1
- package/dist/esm/generated/integration/services/index.d.ts +2 -1
- package/dist/esm/generated/integration/services/index.d.ts.map +1 -1
- package/dist/esm/generated/integration/services/index.js +2 -1
- package/dist/esm/generated/integration/services/index.js.map +1 -1
- package/dist/esm/generated/integration/services/integration-provider.service.d.ts +6 -1
- package/dist/esm/generated/integration/services/integration-provider.service.d.ts.map +1 -1
- package/dist/esm/generated/integration/services/integration-provider.service.js +27 -0
- package/dist/esm/generated/integration/services/integration-provider.service.js.map +1 -1
- package/dist/esm/generated/integration/services/integration-user.service.d.ts +3 -1
- package/dist/esm/generated/integration/services/integration-user.service.d.ts.map +1 -1
- package/dist/esm/generated/integration/services/integration-user.service.js +18 -0
- package/dist/esm/generated/integration/services/integration-user.service.js.map +1 -1
- package/dist/esm/generated/integration/services/tiktok-data-portability.service.d.ts +11 -0
- package/dist/esm/generated/integration/services/tiktok-data-portability.service.d.ts.map +1 -0
- package/dist/esm/generated/integration/services/tiktok-data-portability.service.js +42 -0
- package/dist/esm/generated/integration/services/tiktok-data-portability.service.js.map +1 -0
- package/dist/esm/generated/integration/services/tiktok-integration.service.d.ts +34 -0
- package/dist/esm/generated/integration/services/tiktok-integration.service.d.ts.map +1 -0
- package/dist/esm/generated/integration/services/tiktok-integration.service.js +222 -0
- package/dist/esm/generated/integration/services/tiktok-integration.service.js.map +1 -0
- package/dist/esm/generated/integration/types.d.ts +513 -1185
- package/dist/esm/generated/integration/types.d.ts.map +1 -1
- package/dist/esm/generated/integration/types.js +1 -174
- package/dist/esm/generated/integration/types.js.map +1 -1
- package/dist/esm/generated/rai-job/index.d.ts +0 -1
- package/dist/esm/generated/rai-job/index.d.ts.map +1 -1
- package/dist/esm/generated/rai-job/index.js +0 -1
- package/dist/esm/generated/rai-job/index.js.map +1 -1
- package/dist/esm/generated/rai-job/services/index.d.ts +1 -1
- package/dist/esm/generated/rai-job/services/index.d.ts.map +1 -1
- package/dist/esm/generated/rai-job/services/index.js +1 -1
- package/dist/esm/generated/rai-job/services/index.js.map +1 -1
- package/dist/esm/generated/rai-job/services/status.service.d.ts +8 -0
- package/dist/esm/generated/rai-job/services/status.service.d.ts.map +1 -0
- package/dist/esm/generated/rai-job/services/status.service.js +15 -0
- package/dist/esm/generated/rai-job/services/status.service.js.map +1 -0
- package/dist/esm/generated/rai-job/types.d.ts +3 -93
- package/dist/esm/generated/rai-job/types.d.ts.map +1 -1
- package/dist/esm/generated/rai-job/types.js +1 -18
- package/dist/esm/generated/rai-job/types.js.map +1 -1
- package/dist/esm/generated/shared-types.d.ts +660 -42
- package/dist/esm/generated/shared-types.d.ts.map +1 -1
- package/dist/esm/generated/shared-types.js +29 -0
- package/dist/esm/generated/shared-types.js.map +1 -1
- package/dist/esm/index.d.ts +8 -6
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/generated/integration/services/facebook-ads-campaign.service.js +0 -82
- package/dist/cjs/generated/integration/services/facebook-ads-campaign.service.js.map +0 -1
- package/dist/cjs/generated/rai-job/services/rai-job.service.js +0 -28
- package/dist/cjs/generated/rai-job/services/rai-job.service.js.map +0 -1
- package/dist/esm/generated/integration/services/facebook-ads-campaign.service.d.ts +0 -15
- package/dist/esm/generated/integration/services/facebook-ads-campaign.service.d.ts.map +0 -1
- package/dist/esm/generated/integration/services/facebook-ads-campaign.service.js +0 -78
- package/dist/esm/generated/integration/services/facebook-ads-campaign.service.js.map +0 -1
- package/dist/esm/generated/rai-job/services/rai-job.service.d.ts +0 -9
- package/dist/esm/generated/rai-job/services/rai-job.service.d.ts.map +0 -1
- package/dist/esm/generated/rai-job/services/rai-job.service.js +0 -24
- package/dist/esm/generated/rai-job/services/rai-job.service.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { PaginationMeta, QueryDto } from '../shared-types';
|
|
2
|
-
import { ProviderEnum, SortDirection } from '../shared-types';
|
|
3
|
-
export type { ACB_BANK, ACTIVE, AGENT_DESKTOP_SDK_EXE, AGRIBANK_BANK, AHAMOVE, ALIBABA_CODING_PLAN, ANTHROPIC, ApiResponseDto,
|
|
4
|
-
export { ProviderEnum, SortDirection } from '../shared-types';
|
|
1
|
+
import type { ApiRequestConfig, CronScheduleConfig, IIntegrationInputField, Metadata, PaginationMeta, QueryDto, ToolUsageConfig } from '../shared-types';
|
|
2
|
+
import { GoogleServiceType, IntegrationEntityStatus, OwnedTypeEnum, ProviderEnum, SortDirection, UserCategoryEnum } from '../shared-types';
|
|
3
|
+
export type { ACB_BANK, ACTIVE, ADMIN, AGENT_DESKTOP_SDK_EXE, AGRIBANK_BANK, AHAMOVE, ALIBABA_CODING_PLAN, Allow, ANTHROPIC, AnthropicMetadata, API, ApiRequestConfig, ApiResponseDto, APP, ARRAY, ASC, AUTH_001, AZURE_AI, BASE64, BASE64_DECODE, BASE64_ENCODE, BIDV_BANK, BINARY, Body, BOOLEAN, BUSINESS, CANCELLED, CENTER, CLOUD_AWS_S3, CLOUD_AZURE_BLOB, CLOUD_BACKBLAZE_B2, CLOUD_CLOUDFLARE_R2, CLOUD_GOOGLE_CLOUD_STORAGE, CLOUD_MINIO, CLOUD_WASABI, COMMUNITY, CONCAT, ConfigResponseExtraction, ConfigResponseExtractionField, CREATE, CREATED_AT, CronScheduleConfig, CUSTOM, CustomScheduleConfig, D, DAILY, DailyScheduleConfig, Danh, DATABASE_MARIADB, DATABASE_MONGODB, DATABASE_MSSQL, DATABASE_MYSQL, DATABASE_ORACLE, DATABASE_POSTGRESQL, DATABASE_REDIS, DATABASE_SQLITE, DATE, Decimal, DEEPSEEK, DeepSeekMetadata, Default, DEGRADED, DELETE, DESC, DISABLED, DRAFT, EMAIL, EMAIL_GMAIL, EMAIL_OUTLOOK, EMAIL_SMTP, EMAIL_TWILIO_SENDGRID, EmailServerMetadata, ERROR, ErrorMapping, ESmsMetadata, Example, FACEBOOK_ADS, FACEBOOK_BUSINESS, FACEBOOK_PAGE, FACEBOOK_PERSONAL, FacebookAdsMetadata, FacebookPageMetadata, FacebookPersonalMetadata, FAILED, FEMALE, FieldResponseMapping, FileDescriptor, FORM_DATA, FORMATTED_STRING, FORMATTED_VALUE, FORMULA, FptSmsMetadata, FRIDAY, GET, GETFLY_CRM, GetflyMetadata, GHN, GHTK, Gi, GmailMetadata, GOOGLE_ADS, GOOGLE_AI_STUDIO, GOOGLE_ANALYTICS, GOOGLE_BIGQUERY, GOOGLE_CALENDAR, GOOGLE_CHAT, GOOGLE_CLOUD_PROJECT, GOOGLE_CLOUD_STORAGE, GOOGLE_CONTACTS, GOOGLE_DOCS, GOOGLE_DRIVE, GOOGLE_FIRESTORE, GOOGLE_MEET, GOOGLE_REALTIME_DATABASE, GOOGLE_SHEETS, GOOGLE_SLIDES, GOOGLE_TASKS, GOOGLE_WORKSPACE_ADMIN, GoogleCloudProjectMetadata, GoogleServiceMetadata, HDB_BANK, HEALTHY, HOURLY, HourlyScheduleConfig, HTTP, HttpUsageConfig, ID, IIntegrationInputField, IN_SYSTEM, INACTIVE, INDIVIDUAL, INFO_RESULT_API, INSERT_ROWS, Integration, IntegrationJobErrorTracking, IntegrationProvider, Invalid, JSON, JSON_PARSE, JSON_STRINGIFY, Khi, KL_BANK, LLM_CUSTOM, Lo, LOWERCASE, MALE, Mapping, MB_BANK, MERGE, Metadata, MONDAY, MONTHLY, MonthlyScheduleConfig, NONE, NUMBER, OBJECT, OCB_BANK, OPENAI, OPENAI_OAUTH, OpenAIMetadata, OPENROUTER, OTHER, OVERWRITE, PaginatedResult, PaginationMeta, PASSWORD, PATCH, PaymentGatewayMetadata, PENDING, PERPLEXITY_AI, PHOTO, POST, PROXY, PUT, Query, QueryDto, RAW, REDAI, REDAI_EXTENSION, REDAI_LLM, REPLACE, S3_KEY, SATURDAY, SCB_BANK, SERIAL_NUMBER, SHB_BANK, SMS_ESMS, SMS_ESMS_ADVERTISING, SMS_ESMS_CUSTOMER_CARE, SMS_ESMS_VIBER, SMS_FPT, SMS_SPEED, SMS_TWILIO, SMS_VONAGE, SpeedSmsMetadata, STB_BANK, STICKER, SuccessCondition, SUNDAY, T, TCB_BANK, TELEGRAM, TELEGRAM_BOT, TelegramBotMetadata, TEXT, TEXTAREA, THURSDAY, TIKTOK, TikTokIntegrationMetadata, TO_BOOLEAN, TO_DATE, TO_NUMBER, TO_STRING, TO_TIMESTAMP, ToolUsageConfig, TPB_BANK, TransformDefinition, TRIM, TUESDAY, TwilioSmsMetadata, UNFORMATTED_VALUE, Unverified, UNVERIFIED, UPDATE, UPDATED_AT, UPPERCASE, URL, User, USER, USER_ENTERED, USER_INPUT, VCB_BANK, Verified, VERIFIED, VertexAIMetadata, VIB_BANK, VonageSmsMetadata, VPB_BANK, VTB_BANK, WEBSITE, WebsiteMetadata, WEDNESDAY, WEEKLY, WeeklyScheduleConfig, X_WWW_FORM_URLENCODED, XAI, XAIMetadata, YOUTUBE, ZALO_BOT, ZALO_OA, ZALO_PERSONAL, ZaloPersonalBackupTokens, ZaloPersonalMetadata } from '../shared-types';
|
|
4
|
+
export { BodyType, CronFrequencyType, DayOfWeek, FieldTransformType, FileSourceType, GenderEnum, GoogleServiceType, HttpMethod, IntegrationEntityStatus, IntegrationInputFieldSourceType, IntegrationInputFieldType, IntegrationJobHealthStatus, MergeStrategy, OwnedTypeEnum, PaymentGatewayStatus, ProviderEnum, SortDirection, TransformOperation, TransformType, TrustLevelEnum, UserCategoryEnum, UserTypeEnum, VERTEX_AI } from '../shared-types';
|
|
5
5
|
export interface AccessPathInfoDto {
|
|
6
6
|
type: 'personal' | 'business';
|
|
7
7
|
id: string;
|
|
@@ -80,13 +80,13 @@ export interface AdsUserAccessInfoDto {
|
|
|
80
80
|
export interface AgentInfoDto {
|
|
81
81
|
id: string;
|
|
82
82
|
name: string;
|
|
83
|
-
avatar?:
|
|
83
|
+
avatar?: unknown | null;
|
|
84
84
|
}
|
|
85
85
|
export interface AhamoveConfigResponseDto {
|
|
86
86
|
mobile: string;
|
|
87
87
|
accountName?: string;
|
|
88
88
|
partnerId?: string;
|
|
89
|
-
childAccountStatus?:
|
|
89
|
+
childAccountStatus?: 'NOT_ADDED' | 'PENDING_ACTIVATION' | 'ACTIVATED' | 'FAILED';
|
|
90
90
|
activationAttempts?: number;
|
|
91
91
|
lastError?: {
|
|
92
92
|
code: string;
|
|
@@ -103,72 +103,8 @@ export interface AiProviderResponseDto {
|
|
|
103
103
|
id: number;
|
|
104
104
|
providerKey: string;
|
|
105
105
|
name: string;
|
|
106
|
-
icon?:
|
|
107
|
-
baseUrl?:
|
|
108
|
-
}
|
|
109
|
-
export interface AnthropicMetadata {
|
|
110
|
-
isValid: boolean;
|
|
111
|
-
usageCount?: number;
|
|
112
|
-
lastUsedAt?: number;
|
|
113
|
-
lastQuotaErrorAt?: number;
|
|
114
|
-
isQuotaExceeded?: boolean;
|
|
115
|
-
}
|
|
116
|
-
export interface ApiRequestConfig {
|
|
117
|
-
request: {
|
|
118
|
-
header: Record<string, any>;
|
|
119
|
-
cookie: Record<string, any>;
|
|
120
|
-
body: Record<string, any>;
|
|
121
|
-
bodyType?: BodyType;
|
|
122
|
-
binary?: FileDescriptor;
|
|
123
|
-
formDataFiles?: Array<{
|
|
124
|
-
fieldName: string;
|
|
125
|
-
file: FileDescriptor;
|
|
126
|
-
}>;
|
|
127
|
-
param: Record<string, any>;
|
|
128
|
-
};
|
|
129
|
-
response: {
|
|
130
|
-
/**
|
|
131
|
-
* Example structure của response header (dùng cho documentation)
|
|
132
|
-
*/
|
|
133
|
-
header: Record<string, any>;
|
|
134
|
-
/**
|
|
135
|
-
* Example structure của response body (dùng cho documentation)
|
|
136
|
-
*/
|
|
137
|
-
body: Record<string, any>;
|
|
138
|
-
/**
|
|
139
|
-
* Danh sách HTTP status codes được coi là success
|
|
140
|
-
* Default: [200, 201, 202, 204] nếu không cung cấp
|
|
141
|
-
* Example: [200, 201]
|
|
142
|
-
*/
|
|
143
|
-
successStatusCodes?: number[];
|
|
144
|
-
/**
|
|
145
|
-
* Điều kiện bổ sung để xác định success dựa trên response body
|
|
146
|
-
* Dùng khi API luôn trả 200 nhưng có field báo success/error trong body
|
|
147
|
-
*
|
|
148
|
-
* Example:
|
|
149
|
-
* - API trả { "status": "success", "data": {...} }
|
|
150
|
-
* → successCondition: { jsonPath: "$.status", expectedValue: "success" }
|
|
151
|
-
*
|
|
152
|
-
* - API trả { "code": 0, "result": {...} }
|
|
153
|
-
* → successCondition: { jsonPath: "$.code", expectedValue: 0 }
|
|
154
|
-
*/
|
|
155
|
-
successCondition?: SuccessCondition;
|
|
156
|
-
/**
|
|
157
|
-
* Mapping để trích xuất error message và code từ response
|
|
158
|
-
* Dùng khi muốn lấy thông tin lỗi chi tiết từ API response
|
|
159
|
-
*
|
|
160
|
-
* Example:
|
|
161
|
-
* - API trả { "error": { "message": "Invalid token", "code": "AUTH_001" } }
|
|
162
|
-
* → errorMapping: {
|
|
163
|
-
* messageJsonPath: "$.error.message",
|
|
164
|
-
* codeJsonPath: "$.error.code"
|
|
165
|
-
* }
|
|
166
|
-
*/
|
|
167
|
-
errorMapping?: ErrorMapping;
|
|
168
|
-
};
|
|
169
|
-
url: string;
|
|
170
|
-
method: HttpMethod;
|
|
171
|
-
responseExtraction?: ConfigResponseExtraction;
|
|
106
|
+
icon?: unknown | null;
|
|
107
|
+
baseUrl?: unknown | null;
|
|
172
108
|
}
|
|
173
109
|
export interface ApiRequirementDto {
|
|
174
110
|
name: string;
|
|
@@ -200,7 +136,7 @@ export interface BankAccountResponseDto {
|
|
|
200
136
|
accumulated: string;
|
|
201
137
|
label: string;
|
|
202
138
|
bankApiConnected: boolean;
|
|
203
|
-
lastTransaction:
|
|
139
|
+
lastTransaction: unknown | null;
|
|
204
140
|
createdAt: string;
|
|
205
141
|
updatedAt: string;
|
|
206
142
|
isVA: boolean;
|
|
@@ -248,7 +184,7 @@ export interface BankhubWebhookConfigResponseDto {
|
|
|
248
184
|
authType?: string;
|
|
249
185
|
secretKeyMasked?: string;
|
|
250
186
|
active: boolean;
|
|
251
|
-
allowEvents: string[];
|
|
187
|
+
allowEvents: (string)[];
|
|
252
188
|
createdAt?: string;
|
|
253
189
|
updatedAt?: string;
|
|
254
190
|
}
|
|
@@ -273,16 +209,10 @@ export interface BankListResponseDto {
|
|
|
273
209
|
icon: string;
|
|
274
210
|
active: boolean;
|
|
275
211
|
}
|
|
276
|
-
export interface BannerFileDto {
|
|
277
|
-
mimeType: string;
|
|
278
|
-
size: number;
|
|
279
|
-
fileName: string;
|
|
280
|
-
url?: string;
|
|
281
|
-
}
|
|
282
212
|
export interface BannerFileWithOperationDto {
|
|
283
213
|
operation: MediaOperationEnum;
|
|
284
214
|
mediaId?: string;
|
|
285
|
-
mimeType?:
|
|
215
|
+
mimeType?: 'image/png' | 'image/jpeg' | 'image/jpg' | 'image/gif' | 'image/webp';
|
|
286
216
|
size?: number;
|
|
287
217
|
fileName?: string;
|
|
288
218
|
url?: string;
|
|
@@ -303,36 +233,28 @@ export declare enum BeneficiaryType {
|
|
|
303
233
|
OA = "OA",
|
|
304
234
|
APP = "APP"
|
|
305
235
|
}
|
|
306
|
-
export declare enum BodyType {
|
|
307
|
-
NONE = "none",
|
|
308
|
-
FORM_DATA = "form-data",
|
|
309
|
-
X_WWW_FORM_URLENCODED = "x-www-form-urlencoded",
|
|
310
|
-
RAW = "raw",
|
|
311
|
-
BINARY = "binary"
|
|
312
|
-
}
|
|
313
236
|
export interface BoxChatConfigResponseDto {
|
|
314
237
|
id: number;
|
|
315
238
|
welcomeText: string;
|
|
316
|
-
avatar:
|
|
239
|
+
avatar: unknown | null;
|
|
317
240
|
displayMode: DisplayMode;
|
|
318
241
|
sideMode: SideMode;
|
|
319
|
-
colorPrimary:
|
|
320
|
-
icon:
|
|
321
|
-
integrationId:
|
|
322
|
-
media:
|
|
323
|
-
id
|
|
324
|
-
name
|
|
325
|
-
storageKey
|
|
326
|
-
size
|
|
327
|
-
mediaType
|
|
328
|
-
status
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
placeholderMessage: string | null;
|
|
242
|
+
colorPrimary: unknown | null;
|
|
243
|
+
icon: unknown | null;
|
|
244
|
+
integrationId: unknown | null;
|
|
245
|
+
media: ({
|
|
246
|
+
id?: string;
|
|
247
|
+
name?: string;
|
|
248
|
+
storageKey?: string;
|
|
249
|
+
size?: number;
|
|
250
|
+
mediaType?: string;
|
|
251
|
+
status?: string;
|
|
252
|
+
})[];
|
|
253
|
+
components: unknown | null;
|
|
254
|
+
quickMessages: (string)[];
|
|
255
|
+
placeholderMessage: unknown | null;
|
|
334
256
|
script: string;
|
|
335
|
-
formFields: BoxChatFormFieldDto[];
|
|
257
|
+
formFields: (BoxChatFormFieldDto)[];
|
|
336
258
|
}
|
|
337
259
|
export interface BoxChatFormFieldDto {
|
|
338
260
|
id?: number;
|
|
@@ -347,30 +269,30 @@ export interface BoxChatFormFieldDto {
|
|
|
347
269
|
type: string;
|
|
348
270
|
}
|
|
349
271
|
export interface BulkDeleteIntegrationDto {
|
|
350
|
-
ids: string[];
|
|
272
|
+
ids: (string)[];
|
|
351
273
|
}
|
|
352
274
|
export interface BulkDeleteResponseDto {
|
|
353
275
|
deletedCount: number;
|
|
354
|
-
deletedIds: string[];
|
|
355
|
-
failedIds?: string[];
|
|
276
|
+
deletedIds: (string)[];
|
|
277
|
+
failedIds?: (string)[];
|
|
356
278
|
}
|
|
357
279
|
export interface BulkDeleteVertexAIIntegrationDto {
|
|
358
|
-
ids: string[];
|
|
280
|
+
ids: (string)[];
|
|
359
281
|
}
|
|
360
282
|
export interface BulkDeleteVertexAIResponseDto {
|
|
361
283
|
deletedCount: number;
|
|
362
|
-
deletedIds: string[];
|
|
363
|
-
failedIds?: string[];
|
|
284
|
+
deletedIds: (string)[];
|
|
285
|
+
failedIds?: (string)[];
|
|
364
286
|
message: string;
|
|
365
287
|
}
|
|
366
288
|
export interface BulkDeleteZaloBotIntegrationDto {
|
|
367
|
-
ids: string[];
|
|
289
|
+
ids: (string)[];
|
|
368
290
|
}
|
|
369
291
|
export interface BulkDeleteZaloBotIntegrationResponseDto {
|
|
370
292
|
deletedCount: number;
|
|
371
|
-
deletedIds: string[];
|
|
372
|
-
failedIds?: string[];
|
|
373
|
-
errors?: string[];
|
|
293
|
+
deletedIds: (string)[];
|
|
294
|
+
failedIds?: (string)[];
|
|
295
|
+
errors?: (string)[];
|
|
374
296
|
message: string;
|
|
375
297
|
}
|
|
376
298
|
export interface BusinessAccessInfoDto {
|
|
@@ -429,7 +351,7 @@ export interface BusinessUserAccessDto {
|
|
|
429
351
|
}
|
|
430
352
|
export interface CheckRequiredApisResponseDto {
|
|
431
353
|
allEnabled: boolean;
|
|
432
|
-
apis: ApiRequirementDto[];
|
|
354
|
+
apis: (ApiRequirementDto)[];
|
|
433
355
|
}
|
|
434
356
|
export interface CompanyConfigResponseDto {
|
|
435
357
|
id: string;
|
|
@@ -452,11 +374,11 @@ export interface CompanyCounterResponseDto {
|
|
|
452
374
|
export interface CompanyListQueryDto {
|
|
453
375
|
perPage?: string;
|
|
454
376
|
q?: string;
|
|
455
|
-
status?:
|
|
377
|
+
status?: 'Pending' | 'Active' | 'Suspended' | 'Terminated' | 'Cancelled' | 'Fraud';
|
|
456
378
|
sort?: string;
|
|
457
379
|
}
|
|
458
380
|
export interface CompanyListResponseDto {
|
|
459
|
-
data: CompanyResponseDto[];
|
|
381
|
+
data: (CompanyResponseDto)[];
|
|
460
382
|
meta: CompanyPaginationMetaDto;
|
|
461
383
|
}
|
|
462
384
|
export interface CompanyPaginationMetaDto {
|
|
@@ -481,15 +403,6 @@ export declare enum CompanyStatus {
|
|
|
481
403
|
CANCELLED = "Cancelled",
|
|
482
404
|
FRAUD = "Fraud"
|
|
483
405
|
}
|
|
484
|
-
export interface ConfigResponseExtraction {
|
|
485
|
-
fields: ConfigResponseExtractionField[];
|
|
486
|
-
}
|
|
487
|
-
export interface ConfigResponseExtractionField {
|
|
488
|
-
targetKey: string;
|
|
489
|
-
jsonPath: string;
|
|
490
|
-
transform?: FieldTransformType;
|
|
491
|
-
mergeStrategy?: MergeStrategy;
|
|
492
|
-
}
|
|
493
406
|
export interface ConfirmAcbConnectionDto {
|
|
494
407
|
otp: string;
|
|
495
408
|
}
|
|
@@ -538,7 +451,7 @@ export interface ConnectedServiceItemDto {
|
|
|
538
451
|
displayName: string;
|
|
539
452
|
icon: string;
|
|
540
453
|
connectionCount: number;
|
|
541
|
-
connections: ServiceConnectionItemDto[];
|
|
454
|
+
connections: (ServiceConnectionItemDto)[];
|
|
542
455
|
isConnected: boolean;
|
|
543
456
|
integrationId?: string;
|
|
544
457
|
connectedEmail?: string;
|
|
@@ -556,7 +469,7 @@ export interface ConnectedServiceItemDto {
|
|
|
556
469
|
}
|
|
557
470
|
export interface ConnectedServicesResponseDto {
|
|
558
471
|
providerId: number;
|
|
559
|
-
services: ConnectedServiceItemDto[];
|
|
472
|
+
services: (ConnectedServiceItemDto)[];
|
|
560
473
|
connectedCount: number;
|
|
561
474
|
totalServices: number;
|
|
562
475
|
}
|
|
@@ -608,7 +521,7 @@ export interface CreateCompanyDto {
|
|
|
608
521
|
}
|
|
609
522
|
export interface CreateCustomIntegrationProviderDto {
|
|
610
523
|
displayName: string;
|
|
611
|
-
mediaType:
|
|
524
|
+
mediaType: 'image/png' | 'image/jpeg' | 'image/jpg' | 'image/gif' | 'image/webp' | 'image/svg+xml';
|
|
612
525
|
mediaSize: number;
|
|
613
526
|
inputFields?: IIntegrationInputField[];
|
|
614
527
|
config?: ApiRequestConfig;
|
|
@@ -681,7 +594,7 @@ export interface CreateGoogleCalendarEventDto {
|
|
|
681
594
|
endDateTime: string;
|
|
682
595
|
timeZone?: string;
|
|
683
596
|
location?: string;
|
|
684
|
-
attendees?: string[];
|
|
597
|
+
attendees?: (string)[];
|
|
685
598
|
allDay?: boolean;
|
|
686
599
|
sendNotifications?: boolean;
|
|
687
600
|
sendUpdates?: 'all' | 'externalOnly' | 'none';
|
|
@@ -807,7 +720,7 @@ export interface CreateMbBankAccountDto {
|
|
|
807
720
|
accountNumber: string;
|
|
808
721
|
phoneNumber?: string;
|
|
809
722
|
identificationNumber?: string;
|
|
810
|
-
label?:
|
|
723
|
+
label?: unknown | null;
|
|
811
724
|
}
|
|
812
725
|
export interface CreateMbBankAccountResponseDto {
|
|
813
726
|
id: string;
|
|
@@ -905,6 +818,13 @@ export interface CreateUserKeyLlmDto {
|
|
|
905
818
|
projectEndpoint?: string;
|
|
906
819
|
projectRegion?: string;
|
|
907
820
|
}
|
|
821
|
+
export interface CreateUserLlmIntegrationDto {
|
|
822
|
+
displayName: string;
|
|
823
|
+
baseUrl: string;
|
|
824
|
+
authType?: 'api_key' | 'oauth';
|
|
825
|
+
imageUrl?: string;
|
|
826
|
+
models: (UserLlmModelDto)[];
|
|
827
|
+
}
|
|
908
828
|
export interface CreateWebsiteDto {
|
|
909
829
|
websiteName: string;
|
|
910
830
|
host: string;
|
|
@@ -913,31 +833,11 @@ export interface CreateWebsiteDto {
|
|
|
913
833
|
}
|
|
914
834
|
export interface CreateWebsiteResponseDto {
|
|
915
835
|
id: string;
|
|
916
|
-
logoUploadUrl?:
|
|
836
|
+
logoUploadUrl?: unknown | null;
|
|
917
837
|
}
|
|
918
838
|
export interface CreateZaloBotIntegrationDto {
|
|
919
839
|
botToken: string;
|
|
920
840
|
}
|
|
921
|
-
export declare enum CronFrequencyType {
|
|
922
|
-
HOURLY = "HOURLY",
|
|
923
|
-
DAILY = "DAILY",
|
|
924
|
-
WEEKLY = "WEEKLY",
|
|
925
|
-
MONTHLY = "MONTHLY",
|
|
926
|
-
CUSTOM = "CUSTOM"
|
|
927
|
-
}
|
|
928
|
-
export interface CronScheduleConfig {
|
|
929
|
-
enabled: boolean;
|
|
930
|
-
frequencyType: CronFrequencyType;
|
|
931
|
-
hourlyConfig?: HourlyScheduleConfig;
|
|
932
|
-
dailyConfig?: DailyScheduleConfig;
|
|
933
|
-
weeklyConfig?: WeeklyScheduleConfig;
|
|
934
|
-
monthlyConfig?: MonthlyScheduleConfig;
|
|
935
|
-
customConfig?: CustomScheduleConfig;
|
|
936
|
-
timezone?: string;
|
|
937
|
-
startAt?: number;
|
|
938
|
-
endAt?: number;
|
|
939
|
-
metadata?: Record<string, any>;
|
|
940
|
-
}
|
|
941
841
|
export interface CustomIntegrationDetailResponseDto {
|
|
942
842
|
id: string;
|
|
943
843
|
integrationName: string;
|
|
@@ -972,7 +872,25 @@ export interface CustomIntegrationProviderResponseDto {
|
|
|
972
872
|
displayName: string;
|
|
973
873
|
imageUrl: string;
|
|
974
874
|
mcpSchema?: Record<string, any> | null;
|
|
975
|
-
ownerType?:
|
|
875
|
+
ownerType?: 'USER' | 'ADMIN' | 'SYSTEM';
|
|
876
|
+
modelCount?: number;
|
|
877
|
+
models?: Array<{
|
|
878
|
+
id: string;
|
|
879
|
+
modelBaseId: string;
|
|
880
|
+
displayName: string | null;
|
|
881
|
+
maxTokens: number;
|
|
882
|
+
contextWindow: number;
|
|
883
|
+
inputModalitiesBase: string[];
|
|
884
|
+
outputModalitiesBase: string[];
|
|
885
|
+
samplingParametersBase: string[];
|
|
886
|
+
featuresBase: string[];
|
|
887
|
+
basePricing: Record<string, any>;
|
|
888
|
+
metadata: Record<string, any>;
|
|
889
|
+
active: boolean;
|
|
890
|
+
priority: number;
|
|
891
|
+
regions: string[];
|
|
892
|
+
thinkingLevels: string[] | null;
|
|
893
|
+
}>;
|
|
976
894
|
inputFields?: IIntegrationInputField[] | null;
|
|
977
895
|
config?: ApiRequestConfig | null;
|
|
978
896
|
configRefresh?: ApiRequestConfig | null;
|
|
@@ -986,48 +904,22 @@ export interface CustomIntegrationProviderResponseDto {
|
|
|
986
904
|
cronSchedule?: CronScheduleConfig | null;
|
|
987
905
|
usageConfig?: ToolUsageConfig | null;
|
|
988
906
|
}
|
|
989
|
-
export interface CustomScheduleConfig {
|
|
990
|
-
cronExpression: string;
|
|
991
|
-
description?: string;
|
|
992
|
-
}
|
|
993
|
-
export interface DailyScheduleConfig {
|
|
994
|
-
everyDays: number;
|
|
995
|
-
atHour: number;
|
|
996
|
-
atMinute: number;
|
|
997
|
-
}
|
|
998
|
-
export declare enum DayOfWeek {
|
|
999
|
-
SUNDAY = 0,
|
|
1000
|
-
MONDAY = 1,
|
|
1001
|
-
TUESDAY = 2,
|
|
1002
|
-
WEDNESDAY = 3,
|
|
1003
|
-
THURSDAY = 4,
|
|
1004
|
-
FRIDAY = 5,
|
|
1005
|
-
SATURDAY = 6
|
|
1006
|
-
}
|
|
1007
|
-
export interface DeepSeekMetadata {
|
|
1008
|
-
isValid: boolean;
|
|
1009
|
-
usageCount?: number;
|
|
1010
|
-
lastUsedAt?: number;
|
|
1011
|
-
lastQuotaErrorAt?: number;
|
|
1012
|
-
isQuotaExceeded?: boolean;
|
|
1013
|
-
}
|
|
1014
|
-
export type Delay<TDelay extends string> = TDelay | number;
|
|
1015
907
|
export interface DeleteMultipleTwilioSmsIntegrationDto {
|
|
1016
|
-
ids: string[];
|
|
908
|
+
ids: (string)[];
|
|
1017
909
|
}
|
|
1018
910
|
export interface DeleteMultipleTwilioSmsIntegrationResponseDto {
|
|
1019
911
|
totalRequested: number;
|
|
1020
912
|
successCount: number;
|
|
1021
913
|
failedCount: number;
|
|
1022
|
-
successIds: string[];
|
|
1023
|
-
failedIds:
|
|
1024
|
-
id
|
|
1025
|
-
reason
|
|
1026
|
-
}
|
|
914
|
+
successIds: (string)[];
|
|
915
|
+
failedIds: ({
|
|
916
|
+
id?: string;
|
|
917
|
+
reason?: string;
|
|
918
|
+
})[];
|
|
1027
919
|
message: string;
|
|
1028
920
|
}
|
|
1029
921
|
export interface DeleteWebsitesDto {
|
|
1030
|
-
websiteIds: string[];
|
|
922
|
+
websiteIds: (string)[];
|
|
1031
923
|
}
|
|
1032
924
|
export interface DirectOwnershipPageDto {
|
|
1033
925
|
integrationId: string;
|
|
@@ -1063,7 +955,7 @@ export interface EligiblePaymentGatewayItemDto {
|
|
|
1063
955
|
}
|
|
1064
956
|
export type EligiblePaymentGatewayQueryDto = QueryDto;
|
|
1065
957
|
export interface EligiblePaymentGatewayResponseDto {
|
|
1066
|
-
items: EligiblePaymentGatewayItemDto[];
|
|
958
|
+
items: (EligiblePaymentGatewayItemDto)[];
|
|
1067
959
|
pagination: {
|
|
1068
960
|
page: number;
|
|
1069
961
|
limit: number;
|
|
@@ -1114,19 +1006,6 @@ export interface EmailServerConfiguration {
|
|
|
1114
1006
|
createdAt: number;
|
|
1115
1007
|
updatedAt: number;
|
|
1116
1008
|
}
|
|
1117
|
-
export interface EmailServerMetadata {
|
|
1118
|
-
userId?: number | null;
|
|
1119
|
-
serverName: string;
|
|
1120
|
-
providerName: string;
|
|
1121
|
-
host?: string;
|
|
1122
|
-
port?: number;
|
|
1123
|
-
useSsl?: boolean;
|
|
1124
|
-
useStartTls?: boolean;
|
|
1125
|
-
isActive: boolean;
|
|
1126
|
-
additionalSettings?: any;
|
|
1127
|
-
createdAt: number;
|
|
1128
|
-
updatedAt: number;
|
|
1129
|
-
}
|
|
1130
1009
|
export type EmailServerQueryDto = QueryDto & {
|
|
1131
1010
|
search: string;
|
|
1132
1011
|
};
|
|
@@ -1135,8 +1014,8 @@ export interface EmailServerStatsResponseDto {
|
|
|
1135
1014
|
integrationName: string;
|
|
1136
1015
|
email: string;
|
|
1137
1016
|
provider: ProviderEnum;
|
|
1138
|
-
status:
|
|
1139
|
-
imageKey:
|
|
1017
|
+
status: 'ACTIVE' | 'INACTIVE' | 'ERROR';
|
|
1018
|
+
imageKey: unknown | null;
|
|
1140
1019
|
totalEmailsSent: number;
|
|
1141
1020
|
successfulEmails: number;
|
|
1142
1021
|
failedEmails: number;
|
|
@@ -1147,15 +1026,11 @@ export interface EmailServerStatsResponseDto {
|
|
|
1147
1026
|
openRate: number;
|
|
1148
1027
|
clickRate: number;
|
|
1149
1028
|
createdAt: number;
|
|
1150
|
-
updatedAt:
|
|
1029
|
+
updatedAt: unknown | null;
|
|
1151
1030
|
}
|
|
1152
1031
|
export interface EnableVAKlbResponseDto {
|
|
1153
1032
|
message: string;
|
|
1154
1033
|
}
|
|
1155
|
-
export interface ErrorMapping {
|
|
1156
|
-
messageJsonPath?: string;
|
|
1157
|
-
codeJsonPath?: string;
|
|
1158
|
-
}
|
|
1159
1034
|
export interface EsmsIntegrationProviderDto {
|
|
1160
1035
|
id: number;
|
|
1161
1036
|
type: ProviderEnum;
|
|
@@ -1180,71 +1055,15 @@ export interface ESmsIntegrationResponseDto {
|
|
|
1180
1055
|
lastChecked: number;
|
|
1181
1056
|
};
|
|
1182
1057
|
}
|
|
1183
|
-
export interface ESmsMetadata {
|
|
1184
|
-
brandname?: string;
|
|
1185
|
-
brandnameType?: number;
|
|
1186
|
-
brandnameTypeName?: string;
|
|
1187
|
-
baseUrl?: string;
|
|
1188
|
-
statusBaseUrl?: string;
|
|
1189
|
-
voiceBaseUrl?: string;
|
|
1190
|
-
timeoutMs?: number;
|
|
1191
|
-
accountBalance?: number;
|
|
1192
|
-
eSmsUserId?: string | number;
|
|
1193
|
-
lastBalanceCheck?: number;
|
|
1194
|
-
totalBrandnames?: number;
|
|
1195
|
-
parentIntegrationId?: string;
|
|
1196
|
-
}
|
|
1197
|
-
export interface FacebookAdsMetadata {
|
|
1198
|
-
businessId: string;
|
|
1199
|
-
businessName: string;
|
|
1200
|
-
adAccountId: string;
|
|
1201
|
-
adAccountName: string;
|
|
1202
|
-
userIds: number[];
|
|
1203
|
-
expirationDateUnix: number;
|
|
1204
|
-
accountStatus?: number;
|
|
1205
|
-
currency?: string;
|
|
1206
|
-
timezoneId?: number;
|
|
1207
|
-
timezoneName?: string;
|
|
1208
|
-
balance?: number;
|
|
1209
|
-
amountSpent?: number;
|
|
1210
|
-
ownedByPersonalIntegrationId: string;
|
|
1211
|
-
primaryAccessVia: {
|
|
1212
|
-
type: 'personal' | 'business';
|
|
1213
|
-
id: string;
|
|
1214
|
-
name: string;
|
|
1215
|
-
role: 'owner' | 'admin' | 'advertiser';
|
|
1216
|
-
integrationId: string;
|
|
1217
|
-
};
|
|
1218
|
-
allAccessPaths: Array<{
|
|
1219
|
-
type: 'personal' | 'business';
|
|
1220
|
-
id: string;
|
|
1221
|
-
name: string;
|
|
1222
|
-
role: 'owner' | 'admin' | 'advertiser';
|
|
1223
|
-
integrationId: string;
|
|
1224
|
-
}>;
|
|
1225
|
-
accessiblePages?: Array<{
|
|
1226
|
-
pageId: string;
|
|
1227
|
-
pageName: string;
|
|
1228
|
-
accessViaType: 'personal' | 'business';
|
|
1229
|
-
accessViaId: string;
|
|
1230
|
-
accessViaName: string;
|
|
1231
|
-
integrationId: string;
|
|
1232
|
-
}>;
|
|
1233
|
-
syncSessionId: string;
|
|
1234
|
-
lastSyncAt: number;
|
|
1235
|
-
pageCount?: number;
|
|
1236
|
-
}
|
|
1237
1058
|
export interface FacebookAdsOwnershipDetailsDto {
|
|
1238
1059
|
adsInfo: AdsAccountInfoDto;
|
|
1239
1060
|
ownership: AdsOwnershipInfoDto;
|
|
1240
|
-
allAccessPaths: AdsAccessPathInfoDto[];
|
|
1241
|
-
usersWithAccess: AdsUserAccessInfoDto[];
|
|
1242
|
-
businessAccounts: AdsBusinessAccessInfoDto[];
|
|
1243
|
-
accessiblePages:
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
permissions: string[];
|
|
1247
|
-
}>;
|
|
1061
|
+
allAccessPaths: (AdsAccessPathInfoDto)[];
|
|
1062
|
+
usersWithAccess: (AdsUserAccessInfoDto)[];
|
|
1063
|
+
businessAccounts: (AdsBusinessAccessInfoDto)[];
|
|
1064
|
+
accessiblePages: ({
|
|
1065
|
+
[key: string]: unknown;
|
|
1066
|
+
})[];
|
|
1248
1067
|
summary: AdsOwnershipSummaryDto;
|
|
1249
1068
|
}
|
|
1250
1069
|
export type FacebookAdsQueryDto = QueryDto & {
|
|
@@ -1286,9 +1105,9 @@ export interface FacebookAuthResponseDto {
|
|
|
1286
1105
|
export interface FacebookBusinessDetailsDto {
|
|
1287
1106
|
businessInfo: BusinessIntegrationInfoDto;
|
|
1288
1107
|
ownerPersonal: BusinessOwnerPersonalDto;
|
|
1289
|
-
usersWithAccess: BusinessUserAccessDto[];
|
|
1290
|
-
managedPages: BusinessManagedPageDto[];
|
|
1291
|
-
managedAdsAccounts: BusinessManagedAdsDto[];
|
|
1108
|
+
usersWithAccess: (BusinessUserAccessDto)[];
|
|
1109
|
+
managedPages: (BusinessManagedPageDto)[];
|
|
1110
|
+
managedAdsAccounts: (BusinessManagedAdsDto)[];
|
|
1292
1111
|
summary: BusinessManagementSummaryDto;
|
|
1293
1112
|
}
|
|
1294
1113
|
export interface FacebookBusinessListItemDto {
|
|
@@ -1311,89 +1130,6 @@ export interface FacebookBusinessQueryDto {
|
|
|
1311
1130
|
active?: boolean;
|
|
1312
1131
|
error?: boolean;
|
|
1313
1132
|
}
|
|
1314
|
-
export interface FacebookCampaign {
|
|
1315
|
-
id: string;
|
|
1316
|
-
name: string;
|
|
1317
|
-
objective: string;
|
|
1318
|
-
status: 'ACTIVE' | 'PAUSED' | 'DELETED' | 'ARCHIVED';
|
|
1319
|
-
configured_status?: 'ACTIVE' | 'PAUSED' | 'DELETED' | 'ARCHIVED';
|
|
1320
|
-
effective_status?: string;
|
|
1321
|
-
created_time?: string;
|
|
1322
|
-
updated_time?: string;
|
|
1323
|
-
start_time?: string;
|
|
1324
|
-
stop_time?: string;
|
|
1325
|
-
daily_budget?: string;
|
|
1326
|
-
lifetime_budget?: string;
|
|
1327
|
-
budget_remaining?: string;
|
|
1328
|
-
buying_type?: string;
|
|
1329
|
-
bid_strategy?: string;
|
|
1330
|
-
special_ad_categories?: string[];
|
|
1331
|
-
}
|
|
1332
|
-
export interface FacebookCampaignCreateDto {
|
|
1333
|
-
name: string;
|
|
1334
|
-
objective: string;
|
|
1335
|
-
status?: string;
|
|
1336
|
-
daily_budget?: string;
|
|
1337
|
-
lifetime_budget?: string;
|
|
1338
|
-
start_time?: string;
|
|
1339
|
-
stop_time?: string;
|
|
1340
|
-
special_ad_categories?: string[];
|
|
1341
|
-
}
|
|
1342
|
-
export interface FacebookCampaignInsightsDto {
|
|
1343
|
-
date_start: string;
|
|
1344
|
-
date_stop: string;
|
|
1345
|
-
impressions?: string;
|
|
1346
|
-
clicks?: string;
|
|
1347
|
-
spend?: string;
|
|
1348
|
-
reach?: string;
|
|
1349
|
-
frequency?: string;
|
|
1350
|
-
cpm?: string;
|
|
1351
|
-
cpc?: string;
|
|
1352
|
-
ctr?: string;
|
|
1353
|
-
actions?: Array<{
|
|
1354
|
-
action_type: string;
|
|
1355
|
-
value: string;
|
|
1356
|
-
}>;
|
|
1357
|
-
action_values?: Array<{
|
|
1358
|
-
action_type: string;
|
|
1359
|
-
value: string;
|
|
1360
|
-
}>;
|
|
1361
|
-
cost_per_action_type?: Array<{
|
|
1362
|
-
action_type: string;
|
|
1363
|
-
value: string;
|
|
1364
|
-
}>;
|
|
1365
|
-
}
|
|
1366
|
-
export interface FacebookCampaignInsightsQueryDto {
|
|
1367
|
-
dateStart: string;
|
|
1368
|
-
dateStop: string;
|
|
1369
|
-
metrics?: string[];
|
|
1370
|
-
}
|
|
1371
|
-
export interface FacebookCampaignResponseDto {
|
|
1372
|
-
id: string;
|
|
1373
|
-
name: string;
|
|
1374
|
-
objective: string;
|
|
1375
|
-
status: string;
|
|
1376
|
-
configured_status: string;
|
|
1377
|
-
effective_status: string;
|
|
1378
|
-
created_time?: string;
|
|
1379
|
-
updated_time?: string;
|
|
1380
|
-
start_time?: string;
|
|
1381
|
-
stop_time?: string;
|
|
1382
|
-
daily_budget?: string;
|
|
1383
|
-
lifetime_budget?: string;
|
|
1384
|
-
budget_remaining?: string;
|
|
1385
|
-
buying_type?: string;
|
|
1386
|
-
bid_strategy?: string;
|
|
1387
|
-
special_ad_categories?: string[];
|
|
1388
|
-
}
|
|
1389
|
-
export interface FacebookCampaignUpdateDto {
|
|
1390
|
-
name?: string;
|
|
1391
|
-
status?: string;
|
|
1392
|
-
daily_budget?: string;
|
|
1393
|
-
lifetime_budget?: string;
|
|
1394
|
-
start_time?: string;
|
|
1395
|
-
stop_time?: string;
|
|
1396
|
-
}
|
|
1397
1133
|
export interface FacebookCatalog {
|
|
1398
1134
|
id: string;
|
|
1399
1135
|
name: string;
|
|
@@ -1412,46 +1148,18 @@ export interface FacebookComprehensiveCallbackDto {
|
|
|
1412
1148
|
endpointCallback: string;
|
|
1413
1149
|
state?: string;
|
|
1414
1150
|
}
|
|
1415
|
-
export interface FacebookPageMetadata {
|
|
1416
|
-
pageId: string;
|
|
1417
|
-
ownedByPersonalIntegrationId: string;
|
|
1418
|
-
primaryAccessVia: {
|
|
1419
|
-
type: 'personal' | 'business';
|
|
1420
|
-
id: string;
|
|
1421
|
-
name: string;
|
|
1422
|
-
role: 'owner' | 'admin' | 'editor' | 'advertiser';
|
|
1423
|
-
integrationId: string;
|
|
1424
|
-
};
|
|
1425
|
-
allAccessPaths: Array<{
|
|
1426
|
-
type: 'personal' | 'business';
|
|
1427
|
-
id: string;
|
|
1428
|
-
name: string;
|
|
1429
|
-
role: 'owner' | 'admin' | 'editor' | 'advertiser';
|
|
1430
|
-
integrationId: string;
|
|
1431
|
-
}>;
|
|
1432
|
-
relatedAdsAccounts?: Array<{
|
|
1433
|
-
adAccountId: string;
|
|
1434
|
-
adAccountName: string;
|
|
1435
|
-
accessViaType: 'personal' | 'business';
|
|
1436
|
-
accessViaId: string;
|
|
1437
|
-
accessViaName: string;
|
|
1438
|
-
integrationId: string;
|
|
1439
|
-
}>;
|
|
1440
|
-
syncSessionId: string;
|
|
1441
|
-
lastSyncAt: number;
|
|
1442
|
-
}
|
|
1443
1151
|
export interface FacebookPageOverviewDto {
|
|
1444
1152
|
totalPages: number;
|
|
1445
1153
|
pagesByOwnership: PagesByOwnershipDto;
|
|
1446
|
-
personalIntegrations: PersonalIntegrationOverviewDto[];
|
|
1154
|
+
personalIntegrations: (PersonalIntegrationOverviewDto)[];
|
|
1447
1155
|
summary: OverviewSummaryDto;
|
|
1448
1156
|
}
|
|
1449
1157
|
export interface FacebookPageOwnershipDetailsDto {
|
|
1450
1158
|
pageInfo: PageInfoDto;
|
|
1451
1159
|
ownership: OwnershipInfoDto;
|
|
1452
|
-
allAccessPaths: AccessPathInfoDto[];
|
|
1453
|
-
usersWithAccess: UserAccessInfoDto[];
|
|
1454
|
-
businessAccounts: BusinessAccessInfoDto[];
|
|
1160
|
+
allAccessPaths: (AccessPathInfoDto)[];
|
|
1161
|
+
usersWithAccess: (UserAccessInfoDto)[];
|
|
1162
|
+
businessAccounts: (BusinessAccessInfoDto)[];
|
|
1455
1163
|
summary: OwnershipSummaryDto;
|
|
1456
1164
|
}
|
|
1457
1165
|
export type FacebookPageQueryDto = QueryDto & {
|
|
@@ -1466,7 +1174,7 @@ export interface FacebookPageResponseDto {
|
|
|
1466
1174
|
pageName: string;
|
|
1467
1175
|
avatarPage: string | null;
|
|
1468
1176
|
isActive: boolean;
|
|
1469
|
-
agentId:
|
|
1177
|
+
agentId: unknown | null;
|
|
1470
1178
|
isError: boolean;
|
|
1471
1179
|
agent?: AgentInfoDto;
|
|
1472
1180
|
}
|
|
@@ -1477,10 +1185,10 @@ export declare enum FacebookPageSortBy {
|
|
|
1477
1185
|
}
|
|
1478
1186
|
export interface FacebookPersonalDetailsDto {
|
|
1479
1187
|
personalInfo: PersonalIntegrationInfoDto;
|
|
1480
|
-
usersWithAccess: PersonalUserAccessDto[];
|
|
1481
|
-
managedPages: ManagedPageDto[];
|
|
1482
|
-
managedBusinessAccounts: ManagedBusinessDto[];
|
|
1483
|
-
managedAdsAccounts: ManagedAdsDto[];
|
|
1188
|
+
usersWithAccess: (PersonalUserAccessDto)[];
|
|
1189
|
+
managedPages: (ManagedPageDto)[];
|
|
1190
|
+
managedBusinessAccounts: (ManagedBusinessDto)[];
|
|
1191
|
+
managedAdsAccounts: (ManagedAdsDto)[];
|
|
1484
1192
|
summary: PersonalManagementSummaryDto;
|
|
1485
1193
|
}
|
|
1486
1194
|
export interface FacebookPersonalListItemDto {
|
|
@@ -1497,18 +1205,6 @@ export interface FacebookPersonalListItemDto {
|
|
|
1497
1205
|
managedBusinessCount: number;
|
|
1498
1206
|
managedAdsCount: number;
|
|
1499
1207
|
}
|
|
1500
|
-
export interface FacebookPersonalMetadata {
|
|
1501
|
-
personalId: string;
|
|
1502
|
-
expirationDateUnix: number;
|
|
1503
|
-
ownedBusinessIntegrationIds: string[];
|
|
1504
|
-
ownedPageIntegrationIds: string[];
|
|
1505
|
-
ownedAdsIntegrationIds: string[];
|
|
1506
|
-
lastSyncAt: number;
|
|
1507
|
-
syncSessionId: string;
|
|
1508
|
-
totalBusinessAccounts: number;
|
|
1509
|
-
totalPages: number;
|
|
1510
|
-
totalAdsAccounts: number;
|
|
1511
|
-
}
|
|
1512
1208
|
export interface FacebookPersonalQueryDto {
|
|
1513
1209
|
page?: number;
|
|
1514
1210
|
limit?: number;
|
|
@@ -1582,36 +1278,6 @@ export interface FacebookSyncResult {
|
|
|
1582
1278
|
}>;
|
|
1583
1279
|
};
|
|
1584
1280
|
}
|
|
1585
|
-
export interface FieldResponseMapping {
|
|
1586
|
-
jsonPath: string;
|
|
1587
|
-
transform?: FieldTransformType;
|
|
1588
|
-
}
|
|
1589
|
-
export declare enum FieldTransformType {
|
|
1590
|
-
NONE = "NONE",
|
|
1591
|
-
TO_STRING = "TO_STRING",
|
|
1592
|
-
TO_NUMBER = "TO_NUMBER",
|
|
1593
|
-
TO_BOOLEAN = "TO_BOOLEAN",
|
|
1594
|
-
TO_DATE = "TO_DATE",
|
|
1595
|
-
TO_TIMESTAMP = "TO_TIMESTAMP",
|
|
1596
|
-
TRIM = "TRIM",
|
|
1597
|
-
UPPERCASE = "UPPERCASE",
|
|
1598
|
-
LOWERCASE = "LOWERCASE",
|
|
1599
|
-
BASE64_ENCODE = "BASE64_ENCODE",
|
|
1600
|
-
BASE64_DECODE = "BASE64_DECODE",
|
|
1601
|
-
JSON_STRINGIFY = "JSON_STRINGIFY",
|
|
1602
|
-
JSON_PARSE = "JSON_PARSE"
|
|
1603
|
-
}
|
|
1604
|
-
export interface FileDescriptor {
|
|
1605
|
-
source: FileSourceType;
|
|
1606
|
-
value: string;
|
|
1607
|
-
fileName?: string;
|
|
1608
|
-
contentType?: string;
|
|
1609
|
-
}
|
|
1610
|
-
export declare enum FileSourceType {
|
|
1611
|
-
S3_KEY = "S3_KEY",
|
|
1612
|
-
URL = "URL",
|
|
1613
|
-
BASE64 = "BASE64"
|
|
1614
|
-
}
|
|
1615
1281
|
export interface ForceDeleteBankAccountResponseDto {
|
|
1616
1282
|
message: string;
|
|
1617
1283
|
}
|
|
@@ -1622,16 +1288,6 @@ export interface FptSmsBrandnameResponseDto {
|
|
|
1622
1288
|
endpoint: string | null;
|
|
1623
1289
|
createdAt: number;
|
|
1624
1290
|
}
|
|
1625
|
-
export interface FptSmsMetadata {
|
|
1626
|
-
brandName: string;
|
|
1627
|
-
apiUrl?: string;
|
|
1628
|
-
[key: string]: any;
|
|
1629
|
-
}
|
|
1630
|
-
export declare enum GenderEnum {
|
|
1631
|
-
MALE = "MALE",
|
|
1632
|
-
FEMALE = "FEMALE",
|
|
1633
|
-
OTHER = "OTHER"
|
|
1634
|
-
}
|
|
1635
1291
|
export interface GenerateQRCodeRequestDto {
|
|
1636
1292
|
proxyId?: string;
|
|
1637
1293
|
proxyRegion?: string;
|
|
@@ -1650,16 +1306,11 @@ export interface GetflyCrmResponseDto {
|
|
|
1650
1306
|
createdAt: number;
|
|
1651
1307
|
updatedAt: number | null;
|
|
1652
1308
|
}
|
|
1653
|
-
export interface GetflyMetadata {
|
|
1654
|
-
domain: string;
|
|
1655
|
-
userId: number;
|
|
1656
|
-
version: '4.0' | '6.0' | '6.1';
|
|
1657
|
-
}
|
|
1658
1309
|
export interface GetVADetailsOcbResponseDto {
|
|
1659
1310
|
id: string;
|
|
1660
1311
|
accountNumber: string;
|
|
1661
1312
|
label: string;
|
|
1662
|
-
status:
|
|
1313
|
+
status: 'ACTIVE' | 'INACTIVE';
|
|
1663
1314
|
bankAccountId: string;
|
|
1664
1315
|
companyId: string;
|
|
1665
1316
|
createdAt: string;
|
|
@@ -1671,7 +1322,7 @@ export interface GetVAListOcbDto {
|
|
|
1671
1322
|
q?: string;
|
|
1672
1323
|
}
|
|
1673
1324
|
export interface GetVAListOcbResponseDto {
|
|
1674
|
-
data: VAItemDto[];
|
|
1325
|
+
data: (VAItemDto)[];
|
|
1675
1326
|
meta: PaginationMeta;
|
|
1676
1327
|
}
|
|
1677
1328
|
export interface GHNConfigResponseDto {
|
|
@@ -1710,23 +1361,6 @@ export interface GmailAuthUrlDto {
|
|
|
1710
1361
|
export interface GmailAuthUrlRequestDto {
|
|
1711
1362
|
redirectUri?: string;
|
|
1712
1363
|
}
|
|
1713
|
-
export interface GmailMetadata {
|
|
1714
|
-
email: string;
|
|
1715
|
-
normalizedEmail?: string;
|
|
1716
|
-
description?: string;
|
|
1717
|
-
isActive: boolean;
|
|
1718
|
-
connectionStatus: string;
|
|
1719
|
-
expiresAt?: number;
|
|
1720
|
-
updatedAt: number;
|
|
1721
|
-
isDefault?: boolean;
|
|
1722
|
-
userInfo?: {
|
|
1723
|
-
id?: string;
|
|
1724
|
-
name?: string;
|
|
1725
|
-
picture?: string;
|
|
1726
|
-
verified_email?: boolean;
|
|
1727
|
-
locale?: string;
|
|
1728
|
-
};
|
|
1729
|
-
}
|
|
1730
1364
|
export declare enum GmailSystemLabel {
|
|
1731
1365
|
INBOX = "INBOX",
|
|
1732
1366
|
SPAM = "SPAM",
|
|
@@ -1805,11 +1439,11 @@ export interface GoogleCalendarEventResponseDto {
|
|
|
1805
1439
|
endDateTime: string;
|
|
1806
1440
|
timeZone?: string;
|
|
1807
1441
|
location?: string;
|
|
1808
|
-
attendees?:
|
|
1809
|
-
email
|
|
1442
|
+
attendees?: ({
|
|
1443
|
+
email?: string;
|
|
1810
1444
|
displayName?: string;
|
|
1811
|
-
responseStatus?:
|
|
1812
|
-
}
|
|
1445
|
+
responseStatus?: string;
|
|
1446
|
+
})[];
|
|
1813
1447
|
status: 'tentative' | 'confirmed' | 'cancelled';
|
|
1814
1448
|
htmlLink: string;
|
|
1815
1449
|
created: string;
|
|
@@ -1858,14 +1492,14 @@ export interface GoogleCalendarIntegrationResponseDto {
|
|
|
1858
1492
|
};
|
|
1859
1493
|
defaultCalendarId?: string;
|
|
1860
1494
|
defaultTimeZone?: string;
|
|
1861
|
-
availableCalendars?:
|
|
1862
|
-
id
|
|
1863
|
-
summary
|
|
1495
|
+
availableCalendars?: ({
|
|
1496
|
+
id?: string;
|
|
1497
|
+
summary?: string;
|
|
1864
1498
|
description?: string;
|
|
1865
1499
|
timeZone?: string;
|
|
1866
|
-
accessRole?:
|
|
1500
|
+
accessRole?: string;
|
|
1867
1501
|
primary?: boolean;
|
|
1868
|
-
}
|
|
1502
|
+
})[];
|
|
1869
1503
|
notificationSettings?: {
|
|
1870
1504
|
sendNotifications?: boolean;
|
|
1871
1505
|
sendUpdates?: 'all' | 'externalOnly' | 'none';
|
|
@@ -1884,7 +1518,7 @@ export interface GoogleCalendarIntegrationResponseDto {
|
|
|
1884
1518
|
createdAt: Date;
|
|
1885
1519
|
}
|
|
1886
1520
|
export interface GoogleCalendarIntegrationsListResponseDto {
|
|
1887
|
-
items: GoogleCalendarIntegrationResponseDto[];
|
|
1521
|
+
items: (GoogleCalendarIntegrationResponseDto)[];
|
|
1888
1522
|
total: number;
|
|
1889
1523
|
page: number;
|
|
1890
1524
|
limit: number;
|
|
@@ -1895,7 +1529,7 @@ export interface GoogleCalendarListQueryDto {
|
|
|
1895
1529
|
writableOnly?: boolean;
|
|
1896
1530
|
}
|
|
1897
1531
|
export interface GoogleCalendarListResponseDto {
|
|
1898
|
-
items: GoogleCalendarInfoResponseDto[];
|
|
1532
|
+
items: (GoogleCalendarInfoResponseDto)[];
|
|
1899
1533
|
nextPageToken?: string;
|
|
1900
1534
|
nextSyncToken?: string;
|
|
1901
1535
|
}
|
|
@@ -1911,24 +1545,13 @@ export interface GoogleCloudOAuthUrlResponseDto {
|
|
|
1911
1545
|
expiresAt: number;
|
|
1912
1546
|
providerId: number;
|
|
1913
1547
|
}
|
|
1914
|
-
export interface
|
|
1548
|
+
export interface GoogleCloudProjectDto {
|
|
1915
1549
|
projectId: string;
|
|
1916
1550
|
name: string;
|
|
1917
1551
|
projectNumber: string;
|
|
1918
1552
|
lifecycleState: string;
|
|
1919
1553
|
createTime?: string;
|
|
1920
1554
|
}
|
|
1921
|
-
export interface GoogleCloudProjectMetadata {
|
|
1922
|
-
projectId: string;
|
|
1923
|
-
projectName?: string;
|
|
1924
|
-
clientId: string;
|
|
1925
|
-
configuredScopes?: string[];
|
|
1926
|
-
redirectUris?: string[];
|
|
1927
|
-
createdAt: number;
|
|
1928
|
-
updatedAt: number;
|
|
1929
|
-
isActive: boolean;
|
|
1930
|
-
notes?: string;
|
|
1931
|
-
}
|
|
1932
1555
|
export interface GoogleCloudProjectResponseDto {
|
|
1933
1556
|
id: number;
|
|
1934
1557
|
displayName: string;
|
|
@@ -1943,7 +1566,7 @@ export interface GoogleCloudProjectResponseDto {
|
|
|
1943
1566
|
updatedAt?: number;
|
|
1944
1567
|
}
|
|
1945
1568
|
export interface GoogleCloudProjectsResponseDto {
|
|
1946
|
-
projects:
|
|
1569
|
+
projects: (GoogleCloudProjectDto)[];
|
|
1947
1570
|
}
|
|
1948
1571
|
export interface GoogleDocsAuthUrlDto {
|
|
1949
1572
|
redirectUri: string;
|
|
@@ -1965,10 +1588,12 @@ export interface GoogleDocsIntegrationResponseDto {
|
|
|
1965
1588
|
expiresAt?: number;
|
|
1966
1589
|
scope?: string;
|
|
1967
1590
|
createdAt: number;
|
|
1968
|
-
metadata?:
|
|
1591
|
+
metadata?: {
|
|
1592
|
+
[key: string]: unknown;
|
|
1593
|
+
};
|
|
1969
1594
|
}
|
|
1970
1595
|
export interface GoogleDocsIntegrationsListResponseDto {
|
|
1971
|
-
items: GoogleDocsIntegrationResponseDto[];
|
|
1596
|
+
items: (GoogleDocsIntegrationResponseDto)[];
|
|
1972
1597
|
total: number;
|
|
1973
1598
|
page: number;
|
|
1974
1599
|
limit: number;
|
|
@@ -2011,12 +1636,10 @@ export interface GoogleDocumentInfoResponseDto {
|
|
|
2011
1636
|
createdTime: string;
|
|
2012
1637
|
modifiedTime: string;
|
|
2013
1638
|
createdBy?: {
|
|
2014
|
-
|
|
2015
|
-
emailAddress: string;
|
|
1639
|
+
[key: string]: unknown;
|
|
2016
1640
|
};
|
|
2017
1641
|
lastModifiedBy?: {
|
|
2018
|
-
|
|
2019
|
-
emailAddress: string;
|
|
1642
|
+
[key: string]: unknown;
|
|
2020
1643
|
};
|
|
2021
1644
|
}
|
|
2022
1645
|
export interface GoogleDocumentReadQueryDto {
|
|
@@ -2032,7 +1655,7 @@ export interface GoogleDocumentsListQueryDto {
|
|
|
2032
1655
|
sortOrder?: 'asc' | 'desc';
|
|
2033
1656
|
}
|
|
2034
1657
|
export interface GoogleDocumentsListResponseDto {
|
|
2035
|
-
documents: GoogleDocumentInfoResponseDto[];
|
|
1658
|
+
documents: (GoogleDocumentInfoResponseDto)[];
|
|
2036
1659
|
nextPageToken?: string;
|
|
2037
1660
|
}
|
|
2038
1661
|
export interface GoogleDocumentUpdateDto {
|
|
@@ -2082,7 +1705,7 @@ export interface GoogleDriveFilesListQueryDto {
|
|
|
2082
1705
|
sharedDriveId?: string;
|
|
2083
1706
|
}
|
|
2084
1707
|
export interface GoogleDriveFilesListResponseDto {
|
|
2085
|
-
files: GoogleDriveFileInfoResponseDto[];
|
|
1708
|
+
files: (GoogleDriveFileInfoResponseDto)[];
|
|
2086
1709
|
nextPageToken?: string;
|
|
2087
1710
|
incompleteSearch?: boolean;
|
|
2088
1711
|
}
|
|
@@ -2099,10 +1722,12 @@ export interface GoogleDriveIntegrationResponseDto {
|
|
|
2099
1722
|
expiresAt?: number;
|
|
2100
1723
|
scope?: string;
|
|
2101
1724
|
createdAt: number;
|
|
2102
|
-
metadata?:
|
|
1725
|
+
metadata?: {
|
|
1726
|
+
[key: string]: unknown;
|
|
1727
|
+
};
|
|
2103
1728
|
}
|
|
2104
1729
|
export interface GoogleDriveIntegrationsListResponseDto {
|
|
2105
|
-
items: GoogleDriveIntegrationResponseDto[];
|
|
1730
|
+
items: (GoogleDriveIntegrationResponseDto)[];
|
|
2106
1731
|
total: number;
|
|
2107
1732
|
page: number;
|
|
2108
1733
|
limit: number;
|
|
@@ -2114,7 +1739,7 @@ export interface GoogleDriveMoveFileDto {
|
|
|
2114
1739
|
}
|
|
2115
1740
|
export interface GoogleDriveShareFileDto {
|
|
2116
1741
|
fileId: string;
|
|
2117
|
-
permissions: GoogleDriveSharePermissionDto[];
|
|
1742
|
+
permissions: (GoogleDriveSharePermissionDto)[];
|
|
2118
1743
|
sendNotificationEmail?: boolean;
|
|
2119
1744
|
emailMessage?: string;
|
|
2120
1745
|
}
|
|
@@ -2138,52 +1763,6 @@ export interface GoogleDriveUploadFileDto {
|
|
|
2138
1763
|
parentId?: string;
|
|
2139
1764
|
description?: string;
|
|
2140
1765
|
}
|
|
2141
|
-
export interface GoogleServiceMetadata {
|
|
2142
|
-
serviceType: GoogleServiceType;
|
|
2143
|
-
email: string;
|
|
2144
|
-
normalizedEmail?: string;
|
|
2145
|
-
connectedAt: number;
|
|
2146
|
-
grantedScopes?: string[];
|
|
2147
|
-
hostedDomain?: string;
|
|
2148
|
-
lastTestedAt?: number;
|
|
2149
|
-
lastTestResult?: boolean;
|
|
2150
|
-
userInfo?: {
|
|
2151
|
-
name?: string;
|
|
2152
|
-
picture?: string;
|
|
2153
|
-
hd?: string;
|
|
2154
|
-
};
|
|
2155
|
-
projectId?: string;
|
|
2156
|
-
location?: string;
|
|
2157
|
-
isConfigured?: boolean;
|
|
2158
|
-
modelCount?: number;
|
|
2159
|
-
lastTestAt?: number;
|
|
2160
|
-
vertexApiEnabled?: boolean;
|
|
2161
|
-
vertexApiEnableUrl?: string;
|
|
2162
|
-
vertexApiWarning?: string;
|
|
2163
|
-
vertexApiErrorReason?: string;
|
|
2164
|
-
vertexApiStatusCode?: number;
|
|
2165
|
-
}
|
|
2166
|
-
export declare enum GoogleServiceType {
|
|
2167
|
-
GOOGLE_DOCS = "GOOGLE_DOCS",
|
|
2168
|
-
GOOGLE_SHEETS = "GOOGLE_SHEETS",
|
|
2169
|
-
GOOGLE_SLIDES = "GOOGLE_SLIDES",
|
|
2170
|
-
GOOGLE_CALENDAR = "GOOGLE_CALENDAR",
|
|
2171
|
-
GOOGLE_TASKS = "GOOGLE_TASKS",
|
|
2172
|
-
GOOGLE_MEET = "GOOGLE_MEET",
|
|
2173
|
-
EMAIL_GMAIL = "EMAIL_GMAIL",
|
|
2174
|
-
GOOGLE_CHAT = "GOOGLE_CHAT",
|
|
2175
|
-
VERTEX_AI = "VERTEX_AI",
|
|
2176
|
-
GOOGLE_DRIVE = "GOOGLE_DRIVE",
|
|
2177
|
-
GOOGLE_CLOUD_STORAGE = "GOOGLE_CLOUD_STORAGE",
|
|
2178
|
-
GOOGLE_BIGQUERY = "GOOGLE_BIGQUERY",
|
|
2179
|
-
GOOGLE_FIRESTORE = "GOOGLE_FIRESTORE",
|
|
2180
|
-
GOOGLE_REALTIME_DATABASE = "GOOGLE_REALTIME_DATABASE",
|
|
2181
|
-
GOOGLE_CONTACTS = "GOOGLE_CONTACTS",
|
|
2182
|
-
GOOGLE_WORKSPACE_ADMIN = "GOOGLE_WORKSPACE_ADMIN",
|
|
2183
|
-
GOOGLE_ADS = "GOOGLE_ADS",
|
|
2184
|
-
GOOGLE_ANALYTICS = "GOOGLE_ANALYTICS",
|
|
2185
|
-
YOUTUBE = "YOUTUBE"
|
|
2186
|
-
}
|
|
2187
1766
|
export interface GoogleSheetsAppendDataDto {
|
|
2188
1767
|
spreadsheetId: string;
|
|
2189
1768
|
range: string;
|
|
@@ -2217,20 +1796,13 @@ export interface GoogleSheetsIntegrationResponseDto {
|
|
|
2217
1796
|
};
|
|
2218
1797
|
defaultSpreadsheetId?: string;
|
|
2219
1798
|
defaultSheetName?: string;
|
|
2220
|
-
availableSpreadsheets?:
|
|
2221
|
-
id
|
|
2222
|
-
name
|
|
1799
|
+
availableSpreadsheets?: ({
|
|
1800
|
+
id?: string;
|
|
1801
|
+
name?: string;
|
|
2223
1802
|
webViewLink?: string;
|
|
2224
|
-
sheets?: Array<{
|
|
2225
|
-
sheetId: number;
|
|
2226
|
-
title: string;
|
|
2227
|
-
sheetType?: 'GRID' | 'OBJECT';
|
|
2228
|
-
rowCount?: number;
|
|
2229
|
-
columnCount?: number;
|
|
2230
|
-
}>;
|
|
2231
1803
|
createdTime?: string;
|
|
2232
1804
|
modifiedTime?: string;
|
|
2233
|
-
}
|
|
1805
|
+
})[];
|
|
2234
1806
|
dataSettings?: {
|
|
2235
1807
|
valueInputOption?: 'RAW' | 'USER_ENTERED';
|
|
2236
1808
|
valueRenderOption?: 'FORMATTED_VALUE' | 'UNFORMATTED_VALUE' | 'FORMULA';
|
|
@@ -2252,7 +1824,7 @@ export interface GoogleSheetsIntegrationResponseDto {
|
|
|
2252
1824
|
createdAt: Date;
|
|
2253
1825
|
}
|
|
2254
1826
|
export interface GoogleSheetsIntegrationsListResponseDto {
|
|
2255
|
-
items: GoogleSheetsIntegrationResponseDto[];
|
|
1827
|
+
items: (GoogleSheetsIntegrationResponseDto)[];
|
|
2256
1828
|
total: number;
|
|
2257
1829
|
page: number;
|
|
2258
1830
|
limit: number;
|
|
@@ -2293,13 +1865,13 @@ export interface GoogleSpreadsheetInfoResponseDto {
|
|
|
2293
1865
|
id: string;
|
|
2294
1866
|
name: string;
|
|
2295
1867
|
webViewLink?: string;
|
|
2296
|
-
sheets?:
|
|
2297
|
-
sheetId
|
|
2298
|
-
title
|
|
2299
|
-
sheetType?:
|
|
1868
|
+
sheets?: ({
|
|
1869
|
+
sheetId?: number;
|
|
1870
|
+
title?: string;
|
|
1871
|
+
sheetType?: string;
|
|
2300
1872
|
rowCount?: number;
|
|
2301
1873
|
columnCount?: number;
|
|
2302
|
-
}
|
|
1874
|
+
})[];
|
|
2303
1875
|
createdTime?: string;
|
|
2304
1876
|
modifiedTime?: string;
|
|
2305
1877
|
}
|
|
@@ -2310,121 +1882,24 @@ export interface GoogleSpreadsheetsListQueryDto {
|
|
|
2310
1882
|
writableOnly?: boolean;
|
|
2311
1883
|
}
|
|
2312
1884
|
export interface GoogleSpreadsheetsListResponseDto {
|
|
2313
|
-
items: GoogleSpreadsheetInfoResponseDto[];
|
|
1885
|
+
items: (GoogleSpreadsheetInfoResponseDto)[];
|
|
2314
1886
|
nextPageToken?: string;
|
|
2315
1887
|
}
|
|
2316
|
-
export interface HourlyScheduleConfig {
|
|
2317
|
-
everyHours: number;
|
|
2318
|
-
atMinute?: number;
|
|
2319
|
-
}
|
|
2320
|
-
export declare enum HttpMethod {
|
|
2321
|
-
GET = "GET",
|
|
2322
|
-
POST = "POST",
|
|
2323
|
-
PUT = "PUT",
|
|
2324
|
-
PATCH = "PATCH",
|
|
2325
|
-
DELETE = "DELETE"
|
|
2326
|
-
}
|
|
2327
|
-
export interface HttpUsageConfig {
|
|
2328
|
-
headers?: Record<string, string>;
|
|
2329
|
-
params?: Record<string, string>;
|
|
2330
|
-
body?: Record<string, string>;
|
|
2331
|
-
bodyType?: BodyType;
|
|
2332
|
-
binary?: FileDescriptor;
|
|
2333
|
-
formDataFiles?: Array<{
|
|
2334
|
-
fieldName: string;
|
|
2335
|
-
file: FileDescriptor;
|
|
2336
|
-
}>;
|
|
2337
|
-
cookies?: Record<string, string>;
|
|
2338
|
-
transforms?: Record<string, TransformDefinition>;
|
|
2339
|
-
}
|
|
2340
|
-
export interface IIntegrationInputField {
|
|
2341
|
-
key: string;
|
|
2342
|
-
label: string;
|
|
2343
|
-
type: IntegrationInputFieldType;
|
|
2344
|
-
sourceType: IntegrationInputFieldSourceType;
|
|
2345
|
-
required: boolean;
|
|
2346
|
-
defaultValue?: string | number | boolean;
|
|
2347
|
-
description?: string;
|
|
2348
|
-
placeholder?: string;
|
|
2349
|
-
minValue?: number;
|
|
2350
|
-
maxValue?: number;
|
|
2351
|
-
minLength?: number;
|
|
2352
|
-
maxLength?: number;
|
|
2353
|
-
pattern?: string;
|
|
2354
|
-
errorMessage?: string;
|
|
2355
|
-
responseMapping?: FieldResponseMapping;
|
|
2356
|
-
}
|
|
2357
1888
|
export interface InitiateTelegramLoginDto {
|
|
2358
1889
|
phoneNumber: string;
|
|
2359
1890
|
}
|
|
2360
|
-
export interface Integration {
|
|
2361
|
-
id: string;
|
|
2362
|
-
integrationName: string;
|
|
2363
|
-
typeId: number;
|
|
2364
|
-
integrationProvider?: IntegrationProvider;
|
|
2365
|
-
ownedType: OwnedTypeEnum;
|
|
2366
|
-
createdAt: number;
|
|
2367
|
-
employeeId: number | null;
|
|
2368
|
-
encryptedConfig: string | null;
|
|
2369
|
-
mcpEncryptedConfig: string | null;
|
|
2370
|
-
metadata: Metadata | null;
|
|
2371
|
-
updatedAt: number | null;
|
|
2372
|
-
status: IntegrationEntityStatus;
|
|
2373
|
-
secretKey: string | null;
|
|
2374
|
-
imageKey: string | null;
|
|
2375
|
-
externalIntegrationId: string | null;
|
|
2376
|
-
errorTracking: IntegrationJobErrorTracking | null;
|
|
2377
|
-
updateTimestamp: () => void;
|
|
2378
|
-
}
|
|
2379
1891
|
export interface IntegrationAccountResponseDto {
|
|
2380
1892
|
id: string;
|
|
2381
1893
|
integrationName: string;
|
|
2382
|
-
avatarUrl?:
|
|
1894
|
+
avatarUrl?: unknown | null;
|
|
2383
1895
|
providerType: ProviderEnum;
|
|
2384
|
-
status?:
|
|
2385
|
-
additionalInfo?:
|
|
1896
|
+
status?: unknown | null;
|
|
1897
|
+
additionalInfo?: unknown | null;
|
|
2386
1898
|
createdAt: number;
|
|
2387
1899
|
updatedAt: number | null;
|
|
2388
1900
|
isAgentConnected: boolean;
|
|
2389
1901
|
integrationProvider: IntegrationProviderInfoDto;
|
|
2390
1902
|
}
|
|
2391
|
-
export declare enum IntegrationEntityStatus {
|
|
2392
|
-
ACTIVE = "ACTIVE",
|
|
2393
|
-
INACTIVE = "INACTIVE",
|
|
2394
|
-
ERROR = "ERROR"
|
|
2395
|
-
}
|
|
2396
|
-
export declare enum IntegrationInputFieldSourceType {
|
|
2397
|
-
USER_INPUT = "USER_INPUT",
|
|
2398
|
-
INFO_RESULT_API = "INFO_RESULT_API"
|
|
2399
|
-
}
|
|
2400
|
-
export declare enum IntegrationInputFieldType {
|
|
2401
|
-
TEXT = "TEXT",
|
|
2402
|
-
NUMBER = "NUMBER",
|
|
2403
|
-
EMAIL = "EMAIL",
|
|
2404
|
-
URL = "URL",
|
|
2405
|
-
DATE = "DATE",
|
|
2406
|
-
BOOLEAN = "BOOLEAN",
|
|
2407
|
-
PASSWORD = "PASSWORD",
|
|
2408
|
-
TEXTAREA = "TEXTAREA",
|
|
2409
|
-
OBJECT = "OBJECT",
|
|
2410
|
-
ARRAY = "ARRAY"
|
|
2411
|
-
}
|
|
2412
|
-
export interface IntegrationJobErrorTracking {
|
|
2413
|
-
consecutiveFailures: number;
|
|
2414
|
-
lastFailureAt: number | null;
|
|
2415
|
-
lastSuccessAt: number | null;
|
|
2416
|
-
totalFailures: number;
|
|
2417
|
-
totalSuccesses: number;
|
|
2418
|
-
healthStatus: IntegrationJobHealthStatus;
|
|
2419
|
-
lastError?: string;
|
|
2420
|
-
lastErrorDetails?: Record<string, any>;
|
|
2421
|
-
}
|
|
2422
|
-
export declare enum IntegrationJobHealthStatus {
|
|
2423
|
-
HEALTHY = "HEALTHY",
|
|
2424
|
-
DEGRADED = "DEGRADED",
|
|
2425
|
-
FAILED = "FAILED",
|
|
2426
|
-
DISABLED = "DISABLED"
|
|
2427
|
-
}
|
|
2428
1903
|
export interface IntegrationOAuthCallbackResponseDto {
|
|
2429
1904
|
integrationId: string;
|
|
2430
1905
|
integrationName: string;
|
|
@@ -2433,67 +1908,47 @@ export interface IntegrationOAuthCallbackResponseDto {
|
|
|
2433
1908
|
createdAt: number;
|
|
2434
1909
|
status: string;
|
|
2435
1910
|
}
|
|
2436
|
-
export interface IntegrationProvider {
|
|
2437
|
-
id: number;
|
|
2438
|
-
type: ProviderEnum;
|
|
2439
|
-
mcpSchema: Record<string, any> | null;
|
|
2440
|
-
imageUrl: string;
|
|
2441
|
-
displayName: string | null;
|
|
2442
|
-
createdAt: number;
|
|
2443
|
-
updatedAt: number | null;
|
|
2444
|
-
createdBy: number | null;
|
|
2445
|
-
updatedBy: number | null;
|
|
2446
|
-
workspaceId: string | null;
|
|
2447
|
-
baseId: string | null;
|
|
2448
|
-
ownerType: OwnedTypeEnum | null;
|
|
2449
|
-
inputFields: IIntegrationInputField[] | null;
|
|
2450
|
-
config: ApiRequestConfig | null;
|
|
2451
|
-
configRefresh: ApiRequestConfig | null;
|
|
2452
|
-
cronSchedule: CronScheduleConfig | null;
|
|
2453
|
-
usageConfig: ToolUsageConfig | null;
|
|
2454
|
-
categoryId: number | null;
|
|
2455
|
-
mode: UserCategoryEnum;
|
|
2456
|
-
encryptedConfig: string | null;
|
|
2457
|
-
secretKey: string | null;
|
|
2458
|
-
userManual: string | null;
|
|
2459
|
-
}
|
|
2460
1911
|
export interface IntegrationProviderInfoDto {
|
|
2461
1912
|
id: number;
|
|
2462
1913
|
type: ProviderEnum;
|
|
2463
|
-
displayName
|
|
2464
|
-
mcpSchema:
|
|
1914
|
+
displayName?: unknown | null;
|
|
1915
|
+
mcpSchema: unknown | null;
|
|
2465
1916
|
imageUrl: string;
|
|
2466
1917
|
createdAt: number;
|
|
2467
|
-
updatedAt:
|
|
1918
|
+
updatedAt: unknown | null;
|
|
2468
1919
|
}
|
|
2469
1920
|
export type IntegrationProviderQueryDto = QueryDto & {
|
|
2470
1921
|
isActive?: boolean;
|
|
2471
|
-
ownerType?:
|
|
1922
|
+
ownerType?: 'ADMIN' | 'IN_SYSTEM';
|
|
2472
1923
|
mode?: UserCategoryEnum;
|
|
2473
1924
|
};
|
|
2474
1925
|
export interface IntegrationProviderResponseDto {
|
|
2475
1926
|
id: number;
|
|
2476
1927
|
type: ProviderEnum;
|
|
2477
|
-
mcpSchema
|
|
1928
|
+
mcpSchema?: {
|
|
1929
|
+
[key: string]: unknown;
|
|
1930
|
+
};
|
|
2478
1931
|
createdAt: number;
|
|
2479
|
-
updatedAt
|
|
2480
|
-
createdBy
|
|
2481
|
-
updatedBy
|
|
2482
|
-
imageUrl?:
|
|
2483
|
-
projectId?:
|
|
2484
|
-
location?:
|
|
1932
|
+
updatedAt?: unknown | null;
|
|
1933
|
+
createdBy?: unknown | null;
|
|
1934
|
+
updatedBy?: unknown | null;
|
|
1935
|
+
imageUrl?: unknown | null;
|
|
1936
|
+
projectId?: unknown | null;
|
|
1937
|
+
location?: unknown | null;
|
|
2485
1938
|
}
|
|
2486
1939
|
export interface IntegrationResponseDto {
|
|
2487
1940
|
id: string;
|
|
2488
1941
|
integrationName: string;
|
|
2489
1942
|
typeId: number;
|
|
2490
|
-
userId
|
|
2491
|
-
ownedType
|
|
1943
|
+
userId?: unknown | null;
|
|
1944
|
+
ownedType?: unknown | null;
|
|
2492
1945
|
createdAt: number;
|
|
2493
|
-
employeeId
|
|
2494
|
-
encryptedConfig
|
|
2495
|
-
mcpEncryptedConfig
|
|
2496
|
-
metadata
|
|
1946
|
+
employeeId?: unknown | null;
|
|
1947
|
+
encryptedConfig?: unknown | null;
|
|
1948
|
+
mcpEncryptedConfig?: unknown | null;
|
|
1949
|
+
metadata?: {
|
|
1950
|
+
[key: string]: unknown;
|
|
1951
|
+
};
|
|
2497
1952
|
}
|
|
2498
1953
|
export declare enum IntegrationStatus {
|
|
2499
1954
|
ACTIVE = "active",
|
|
@@ -2505,7 +1960,6 @@ export interface IntegrationZaloBotSendMessageResponseDto {
|
|
|
2505
1960
|
message: string;
|
|
2506
1961
|
error?: string;
|
|
2507
1962
|
}
|
|
2508
|
-
export type Invalid = false;
|
|
2509
1963
|
export interface JTConfigResponseDto {
|
|
2510
1964
|
apiKey: string;
|
|
2511
1965
|
username: string;
|
|
@@ -2527,7 +1981,7 @@ export interface KlbAccountLookupResponseDto {
|
|
|
2527
1981
|
export interface LoginStatusDataDto {
|
|
2528
1982
|
isLoggedIn: boolean;
|
|
2529
1983
|
status?: 'pending' | 'scanning' | 'confirmed' | 'success' | 'expired' | 'failed' | 'qr_expired';
|
|
2530
|
-
userInfo: UserProfileDto
|
|
1984
|
+
userInfo: UserProfileDto;
|
|
2531
1985
|
qrCode?: string;
|
|
2532
1986
|
sessionData?: SessionDataDto;
|
|
2533
1987
|
}
|
|
@@ -2563,11 +2017,6 @@ export interface ManualSyncRequestDto {
|
|
|
2563
2017
|
useQueue?: boolean;
|
|
2564
2018
|
correlationId?: string;
|
|
2565
2019
|
}
|
|
2566
|
-
export interface Mapping {
|
|
2567
|
-
mapToIndex(value: number): number;
|
|
2568
|
-
lowerBoundary(index: number): number;
|
|
2569
|
-
get scale(): number;
|
|
2570
|
-
}
|
|
2571
2020
|
export interface MatchedSystemUser {
|
|
2572
2021
|
id: string;
|
|
2573
2022
|
name: string;
|
|
@@ -2583,11 +2032,6 @@ export declare enum MediaOperationEnum {
|
|
|
2583
2032
|
UPDATE = "update",
|
|
2584
2033
|
DELETE = "delete"
|
|
2585
2034
|
}
|
|
2586
|
-
export declare enum MergeStrategy {
|
|
2587
|
-
REPLACE = "REPLACE",
|
|
2588
|
-
MERGE = "MERGE"
|
|
2589
|
-
}
|
|
2590
|
-
export type Metadata = FacebookPageMetadata | FacebookPersonalMetadata | FacebookAdsMetadata | WebsiteMetadata | EmailServerMetadata | PaymentGatewayMetadata | FptSmsMetadata | TwilioSmsMetadata | VonageSmsMetadata | SpeedSmsMetadata | ESmsMetadata | GmailMetadata | OpenAIMetadata | AnthropicMetadata | DeepSeekMetadata | XAIMetadata | VertexAIMetadata | ZaloPersonalMetadata | GetflyMetadata | GoogleServiceMetadata | GoogleCloudProjectMetadata | TelegramBotMetadata;
|
|
2591
2035
|
export interface Microdata {
|
|
2592
2036
|
content_ids?: string[];
|
|
2593
2037
|
contents?: Content[];
|
|
@@ -2658,12 +2102,6 @@ export interface Microdata {
|
|
|
2658
2102
|
windows_phone_app_id?: string;
|
|
2659
2103
|
windows_phone_app_name?: string;
|
|
2660
2104
|
}
|
|
2661
|
-
export interface MonthlyScheduleConfig {
|
|
2662
|
-
everyMonths: number;
|
|
2663
|
-
onDayOfMonth: number;
|
|
2664
|
-
atHour: number;
|
|
2665
|
-
atMinute: number;
|
|
2666
|
-
}
|
|
2667
2105
|
export interface OAuthUserInfo {
|
|
2668
2106
|
id?: string;
|
|
2669
2107
|
email?: string;
|
|
@@ -2677,13 +2115,6 @@ export interface OcbAccountLookupDto {
|
|
|
2677
2115
|
export interface OcbAccountLookupResponseDto {
|
|
2678
2116
|
accountHolderName: string;
|
|
2679
2117
|
}
|
|
2680
|
-
export interface OpenAIMetadata {
|
|
2681
|
-
isValid: boolean;
|
|
2682
|
-
usageCount?: number;
|
|
2683
|
-
lastUsedAt?: number;
|
|
2684
|
-
lastQuotaErrorAt?: number;
|
|
2685
|
-
isQuotaExceeded?: boolean;
|
|
2686
|
-
}
|
|
2687
2118
|
export interface OpenAIOAuthAuthUrlRequestDto {
|
|
2688
2119
|
redirectUri?: string;
|
|
2689
2120
|
}
|
|
@@ -2719,11 +2150,6 @@ export interface OverviewSummaryDto {
|
|
|
2719
2150
|
totalViaPersonalIntegration: number;
|
|
2720
2151
|
totalPersonalIntegrations: number;
|
|
2721
2152
|
}
|
|
2722
|
-
export declare enum OwnedTypeEnum {
|
|
2723
|
-
USER = "USER",
|
|
2724
|
-
ADMIN = "ADMIN",
|
|
2725
|
-
IN_SYSTEM = "IN_SYSTEM"
|
|
2726
|
-
}
|
|
2727
2153
|
export interface OwnershipInfoDto {
|
|
2728
2154
|
ownedByPersonalIntegration: PersonalIntegrationInfoDto;
|
|
2729
2155
|
primaryAccess: AccessPathInfoDto;
|
|
@@ -2742,8 +2168,8 @@ export interface PageInfoDto {
|
|
|
2742
2168
|
createdAt: number;
|
|
2743
2169
|
}
|
|
2744
2170
|
export interface PagesByOwnershipDto {
|
|
2745
|
-
directOwnership: DirectOwnershipPageDto[];
|
|
2746
|
-
viaPersonalIntegration: ViaPersonalIntegrationPageDto[];
|
|
2171
|
+
directOwnership: (DirectOwnershipPageDto)[];
|
|
2172
|
+
viaPersonalIntegration: (ViaPersonalIntegrationPageDto)[];
|
|
2747
2173
|
}
|
|
2748
2174
|
export interface PartnerIntegration {
|
|
2749
2175
|
partner_name: string;
|
|
@@ -2751,33 +2177,6 @@ export interface PartnerIntegration {
|
|
|
2751
2177
|
enabled: boolean;
|
|
2752
2178
|
configuration?: Record<string, any>;
|
|
2753
2179
|
}
|
|
2754
|
-
export interface PaymentGatewayMetadata {
|
|
2755
|
-
paymentGatewayType: string;
|
|
2756
|
-
accountId: string;
|
|
2757
|
-
userCompanyInSepayId: string;
|
|
2758
|
-
bankCode: string;
|
|
2759
|
-
accountNumber: string;
|
|
2760
|
-
accountHolderName: string;
|
|
2761
|
-
label: string;
|
|
2762
|
-
phoneNumber: string;
|
|
2763
|
-
status: PaymentGatewayStatus;
|
|
2764
|
-
requestId: string;
|
|
2765
|
-
isVa: boolean;
|
|
2766
|
-
canCreateVa: boolean;
|
|
2767
|
-
mainId?: string;
|
|
2768
|
-
vaId?: string;
|
|
2769
|
-
merchantAddress?: string;
|
|
2770
|
-
merchantName?: string;
|
|
2771
|
-
}
|
|
2772
|
-
export declare enum PaymentGatewayStatus {
|
|
2773
|
-
PENDING = "PENDING",
|
|
2774
|
-
CONNECTED = "CONNECTED",
|
|
2775
|
-
ACTIVE = "ACTIVE",
|
|
2776
|
-
VERIFIED = "VERIFIED",
|
|
2777
|
-
DISCONNECTED = "DISCONNECTED",
|
|
2778
|
-
FAILED = "FAILED",
|
|
2779
|
-
DISABLED = "DISABLED"
|
|
2780
|
-
}
|
|
2781
2180
|
export interface PendingSessionStatusResponseDto {
|
|
2782
2181
|
hasPendingSession: boolean;
|
|
2783
2182
|
method?: string;
|
|
@@ -2907,8 +2306,8 @@ export declare enum ProxyStatusDto {
|
|
|
2907
2306
|
export interface QRCodeDataDto {
|
|
2908
2307
|
qrCode?: string;
|
|
2909
2308
|
loginUrl?: string;
|
|
2910
|
-
userInfo?: UserProfileDto
|
|
2911
|
-
sessionData?: SessionDataDto
|
|
2309
|
+
userInfo?: UserProfileDto;
|
|
2310
|
+
sessionData?: SessionDataDto;
|
|
2912
2311
|
}
|
|
2913
2312
|
export interface QrLoginInitiatedResponseDto {
|
|
2914
2313
|
method: string;
|
|
@@ -2917,12 +2316,9 @@ export interface QrLoginInitiatedResponseDto {
|
|
|
2917
2316
|
expiresAt: number;
|
|
2918
2317
|
message: string;
|
|
2919
2318
|
}
|
|
2920
|
-
export interface Query {
|
|
2921
|
-
[key: string]: string;
|
|
2922
|
-
}
|
|
2923
2319
|
export type QueryEmailServerStatsDto = QueryDto & {
|
|
2924
2320
|
provider?: ProviderEnum;
|
|
2925
|
-
status?:
|
|
2321
|
+
status?: 'ACTIVE' | 'INACTIVE' | 'ERROR';
|
|
2926
2322
|
};
|
|
2927
2323
|
export type QueryESmsIntegrationDto = QueryDto & {
|
|
2928
2324
|
search?: string;
|
|
@@ -2960,6 +2356,10 @@ export interface QueryProxyIntegrationDto {
|
|
|
2960
2356
|
sortBy?: string;
|
|
2961
2357
|
sortOrder?: 'ASC' | 'DESC';
|
|
2962
2358
|
}
|
|
2359
|
+
export type QueryTikTokIntegrationDetailDto = QueryDto & {
|
|
2360
|
+
page: number;
|
|
2361
|
+
limit: number;
|
|
2362
|
+
};
|
|
2963
2363
|
export type QueryZaloPersonalIntegrationDto = QueryDto & {
|
|
2964
2364
|
search?: string;
|
|
2965
2365
|
status?: ZaloPersonalIntegrationStatus;
|
|
@@ -2969,7 +2369,7 @@ export type QueryZaloPersonalIntegrationDto = QueryDto & {
|
|
|
2969
2369
|
export interface RecommendProductsDto {
|
|
2970
2370
|
beneficiary: BeneficiaryType;
|
|
2971
2371
|
budget?: 'low' | 'medium' | 'high';
|
|
2972
|
-
features?:
|
|
2372
|
+
features?: 'subscription' | 'group_messaging' | 'transaction_quota';
|
|
2973
2373
|
duration?: 'short' | 'long';
|
|
2974
2374
|
}
|
|
2975
2375
|
export interface RegisterAhamoveAccountDto {
|
|
@@ -2987,7 +2387,7 @@ export interface RequestCreateVAOcbResponseDto {
|
|
|
2987
2387
|
code: number;
|
|
2988
2388
|
message: string;
|
|
2989
2389
|
data: {
|
|
2990
|
-
request_id
|
|
2390
|
+
request_id?: string;
|
|
2991
2391
|
};
|
|
2992
2392
|
}
|
|
2993
2393
|
export interface RequestDeleteAcbConnectionResponseDto {
|
|
@@ -3057,22 +2457,12 @@ export declare enum SideMode {
|
|
|
3057
2457
|
SIDEBAR_RIGHT = "SIDEBAR_RIGHT",
|
|
3058
2458
|
OVERLAY = "OVERLAY"
|
|
3059
2459
|
}
|
|
3060
|
-
export interface SpeedSmsMetadata {
|
|
3061
|
-
smsType?: number;
|
|
3062
|
-
sender?: string;
|
|
3063
|
-
apiUrl?: string;
|
|
3064
|
-
[key: string]: any;
|
|
3065
|
-
}
|
|
3066
2460
|
export interface StartGmailWatchDto {
|
|
3067
2461
|
integrationId: string;
|
|
3068
2462
|
topicName: string;
|
|
3069
2463
|
labelIds?: GmailSystemLabel[];
|
|
3070
2464
|
labelFilterBehavior?: 'INCLUDE' | 'EXCLUDE';
|
|
3071
2465
|
}
|
|
3072
|
-
export interface SuccessCondition {
|
|
3073
|
-
jsonPath: string;
|
|
3074
|
-
expectedValue: any;
|
|
3075
|
-
}
|
|
3076
2466
|
export interface TelegramBotIntegrationResponseDto {
|
|
3077
2467
|
id: string;
|
|
3078
2468
|
userId: number;
|
|
@@ -3084,15 +2474,6 @@ export interface TelegramBotIntegrationResponseDto {
|
|
|
3084
2474
|
createdAt: number;
|
|
3085
2475
|
updatedAt: number;
|
|
3086
2476
|
}
|
|
3087
|
-
export interface TelegramBotMetadata {
|
|
3088
|
-
botId: number;
|
|
3089
|
-
firstName: string;
|
|
3090
|
-
username: string;
|
|
3091
|
-
botName?: string;
|
|
3092
|
-
agentId?: string;
|
|
3093
|
-
webhookUrl?: string;
|
|
3094
|
-
[key: string]: string | number | undefined;
|
|
3095
|
-
}
|
|
3096
2477
|
export type TelegramBotQueryDto = QueryDto & {
|
|
3097
2478
|
isActive?: boolean;
|
|
3098
2479
|
};
|
|
@@ -3174,7 +2555,7 @@ export interface TestGoogleDocsConnectionResponseDto {
|
|
|
3174
2555
|
email?: string | null;
|
|
3175
2556
|
name?: string | null;
|
|
3176
2557
|
picture?: string | null;
|
|
3177
|
-
grantedScopes?: string[]
|
|
2558
|
+
grantedScopes?: (string)[];
|
|
3178
2559
|
tokenValid?: boolean;
|
|
3179
2560
|
expiresAt?: number | null;
|
|
3180
2561
|
}
|
|
@@ -3211,14 +2592,182 @@ export interface TestUserKeyDto {
|
|
|
3211
2592
|
credentials: Record<string, any>;
|
|
3212
2593
|
model?: string;
|
|
3213
2594
|
}
|
|
2595
|
+
export interface TikTokAccountListItemDto {
|
|
2596
|
+
id: string;
|
|
2597
|
+
integrationName: string;
|
|
2598
|
+
status: string;
|
|
2599
|
+
openId: unknown | null;
|
|
2600
|
+
displayName: unknown | null;
|
|
2601
|
+
avatarUrl: unknown | null;
|
|
2602
|
+
connectionStatus: unknown | null;
|
|
2603
|
+
createdAt: number;
|
|
2604
|
+
updatedAt: unknown | null;
|
|
2605
|
+
}
|
|
2606
|
+
export interface TikTokAccountListResponseDto {
|
|
2607
|
+
total: number;
|
|
2608
|
+
items: TikTokAccountListItemDto;
|
|
2609
|
+
}
|
|
2610
|
+
export interface TikTokAccountSummaryDto {
|
|
2611
|
+
integrationId: string;
|
|
2612
|
+
integrationName: string;
|
|
2613
|
+
displayName?: string | null;
|
|
2614
|
+
username?: string | null;
|
|
2615
|
+
avatarUrl?: string | null;
|
|
2616
|
+
videoCount?: number | null;
|
|
2617
|
+
lastSyncAt?: number | null;
|
|
2618
|
+
}
|
|
2619
|
+
export type TikTokAddDataRequestDto = TikTokDataPortabilityBaseRequestDto & {
|
|
2620
|
+
dataFormat: 'text' | 'json';
|
|
2621
|
+
categorySelectionList: 'all_data' | 'video' | 'profile' | 'activity' | 'direct_message';
|
|
2622
|
+
fields?: string;
|
|
2623
|
+
};
|
|
2624
|
+
export interface TikTokAllIntegrationsDetailResponseDto {
|
|
2625
|
+
providerType: string;
|
|
2626
|
+
totalAccounts: number;
|
|
2627
|
+
accounts: (TikTokAccountSummaryDto)[];
|
|
2628
|
+
meta: {
|
|
2629
|
+
totalItems: number;
|
|
2630
|
+
itemCount: number;
|
|
2631
|
+
itemsPerPage: number;
|
|
2632
|
+
totalPages: number;
|
|
2633
|
+
currentPage: number;
|
|
2634
|
+
};
|
|
2635
|
+
videos: (TikTokVideoWithAccountDetailDto)[];
|
|
2636
|
+
lastSyncAt?: number | null;
|
|
2637
|
+
}
|
|
2638
|
+
export interface TikTokAuthUrlRequestDto {
|
|
2639
|
+
redirectUri?: string;
|
|
2640
|
+
}
|
|
2641
|
+
export interface TikTokAuthUrlResponseDto {
|
|
2642
|
+
authUrl: string;
|
|
2643
|
+
state: string;
|
|
2644
|
+
}
|
|
2645
|
+
export type TikTokCheckDataRequestStatusDto = TikTokRequestIdDto & {
|
|
2646
|
+
fields?: string;
|
|
2647
|
+
};
|
|
2648
|
+
export type TikTokCreatorInfoRequestDto = TikTokPostingBaseRequestDto;
|
|
2649
|
+
export interface TikTokDataPortabilityBaseRequestDto {
|
|
2650
|
+
integrationId?: string;
|
|
2651
|
+
}
|
|
2652
|
+
export interface TikTokDataPortabilityDownloadResponseDto {
|
|
2653
|
+
fileName: string;
|
|
2654
|
+
mimeType: string;
|
|
2655
|
+
sizeBytes: number;
|
|
2656
|
+
base64: string;
|
|
2657
|
+
}
|
|
2658
|
+
export interface TikTokDataPortabilityJsonResponseDto {
|
|
2659
|
+
data: Record<string, unknown>;
|
|
2660
|
+
raw: Record<string, unknown>;
|
|
2661
|
+
}
|
|
2662
|
+
export interface TikTokDisplayApiResponseDto {
|
|
2663
|
+
data: Record<string, unknown>;
|
|
2664
|
+
raw: Record<string, unknown>;
|
|
2665
|
+
}
|
|
2666
|
+
export interface TikTokDisplayBaseRequestDto {
|
|
2667
|
+
integrationId?: string;
|
|
2668
|
+
}
|
|
2669
|
+
export type TikTokGetUserInfoRequestDto = TikTokDisplayBaseRequestDto & {
|
|
2670
|
+
fields?: string;
|
|
2671
|
+
};
|
|
2672
|
+
export interface TikTokIntegrationDetailResponseDto {
|
|
2673
|
+
integrationId: string;
|
|
2674
|
+
integrationName: string;
|
|
2675
|
+
providerType: string;
|
|
2676
|
+
profile: Record<string, any> | null;
|
|
2677
|
+
meta: {
|
|
2678
|
+
totalItems: number;
|
|
2679
|
+
itemCount: number;
|
|
2680
|
+
itemsPerPage: number;
|
|
2681
|
+
totalPages: number;
|
|
2682
|
+
currentPage: number;
|
|
2683
|
+
};
|
|
2684
|
+
videos: (TikTokVideoDetailDto)[];
|
|
2685
|
+
lastSyncAt?: number | null;
|
|
2686
|
+
}
|
|
2687
|
+
export type TikTokPhotoInitRequestDto = TikTokPostingBaseRequestDto & {
|
|
2688
|
+
post_mode: string;
|
|
2689
|
+
media_type: string;
|
|
2690
|
+
post_info?: Record<string, unknown>;
|
|
2691
|
+
source_info: Record<string, unknown>;
|
|
2692
|
+
};
|
|
2693
|
+
export interface TikTokPostingApiResponseDto {
|
|
2694
|
+
data: Record<string, unknown>;
|
|
2695
|
+
raw: Record<string, unknown>;
|
|
2696
|
+
}
|
|
2697
|
+
export interface TikTokPostingBaseRequestDto {
|
|
2698
|
+
integrationId?: string;
|
|
2699
|
+
}
|
|
2700
|
+
export type TikTokPostingStatusRequestDto = TikTokPostingBaseRequestDto & {
|
|
2701
|
+
publishId?: string;
|
|
2702
|
+
publish_id?: string;
|
|
2703
|
+
};
|
|
2704
|
+
export type TikTokRequestIdDto = TikTokDataPortabilityBaseRequestDto & {
|
|
2705
|
+
requestId: string;
|
|
2706
|
+
};
|
|
2707
|
+
export interface TikTokResearchApiResponseDto {
|
|
2708
|
+
data: Record<string, unknown>;
|
|
2709
|
+
raw: Record<string, unknown>;
|
|
2710
|
+
}
|
|
2711
|
+
export interface TikTokResearchBatchCreateRequestDto {
|
|
2712
|
+
fields?: string;
|
|
2713
|
+
payloadJson?: string;
|
|
2714
|
+
}
|
|
2715
|
+
export interface TikTokResearchBatchDownloadResponseDto {
|
|
2716
|
+
fileName: string;
|
|
2717
|
+
mimeType: string;
|
|
2718
|
+
sizeBytes: number;
|
|
2719
|
+
base64: string;
|
|
2720
|
+
}
|
|
2721
|
+
export interface TikTokResearchBatchTaskRequestDto {
|
|
2722
|
+
taskId: number;
|
|
2723
|
+
}
|
|
2724
|
+
export interface TikTokResearchRequestDto {
|
|
2725
|
+
fields?: string;
|
|
2726
|
+
body?: Record<string, unknown>;
|
|
2727
|
+
}
|
|
2728
|
+
export interface TikTokVideoDetailDto {
|
|
2729
|
+
id: string;
|
|
2730
|
+
title?: string;
|
|
2731
|
+
videoDescription?: string;
|
|
2732
|
+
duration?: number;
|
|
2733
|
+
coverImageUrl?: string;
|
|
2734
|
+
shareUrl?: string;
|
|
2735
|
+
viewCount?: number;
|
|
2736
|
+
likeCount?: number;
|
|
2737
|
+
commentCount?: number;
|
|
2738
|
+
createTime?: number;
|
|
2739
|
+
}
|
|
2740
|
+
export type TikTokVideoDirectInitRequestDto = TikTokPostingBaseRequestDto & {
|
|
2741
|
+
post_info: Record<string, unknown>;
|
|
2742
|
+
source_info: Record<string, unknown>;
|
|
2743
|
+
};
|
|
2744
|
+
export type TikTokVideoListRequestDto = TikTokDisplayBaseRequestDto & {
|
|
2745
|
+
fields?: string;
|
|
2746
|
+
cursor?: number;
|
|
2747
|
+
maxCount?: number;
|
|
2748
|
+
};
|
|
2749
|
+
export interface TikTokVideoQueryFilterDto {
|
|
2750
|
+
video_ids: string[];
|
|
2751
|
+
}
|
|
2752
|
+
export type TikTokVideoQueryRequestDto = TikTokDisplayBaseRequestDto & {
|
|
2753
|
+
fields?: string;
|
|
2754
|
+
filters: TikTokVideoQueryFilterDto;
|
|
2755
|
+
};
|
|
2756
|
+
export type TikTokVideoUploadInitRequestDto = TikTokPostingBaseRequestDto & {
|
|
2757
|
+
source_info: Record<string, unknown>;
|
|
2758
|
+
};
|
|
2759
|
+
export type TikTokVideoWithAccountDetailDto = TikTokVideoDetailDto & {
|
|
2760
|
+
integrationId: string;
|
|
2761
|
+
integrationName: string;
|
|
2762
|
+
accountDisplayName?: string | null;
|
|
2763
|
+
accountUsername?: string | null;
|
|
2764
|
+
accountAvatarUrl?: string | null;
|
|
2765
|
+
};
|
|
3214
2766
|
export interface ToggleWebsiteActiveResponseDto {
|
|
3215
2767
|
id: string;
|
|
3216
2768
|
active: boolean;
|
|
3217
2769
|
message: string;
|
|
3218
2770
|
}
|
|
3219
|
-
export interface ToolUsageConfig {
|
|
3220
|
-
http?: HttpUsageConfig;
|
|
3221
|
-
}
|
|
3222
2771
|
export interface TrackingSpec {
|
|
3223
2772
|
action_type: string[];
|
|
3224
2773
|
post_type?: string[];
|
|
@@ -3257,7 +2806,7 @@ export interface TransactionCounterResponseDto {
|
|
|
3257
2806
|
failedAmount: number;
|
|
3258
2807
|
}
|
|
3259
2808
|
export interface TransactionListResponseDto {
|
|
3260
|
-
data: UserTransactionResponseDto[];
|
|
2809
|
+
data: (UserTransactionResponseDto)[];
|
|
3261
2810
|
meta: CompanyPaginationMetaDto;
|
|
3262
2811
|
}
|
|
3263
2812
|
export interface TransactionQueryDto {
|
|
@@ -3272,35 +2821,6 @@ export interface TransactionQueryDto {
|
|
|
3272
2821
|
transferType?: 'credit' | 'debit';
|
|
3273
2822
|
vaId?: string;
|
|
3274
2823
|
}
|
|
3275
|
-
export interface TransformDefinition {
|
|
3276
|
-
sourceKeys: string[];
|
|
3277
|
-
operation?: TransformOperation;
|
|
3278
|
-
separator?: string;
|
|
3279
|
-
transform: TransformType;
|
|
3280
|
-
}
|
|
3281
|
-
export declare enum TransformOperation {
|
|
3282
|
-
NONE = "NONE",
|
|
3283
|
-
CONCAT = "CONCAT"
|
|
3284
|
-
}
|
|
3285
|
-
export declare enum TransformType {
|
|
3286
|
-
NONE = "NONE",
|
|
3287
|
-
TO_STRING = "TO_STRING",
|
|
3288
|
-
TO_NUMBER = "TO_NUMBER",
|
|
3289
|
-
TO_BOOLEAN = "TO_BOOLEAN",
|
|
3290
|
-
TO_DATE = "TO_DATE",
|
|
3291
|
-
TO_TIMESTAMP = "TO_TIMESTAMP",
|
|
3292
|
-
TRIM = "TRIM",
|
|
3293
|
-
UPPERCASE = "UPPERCASE",
|
|
3294
|
-
LOWERCASE = "LOWERCASE",
|
|
3295
|
-
BASE64_ENCODE = "BASE64_ENCODE",
|
|
3296
|
-
BASE64_DECODE = "BASE64_DECODE",
|
|
3297
|
-
JSON_STRINGIFY = "JSON_STRINGIFY",
|
|
3298
|
-
JSON_PARSE = "JSON_PARSE"
|
|
3299
|
-
}
|
|
3300
|
-
export declare enum TrustLevelEnum {
|
|
3301
|
-
UNVERIFIED = "Unverified",
|
|
3302
|
-
VERIFIED = "Verified"
|
|
3303
|
-
}
|
|
3304
2824
|
export interface TwilioSmsIntegrationResponseDto {
|
|
3305
2825
|
id: string;
|
|
3306
2826
|
integrationName: string;
|
|
@@ -3319,19 +2839,6 @@ export interface TwilioSmsIntegrationResponseDto {
|
|
|
3319
2839
|
dateUpdated?: string;
|
|
3320
2840
|
};
|
|
3321
2841
|
}
|
|
3322
|
-
export interface TwilioSmsMetadata {
|
|
3323
|
-
accountSid: string;
|
|
3324
|
-
phoneNumber?: string;
|
|
3325
|
-
messagingServiceSid?: string;
|
|
3326
|
-
accountDetails?: {
|
|
3327
|
-
friendlyName?: string;
|
|
3328
|
-
status?: string;
|
|
3329
|
-
type?: string;
|
|
3330
|
-
dateCreated?: string;
|
|
3331
|
-
dateUpdated?: string;
|
|
3332
|
-
};
|
|
3333
|
-
[key: string]: any;
|
|
3334
|
-
}
|
|
3335
2842
|
export interface UPaymentGatewayOverviewDto {
|
|
3336
2843
|
totalBankAccounts: number;
|
|
3337
2844
|
totalVAAccounts: number;
|
|
@@ -3342,22 +2849,27 @@ export interface UpdateBankhubWebhookConfigDto {
|
|
|
3342
2849
|
authType?: 'SECRET_KEY';
|
|
3343
2850
|
secretKey?: string;
|
|
3344
2851
|
active?: 0 | 1;
|
|
3345
|
-
allowEvents?: string[];
|
|
2852
|
+
allowEvents?: (string)[];
|
|
3346
2853
|
}
|
|
3347
2854
|
export interface UpdateBoxChatConfigDto {
|
|
3348
2855
|
welcomeText?: string;
|
|
3349
|
-
avatarMime?:
|
|
2856
|
+
avatarMime?: 'image/png' | 'image/jpeg' | 'image/jpg' | 'image/gif' | 'image/webp';
|
|
3350
2857
|
displayMode?: DisplayMode;
|
|
3351
2858
|
sideMode?: SideMode;
|
|
3352
2859
|
colorPrimary?: string;
|
|
3353
|
-
iconMime?:
|
|
2860
|
+
iconMime?: 'image/png' | 'image/jpeg' | 'image/jpg' | 'image/gif' | 'image/webp';
|
|
3354
2861
|
components?: string[];
|
|
3355
|
-
quickMessages?: string[];
|
|
2862
|
+
quickMessages?: (string)[];
|
|
3356
2863
|
placeholderMessage?: string;
|
|
3357
|
-
bannerMediaIds?: string[];
|
|
3358
|
-
bannerFiles?:
|
|
3359
|
-
|
|
3360
|
-
|
|
2864
|
+
bannerMediaIds?: (string)[];
|
|
2865
|
+
bannerFiles?: ({
|
|
2866
|
+
mimeType: 'image/png' | 'image/jpeg' | 'image/jpg' | 'image/gif' | 'image/webp';
|
|
2867
|
+
size: number;
|
|
2868
|
+
fileName: string;
|
|
2869
|
+
url?: string;
|
|
2870
|
+
})[];
|
|
2871
|
+
bannerMedias?: (BannerMediaDto)[];
|
|
2872
|
+
bannerOperations?: (BannerFileWithOperationDto)[];
|
|
3361
2873
|
}
|
|
3362
2874
|
export interface UpdateCompanyConfigDto {
|
|
3363
2875
|
paymentCode?: 'on' | 'off';
|
|
@@ -3370,11 +2882,11 @@ export interface UpdateCompanyConfigDto {
|
|
|
3370
2882
|
export interface UpdateCompanyDto {
|
|
3371
2883
|
fullName?: string;
|
|
3372
2884
|
shortName?: string;
|
|
3373
|
-
status?:
|
|
2885
|
+
status?: 'Pending' | 'Active' | 'Suspended' | 'Terminated' | 'Cancelled' | 'Fraud';
|
|
3374
2886
|
}
|
|
3375
2887
|
export interface UpdateCustomIntegrationProviderDto {
|
|
3376
2888
|
displayName?: string;
|
|
3377
|
-
mediaType?:
|
|
2889
|
+
mediaType?: 'image/png' | 'image/jpeg' | 'image/jpg' | 'image/gif' | 'image/webp' | 'image/svg+xml';
|
|
3378
2890
|
mediaSize?: number;
|
|
3379
2891
|
inputFields?: IIntegrationInputField[];
|
|
3380
2892
|
config?: ApiRequestConfig;
|
|
@@ -3423,7 +2935,7 @@ export interface UpdateGoogleCalendarEventDto {
|
|
|
3423
2935
|
startDateTime?: string;
|
|
3424
2936
|
endDateTime?: string;
|
|
3425
2937
|
location?: string;
|
|
3426
|
-
attendees?: string[];
|
|
2938
|
+
attendees?: (string)[];
|
|
3427
2939
|
sendNotifications?: boolean;
|
|
3428
2940
|
sendUpdates?: 'all' | 'externalOnly' | 'none';
|
|
3429
2941
|
}
|
|
@@ -3529,11 +3041,18 @@ export interface UpdateUserKeyDto {
|
|
|
3529
3041
|
credentials?: Record<string, any>;
|
|
3530
3042
|
settings?: Record<string, any>;
|
|
3531
3043
|
}
|
|
3044
|
+
export interface UpdateUserLlmIntegrationDto {
|
|
3045
|
+
displayName?: string;
|
|
3046
|
+
baseUrl?: string;
|
|
3047
|
+
authType?: 'api_key' | 'oauth';
|
|
3048
|
+
imageUrl?: string;
|
|
3049
|
+
models?: (UserLlmModelDto)[];
|
|
3050
|
+
}
|
|
3532
3051
|
export interface UpdateZaloBotIntegrationDto {
|
|
3533
3052
|
botToken?: string;
|
|
3534
3053
|
}
|
|
3535
3054
|
export interface UploadCustomProviderImageDto {
|
|
3536
|
-
mediaType:
|
|
3055
|
+
mediaType: 'image/png' | 'image/jpeg' | 'image/jpg' | 'image/gif' | 'image/webp' | 'image/svg+xml';
|
|
3537
3056
|
mediaSize: number;
|
|
3538
3057
|
}
|
|
3539
3058
|
export interface UploadCustomProviderImageResponseDto {
|
|
@@ -3542,57 +3061,7 @@ export interface UploadCustomProviderImageResponseDto {
|
|
|
3542
3061
|
expiresAt: number;
|
|
3543
3062
|
}
|
|
3544
3063
|
export interface UpsertBoxChatFormFieldsDto {
|
|
3545
|
-
fields: BoxChatFormFieldDto[];
|
|
3546
|
-
}
|
|
3547
|
-
export interface User {
|
|
3548
|
-
id: number;
|
|
3549
|
-
fullName: string;
|
|
3550
|
-
email: string;
|
|
3551
|
-
phoneNumber: string;
|
|
3552
|
-
isActive: boolean;
|
|
3553
|
-
isVerifyEmail: boolean;
|
|
3554
|
-
createdAt: number;
|
|
3555
|
-
updatedAt: number;
|
|
3556
|
-
citizenIssuePlace: string;
|
|
3557
|
-
citizenIssueDate: Date;
|
|
3558
|
-
isFirstPasswordChange: boolean;
|
|
3559
|
-
country: number;
|
|
3560
|
-
address: string;
|
|
3561
|
-
taxCode: string;
|
|
3562
|
-
pointsBalance: Decimal;
|
|
3563
|
-
facebookId: string;
|
|
3564
|
-
googleId: string;
|
|
3565
|
-
zaloId: string;
|
|
3566
|
-
type: UserTypeEnum;
|
|
3567
|
-
platform: string;
|
|
3568
|
-
citizenId: string;
|
|
3569
|
-
avatar: string;
|
|
3570
|
-
coverImage: string;
|
|
3571
|
-
password: string;
|
|
3572
|
-
dateOfBirth: Date;
|
|
3573
|
-
gender: GenderEnum;
|
|
3574
|
-
bankCode: string;
|
|
3575
|
-
accountNumber: string;
|
|
3576
|
-
accountHolder: string;
|
|
3577
|
-
bankBranch: string;
|
|
3578
|
-
isVerifyPhone: boolean;
|
|
3579
|
-
alertThreshold: number;
|
|
3580
|
-
wasRpointAlerted: boolean;
|
|
3581
|
-
affiliateAccountId: number | null;
|
|
3582
|
-
hasPaidServicePackage: boolean;
|
|
3583
|
-
hasPaidRpoint: boolean;
|
|
3584
|
-
countryCode: number;
|
|
3585
|
-
userUuid: string;
|
|
3586
|
-
trustLevel: TrustLevelEnum;
|
|
3587
|
-
acceptTerms: boolean;
|
|
3588
|
-
registrationMetadata: {
|
|
3589
|
-
ip?: string;
|
|
3590
|
-
userAgent?: string;
|
|
3591
|
-
referer?: string;
|
|
3592
|
-
country?: string;
|
|
3593
|
-
};
|
|
3594
|
-
utm: string;
|
|
3595
|
-
memory: string;
|
|
3064
|
+
fields: (BoxChatFormFieldDto)[];
|
|
3596
3065
|
}
|
|
3597
3066
|
export interface UserAccessInfoDto {
|
|
3598
3067
|
userId: number;
|
|
@@ -3602,10 +3071,6 @@ export interface UserAccessInfoDto {
|
|
|
3602
3071
|
personalIntegrationId: string;
|
|
3603
3072
|
personalIntegrationName: string;
|
|
3604
3073
|
}
|
|
3605
|
-
export declare enum UserCategoryEnum {
|
|
3606
|
-
VERIFIED = "VERIFIED",
|
|
3607
|
-
COMMUNITY = "COMMUNITY"
|
|
3608
|
-
}
|
|
3609
3074
|
export type UserKeyQueryDto = QueryDto & {
|
|
3610
3075
|
providerKey?: string;
|
|
3611
3076
|
};
|
|
@@ -3622,6 +3087,22 @@ export interface UserKeyResponseDto {
|
|
|
3622
3087
|
credentials: Record<string, any>;
|
|
3623
3088
|
settings: Record<string, any>;
|
|
3624
3089
|
}
|
|
3090
|
+
export interface UserLlmModelDto {
|
|
3091
|
+
id: string;
|
|
3092
|
+
displayName?: string;
|
|
3093
|
+
maxTokens: number;
|
|
3094
|
+
contextWindow: number;
|
|
3095
|
+
inputModalities?: (string)[];
|
|
3096
|
+
outputModalities?: (string)[];
|
|
3097
|
+
samplingParameters?: (string)[];
|
|
3098
|
+
features?: (string)[];
|
|
3099
|
+
basePricing?: Record<string, any>;
|
|
3100
|
+
metadata?: Record<string, any>;
|
|
3101
|
+
thinkingLevels?: (string)[];
|
|
3102
|
+
regions?: (string)[];
|
|
3103
|
+
priority?: number;
|
|
3104
|
+
active?: boolean;
|
|
3105
|
+
}
|
|
3625
3106
|
export interface UserProfileDto {
|
|
3626
3107
|
userId: string;
|
|
3627
3108
|
id?: string;
|
|
@@ -3651,15 +3132,11 @@ export interface UserTransactionResponseDto {
|
|
|
3651
3132
|
createdAt: string;
|
|
3652
3133
|
updatedAt: string;
|
|
3653
3134
|
}
|
|
3654
|
-
export declare enum UserTypeEnum {
|
|
3655
|
-
INDIVIDUAL = "INDIVIDUAL",
|
|
3656
|
-
BUSINESS = "BUSINESS"
|
|
3657
|
-
}
|
|
3658
3135
|
export interface VAItemDto {
|
|
3659
3136
|
id: string;
|
|
3660
3137
|
accountNumber: string;
|
|
3661
3138
|
label: string;
|
|
3662
|
-
status:
|
|
3139
|
+
status: 'ACTIVE' | 'INACTIVE';
|
|
3663
3140
|
bankAccountId: string;
|
|
3664
3141
|
createdAt: string;
|
|
3665
3142
|
updatedAt: string;
|
|
@@ -3699,24 +3176,7 @@ export interface VertexAILocationDto {
|
|
|
3699
3176
|
name: string;
|
|
3700
3177
|
}
|
|
3701
3178
|
export interface VertexAILocationsResponseDto {
|
|
3702
|
-
locations: VertexAILocationDto[];
|
|
3703
|
-
}
|
|
3704
|
-
export interface VertexAIMetadata {
|
|
3705
|
-
isValid: boolean;
|
|
3706
|
-
lastTestAt?: number;
|
|
3707
|
-
modelCount?: number;
|
|
3708
|
-
usageCount?: number;
|
|
3709
|
-
lastUsedAt?: number;
|
|
3710
|
-
lastQuotaErrorAt?: number;
|
|
3711
|
-
isQuotaExceeded?: boolean;
|
|
3712
|
-
userInfo?: {
|
|
3713
|
-
id?: string;
|
|
3714
|
-
email?: string;
|
|
3715
|
-
name?: string;
|
|
3716
|
-
picture?: string;
|
|
3717
|
-
verified_email?: boolean;
|
|
3718
|
-
hd?: string;
|
|
3719
|
-
};
|
|
3179
|
+
locations: (VertexAILocationDto)[];
|
|
3720
3180
|
}
|
|
3721
3181
|
export interface ViaPersonalIntegrationPageDto {
|
|
3722
3182
|
integrationId: string;
|
|
@@ -3727,7 +3187,7 @@ export interface ViaPersonalIntegrationPageDto {
|
|
|
3727
3187
|
accessType: 'owner' | 'shared';
|
|
3728
3188
|
}
|
|
3729
3189
|
export interface VirtualAccountListResponseDto {
|
|
3730
|
-
data: VirtualAccountResponseDto[];
|
|
3190
|
+
data: (VirtualAccountResponseDto)[];
|
|
3731
3191
|
meta: PaginationMeta;
|
|
3732
3192
|
}
|
|
3733
3193
|
export interface VirtualAccountQueryDto {
|
|
@@ -3752,18 +3212,8 @@ export interface VirtualAccountResponseDto {
|
|
|
3752
3212
|
createdAt: string;
|
|
3753
3213
|
updatedAt: string;
|
|
3754
3214
|
}
|
|
3755
|
-
export interface VonageSmsMetadata {
|
|
3756
|
-
from?: string;
|
|
3757
|
-
[key: string]: any;
|
|
3758
|
-
}
|
|
3759
|
-
export interface WebsiteMetadata {
|
|
3760
|
-
host: string;
|
|
3761
|
-
logo: string;
|
|
3762
|
-
active: boolean;
|
|
3763
|
-
click: number;
|
|
3764
|
-
}
|
|
3765
3215
|
export type WebsiteQueryDto = QueryDto & {
|
|
3766
|
-
sortBy?:
|
|
3216
|
+
sortBy?: 'websiteName' | 'host' | 'createdAt' | 'verify';
|
|
3767
3217
|
sortDirection?: SortDirection;
|
|
3768
3218
|
verify?: boolean;
|
|
3769
3219
|
isConnectAgent?: boolean;
|
|
@@ -3772,27 +3222,14 @@ export interface WebsiteResponseDto {
|
|
|
3772
3222
|
id: string;
|
|
3773
3223
|
websiteName: string;
|
|
3774
3224
|
host: string;
|
|
3775
|
-
agentId:
|
|
3776
|
-
agentName:
|
|
3777
|
-
logo:
|
|
3225
|
+
agentId: unknown | null;
|
|
3226
|
+
agentName: unknown | null;
|
|
3227
|
+
logo: unknown | null;
|
|
3778
3228
|
script: string;
|
|
3779
3229
|
active: boolean;
|
|
3780
3230
|
click: number;
|
|
3781
3231
|
createdAt: number;
|
|
3782
3232
|
}
|
|
3783
|
-
export interface WeeklyScheduleConfig {
|
|
3784
|
-
everyWeeks: number;
|
|
3785
|
-
onDays: DayOfWeek[];
|
|
3786
|
-
atHour: number;
|
|
3787
|
-
atMinute: number;
|
|
3788
|
-
}
|
|
3789
|
-
export interface XAIMetadata {
|
|
3790
|
-
isValid: boolean;
|
|
3791
|
-
usageCount?: number;
|
|
3792
|
-
lastUsedAt?: number;
|
|
3793
|
-
lastQuotaErrorAt?: number;
|
|
3794
|
-
isQuotaExceeded?: boolean;
|
|
3795
|
-
}
|
|
3796
3233
|
export interface ZaloBotInfo {
|
|
3797
3234
|
id: string;
|
|
3798
3235
|
name: string;
|
|
@@ -3805,7 +3242,7 @@ export interface ZaloBotIntegrationQueryDto {
|
|
|
3805
3242
|
limit?: number;
|
|
3806
3243
|
search?: string;
|
|
3807
3244
|
status?: ZaloBotStatus;
|
|
3808
|
-
sortBy?:
|
|
3245
|
+
sortBy?: 'createdAt' | 'updatedAt' | 'integrationName';
|
|
3809
3246
|
sortOrder?: 'ASC' | 'DESC';
|
|
3810
3247
|
}
|
|
3811
3248
|
export interface ZaloBotIntegrationResponseDto {
|
|
@@ -3814,12 +3251,12 @@ export interface ZaloBotIntegrationResponseDto {
|
|
|
3814
3251
|
typeId: number;
|
|
3815
3252
|
userId?: number;
|
|
3816
3253
|
employeeId?: number;
|
|
3817
|
-
ownedType:
|
|
3254
|
+
ownedType: 'USER' | 'ADMIN';
|
|
3818
3255
|
metadata: ZaloBotMetadata;
|
|
3819
3256
|
createdAt: number;
|
|
3820
3257
|
updatedAt: number;
|
|
3821
3258
|
isActive: boolean;
|
|
3822
|
-
status:
|
|
3259
|
+
status: 'active' | 'inactive' | 'error' | 'pending';
|
|
3823
3260
|
botInfo?: {
|
|
3824
3261
|
id: string;
|
|
3825
3262
|
name: string;
|
|
@@ -3895,49 +3332,27 @@ export interface ZaloBotTestConnectionResponseDto {
|
|
|
3895
3332
|
error?: string;
|
|
3896
3333
|
testedAt: number;
|
|
3897
3334
|
}
|
|
3898
|
-
export interface ZaloOABackupTokens {
|
|
3899
|
-
accessToken: string;
|
|
3900
|
-
refreshToken: string;
|
|
3901
|
-
}
|
|
3902
3335
|
export interface ZaloOAIntegrationResponseDto {
|
|
3903
3336
|
id: string;
|
|
3904
3337
|
integrationName: string;
|
|
3905
3338
|
userId?: number;
|
|
3906
3339
|
employeeId?: number;
|
|
3907
3340
|
status: IntegrationEntityStatus;
|
|
3908
|
-
metadata:
|
|
3341
|
+
metadata: {
|
|
3342
|
+
[key: string]: unknown;
|
|
3343
|
+
};
|
|
3909
3344
|
createdAt: number;
|
|
3910
3345
|
hasAccessToken: boolean;
|
|
3911
3346
|
hasRefreshToken: boolean;
|
|
3912
3347
|
}
|
|
3913
|
-
export interface ZaloOAMetadata {
|
|
3914
|
-
oaId: string;
|
|
3915
|
-
name: string;
|
|
3916
|
-
description?: string;
|
|
3917
|
-
avatarUrl?: string;
|
|
3918
|
-
expiresAt: number;
|
|
3919
|
-
refreshTokenExpiresAt?: number;
|
|
3920
|
-
createdAt: number;
|
|
3921
|
-
updatedAt: number;
|
|
3922
|
-
backupTokens?: ZaloOABackupTokens;
|
|
3923
|
-
followersCount?: number;
|
|
3924
|
-
packageInfo?: ZaloOAPackageInfo;
|
|
3925
|
-
}
|
|
3926
|
-
export interface ZaloOAPackageInfo {
|
|
3927
|
-
packageName: string;
|
|
3928
|
-
packageValidThroughDate: string;
|
|
3929
|
-
packageAutoRenewDate: string;
|
|
3930
|
-
}
|
|
3931
|
-
export interface ZaloPersonalBackupTokens {
|
|
3932
|
-
accessToken: string;
|
|
3933
|
-
refreshToken?: string;
|
|
3934
|
-
}
|
|
3935
3348
|
export interface ZaloPersonalIntegrationResponseDto {
|
|
3936
3349
|
id: string;
|
|
3937
3350
|
integrationName: string;
|
|
3938
3351
|
userId?: number;
|
|
3939
3352
|
employeeId?: number;
|
|
3940
|
-
metadata:
|
|
3353
|
+
metadata: {
|
|
3354
|
+
[key: string]: unknown;
|
|
3355
|
+
};
|
|
3941
3356
|
createdAt: Date;
|
|
3942
3357
|
hasAccessToken: boolean;
|
|
3943
3358
|
hasRefreshToken: boolean;
|
|
@@ -3948,199 +3363,68 @@ export declare enum ZaloPersonalIntegrationStatus {
|
|
|
3948
3363
|
ACTIVE = "ACTIVE",
|
|
3949
3364
|
INACTIVE = "INACTIVE"
|
|
3950
3365
|
}
|
|
3951
|
-
export interface ZaloPersonalMetadata {
|
|
3952
|
-
zalo_uid: string;
|
|
3953
|
-
displayName: string;
|
|
3954
|
-
username?: string;
|
|
3955
|
-
avatarUrl?: string;
|
|
3956
|
-
phoneNumber?: string;
|
|
3957
|
-
email?: string;
|
|
3958
|
-
expiresAt: number;
|
|
3959
|
-
refreshTokenExpiresAt?: number;
|
|
3960
|
-
status: string;
|
|
3961
|
-
createdAt: number;
|
|
3962
|
-
updatedAt: number;
|
|
3963
|
-
backupTokens?: ZaloPersonalBackupTokens;
|
|
3964
|
-
errorReason?: string;
|
|
3965
|
-
corruptedAt?: string;
|
|
3966
|
-
browserInfo?: {
|
|
3967
|
-
/**
|
|
3968
|
-
* User agent của trình duyệt
|
|
3969
|
-
*/
|
|
3970
|
-
userAgent?: string;
|
|
3971
|
-
/**
|
|
3972
|
-
* Cookies session
|
|
3973
|
-
*/
|
|
3974
|
-
sessionCookies?: string;
|
|
3975
|
-
/**
|
|
3976
|
-
* Thời gian đăng nhập cuối cùng
|
|
3977
|
-
*/
|
|
3978
|
-
lastLoginAt?: number;
|
|
3979
|
-
/**
|
|
3980
|
-
* IP address được sử dụng
|
|
3981
|
-
*/
|
|
3982
|
-
ipAddress?: string;
|
|
3983
|
-
/**
|
|
3984
|
-
* Session ID từ automation-web
|
|
3985
|
-
*/
|
|
3986
|
-
sessionId?: string;
|
|
3987
|
-
};
|
|
3988
|
-
settings?: {
|
|
3989
|
-
/**
|
|
3990
|
-
* Có tự động gửi tin nhắn không
|
|
3991
|
-
*/
|
|
3992
|
-
autoSendMessage?: boolean;
|
|
3993
|
-
/**
|
|
3994
|
-
* Giới hạn số tin nhắn mỗi ngày
|
|
3995
|
-
*/
|
|
3996
|
-
dailyMessageLimit?: number;
|
|
3997
|
-
/**
|
|
3998
|
-
* Delay giữa các tin nhắn (ms)
|
|
3999
|
-
*/
|
|
4000
|
-
messageDelay?: number;
|
|
4001
|
-
/**
|
|
4002
|
-
* Có sử dụng proxy không
|
|
4003
|
-
*/
|
|
4004
|
-
useProxy?: boolean;
|
|
4005
|
-
/**
|
|
4006
|
-
* Thông tin proxy
|
|
4007
|
-
*/
|
|
4008
|
-
proxyConfig?: {
|
|
4009
|
-
host: string;
|
|
4010
|
-
port: number;
|
|
4011
|
-
username?: string;
|
|
4012
|
-
password?: string;
|
|
4013
|
-
};
|
|
4014
|
-
};
|
|
4015
|
-
}
|
|
4016
3366
|
export interface ZaloPersonalQRCodeResponseDto {
|
|
4017
3367
|
success: boolean;
|
|
4018
3368
|
message: string;
|
|
4019
3369
|
requestId?: string;
|
|
4020
|
-
data?: QRCodeDataDto
|
|
3370
|
+
data?: QRCodeDataDto;
|
|
4021
3371
|
}
|
|
4022
3372
|
export declare const VERTEX_AI_LOCATIONS: readonly unknown[];
|
|
4023
|
-
export declare const VERTEX_AI: readonly unknown[];
|
|
4024
3373
|
export type ACB = unknown;
|
|
4025
3374
|
export type ACCOUNT_HOLDER = unknown;
|
|
4026
3375
|
export type ACCOUNT_NUMBER = unknown;
|
|
3376
|
+
export type ACTIVATED = unknown;
|
|
4027
3377
|
export type Active = unknown;
|
|
4028
|
-
export type ADMIN = unknown;
|
|
4029
3378
|
export type AGRIBANK = unknown;
|
|
4030
|
-
export type Allow = unknown;
|
|
4031
|
-
export type API = unknown;
|
|
4032
|
-
export type APP = unknown;
|
|
4033
3379
|
export type AppApiResponse<T = unknown> = unknown;
|
|
4034
|
-
export type AUTH_001 = unknown;
|
|
4035
3380
|
export type Backup = unknown;
|
|
4036
3381
|
export type BANK_CODE = unknown;
|
|
4037
3382
|
export type BANNED = unknown;
|
|
4038
|
-
export type BASE64 = unknown;
|
|
4039
|
-
export type BASE64_DECODE = unknown;
|
|
4040
|
-
export type BASE64_ENCODE = unknown;
|
|
4041
3383
|
export type BIDV = unknown;
|
|
4042
|
-
export type Body = unknown;
|
|
4043
3384
|
export type C = unknown;
|
|
4044
3385
|
export type Cancelled = unknown;
|
|
4045
|
-
export type CANCELLED = unknown;
|
|
4046
3386
|
export type CATEGORY_FORUMS = unknown;
|
|
4047
3387
|
export type CATEGORY_PERSONAL = unknown;
|
|
4048
3388
|
export type CATEGORY_PROMOTIONS = unknown;
|
|
4049
3389
|
export type CATEGORY_SOCIAL = unknown;
|
|
4050
3390
|
export type CATEGORY_UPDATES = unknown;
|
|
4051
|
-
export type COMMUNITY = unknown;
|
|
4052
|
-
export type CONCAT = unknown;
|
|
4053
3391
|
export type CONNECTED = unknown;
|
|
4054
3392
|
export type Cookies = unknown;
|
|
4055
3393
|
export type CORNER = unknown;
|
|
4056
|
-
export type
|
|
4057
|
-
export type D = unknown;
|
|
4058
|
-
export type DAILY = unknown;
|
|
4059
|
-
export type Danh = unknown;
|
|
4060
|
-
export type Decimal = unknown;
|
|
4061
|
-
export type Default = unknown;
|
|
4062
|
-
export type DEGRADED = unknown;
|
|
4063
|
-
export type DELETED = unknown;
|
|
3394
|
+
export type Delay = unknown;
|
|
4064
3395
|
export type DISCONNECTED = unknown;
|
|
4065
|
-
export type DRAFT = unknown;
|
|
4066
|
-
export type ERROR = unknown;
|
|
4067
|
-
export type Example = unknown;
|
|
4068
3396
|
export type EXCLUDE = unknown;
|
|
4069
|
-
export type FEMALE = unknown;
|
|
4070
3397
|
export type FLOATING = unknown;
|
|
4071
|
-
export type FORM_DATA = unknown;
|
|
4072
|
-
export type FORMATTED_STRING = unknown;
|
|
4073
|
-
export type FORMATTED_VALUE = unknown;
|
|
4074
3398
|
export type FPT_SMS_CLIENT_ID = unknown;
|
|
4075
3399
|
export type FPT_SMS_CLIENT_SECRET = unknown;
|
|
4076
3400
|
export type Fraud = unknown;
|
|
4077
3401
|
export type FRAUD = unknown;
|
|
4078
|
-
export type FRIDAY = unknown;
|
|
4079
|
-
export type Gi = unknown;
|
|
4080
3402
|
export type GMAIL = unknown;
|
|
4081
|
-
export type GOOGLE_ANALYTICS = unknown;
|
|
4082
|
-
export type GOOGLE_BIGQUERY = unknown;
|
|
4083
|
-
export type GOOGLE_CHAT = unknown;
|
|
4084
|
-
export type GOOGLE_CLOUD_STORAGE = unknown;
|
|
4085
|
-
export type GOOGLE_CONTACTS = unknown;
|
|
4086
|
-
export type GOOGLE_FIRESTORE = unknown;
|
|
4087
|
-
export type GOOGLE_MEET = unknown;
|
|
4088
|
-
export type GOOGLE_REALTIME_DATABASE = unknown;
|
|
4089
|
-
export type GOOGLE_SLIDES = unknown;
|
|
4090
|
-
export type GOOGLE_TASKS = unknown;
|
|
4091
|
-
export type GOOGLE_WORKSPACE_ADMIN = unknown;
|
|
4092
3403
|
export type HDB = unknown;
|
|
4093
|
-
export type HEALTHY = unknown;
|
|
4094
3404
|
export type Hosted = unknown;
|
|
4095
|
-
export type HOURLY = unknown;
|
|
4096
|
-
export type HTTP = unknown;
|
|
4097
3405
|
export type HTTPS = unknown;
|
|
4098
|
-
export type ID = unknown;
|
|
4099
3406
|
export type Important = unknown;
|
|
4100
3407
|
export type IMPORTANT = unknown;
|
|
4101
|
-
export type IN_SYSTEM = unknown;
|
|
4102
|
-
export type INACTIVE = unknown;
|
|
4103
3408
|
export type INBOX = unknown;
|
|
4104
3409
|
export type INCLUDE = unknown;
|
|
4105
|
-
export type INDIVIDUAL = unknown;
|
|
4106
|
-
export type INFO_RESULT_API = unknown;
|
|
4107
|
-
export type INSERT_ROWS = unknown;
|
|
4108
3410
|
export type INTEGRATION_NAME = unknown;
|
|
4109
3411
|
export type IP = unknown;
|
|
4110
|
-
export type JSON_PARSE = unknown;
|
|
4111
|
-
export type JSON_STRINGIFY = unknown;
|
|
4112
|
-
export type Khi = unknown;
|
|
4113
3412
|
export type KLB = unknown;
|
|
4114
3413
|
export type LINK_BANK_ACCOUNT = unknown;
|
|
4115
|
-
export type Lo = unknown;
|
|
4116
|
-
export type LOWERCASE = unknown;
|
|
4117
|
-
export type MALE = unknown;
|
|
4118
3414
|
export type MB = unknown;
|
|
4119
|
-
export type MERGE = unknown;
|
|
4120
|
-
export type MONDAY = unknown;
|
|
4121
|
-
export type MONTHLY = unknown;
|
|
4122
3415
|
export type NEW = unknown;
|
|
3416
|
+
export type NOT_ADDED = unknown;
|
|
4123
3417
|
export type NumberAndLetter = unknown;
|
|
4124
3418
|
export type NumberOnly = unknown;
|
|
4125
3419
|
export type OA = unknown;
|
|
4126
|
-
export type OBJECT = unknown;
|
|
4127
3420
|
export type OCB = unknown;
|
|
4128
|
-
export type OTHER = unknown;
|
|
4129
3421
|
export type OUTLOOK = unknown;
|
|
4130
3422
|
export type OVERLAY = unknown;
|
|
4131
|
-
export type OVERWRITE = unknown;
|
|
4132
|
-
export type PASSWORD = unknown;
|
|
4133
|
-
export type PAUSED = unknown;
|
|
4134
3423
|
export type Pending = unknown;
|
|
4135
|
-
export type
|
|
4136
|
-
export type RAW = unknown;
|
|
4137
|
-
export type REPLACE = unknown;
|
|
4138
|
-
export type S3_KEY = unknown;
|
|
4139
|
-
export type SATURDAY = unknown;
|
|
3424
|
+
export type PENDING_ACTIVATION = unknown;
|
|
4140
3425
|
export type SCB = unknown;
|
|
4141
3426
|
export type SECRET_KEY = unknown;
|
|
4142
3427
|
export type SENT = unknown;
|
|
4143
|
-
export type SERIAL_NUMBER = unknown;
|
|
4144
3428
|
export type Session = unknown;
|
|
4145
3429
|
export type SHB = unknown;
|
|
4146
3430
|
export type SIDEBAR_LEFT = unknown;
|
|
@@ -4150,47 +3434,23 @@ export type SOCKS5 = unknown;
|
|
|
4150
3434
|
export type SPAM = unknown;
|
|
4151
3435
|
export type STARRED = unknown;
|
|
4152
3436
|
export type STB = unknown;
|
|
4153
|
-
export type STICKER = unknown;
|
|
4154
|
-
export type SUNDAY = unknown;
|
|
4155
3437
|
export type Suspended = unknown;
|
|
4156
3438
|
export type SUSPENDED = unknown;
|
|
3439
|
+
export type SYSTEM = unknown;
|
|
4157
3440
|
export type TCB = unknown;
|
|
4158
|
-
export type TDelay = unknown;
|
|
4159
3441
|
export type Terminated = unknown;
|
|
4160
3442
|
export type TERMINATED = unknown;
|
|
4161
|
-
export type TEXTAREA = unknown;
|
|
4162
3443
|
export type Th = unknown;
|
|
4163
|
-
export type THURSDAY = unknown;
|
|
4164
|
-
export type TO_BOOLEAN = unknown;
|
|
4165
|
-
export type TO_DATE = unknown;
|
|
4166
|
-
export type TO_NUMBER = unknown;
|
|
4167
|
-
export type TO_STRING = unknown;
|
|
4168
|
-
export type TO_TIMESTAMP = unknown;
|
|
4169
3444
|
export type TPB = unknown;
|
|
4170
3445
|
export type TRASH = unknown;
|
|
4171
|
-
export type TRIM = unknown;
|
|
4172
|
-
export type TUESDAY = unknown;
|
|
4173
3446
|
export type TWILIO_SENDGRID = unknown;
|
|
4174
|
-
export type UNFORMATTED_VALUE = unknown;
|
|
4175
3447
|
export type Unlimited = unknown;
|
|
4176
3448
|
export type UNLINK_BANK_ACCOUNT = unknown;
|
|
4177
3449
|
export type UNREAD = unknown;
|
|
4178
|
-
export type Unverified = unknown;
|
|
4179
|
-
export type UNVERIFIED = unknown;
|
|
4180
|
-
export type UPDATED_AT = unknown;
|
|
4181
|
-
export type UPPERCASE = unknown;
|
|
4182
|
-
export type USER_ENTERED = unknown;
|
|
4183
|
-
export type USER_INPUT = unknown;
|
|
4184
3450
|
export type VCB = unknown;
|
|
4185
|
-
export type Verified = unknown;
|
|
4186
|
-
export type VERIFIED = unknown;
|
|
4187
3451
|
export type VIB = unknown;
|
|
4188
3452
|
export type VPB = unknown;
|
|
4189
3453
|
export type VTB = unknown;
|
|
4190
|
-
export type WEDNESDAY = unknown;
|
|
4191
|
-
export type WEEKLY = unknown;
|
|
4192
|
-
export type X_WWW_FORM_URLENCODED = unknown;
|
|
4193
|
-
export type YOUTUBE = unknown;
|
|
4194
3454
|
export interface AcbBankUserConfirmApiConnectionACBParams {
|
|
4195
3455
|
id: string;
|
|
4196
3456
|
requestId: string;
|
|
@@ -4273,39 +3533,6 @@ export interface EsmsIntegrationUpdateParams {
|
|
|
4273
3533
|
id: string;
|
|
4274
3534
|
body: UpdateESmsIntegrationDto;
|
|
4275
3535
|
}
|
|
4276
|
-
export interface FacebookAdsCampaignCreateCampaignParams {
|
|
4277
|
-
integrationId: string;
|
|
4278
|
-
body: FacebookCampaignCreateDto;
|
|
4279
|
-
}
|
|
4280
|
-
export interface FacebookAdsCampaignDeleteCampaignParams {
|
|
4281
|
-
integrationId: string;
|
|
4282
|
-
campaignId: string;
|
|
4283
|
-
}
|
|
4284
|
-
export interface FacebookAdsCampaignGetCampaignInsightsParams {
|
|
4285
|
-
integrationId: string;
|
|
4286
|
-
campaignId: string;
|
|
4287
|
-
query?: FacebookCampaignInsightsQueryDto;
|
|
4288
|
-
}
|
|
4289
|
-
export interface FacebookAdsCampaignGetCampaignParams {
|
|
4290
|
-
integrationId: string;
|
|
4291
|
-
campaignId: string;
|
|
4292
|
-
}
|
|
4293
|
-
export interface FacebookAdsCampaignGetCampaignsAllParams {
|
|
4294
|
-
query?: string;
|
|
4295
|
-
}
|
|
4296
|
-
export interface FacebookAdsCampaignGetCampaignsParams {
|
|
4297
|
-
integrationId: string;
|
|
4298
|
-
query?: number;
|
|
4299
|
-
}
|
|
4300
|
-
export interface FacebookAdsCampaignGetMultipleCampaignInsightsParams {
|
|
4301
|
-
integrationId: string;
|
|
4302
|
-
query?: FacebookCampaignInsightsQueryDto;
|
|
4303
|
-
}
|
|
4304
|
-
export interface FacebookAdsCampaignUpdateCampaignParams {
|
|
4305
|
-
integrationId: string;
|
|
4306
|
-
campaignId: string;
|
|
4307
|
-
body: FacebookCampaignUpdateDto;
|
|
4308
|
-
}
|
|
4309
3536
|
export interface FacebookAdsUserDeleteFacebookAdsParams {
|
|
4310
3537
|
integrationId: string;
|
|
4311
3538
|
}
|
|
@@ -4743,9 +3970,15 @@ export interface GoogleSheetsIntegrationWriteDataParams {
|
|
|
4743
3970
|
export interface IntegrationProviderCreateCustomProviderParams {
|
|
4744
3971
|
body: CreateCustomIntegrationProviderDto;
|
|
4745
3972
|
}
|
|
3973
|
+
export interface IntegrationProviderCreateUserLlmIntegrationParams {
|
|
3974
|
+
body: CreateUserLlmIntegrationDto;
|
|
3975
|
+
}
|
|
4746
3976
|
export interface IntegrationProviderDeleteCustomProviderParams {
|
|
4747
3977
|
providerId: number;
|
|
4748
3978
|
}
|
|
3979
|
+
export interface IntegrationProviderDeleteUserLlmIntegrationParams {
|
|
3980
|
+
providerId: number;
|
|
3981
|
+
}
|
|
4749
3982
|
export interface IntegrationProviderGetCustomProviderDetailParams {
|
|
4750
3983
|
providerId: number;
|
|
4751
3984
|
}
|
|
@@ -4773,6 +4006,10 @@ export interface IntegrationProviderUpdateCustomProviderParams {
|
|
|
4773
4006
|
providerId: number;
|
|
4774
4007
|
body: UpdateCustomIntegrationProviderDto;
|
|
4775
4008
|
}
|
|
4009
|
+
export interface IntegrationProviderUpdateUserLlmIntegrationParams {
|
|
4010
|
+
providerId: number;
|
|
4011
|
+
body: UpdateUserLlmIntegrationDto;
|
|
4012
|
+
}
|
|
4776
4013
|
export interface IntegrationProviderUploadCustomProviderImageParams {
|
|
4777
4014
|
body: UploadCustomProviderImageDto;
|
|
4778
4015
|
}
|
|
@@ -4788,6 +4025,9 @@ export interface IntegrationUserDeleteCustomIntegrationParams {
|
|
|
4788
4025
|
export interface IntegrationUserDeleteIntegrationParams {
|
|
4789
4026
|
integrationId: string;
|
|
4790
4027
|
}
|
|
4028
|
+
export interface IntegrationUserGetAllTikTokIntegrationVideosParams {
|
|
4029
|
+
query?: QueryTikTokIntegrationDetailDto;
|
|
4030
|
+
}
|
|
4791
4031
|
export interface IntegrationUserGetCustomIntegrationDetailParams {
|
|
4792
4032
|
integrationId: string;
|
|
4793
4033
|
}
|
|
@@ -4797,6 +4037,10 @@ export interface IntegrationUserGetIntegrationAccountsParams {
|
|
|
4797
4037
|
export interface IntegrationUserGetIntegrationsParams {
|
|
4798
4038
|
query?: QueryIntegrationDto;
|
|
4799
4039
|
}
|
|
4040
|
+
export interface IntegrationUserGetTikTokIntegrationDetailParams {
|
|
4041
|
+
integrationId: string;
|
|
4042
|
+
query?: QueryTikTokIntegrationDetailDto;
|
|
4043
|
+
}
|
|
4800
4044
|
export interface IntegrationUserTestConnectionParams {
|
|
4801
4045
|
integrationId: string;
|
|
4802
4046
|
}
|
|
@@ -5123,6 +4367,90 @@ export interface TelegramUserIntegrationVerify2FAParams {
|
|
|
5123
4367
|
export interface TelegramUserIntegrationVerifyOtpParams {
|
|
5124
4368
|
body: VerifyTelegramCodeDto;
|
|
5125
4369
|
}
|
|
4370
|
+
export interface TiktokDataPortabilityAddDataRequestParams {
|
|
4371
|
+
body: TikTokAddDataRequestDto;
|
|
4372
|
+
}
|
|
4373
|
+
export interface TiktokDataPortabilityCancelDataRequestParams {
|
|
4374
|
+
body: TikTokRequestIdDto;
|
|
4375
|
+
}
|
|
4376
|
+
export interface TiktokDataPortabilityCheckDataRequestStatusParams {
|
|
4377
|
+
body: TikTokCheckDataRequestStatusDto;
|
|
4378
|
+
}
|
|
4379
|
+
export interface TiktokDataPortabilityDownloadDataRequestParams {
|
|
4380
|
+
body: TikTokRequestIdDto;
|
|
4381
|
+
}
|
|
4382
|
+
export interface TiktokIntegrationCreateResearchBatchComplianceTaskParams {
|
|
4383
|
+
body: TikTokResearchBatchCreateRequestDto;
|
|
4384
|
+
}
|
|
4385
|
+
export interface TiktokIntegrationDeleteConnectedIntegrationsParams {
|
|
4386
|
+
_?: never;
|
|
4387
|
+
}
|
|
4388
|
+
export interface TiktokIntegrationDownloadResearchBatchComplianceTaskParams {
|
|
4389
|
+
body: TikTokResearchBatchTaskRequestDto;
|
|
4390
|
+
}
|
|
4391
|
+
export interface TiktokIntegrationFetchPostingStatusParams {
|
|
4392
|
+
body: TikTokPostingStatusRequestDto;
|
|
4393
|
+
}
|
|
4394
|
+
export interface TiktokIntegrationGenerateAuthUrlParams {
|
|
4395
|
+
query?: TikTokAuthUrlRequestDto;
|
|
4396
|
+
}
|
|
4397
|
+
export interface TiktokIntegrationGetResearchBatchComplianceTaskStatusParams {
|
|
4398
|
+
body: TikTokResearchBatchTaskRequestDto;
|
|
4399
|
+
}
|
|
4400
|
+
export interface TiktokIntegrationGetUserInfoParams {
|
|
4401
|
+
body: TikTokGetUserInfoRequestDto;
|
|
4402
|
+
}
|
|
4403
|
+
export interface TiktokIntegrationInitDirectVideoPostParams {
|
|
4404
|
+
body: TikTokVideoDirectInitRequestDto;
|
|
4405
|
+
}
|
|
4406
|
+
export interface TiktokIntegrationInitPhotoPostParams {
|
|
4407
|
+
body: TikTokPhotoInitRequestDto;
|
|
4408
|
+
}
|
|
4409
|
+
export interface TiktokIntegrationInitVideoUploadParams {
|
|
4410
|
+
body: TikTokVideoUploadInitRequestDto;
|
|
4411
|
+
}
|
|
4412
|
+
export interface TiktokIntegrationListConnectedIntegrationsParams {
|
|
4413
|
+
_?: never;
|
|
4414
|
+
}
|
|
4415
|
+
export interface TiktokIntegrationListVideosParams {
|
|
4416
|
+
body: TikTokVideoListRequestDto;
|
|
4417
|
+
}
|
|
4418
|
+
export interface TiktokIntegrationQueryCreatorInfoParams {
|
|
4419
|
+
body: TikTokCreatorInfoRequestDto;
|
|
4420
|
+
}
|
|
4421
|
+
export interface TiktokIntegrationQueryResearchPlaylistInfoParams {
|
|
4422
|
+
body: TikTokResearchRequestDto;
|
|
4423
|
+
}
|
|
4424
|
+
export interface TiktokIntegrationQueryResearchTikTokShopInfoParams {
|
|
4425
|
+
body: TikTokResearchRequestDto;
|
|
4426
|
+
}
|
|
4427
|
+
export interface TiktokIntegrationQueryResearchTikTokShopProductsParams {
|
|
4428
|
+
body: TikTokResearchRequestDto;
|
|
4429
|
+
}
|
|
4430
|
+
export interface TiktokIntegrationQueryResearchTikTokShopReviewsParams {
|
|
4431
|
+
body: TikTokResearchRequestDto;
|
|
4432
|
+
}
|
|
4433
|
+
export interface TiktokIntegrationQueryResearchUserFollowersParams {
|
|
4434
|
+
body: TikTokResearchRequestDto;
|
|
4435
|
+
}
|
|
4436
|
+
export interface TiktokIntegrationQueryResearchUserInfoParams {
|
|
4437
|
+
body: TikTokResearchRequestDto;
|
|
4438
|
+
}
|
|
4439
|
+
export interface TiktokIntegrationQueryResearchUserLikedVideosParams {
|
|
4440
|
+
body: TikTokResearchRequestDto;
|
|
4441
|
+
}
|
|
4442
|
+
export interface TiktokIntegrationQueryResearchUserRepostedVideosParams {
|
|
4443
|
+
body: TikTokResearchRequestDto;
|
|
4444
|
+
}
|
|
4445
|
+
export interface TiktokIntegrationQueryResearchVideoCommentsParams {
|
|
4446
|
+
body: TikTokResearchRequestDto;
|
|
4447
|
+
}
|
|
4448
|
+
export interface TiktokIntegrationQueryResearchVideosParams {
|
|
4449
|
+
body: TikTokResearchRequestDto;
|
|
4450
|
+
}
|
|
4451
|
+
export interface TiktokIntegrationQueryVideosParams {
|
|
4452
|
+
body: TikTokVideoQueryRequestDto;
|
|
4453
|
+
}
|
|
5126
4454
|
export interface TwilioSmsIntegrationUserCreateTwilioSmsIntegrationParams {
|
|
5127
4455
|
body: CreateTwilioSmsIntegrationDto;
|
|
5128
4456
|
}
|