automation-lib 6.4.25 → 6.4.32

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/commit.bat CHANGED
@@ -7,10 +7,10 @@ git add .
7
7
  echo Committing changes...
8
8
  set /p commit_message="Enter commit message: "
9
9
  git commit -m "%commit_message%"
10
- timeout /t 2 /nobreak >nul
10
+ sleep 2
11
11
 
12
12
  :: Push changes to the 'main' branch of the 'cp' remote
13
- git pull hs main
13
+ git pull origin toan
14
14
 
15
15
  :: Read the current version from package.json
16
16
  for /f "tokens=2 delims=:, " %%i in ('findstr "version" package.json') do set currentVersion=%%i
@@ -41,10 +41,10 @@ echo New version: %newVersion%
41
41
  call npm run pub
42
42
 
43
43
  git add .
44
- timeout /t 1 /nobreak >nul
44
+ sleep 1
45
45
  git commit -m "%commit_message%"
46
- timeout /t 2 /nobreak >nul
46
+ sleep 2
47
47
 
48
- git push hs main
48
+ git push origin toan
49
49
 
50
50
 
package/dist/index.d.mts CHANGED
@@ -3492,7 +3492,6 @@ interface AccountAIImportDto {
3492
3492
  sheetName: string;
3493
3493
  }
3494
3494
  interface AccountAICreateDto {
3495
- typeAccountAI: EEmailTagType;
3496
3495
  email: string;
3497
3496
  emailRecovery: string;
3498
3497
  password: string;
@@ -3519,22 +3518,17 @@ interface AccountAICreateDto {
3519
3518
  };
3520
3519
  };
3521
3520
  accountContentImageVideo: {
3522
- apiKey: string;
3523
- apiModel: string;
3524
3521
  apiProjectID: string;
3525
3522
  apiLocation: EAccountAIModelLocation;
3526
3523
  apiStatus: EAccountAIModelApiStatus;
3527
3524
  apiJsonToken: string;
3528
- browserPlan: EAccountAIModelBrowserPlan;
3529
3525
  browserCredits: number;
3530
3526
  browserStatus: EAccountAIModelCreditStatus;
3531
3527
  };
3532
3528
  accountContentVoice: {
3533
3529
  apiProjectID: string;
3534
3530
  apiKey: string;
3535
- apiModel: string;
3536
3531
  apiStatus: EAccountAIModelApiStatus;
3537
- browserPlan: EAccountAIModelBrowserPlan;
3538
3532
  browserCredits: number;
3539
3533
  browserStatus: EAccountAIModelCreditStatus;
3540
3534
  };
@@ -3552,24 +3546,13 @@ interface FindAccountAIDto extends IFindBaseDto {
3552
3546
  gemini: EAccountAIModelApiStatus;
3553
3547
  };
3554
3548
  aiContentInfo: {
3555
- gpt: {
3556
- id: string;
3557
- apiKey: string;
3558
- model: string;
3559
- plan: EAccountAIModelBrowserPlan;
3560
- statusModel: EAccountAIModelApiStatus;
3561
- timeChangeStatusModel: Date;
3562
- note: string;
3563
- } | null;
3564
- gemini: {
3565
- id: string;
3566
- apiKey: string;
3567
- model: string;
3568
- plan: EAccountAIModelBrowserPlan;
3569
- statusModel: EAccountAIModelApiStatus;
3570
- timeChangeStatusModel: Date;
3571
- note: string;
3572
- } | null;
3549
+ id: string;
3550
+ apiKey: string;
3551
+ model: string;
3552
+ plan: EAccountAIModelBrowserPlan;
3553
+ statusModel: EAccountAIModelApiStatus;
3554
+ timeChangeStatusModel: Date;
3555
+ note: string;
3573
3556
  };
3574
3557
  aiContentCredit: {
3575
3558
  credits: number;
@@ -8052,6 +8035,8 @@ interface CreateTaskInstagramChangeInfoDto extends Partial<ITaskInstagramChangeI
8052
8035
  interface UpdateTaskInstagramChangeInfoDto extends Partial<ITaskInstagramChangeInfo> {
8053
8036
  }
8054
8037
  interface FindTaskInstagramChangeInfoDto extends IFindBaseDto {
8038
+ taskTypeRun: ETaskInstagramPostTypeRun;
8039
+ taskID: string;
8055
8040
  rowSheet: number;
8056
8041
  sheetToolName: string;
8057
8042
  sheetToolUrl: string;
@@ -8291,8 +8276,9 @@ interface FindTaskInstagramPostDto extends IFindBaseDto {
8291
8276
  totalSecondRun: number;
8292
8277
  noteFix: string;
8293
8278
  timeExecute: [string, string];
8294
- editPostRun: string;
8295
- isEdit: boolean;
8279
+ isSchedule: boolean;
8280
+ editPostRunTime: string;
8281
+ statusEditContent: string;
8296
8282
  aiLabel: boolean;
8297
8283
  dateTimeStart: Date;
8298
8284
  dateTimeEnd: Date;
@@ -8488,6 +8474,8 @@ interface FilterTaskInstagramPostDto extends IFilterBaseDto, IFilterBaseAccountS
8488
8474
  }
8489
8475
 
8490
8476
  interface ITaskInstagramChangeInfo extends IBaseModel, ITrackingModel {
8477
+ taskTypeRun: ETaskInstagramPostTypeRun;
8478
+ taskIDNumber: number;
8491
8479
  sheetToolId: string;
8492
8480
  accountSocialId: string;
8493
8481
  timezone: ETimeZone;
@@ -8637,8 +8625,11 @@ interface ITaskInstagramPost extends IBaseModel, ITrackingModel {
8637
8625
  delayTimeCommentFrom: number;
8638
8626
  delayTimeCommentTo: number;
8639
8627
  isAddAILabel: boolean;
8640
- isSchedule: boolean;
8641
8628
  isEdit: boolean;
8629
+ isSchedule: boolean;
8630
+ editPostRunTime: string;
8631
+ statusEditContent: string;
8632
+ aiLabel: boolean;
8642
8633
  }
8643
8634
 
8644
8635
  interface ITaskInstagramPostLog extends IBaseModel, ITrackingModel {
package/dist/index.d.ts CHANGED
@@ -3492,7 +3492,6 @@ interface AccountAIImportDto {
3492
3492
  sheetName: string;
3493
3493
  }
3494
3494
  interface AccountAICreateDto {
3495
- typeAccountAI: EEmailTagType;
3496
3495
  email: string;
3497
3496
  emailRecovery: string;
3498
3497
  password: string;
@@ -3519,22 +3518,17 @@ interface AccountAICreateDto {
3519
3518
  };
3520
3519
  };
3521
3520
  accountContentImageVideo: {
3522
- apiKey: string;
3523
- apiModel: string;
3524
3521
  apiProjectID: string;
3525
3522
  apiLocation: EAccountAIModelLocation;
3526
3523
  apiStatus: EAccountAIModelApiStatus;
3527
3524
  apiJsonToken: string;
3528
- browserPlan: EAccountAIModelBrowserPlan;
3529
3525
  browserCredits: number;
3530
3526
  browserStatus: EAccountAIModelCreditStatus;
3531
3527
  };
3532
3528
  accountContentVoice: {
3533
3529
  apiProjectID: string;
3534
3530
  apiKey: string;
3535
- apiModel: string;
3536
3531
  apiStatus: EAccountAIModelApiStatus;
3537
- browserPlan: EAccountAIModelBrowserPlan;
3538
3532
  browserCredits: number;
3539
3533
  browserStatus: EAccountAIModelCreditStatus;
3540
3534
  };
@@ -3552,24 +3546,13 @@ interface FindAccountAIDto extends IFindBaseDto {
3552
3546
  gemini: EAccountAIModelApiStatus;
3553
3547
  };
3554
3548
  aiContentInfo: {
3555
- gpt: {
3556
- id: string;
3557
- apiKey: string;
3558
- model: string;
3559
- plan: EAccountAIModelBrowserPlan;
3560
- statusModel: EAccountAIModelApiStatus;
3561
- timeChangeStatusModel: Date;
3562
- note: string;
3563
- } | null;
3564
- gemini: {
3565
- id: string;
3566
- apiKey: string;
3567
- model: string;
3568
- plan: EAccountAIModelBrowserPlan;
3569
- statusModel: EAccountAIModelApiStatus;
3570
- timeChangeStatusModel: Date;
3571
- note: string;
3572
- } | null;
3549
+ id: string;
3550
+ apiKey: string;
3551
+ model: string;
3552
+ plan: EAccountAIModelBrowserPlan;
3553
+ statusModel: EAccountAIModelApiStatus;
3554
+ timeChangeStatusModel: Date;
3555
+ note: string;
3573
3556
  };
3574
3557
  aiContentCredit: {
3575
3558
  credits: number;
@@ -8052,6 +8035,8 @@ interface CreateTaskInstagramChangeInfoDto extends Partial<ITaskInstagramChangeI
8052
8035
  interface UpdateTaskInstagramChangeInfoDto extends Partial<ITaskInstagramChangeInfo> {
8053
8036
  }
8054
8037
  interface FindTaskInstagramChangeInfoDto extends IFindBaseDto {
8038
+ taskTypeRun: ETaskInstagramPostTypeRun;
8039
+ taskID: string;
8055
8040
  rowSheet: number;
8056
8041
  sheetToolName: string;
8057
8042
  sheetToolUrl: string;
@@ -8291,8 +8276,9 @@ interface FindTaskInstagramPostDto extends IFindBaseDto {
8291
8276
  totalSecondRun: number;
8292
8277
  noteFix: string;
8293
8278
  timeExecute: [string, string];
8294
- editPostRun: string;
8295
- isEdit: boolean;
8279
+ isSchedule: boolean;
8280
+ editPostRunTime: string;
8281
+ statusEditContent: string;
8296
8282
  aiLabel: boolean;
8297
8283
  dateTimeStart: Date;
8298
8284
  dateTimeEnd: Date;
@@ -8488,6 +8474,8 @@ interface FilterTaskInstagramPostDto extends IFilterBaseDto, IFilterBaseAccountS
8488
8474
  }
8489
8475
 
8490
8476
  interface ITaskInstagramChangeInfo extends IBaseModel, ITrackingModel {
8477
+ taskTypeRun: ETaskInstagramPostTypeRun;
8478
+ taskIDNumber: number;
8491
8479
  sheetToolId: string;
8492
8480
  accountSocialId: string;
8493
8481
  timezone: ETimeZone;
@@ -8637,8 +8625,11 @@ interface ITaskInstagramPost extends IBaseModel, ITrackingModel {
8637
8625
  delayTimeCommentFrom: number;
8638
8626
  delayTimeCommentTo: number;
8639
8627
  isAddAILabel: boolean;
8640
- isSchedule: boolean;
8641
8628
  isEdit: boolean;
8629
+ isSchedule: boolean;
8630
+ editPostRunTime: string;
8631
+ statusEditContent: string;
8632
+ aiLabel: boolean;
8642
8633
  }
8643
8634
 
8644
8635
  interface ITaskInstagramPostLog extends IBaseModel, ITrackingModel {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation-lib",
3
- "version": "6.4.25",
3
+ "version": "6.4.32",
4
4
  "description": "Common features and type of applications auto",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",