automation-lib 4.9.124 → 4.9.125

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/index.d.mts CHANGED
@@ -369,6 +369,12 @@ declare enum EStatusVPS {
369
369
  Error = "Error"
370
370
  }
371
371
 
372
+ declare enum EStatusActive {
373
+ Active = "Active",
374
+ Inactive = "Inactive",
375
+ Pending = "Pending"
376
+ }
377
+
372
378
  declare enum EStatusCommon {
373
379
  Available = "Available",
374
380
  UnAvailable = "UnAvailable"
@@ -376,6 +382,7 @@ declare enum EStatusCommon {
376
382
 
377
383
  declare enum EStatusExecuteCommon {
378
384
  Never = "Never",
385
+ Pending = "Pending",
379
386
  Done = "Done",
380
387
  Error = "Error"
381
388
  }
@@ -437,6 +444,8 @@ declare enum EStatusTaskJobGroup {
437
444
  Processing = "Processing"
438
445
  }
439
446
 
447
+ type index$c_EStatusActive = EStatusActive;
448
+ declare const index$c_EStatusActive: typeof EStatusActive;
440
449
  type index$c_EStatusBlog = EStatusBlog;
441
450
  declare const index$c_EStatusBlog: typeof EStatusBlog;
442
451
  type index$c_EStatusCommon = EStatusCommon;
@@ -460,7 +469,7 @@ declare const index$c_EStatusTaskTool: typeof EStatusTaskTool;
460
469
  type index$c_EStatusVPS = EStatusVPS;
461
470
  declare const index$c_EStatusVPS: typeof EStatusVPS;
462
471
  declare namespace index$c {
463
- export { index$c_EStatusBlog as EStatusBlog, index$c_EStatusCommon as EStatusCommon, index$c_EStatusExecuteCommon as EStatusExecuteCommon, index$c_EStatusLoginAccountEmail as EStatusLoginAccountEmail, index$c_EStatusLoginAccountSocial as EStatusLoginAccountSocial, index$c_EStatusSheetWork as EStatusSheetWork, index$c_EStatusTaskAI as EStatusTaskAI, index$c_EStatusTaskJob as EStatusTaskJob, index$c_EStatusTaskJobGroup as EStatusTaskJobGroup, index$c_EStatusTaskTool as EStatusTaskTool, index$c_EStatusVPS as EStatusVPS };
472
+ export { index$c_EStatusActive as EStatusActive, index$c_EStatusBlog as EStatusBlog, index$c_EStatusCommon as EStatusCommon, index$c_EStatusExecuteCommon as EStatusExecuteCommon, index$c_EStatusLoginAccountEmail as EStatusLoginAccountEmail, index$c_EStatusLoginAccountSocial as EStatusLoginAccountSocial, index$c_EStatusSheetWork as EStatusSheetWork, index$c_EStatusTaskAI as EStatusTaskAI, index$c_EStatusTaskJob as EStatusTaskJob, index$c_EStatusTaskJobGroup as EStatusTaskJobGroup, index$c_EStatusTaskTool as EStatusTaskTool, index$c_EStatusVPS as EStatusVPS };
464
473
  }
465
474
 
466
475
  declare enum EFolderImageAI {
@@ -977,6 +986,7 @@ interface IAccountAI extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceMo
977
986
  accountInfo: IAccountAIInfo | string;
978
987
  listChannels: IAccountAIChannel[] | string[];
979
988
  }>;
989
+ status: EStatusActive;
980
990
  }
981
991
 
982
992
  interface IManagerSheetChildren extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceModelsCommon$1.ITrackingModel<IUser> {
@@ -1231,6 +1241,7 @@ interface IAccountAIVoice extends BoInterfaceModelsCommon$1.IBaseModel, BoInterf
1231
1241
  accountInfo: IAccountAIVoiceInfo | string;
1232
1242
  listChannels: IAccountAIVoiceChannel[] | string[];
1233
1243
  }>;
1244
+ status: EStatusActive;
1234
1245
  }
1235
1246
 
1236
1247
  interface IAccountAIImageTag extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceModelsCommon$1.ITrackingModel<IUser> {
@@ -1238,6 +1249,15 @@ interface IAccountAIImageTag extends BoInterfaceModelsCommon$1.IBaseModel, BoInt
1238
1249
  color: string;
1239
1250
  }
1240
1251
 
1252
+ interface IAccountAIImageChannel extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceModelsCommon$1.ITrackingModel<IUser> {
1253
+ model: EAIModelImage;
1254
+ name: string;
1255
+ url: string;
1256
+ color: string;
1257
+ status: EStatusChannel;
1258
+ note: string;
1259
+ }
1260
+
1241
1261
  interface IAccountAIImageGroup extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceModelsCommon$1.ITrackingModel<IUser> {
1242
1262
  name: string;
1243
1263
  slug: string;
@@ -1253,15 +1273,6 @@ interface IAccountAIImageInfo extends BoInterfaceModelsCommon$1.IBaseModel, BoIn
1253
1273
  status: EStatusAccountAI;
1254
1274
  }
1255
1275
 
1256
- interface IAccountAIImageChannel extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceModelsCommon$1.ITrackingModel<IUser> {
1257
- model: EAIModelImage;
1258
- name: string;
1259
- url: string;
1260
- color: string;
1261
- status: EStatusChannel;
1262
- note: string;
1263
- }
1264
-
1265
1276
  interface IAccountAIImage extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceModelsCommon$1.ITrackingModel<IUser> {
1266
1277
  listGroupsAI: string[] | IAccountAIImageGroup[];
1267
1278
  ideaManagerWork: string | IManagerWork;
@@ -1273,6 +1284,7 @@ interface IAccountAIImage extends BoInterfaceModelsCommon$1.IBaseModel, BoInterf
1273
1284
  accountInfo: IAccountAIImageInfo | string;
1274
1285
  listChannels: IAccountAIImageChannel[] | string[];
1275
1286
  }>;
1287
+ status: EStatusActive;
1276
1288
  }
1277
1289
 
1278
1290
  interface IProxySetting extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ITrackingModel<IUser> {
@@ -1328,17 +1340,149 @@ interface ISheetsTool extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceMod
1328
1340
  sheet_desc: string;
1329
1341
  }
1330
1342
 
1343
+ type TTaskInstagramBlockUser = {
1344
+ sheetUrl: string;
1345
+ sheetName: string;
1346
+ sheetRowId: string;
1347
+ idea: string;
1348
+ niche: string;
1349
+ typeChange: 'block' | 'hidden' | 'restrict';
1350
+ blockUserNameIg: string;
1351
+ restrictUserNameIg: string;
1352
+ hiddenUserNameIg: string;
1353
+ };
1354
+
1355
+ type TTaskInstagramChangeInfo = {
1356
+ sheetUrl: string;
1357
+ sheetName: string;
1358
+ sheetRowId: string;
1359
+ idea: string;
1360
+ niche: string;
1361
+ typeChange: 'info' | 'bio' | 'password' | 'code2FA' | 'email' | 'link' | 'avatar' | 'cover';
1362
+ oldUserName: string;
1363
+ changeUserNameNew: string;
1364
+ changeFullnameNew: string;
1365
+ changeBioNew: string;
1366
+ emailIgNew: string;
1367
+ code2fa: string;
1368
+ nameLink1: string;
1369
+ link1: string;
1370
+ nameLink2: string;
1371
+ link2: string;
1372
+ nameLink3: string;
1373
+ link3: string;
1374
+ changeAvatar: string;
1375
+ fontTextAvatarUsername: string;
1376
+ urlImageAvatar: string;
1377
+ changeCover: string;
1378
+ fontTextCoverUsername: string;
1379
+ urlImageCover: string;
1380
+ };
1381
+
1382
+ type TTaskInstagramFollow = {
1383
+ sheetUrl: string;
1384
+ sheetName: string;
1385
+ sheetRowId: string;
1386
+ idea: string;
1387
+ niche: string;
1388
+ usernameFollowInstagram: string;
1389
+ usernameFollowThreads: string;
1390
+ };
1391
+
1392
+ type TTaskInstagramPost = {
1393
+ sheetUrl: string;
1394
+ sheetName: string;
1395
+ sheetRowId: string;
1396
+ idea: string;
1397
+ niche: string;
1398
+ canvaUrlVideo: string;
1399
+ canvaImageThumb: string;
1400
+ canvaImagePage1: string;
1401
+ canvaImagePage2: string;
1402
+ canvaImagePage3: string;
1403
+ canvaImagePage4: string;
1404
+ canvaImagePage5: string;
1405
+ contentPost: string;
1406
+ titlePool: string;
1407
+ pool1: string;
1408
+ pool2: string;
1409
+ pool3: string;
1410
+ textFirstPage2: string;
1411
+ textSecondPage2: string;
1412
+ textPage6: string;
1413
+ voicePage1: string;
1414
+ voicePage3456: string;
1415
+ addMusic: string;
1416
+ tagUserName: string;
1417
+ tagCollaborator: string;
1418
+ addLocation: string;
1419
+ historyName: string;
1420
+ linkAddHistory: string;
1421
+ commentPostMe: string;
1422
+ tagUserPostMe: string;
1423
+ typePost: string;
1424
+ postStyle: string;
1425
+ };
1426
+
1427
+ type TTaskInstagramReplyComment = {
1428
+ sheetUrl: string;
1429
+ sheetName: string;
1430
+ sheetRowId: string;
1431
+ idea: string;
1432
+ niche: string;
1433
+ postUrlReply: string;
1434
+ messageForReply: string;
1435
+ replyCommentContentStep1: string;
1436
+ replyCommentContentStep2: string;
1437
+ statusStep1: EStatusExecuteCommon;
1438
+ statusStep2: EStatusExecuteCommon;
1439
+ };
1440
+
1441
+ type TTaskInstagramReplyMessage = {
1442
+ sheetUrl: string;
1443
+ sheetName: string;
1444
+ sheetRowId: string;
1445
+ idea: string;
1446
+ niche: string;
1447
+ postUrlReply: string;
1448
+ messageForReply: string;
1449
+ replyMessageContentStep1: string;
1450
+ replyMessageContentStep2: string;
1451
+ statusStep1: EStatusExecuteCommon;
1452
+ statusStep2: EStatusExecuteCommon;
1453
+ };
1454
+
1455
+ type TTaskInstagram = TTaskInstagramPost | TTaskInstagramFollow | TTaskInstagramBlockUser | TTaskInstagramChangeInfo | TTaskInstagramReplyComment | TTaskInstagramReplyMessage;
1456
+
1457
+ interface ITaskThreadsPost {
1458
+ sheetUrl: string;
1459
+ sheetName: string;
1460
+ sheetRowId: string;
1461
+ idea: string;
1462
+ niche: string;
1463
+ canvaUrlVideo: string;
1464
+ canvaImageThumb: string;
1465
+ canvaImagePage1: string;
1466
+ canvaImagePage2: string;
1467
+ canvaImagePage3: string;
1468
+ canvaImagePage4: string;
1469
+ canvaImagePage5: string;
1470
+ }
1471
+
1472
+ type TTaskThreads = ITaskThreadsPost;
1473
+
1331
1474
  interface ITaskTool extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ITrackingModel<IUser> {
1332
1475
  task_account: IAccount | string;
1333
1476
  task_service: string;
1334
1477
  task_action: string;
1335
1478
  task_timeExecute: Date;
1336
- task_status: EStatusTaskTool;
1337
1479
  task_keyTimeSetting: string;
1338
1480
  task_deviceKey: string;
1339
1481
  task_sheetTool: ISheetsTool | string;
1482
+ task_rowId: ISheetsTool | string;
1340
1483
  task_social: ETypeSocial;
1341
- task_data: any;
1484
+ task_data: TTaskInstagram | TTaskThreads;
1485
+ task_status: EStatusTaskTool;
1342
1486
  task_note: string;
1343
1487
  }
1344
1488
 
@@ -1496,49 +1640,35 @@ declare namespace index$5 {
1496
1640
  }
1497
1641
 
1498
1642
  interface ILogTaskAIImageVoice extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceModelsCommon$1.ITrackingModel<IUser> {
1643
+ sheetID: string;
1499
1644
  sheetUrl: string;
1500
1645
  sheetName: string;
1501
1646
  rowID: string;
1502
- model: EAIModelImage;
1503
- versionModel: string;
1504
- channel: string | IAccountAIImageChannel;
1647
+ row: number;
1505
1648
  typeRatioImage: ETypeRatioImage;
1649
+ accountSocial: string | IAccount;
1650
+ channelImage: string | IAccountAIImageChannel;
1651
+ channelVoice: string | IAccountAIVoiceChannel;
1652
+ accountAIImage: string | IAccountAIImage;
1653
+ accountAIVoice: string | IAccountAIVoice;
1506
1654
  promptThumbInput: string;
1507
- promptThumbOutput: string;
1508
- billetImageStyleThumb: string | IManagerImageAIItemStore;
1509
- billetImageSceneThumb: string | IManagerImageAIItemStore;
1510
- billetImageSubjectThumb: string | IManagerImageAIItemStore;
1655
+ thumbOutputUrl: string;
1511
1656
  promptPage1Input: string;
1512
- promptPage1Output: string;
1513
- billetImageStylePage1: string | IManagerImageAIItemStore;
1514
- billetImageScenePage1: string | IManagerImageAIItemStore;
1515
- billetImageSubjectPage1: string | IManagerImageAIItemStore;
1657
+ page1OutputUrl: string;
1516
1658
  promptPage2Input: string;
1517
- promptPage2Output: string;
1518
- billetImageStylePage2: string | IManagerImageAIItemStore;
1519
- billetImageScenePage2: string | IManagerImageAIItemStore;
1520
- billetImageSubjectPage2: string | IManagerImageAIItemStore;
1659
+ page2OutputUrl: string;
1521
1660
  promptNichePage3Input: string;
1522
- promptNichePage3Output: string;
1523
- billetImageStylePage3: string | IManagerImageAIItemStore;
1524
- billetImageScenePage3: string | IManagerImageAIItemStore;
1525
- billetImageSubjectPage3: string | IManagerImageAIItemStore;
1661
+ nichePage3OutputUrl: string;
1526
1662
  promptNichePage4Input: string;
1527
- promptNichePage4Output: string;
1528
- billetImageStylePage4: string | IManagerImageAIItemStore;
1529
- billetImageScenePage4: string | IManagerImageAIItemStore;
1530
- billetImageSubjectPage4: string | IManagerImageAIItemStore;
1663
+ nichePage4OutputUrl: string;
1531
1664
  promptNichePage5Input: string;
1532
- promptNichePage5Output: string;
1533
- billetImageStylePage5: string | IManagerImageAIItemStore;
1534
- billetImageScenePage5: string | IManagerImageAIItemStore;
1535
- billetImageSubjectPage5: string | IManagerImageAIItemStore;
1665
+ nichePage5OutputUrl: string;
1536
1666
  promptVoicePage1Input: string;
1537
- promptVoicePage1Output: string;
1538
- billetCharacterVoicePage1: string;
1667
+ voicePage1OutputUrl: string;
1539
1668
  promptVoicePage3456Input: string;
1540
- promptVoicePage3456Output: string;
1541
- billetCharacterVoicePage3456: string;
1669
+ voicePage3456OutputUrl: string;
1670
+ billetCharacterVoiceSpeaker1: string;
1671
+ billetCharacterVoiceSpeaker2: string;
1542
1672
  status: EStatusTaskAI;
1543
1673
  }
1544
1674
 
package/dist/index.d.ts CHANGED
@@ -369,6 +369,12 @@ declare enum EStatusVPS {
369
369
  Error = "Error"
370
370
  }
371
371
 
372
+ declare enum EStatusActive {
373
+ Active = "Active",
374
+ Inactive = "Inactive",
375
+ Pending = "Pending"
376
+ }
377
+
372
378
  declare enum EStatusCommon {
373
379
  Available = "Available",
374
380
  UnAvailable = "UnAvailable"
@@ -376,6 +382,7 @@ declare enum EStatusCommon {
376
382
 
377
383
  declare enum EStatusExecuteCommon {
378
384
  Never = "Never",
385
+ Pending = "Pending",
379
386
  Done = "Done",
380
387
  Error = "Error"
381
388
  }
@@ -437,6 +444,8 @@ declare enum EStatusTaskJobGroup {
437
444
  Processing = "Processing"
438
445
  }
439
446
 
447
+ type index$c_EStatusActive = EStatusActive;
448
+ declare const index$c_EStatusActive: typeof EStatusActive;
440
449
  type index$c_EStatusBlog = EStatusBlog;
441
450
  declare const index$c_EStatusBlog: typeof EStatusBlog;
442
451
  type index$c_EStatusCommon = EStatusCommon;
@@ -460,7 +469,7 @@ declare const index$c_EStatusTaskTool: typeof EStatusTaskTool;
460
469
  type index$c_EStatusVPS = EStatusVPS;
461
470
  declare const index$c_EStatusVPS: typeof EStatusVPS;
462
471
  declare namespace index$c {
463
- export { index$c_EStatusBlog as EStatusBlog, index$c_EStatusCommon as EStatusCommon, index$c_EStatusExecuteCommon as EStatusExecuteCommon, index$c_EStatusLoginAccountEmail as EStatusLoginAccountEmail, index$c_EStatusLoginAccountSocial as EStatusLoginAccountSocial, index$c_EStatusSheetWork as EStatusSheetWork, index$c_EStatusTaskAI as EStatusTaskAI, index$c_EStatusTaskJob as EStatusTaskJob, index$c_EStatusTaskJobGroup as EStatusTaskJobGroup, index$c_EStatusTaskTool as EStatusTaskTool, index$c_EStatusVPS as EStatusVPS };
472
+ export { index$c_EStatusActive as EStatusActive, index$c_EStatusBlog as EStatusBlog, index$c_EStatusCommon as EStatusCommon, index$c_EStatusExecuteCommon as EStatusExecuteCommon, index$c_EStatusLoginAccountEmail as EStatusLoginAccountEmail, index$c_EStatusLoginAccountSocial as EStatusLoginAccountSocial, index$c_EStatusSheetWork as EStatusSheetWork, index$c_EStatusTaskAI as EStatusTaskAI, index$c_EStatusTaskJob as EStatusTaskJob, index$c_EStatusTaskJobGroup as EStatusTaskJobGroup, index$c_EStatusTaskTool as EStatusTaskTool, index$c_EStatusVPS as EStatusVPS };
464
473
  }
465
474
 
466
475
  declare enum EFolderImageAI {
@@ -977,6 +986,7 @@ interface IAccountAI extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceMo
977
986
  accountInfo: IAccountAIInfo | string;
978
987
  listChannels: IAccountAIChannel[] | string[];
979
988
  }>;
989
+ status: EStatusActive;
980
990
  }
981
991
 
982
992
  interface IManagerSheetChildren extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceModelsCommon$1.ITrackingModel<IUser> {
@@ -1231,6 +1241,7 @@ interface IAccountAIVoice extends BoInterfaceModelsCommon$1.IBaseModel, BoInterf
1231
1241
  accountInfo: IAccountAIVoiceInfo | string;
1232
1242
  listChannels: IAccountAIVoiceChannel[] | string[];
1233
1243
  }>;
1244
+ status: EStatusActive;
1234
1245
  }
1235
1246
 
1236
1247
  interface IAccountAIImageTag extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceModelsCommon$1.ITrackingModel<IUser> {
@@ -1238,6 +1249,15 @@ interface IAccountAIImageTag extends BoInterfaceModelsCommon$1.IBaseModel, BoInt
1238
1249
  color: string;
1239
1250
  }
1240
1251
 
1252
+ interface IAccountAIImageChannel extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceModelsCommon$1.ITrackingModel<IUser> {
1253
+ model: EAIModelImage;
1254
+ name: string;
1255
+ url: string;
1256
+ color: string;
1257
+ status: EStatusChannel;
1258
+ note: string;
1259
+ }
1260
+
1241
1261
  interface IAccountAIImageGroup extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceModelsCommon$1.ITrackingModel<IUser> {
1242
1262
  name: string;
1243
1263
  slug: string;
@@ -1253,15 +1273,6 @@ interface IAccountAIImageInfo extends BoInterfaceModelsCommon$1.IBaseModel, BoIn
1253
1273
  status: EStatusAccountAI;
1254
1274
  }
1255
1275
 
1256
- interface IAccountAIImageChannel extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceModelsCommon$1.ITrackingModel<IUser> {
1257
- model: EAIModelImage;
1258
- name: string;
1259
- url: string;
1260
- color: string;
1261
- status: EStatusChannel;
1262
- note: string;
1263
- }
1264
-
1265
1276
  interface IAccountAIImage extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceModelsCommon$1.ITrackingModel<IUser> {
1266
1277
  listGroupsAI: string[] | IAccountAIImageGroup[];
1267
1278
  ideaManagerWork: string | IManagerWork;
@@ -1273,6 +1284,7 @@ interface IAccountAIImage extends BoInterfaceModelsCommon$1.IBaseModel, BoInterf
1273
1284
  accountInfo: IAccountAIImageInfo | string;
1274
1285
  listChannels: IAccountAIImageChannel[] | string[];
1275
1286
  }>;
1287
+ status: EStatusActive;
1276
1288
  }
1277
1289
 
1278
1290
  interface IProxySetting extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ITrackingModel<IUser> {
@@ -1328,17 +1340,149 @@ interface ISheetsTool extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceMod
1328
1340
  sheet_desc: string;
1329
1341
  }
1330
1342
 
1343
+ type TTaskInstagramBlockUser = {
1344
+ sheetUrl: string;
1345
+ sheetName: string;
1346
+ sheetRowId: string;
1347
+ idea: string;
1348
+ niche: string;
1349
+ typeChange: 'block' | 'hidden' | 'restrict';
1350
+ blockUserNameIg: string;
1351
+ restrictUserNameIg: string;
1352
+ hiddenUserNameIg: string;
1353
+ };
1354
+
1355
+ type TTaskInstagramChangeInfo = {
1356
+ sheetUrl: string;
1357
+ sheetName: string;
1358
+ sheetRowId: string;
1359
+ idea: string;
1360
+ niche: string;
1361
+ typeChange: 'info' | 'bio' | 'password' | 'code2FA' | 'email' | 'link' | 'avatar' | 'cover';
1362
+ oldUserName: string;
1363
+ changeUserNameNew: string;
1364
+ changeFullnameNew: string;
1365
+ changeBioNew: string;
1366
+ emailIgNew: string;
1367
+ code2fa: string;
1368
+ nameLink1: string;
1369
+ link1: string;
1370
+ nameLink2: string;
1371
+ link2: string;
1372
+ nameLink3: string;
1373
+ link3: string;
1374
+ changeAvatar: string;
1375
+ fontTextAvatarUsername: string;
1376
+ urlImageAvatar: string;
1377
+ changeCover: string;
1378
+ fontTextCoverUsername: string;
1379
+ urlImageCover: string;
1380
+ };
1381
+
1382
+ type TTaskInstagramFollow = {
1383
+ sheetUrl: string;
1384
+ sheetName: string;
1385
+ sheetRowId: string;
1386
+ idea: string;
1387
+ niche: string;
1388
+ usernameFollowInstagram: string;
1389
+ usernameFollowThreads: string;
1390
+ };
1391
+
1392
+ type TTaskInstagramPost = {
1393
+ sheetUrl: string;
1394
+ sheetName: string;
1395
+ sheetRowId: string;
1396
+ idea: string;
1397
+ niche: string;
1398
+ canvaUrlVideo: string;
1399
+ canvaImageThumb: string;
1400
+ canvaImagePage1: string;
1401
+ canvaImagePage2: string;
1402
+ canvaImagePage3: string;
1403
+ canvaImagePage4: string;
1404
+ canvaImagePage5: string;
1405
+ contentPost: string;
1406
+ titlePool: string;
1407
+ pool1: string;
1408
+ pool2: string;
1409
+ pool3: string;
1410
+ textFirstPage2: string;
1411
+ textSecondPage2: string;
1412
+ textPage6: string;
1413
+ voicePage1: string;
1414
+ voicePage3456: string;
1415
+ addMusic: string;
1416
+ tagUserName: string;
1417
+ tagCollaborator: string;
1418
+ addLocation: string;
1419
+ historyName: string;
1420
+ linkAddHistory: string;
1421
+ commentPostMe: string;
1422
+ tagUserPostMe: string;
1423
+ typePost: string;
1424
+ postStyle: string;
1425
+ };
1426
+
1427
+ type TTaskInstagramReplyComment = {
1428
+ sheetUrl: string;
1429
+ sheetName: string;
1430
+ sheetRowId: string;
1431
+ idea: string;
1432
+ niche: string;
1433
+ postUrlReply: string;
1434
+ messageForReply: string;
1435
+ replyCommentContentStep1: string;
1436
+ replyCommentContentStep2: string;
1437
+ statusStep1: EStatusExecuteCommon;
1438
+ statusStep2: EStatusExecuteCommon;
1439
+ };
1440
+
1441
+ type TTaskInstagramReplyMessage = {
1442
+ sheetUrl: string;
1443
+ sheetName: string;
1444
+ sheetRowId: string;
1445
+ idea: string;
1446
+ niche: string;
1447
+ postUrlReply: string;
1448
+ messageForReply: string;
1449
+ replyMessageContentStep1: string;
1450
+ replyMessageContentStep2: string;
1451
+ statusStep1: EStatusExecuteCommon;
1452
+ statusStep2: EStatusExecuteCommon;
1453
+ };
1454
+
1455
+ type TTaskInstagram = TTaskInstagramPost | TTaskInstagramFollow | TTaskInstagramBlockUser | TTaskInstagramChangeInfo | TTaskInstagramReplyComment | TTaskInstagramReplyMessage;
1456
+
1457
+ interface ITaskThreadsPost {
1458
+ sheetUrl: string;
1459
+ sheetName: string;
1460
+ sheetRowId: string;
1461
+ idea: string;
1462
+ niche: string;
1463
+ canvaUrlVideo: string;
1464
+ canvaImageThumb: string;
1465
+ canvaImagePage1: string;
1466
+ canvaImagePage2: string;
1467
+ canvaImagePage3: string;
1468
+ canvaImagePage4: string;
1469
+ canvaImagePage5: string;
1470
+ }
1471
+
1472
+ type TTaskThreads = ITaskThreadsPost;
1473
+
1331
1474
  interface ITaskTool extends BoInterfaceModelsCommon.IBaseModel, BoInterfaceModelsCommon.ITrackingModel<IUser> {
1332
1475
  task_account: IAccount | string;
1333
1476
  task_service: string;
1334
1477
  task_action: string;
1335
1478
  task_timeExecute: Date;
1336
- task_status: EStatusTaskTool;
1337
1479
  task_keyTimeSetting: string;
1338
1480
  task_deviceKey: string;
1339
1481
  task_sheetTool: ISheetsTool | string;
1482
+ task_rowId: ISheetsTool | string;
1340
1483
  task_social: ETypeSocial;
1341
- task_data: any;
1484
+ task_data: TTaskInstagram | TTaskThreads;
1485
+ task_status: EStatusTaskTool;
1342
1486
  task_note: string;
1343
1487
  }
1344
1488
 
@@ -1496,49 +1640,35 @@ declare namespace index$5 {
1496
1640
  }
1497
1641
 
1498
1642
  interface ILogTaskAIImageVoice extends BoInterfaceModelsCommon$1.IBaseModel, BoInterfaceModelsCommon$1.ITrackingModel<IUser> {
1643
+ sheetID: string;
1499
1644
  sheetUrl: string;
1500
1645
  sheetName: string;
1501
1646
  rowID: string;
1502
- model: EAIModelImage;
1503
- versionModel: string;
1504
- channel: string | IAccountAIImageChannel;
1647
+ row: number;
1505
1648
  typeRatioImage: ETypeRatioImage;
1649
+ accountSocial: string | IAccount;
1650
+ channelImage: string | IAccountAIImageChannel;
1651
+ channelVoice: string | IAccountAIVoiceChannel;
1652
+ accountAIImage: string | IAccountAIImage;
1653
+ accountAIVoice: string | IAccountAIVoice;
1506
1654
  promptThumbInput: string;
1507
- promptThumbOutput: string;
1508
- billetImageStyleThumb: string | IManagerImageAIItemStore;
1509
- billetImageSceneThumb: string | IManagerImageAIItemStore;
1510
- billetImageSubjectThumb: string | IManagerImageAIItemStore;
1655
+ thumbOutputUrl: string;
1511
1656
  promptPage1Input: string;
1512
- promptPage1Output: string;
1513
- billetImageStylePage1: string | IManagerImageAIItemStore;
1514
- billetImageScenePage1: string | IManagerImageAIItemStore;
1515
- billetImageSubjectPage1: string | IManagerImageAIItemStore;
1657
+ page1OutputUrl: string;
1516
1658
  promptPage2Input: string;
1517
- promptPage2Output: string;
1518
- billetImageStylePage2: string | IManagerImageAIItemStore;
1519
- billetImageScenePage2: string | IManagerImageAIItemStore;
1520
- billetImageSubjectPage2: string | IManagerImageAIItemStore;
1659
+ page2OutputUrl: string;
1521
1660
  promptNichePage3Input: string;
1522
- promptNichePage3Output: string;
1523
- billetImageStylePage3: string | IManagerImageAIItemStore;
1524
- billetImageScenePage3: string | IManagerImageAIItemStore;
1525
- billetImageSubjectPage3: string | IManagerImageAIItemStore;
1661
+ nichePage3OutputUrl: string;
1526
1662
  promptNichePage4Input: string;
1527
- promptNichePage4Output: string;
1528
- billetImageStylePage4: string | IManagerImageAIItemStore;
1529
- billetImageScenePage4: string | IManagerImageAIItemStore;
1530
- billetImageSubjectPage4: string | IManagerImageAIItemStore;
1663
+ nichePage4OutputUrl: string;
1531
1664
  promptNichePage5Input: string;
1532
- promptNichePage5Output: string;
1533
- billetImageStylePage5: string | IManagerImageAIItemStore;
1534
- billetImageScenePage5: string | IManagerImageAIItemStore;
1535
- billetImageSubjectPage5: string | IManagerImageAIItemStore;
1665
+ nichePage5OutputUrl: string;
1536
1666
  promptVoicePage1Input: string;
1537
- promptVoicePage1Output: string;
1538
- billetCharacterVoicePage1: string;
1667
+ voicePage1OutputUrl: string;
1539
1668
  promptVoicePage3456Input: string;
1540
- promptVoicePage3456Output: string;
1541
- billetCharacterVoicePage3456: string;
1669
+ voicePage3456OutputUrl: string;
1670
+ billetCharacterVoiceSpeaker1: string;
1671
+ billetCharacterVoiceSpeaker2: string;
1542
1672
  status: EStatusTaskAI;
1543
1673
  }
1544
1674
 
package/dist/index.js CHANGED
@@ -429,6 +429,7 @@ var ETypeSheetWorkPin = /* @__PURE__ */ ((ETypeSheetWorkPin2) => {
429
429
  // src/enums/status/index.ts
430
430
  var status_exports = {};
431
431
  __export(status_exports, {
432
+ EStatusActive: () => EStatusActive,
432
433
  EStatusBlog: () => EStatusBlog,
433
434
  EStatusCommon: () => EStatusCommon,
434
435
  EStatusExecuteCommon: () => EStatusExecuteCommon,
@@ -451,6 +452,14 @@ var EStatusVPS = /* @__PURE__ */ ((EStatusVPS2) => {
451
452
  return EStatusVPS2;
452
453
  })(EStatusVPS || {});
453
454
 
455
+ // src/enums/status/common/EStatusActive.enum.ts
456
+ var EStatusActive = /* @__PURE__ */ ((EStatusActive2) => {
457
+ EStatusActive2["Active"] = "Active";
458
+ EStatusActive2["Inactive"] = "Inactive";
459
+ EStatusActive2["Pending"] = "Pending";
460
+ return EStatusActive2;
461
+ })(EStatusActive || {});
462
+
454
463
  // src/enums/status/common/EStatusCommon.enum.ts
455
464
  var EStatusCommon = /* @__PURE__ */ ((EStatusCommon2) => {
456
465
  EStatusCommon2["Available"] = "Available";
@@ -461,6 +470,7 @@ var EStatusCommon = /* @__PURE__ */ ((EStatusCommon2) => {
461
470
  // src/enums/status/common/EStatusExecuteCommon.enum.ts
462
471
  var EStatusExecuteCommon = /* @__PURE__ */ ((EStatusExecuteCommon2) => {
463
472
  EStatusExecuteCommon2["Never"] = "Never";
473
+ EStatusExecuteCommon2["Pending"] = "Pending";
464
474
  EStatusExecuteCommon2["Done"] = "Done";
465
475
  EStatusExecuteCommon2["Error"] = "Error";
466
476
  return EStatusExecuteCommon2;
package/dist/index.mjs CHANGED
@@ -406,6 +406,7 @@ var ETypeSheetWorkPin = /* @__PURE__ */ ((ETypeSheetWorkPin2) => {
406
406
  // src/enums/status/index.ts
407
407
  var status_exports = {};
408
408
  __export(status_exports, {
409
+ EStatusActive: () => EStatusActive,
409
410
  EStatusBlog: () => EStatusBlog,
410
411
  EStatusCommon: () => EStatusCommon,
411
412
  EStatusExecuteCommon: () => EStatusExecuteCommon,
@@ -428,6 +429,14 @@ var EStatusVPS = /* @__PURE__ */ ((EStatusVPS2) => {
428
429
  return EStatusVPS2;
429
430
  })(EStatusVPS || {});
430
431
 
432
+ // src/enums/status/common/EStatusActive.enum.ts
433
+ var EStatusActive = /* @__PURE__ */ ((EStatusActive2) => {
434
+ EStatusActive2["Active"] = "Active";
435
+ EStatusActive2["Inactive"] = "Inactive";
436
+ EStatusActive2["Pending"] = "Pending";
437
+ return EStatusActive2;
438
+ })(EStatusActive || {});
439
+
431
440
  // src/enums/status/common/EStatusCommon.enum.ts
432
441
  var EStatusCommon = /* @__PURE__ */ ((EStatusCommon2) => {
433
442
  EStatusCommon2["Available"] = "Available";
@@ -438,6 +447,7 @@ var EStatusCommon = /* @__PURE__ */ ((EStatusCommon2) => {
438
447
  // src/enums/status/common/EStatusExecuteCommon.enum.ts
439
448
  var EStatusExecuteCommon = /* @__PURE__ */ ((EStatusExecuteCommon2) => {
440
449
  EStatusExecuteCommon2["Never"] = "Never";
450
+ EStatusExecuteCommon2["Pending"] = "Pending";
441
451
  EStatusExecuteCommon2["Done"] = "Done";
442
452
  EStatusExecuteCommon2["Error"] = "Error";
443
453
  return EStatusExecuteCommon2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation-lib",
3
- "version": "4.9.124",
3
+ "version": "4.9.125",
4
4
  "description": "Common features and type of applications auto",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",