automation-lib 5.1.230 → 5.1.232

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
@@ -686,18 +686,45 @@ declare enum EStatusTaskJobGroup {
686
686
  Processing = "Processing"
687
687
  }
688
688
 
689
- declare enum EStatusConnectDevice {
689
+ declare enum EStatusDeviceConnect {
690
690
  Connected = "Connected",
691
691
  Disconnected = "Disconnected",
692
692
  Maintenance = "Maintenance",
693
693
  Error = "Error",
694
694
  Offline = "Offline"
695
695
  }
696
-
697
- declare enum EStatusSetupDeviceSystem {
696
+ declare enum EStatusDeviceHealth {
697
+ Live = "Live",
698
+ Error = "Error",
699
+ Die = "Die"
700
+ }
701
+ declare enum EStatusDeviceChange {
702
+ NA = "N/A",
703
+ Done = "Done change new device",
704
+ Error = "Error change device(Die)"
705
+ }
706
+ declare enum EStatusDeviceRunningSocial {
707
+ RunningSocial = "RunningSocial",
708
+ StopRunningSocial = "StopRunningSocial",
709
+ PendingRunningSocial = "PendingRunningSocial"
710
+ }
711
+ declare enum EStatusDeviceLoginCHPlayICloud {
712
+ Done = "Done change new device",
713
+ WrongEmail = "Wrong email",
714
+ WrongPassword = "Wrong password",
715
+ Unknown = "Unknown"
716
+ }
717
+ declare enum EStatusDeviceSetup {
698
718
  Pending = "Pending",
699
719
  Done = "Done",
700
- Error = "Error"
720
+ Error = "Error",
721
+ Unknown = "Unknown"
722
+ }
723
+
724
+ declare enum EStatusPC {
725
+ Connected = "On",
726
+ Disconnected = "Off",
727
+ Maintenance = "Unknown"
701
728
  }
702
729
 
703
730
  declare enum EStatusAccountSocialRun {
@@ -795,14 +822,24 @@ type index$g_EStatusChangeInfo = EStatusChangeInfo;
795
822
  declare const index$g_EStatusChangeInfo: typeof EStatusChangeInfo;
796
823
  type index$g_EStatusCommon = EStatusCommon;
797
824
  declare const index$g_EStatusCommon: typeof EStatusCommon;
798
- type index$g_EStatusConnectDevice = EStatusConnectDevice;
799
- declare const index$g_EStatusConnectDevice: typeof EStatusConnectDevice;
825
+ type index$g_EStatusDeviceChange = EStatusDeviceChange;
826
+ declare const index$g_EStatusDeviceChange: typeof EStatusDeviceChange;
827
+ type index$g_EStatusDeviceConnect = EStatusDeviceConnect;
828
+ declare const index$g_EStatusDeviceConnect: typeof EStatusDeviceConnect;
829
+ type index$g_EStatusDeviceHealth = EStatusDeviceHealth;
830
+ declare const index$g_EStatusDeviceHealth: typeof EStatusDeviceHealth;
831
+ type index$g_EStatusDeviceLoginCHPlayICloud = EStatusDeviceLoginCHPlayICloud;
832
+ declare const index$g_EStatusDeviceLoginCHPlayICloud: typeof EStatusDeviceLoginCHPlayICloud;
833
+ type index$g_EStatusDeviceRunningSocial = EStatusDeviceRunningSocial;
834
+ declare const index$g_EStatusDeviceRunningSocial: typeof EStatusDeviceRunningSocial;
835
+ type index$g_EStatusDeviceSetup = EStatusDeviceSetup;
836
+ declare const index$g_EStatusDeviceSetup: typeof EStatusDeviceSetup;
800
837
  type index$g_EStatusExecuteCommon = EStatusExecuteCommon;
801
838
  declare const index$g_EStatusExecuteCommon: typeof EStatusExecuteCommon;
802
839
  type index$g_EStatusLark = EStatusLark;
803
840
  declare const index$g_EStatusLark: typeof EStatusLark;
804
- type index$g_EStatusSetupDeviceSystem = EStatusSetupDeviceSystem;
805
- declare const index$g_EStatusSetupDeviceSystem: typeof EStatusSetupDeviceSystem;
841
+ type index$g_EStatusPC = EStatusPC;
842
+ declare const index$g_EStatusPC: typeof EStatusPC;
806
843
  type index$g_EStatusSheetWork = EStatusSheetWork;
807
844
  declare const index$g_EStatusSheetWork: typeof EStatusSheetWork;
808
845
  type index$g_EStatusTaskAIContent = EStatusTaskAIContent;
@@ -828,7 +865,7 @@ declare const index$g_EStatusTeam: typeof EStatusTeam;
828
865
  type index$g_EStatusVPS = EStatusVPS;
829
866
  declare const index$g_EStatusVPS: typeof EStatusVPS;
830
867
  declare namespace index$g {
831
- export { index$g_EStatusAccountCHPlayICloud as EStatusAccountCHPlayICloud, index$g_EStatusAccountCanva as EStatusAccountCanva, index$g_EStatusAccountDrive as EStatusAccountDrive, index$g_EStatusAccountSocial as EStatusAccountSocial, index$g_EStatusAccountSocialImport as EStatusAccountSocialImport, index$g_EStatusAccountSocialLogin as EStatusAccountSocialLogin, index$g_EStatusAccountSocialLoginEmail as EStatusAccountSocialLoginEmail, index$g_EStatusAccountSocialRun as EStatusAccountSocialRun, index$g_EStatusAccountSocialSetting as EStatusAccountSocialSetting, index$g_EStatusAccountSocialSync as EStatusAccountSocialSync, index$g_EStatusAccountVPN as EStatusAccountVPN, index$g_EStatusActive as EStatusActive, index$g_EStatusBlog as EStatusBlog, index$g_EStatusChangeInfo as EStatusChangeInfo, index$g_EStatusCommon as EStatusCommon, index$g_EStatusConnectDevice as EStatusConnectDevice, index$g_EStatusExecuteCommon as EStatusExecuteCommon, index$g_EStatusLark as EStatusLark, index$g_EStatusSetupDeviceSystem as EStatusSetupDeviceSystem, index$g_EStatusSheetWork as EStatusSheetWork, index$g_EStatusTaskAIContent as EStatusTaskAIContent, index$g_EStatusTaskAvatarCover as EStatusTaskAvatarCover, index$g_EStatusTaskCanva as EStatusTaskCanva, index$g_EStatusTaskImage as EStatusTaskImage, index$g_EStatusTaskJob as EStatusTaskJob, index$g_EStatusTaskJobGroup as EStatusTaskJobGroup, index$g_EStatusTaskScript as EStatusTaskScript, index$g_EStatusTaskToolSocials as EStatusTaskToolSocials, index$g_EStatusTaskVoice as EStatusTaskVoice, index$g_EStatusTeam as EStatusTeam, index$g_EStatusVPS as EStatusVPS };
868
+ export { index$g_EStatusAccountCHPlayICloud as EStatusAccountCHPlayICloud, index$g_EStatusAccountCanva as EStatusAccountCanva, index$g_EStatusAccountDrive as EStatusAccountDrive, index$g_EStatusAccountSocial as EStatusAccountSocial, index$g_EStatusAccountSocialImport as EStatusAccountSocialImport, index$g_EStatusAccountSocialLogin as EStatusAccountSocialLogin, index$g_EStatusAccountSocialLoginEmail as EStatusAccountSocialLoginEmail, index$g_EStatusAccountSocialRun as EStatusAccountSocialRun, index$g_EStatusAccountSocialSetting as EStatusAccountSocialSetting, index$g_EStatusAccountSocialSync as EStatusAccountSocialSync, index$g_EStatusAccountVPN as EStatusAccountVPN, index$g_EStatusActive as EStatusActive, index$g_EStatusBlog as EStatusBlog, index$g_EStatusChangeInfo as EStatusChangeInfo, index$g_EStatusCommon as EStatusCommon, index$g_EStatusDeviceChange as EStatusDeviceChange, index$g_EStatusDeviceConnect as EStatusDeviceConnect, index$g_EStatusDeviceHealth as EStatusDeviceHealth, index$g_EStatusDeviceLoginCHPlayICloud as EStatusDeviceLoginCHPlayICloud, index$g_EStatusDeviceRunningSocial as EStatusDeviceRunningSocial, index$g_EStatusDeviceSetup as EStatusDeviceSetup, index$g_EStatusExecuteCommon as EStatusExecuteCommon, index$g_EStatusLark as EStatusLark, index$g_EStatusPC as EStatusPC, index$g_EStatusSheetWork as EStatusSheetWork, index$g_EStatusTaskAIContent as EStatusTaskAIContent, index$g_EStatusTaskAvatarCover as EStatusTaskAvatarCover, index$g_EStatusTaskCanva as EStatusTaskCanva, index$g_EStatusTaskImage as EStatusTaskImage, index$g_EStatusTaskJob as EStatusTaskJob, index$g_EStatusTaskJobGroup as EStatusTaskJobGroup, index$g_EStatusTaskScript as EStatusTaskScript, index$g_EStatusTaskToolSocials as EStatusTaskToolSocials, index$g_EStatusTaskVoice as EStatusTaskVoice, index$g_EStatusTeam as EStatusTeam, index$g_EStatusVPS as EStatusVPS };
832
869
  }
833
870
 
834
871
  declare enum EFolderImageAI {
@@ -1243,6 +1280,7 @@ interface IHistoryTaskAIContent extends IBaseModel, ITrackingModel<IUser> {
1243
1280
  interface IPC extends IBaseModel, ITrackingModel<IUser> {
1244
1281
  pc_name: string;
1245
1282
  pc_description: string;
1283
+ pc_status: EStatusPC;
1246
1284
  }
1247
1285
 
1248
1286
  interface IDevice extends IBaseModel, ITrackingModel<IUser> {
@@ -1252,14 +1290,22 @@ interface IDevice extends IBaseModel, ITrackingModel<IUser> {
1252
1290
  os: ETypeDeviceOS;
1253
1291
  model: string;
1254
1292
  name: string;
1255
- key: string;
1293
+ oldKey: string;
1294
+ newKey: string;
1295
+ oldStatusHeath: EStatusDeviceHealth;
1296
+ newStatusHeath: EStatusDeviceHealth;
1297
+ countChange: number;
1256
1298
  maximumVPN: number;
1257
1299
  maximumProxy: number;
1258
1300
  maximumCHPlayICloud: number;
1259
- statusConnect: EStatusConnectDevice;
1260
- statusSetupBasic: EStatusSetupDeviceSystem;
1301
+ statusLoginCHPlayICloud: EStatusDeviceChange;
1302
+ statusChange: EStatusDeviceChange;
1303
+ statusRunning: EStatusDeviceRunningSocial;
1304
+ statusConnect: EStatusDeviceConnect;
1305
+ statusSetup: EStatusDeviceSetup;
1261
1306
  statusCHPlayICloud: EStatusAccountCHPlayICloud;
1262
1307
  note: string;
1308
+ noteFix: string;
1263
1309
  timeLastUsed: Date;
1264
1310
  lastUserUsed: string | IUser;
1265
1311
  }
@@ -1815,7 +1861,7 @@ interface IThreadsAccountRun extends IBaseModel, IAccountSocialBase, ITrackingMo
1815
1861
  deviceKey: string;
1816
1862
  device: IDevice | string;
1817
1863
  statusRun: EStatusAccountSocialRun;
1818
- statusConnectDevice: EStatusConnectDevice;
1864
+ statusConnectDevice: EStatusDeviceConnect;
1819
1865
  noteConnectDevice: string;
1820
1866
  currentActiveTime: Date;
1821
1867
  lastActiveTime: Date;
@@ -1921,7 +1967,7 @@ interface IThreadsAccountRaw extends IBaseModel, IAccountSocialBase, ITrackingMo
1921
1967
  typeAccountSetting: ETypeAccountInstagramSetting;
1922
1968
  statusAccountSetting: EStatusAccountSocialSetting;
1923
1969
  timeChangeAccountSetting: Date;
1924
- statusConnectDevice: EStatusConnectDevice;
1970
+ statusConnectDevice: EStatusDeviceConnect;
1925
1971
  noteConnectDevice: string;
1926
1972
  note: string;
1927
1973
  timeLastUsed: Date;
@@ -2439,7 +2485,7 @@ interface IInstagramAccountRun extends IBaseModel, IAccountSocialBase, ITracking
2439
2485
  deviceKey: string;
2440
2486
  device: IDevice | string;
2441
2487
  statusRun: EStatusAccountSocialRun;
2442
- statusConnectDevice: EStatusConnectDevice;
2488
+ statusConnectDevice: EStatusDeviceConnect;
2443
2489
  noteConnectDevice: string;
2444
2490
  numberFollower: number;
2445
2491
  numberFollowing: number;
@@ -2547,7 +2593,7 @@ interface IInstagramAccountRaw extends IBaseModel, IAccountSocialBase, ITracking
2547
2593
  timeChangeTypeAccountSetting: Date;
2548
2594
  statusAccountSetting: EStatusAccountSocialSetting;
2549
2595
  timeChangeAccountSetting: Date;
2550
- statusConnectDevice: EStatusConnectDevice;
2596
+ statusConnectDevice: EStatusDeviceConnect;
2551
2597
  noteConnectDevice: string;
2552
2598
  note: string;
2553
2599
  timeLastUsed: Date;
@@ -3357,7 +3403,7 @@ interface IAccountSocialBase extends IBaseModel, ITrackingModel<IUser> {
3357
3403
  newEmail: string;
3358
3404
  new2FA: string;
3359
3405
  newPassword: string;
3360
- statusConnectDevice: EStatusConnectDevice;
3406
+ statusConnectDevice: EStatusDeviceConnect;
3361
3407
  noteConnectDevice: string;
3362
3408
  note: string;
3363
3409
  }
@@ -7261,20 +7307,96 @@ interface CreateDeviceDto extends Partial<IDevice> {
7261
7307
  interface UpdateDeviceDto extends Partial<IDevice> {
7262
7308
  }
7263
7309
  interface FindDeviceDto extends IFindBaseDto, IDevice {
7310
+ pcName: string;
7311
+ pcStatus: EStatusPC;
7264
7312
  listAccountVPN: string[];
7265
- listAccountProxy: string[];
7266
- listAccountCHPlayICloud: string[];
7267
- listAccountThreads: string[];
7268
- listAccountInstagram: string[];
7269
- listAccountYoutube: string[];
7270
- listAccountFacebook: string[];
7271
- listAccountTiktok: string[];
7272
- listAccountX: string[];
7273
- listAccountPinterest: string[];
7274
- listAccountMedium: string[];
7275
- listAccountReddit: string[];
7276
- listAccountTumblr: string[];
7277
- listAccountQuota: string[];
7313
+ listAccountProxy: [{
7314
+ id: string;
7315
+ type: ETypeProxy;
7316
+ val: string;
7317
+ }];
7318
+ listAccountCHPlayICloud: [{
7319
+ id: string;
7320
+ type: ETypeProxy;
7321
+ val: string;
7322
+ }];
7323
+ listAccountThreads: Array<{
7324
+ username: string;
7325
+ email: string;
7326
+ status: 'Active' | 'Locked';
7327
+ createdAt: Date;
7328
+ timeLastUsed: Date;
7329
+ }>;
7330
+ listAccountInstagram: Array<{
7331
+ username: string;
7332
+ email: string;
7333
+ status: 'Active' | 'Locked';
7334
+ createdAt: Date;
7335
+ timeLastUsed: Date;
7336
+ }>;
7337
+ listAccountYoutube: Array<{
7338
+ username: string;
7339
+ email: string;
7340
+ status: 'Active' | 'Locked';
7341
+ createdAt: Date;
7342
+ timeLastUsed: Date;
7343
+ }>;
7344
+ listAccountFacebook: Array<{
7345
+ username: string;
7346
+ email: string;
7347
+ status: 'Active' | 'Locked';
7348
+ createdAt: Date;
7349
+ timeLastUsed: Date;
7350
+ }>;
7351
+ listAccountTiktok: Array<{
7352
+ username: string;
7353
+ email: string;
7354
+ status: 'Active' | 'Locked';
7355
+ createdAt: Date;
7356
+ timeLastUsed: Date;
7357
+ }>;
7358
+ listAccountX: Array<{
7359
+ username: string;
7360
+ email: string;
7361
+ status: 'Active' | 'Locked';
7362
+ createdAt: Date;
7363
+ timeLastUsed: Date;
7364
+ }>;
7365
+ listAccountPinterest: Array<{
7366
+ username: string;
7367
+ email: string;
7368
+ status: 'Active' | 'Locked';
7369
+ createdAt: Date;
7370
+ timeLastUsed: Date;
7371
+ }>;
7372
+ listAccountMedium: Array<{
7373
+ username: string;
7374
+ email: string;
7375
+ status: 'Active' | 'Locked';
7376
+ createdAt: Date;
7377
+ timeLastUsed: Date;
7378
+ }>;
7379
+ listAccountReddit: Array<{
7380
+ username: string;
7381
+ email: string;
7382
+ status: 'Active' | 'Locked';
7383
+ createdAt: Date;
7384
+ timeLastUsed: Date;
7385
+ }>;
7386
+ listAccountTumblr: Array<{
7387
+ username: string;
7388
+ email: string;
7389
+ status: 'Active' | 'Locked';
7390
+ createdAt: Date;
7391
+ timeLastUsed: Date;
7392
+ }>;
7393
+ listAccountQuota: Array<{
7394
+ username: string;
7395
+ email: string;
7396
+ status: 'Active' | 'Locked';
7397
+ createdAt: Date;
7398
+ timeLastUsed: Date;
7399
+ }>;
7278
7400
  }
7279
7401
  interface FilterDeviceDto extends IFilterBaseDto, Omit<IDevice, TOmitFilterDto> {
7280
7402
  }
package/dist/index.d.ts CHANGED
@@ -686,18 +686,45 @@ declare enum EStatusTaskJobGroup {
686
686
  Processing = "Processing"
687
687
  }
688
688
 
689
- declare enum EStatusConnectDevice {
689
+ declare enum EStatusDeviceConnect {
690
690
  Connected = "Connected",
691
691
  Disconnected = "Disconnected",
692
692
  Maintenance = "Maintenance",
693
693
  Error = "Error",
694
694
  Offline = "Offline"
695
695
  }
696
-
697
- declare enum EStatusSetupDeviceSystem {
696
+ declare enum EStatusDeviceHealth {
697
+ Live = "Live",
698
+ Error = "Error",
699
+ Die = "Die"
700
+ }
701
+ declare enum EStatusDeviceChange {
702
+ NA = "N/A",
703
+ Done = "Done change new device",
704
+ Error = "Error change device(Die)"
705
+ }
706
+ declare enum EStatusDeviceRunningSocial {
707
+ RunningSocial = "RunningSocial",
708
+ StopRunningSocial = "StopRunningSocial",
709
+ PendingRunningSocial = "PendingRunningSocial"
710
+ }
711
+ declare enum EStatusDeviceLoginCHPlayICloud {
712
+ Done = "Done change new device",
713
+ WrongEmail = "Wrong email",
714
+ WrongPassword = "Wrong password",
715
+ Unknown = "Unknown"
716
+ }
717
+ declare enum EStatusDeviceSetup {
698
718
  Pending = "Pending",
699
719
  Done = "Done",
700
- Error = "Error"
720
+ Error = "Error",
721
+ Unknown = "Unknown"
722
+ }
723
+
724
+ declare enum EStatusPC {
725
+ Connected = "On",
726
+ Disconnected = "Off",
727
+ Maintenance = "Unknown"
701
728
  }
702
729
 
703
730
  declare enum EStatusAccountSocialRun {
@@ -795,14 +822,24 @@ type index$g_EStatusChangeInfo = EStatusChangeInfo;
795
822
  declare const index$g_EStatusChangeInfo: typeof EStatusChangeInfo;
796
823
  type index$g_EStatusCommon = EStatusCommon;
797
824
  declare const index$g_EStatusCommon: typeof EStatusCommon;
798
- type index$g_EStatusConnectDevice = EStatusConnectDevice;
799
- declare const index$g_EStatusConnectDevice: typeof EStatusConnectDevice;
825
+ type index$g_EStatusDeviceChange = EStatusDeviceChange;
826
+ declare const index$g_EStatusDeviceChange: typeof EStatusDeviceChange;
827
+ type index$g_EStatusDeviceConnect = EStatusDeviceConnect;
828
+ declare const index$g_EStatusDeviceConnect: typeof EStatusDeviceConnect;
829
+ type index$g_EStatusDeviceHealth = EStatusDeviceHealth;
830
+ declare const index$g_EStatusDeviceHealth: typeof EStatusDeviceHealth;
831
+ type index$g_EStatusDeviceLoginCHPlayICloud = EStatusDeviceLoginCHPlayICloud;
832
+ declare const index$g_EStatusDeviceLoginCHPlayICloud: typeof EStatusDeviceLoginCHPlayICloud;
833
+ type index$g_EStatusDeviceRunningSocial = EStatusDeviceRunningSocial;
834
+ declare const index$g_EStatusDeviceRunningSocial: typeof EStatusDeviceRunningSocial;
835
+ type index$g_EStatusDeviceSetup = EStatusDeviceSetup;
836
+ declare const index$g_EStatusDeviceSetup: typeof EStatusDeviceSetup;
800
837
  type index$g_EStatusExecuteCommon = EStatusExecuteCommon;
801
838
  declare const index$g_EStatusExecuteCommon: typeof EStatusExecuteCommon;
802
839
  type index$g_EStatusLark = EStatusLark;
803
840
  declare const index$g_EStatusLark: typeof EStatusLark;
804
- type index$g_EStatusSetupDeviceSystem = EStatusSetupDeviceSystem;
805
- declare const index$g_EStatusSetupDeviceSystem: typeof EStatusSetupDeviceSystem;
841
+ type index$g_EStatusPC = EStatusPC;
842
+ declare const index$g_EStatusPC: typeof EStatusPC;
806
843
  type index$g_EStatusSheetWork = EStatusSheetWork;
807
844
  declare const index$g_EStatusSheetWork: typeof EStatusSheetWork;
808
845
  type index$g_EStatusTaskAIContent = EStatusTaskAIContent;
@@ -828,7 +865,7 @@ declare const index$g_EStatusTeam: typeof EStatusTeam;
828
865
  type index$g_EStatusVPS = EStatusVPS;
829
866
  declare const index$g_EStatusVPS: typeof EStatusVPS;
830
867
  declare namespace index$g {
831
- export { index$g_EStatusAccountCHPlayICloud as EStatusAccountCHPlayICloud, index$g_EStatusAccountCanva as EStatusAccountCanva, index$g_EStatusAccountDrive as EStatusAccountDrive, index$g_EStatusAccountSocial as EStatusAccountSocial, index$g_EStatusAccountSocialImport as EStatusAccountSocialImport, index$g_EStatusAccountSocialLogin as EStatusAccountSocialLogin, index$g_EStatusAccountSocialLoginEmail as EStatusAccountSocialLoginEmail, index$g_EStatusAccountSocialRun as EStatusAccountSocialRun, index$g_EStatusAccountSocialSetting as EStatusAccountSocialSetting, index$g_EStatusAccountSocialSync as EStatusAccountSocialSync, index$g_EStatusAccountVPN as EStatusAccountVPN, index$g_EStatusActive as EStatusActive, index$g_EStatusBlog as EStatusBlog, index$g_EStatusChangeInfo as EStatusChangeInfo, index$g_EStatusCommon as EStatusCommon, index$g_EStatusConnectDevice as EStatusConnectDevice, index$g_EStatusExecuteCommon as EStatusExecuteCommon, index$g_EStatusLark as EStatusLark, index$g_EStatusSetupDeviceSystem as EStatusSetupDeviceSystem, index$g_EStatusSheetWork as EStatusSheetWork, index$g_EStatusTaskAIContent as EStatusTaskAIContent, index$g_EStatusTaskAvatarCover as EStatusTaskAvatarCover, index$g_EStatusTaskCanva as EStatusTaskCanva, index$g_EStatusTaskImage as EStatusTaskImage, index$g_EStatusTaskJob as EStatusTaskJob, index$g_EStatusTaskJobGroup as EStatusTaskJobGroup, index$g_EStatusTaskScript as EStatusTaskScript, index$g_EStatusTaskToolSocials as EStatusTaskToolSocials, index$g_EStatusTaskVoice as EStatusTaskVoice, index$g_EStatusTeam as EStatusTeam, index$g_EStatusVPS as EStatusVPS };
868
+ export { index$g_EStatusAccountCHPlayICloud as EStatusAccountCHPlayICloud, index$g_EStatusAccountCanva as EStatusAccountCanva, index$g_EStatusAccountDrive as EStatusAccountDrive, index$g_EStatusAccountSocial as EStatusAccountSocial, index$g_EStatusAccountSocialImport as EStatusAccountSocialImport, index$g_EStatusAccountSocialLogin as EStatusAccountSocialLogin, index$g_EStatusAccountSocialLoginEmail as EStatusAccountSocialLoginEmail, index$g_EStatusAccountSocialRun as EStatusAccountSocialRun, index$g_EStatusAccountSocialSetting as EStatusAccountSocialSetting, index$g_EStatusAccountSocialSync as EStatusAccountSocialSync, index$g_EStatusAccountVPN as EStatusAccountVPN, index$g_EStatusActive as EStatusActive, index$g_EStatusBlog as EStatusBlog, index$g_EStatusChangeInfo as EStatusChangeInfo, index$g_EStatusCommon as EStatusCommon, index$g_EStatusDeviceChange as EStatusDeviceChange, index$g_EStatusDeviceConnect as EStatusDeviceConnect, index$g_EStatusDeviceHealth as EStatusDeviceHealth, index$g_EStatusDeviceLoginCHPlayICloud as EStatusDeviceLoginCHPlayICloud, index$g_EStatusDeviceRunningSocial as EStatusDeviceRunningSocial, index$g_EStatusDeviceSetup as EStatusDeviceSetup, index$g_EStatusExecuteCommon as EStatusExecuteCommon, index$g_EStatusLark as EStatusLark, index$g_EStatusPC as EStatusPC, index$g_EStatusSheetWork as EStatusSheetWork, index$g_EStatusTaskAIContent as EStatusTaskAIContent, index$g_EStatusTaskAvatarCover as EStatusTaskAvatarCover, index$g_EStatusTaskCanva as EStatusTaskCanva, index$g_EStatusTaskImage as EStatusTaskImage, index$g_EStatusTaskJob as EStatusTaskJob, index$g_EStatusTaskJobGroup as EStatusTaskJobGroup, index$g_EStatusTaskScript as EStatusTaskScript, index$g_EStatusTaskToolSocials as EStatusTaskToolSocials, index$g_EStatusTaskVoice as EStatusTaskVoice, index$g_EStatusTeam as EStatusTeam, index$g_EStatusVPS as EStatusVPS };
832
869
  }
833
870
 
834
871
  declare enum EFolderImageAI {
@@ -1243,6 +1280,7 @@ interface IHistoryTaskAIContent extends IBaseModel, ITrackingModel<IUser> {
1243
1280
  interface IPC extends IBaseModel, ITrackingModel<IUser> {
1244
1281
  pc_name: string;
1245
1282
  pc_description: string;
1283
+ pc_status: EStatusPC;
1246
1284
  }
1247
1285
 
1248
1286
  interface IDevice extends IBaseModel, ITrackingModel<IUser> {
@@ -1252,14 +1290,22 @@ interface IDevice extends IBaseModel, ITrackingModel<IUser> {
1252
1290
  os: ETypeDeviceOS;
1253
1291
  model: string;
1254
1292
  name: string;
1255
- key: string;
1293
+ oldKey: string;
1294
+ newKey: string;
1295
+ oldStatusHeath: EStatusDeviceHealth;
1296
+ newStatusHeath: EStatusDeviceHealth;
1297
+ countChange: number;
1256
1298
  maximumVPN: number;
1257
1299
  maximumProxy: number;
1258
1300
  maximumCHPlayICloud: number;
1259
- statusConnect: EStatusConnectDevice;
1260
- statusSetupBasic: EStatusSetupDeviceSystem;
1301
+ statusLoginCHPlayICloud: EStatusDeviceChange;
1302
+ statusChange: EStatusDeviceChange;
1303
+ statusRunning: EStatusDeviceRunningSocial;
1304
+ statusConnect: EStatusDeviceConnect;
1305
+ statusSetup: EStatusDeviceSetup;
1261
1306
  statusCHPlayICloud: EStatusAccountCHPlayICloud;
1262
1307
  note: string;
1308
+ noteFix: string;
1263
1309
  timeLastUsed: Date;
1264
1310
  lastUserUsed: string | IUser;
1265
1311
  }
@@ -1815,7 +1861,7 @@ interface IThreadsAccountRun extends IBaseModel, IAccountSocialBase, ITrackingMo
1815
1861
  deviceKey: string;
1816
1862
  device: IDevice | string;
1817
1863
  statusRun: EStatusAccountSocialRun;
1818
- statusConnectDevice: EStatusConnectDevice;
1864
+ statusConnectDevice: EStatusDeviceConnect;
1819
1865
  noteConnectDevice: string;
1820
1866
  currentActiveTime: Date;
1821
1867
  lastActiveTime: Date;
@@ -1921,7 +1967,7 @@ interface IThreadsAccountRaw extends IBaseModel, IAccountSocialBase, ITrackingMo
1921
1967
  typeAccountSetting: ETypeAccountInstagramSetting;
1922
1968
  statusAccountSetting: EStatusAccountSocialSetting;
1923
1969
  timeChangeAccountSetting: Date;
1924
- statusConnectDevice: EStatusConnectDevice;
1970
+ statusConnectDevice: EStatusDeviceConnect;
1925
1971
  noteConnectDevice: string;
1926
1972
  note: string;
1927
1973
  timeLastUsed: Date;
@@ -2439,7 +2485,7 @@ interface IInstagramAccountRun extends IBaseModel, IAccountSocialBase, ITracking
2439
2485
  deviceKey: string;
2440
2486
  device: IDevice | string;
2441
2487
  statusRun: EStatusAccountSocialRun;
2442
- statusConnectDevice: EStatusConnectDevice;
2488
+ statusConnectDevice: EStatusDeviceConnect;
2443
2489
  noteConnectDevice: string;
2444
2490
  numberFollower: number;
2445
2491
  numberFollowing: number;
@@ -2547,7 +2593,7 @@ interface IInstagramAccountRaw extends IBaseModel, IAccountSocialBase, ITracking
2547
2593
  timeChangeTypeAccountSetting: Date;
2548
2594
  statusAccountSetting: EStatusAccountSocialSetting;
2549
2595
  timeChangeAccountSetting: Date;
2550
- statusConnectDevice: EStatusConnectDevice;
2596
+ statusConnectDevice: EStatusDeviceConnect;
2551
2597
  noteConnectDevice: string;
2552
2598
  note: string;
2553
2599
  timeLastUsed: Date;
@@ -3357,7 +3403,7 @@ interface IAccountSocialBase extends IBaseModel, ITrackingModel<IUser> {
3357
3403
  newEmail: string;
3358
3404
  new2FA: string;
3359
3405
  newPassword: string;
3360
- statusConnectDevice: EStatusConnectDevice;
3406
+ statusConnectDevice: EStatusDeviceConnect;
3361
3407
  noteConnectDevice: string;
3362
3408
  note: string;
3363
3409
  }
@@ -7261,20 +7307,96 @@ interface CreateDeviceDto extends Partial<IDevice> {
7261
7307
  interface UpdateDeviceDto extends Partial<IDevice> {
7262
7308
  }
7263
7309
  interface FindDeviceDto extends IFindBaseDto, IDevice {
7310
+ pcName: string;
7311
+ pcStatus: EStatusPC;
7264
7312
  listAccountVPN: string[];
7265
- listAccountProxy: string[];
7266
- listAccountCHPlayICloud: string[];
7267
- listAccountThreads: string[];
7268
- listAccountInstagram: string[];
7269
- listAccountYoutube: string[];
7270
- listAccountFacebook: string[];
7271
- listAccountTiktok: string[];
7272
- listAccountX: string[];
7273
- listAccountPinterest: string[];
7274
- listAccountMedium: string[];
7275
- listAccountReddit: string[];
7276
- listAccountTumblr: string[];
7277
- listAccountQuota: string[];
7313
+ listAccountProxy: [{
7314
+ id: string;
7315
+ type: ETypeProxy;
7316
+ val: string;
7317
+ }];
7318
+ listAccountCHPlayICloud: [{
7319
+ id: string;
7320
+ type: ETypeProxy;
7321
+ val: string;
7322
+ }];
7323
+ listAccountThreads: Array<{
7324
+ username: string;
7325
+ email: string;
7326
+ status: 'Active' | 'Locked';
7327
+ createdAt: Date;
7328
+ timeLastUsed: Date;
7329
+ }>;
7330
+ listAccountInstagram: Array<{
7331
+ username: string;
7332
+ email: string;
7333
+ status: 'Active' | 'Locked';
7334
+ createdAt: Date;
7335
+ timeLastUsed: Date;
7336
+ }>;
7337
+ listAccountYoutube: Array<{
7338
+ username: string;
7339
+ email: string;
7340
+ status: 'Active' | 'Locked';
7341
+ createdAt: Date;
7342
+ timeLastUsed: Date;
7343
+ }>;
7344
+ listAccountFacebook: Array<{
7345
+ username: string;
7346
+ email: string;
7347
+ status: 'Active' | 'Locked';
7348
+ createdAt: Date;
7349
+ timeLastUsed: Date;
7350
+ }>;
7351
+ listAccountTiktok: Array<{
7352
+ username: string;
7353
+ email: string;
7354
+ status: 'Active' | 'Locked';
7355
+ createdAt: Date;
7356
+ timeLastUsed: Date;
7357
+ }>;
7358
+ listAccountX: Array<{
7359
+ username: string;
7360
+ email: string;
7361
+ status: 'Active' | 'Locked';
7362
+ createdAt: Date;
7363
+ timeLastUsed: Date;
7364
+ }>;
7365
+ listAccountPinterest: Array<{
7366
+ username: string;
7367
+ email: string;
7368
+ status: 'Active' | 'Locked';
7369
+ createdAt: Date;
7370
+ timeLastUsed: Date;
7371
+ }>;
7372
+ listAccountMedium: Array<{
7373
+ username: string;
7374
+ email: string;
7375
+ status: 'Active' | 'Locked';
7376
+ createdAt: Date;
7377
+ timeLastUsed: Date;
7378
+ }>;
7379
+ listAccountReddit: Array<{
7380
+ username: string;
7381
+ email: string;
7382
+ status: 'Active' | 'Locked';
7383
+ createdAt: Date;
7384
+ timeLastUsed: Date;
7385
+ }>;
7386
+ listAccountTumblr: Array<{
7387
+ username: string;
7388
+ email: string;
7389
+ status: 'Active' | 'Locked';
7390
+ createdAt: Date;
7391
+ timeLastUsed: Date;
7392
+ }>;
7393
+ listAccountQuota: Array<{
7394
+ username: string;
7395
+ email: string;
7396
+ status: 'Active' | 'Locked';
7397
+ createdAt: Date;
7398
+ timeLastUsed: Date;
7399
+ }>;
7278
7400
  }
7279
7401
  interface FilterDeviceDto extends IFilterBaseDto, Omit<IDevice, TOmitFilterDto> {
7280
7402
  }
package/dist/index.js CHANGED
@@ -620,10 +620,15 @@ __export(status_exports, {
620
620
  EStatusBlog: () => EStatusBlog,
621
621
  EStatusChangeInfo: () => EStatusChangeInfo,
622
622
  EStatusCommon: () => EStatusCommon,
623
- EStatusConnectDevice: () => EStatusConnectDevice,
623
+ EStatusDeviceChange: () => EStatusDeviceChange,
624
+ EStatusDeviceConnect: () => EStatusDeviceConnect,
625
+ EStatusDeviceHealth: () => EStatusDeviceHealth,
626
+ EStatusDeviceLoginCHPlayICloud: () => EStatusDeviceLoginCHPlayICloud,
627
+ EStatusDeviceRunningSocial: () => EStatusDeviceRunningSocial,
628
+ EStatusDeviceSetup: () => EStatusDeviceSetup,
624
629
  EStatusExecuteCommon: () => EStatusExecuteCommon,
625
630
  EStatusLark: () => EStatusLark,
626
- EStatusSetupDeviceSystem: () => EStatusSetupDeviceSystem,
631
+ EStatusPC: () => EStatusPC,
627
632
  EStatusSheetWork: () => EStatusSheetWork,
628
633
  EStatusTaskAIContent: () => EStatusTaskAIContent,
629
634
  EStatusTaskAvatarCover: () => EStatusTaskAvatarCover,
@@ -857,23 +862,55 @@ var EStatusTaskJobGroup = /* @__PURE__ */ ((EStatusTaskJobGroup2) => {
857
862
  return EStatusTaskJobGroup2;
858
863
  })(EStatusTaskJobGroup || {});
859
864
 
860
- // src/enums/status/devices/EStatusConnectDevice.enum.ts
861
- var EStatusConnectDevice = /* @__PURE__ */ ((EStatusConnectDevice2) => {
862
- EStatusConnectDevice2["Connected"] = "Connected";
863
- EStatusConnectDevice2["Disconnected"] = "Disconnected";
864
- EStatusConnectDevice2["Maintenance"] = "Maintenance";
865
- EStatusConnectDevice2["Error"] = "Error";
866
- EStatusConnectDevice2["Offline"] = "Offline";
867
- return EStatusConnectDevice2;
868
- })(EStatusConnectDevice || {});
869
-
870
- // src/enums/status/devices/EStatusSetupDeviceSystem.enum.ts
871
- var EStatusSetupDeviceSystem = /* @__PURE__ */ ((EStatusSetupDeviceSystem2) => {
872
- EStatusSetupDeviceSystem2["Pending"] = "Pending";
873
- EStatusSetupDeviceSystem2["Done"] = "Done";
874
- EStatusSetupDeviceSystem2["Error"] = "Error";
875
- return EStatusSetupDeviceSystem2;
876
- })(EStatusSetupDeviceSystem || {});
865
+ // src/enums/status/devices/EStatusDevice.enum.ts
866
+ var EStatusDeviceConnect = /* @__PURE__ */ ((EStatusDeviceConnect2) => {
867
+ EStatusDeviceConnect2["Connected"] = "Connected";
868
+ EStatusDeviceConnect2["Disconnected"] = "Disconnected";
869
+ EStatusDeviceConnect2["Maintenance"] = "Maintenance";
870
+ EStatusDeviceConnect2["Error"] = "Error";
871
+ EStatusDeviceConnect2["Offline"] = "Offline";
872
+ return EStatusDeviceConnect2;
873
+ })(EStatusDeviceConnect || {});
874
+ var EStatusDeviceHealth = /* @__PURE__ */ ((EStatusDeviceHealth2) => {
875
+ EStatusDeviceHealth2["Live"] = "Live";
876
+ EStatusDeviceHealth2["Error"] = "Error";
877
+ EStatusDeviceHealth2["Die"] = "Die";
878
+ return EStatusDeviceHealth2;
879
+ })(EStatusDeviceHealth || {});
880
+ var EStatusDeviceChange = /* @__PURE__ */ ((EStatusDeviceChange2) => {
881
+ EStatusDeviceChange2["NA"] = "N/A";
882
+ EStatusDeviceChange2["Done"] = "Done change new device";
883
+ EStatusDeviceChange2["Error"] = "Error change device(Die)";
884
+ return EStatusDeviceChange2;
885
+ })(EStatusDeviceChange || {});
886
+ var EStatusDeviceRunningSocial = /* @__PURE__ */ ((EStatusDeviceRunningSocial2) => {
887
+ EStatusDeviceRunningSocial2["RunningSocial"] = "RunningSocial";
888
+ EStatusDeviceRunningSocial2["StopRunningSocial"] = "StopRunningSocial";
889
+ EStatusDeviceRunningSocial2["PendingRunningSocial"] = "PendingRunningSocial";
890
+ return EStatusDeviceRunningSocial2;
891
+ })(EStatusDeviceRunningSocial || {});
892
+ var EStatusDeviceLoginCHPlayICloud = /* @__PURE__ */ ((EStatusDeviceLoginCHPlayICloud2) => {
893
+ EStatusDeviceLoginCHPlayICloud2["Done"] = "Done change new device";
894
+ EStatusDeviceLoginCHPlayICloud2["WrongEmail"] = "Wrong email";
895
+ EStatusDeviceLoginCHPlayICloud2["WrongPassword"] = "Wrong password";
896
+ EStatusDeviceLoginCHPlayICloud2["Unknown"] = "Unknown";
897
+ return EStatusDeviceLoginCHPlayICloud2;
898
+ })(EStatusDeviceLoginCHPlayICloud || {});
899
+ var EStatusDeviceSetup = /* @__PURE__ */ ((EStatusDeviceSetup2) => {
900
+ EStatusDeviceSetup2["Pending"] = "Pending";
901
+ EStatusDeviceSetup2["Done"] = "Done";
902
+ EStatusDeviceSetup2["Error"] = "Error";
903
+ EStatusDeviceSetup2["Unknown"] = "Unknown";
904
+ return EStatusDeviceSetup2;
905
+ })(EStatusDeviceSetup || {});
906
+
907
+ // src/enums/status/devices/EStatusPC.enum.ts
908
+ var EStatusPC = /* @__PURE__ */ ((EStatusPC2) => {
909
+ EStatusPC2["Connected"] = "On";
910
+ EStatusPC2["Disconnected"] = "Off";
911
+ EStatusPC2["Maintenance"] = "Unknown";
912
+ return EStatusPC2;
913
+ })(EStatusPC || {});
877
914
 
878
915
  // src/enums/status/accounts/EStatusAccountSocial.enum.ts
879
916
  var EStatusAccountSocialRun = /* @__PURE__ */ ((EStatusAccountSocialRun2) => {
package/dist/index.mjs CHANGED
@@ -587,10 +587,15 @@ __export(status_exports, {
587
587
  EStatusBlog: () => EStatusBlog,
588
588
  EStatusChangeInfo: () => EStatusChangeInfo,
589
589
  EStatusCommon: () => EStatusCommon,
590
- EStatusConnectDevice: () => EStatusConnectDevice,
590
+ EStatusDeviceChange: () => EStatusDeviceChange,
591
+ EStatusDeviceConnect: () => EStatusDeviceConnect,
592
+ EStatusDeviceHealth: () => EStatusDeviceHealth,
593
+ EStatusDeviceLoginCHPlayICloud: () => EStatusDeviceLoginCHPlayICloud,
594
+ EStatusDeviceRunningSocial: () => EStatusDeviceRunningSocial,
595
+ EStatusDeviceSetup: () => EStatusDeviceSetup,
591
596
  EStatusExecuteCommon: () => EStatusExecuteCommon,
592
597
  EStatusLark: () => EStatusLark,
593
- EStatusSetupDeviceSystem: () => EStatusSetupDeviceSystem,
598
+ EStatusPC: () => EStatusPC,
594
599
  EStatusSheetWork: () => EStatusSheetWork,
595
600
  EStatusTaskAIContent: () => EStatusTaskAIContent,
596
601
  EStatusTaskAvatarCover: () => EStatusTaskAvatarCover,
@@ -824,23 +829,55 @@ var EStatusTaskJobGroup = /* @__PURE__ */ ((EStatusTaskJobGroup2) => {
824
829
  return EStatusTaskJobGroup2;
825
830
  })(EStatusTaskJobGroup || {});
826
831
 
827
- // src/enums/status/devices/EStatusConnectDevice.enum.ts
828
- var EStatusConnectDevice = /* @__PURE__ */ ((EStatusConnectDevice2) => {
829
- EStatusConnectDevice2["Connected"] = "Connected";
830
- EStatusConnectDevice2["Disconnected"] = "Disconnected";
831
- EStatusConnectDevice2["Maintenance"] = "Maintenance";
832
- EStatusConnectDevice2["Error"] = "Error";
833
- EStatusConnectDevice2["Offline"] = "Offline";
834
- return EStatusConnectDevice2;
835
- })(EStatusConnectDevice || {});
836
-
837
- // src/enums/status/devices/EStatusSetupDeviceSystem.enum.ts
838
- var EStatusSetupDeviceSystem = /* @__PURE__ */ ((EStatusSetupDeviceSystem2) => {
839
- EStatusSetupDeviceSystem2["Pending"] = "Pending";
840
- EStatusSetupDeviceSystem2["Done"] = "Done";
841
- EStatusSetupDeviceSystem2["Error"] = "Error";
842
- return EStatusSetupDeviceSystem2;
843
- })(EStatusSetupDeviceSystem || {});
832
+ // src/enums/status/devices/EStatusDevice.enum.ts
833
+ var EStatusDeviceConnect = /* @__PURE__ */ ((EStatusDeviceConnect2) => {
834
+ EStatusDeviceConnect2["Connected"] = "Connected";
835
+ EStatusDeviceConnect2["Disconnected"] = "Disconnected";
836
+ EStatusDeviceConnect2["Maintenance"] = "Maintenance";
837
+ EStatusDeviceConnect2["Error"] = "Error";
838
+ EStatusDeviceConnect2["Offline"] = "Offline";
839
+ return EStatusDeviceConnect2;
840
+ })(EStatusDeviceConnect || {});
841
+ var EStatusDeviceHealth = /* @__PURE__ */ ((EStatusDeviceHealth2) => {
842
+ EStatusDeviceHealth2["Live"] = "Live";
843
+ EStatusDeviceHealth2["Error"] = "Error";
844
+ EStatusDeviceHealth2["Die"] = "Die";
845
+ return EStatusDeviceHealth2;
846
+ })(EStatusDeviceHealth || {});
847
+ var EStatusDeviceChange = /* @__PURE__ */ ((EStatusDeviceChange2) => {
848
+ EStatusDeviceChange2["NA"] = "N/A";
849
+ EStatusDeviceChange2["Done"] = "Done change new device";
850
+ EStatusDeviceChange2["Error"] = "Error change device(Die)";
851
+ return EStatusDeviceChange2;
852
+ })(EStatusDeviceChange || {});
853
+ var EStatusDeviceRunningSocial = /* @__PURE__ */ ((EStatusDeviceRunningSocial2) => {
854
+ EStatusDeviceRunningSocial2["RunningSocial"] = "RunningSocial";
855
+ EStatusDeviceRunningSocial2["StopRunningSocial"] = "StopRunningSocial";
856
+ EStatusDeviceRunningSocial2["PendingRunningSocial"] = "PendingRunningSocial";
857
+ return EStatusDeviceRunningSocial2;
858
+ })(EStatusDeviceRunningSocial || {});
859
+ var EStatusDeviceLoginCHPlayICloud = /* @__PURE__ */ ((EStatusDeviceLoginCHPlayICloud2) => {
860
+ EStatusDeviceLoginCHPlayICloud2["Done"] = "Done change new device";
861
+ EStatusDeviceLoginCHPlayICloud2["WrongEmail"] = "Wrong email";
862
+ EStatusDeviceLoginCHPlayICloud2["WrongPassword"] = "Wrong password";
863
+ EStatusDeviceLoginCHPlayICloud2["Unknown"] = "Unknown";
864
+ return EStatusDeviceLoginCHPlayICloud2;
865
+ })(EStatusDeviceLoginCHPlayICloud || {});
866
+ var EStatusDeviceSetup = /* @__PURE__ */ ((EStatusDeviceSetup2) => {
867
+ EStatusDeviceSetup2["Pending"] = "Pending";
868
+ EStatusDeviceSetup2["Done"] = "Done";
869
+ EStatusDeviceSetup2["Error"] = "Error";
870
+ EStatusDeviceSetup2["Unknown"] = "Unknown";
871
+ return EStatusDeviceSetup2;
872
+ })(EStatusDeviceSetup || {});
873
+
874
+ // src/enums/status/devices/EStatusPC.enum.ts
875
+ var EStatusPC = /* @__PURE__ */ ((EStatusPC2) => {
876
+ EStatusPC2["Connected"] = "On";
877
+ EStatusPC2["Disconnected"] = "Off";
878
+ EStatusPC2["Maintenance"] = "Unknown";
879
+ return EStatusPC2;
880
+ })(EStatusPC || {});
844
881
 
845
882
  // src/enums/status/accounts/EStatusAccountSocial.enum.ts
846
883
  var EStatusAccountSocialRun = /* @__PURE__ */ ((EStatusAccountSocialRun2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation-lib",
3
- "version": "5.1.230",
3
+ "version": "5.1.232",
4
4
  "description": "Common features and type of applications auto",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",