@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
|
@@ -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;
|
|
@@ -559,6 +576,7 @@ export type ChartWidgetConfig = {
|
|
|
559
576
|
yAxis?: ChartYAxisSpec;
|
|
560
577
|
series?: ChartSeriesConfigSpec;
|
|
561
578
|
points?: ChartPointsSpec;
|
|
579
|
+
radar?: RadarConfigSpec;
|
|
562
580
|
display?: ChartDisplaySpec;
|
|
563
581
|
};
|
|
564
582
|
export interface ChartWidgetConfigDto {
|
|
@@ -568,6 +586,7 @@ export interface ChartWidgetConfigDto {
|
|
|
568
586
|
yAxis?: ChartYAxisSpecDto;
|
|
569
587
|
series?: ChartSeriesConfigSpecDto;
|
|
570
588
|
points?: ChartPointsSpecDto;
|
|
589
|
+
radar?: RadarConfigSpecDto;
|
|
571
590
|
display?: ChartDisplaySpecDto;
|
|
572
591
|
}
|
|
573
592
|
export type ChartXAxisMode = 'category' | 'time' | 'numeric';
|
|
@@ -723,6 +742,7 @@ export interface ConfigResponseExtractionField {
|
|
|
723
742
|
mergeStrategy?: MergeStrategy;
|
|
724
743
|
}
|
|
725
744
|
export type CONNECT = unknown;
|
|
745
|
+
export type CONNECTED = unknown;
|
|
726
746
|
export type CONTAINER = unknown;
|
|
727
747
|
export type ConvertConfig = Record<string, ConvertFieldMapping>;
|
|
728
748
|
export interface ConvertFieldMapping {
|
|
@@ -739,6 +759,7 @@ export interface ConvertFieldMapping {
|
|
|
739
759
|
options?: string[];
|
|
740
760
|
};
|
|
741
761
|
}
|
|
762
|
+
export type Cookies = unknown;
|
|
742
763
|
export interface CoreOptions {
|
|
743
764
|
method?: string;
|
|
744
765
|
timeout?: number;
|
|
@@ -960,18 +981,37 @@ export interface DecorateRequestOptions extends r.CoreOptions {
|
|
|
960
981
|
projectId?: string;
|
|
961
982
|
}
|
|
962
983
|
export type DEEPSEEK = unknown;
|
|
984
|
+
export interface DeepSeekMetadata {
|
|
985
|
+
isValid: boolean;
|
|
986
|
+
usageCount?: number;
|
|
987
|
+
lastUsedAt?: number;
|
|
988
|
+
lastQuotaErrorAt?: number;
|
|
989
|
+
isQuotaExceeded?: boolean;
|
|
990
|
+
}
|
|
963
991
|
export type Default = unknown;
|
|
964
992
|
export type DEFAULT = unknown;
|
|
965
993
|
export type DEGRADED = unknown;
|
|
994
|
+
export type Delay = unknown;
|
|
966
995
|
export type DELETE = unknown;
|
|
996
|
+
export interface DeleteContentRangeRequest {
|
|
997
|
+
range: Range;
|
|
998
|
+
}
|
|
967
999
|
export type DELETED = unknown;
|
|
968
1000
|
export type DESC = unknown;
|
|
969
1001
|
export interface Deserialize<T> {
|
|
970
1002
|
(bytes: Buffer): T;
|
|
971
1003
|
}
|
|
1004
|
+
export interface Dimension {
|
|
1005
|
+
magnitude: number;
|
|
1006
|
+
unit: string;
|
|
1007
|
+
}
|
|
972
1008
|
export type DISABLED = unknown;
|
|
973
1009
|
export type DISCONNECT = unknown;
|
|
1010
|
+
export type DISCONNECTED = unknown;
|
|
974
1011
|
export type DIVIDER = unknown;
|
|
1012
|
+
export interface DocsColor {
|
|
1013
|
+
rgbColor?: RgbColor;
|
|
1014
|
+
}
|
|
975
1015
|
export type DOCUMENT = unknown;
|
|
976
1016
|
export type DONUT = unknown;
|
|
977
1017
|
export type DOUBLE = unknown;
|
|
@@ -1013,6 +1053,19 @@ export interface EmailIntegrationMetadata extends IntegrationMetadataBase {
|
|
|
1013
1053
|
notes?: string;
|
|
1014
1054
|
}
|
|
1015
1055
|
export type EmailProvider = ProviderEnum.EMAIL_SMTP | ProviderEnum.EMAIL_TWILIO_SENDGRID | ProviderEnum.EMAIL_GMAIL | ProviderEnum.EMAIL_OUTLOOK;
|
|
1056
|
+
export interface EmailServerMetadata {
|
|
1057
|
+
userId?: number | null;
|
|
1058
|
+
serverName: string;
|
|
1059
|
+
providerName: string;
|
|
1060
|
+
host?: string;
|
|
1061
|
+
port?: number;
|
|
1062
|
+
useSsl?: boolean;
|
|
1063
|
+
useStartTls?: boolean;
|
|
1064
|
+
isActive: boolean;
|
|
1065
|
+
additionalSettings?: any;
|
|
1066
|
+
createdAt: number;
|
|
1067
|
+
updatedAt: number;
|
|
1068
|
+
}
|
|
1016
1069
|
export interface EmailSMTPNotificationConfig extends BaseNotificationConfig {
|
|
1017
1070
|
recipientEmail: string;
|
|
1018
1071
|
defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
|
|
@@ -1049,6 +1102,9 @@ export interface EmployeeRole {
|
|
|
1049
1102
|
}
|
|
1050
1103
|
export type EMPTY = unknown;
|
|
1051
1104
|
export type END = unknown;
|
|
1105
|
+
export interface EndOfSegmentLocation {
|
|
1106
|
+
segmentId?: SegmentId;
|
|
1107
|
+
}
|
|
1052
1108
|
export type ENUM = unknown;
|
|
1053
1109
|
export type EQ = unknown;
|
|
1054
1110
|
export type ERROR = unknown;
|
|
@@ -1056,6 +1112,20 @@ export interface ErrorMapping {
|
|
|
1056
1112
|
messageJsonPath?: string;
|
|
1057
1113
|
codeJsonPath?: string;
|
|
1058
1114
|
}
|
|
1115
|
+
export interface ESmsMetadata {
|
|
1116
|
+
brandname?: string;
|
|
1117
|
+
brandnameType?: number;
|
|
1118
|
+
brandnameTypeName?: string;
|
|
1119
|
+
baseUrl?: string;
|
|
1120
|
+
statusBaseUrl?: string;
|
|
1121
|
+
voiceBaseUrl?: string;
|
|
1122
|
+
timeoutMs?: number;
|
|
1123
|
+
accountBalance?: number;
|
|
1124
|
+
eSmsUserId?: string | number;
|
|
1125
|
+
lastBalanceCheck?: number;
|
|
1126
|
+
totalBrandnames?: number;
|
|
1127
|
+
parentIntegrationId?: string;
|
|
1128
|
+
}
|
|
1059
1129
|
export declare enum EventNotificationStatus {
|
|
1060
1130
|
ON_SUCCESS = "ON_SUCCESS",
|
|
1061
1131
|
ON_FAILURE = "ON_FAILURE",
|
|
@@ -1172,12 +1242,92 @@ export type FACEBOOK_ADS = unknown;
|
|
|
1172
1242
|
export type FACEBOOK_BUSINESS = unknown;
|
|
1173
1243
|
export type FACEBOOK_PAGE = unknown;
|
|
1174
1244
|
export type FACEBOOK_PERSONAL = unknown;
|
|
1245
|
+
export interface FacebookAdsMetadata {
|
|
1246
|
+
businessId: string;
|
|
1247
|
+
businessName: string;
|
|
1248
|
+
adAccountId: string;
|
|
1249
|
+
adAccountName: string;
|
|
1250
|
+
userIds: number[];
|
|
1251
|
+
expirationDateUnix: number;
|
|
1252
|
+
accountStatus?: number;
|
|
1253
|
+
currency?: string;
|
|
1254
|
+
timezoneId?: number;
|
|
1255
|
+
timezoneName?: string;
|
|
1256
|
+
balance?: number;
|
|
1257
|
+
amountSpent?: number;
|
|
1258
|
+
ownedByPersonalIntegrationId: string;
|
|
1259
|
+
primaryAccessVia: {
|
|
1260
|
+
type: 'personal' | 'business';
|
|
1261
|
+
id: string;
|
|
1262
|
+
name: string;
|
|
1263
|
+
role: 'owner' | 'admin' | 'advertiser';
|
|
1264
|
+
integrationId: string;
|
|
1265
|
+
};
|
|
1266
|
+
allAccessPaths: Array<{
|
|
1267
|
+
type: 'personal' | 'business';
|
|
1268
|
+
id: string;
|
|
1269
|
+
name: string;
|
|
1270
|
+
role: 'owner' | 'admin' | 'advertiser';
|
|
1271
|
+
integrationId: string;
|
|
1272
|
+
}>;
|
|
1273
|
+
accessiblePages?: Array<{
|
|
1274
|
+
pageId: string;
|
|
1275
|
+
pageName: string;
|
|
1276
|
+
accessViaType: 'personal' | 'business';
|
|
1277
|
+
accessViaId: string;
|
|
1278
|
+
accessViaName: string;
|
|
1279
|
+
integrationId: string;
|
|
1280
|
+
}>;
|
|
1281
|
+
syncSessionId: string;
|
|
1282
|
+
lastSyncAt: number;
|
|
1283
|
+
pageCount?: number;
|
|
1284
|
+
}
|
|
1175
1285
|
export interface FacebookNotificationConfig extends BaseNotificationConfig {
|
|
1176
1286
|
recipientId: string;
|
|
1177
1287
|
pageAccessToken: string;
|
|
1178
1288
|
messageType?: 'text' | 'template';
|
|
1179
1289
|
defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
|
|
1180
1290
|
}
|
|
1291
|
+
export interface FacebookPageMetadata {
|
|
1292
|
+
pageId: string;
|
|
1293
|
+
ownedByPersonalIntegrationId: string;
|
|
1294
|
+
primaryAccessVia: {
|
|
1295
|
+
type: 'personal' | 'business';
|
|
1296
|
+
id: string;
|
|
1297
|
+
name: string;
|
|
1298
|
+
role: 'owner' | 'admin' | 'editor' | 'advertiser';
|
|
1299
|
+
integrationId: string;
|
|
1300
|
+
};
|
|
1301
|
+
allAccessPaths: Array<{
|
|
1302
|
+
type: 'personal' | 'business';
|
|
1303
|
+
id: string;
|
|
1304
|
+
name: string;
|
|
1305
|
+
role: 'owner' | 'admin' | 'editor' | 'advertiser';
|
|
1306
|
+
integrationId: string;
|
|
1307
|
+
}>;
|
|
1308
|
+
relatedAdsAccounts?: Array<{
|
|
1309
|
+
adAccountId: string;
|
|
1310
|
+
adAccountName: string;
|
|
1311
|
+
accessViaType: 'personal' | 'business';
|
|
1312
|
+
accessViaId: string;
|
|
1313
|
+
accessViaName: string;
|
|
1314
|
+
integrationId: string;
|
|
1315
|
+
}>;
|
|
1316
|
+
syncSessionId: string;
|
|
1317
|
+
lastSyncAt: number;
|
|
1318
|
+
}
|
|
1319
|
+
export interface FacebookPersonalMetadata {
|
|
1320
|
+
personalId: string;
|
|
1321
|
+
expirationDateUnix: number;
|
|
1322
|
+
ownedBusinessIntegrationIds: string[];
|
|
1323
|
+
ownedPageIntegrationIds: string[];
|
|
1324
|
+
ownedAdsIntegrationIds: string[];
|
|
1325
|
+
lastSyncAt: number;
|
|
1326
|
+
syncSessionId: string;
|
|
1327
|
+
totalBusinessAccounts: number;
|
|
1328
|
+
totalPages: number;
|
|
1329
|
+
totalAdsAccounts: number;
|
|
1330
|
+
}
|
|
1181
1331
|
export type FAILED = unknown;
|
|
1182
1332
|
export type FAQ = unknown;
|
|
1183
1333
|
export type FEMALE = unknown;
|
|
@@ -1515,6 +1665,11 @@ export type FormViewMeta = ViewMeta & {
|
|
|
1515
1665
|
submitButtonLabel?: string;
|
|
1516
1666
|
showBranding?: boolean;
|
|
1517
1667
|
};
|
|
1668
|
+
export interface FptSmsMetadata {
|
|
1669
|
+
brandName: string;
|
|
1670
|
+
apiUrl?: string;
|
|
1671
|
+
[key: string]: any;
|
|
1672
|
+
}
|
|
1518
1673
|
export type FRIDAY = unknown;
|
|
1519
1674
|
export type FUNNEL = unknown;
|
|
1520
1675
|
export interface FunnelChartRuntimeDto {
|
|
@@ -1558,7 +1713,7 @@ export type GaxiosError<T = any> = Error & {
|
|
|
1558
1713
|
code?: string;
|
|
1559
1714
|
status?: number;
|
|
1560
1715
|
};
|
|
1561
|
-
export type GaxiosInterceptorManager<T extends GaxiosOptions | GaxiosResponse> = Set
|
|
1716
|
+
export type GaxiosInterceptorManager<T extends GaxiosOptions | GaxiosResponse> = Set<any>;
|
|
1562
1717
|
export interface GaxiosMultipartOptions {
|
|
1563
1718
|
headers: Headers;
|
|
1564
1719
|
content: string | Readable;
|
|
@@ -1617,9 +1772,31 @@ export type GEOGRAPHY = unknown;
|
|
|
1617
1772
|
export type GEOMETRY = unknown;
|
|
1618
1773
|
export type GET = unknown;
|
|
1619
1774
|
export type GETFLY_CRM = unknown;
|
|
1775
|
+
export interface GetflyMetadata {
|
|
1776
|
+
domain: string;
|
|
1777
|
+
userId: number;
|
|
1778
|
+
version: '4.0' | '6.0' | '6.1';
|
|
1779
|
+
}
|
|
1620
1780
|
export type GHN = unknown;
|
|
1621
1781
|
export type GHTK = unknown;
|
|
1622
1782
|
export type Gi = unknown;
|
|
1783
|
+
export interface GmailMetadata {
|
|
1784
|
+
email: string;
|
|
1785
|
+
normalizedEmail?: string;
|
|
1786
|
+
description?: string;
|
|
1787
|
+
isActive: boolean;
|
|
1788
|
+
connectionStatus: string;
|
|
1789
|
+
expiresAt?: number;
|
|
1790
|
+
updatedAt: number;
|
|
1791
|
+
isDefault?: boolean;
|
|
1792
|
+
userInfo?: {
|
|
1793
|
+
id?: string;
|
|
1794
|
+
name?: string;
|
|
1795
|
+
picture?: string;
|
|
1796
|
+
verified_email?: boolean;
|
|
1797
|
+
locale?: string;
|
|
1798
|
+
};
|
|
1799
|
+
}
|
|
1623
1800
|
export type GOOGLE = unknown;
|
|
1624
1801
|
export type GOOGLE_ADS = unknown;
|
|
1625
1802
|
export type GOOGLE_AI_STUDIO = unknown;
|
|
@@ -1679,6 +1856,17 @@ export interface GoogleAuthOptions<T extends AuthClient = AnyAuthClient> {
|
|
|
1679
1856
|
projectId?: string;
|
|
1680
1857
|
universeDomain?: string;
|
|
1681
1858
|
}
|
|
1859
|
+
export interface GoogleCloudProjectMetadata {
|
|
1860
|
+
projectId: string;
|
|
1861
|
+
projectName?: string;
|
|
1862
|
+
clientId: string;
|
|
1863
|
+
configuredScopes?: string[];
|
|
1864
|
+
redirectUris?: string[];
|
|
1865
|
+
createdAt: number;
|
|
1866
|
+
updatedAt: number;
|
|
1867
|
+
isActive: boolean;
|
|
1868
|
+
notes?: string;
|
|
1869
|
+
}
|
|
1682
1870
|
export interface GoogleInnerError {
|
|
1683
1871
|
reason?: string;
|
|
1684
1872
|
message?: string;
|
|
@@ -1690,6 +1878,31 @@ export interface GoogleIntegrationMetadata extends IntegrationMetadataBase {
|
|
|
1690
1878
|
notes?: string;
|
|
1691
1879
|
}
|
|
1692
1880
|
export type GoogleProvider = ProviderEnum.GOOGLE_CALENDAR | ProviderEnum.GOOGLE_SHEETS | ProviderEnum.GOOGLE_DOCS | ProviderEnum.GOOGLE_DRIVE | ProviderEnum.GOOGLE_ADS | ProviderEnum.GOOGLE_CLOUD_PROJECT;
|
|
1881
|
+
export interface GoogleServiceMetadata {
|
|
1882
|
+
serviceType: GoogleServiceType;
|
|
1883
|
+
email: string;
|
|
1884
|
+
normalizedEmail?: string;
|
|
1885
|
+
connectedAt: number;
|
|
1886
|
+
grantedScopes?: string[];
|
|
1887
|
+
hostedDomain?: string;
|
|
1888
|
+
lastTestedAt?: number;
|
|
1889
|
+
lastTestResult?: boolean;
|
|
1890
|
+
userInfo?: {
|
|
1891
|
+
name?: string;
|
|
1892
|
+
picture?: string;
|
|
1893
|
+
hd?: string;
|
|
1894
|
+
};
|
|
1895
|
+
projectId?: string;
|
|
1896
|
+
location?: string;
|
|
1897
|
+
isConfigured?: boolean;
|
|
1898
|
+
modelCount?: number;
|
|
1899
|
+
lastTestAt?: number;
|
|
1900
|
+
vertexApiEnabled?: boolean;
|
|
1901
|
+
vertexApiEnableUrl?: string;
|
|
1902
|
+
vertexApiWarning?: string;
|
|
1903
|
+
vertexApiErrorReason?: string;
|
|
1904
|
+
vertexApiStatusCode?: number;
|
|
1905
|
+
}
|
|
1693
1906
|
export declare enum GoogleServiceType {
|
|
1694
1907
|
GOOGLE_DOCS = "GOOGLE_DOCS",
|
|
1695
1908
|
GOOGLE_SHEETS = "GOOGLE_SHEETS",
|
|
@@ -1763,7 +1976,7 @@ export interface GrpcClientOptions extends GoogleAuthOptions {
|
|
|
1763
1976
|
numericEnums?: boolean;
|
|
1764
1977
|
universeDomain?: string;
|
|
1765
1978
|
}
|
|
1766
|
-
export type GrpcModule =
|
|
1979
|
+
export type GrpcModule = any;
|
|
1767
1980
|
export type GT = unknown;
|
|
1768
1981
|
export type GTE = unknown;
|
|
1769
1982
|
export type HAS_MANY = unknown;
|
|
@@ -1791,6 +2004,7 @@ export type HmacKey = ServiceObject & {
|
|
|
1791
2004
|
instanceRetryValue?: any;
|
|
1792
2005
|
};
|
|
1793
2006
|
export type HOOK = unknown;
|
|
2007
|
+
export type Hosted = unknown;
|
|
1794
2008
|
export type HOURLY = unknown;
|
|
1795
2009
|
export interface HourlyScheduleConfig {
|
|
1796
2010
|
everyHours: number;
|
|
@@ -1799,7 +2013,13 @@ export interface HourlyScheduleConfig {
|
|
|
1799
2013
|
export type HrTime = [number, number];
|
|
1800
2014
|
export type HSTORE = unknown;
|
|
1801
2015
|
export type HTTP = unknown;
|
|
1802
|
-
export
|
|
2016
|
+
export declare enum HttpMethod {
|
|
2017
|
+
GET = "GET",
|
|
2018
|
+
POST = "POST",
|
|
2019
|
+
PUT = "PUT",
|
|
2020
|
+
PATCH = "PATCH",
|
|
2021
|
+
DELETE = "DELETE"
|
|
2022
|
+
}
|
|
1803
2023
|
export declare enum HttpMethodEnum {
|
|
1804
2024
|
GET = "GET",
|
|
1805
2025
|
POST = "POST",
|
|
@@ -1941,6 +2161,7 @@ export interface IIntegrationInputField {
|
|
|
1941
2161
|
export type ILocalizedText = Record<ELanguage, string>;
|
|
1942
2162
|
export type IMAGE = unknown;
|
|
1943
2163
|
export type IMPORT = unknown;
|
|
2164
|
+
export type Important = unknown;
|
|
1944
2165
|
export type IN_SYSTEM = unknown;
|
|
1945
2166
|
export type INACTIVE = unknown;
|
|
1946
2167
|
export type INDIVIDUAL = unknown;
|
|
@@ -1954,6 +2175,24 @@ export interface INotificationConfig {
|
|
|
1954
2175
|
}
|
|
1955
2176
|
export type INPUT = unknown;
|
|
1956
2177
|
export type INSERT_ROWS = unknown;
|
|
2178
|
+
export interface InsertPageBreakOptions {
|
|
2179
|
+
location: LocationInput;
|
|
2180
|
+
}
|
|
2181
|
+
export interface InsertPageBreakRequest extends BaseDocsRequest, InsertPageBreakOptions {
|
|
2182
|
+
}
|
|
2183
|
+
export interface InsertTableOptions {
|
|
2184
|
+
rows: number;
|
|
2185
|
+
columns: number;
|
|
2186
|
+
location: LocationInput;
|
|
2187
|
+
}
|
|
2188
|
+
export interface InsertTableRequest extends BaseDocsRequest, InsertTableOptions {
|
|
2189
|
+
}
|
|
2190
|
+
export interface InsertTextOptions {
|
|
2191
|
+
text: string;
|
|
2192
|
+
location: LocationInput;
|
|
2193
|
+
}
|
|
2194
|
+
export interface InsertTextRequest extends BaseDocsRequest, InsertTextOptions {
|
|
2195
|
+
}
|
|
1957
2196
|
export interface InstructionEdge {
|
|
1958
2197
|
from: number;
|
|
1959
2198
|
to: number;
|
|
@@ -2101,8 +2340,9 @@ export interface IntermediateObjectWritable<T> extends Writable {
|
|
|
2101
2340
|
end(chunk: any & T, encoding?: any, cb?: Function): ReturnType<Writable['end']> extends Writable ? this : void;
|
|
2102
2341
|
}
|
|
2103
2342
|
export type INTERVAL = unknown;
|
|
2104
|
-
export type Invalid =
|
|
2343
|
+
export type Invalid = unknown;
|
|
2105
2344
|
export type INVITE = unknown;
|
|
2345
|
+
export type IP = unknown;
|
|
2106
2346
|
export type IS = unknown;
|
|
2107
2347
|
export type IS_NOT = unknown;
|
|
2108
2348
|
export type IS_WITHIN = unknown;
|
|
@@ -2159,9 +2399,9 @@ export interface LimitOffsetQueryDto {
|
|
|
2159
2399
|
}
|
|
2160
2400
|
export type LINE = unknown;
|
|
2161
2401
|
export interface Link {
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2402
|
+
url?: string;
|
|
2403
|
+
bookmarkId?: string;
|
|
2404
|
+
headingId?: string;
|
|
2165
2405
|
}
|
|
2166
2406
|
export type LINK_TO_ANOTHER_RECORD = unknown;
|
|
2167
2407
|
export type LINKS = unknown;
|
|
@@ -2182,6 +2422,13 @@ export interface Location {
|
|
|
2182
2422
|
segmentId?: SegmentId;
|
|
2183
2423
|
index?: number;
|
|
2184
2424
|
}
|
|
2425
|
+
export type LocationInput = {
|
|
2426
|
+
type: 'location';
|
|
2427
|
+
value: Location;
|
|
2428
|
+
} | {
|
|
2429
|
+
type: 'endOfSegmentLocation';
|
|
2430
|
+
value: EndOfSegmentLocation;
|
|
2431
|
+
};
|
|
2185
2432
|
export type LOCKED = unknown;
|
|
2186
2433
|
export type LONG_TEXT = unknown;
|
|
2187
2434
|
export type LONGTEXT = unknown;
|
|
@@ -2214,11 +2461,7 @@ export type MANAGE = unknown;
|
|
|
2214
2461
|
export type MANY_TO_MANY = unknown;
|
|
2215
2462
|
export type MAP = unknown;
|
|
2216
2463
|
export type MAPBOX = unknown;
|
|
2217
|
-
export
|
|
2218
|
-
mapToIndex(value: number): number;
|
|
2219
|
-
lowerBoundary(index: number): number;
|
|
2220
|
-
get scale(): number;
|
|
2221
|
-
}
|
|
2464
|
+
export type Mapping = unknown;
|
|
2222
2465
|
export declare enum MapProviderType {
|
|
2223
2466
|
OSM = "osm",
|
|
2224
2467
|
GOOGLE = "google",
|
|
@@ -2428,6 +2671,7 @@ export interface MultiLanguageText {
|
|
|
2428
2671
|
export type MYSQL = unknown;
|
|
2429
2672
|
export type NCHAR = unknown;
|
|
2430
2673
|
export type NEQ = unknown;
|
|
2674
|
+
export type NEW = unknown;
|
|
2431
2675
|
export type NEXT_MONTH = unknown;
|
|
2432
2676
|
export type NEXT_NUMBER_OF_DAYS = unknown;
|
|
2433
2677
|
export type NEXT_WEEK = unknown;
|
|
@@ -2495,7 +2739,17 @@ export type ONE_WEEK_AGO = unknown;
|
|
|
2495
2739
|
export type ONE_WEEK_FROM_NOW = unknown;
|
|
2496
2740
|
export type OPENAI = unknown;
|
|
2497
2741
|
export type OPENAI_OAUTH = unknown;
|
|
2742
|
+
export interface OpenAIMetadata {
|
|
2743
|
+
isValid: boolean;
|
|
2744
|
+
usageCount?: number;
|
|
2745
|
+
lastUsedAt?: number;
|
|
2746
|
+
lastQuotaErrorAt?: number;
|
|
2747
|
+
isQuotaExceeded?: boolean;
|
|
2748
|
+
}
|
|
2498
2749
|
export type OPENROUTER = unknown;
|
|
2750
|
+
export interface OptionalColor {
|
|
2751
|
+
color?: DocsColor;
|
|
2752
|
+
}
|
|
2499
2753
|
export type Options = OptionsWithUri | OptionsWithUrl;
|
|
2500
2754
|
export type OPTIONS = unknown;
|
|
2501
2755
|
export interface OptionsWithUri extends CoreOptions {
|
|
@@ -2559,6 +2813,35 @@ export interface PaginationMeta {
|
|
|
2559
2813
|
currentPage: number;
|
|
2560
2814
|
hasItems?: boolean;
|
|
2561
2815
|
}
|
|
2816
|
+
export interface ParagraphBorder {
|
|
2817
|
+
color?: OptionalColor;
|
|
2818
|
+
width?: Dimension;
|
|
2819
|
+
padding?: Dimension;
|
|
2820
|
+
dashStyle?: string;
|
|
2821
|
+
}
|
|
2822
|
+
export interface ParagraphStyle {
|
|
2823
|
+
headingId?: string;
|
|
2824
|
+
namedStyleType?: string;
|
|
2825
|
+
alignment?: string;
|
|
2826
|
+
lineSpacing?: number;
|
|
2827
|
+
direction?: string;
|
|
2828
|
+
spacingMode?: string;
|
|
2829
|
+
spaceAbove?: Dimension;
|
|
2830
|
+
spaceBelow?: Dimension;
|
|
2831
|
+
borderBetween?: ParagraphBorder;
|
|
2832
|
+
borderTop?: ParagraphBorder;
|
|
2833
|
+
borderBottom?: ParagraphBorder;
|
|
2834
|
+
borderLeft?: ParagraphBorder;
|
|
2835
|
+
borderRight?: ParagraphBorder;
|
|
2836
|
+
indentFirstLine?: Dimension;
|
|
2837
|
+
indentStart?: Dimension;
|
|
2838
|
+
indentEnd?: Dimension;
|
|
2839
|
+
tabStops?: TabStop[];
|
|
2840
|
+
keepLinesTogether?: boolean;
|
|
2841
|
+
keepWithNext?: boolean;
|
|
2842
|
+
avoidWidowAndOrphan?: boolean;
|
|
2843
|
+
shading?: Shading;
|
|
2844
|
+
}
|
|
2562
2845
|
export type PASSWORD = unknown;
|
|
2563
2846
|
export type PAST_MONTH = unknown;
|
|
2564
2847
|
export type PAST_NUMBER_OF_DAYS = unknown;
|
|
@@ -2566,6 +2849,33 @@ export type PAST_WEEK = unknown;
|
|
|
2566
2849
|
export type PAST_YEAR = unknown;
|
|
2567
2850
|
export type PATCH = unknown;
|
|
2568
2851
|
export type PAUSED = unknown;
|
|
2852
|
+
export interface PaymentGatewayMetadata {
|
|
2853
|
+
paymentGatewayType: string;
|
|
2854
|
+
accountId: string;
|
|
2855
|
+
userCompanyInSepayId: string;
|
|
2856
|
+
bankCode: string;
|
|
2857
|
+
accountNumber: string;
|
|
2858
|
+
accountHolderName: string;
|
|
2859
|
+
label: string;
|
|
2860
|
+
phoneNumber: string;
|
|
2861
|
+
status: PaymentGatewayStatus;
|
|
2862
|
+
requestId: string;
|
|
2863
|
+
isVa: boolean;
|
|
2864
|
+
canCreateVa: boolean;
|
|
2865
|
+
mainId?: string;
|
|
2866
|
+
vaId?: string;
|
|
2867
|
+
merchantAddress?: string;
|
|
2868
|
+
merchantName?: string;
|
|
2869
|
+
}
|
|
2870
|
+
export declare enum PaymentGatewayStatus {
|
|
2871
|
+
PENDING = "PENDING",
|
|
2872
|
+
CONNECTED = "CONNECTED",
|
|
2873
|
+
ACTIVE = "ACTIVE",
|
|
2874
|
+
VERIFIED = "VERIFIED",
|
|
2875
|
+
DISCONNECTED = "DISCONNECTED",
|
|
2876
|
+
FAILED = "FAILED",
|
|
2877
|
+
DISABLED = "DISABLED"
|
|
2878
|
+
}
|
|
2569
2879
|
export interface PaymentIntegrationMetadata extends IntegrationMetadataBase {
|
|
2570
2880
|
provider: PaymentProvider;
|
|
2571
2881
|
supportsWebhook?: boolean;
|
|
@@ -2967,9 +3277,7 @@ export interface PubsubMessage extends google.pubsub.v1.IPubsubMessage, tracing.
|
|
|
2967
3277
|
}
|
|
2968
3278
|
export type PUT = unknown;
|
|
2969
3279
|
export type QR_CODE = unknown;
|
|
2970
|
-
export
|
|
2971
|
-
[key: string]: string;
|
|
2972
|
-
}
|
|
3280
|
+
export type Query = unknown;
|
|
2973
3281
|
export interface QueryDto {
|
|
2974
3282
|
page: number;
|
|
2975
3283
|
limit: number;
|
|
@@ -2989,8 +3297,79 @@ export interface QueuedMessage {
|
|
|
2989
3297
|
}
|
|
2990
3298
|
export type QueuedMessages = Array<QueuedMessage>;
|
|
2991
3299
|
export type RADAR = unknown;
|
|
3300
|
+
export interface RadarChartRuntimeDto {
|
|
3301
|
+
chartType: 'radar';
|
|
3302
|
+
family: 'radar';
|
|
3303
|
+
criteria: (RadarCriterionDto)[];
|
|
3304
|
+
series: (RadarRuntimeSeriesDto)[];
|
|
3305
|
+
display?: ChartRuntimeDisplayDto;
|
|
3306
|
+
}
|
|
3307
|
+
export type RadarConfigSpec = {
|
|
3308
|
+
object: RadarObjectSpec;
|
|
3309
|
+
criteria: RadarCriterionSpec[];
|
|
3310
|
+
};
|
|
3311
|
+
export interface RadarConfigSpecDto {
|
|
3312
|
+
object: RadarObjectSpecDto;
|
|
3313
|
+
criteria: (RadarCriterionSpecDto)[];
|
|
3314
|
+
}
|
|
3315
|
+
export interface RadarCriterionDto {
|
|
3316
|
+
key: string;
|
|
3317
|
+
label: string;
|
|
3318
|
+
color?: string | null;
|
|
3319
|
+
}
|
|
3320
|
+
export type RadarCriterionSpec = {
|
|
3321
|
+
key: string;
|
|
3322
|
+
label?: string;
|
|
3323
|
+
aggregation: WidgetAggregationSpec;
|
|
3324
|
+
fieldId?: string;
|
|
3325
|
+
color?: string;
|
|
3326
|
+
};
|
|
3327
|
+
export interface RadarCriterionSpecDto {
|
|
3328
|
+
key: string;
|
|
3329
|
+
label?: string;
|
|
3330
|
+
aggregation: WidgetAggregationSpecDto;
|
|
3331
|
+
fieldId?: string;
|
|
3332
|
+
color?: string;
|
|
3333
|
+
}
|
|
3334
|
+
export type RadarObjectSortBy = 'label' | 'criterion' | 'default';
|
|
3335
|
+
export type RadarObjectSpec = {
|
|
3336
|
+
fieldId: string;
|
|
3337
|
+
sortBy?: RadarObjectSortBy;
|
|
3338
|
+
sortOrder?: ChartSortOrder;
|
|
3339
|
+
sortCriterionKey?: string;
|
|
3340
|
+
objectLimit?: number;
|
|
3341
|
+
includeEmptyObjects?: boolean;
|
|
3342
|
+
includeOthersObject?: boolean;
|
|
3343
|
+
label?: string;
|
|
3344
|
+
};
|
|
3345
|
+
export interface RadarObjectSpecDto {
|
|
3346
|
+
fieldId: string;
|
|
3347
|
+
sortBy?: RadarObjectSortBy;
|
|
3348
|
+
sortOrder?: ChartSortOrder;
|
|
3349
|
+
sortCriterionKey?: string;
|
|
3350
|
+
objectLimit?: number;
|
|
3351
|
+
includeEmptyObjects?: boolean;
|
|
3352
|
+
includeOthersObject?: boolean;
|
|
3353
|
+
label?: string;
|
|
3354
|
+
}
|
|
3355
|
+
export interface RadarRuntimePointDto {
|
|
3356
|
+
x: string;
|
|
3357
|
+
y?: number | null;
|
|
3358
|
+
groups: (ChartRuntimeGroupValueDto)[];
|
|
3359
|
+
}
|
|
3360
|
+
export interface RadarRuntimeSeriesDto {
|
|
3361
|
+
key: string;
|
|
3362
|
+
label: string;
|
|
3363
|
+
objectKind?: 'regular' | 'others';
|
|
3364
|
+
points: (RadarRuntimePointDto)[];
|
|
3365
|
+
}
|
|
2992
3366
|
export type RADIO_GROUP = unknown;
|
|
2993
3367
|
export type RAG_SETTINGS = unknown;
|
|
3368
|
+
export interface Range {
|
|
3369
|
+
segmentId?: SegmentId;
|
|
3370
|
+
startIndex: number;
|
|
3371
|
+
endIndex: number;
|
|
3372
|
+
}
|
|
2994
3373
|
export type RATING = unknown;
|
|
2995
3374
|
export type RAW = unknown;
|
|
2996
3375
|
export type READ = unknown;
|
|
@@ -3103,10 +3482,21 @@ export declare enum RelationType {
|
|
|
3103
3482
|
ONE_TO_ONE = "oo"
|
|
3104
3483
|
}
|
|
3105
3484
|
export type REPLACE = unknown;
|
|
3106
|
-
export interface
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3485
|
+
export interface ReplaceAllTextOptions {
|
|
3486
|
+
text: string;
|
|
3487
|
+
replaceText: string;
|
|
3488
|
+
matchCase?: boolean;
|
|
3489
|
+
}
|
|
3490
|
+
export interface ReplaceAllTextRequest extends BaseDocsRequest, ReplaceAllTextOptions {
|
|
3491
|
+
}
|
|
3492
|
+
export interface Request {
|
|
3493
|
+
insertText?: InsertTextRequest;
|
|
3494
|
+
deleteContentRange?: DeleteContentRangeRequest;
|
|
3495
|
+
replaceAllText?: ReplaceAllTextRequest;
|
|
3496
|
+
updateTextStyle?: UpdateTextStyleRequest;
|
|
3497
|
+
updateParagraphStyle?: UpdateParagraphStyleRequest;
|
|
3498
|
+
insertTable?: InsertTableRequest;
|
|
3499
|
+
insertPageBreak?: InsertPageBreakRequest;
|
|
3110
3500
|
}
|
|
3111
3501
|
export interface RequestCallback<T = any> {
|
|
3112
3502
|
(err: Error | null, response: Response, body?: T): void;
|
|
@@ -3128,19 +3518,11 @@ export type ResponseBody = any;
|
|
|
3128
3518
|
export type ResponseType = {} | null;
|
|
3129
3519
|
export type RESTRICT = unknown;
|
|
3130
3520
|
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;
|
|
3521
|
+
maxRetries: number;
|
|
3522
|
+
initialDelayMs: number;
|
|
3523
|
+
backoffMultiplier: number;
|
|
3524
|
+
maxDelayMs: number;
|
|
3525
|
+
jitterMs: number;
|
|
3144
3526
|
}
|
|
3145
3527
|
export interface RetryOptions {
|
|
3146
3528
|
retryDelayMultiplier?: number;
|
|
@@ -3150,6 +3532,11 @@ export interface RetryOptions {
|
|
|
3150
3532
|
maxRetries?: number;
|
|
3151
3533
|
retryableErrorFn?: (err: ApiError) => boolean;
|
|
3152
3534
|
}
|
|
3535
|
+
export interface RgbColor {
|
|
3536
|
+
red: number;
|
|
3537
|
+
green: number;
|
|
3538
|
+
blue: number;
|
|
3539
|
+
}
|
|
3153
3540
|
export type RIGHT = unknown;
|
|
3154
3541
|
export type ROLLUP = unknown;
|
|
3155
3542
|
export interface RollupConfigDto {
|
|
@@ -3199,10 +3586,41 @@ export interface ScatterChartRuntimeDto {
|
|
|
3199
3586
|
}
|
|
3200
3587
|
export type SCB_BANK = unknown;
|
|
3201
3588
|
export interface Schema {
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3589
|
+
type: SchemaType;
|
|
3590
|
+
title?: string;
|
|
3591
|
+
description?: string;
|
|
3592
|
+
nullable?: boolean;
|
|
3593
|
+
enum?: string[];
|
|
3594
|
+
maxItems?: number;
|
|
3595
|
+
minItems?: number;
|
|
3596
|
+
items?: Schema;
|
|
3597
|
+
properties?: {
|
|
3598
|
+
[key: string]: Schema;
|
|
3599
|
+
};
|
|
3600
|
+
required?: string[];
|
|
3601
|
+
minProperties?: number;
|
|
3602
|
+
maxProperties?: number;
|
|
3603
|
+
propertyOrdering?: string[];
|
|
3604
|
+
minLength?: number;
|
|
3605
|
+
maxLength?: number;
|
|
3606
|
+
pattern?: string;
|
|
3607
|
+
minimum?: number;
|
|
3608
|
+
maximum?: number;
|
|
3609
|
+
example?: SchemaValue;
|
|
3610
|
+
default?: SchemaValue;
|
|
3611
|
+
anyOf?: Schema[];
|
|
3612
|
+
}
|
|
3613
|
+
export declare enum SchemaType {
|
|
3614
|
+
STRING = "string",
|
|
3615
|
+
NUMBER = "number",
|
|
3616
|
+
INTEGER = "integer",
|
|
3617
|
+
BOOLEAN = "boolean",
|
|
3618
|
+
ARRAY = "array",
|
|
3619
|
+
OBJECT = "object",
|
|
3620
|
+
NULL = "null",
|
|
3621
|
+
FUNCTION = "function"
|
|
3205
3622
|
}
|
|
3623
|
+
export type SchemaValue = unknown;
|
|
3206
3624
|
export interface ScopeCapability {
|
|
3207
3625
|
id: string;
|
|
3208
3626
|
domain: WorkspaceCapabilityDomain;
|
|
@@ -3328,9 +3746,13 @@ export interface ServiceObjectParent {
|
|
|
3328
3746
|
requestStream(reqOpts: DecorateRequestOptions): r.Request;
|
|
3329
3747
|
request(reqOpts: DecorateRequestOptions, callback: BodyResponseCallback): void;
|
|
3330
3748
|
}
|
|
3749
|
+
export type Session = unknown;
|
|
3331
3750
|
export type SET = unknown;
|
|
3332
3751
|
export type SET_DEFAULT = unknown;
|
|
3333
3752
|
export type SET_NULL = unknown;
|
|
3753
|
+
export interface Shading {
|
|
3754
|
+
backgroundColor?: OptionalColor;
|
|
3755
|
+
}
|
|
3334
3756
|
export type SHARE = unknown;
|
|
3335
3757
|
export interface SharedBaseResponseDto {
|
|
3336
3758
|
id: string;
|
|
@@ -3580,6 +4002,12 @@ export declare enum SpanStatusCode {
|
|
|
3580
4002
|
OK = 1,
|
|
3581
4003
|
ERROR = 2
|
|
3582
4004
|
}
|
|
4005
|
+
export interface SpeedSmsMetadata {
|
|
4006
|
+
smsType?: number;
|
|
4007
|
+
sender?: string;
|
|
4008
|
+
apiUrl?: string;
|
|
4009
|
+
[key: string]: any;
|
|
4010
|
+
}
|
|
3583
4011
|
export type SQLITE = unknown;
|
|
3584
4012
|
export type STACKED_AREA = unknown;
|
|
3585
4013
|
export type STACKED_BAR = unknown;
|
|
@@ -3622,12 +4050,12 @@ export type Storage = Service & {
|
|
|
3622
4050
|
Channel: typeof Channel;
|
|
3623
4051
|
File: typeof File;
|
|
3624
4052
|
HmacKey: typeof HmacKey;
|
|
3625
|
-
|
|
4053
|
+
aclRoles: {
|
|
3626
4054
|
OWNER_ROLE: string;
|
|
3627
4055
|
READER_ROLE: string;
|
|
3628
4056
|
WRITER_ROLE: string;
|
|
3629
4057
|
};
|
|
3630
|
-
acl
|
|
4058
|
+
acl?: any;
|
|
3631
4059
|
crc32cGenerator: CRC32CValidatorGenerator;
|
|
3632
4060
|
retryOptions: RetryOptions;
|
|
3633
4061
|
sanitizeEndpoint: any;
|
|
@@ -4049,6 +4477,7 @@ export interface SysTable {
|
|
|
4049
4477
|
source: SysSources | null;
|
|
4050
4478
|
records: UsrRecord[];
|
|
4051
4479
|
}
|
|
4480
|
+
export type SYSTEM = unknown;
|
|
4052
4481
|
export interface SysUser {
|
|
4053
4482
|
id: number;
|
|
4054
4483
|
fullName: string;
|
|
@@ -4265,10 +4694,23 @@ export interface TableWidgetConfigDto {
|
|
|
4265
4694
|
pageSize?: number;
|
|
4266
4695
|
}
|
|
4267
4696
|
export type TABS = unknown;
|
|
4697
|
+
export interface TabStop {
|
|
4698
|
+
offset: Dimension;
|
|
4699
|
+
alignment: string;
|
|
4700
|
+
}
|
|
4268
4701
|
export type TALL = unknown;
|
|
4269
4702
|
export type TCB_BANK = unknown;
|
|
4270
4703
|
export type TELEGRAM = unknown;
|
|
4271
4704
|
export type TELEGRAM_BOT = unknown;
|
|
4705
|
+
export interface TelegramBotMetadata {
|
|
4706
|
+
botId: number;
|
|
4707
|
+
firstName: string;
|
|
4708
|
+
username: string;
|
|
4709
|
+
botName?: string;
|
|
4710
|
+
agentId?: string;
|
|
4711
|
+
webhookUrl?: string;
|
|
4712
|
+
[key: string]: string | number | undefined;
|
|
4713
|
+
}
|
|
4272
4714
|
export interface TelegramNotificationConfig extends BaseNotificationConfig {
|
|
4273
4715
|
chatId: string;
|
|
4274
4716
|
botToken: string;
|
|
@@ -4278,6 +4720,19 @@ export interface TelegramNotificationConfig extends BaseNotificationConfig {
|
|
|
4278
4720
|
export type TEST = unknown;
|
|
4279
4721
|
export type TEXT = unknown;
|
|
4280
4722
|
export type TEXTAREA = unknown;
|
|
4723
|
+
export interface TextStyle {
|
|
4724
|
+
bold?: boolean;
|
|
4725
|
+
italic?: boolean;
|
|
4726
|
+
underline?: boolean;
|
|
4727
|
+
strikethrough?: boolean;
|
|
4728
|
+
superscript?: boolean;
|
|
4729
|
+
subscript?: boolean;
|
|
4730
|
+
fontSize?: Dimension;
|
|
4731
|
+
foregroundColor?: OptionalColor;
|
|
4732
|
+
backgroundColor?: OptionalColor;
|
|
4733
|
+
weightedFontFamily?: WeightedFontFamily;
|
|
4734
|
+
link?: Link;
|
|
4735
|
+
}
|
|
4281
4736
|
export type TextWidgetConfig = {
|
|
4282
4737
|
content: JsonValue;
|
|
4283
4738
|
format: 'plain' | 'markdown' | 'json';
|
|
@@ -4307,8 +4762,41 @@ export type TextWidgetVariableBinding = {
|
|
|
4307
4762
|
key: string;
|
|
4308
4763
|
sourceWidgetId: string;
|
|
4309
4764
|
};
|
|
4765
|
+
export type Th = unknown;
|
|
4310
4766
|
export type THURSDAY = unknown;
|
|
4311
4767
|
export type TIKTOK = unknown;
|
|
4768
|
+
export interface TikTokIntegrationMetadata {
|
|
4769
|
+
providerType: 'TIKTOK';
|
|
4770
|
+
authMode: 'oauth';
|
|
4771
|
+
connectionStatus: 'connected' | 'disconnected';
|
|
4772
|
+
tiktokOpenId?: string | null;
|
|
4773
|
+
unionId?: string | null;
|
|
4774
|
+
displayName?: string | null;
|
|
4775
|
+
avatarUrl?: string | null;
|
|
4776
|
+
profileDeepLink?: string | null;
|
|
4777
|
+
followerCount?: number | null;
|
|
4778
|
+
followingCount?: number | null;
|
|
4779
|
+
likesCount?: number | null;
|
|
4780
|
+
videoCount?: number | null;
|
|
4781
|
+
adsAccountCount?: number | null;
|
|
4782
|
+
connectedAt: number;
|
|
4783
|
+
updatedAt: number;
|
|
4784
|
+
expiresAt?: number | null;
|
|
4785
|
+
tokenRefreshedAt?: number | null;
|
|
4786
|
+
lastResourceSyncAt?: number | null;
|
|
4787
|
+
resourceSyncStatus?: {
|
|
4788
|
+
profile: 'success' | 'failed';
|
|
4789
|
+
videos: 'success' | 'failed';
|
|
4790
|
+
ads: 'success' | 'failed';
|
|
4791
|
+
errors?: string[];
|
|
4792
|
+
};
|
|
4793
|
+
userInfo?: {
|
|
4794
|
+
id?: string | null;
|
|
4795
|
+
email?: string | null;
|
|
4796
|
+
name?: string | null;
|
|
4797
|
+
picture?: string | null;
|
|
4798
|
+
};
|
|
4799
|
+
}
|
|
4312
4800
|
export type TIME = unknown;
|
|
4313
4801
|
export type TimeInput = HrTime | number | Date;
|
|
4314
4802
|
export type TIMELINE = unknown;
|
|
@@ -4406,6 +4894,19 @@ export declare enum TrustLevelEnum {
|
|
|
4406
4894
|
VERIFIED = "Verified"
|
|
4407
4895
|
}
|
|
4408
4896
|
export type TUESDAY = unknown;
|
|
4897
|
+
export interface TwilioSmsMetadata {
|
|
4898
|
+
accountSid: string;
|
|
4899
|
+
phoneNumber?: string;
|
|
4900
|
+
messagingServiceSid?: string;
|
|
4901
|
+
accountDetails?: {
|
|
4902
|
+
friendlyName?: string;
|
|
4903
|
+
status?: string;
|
|
4904
|
+
type?: string;
|
|
4905
|
+
dateCreated?: string;
|
|
4906
|
+
dateUpdated?: string;
|
|
4907
|
+
};
|
|
4908
|
+
[key: string]: any;
|
|
4909
|
+
}
|
|
4409
4910
|
export interface TypeAgent {
|
|
4410
4911
|
id: number;
|
|
4411
4912
|
name: ILocalizedText;
|
|
@@ -4501,6 +5002,11 @@ export type Unverified = unknown;
|
|
|
4501
5002
|
export type UNVERIFIED = unknown;
|
|
4502
5003
|
export type UPDATE = unknown;
|
|
4503
5004
|
export type UPDATED_AT = unknown;
|
|
5005
|
+
export interface UpdateParagraphStyleRequest {
|
|
5006
|
+
range: Range;
|
|
5007
|
+
paragraphStyle: ParagraphStyle;
|
|
5008
|
+
fields: string;
|
|
5009
|
+
}
|
|
4504
5010
|
export interface UpdateSharedBaseDto {
|
|
4505
5011
|
uuid?: string;
|
|
4506
5012
|
password?: unknown | null;
|
|
@@ -4520,6 +5026,11 @@ export interface UpdateSharedDashboardDto {
|
|
|
4520
5026
|
expiryAt?: unknown | null;
|
|
4521
5027
|
meta?: Record<string, JsonValue>;
|
|
4522
5028
|
}
|
|
5029
|
+
export interface UpdateTextStyleRequest {
|
|
5030
|
+
range: Range;
|
|
5031
|
+
textStyle: TextStyle;
|
|
5032
|
+
fields: string;
|
|
5033
|
+
}
|
|
4523
5034
|
export type UPPERCASE = unknown;
|
|
4524
5035
|
export type URL = unknown;
|
|
4525
5036
|
export interface URLSigner {
|
|
@@ -4670,6 +5181,23 @@ export type VCB_BANK = unknown;
|
|
|
4670
5181
|
export type Verified = unknown;
|
|
4671
5182
|
export type VERIFIED = unknown;
|
|
4672
5183
|
export type VERTEX_AI = unknown;
|
|
5184
|
+
export interface VertexAIMetadata {
|
|
5185
|
+
isValid: boolean;
|
|
5186
|
+
lastTestAt?: number;
|
|
5187
|
+
modelCount?: number;
|
|
5188
|
+
usageCount?: number;
|
|
5189
|
+
lastUsedAt?: number;
|
|
5190
|
+
lastQuotaErrorAt?: number;
|
|
5191
|
+
isQuotaExceeded?: boolean;
|
|
5192
|
+
userInfo?: {
|
|
5193
|
+
id?: string;
|
|
5194
|
+
email?: string;
|
|
5195
|
+
name?: string;
|
|
5196
|
+
picture?: string;
|
|
5197
|
+
verified_email?: boolean;
|
|
5198
|
+
hd?: string;
|
|
5199
|
+
};
|
|
5200
|
+
}
|
|
4673
5201
|
export type VIB_BANK = unknown;
|
|
4674
5202
|
export type VIDEO = unknown;
|
|
4675
5203
|
export type VIEW = unknown;
|
|
@@ -4732,6 +5260,10 @@ export declare enum ViewType {
|
|
|
4732
5260
|
CALENDAR = "calendar",
|
|
4733
5261
|
MAP = "map"
|
|
4734
5262
|
}
|
|
5263
|
+
export interface VonageSmsMetadata {
|
|
5264
|
+
from?: string;
|
|
5265
|
+
[key: string]: any;
|
|
5266
|
+
}
|
|
4735
5267
|
export type VPB_BANK = unknown;
|
|
4736
5268
|
export type VTB_BANK = unknown;
|
|
4737
5269
|
export type WAITING = unknown;
|
|
@@ -4744,6 +5276,12 @@ export interface WebhookNotificationConfig extends BaseNotificationConfig {
|
|
|
4744
5276
|
defaultNotificationTemplates: Record<EventNotificationStatus, string | null>;
|
|
4745
5277
|
}
|
|
4746
5278
|
export type WEBSITE = unknown;
|
|
5279
|
+
export interface WebsiteMetadata {
|
|
5280
|
+
host: string;
|
|
5281
|
+
logo: string;
|
|
5282
|
+
active: boolean;
|
|
5283
|
+
click: number;
|
|
5284
|
+
}
|
|
4747
5285
|
export type WEDNESDAY = unknown;
|
|
4748
5286
|
export type WEEKLY = unknown;
|
|
4749
5287
|
export interface WeeklyScheduleConfig {
|
|
@@ -4752,14 +5290,18 @@ export interface WeeklyScheduleConfig {
|
|
|
4752
5290
|
atHour: number;
|
|
4753
5291
|
atMinute: number;
|
|
4754
5292
|
}
|
|
4755
|
-
export
|
|
5293
|
+
export interface WeightedFontFamily {
|
|
5294
|
+
fontFamily: string;
|
|
5295
|
+
weight: number;
|
|
5296
|
+
}
|
|
5297
|
+
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
5298
|
export type WidgetAggregationSpec = {
|
|
4757
5299
|
function: WidgetAggregationFunction;
|
|
4758
5300
|
fieldId?: string;
|
|
4759
5301
|
distinct?: boolean;
|
|
4760
5302
|
};
|
|
4761
5303
|
export interface WidgetAggregationSpecDto {
|
|
4762
|
-
function: 'count' | 'sum' | 'avg' | 'min' | 'max';
|
|
5304
|
+
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
5305
|
fieldId?: string;
|
|
4764
5306
|
distinct?: boolean;
|
|
4765
5307
|
}
|
|
@@ -4834,7 +5376,7 @@ export interface WidgetRuntimeResponseDto {
|
|
|
4834
5376
|
widget: WidgetResponseDto;
|
|
4835
5377
|
runtimeType: string;
|
|
4836
5378
|
resolvedQuery: WidgetRuntimeResolvedQueryResponseDto;
|
|
4837
|
-
data: CategoricalChartRuntimeDto | ScatterChartRuntimeDto | HeatmapChartRuntimeDto | TreemapChartRuntimeDto | FunnelChartRuntimeDto | MetricWidgetRuntimeDto | TextWidgetRuntimeDto | IframeWidgetRuntimeDto | GridEmbedWidgetRuntimeDto | RedaiViewWidgetRuntimeDto | ForbiddenWidgetRuntimeDto | {
|
|
5379
|
+
data: CategoricalChartRuntimeDto | RadarChartRuntimeDto | ScatterChartRuntimeDto | HeatmapChartRuntimeDto | TreemapChartRuntimeDto | FunnelChartRuntimeDto | MetricWidgetRuntimeDto | TextWidgetRuntimeDto | IframeWidgetRuntimeDto | GridEmbedWidgetRuntimeDto | RedaiViewWidgetRuntimeDto | ForbiddenWidgetRuntimeDto | {
|
|
4838
5380
|
[key: string]: unknown;
|
|
4839
5381
|
};
|
|
4840
5382
|
}
|
|
@@ -4969,6 +5511,13 @@ export interface WriteCallback {
|
|
|
4969
5511
|
}
|
|
4970
5512
|
export type X_WWW_FORM_URLENCODED = unknown;
|
|
4971
5513
|
export type XAI = unknown;
|
|
5514
|
+
export interface XAIMetadata {
|
|
5515
|
+
isValid: boolean;
|
|
5516
|
+
usageCount?: number;
|
|
5517
|
+
lastUsedAt?: number;
|
|
5518
|
+
lastQuotaErrorAt?: number;
|
|
5519
|
+
isQuotaExceeded?: boolean;
|
|
5520
|
+
}
|
|
4972
5521
|
export type XLSX = unknown;
|
|
4973
5522
|
export type XML = unknown;
|
|
4974
5523
|
export type YEAR = unknown;
|
|
@@ -4991,6 +5540,75 @@ export interface ZaloOANotificationConfig extends BaseNotificationConfig {
|
|
|
4991
5540
|
defaultNotificationTemplates: Record<EventNotificationStatus, number | null>;
|
|
4992
5541
|
messageFormat?: 'TEXT' | 'TEMPLATE';
|
|
4993
5542
|
}
|
|
5543
|
+
export interface ZaloPersonalBackupTokens {
|
|
5544
|
+
accessToken: string;
|
|
5545
|
+
refreshToken?: string;
|
|
5546
|
+
}
|
|
5547
|
+
export interface ZaloPersonalMetadata {
|
|
5548
|
+
zalo_uid: string;
|
|
5549
|
+
displayName: string;
|
|
5550
|
+
username?: string;
|
|
5551
|
+
avatarUrl?: string;
|
|
5552
|
+
phoneNumber?: string;
|
|
5553
|
+
email?: string;
|
|
5554
|
+
expiresAt: number;
|
|
5555
|
+
refreshTokenExpiresAt?: number;
|
|
5556
|
+
status: string;
|
|
5557
|
+
createdAt: number;
|
|
5558
|
+
updatedAt: number;
|
|
5559
|
+
backupTokens?: ZaloPersonalBackupTokens;
|
|
5560
|
+
errorReason?: string;
|
|
5561
|
+
corruptedAt?: string;
|
|
5562
|
+
browserInfo?: {
|
|
5563
|
+
/**
|
|
5564
|
+
* User agent của trình duyệt
|
|
5565
|
+
*/
|
|
5566
|
+
userAgent?: string;
|
|
5567
|
+
/**
|
|
5568
|
+
* Cookies session
|
|
5569
|
+
*/
|
|
5570
|
+
sessionCookies?: string;
|
|
5571
|
+
/**
|
|
5572
|
+
* Thời gian đăng nhập cuối cùng
|
|
5573
|
+
*/
|
|
5574
|
+
lastLoginAt?: number;
|
|
5575
|
+
/**
|
|
5576
|
+
* IP address được sử dụng
|
|
5577
|
+
*/
|
|
5578
|
+
ipAddress?: string;
|
|
5579
|
+
/**
|
|
5580
|
+
* Session ID từ automation-web
|
|
5581
|
+
*/
|
|
5582
|
+
sessionId?: string;
|
|
5583
|
+
};
|
|
5584
|
+
settings?: {
|
|
5585
|
+
/**
|
|
5586
|
+
* Có tự động gửi tin nhắn không
|
|
5587
|
+
*/
|
|
5588
|
+
autoSendMessage?: boolean;
|
|
5589
|
+
/**
|
|
5590
|
+
* Giới hạn số tin nhắn mỗi ngày
|
|
5591
|
+
*/
|
|
5592
|
+
dailyMessageLimit?: number;
|
|
5593
|
+
/**
|
|
5594
|
+
* Delay giữa các tin nhắn (ms)
|
|
5595
|
+
*/
|
|
5596
|
+
messageDelay?: number;
|
|
5597
|
+
/**
|
|
5598
|
+
* Có sử dụng proxy không
|
|
5599
|
+
*/
|
|
5600
|
+
useProxy?: boolean;
|
|
5601
|
+
/**
|
|
5602
|
+
* Thông tin proxy
|
|
5603
|
+
*/
|
|
5604
|
+
proxyConfig?: {
|
|
5605
|
+
host: string;
|
|
5606
|
+
port: number;
|
|
5607
|
+
username?: string;
|
|
5608
|
+
password?: string;
|
|
5609
|
+
};
|
|
5610
|
+
};
|
|
5611
|
+
}
|
|
4994
5612
|
export interface ZaloPersonalNotificationConfig extends BaseNotificationConfig {
|
|
4995
5613
|
userId: string;
|
|
4996
5614
|
phoneNumber?: string;
|