automation-lib 6.6.413 → 6.6.415

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
@@ -1,49 +1,50 @@
1
1
  @echo off
2
- setlocal enabledelayedexpansion
3
2
 
4
- :: 1. Nhập commit message
5
- set /p commit_message="Enter commit message: "
6
-
7
- :: 2. Thực hiện git add và commit những gì đang làm
8
- echo [1/6] Adding and committing changes...
3
+ :: Add all changes to git
9
4
  git add .
5
+
6
+ :: Commit changes with a message
7
+ echo Committing changes...
8
+ set /p commit_message="Enter commit message: "
10
9
  git commit -m "%commit_message%"
10
+ sleep 2
11
11
 
12
- :: 3. Pull từ remote 'hs' nhánh 'toan' theo yêu cầu ban đầu
13
- echo [2/6] Pulling from hs toan...
14
- git pull hs toan
12
+ :: Push changes to the 'main' branch of the 'cp' remote
13
+ git pull origin toan
15
14
 
16
- :: 4. Xử tăng version trong package.json
15
+ :: Read the current version from package.json
17
16
  for /f "tokens=2 delims=:, " %%i in ('findstr "version" package.json') do set currentVersion=%%i
17
+
18
+ :: Remove quotes from the version string
18
19
  set currentVersion=%currentVersion:"=%
19
- set currentVersion=%currentVersion:,=%
20
20
 
21
+ :: Split version into its components
21
22
  for /f "tokens=1,2,3 delims=." %%a in ("%currentVersion%") do (
22
23
  set major=%%a
23
24
  set minor=%%b
24
25
  set patch=%%c
25
26
  )
26
27
 
28
+ :: Increment the patch version
27
29
  set /a patch+=1
30
+
31
+ :: Create the new version string
28
32
  set newVersion=%major%.%minor%.%patch%
29
33
 
30
- :: Cập nhật version bằng PowerShell
34
+ :: Update the version in package.json
31
35
  powershell -Command "(Get-Content package.json) -replace '\"version\": \"%currentVersion%\"', '\"version\": \"%newVersion%\"' | Set-Content package.json"
32
36
 
33
- echo [3/6] New version: %newVersion%
37
+ :: Display the new version
38
+ echo New version: %newVersion%
34
39
 
35
- :: 5. Chạy lệnh publish
36
- echo [4/6] Running npm publish...
40
+ :: Run npm publish using call
37
41
  call npm run pub
38
42
 
39
- :: 6. Commit file package.json mới
40
- echo [5/6] Committing version bump...
41
43
  git add .
42
- git commit -m "chore: bump version to %newVersion%"
44
+ sleep 1
45
+ git commit -m "%commit_message%"
46
+ sleep 2
47
+
48
+ git push origin toan
43
49
 
44
- :: 7. PUSH LÊN NHÁNH MAIN
45
- echo [6/6] Pushing to hs main...
46
- git push hs main
47
50
 
48
- echo Done!
49
- pause
package/dist/index.d.mts CHANGED
@@ -7916,10 +7916,10 @@ interface FilterInstagramAccountRawDto extends IFilterBaseDto {
7916
7916
  passwordChangeStatus: EStatusChangeInfo[];
7917
7917
  twoFactorAuthChangeStatus: EStatusChangeInfo[];
7918
7918
  emailChangeStatus: EStatusChangeInfo[];
7919
- avatarStatus: EStatusAccountSocialRaw[];
7920
- coverStatus: EStatusAccountSocialRaw[];
7921
- bioStatus: EStatusAccountSocialRaw[];
7922
- linksStatus: EStatusAccountSocialRaw[];
7919
+ avatarStatus: EStatusChangeInfo[];
7920
+ coverStatus: EStatusChangeInfo[];
7921
+ bioStatus: EStatusChangeInfo[];
7922
+ linksStatus: EStatusChangeInfo[];
7923
7923
  hasAvatar: EHaveData[];
7924
7924
  hasCover: EHaveData[];
7925
7925
  hasBio: EHaveData[];
@@ -15341,6 +15341,11 @@ interface FilterManagerSheetDto extends IFilterBaseDto {
15341
15341
  niche: string[];
15342
15342
  typeSocial: ETypeSocial[];
15343
15343
  isActive: boolean;
15344
+ startStop: string[];
15345
+ name: string[];
15346
+ childName: string[];
15347
+ accountAI: string[];
15348
+ childStartStop: string[];
15344
15349
  }
15345
15350
  interface FindOverviewManagerSheetDto {
15346
15351
  totalDepartments: number;
@@ -15362,7 +15367,10 @@ declare enum EFilterOptionManagerSheet {
15362
15367
  CreatedBy = "CreatedBy",
15363
15368
  UpdatedBy = "UpdatedBy",
15364
15369
  Ideas = "Ideas",
15365
- Niche = "Niche"
15370
+ Niche = "Niche",
15371
+ SheetName = "SheetName",
15372
+ ChildName = "ChildName",
15373
+ AccountAI = "AccountAI"
15366
15374
  }
15367
15375
 
15368
15376
  interface CreateSheetToolDto {
package/dist/index.d.ts CHANGED
@@ -7916,10 +7916,10 @@ interface FilterInstagramAccountRawDto extends IFilterBaseDto {
7916
7916
  passwordChangeStatus: EStatusChangeInfo[];
7917
7917
  twoFactorAuthChangeStatus: EStatusChangeInfo[];
7918
7918
  emailChangeStatus: EStatusChangeInfo[];
7919
- avatarStatus: EStatusAccountSocialRaw[];
7920
- coverStatus: EStatusAccountSocialRaw[];
7921
- bioStatus: EStatusAccountSocialRaw[];
7922
- linksStatus: EStatusAccountSocialRaw[];
7919
+ avatarStatus: EStatusChangeInfo[];
7920
+ coverStatus: EStatusChangeInfo[];
7921
+ bioStatus: EStatusChangeInfo[];
7922
+ linksStatus: EStatusChangeInfo[];
7923
7923
  hasAvatar: EHaveData[];
7924
7924
  hasCover: EHaveData[];
7925
7925
  hasBio: EHaveData[];
@@ -15341,6 +15341,11 @@ interface FilterManagerSheetDto extends IFilterBaseDto {
15341
15341
  niche: string[];
15342
15342
  typeSocial: ETypeSocial[];
15343
15343
  isActive: boolean;
15344
+ startStop: string[];
15345
+ name: string[];
15346
+ childName: string[];
15347
+ accountAI: string[];
15348
+ childStartStop: string[];
15344
15349
  }
15345
15350
  interface FindOverviewManagerSheetDto {
15346
15351
  totalDepartments: number;
@@ -15362,7 +15367,10 @@ declare enum EFilterOptionManagerSheet {
15362
15367
  CreatedBy = "CreatedBy",
15363
15368
  UpdatedBy = "UpdatedBy",
15364
15369
  Ideas = "Ideas",
15365
- Niche = "Niche"
15370
+ Niche = "Niche",
15371
+ SheetName = "SheetName",
15372
+ ChildName = "ChildName",
15373
+ AccountAI = "AccountAI"
15366
15374
  }
15367
15375
 
15368
15376
  interface CreateSheetToolDto {
package/dist/index.js CHANGED
@@ -3135,6 +3135,9 @@ var EFilterOptionManagerSheet = /* @__PURE__ */ ((EFilterOptionManagerSheet2) =>
3135
3135
  EFilterOptionManagerSheet2["UpdatedBy"] = "UpdatedBy";
3136
3136
  EFilterOptionManagerSheet2["Ideas"] = "Ideas";
3137
3137
  EFilterOptionManagerSheet2["Niche"] = "Niche";
3138
+ EFilterOptionManagerSheet2["SheetName"] = "SheetName";
3139
+ EFilterOptionManagerSheet2["ChildName"] = "ChildName";
3140
+ EFilterOptionManagerSheet2["AccountAI"] = "AccountAI";
3138
3141
  return EFilterOptionManagerSheet2;
3139
3142
  })(EFilterOptionManagerSheet || {});
3140
3143
 
package/dist/index.mjs CHANGED
@@ -2837,6 +2837,9 @@ var EFilterOptionManagerSheet = /* @__PURE__ */ ((EFilterOptionManagerSheet2) =>
2837
2837
  EFilterOptionManagerSheet2["UpdatedBy"] = "UpdatedBy";
2838
2838
  EFilterOptionManagerSheet2["Ideas"] = "Ideas";
2839
2839
  EFilterOptionManagerSheet2["Niche"] = "Niche";
2840
+ EFilterOptionManagerSheet2["SheetName"] = "SheetName";
2841
+ EFilterOptionManagerSheet2["ChildName"] = "ChildName";
2842
+ EFilterOptionManagerSheet2["AccountAI"] = "AccountAI";
2840
2843
  return EFilterOptionManagerSheet2;
2841
2844
  })(EFilterOptionManagerSheet || {});
2842
2845
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation-lib",
3
- "version": "6.6.413",
3
+ "version": "6.6.415",
4
4
  "description": "Common features and type of applications auto",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -30,7 +30,7 @@
30
30
  "typescript": "^5.4.5"
31
31
  },
32
32
  "dependencies": {
33
- "automation-lib": "^6.6.405",
33
+ "automation-lib": "^6.6.414",
34
34
  "http-status-codes": "^2.3.0",
35
35
  "nodemailer": "^6.9.13",
36
36
  "sharp": "^0.33.3"