@redonvn/redai-backend-api-sdk 0.5.51 → 0.5.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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 +591 -41
- 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
|
@@ -92,9 +92,16 @@ export type ALL_OF = unknown;
|
|
|
92
92
|
export type Allow = unknown;
|
|
93
93
|
export type AND = unknown;
|
|
94
94
|
export type ANTHROPIC = unknown;
|
|
95
|
+
export interface AnthropicMetadata {
|
|
96
|
+
isValid: boolean;
|
|
97
|
+
usageCount?: number;
|
|
98
|
+
lastUsedAt?: number;
|
|
99
|
+
lastQuotaErrorAt?: number;
|
|
100
|
+
isQuotaExceeded?: boolean;
|
|
101
|
+
}
|
|
95
102
|
export type ANY_OF = unknown;
|
|
96
|
-
export type AnyAuthClient = InstanceType<Extract<ALL_EXPORTS,
|
|
97
|
-
export type AnyAuthClientConstructor = Extract<ALL_EXPORTS,
|
|
103
|
+
export type AnyAuthClient = InstanceType<Extract<ALL_EXPORTS, AuthClientCtor>>;
|
|
104
|
+
export type AnyAuthClientConstructor = Extract<ALL_EXPORTS, AuthClientCtor>;
|
|
98
105
|
export type API = unknown;
|
|
99
106
|
export type API_TOKEN = unknown;
|
|
100
107
|
export type API_TOKEN_CREATE = unknown;
|
|
@@ -251,12 +258,20 @@ export interface AwsSecurityCredentialsSupplier {
|
|
|
251
258
|
getAwsSecurityCredentials: (context: ExternalAccountSupplierContext) => Promise<AwsSecurityCredentials>;
|
|
252
259
|
}
|
|
253
260
|
export type AZURE_AI = unknown;
|
|
261
|
+
export type Backup = unknown;
|
|
254
262
|
export type BAR = unknown;
|
|
255
263
|
export type BARCODE = unknown;
|
|
256
264
|
export type BASE = unknown;
|
|
257
265
|
export type BASE64 = unknown;
|
|
258
266
|
export type BASE64_DECODE = unknown;
|
|
259
267
|
export type BASE64_ENCODE = unknown;
|
|
268
|
+
export interface BaseDocsRequest {
|
|
269
|
+
auth: Auth.OAuth2Client | {
|
|
270
|
+
accessToken: string;
|
|
271
|
+
refreshToken: string;
|
|
272
|
+
};
|
|
273
|
+
documentId: string;
|
|
274
|
+
}
|
|
260
275
|
export interface BaseExternalAccountClientOptions extends SharedExternalAccountClientOptions {
|
|
261
276
|
type?: string;
|
|
262
277
|
subject_token_type: string;
|
|
@@ -360,6 +375,7 @@ export type BUSINESS_UPDATE = unknown;
|
|
|
360
375
|
export type BUTTON = unknown;
|
|
361
376
|
export type BUTTON_GROUP = unknown;
|
|
362
377
|
export type BYTEA = unknown;
|
|
378
|
+
export type C = unknown;
|
|
363
379
|
export type CALENDAR = unknown;
|
|
364
380
|
export type CALENDAR_CREATE = unknown;
|
|
365
381
|
export type CALENDAR_DELETE = unknown;
|
|
@@ -395,6 +411,7 @@ export type CASCADE = unknown;
|
|
|
395
411
|
export interface CategoricalChartBucketDto {
|
|
396
412
|
key: string;
|
|
397
413
|
label: string;
|
|
414
|
+
bucketKind?: 'regular' | 'others';
|
|
398
415
|
groups: (ChartRuntimeGroupValueDto)[];
|
|
399
416
|
metrics: {
|
|
400
417
|
[key: string]: number | null;
|
|
@@ -723,6 +740,7 @@ export interface ConfigResponseExtractionField {
|
|
|
723
740
|
mergeStrategy?: MergeStrategy;
|
|
724
741
|
}
|
|
725
742
|
export type CONNECT = unknown;
|
|
743
|
+
export type CONNECTED = unknown;
|
|
726
744
|
export type CONTAINER = unknown;
|
|
727
745
|
export type ConvertConfig = Record<string, ConvertFieldMapping>;
|
|
728
746
|
export interface ConvertFieldMapping {
|
|
@@ -739,6 +757,7 @@ export interface ConvertFieldMapping {
|
|
|
739
757
|
options?: string[];
|
|
740
758
|
};
|
|
741
759
|
}
|
|
760
|
+
export type Cookies = unknown;
|
|
742
761
|
export interface CoreOptions {
|
|
743
762
|
method?: string;
|
|
744
763
|
timeout?: number;
|
|
@@ -960,18 +979,37 @@ export interface DecorateRequestOptions extends r.CoreOptions {
|
|
|
960
979
|
projectId?: string;
|
|
961
980
|
}
|
|
962
981
|
export type DEEPSEEK = unknown;
|
|
982
|
+
export interface DeepSeekMetadata {
|
|
983
|
+
isValid: boolean;
|
|
984
|
+
usageCount?: number;
|
|
985
|
+
lastUsedAt?: number;
|
|
986
|
+
lastQuotaErrorAt?: number;
|
|
987
|
+
isQuotaExceeded?: boolean;
|
|
988
|
+
}
|
|
963
989
|
export type Default = unknown;
|
|
964
990
|
export type DEFAULT = unknown;
|
|
965
991
|
export type DEGRADED = unknown;
|
|
992
|
+
export type Delay = unknown;
|
|
966
993
|
export type DELETE = unknown;
|
|
994
|
+
export interface DeleteContentRangeRequest {
|
|
995
|
+
range: Range;
|
|
996
|
+
}
|
|
967
997
|
export type DELETED = unknown;
|
|
968
998
|
export type DESC = unknown;
|
|
969
999
|
export interface Deserialize<T> {
|
|
970
1000
|
(bytes: Buffer): T;
|
|
971
1001
|
}
|
|
1002
|
+
export interface Dimension {
|
|
1003
|
+
magnitude: number;
|
|
1004
|
+
unit: string;
|
|
1005
|
+
}
|
|
972
1006
|
export type DISABLED = unknown;
|
|
973
1007
|
export type DISCONNECT = unknown;
|
|
1008
|
+
export type DISCONNECTED = unknown;
|
|
974
1009
|
export type DIVIDER = unknown;
|
|
1010
|
+
export interface DocsColor {
|
|
1011
|
+
rgbColor?: RgbColor;
|
|
1012
|
+
}
|
|
975
1013
|
export type DOCUMENT = unknown;
|
|
976
1014
|
export type DONUT = unknown;
|
|
977
1015
|
export type DOUBLE = unknown;
|
|
@@ -1013,6 +1051,19 @@ export interface EmailIntegrationMetadata extends IntegrationMetadataBase {
|
|
|
1013
1051
|
notes?: string;
|
|
1014
1052
|
}
|
|
1015
1053
|
export type EmailProvider = ProviderEnum.EMAIL_SMTP | ProviderEnum.EMAIL_TWILIO_SENDGRID | ProviderEnum.EMAIL_GMAIL | ProviderEnum.EMAIL_OUTLOOK;
|
|
1054
|
+
export interface EmailServerMetadata {
|
|
1055
|
+
userId?: number | null;
|
|
1056
|
+
serverName: string;
|
|
1057
|
+
providerName: string;
|
|
1058
|
+
host?: string;
|
|
1059
|
+
port?: number;
|
|
1060
|
+
useSsl?: boolean;
|
|
1061
|
+
useStartTls?: boolean;
|
|
1062
|
+
isActive: boolean;
|
|
1063
|
+
additionalSettings?: any;
|
|
1064
|
+
createdAt: number;
|
|
1065
|
+
updatedAt: number;
|
|
1066
|
+
}
|
|
1016
1067
|
export interface EmailSMTPNotificationConfig extends BaseNotificationConfig {
|
|
1017
1068
|
recipientEmail: string;
|
|
1018
1069
|
defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
|
|
@@ -1049,6 +1100,9 @@ export interface EmployeeRole {
|
|
|
1049
1100
|
}
|
|
1050
1101
|
export type EMPTY = unknown;
|
|
1051
1102
|
export type END = unknown;
|
|
1103
|
+
export interface EndOfSegmentLocation {
|
|
1104
|
+
segmentId?: SegmentId;
|
|
1105
|
+
}
|
|
1052
1106
|
export type ENUM = unknown;
|
|
1053
1107
|
export type EQ = unknown;
|
|
1054
1108
|
export type ERROR = unknown;
|
|
@@ -1056,6 +1110,20 @@ export interface ErrorMapping {
|
|
|
1056
1110
|
messageJsonPath?: string;
|
|
1057
1111
|
codeJsonPath?: string;
|
|
1058
1112
|
}
|
|
1113
|
+
export interface ESmsMetadata {
|
|
1114
|
+
brandname?: string;
|
|
1115
|
+
brandnameType?: number;
|
|
1116
|
+
brandnameTypeName?: string;
|
|
1117
|
+
baseUrl?: string;
|
|
1118
|
+
statusBaseUrl?: string;
|
|
1119
|
+
voiceBaseUrl?: string;
|
|
1120
|
+
timeoutMs?: number;
|
|
1121
|
+
accountBalance?: number;
|
|
1122
|
+
eSmsUserId?: string | number;
|
|
1123
|
+
lastBalanceCheck?: number;
|
|
1124
|
+
totalBrandnames?: number;
|
|
1125
|
+
parentIntegrationId?: string;
|
|
1126
|
+
}
|
|
1059
1127
|
export declare enum EventNotificationStatus {
|
|
1060
1128
|
ON_SUCCESS = "ON_SUCCESS",
|
|
1061
1129
|
ON_FAILURE = "ON_FAILURE",
|
|
@@ -1172,12 +1240,92 @@ export type FACEBOOK_ADS = unknown;
|
|
|
1172
1240
|
export type FACEBOOK_BUSINESS = unknown;
|
|
1173
1241
|
export type FACEBOOK_PAGE = unknown;
|
|
1174
1242
|
export type FACEBOOK_PERSONAL = unknown;
|
|
1243
|
+
export interface FacebookAdsMetadata {
|
|
1244
|
+
businessId: string;
|
|
1245
|
+
businessName: string;
|
|
1246
|
+
adAccountId: string;
|
|
1247
|
+
adAccountName: string;
|
|
1248
|
+
userIds: number[];
|
|
1249
|
+
expirationDateUnix: number;
|
|
1250
|
+
accountStatus?: number;
|
|
1251
|
+
currency?: string;
|
|
1252
|
+
timezoneId?: number;
|
|
1253
|
+
timezoneName?: string;
|
|
1254
|
+
balance?: number;
|
|
1255
|
+
amountSpent?: number;
|
|
1256
|
+
ownedByPersonalIntegrationId: string;
|
|
1257
|
+
primaryAccessVia: {
|
|
1258
|
+
type: 'personal' | 'business';
|
|
1259
|
+
id: string;
|
|
1260
|
+
name: string;
|
|
1261
|
+
role: 'owner' | 'admin' | 'advertiser';
|
|
1262
|
+
integrationId: string;
|
|
1263
|
+
};
|
|
1264
|
+
allAccessPaths: Array<{
|
|
1265
|
+
type: 'personal' | 'business';
|
|
1266
|
+
id: string;
|
|
1267
|
+
name: string;
|
|
1268
|
+
role: 'owner' | 'admin' | 'advertiser';
|
|
1269
|
+
integrationId: string;
|
|
1270
|
+
}>;
|
|
1271
|
+
accessiblePages?: Array<{
|
|
1272
|
+
pageId: string;
|
|
1273
|
+
pageName: string;
|
|
1274
|
+
accessViaType: 'personal' | 'business';
|
|
1275
|
+
accessViaId: string;
|
|
1276
|
+
accessViaName: string;
|
|
1277
|
+
integrationId: string;
|
|
1278
|
+
}>;
|
|
1279
|
+
syncSessionId: string;
|
|
1280
|
+
lastSyncAt: number;
|
|
1281
|
+
pageCount?: number;
|
|
1282
|
+
}
|
|
1175
1283
|
export interface FacebookNotificationConfig extends BaseNotificationConfig {
|
|
1176
1284
|
recipientId: string;
|
|
1177
1285
|
pageAccessToken: string;
|
|
1178
1286
|
messageType?: 'text' | 'template';
|
|
1179
1287
|
defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
|
|
1180
1288
|
}
|
|
1289
|
+
export interface FacebookPageMetadata {
|
|
1290
|
+
pageId: string;
|
|
1291
|
+
ownedByPersonalIntegrationId: string;
|
|
1292
|
+
primaryAccessVia: {
|
|
1293
|
+
type: 'personal' | 'business';
|
|
1294
|
+
id: string;
|
|
1295
|
+
name: string;
|
|
1296
|
+
role: 'owner' | 'admin' | 'editor' | 'advertiser';
|
|
1297
|
+
integrationId: string;
|
|
1298
|
+
};
|
|
1299
|
+
allAccessPaths: Array<{
|
|
1300
|
+
type: 'personal' | 'business';
|
|
1301
|
+
id: string;
|
|
1302
|
+
name: string;
|
|
1303
|
+
role: 'owner' | 'admin' | 'editor' | 'advertiser';
|
|
1304
|
+
integrationId: string;
|
|
1305
|
+
}>;
|
|
1306
|
+
relatedAdsAccounts?: Array<{
|
|
1307
|
+
adAccountId: string;
|
|
1308
|
+
adAccountName: string;
|
|
1309
|
+
accessViaType: 'personal' | 'business';
|
|
1310
|
+
accessViaId: string;
|
|
1311
|
+
accessViaName: string;
|
|
1312
|
+
integrationId: string;
|
|
1313
|
+
}>;
|
|
1314
|
+
syncSessionId: string;
|
|
1315
|
+
lastSyncAt: number;
|
|
1316
|
+
}
|
|
1317
|
+
export interface FacebookPersonalMetadata {
|
|
1318
|
+
personalId: string;
|
|
1319
|
+
expirationDateUnix: number;
|
|
1320
|
+
ownedBusinessIntegrationIds: string[];
|
|
1321
|
+
ownedPageIntegrationIds: string[];
|
|
1322
|
+
ownedAdsIntegrationIds: string[];
|
|
1323
|
+
lastSyncAt: number;
|
|
1324
|
+
syncSessionId: string;
|
|
1325
|
+
totalBusinessAccounts: number;
|
|
1326
|
+
totalPages: number;
|
|
1327
|
+
totalAdsAccounts: number;
|
|
1328
|
+
}
|
|
1181
1329
|
export type FAILED = unknown;
|
|
1182
1330
|
export type FAQ = unknown;
|
|
1183
1331
|
export type FEMALE = unknown;
|
|
@@ -1515,6 +1663,11 @@ export type FormViewMeta = ViewMeta & {
|
|
|
1515
1663
|
submitButtonLabel?: string;
|
|
1516
1664
|
showBranding?: boolean;
|
|
1517
1665
|
};
|
|
1666
|
+
export interface FptSmsMetadata {
|
|
1667
|
+
brandName: string;
|
|
1668
|
+
apiUrl?: string;
|
|
1669
|
+
[key: string]: any;
|
|
1670
|
+
}
|
|
1518
1671
|
export type FRIDAY = unknown;
|
|
1519
1672
|
export type FUNNEL = unknown;
|
|
1520
1673
|
export interface FunnelChartRuntimeDto {
|
|
@@ -1558,7 +1711,7 @@ export type GaxiosError<T = any> = Error & {
|
|
|
1558
1711
|
code?: string;
|
|
1559
1712
|
status?: number;
|
|
1560
1713
|
};
|
|
1561
|
-
export type GaxiosInterceptorManager<T extends GaxiosOptions | GaxiosResponse> = Set
|
|
1714
|
+
export type GaxiosInterceptorManager<T extends GaxiosOptions | GaxiosResponse> = Set<any>;
|
|
1562
1715
|
export interface GaxiosMultipartOptions {
|
|
1563
1716
|
headers: Headers;
|
|
1564
1717
|
content: string | Readable;
|
|
@@ -1617,9 +1770,31 @@ export type GEOGRAPHY = unknown;
|
|
|
1617
1770
|
export type GEOMETRY = unknown;
|
|
1618
1771
|
export type GET = unknown;
|
|
1619
1772
|
export type GETFLY_CRM = unknown;
|
|
1773
|
+
export interface GetflyMetadata {
|
|
1774
|
+
domain: string;
|
|
1775
|
+
userId: number;
|
|
1776
|
+
version: '4.0' | '6.0' | '6.1';
|
|
1777
|
+
}
|
|
1620
1778
|
export type GHN = unknown;
|
|
1621
1779
|
export type GHTK = unknown;
|
|
1622
1780
|
export type Gi = unknown;
|
|
1781
|
+
export interface GmailMetadata {
|
|
1782
|
+
email: string;
|
|
1783
|
+
normalizedEmail?: string;
|
|
1784
|
+
description?: string;
|
|
1785
|
+
isActive: boolean;
|
|
1786
|
+
connectionStatus: string;
|
|
1787
|
+
expiresAt?: number;
|
|
1788
|
+
updatedAt: number;
|
|
1789
|
+
isDefault?: boolean;
|
|
1790
|
+
userInfo?: {
|
|
1791
|
+
id?: string;
|
|
1792
|
+
name?: string;
|
|
1793
|
+
picture?: string;
|
|
1794
|
+
verified_email?: boolean;
|
|
1795
|
+
locale?: string;
|
|
1796
|
+
};
|
|
1797
|
+
}
|
|
1623
1798
|
export type GOOGLE = unknown;
|
|
1624
1799
|
export type GOOGLE_ADS = unknown;
|
|
1625
1800
|
export type GOOGLE_AI_STUDIO = unknown;
|
|
@@ -1679,6 +1854,17 @@ export interface GoogleAuthOptions<T extends AuthClient = AnyAuthClient> {
|
|
|
1679
1854
|
projectId?: string;
|
|
1680
1855
|
universeDomain?: string;
|
|
1681
1856
|
}
|
|
1857
|
+
export interface GoogleCloudProjectMetadata {
|
|
1858
|
+
projectId: string;
|
|
1859
|
+
projectName?: string;
|
|
1860
|
+
clientId: string;
|
|
1861
|
+
configuredScopes?: string[];
|
|
1862
|
+
redirectUris?: string[];
|
|
1863
|
+
createdAt: number;
|
|
1864
|
+
updatedAt: number;
|
|
1865
|
+
isActive: boolean;
|
|
1866
|
+
notes?: string;
|
|
1867
|
+
}
|
|
1682
1868
|
export interface GoogleInnerError {
|
|
1683
1869
|
reason?: string;
|
|
1684
1870
|
message?: string;
|
|
@@ -1690,6 +1876,31 @@ export interface GoogleIntegrationMetadata extends IntegrationMetadataBase {
|
|
|
1690
1876
|
notes?: string;
|
|
1691
1877
|
}
|
|
1692
1878
|
export type GoogleProvider = ProviderEnum.GOOGLE_CALENDAR | ProviderEnum.GOOGLE_SHEETS | ProviderEnum.GOOGLE_DOCS | ProviderEnum.GOOGLE_DRIVE | ProviderEnum.GOOGLE_ADS | ProviderEnum.GOOGLE_CLOUD_PROJECT;
|
|
1879
|
+
export interface GoogleServiceMetadata {
|
|
1880
|
+
serviceType: GoogleServiceType;
|
|
1881
|
+
email: string;
|
|
1882
|
+
normalizedEmail?: string;
|
|
1883
|
+
connectedAt: number;
|
|
1884
|
+
grantedScopes?: string[];
|
|
1885
|
+
hostedDomain?: string;
|
|
1886
|
+
lastTestedAt?: number;
|
|
1887
|
+
lastTestResult?: boolean;
|
|
1888
|
+
userInfo?: {
|
|
1889
|
+
name?: string;
|
|
1890
|
+
picture?: string;
|
|
1891
|
+
hd?: string;
|
|
1892
|
+
};
|
|
1893
|
+
projectId?: string;
|
|
1894
|
+
location?: string;
|
|
1895
|
+
isConfigured?: boolean;
|
|
1896
|
+
modelCount?: number;
|
|
1897
|
+
lastTestAt?: number;
|
|
1898
|
+
vertexApiEnabled?: boolean;
|
|
1899
|
+
vertexApiEnableUrl?: string;
|
|
1900
|
+
vertexApiWarning?: string;
|
|
1901
|
+
vertexApiErrorReason?: string;
|
|
1902
|
+
vertexApiStatusCode?: number;
|
|
1903
|
+
}
|
|
1693
1904
|
export declare enum GoogleServiceType {
|
|
1694
1905
|
GOOGLE_DOCS = "GOOGLE_DOCS",
|
|
1695
1906
|
GOOGLE_SHEETS = "GOOGLE_SHEETS",
|
|
@@ -1763,7 +1974,7 @@ export interface GrpcClientOptions extends GoogleAuthOptions {
|
|
|
1763
1974
|
numericEnums?: boolean;
|
|
1764
1975
|
universeDomain?: string;
|
|
1765
1976
|
}
|
|
1766
|
-
export type GrpcModule =
|
|
1977
|
+
export type GrpcModule = any;
|
|
1767
1978
|
export type GT = unknown;
|
|
1768
1979
|
export type GTE = unknown;
|
|
1769
1980
|
export type HAS_MANY = unknown;
|
|
@@ -1791,6 +2002,7 @@ export type HmacKey = ServiceObject & {
|
|
|
1791
2002
|
instanceRetryValue?: any;
|
|
1792
2003
|
};
|
|
1793
2004
|
export type HOOK = unknown;
|
|
2005
|
+
export type Hosted = unknown;
|
|
1794
2006
|
export type HOURLY = unknown;
|
|
1795
2007
|
export interface HourlyScheduleConfig {
|
|
1796
2008
|
everyHours: number;
|
|
@@ -1799,7 +2011,13 @@ export interface HourlyScheduleConfig {
|
|
|
1799
2011
|
export type HrTime = [number, number];
|
|
1800
2012
|
export type HSTORE = unknown;
|
|
1801
2013
|
export type HTTP = unknown;
|
|
1802
|
-
export
|
|
2014
|
+
export declare enum HttpMethod {
|
|
2015
|
+
GET = "GET",
|
|
2016
|
+
POST = "POST",
|
|
2017
|
+
PUT = "PUT",
|
|
2018
|
+
PATCH = "PATCH",
|
|
2019
|
+
DELETE = "DELETE"
|
|
2020
|
+
}
|
|
1803
2021
|
export declare enum HttpMethodEnum {
|
|
1804
2022
|
GET = "GET",
|
|
1805
2023
|
POST = "POST",
|
|
@@ -1941,6 +2159,7 @@ export interface IIntegrationInputField {
|
|
|
1941
2159
|
export type ILocalizedText = Record<ELanguage, string>;
|
|
1942
2160
|
export type IMAGE = unknown;
|
|
1943
2161
|
export type IMPORT = unknown;
|
|
2162
|
+
export type Important = unknown;
|
|
1944
2163
|
export type IN_SYSTEM = unknown;
|
|
1945
2164
|
export type INACTIVE = unknown;
|
|
1946
2165
|
export type INDIVIDUAL = unknown;
|
|
@@ -1954,6 +2173,24 @@ export interface INotificationConfig {
|
|
|
1954
2173
|
}
|
|
1955
2174
|
export type INPUT = unknown;
|
|
1956
2175
|
export type INSERT_ROWS = unknown;
|
|
2176
|
+
export interface InsertPageBreakOptions {
|
|
2177
|
+
location: LocationInput;
|
|
2178
|
+
}
|
|
2179
|
+
export interface InsertPageBreakRequest extends BaseDocsRequest, InsertPageBreakOptions {
|
|
2180
|
+
}
|
|
2181
|
+
export interface InsertTableOptions {
|
|
2182
|
+
rows: number;
|
|
2183
|
+
columns: number;
|
|
2184
|
+
location: LocationInput;
|
|
2185
|
+
}
|
|
2186
|
+
export interface InsertTableRequest extends BaseDocsRequest, InsertTableOptions {
|
|
2187
|
+
}
|
|
2188
|
+
export interface InsertTextOptions {
|
|
2189
|
+
text: string;
|
|
2190
|
+
location: LocationInput;
|
|
2191
|
+
}
|
|
2192
|
+
export interface InsertTextRequest extends BaseDocsRequest, InsertTextOptions {
|
|
2193
|
+
}
|
|
1957
2194
|
export interface InstructionEdge {
|
|
1958
2195
|
from: number;
|
|
1959
2196
|
to: number;
|
|
@@ -2101,8 +2338,9 @@ export interface IntermediateObjectWritable<T> extends Writable {
|
|
|
2101
2338
|
end(chunk: any & T, encoding?: any, cb?: Function): ReturnType<Writable['end']> extends Writable ? this : void;
|
|
2102
2339
|
}
|
|
2103
2340
|
export type INTERVAL = unknown;
|
|
2104
|
-
export type Invalid =
|
|
2341
|
+
export type Invalid = unknown;
|
|
2105
2342
|
export type INVITE = unknown;
|
|
2343
|
+
export type IP = unknown;
|
|
2106
2344
|
export type IS = unknown;
|
|
2107
2345
|
export type IS_NOT = unknown;
|
|
2108
2346
|
export type IS_WITHIN = unknown;
|
|
@@ -2159,9 +2397,9 @@ export interface LimitOffsetQueryDto {
|
|
|
2159
2397
|
}
|
|
2160
2398
|
export type LINE = unknown;
|
|
2161
2399
|
export interface Link {
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2400
|
+
url?: string;
|
|
2401
|
+
bookmarkId?: string;
|
|
2402
|
+
headingId?: string;
|
|
2165
2403
|
}
|
|
2166
2404
|
export type LINK_TO_ANOTHER_RECORD = unknown;
|
|
2167
2405
|
export type LINKS = unknown;
|
|
@@ -2182,6 +2420,13 @@ export interface Location {
|
|
|
2182
2420
|
segmentId?: SegmentId;
|
|
2183
2421
|
index?: number;
|
|
2184
2422
|
}
|
|
2423
|
+
export type LocationInput = {
|
|
2424
|
+
type: 'location';
|
|
2425
|
+
value: Location;
|
|
2426
|
+
} | {
|
|
2427
|
+
type: 'endOfSegmentLocation';
|
|
2428
|
+
value: EndOfSegmentLocation;
|
|
2429
|
+
};
|
|
2185
2430
|
export type LOCKED = unknown;
|
|
2186
2431
|
export type LONG_TEXT = unknown;
|
|
2187
2432
|
export type LONGTEXT = unknown;
|
|
@@ -2214,11 +2459,7 @@ export type MANAGE = unknown;
|
|
|
2214
2459
|
export type MANY_TO_MANY = unknown;
|
|
2215
2460
|
export type MAP = unknown;
|
|
2216
2461
|
export type MAPBOX = unknown;
|
|
2217
|
-
export
|
|
2218
|
-
mapToIndex(value: number): number;
|
|
2219
|
-
lowerBoundary(index: number): number;
|
|
2220
|
-
get scale(): number;
|
|
2221
|
-
}
|
|
2462
|
+
export type Mapping = unknown;
|
|
2222
2463
|
export declare enum MapProviderType {
|
|
2223
2464
|
OSM = "osm",
|
|
2224
2465
|
GOOGLE = "google",
|
|
@@ -2428,6 +2669,7 @@ export interface MultiLanguageText {
|
|
|
2428
2669
|
export type MYSQL = unknown;
|
|
2429
2670
|
export type NCHAR = unknown;
|
|
2430
2671
|
export type NEQ = unknown;
|
|
2672
|
+
export type NEW = unknown;
|
|
2431
2673
|
export type NEXT_MONTH = unknown;
|
|
2432
2674
|
export type NEXT_NUMBER_OF_DAYS = unknown;
|
|
2433
2675
|
export type NEXT_WEEK = unknown;
|
|
@@ -2495,7 +2737,17 @@ export type ONE_WEEK_AGO = unknown;
|
|
|
2495
2737
|
export type ONE_WEEK_FROM_NOW = unknown;
|
|
2496
2738
|
export type OPENAI = unknown;
|
|
2497
2739
|
export type OPENAI_OAUTH = unknown;
|
|
2740
|
+
export interface OpenAIMetadata {
|
|
2741
|
+
isValid: boolean;
|
|
2742
|
+
usageCount?: number;
|
|
2743
|
+
lastUsedAt?: number;
|
|
2744
|
+
lastQuotaErrorAt?: number;
|
|
2745
|
+
isQuotaExceeded?: boolean;
|
|
2746
|
+
}
|
|
2498
2747
|
export type OPENROUTER = unknown;
|
|
2748
|
+
export interface OptionalColor {
|
|
2749
|
+
color?: DocsColor;
|
|
2750
|
+
}
|
|
2499
2751
|
export type Options = OptionsWithUri | OptionsWithUrl;
|
|
2500
2752
|
export type OPTIONS = unknown;
|
|
2501
2753
|
export interface OptionsWithUri extends CoreOptions {
|
|
@@ -2559,6 +2811,35 @@ export interface PaginationMeta {
|
|
|
2559
2811
|
currentPage: number;
|
|
2560
2812
|
hasItems?: boolean;
|
|
2561
2813
|
}
|
|
2814
|
+
export interface ParagraphBorder {
|
|
2815
|
+
color?: OptionalColor;
|
|
2816
|
+
width?: Dimension;
|
|
2817
|
+
padding?: Dimension;
|
|
2818
|
+
dashStyle?: string;
|
|
2819
|
+
}
|
|
2820
|
+
export interface ParagraphStyle {
|
|
2821
|
+
headingId?: string;
|
|
2822
|
+
namedStyleType?: string;
|
|
2823
|
+
alignment?: string;
|
|
2824
|
+
lineSpacing?: number;
|
|
2825
|
+
direction?: string;
|
|
2826
|
+
spacingMode?: string;
|
|
2827
|
+
spaceAbove?: Dimension;
|
|
2828
|
+
spaceBelow?: Dimension;
|
|
2829
|
+
borderBetween?: ParagraphBorder;
|
|
2830
|
+
borderTop?: ParagraphBorder;
|
|
2831
|
+
borderBottom?: ParagraphBorder;
|
|
2832
|
+
borderLeft?: ParagraphBorder;
|
|
2833
|
+
borderRight?: ParagraphBorder;
|
|
2834
|
+
indentFirstLine?: Dimension;
|
|
2835
|
+
indentStart?: Dimension;
|
|
2836
|
+
indentEnd?: Dimension;
|
|
2837
|
+
tabStops?: TabStop[];
|
|
2838
|
+
keepLinesTogether?: boolean;
|
|
2839
|
+
keepWithNext?: boolean;
|
|
2840
|
+
avoidWidowAndOrphan?: boolean;
|
|
2841
|
+
shading?: Shading;
|
|
2842
|
+
}
|
|
2562
2843
|
export type PASSWORD = unknown;
|
|
2563
2844
|
export type PAST_MONTH = unknown;
|
|
2564
2845
|
export type PAST_NUMBER_OF_DAYS = unknown;
|
|
@@ -2566,6 +2847,33 @@ export type PAST_WEEK = unknown;
|
|
|
2566
2847
|
export type PAST_YEAR = unknown;
|
|
2567
2848
|
export type PATCH = unknown;
|
|
2568
2849
|
export type PAUSED = unknown;
|
|
2850
|
+
export interface PaymentGatewayMetadata {
|
|
2851
|
+
paymentGatewayType: string;
|
|
2852
|
+
accountId: string;
|
|
2853
|
+
userCompanyInSepayId: string;
|
|
2854
|
+
bankCode: string;
|
|
2855
|
+
accountNumber: string;
|
|
2856
|
+
accountHolderName: string;
|
|
2857
|
+
label: string;
|
|
2858
|
+
phoneNumber: string;
|
|
2859
|
+
status: PaymentGatewayStatus;
|
|
2860
|
+
requestId: string;
|
|
2861
|
+
isVa: boolean;
|
|
2862
|
+
canCreateVa: boolean;
|
|
2863
|
+
mainId?: string;
|
|
2864
|
+
vaId?: string;
|
|
2865
|
+
merchantAddress?: string;
|
|
2866
|
+
merchantName?: string;
|
|
2867
|
+
}
|
|
2868
|
+
export declare enum PaymentGatewayStatus {
|
|
2869
|
+
PENDING = "PENDING",
|
|
2870
|
+
CONNECTED = "CONNECTED",
|
|
2871
|
+
ACTIVE = "ACTIVE",
|
|
2872
|
+
VERIFIED = "VERIFIED",
|
|
2873
|
+
DISCONNECTED = "DISCONNECTED",
|
|
2874
|
+
FAILED = "FAILED",
|
|
2875
|
+
DISABLED = "DISABLED"
|
|
2876
|
+
}
|
|
2569
2877
|
export interface PaymentIntegrationMetadata extends IntegrationMetadataBase {
|
|
2570
2878
|
provider: PaymentProvider;
|
|
2571
2879
|
supportsWebhook?: boolean;
|
|
@@ -2967,9 +3275,7 @@ export interface PubsubMessage extends google.pubsub.v1.IPubsubMessage, tracing.
|
|
|
2967
3275
|
}
|
|
2968
3276
|
export type PUT = unknown;
|
|
2969
3277
|
export type QR_CODE = unknown;
|
|
2970
|
-
export
|
|
2971
|
-
[key: string]: string;
|
|
2972
|
-
}
|
|
3278
|
+
export type Query = unknown;
|
|
2973
3279
|
export interface QueryDto {
|
|
2974
3280
|
page: number;
|
|
2975
3281
|
limit: number;
|
|
@@ -2991,6 +3297,11 @@ export type QueuedMessages = Array<QueuedMessage>;
|
|
|
2991
3297
|
export type RADAR = unknown;
|
|
2992
3298
|
export type RADIO_GROUP = unknown;
|
|
2993
3299
|
export type RAG_SETTINGS = unknown;
|
|
3300
|
+
export interface Range {
|
|
3301
|
+
segmentId?: SegmentId;
|
|
3302
|
+
startIndex: number;
|
|
3303
|
+
endIndex: number;
|
|
3304
|
+
}
|
|
2994
3305
|
export type RATING = unknown;
|
|
2995
3306
|
export type RAW = unknown;
|
|
2996
3307
|
export type READ = unknown;
|
|
@@ -3103,10 +3414,21 @@ export declare enum RelationType {
|
|
|
3103
3414
|
ONE_TO_ONE = "oo"
|
|
3104
3415
|
}
|
|
3105
3416
|
export type REPLACE = unknown;
|
|
3106
|
-
export interface
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3417
|
+
export interface ReplaceAllTextOptions {
|
|
3418
|
+
text: string;
|
|
3419
|
+
replaceText: string;
|
|
3420
|
+
matchCase?: boolean;
|
|
3421
|
+
}
|
|
3422
|
+
export interface ReplaceAllTextRequest extends BaseDocsRequest, ReplaceAllTextOptions {
|
|
3423
|
+
}
|
|
3424
|
+
export interface Request {
|
|
3425
|
+
insertText?: InsertTextRequest;
|
|
3426
|
+
deleteContentRange?: DeleteContentRangeRequest;
|
|
3427
|
+
replaceAllText?: ReplaceAllTextRequest;
|
|
3428
|
+
updateTextStyle?: UpdateTextStyleRequest;
|
|
3429
|
+
updateParagraphStyle?: UpdateParagraphStyleRequest;
|
|
3430
|
+
insertTable?: InsertTableRequest;
|
|
3431
|
+
insertPageBreak?: InsertPageBreakRequest;
|
|
3110
3432
|
}
|
|
3111
3433
|
export interface RequestCallback<T = any> {
|
|
3112
3434
|
(err: Error | null, response: Response, body?: T): void;
|
|
@@ -3128,19 +3450,11 @@ export type ResponseBody = any;
|
|
|
3128
3450
|
export type ResponseType = {} | null;
|
|
3129
3451
|
export type RESTRICT = unknown;
|
|
3130
3452
|
export interface RetryConfig {
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
onRetryAttempt?: (err: GaxiosError) => Promise<void> | void;
|
|
3137
|
-
shouldRetry?: (err: GaxiosError) => Promise<boolean> | boolean;
|
|
3138
|
-
noResponseRetries?: number;
|
|
3139
|
-
retryBackoff?: (err: GaxiosError, defaultBackoffMs: number) => Promise<void>;
|
|
3140
|
-
timeOfFirstRequest?: number;
|
|
3141
|
-
totalTimeout?: number;
|
|
3142
|
-
maxRetryDelay?: number;
|
|
3143
|
-
retryDelayMultiplier?: number;
|
|
3453
|
+
maxRetries: number;
|
|
3454
|
+
initialDelayMs: number;
|
|
3455
|
+
backoffMultiplier: number;
|
|
3456
|
+
maxDelayMs: number;
|
|
3457
|
+
jitterMs: number;
|
|
3144
3458
|
}
|
|
3145
3459
|
export interface RetryOptions {
|
|
3146
3460
|
retryDelayMultiplier?: number;
|
|
@@ -3150,6 +3464,11 @@ export interface RetryOptions {
|
|
|
3150
3464
|
maxRetries?: number;
|
|
3151
3465
|
retryableErrorFn?: (err: ApiError) => boolean;
|
|
3152
3466
|
}
|
|
3467
|
+
export interface RgbColor {
|
|
3468
|
+
red: number;
|
|
3469
|
+
green: number;
|
|
3470
|
+
blue: number;
|
|
3471
|
+
}
|
|
3153
3472
|
export type RIGHT = unknown;
|
|
3154
3473
|
export type ROLLUP = unknown;
|
|
3155
3474
|
export interface RollupConfigDto {
|
|
@@ -3199,10 +3518,41 @@ export interface ScatterChartRuntimeDto {
|
|
|
3199
3518
|
}
|
|
3200
3519
|
export type SCB_BANK = unknown;
|
|
3201
3520
|
export interface Schema {
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3521
|
+
type: SchemaType;
|
|
3522
|
+
title?: string;
|
|
3523
|
+
description?: string;
|
|
3524
|
+
nullable?: boolean;
|
|
3525
|
+
enum?: string[];
|
|
3526
|
+
maxItems?: number;
|
|
3527
|
+
minItems?: number;
|
|
3528
|
+
items?: Schema;
|
|
3529
|
+
properties?: {
|
|
3530
|
+
[key: string]: Schema;
|
|
3531
|
+
};
|
|
3532
|
+
required?: string[];
|
|
3533
|
+
minProperties?: number;
|
|
3534
|
+
maxProperties?: number;
|
|
3535
|
+
propertyOrdering?: string[];
|
|
3536
|
+
minLength?: number;
|
|
3537
|
+
maxLength?: number;
|
|
3538
|
+
pattern?: string;
|
|
3539
|
+
minimum?: number;
|
|
3540
|
+
maximum?: number;
|
|
3541
|
+
example?: SchemaValue;
|
|
3542
|
+
default?: SchemaValue;
|
|
3543
|
+
anyOf?: Schema[];
|
|
3544
|
+
}
|
|
3545
|
+
export declare enum SchemaType {
|
|
3546
|
+
STRING = "string",
|
|
3547
|
+
NUMBER = "number",
|
|
3548
|
+
INTEGER = "integer",
|
|
3549
|
+
BOOLEAN = "boolean",
|
|
3550
|
+
ARRAY = "array",
|
|
3551
|
+
OBJECT = "object",
|
|
3552
|
+
NULL = "null",
|
|
3553
|
+
FUNCTION = "function"
|
|
3205
3554
|
}
|
|
3555
|
+
export type SchemaValue = unknown;
|
|
3206
3556
|
export interface ScopeCapability {
|
|
3207
3557
|
id: string;
|
|
3208
3558
|
domain: WorkspaceCapabilityDomain;
|
|
@@ -3328,9 +3678,13 @@ export interface ServiceObjectParent {
|
|
|
3328
3678
|
requestStream(reqOpts: DecorateRequestOptions): r.Request;
|
|
3329
3679
|
request(reqOpts: DecorateRequestOptions, callback: BodyResponseCallback): void;
|
|
3330
3680
|
}
|
|
3681
|
+
export type Session = unknown;
|
|
3331
3682
|
export type SET = unknown;
|
|
3332
3683
|
export type SET_DEFAULT = unknown;
|
|
3333
3684
|
export type SET_NULL = unknown;
|
|
3685
|
+
export interface Shading {
|
|
3686
|
+
backgroundColor?: OptionalColor;
|
|
3687
|
+
}
|
|
3334
3688
|
export type SHARE = unknown;
|
|
3335
3689
|
export interface SharedBaseResponseDto {
|
|
3336
3690
|
id: string;
|
|
@@ -3580,6 +3934,12 @@ export declare enum SpanStatusCode {
|
|
|
3580
3934
|
OK = 1,
|
|
3581
3935
|
ERROR = 2
|
|
3582
3936
|
}
|
|
3937
|
+
export interface SpeedSmsMetadata {
|
|
3938
|
+
smsType?: number;
|
|
3939
|
+
sender?: string;
|
|
3940
|
+
apiUrl?: string;
|
|
3941
|
+
[key: string]: any;
|
|
3942
|
+
}
|
|
3583
3943
|
export type SQLITE = unknown;
|
|
3584
3944
|
export type STACKED_AREA = unknown;
|
|
3585
3945
|
export type STACKED_BAR = unknown;
|
|
@@ -3622,12 +3982,12 @@ export type Storage = Service & {
|
|
|
3622
3982
|
Channel: typeof Channel;
|
|
3623
3983
|
File: typeof File;
|
|
3624
3984
|
HmacKey: typeof HmacKey;
|
|
3625
|
-
|
|
3985
|
+
aclRoles: {
|
|
3626
3986
|
OWNER_ROLE: string;
|
|
3627
3987
|
READER_ROLE: string;
|
|
3628
3988
|
WRITER_ROLE: string;
|
|
3629
3989
|
};
|
|
3630
|
-
acl
|
|
3990
|
+
acl?: any;
|
|
3631
3991
|
crc32cGenerator: CRC32CValidatorGenerator;
|
|
3632
3992
|
retryOptions: RetryOptions;
|
|
3633
3993
|
sanitizeEndpoint: any;
|
|
@@ -4049,6 +4409,7 @@ export interface SysTable {
|
|
|
4049
4409
|
source: SysSources | null;
|
|
4050
4410
|
records: UsrRecord[];
|
|
4051
4411
|
}
|
|
4412
|
+
export type SYSTEM = unknown;
|
|
4052
4413
|
export interface SysUser {
|
|
4053
4414
|
id: number;
|
|
4054
4415
|
fullName: string;
|
|
@@ -4265,10 +4626,23 @@ export interface TableWidgetConfigDto {
|
|
|
4265
4626
|
pageSize?: number;
|
|
4266
4627
|
}
|
|
4267
4628
|
export type TABS = unknown;
|
|
4629
|
+
export interface TabStop {
|
|
4630
|
+
offset: Dimension;
|
|
4631
|
+
alignment: string;
|
|
4632
|
+
}
|
|
4268
4633
|
export type TALL = unknown;
|
|
4269
4634
|
export type TCB_BANK = unknown;
|
|
4270
4635
|
export type TELEGRAM = unknown;
|
|
4271
4636
|
export type TELEGRAM_BOT = unknown;
|
|
4637
|
+
export interface TelegramBotMetadata {
|
|
4638
|
+
botId: number;
|
|
4639
|
+
firstName: string;
|
|
4640
|
+
username: string;
|
|
4641
|
+
botName?: string;
|
|
4642
|
+
agentId?: string;
|
|
4643
|
+
webhookUrl?: string;
|
|
4644
|
+
[key: string]: string | number | undefined;
|
|
4645
|
+
}
|
|
4272
4646
|
export interface TelegramNotificationConfig extends BaseNotificationConfig {
|
|
4273
4647
|
chatId: string;
|
|
4274
4648
|
botToken: string;
|
|
@@ -4278,6 +4652,19 @@ export interface TelegramNotificationConfig extends BaseNotificationConfig {
|
|
|
4278
4652
|
export type TEST = unknown;
|
|
4279
4653
|
export type TEXT = unknown;
|
|
4280
4654
|
export type TEXTAREA = unknown;
|
|
4655
|
+
export interface TextStyle {
|
|
4656
|
+
bold?: boolean;
|
|
4657
|
+
italic?: boolean;
|
|
4658
|
+
underline?: boolean;
|
|
4659
|
+
strikethrough?: boolean;
|
|
4660
|
+
superscript?: boolean;
|
|
4661
|
+
subscript?: boolean;
|
|
4662
|
+
fontSize?: Dimension;
|
|
4663
|
+
foregroundColor?: OptionalColor;
|
|
4664
|
+
backgroundColor?: OptionalColor;
|
|
4665
|
+
weightedFontFamily?: WeightedFontFamily;
|
|
4666
|
+
link?: Link;
|
|
4667
|
+
}
|
|
4281
4668
|
export type TextWidgetConfig = {
|
|
4282
4669
|
content: JsonValue;
|
|
4283
4670
|
format: 'plain' | 'markdown' | 'json';
|
|
@@ -4307,8 +4694,41 @@ export type TextWidgetVariableBinding = {
|
|
|
4307
4694
|
key: string;
|
|
4308
4695
|
sourceWidgetId: string;
|
|
4309
4696
|
};
|
|
4697
|
+
export type Th = unknown;
|
|
4310
4698
|
export type THURSDAY = unknown;
|
|
4311
4699
|
export type TIKTOK = unknown;
|
|
4700
|
+
export interface TikTokIntegrationMetadata {
|
|
4701
|
+
providerType: 'TIKTOK';
|
|
4702
|
+
authMode: 'oauth';
|
|
4703
|
+
connectionStatus: 'connected' | 'disconnected';
|
|
4704
|
+
tiktokOpenId?: string | null;
|
|
4705
|
+
unionId?: string | null;
|
|
4706
|
+
displayName?: string | null;
|
|
4707
|
+
avatarUrl?: string | null;
|
|
4708
|
+
profileDeepLink?: string | null;
|
|
4709
|
+
followerCount?: number | null;
|
|
4710
|
+
followingCount?: number | null;
|
|
4711
|
+
likesCount?: number | null;
|
|
4712
|
+
videoCount?: number | null;
|
|
4713
|
+
adsAccountCount?: number | null;
|
|
4714
|
+
connectedAt: number;
|
|
4715
|
+
updatedAt: number;
|
|
4716
|
+
expiresAt?: number | null;
|
|
4717
|
+
tokenRefreshedAt?: number | null;
|
|
4718
|
+
lastResourceSyncAt?: number | null;
|
|
4719
|
+
resourceSyncStatus?: {
|
|
4720
|
+
profile: 'success' | 'failed';
|
|
4721
|
+
videos: 'success' | 'failed';
|
|
4722
|
+
ads: 'success' | 'failed';
|
|
4723
|
+
errors?: string[];
|
|
4724
|
+
};
|
|
4725
|
+
userInfo?: {
|
|
4726
|
+
id?: string | null;
|
|
4727
|
+
email?: string | null;
|
|
4728
|
+
name?: string | null;
|
|
4729
|
+
picture?: string | null;
|
|
4730
|
+
};
|
|
4731
|
+
}
|
|
4312
4732
|
export type TIME = unknown;
|
|
4313
4733
|
export type TimeInput = HrTime | number | Date;
|
|
4314
4734
|
export type TIMELINE = unknown;
|
|
@@ -4406,6 +4826,19 @@ export declare enum TrustLevelEnum {
|
|
|
4406
4826
|
VERIFIED = "Verified"
|
|
4407
4827
|
}
|
|
4408
4828
|
export type TUESDAY = unknown;
|
|
4829
|
+
export interface TwilioSmsMetadata {
|
|
4830
|
+
accountSid: string;
|
|
4831
|
+
phoneNumber?: string;
|
|
4832
|
+
messagingServiceSid?: string;
|
|
4833
|
+
accountDetails?: {
|
|
4834
|
+
friendlyName?: string;
|
|
4835
|
+
status?: string;
|
|
4836
|
+
type?: string;
|
|
4837
|
+
dateCreated?: string;
|
|
4838
|
+
dateUpdated?: string;
|
|
4839
|
+
};
|
|
4840
|
+
[key: string]: any;
|
|
4841
|
+
}
|
|
4409
4842
|
export interface TypeAgent {
|
|
4410
4843
|
id: number;
|
|
4411
4844
|
name: ILocalizedText;
|
|
@@ -4501,6 +4934,11 @@ export type Unverified = unknown;
|
|
|
4501
4934
|
export type UNVERIFIED = unknown;
|
|
4502
4935
|
export type UPDATE = unknown;
|
|
4503
4936
|
export type UPDATED_AT = unknown;
|
|
4937
|
+
export interface UpdateParagraphStyleRequest {
|
|
4938
|
+
range: Range;
|
|
4939
|
+
paragraphStyle: ParagraphStyle;
|
|
4940
|
+
fields: string;
|
|
4941
|
+
}
|
|
4504
4942
|
export interface UpdateSharedBaseDto {
|
|
4505
4943
|
uuid?: string;
|
|
4506
4944
|
password?: unknown | null;
|
|
@@ -4520,6 +4958,11 @@ export interface UpdateSharedDashboardDto {
|
|
|
4520
4958
|
expiryAt?: unknown | null;
|
|
4521
4959
|
meta?: Record<string, JsonValue>;
|
|
4522
4960
|
}
|
|
4961
|
+
export interface UpdateTextStyleRequest {
|
|
4962
|
+
range: Range;
|
|
4963
|
+
textStyle: TextStyle;
|
|
4964
|
+
fields: string;
|
|
4965
|
+
}
|
|
4523
4966
|
export type UPPERCASE = unknown;
|
|
4524
4967
|
export type URL = unknown;
|
|
4525
4968
|
export interface URLSigner {
|
|
@@ -4670,6 +5113,23 @@ export type VCB_BANK = unknown;
|
|
|
4670
5113
|
export type Verified = unknown;
|
|
4671
5114
|
export type VERIFIED = unknown;
|
|
4672
5115
|
export type VERTEX_AI = unknown;
|
|
5116
|
+
export interface VertexAIMetadata {
|
|
5117
|
+
isValid: boolean;
|
|
5118
|
+
lastTestAt?: number;
|
|
5119
|
+
modelCount?: number;
|
|
5120
|
+
usageCount?: number;
|
|
5121
|
+
lastUsedAt?: number;
|
|
5122
|
+
lastQuotaErrorAt?: number;
|
|
5123
|
+
isQuotaExceeded?: boolean;
|
|
5124
|
+
userInfo?: {
|
|
5125
|
+
id?: string;
|
|
5126
|
+
email?: string;
|
|
5127
|
+
name?: string;
|
|
5128
|
+
picture?: string;
|
|
5129
|
+
verified_email?: boolean;
|
|
5130
|
+
hd?: string;
|
|
5131
|
+
};
|
|
5132
|
+
}
|
|
4673
5133
|
export type VIB_BANK = unknown;
|
|
4674
5134
|
export type VIDEO = unknown;
|
|
4675
5135
|
export type VIEW = unknown;
|
|
@@ -4732,6 +5192,10 @@ export declare enum ViewType {
|
|
|
4732
5192
|
CALENDAR = "calendar",
|
|
4733
5193
|
MAP = "map"
|
|
4734
5194
|
}
|
|
5195
|
+
export interface VonageSmsMetadata {
|
|
5196
|
+
from?: string;
|
|
5197
|
+
[key: string]: any;
|
|
5198
|
+
}
|
|
4735
5199
|
export type VPB_BANK = unknown;
|
|
4736
5200
|
export type VTB_BANK = unknown;
|
|
4737
5201
|
export type WAITING = unknown;
|
|
@@ -4744,6 +5208,12 @@ export interface WebhookNotificationConfig extends BaseNotificationConfig {
|
|
|
4744
5208
|
defaultNotificationTemplates: Record<EventNotificationStatus, string | null>;
|
|
4745
5209
|
}
|
|
4746
5210
|
export type WEBSITE = unknown;
|
|
5211
|
+
export interface WebsiteMetadata {
|
|
5212
|
+
host: string;
|
|
5213
|
+
logo: string;
|
|
5214
|
+
active: boolean;
|
|
5215
|
+
click: number;
|
|
5216
|
+
}
|
|
4747
5217
|
export type WEDNESDAY = unknown;
|
|
4748
5218
|
export type WEEKLY = unknown;
|
|
4749
5219
|
export interface WeeklyScheduleConfig {
|
|
@@ -4752,14 +5222,18 @@ export interface WeeklyScheduleConfig {
|
|
|
4752
5222
|
atHour: number;
|
|
4753
5223
|
atMinute: number;
|
|
4754
5224
|
}
|
|
4755
|
-
export
|
|
5225
|
+
export interface WeightedFontFamily {
|
|
5226
|
+
fontFamily: string;
|
|
5227
|
+
weight: number;
|
|
5228
|
+
}
|
|
5229
|
+
export type WidgetAggregationFunction = 'count' | 'empty' | 'filled' | 'unique' | 'percent_empty' | 'percent_filled' | 'percent_unique' | 'sum' | 'avg' | 'min' | 'max' | 'median' | 'standard_deviation' | 'range' | 'checked' | 'unchecked' | 'percent_checked' | 'percent_unchecked';
|
|
4756
5230
|
export type WidgetAggregationSpec = {
|
|
4757
5231
|
function: WidgetAggregationFunction;
|
|
4758
5232
|
fieldId?: string;
|
|
4759
5233
|
distinct?: boolean;
|
|
4760
5234
|
};
|
|
4761
5235
|
export interface WidgetAggregationSpecDto {
|
|
4762
|
-
function: 'count' | 'sum' | 'avg' | 'min' | 'max';
|
|
5236
|
+
function: 'count' | 'empty' | 'filled' | 'unique' | 'percent_empty' | 'percent_filled' | 'percent_unique' | 'sum' | 'avg' | 'min' | 'max' | 'median' | 'standard_deviation' | 'range' | 'checked' | 'unchecked' | 'percent_checked' | 'percent_unchecked';
|
|
4763
5237
|
fieldId?: string;
|
|
4764
5238
|
distinct?: boolean;
|
|
4765
5239
|
}
|
|
@@ -4969,6 +5443,13 @@ export interface WriteCallback {
|
|
|
4969
5443
|
}
|
|
4970
5444
|
export type X_WWW_FORM_URLENCODED = unknown;
|
|
4971
5445
|
export type XAI = unknown;
|
|
5446
|
+
export interface XAIMetadata {
|
|
5447
|
+
isValid: boolean;
|
|
5448
|
+
usageCount?: number;
|
|
5449
|
+
lastUsedAt?: number;
|
|
5450
|
+
lastQuotaErrorAt?: number;
|
|
5451
|
+
isQuotaExceeded?: boolean;
|
|
5452
|
+
}
|
|
4972
5453
|
export type XLSX = unknown;
|
|
4973
5454
|
export type XML = unknown;
|
|
4974
5455
|
export type YEAR = unknown;
|
|
@@ -4991,6 +5472,75 @@ export interface ZaloOANotificationConfig extends BaseNotificationConfig {
|
|
|
4991
5472
|
defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
|
|
4992
5473
|
messageFormat?: 'TEXT' | 'TEMPLATE';
|
|
4993
5474
|
}
|
|
5475
|
+
export interface ZaloPersonalBackupTokens {
|
|
5476
|
+
accessToken: string;
|
|
5477
|
+
refreshToken?: string;
|
|
5478
|
+
}
|
|
5479
|
+
export interface ZaloPersonalMetadata {
|
|
5480
|
+
zalo_uid: string;
|
|
5481
|
+
displayName: string;
|
|
5482
|
+
username?: string;
|
|
5483
|
+
avatarUrl?: string;
|
|
5484
|
+
phoneNumber?: string;
|
|
5485
|
+
email?: string;
|
|
5486
|
+
expiresAt: number;
|
|
5487
|
+
refreshTokenExpiresAt?: number;
|
|
5488
|
+
status: string;
|
|
5489
|
+
createdAt: number;
|
|
5490
|
+
updatedAt: number;
|
|
5491
|
+
backupTokens?: ZaloPersonalBackupTokens;
|
|
5492
|
+
errorReason?: string;
|
|
5493
|
+
corruptedAt?: string;
|
|
5494
|
+
browserInfo?: {
|
|
5495
|
+
/**
|
|
5496
|
+
* User agent của trình duyệt
|
|
5497
|
+
*/
|
|
5498
|
+
userAgent?: string;
|
|
5499
|
+
/**
|
|
5500
|
+
* Cookies session
|
|
5501
|
+
*/
|
|
5502
|
+
sessionCookies?: string;
|
|
5503
|
+
/**
|
|
5504
|
+
* Thời gian đăng nhập cuối cùng
|
|
5505
|
+
*/
|
|
5506
|
+
lastLoginAt?: number;
|
|
5507
|
+
/**
|
|
5508
|
+
* IP address được sử dụng
|
|
5509
|
+
*/
|
|
5510
|
+
ipAddress?: string;
|
|
5511
|
+
/**
|
|
5512
|
+
* Session ID từ automation-web
|
|
5513
|
+
*/
|
|
5514
|
+
sessionId?: string;
|
|
5515
|
+
};
|
|
5516
|
+
settings?: {
|
|
5517
|
+
/**
|
|
5518
|
+
* Có tự động gửi tin nhắn không
|
|
5519
|
+
*/
|
|
5520
|
+
autoSendMessage?: boolean;
|
|
5521
|
+
/**
|
|
5522
|
+
* Giới hạn số tin nhắn mỗi ngày
|
|
5523
|
+
*/
|
|
5524
|
+
dailyMessageLimit?: number;
|
|
5525
|
+
/**
|
|
5526
|
+
* Delay giữa các tin nhắn (ms)
|
|
5527
|
+
*/
|
|
5528
|
+
messageDelay?: number;
|
|
5529
|
+
/**
|
|
5530
|
+
* Có sử dụng proxy không
|
|
5531
|
+
*/
|
|
5532
|
+
useProxy?: boolean;
|
|
5533
|
+
/**
|
|
5534
|
+
* Thông tin proxy
|
|
5535
|
+
*/
|
|
5536
|
+
proxyConfig?: {
|
|
5537
|
+
host: string;
|
|
5538
|
+
port: number;
|
|
5539
|
+
username?: string;
|
|
5540
|
+
password?: string;
|
|
5541
|
+
};
|
|
5542
|
+
};
|
|
5543
|
+
}
|
|
4994
5544
|
export interface ZaloPersonalNotificationConfig extends BaseNotificationConfig {
|
|
4995
5545
|
userId: string;
|
|
4996
5546
|
phoneNumber?: string;
|