automation-lib 5.4.302 → 5.4.304

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
@@ -1035,6 +1035,7 @@ declare enum EStatusAccountSocialLoginEmail {
1035
1035
  declare enum EStatusAccountSocialRaw {
1036
1036
  Available = "Available",
1037
1037
  InUseDevice = "InUseDevice",
1038
+ LockedOnDevice = "LockedOnDevice",
1038
1039
  NetworkError = "NetworkError",
1039
1040
  Dead = "Dead",
1040
1041
  Spam = "Spam",
@@ -3955,6 +3956,7 @@ interface FindThreadsSettingPostDto extends IFindBaseDto, IThreadsSettingPost {
3955
3956
  accountDeviceTypeAppClone: string;
3956
3957
  accountDeviceNameAppClone: string;
3957
3958
  statusLogin: string;
3959
+ status: string;
3958
3960
  };
3959
3961
  sheetInfo: {
3960
3962
  id: string;
@@ -4043,6 +4045,7 @@ interface FindThreadsSettingInteractFollowDto extends IFindBaseDto, IThreadsSett
4043
4045
  accountDeviceTypeAppClone: string;
4044
4046
  accountDeviceNameAppClone: string;
4045
4047
  statusLogin: string;
4048
+ status: string;
4046
4049
  };
4047
4050
  sheetInfo: {
4048
4051
  id: string;
@@ -4131,6 +4134,7 @@ interface FindThreadsSettingInteractUnFollowDto extends IFindBaseDto, IThreadsSe
4131
4134
  accountDeviceTypeAppClone: string;
4132
4135
  accountDeviceNameAppClone: string;
4133
4136
  statusLogin: string;
4137
+ status: string;
4134
4138
  };
4135
4139
  sheetInfo: {
4136
4140
  id: string;
@@ -4307,6 +4311,7 @@ interface FindThreadsSettingInteractReplyMessageDto extends IFindBaseDto, IThrea
4307
4311
  accountDeviceTypeAppClone: string;
4308
4312
  accountDeviceNameAppClone: string;
4309
4313
  statusLogin: string;
4314
+ status: string;
4310
4315
  };
4311
4316
  sheetInfo: {
4312
4317
  id: string;
@@ -6853,6 +6858,7 @@ interface FindInstagramSettingInteractFollowDto extends IFindBaseDto {
6853
6858
  accountDeviceTypeAppClone: string;
6854
6859
  accountDeviceNameAppClone: string;
6855
6860
  statusLogin: string;
6861
+ status: string;
6856
6862
  };
6857
6863
  sheetInfo: {
6858
6864
  id: string;
@@ -7029,6 +7035,7 @@ interface FindInstagramSettingInteractReplyCommentDto extends IFindBaseDto {
7029
7035
  accountDeviceTypeAppClone: string;
7030
7036
  accountDeviceNameAppClone: string;
7031
7037
  statusLogin: string;
7038
+ status: string;
7032
7039
  };
7033
7040
  sheetInfo: {
7034
7041
  id: string;
@@ -7171,6 +7178,7 @@ interface FindInstagramSettingInteractReplyMessageDto extends IFindBaseDto {
7171
7178
  accountDeviceTypeAppClone: string;
7172
7179
  accountDeviceNameAppClone: string;
7173
7180
  statusLogin: string;
7181
+ status: string;
7174
7182
  };
7175
7183
  sheetInfo: {
7176
7184
  id: string;
@@ -7305,6 +7313,7 @@ interface FindInstagramSettingInteractUnFollowDto extends IFindBaseDto {
7305
7313
  accountDeviceTypeAppClone: string;
7306
7314
  accountDeviceNameAppClone: string;
7307
7315
  statusLogin: string;
7316
+ status: string;
7308
7317
  };
7309
7318
  sheetInfo: {
7310
7319
  id: string;
@@ -7466,6 +7475,7 @@ interface FindInstagramSettingPostDto extends IFindBaseDto {
7466
7475
  accountDeviceTypeAppClone: string;
7467
7476
  accountDeviceNameAppClone: string;
7468
7477
  statusLogin: string;
7478
+ status: string;
7469
7479
  };
7470
7480
  sheetInfo: {
7471
7481
  id: string;
package/dist/index.d.ts CHANGED
@@ -1035,6 +1035,7 @@ declare enum EStatusAccountSocialLoginEmail {
1035
1035
  declare enum EStatusAccountSocialRaw {
1036
1036
  Available = "Available",
1037
1037
  InUseDevice = "InUseDevice",
1038
+ LockedOnDevice = "LockedOnDevice",
1038
1039
  NetworkError = "NetworkError",
1039
1040
  Dead = "Dead",
1040
1041
  Spam = "Spam",
@@ -3955,6 +3956,7 @@ interface FindThreadsSettingPostDto extends IFindBaseDto, IThreadsSettingPost {
3955
3956
  accountDeviceTypeAppClone: string;
3956
3957
  accountDeviceNameAppClone: string;
3957
3958
  statusLogin: string;
3959
+ status: string;
3958
3960
  };
3959
3961
  sheetInfo: {
3960
3962
  id: string;
@@ -4043,6 +4045,7 @@ interface FindThreadsSettingInteractFollowDto extends IFindBaseDto, IThreadsSett
4043
4045
  accountDeviceTypeAppClone: string;
4044
4046
  accountDeviceNameAppClone: string;
4045
4047
  statusLogin: string;
4048
+ status: string;
4046
4049
  };
4047
4050
  sheetInfo: {
4048
4051
  id: string;
@@ -4131,6 +4134,7 @@ interface FindThreadsSettingInteractUnFollowDto extends IFindBaseDto, IThreadsSe
4131
4134
  accountDeviceTypeAppClone: string;
4132
4135
  accountDeviceNameAppClone: string;
4133
4136
  statusLogin: string;
4137
+ status: string;
4134
4138
  };
4135
4139
  sheetInfo: {
4136
4140
  id: string;
@@ -4307,6 +4311,7 @@ interface FindThreadsSettingInteractReplyMessageDto extends IFindBaseDto, IThrea
4307
4311
  accountDeviceTypeAppClone: string;
4308
4312
  accountDeviceNameAppClone: string;
4309
4313
  statusLogin: string;
4314
+ status: string;
4310
4315
  };
4311
4316
  sheetInfo: {
4312
4317
  id: string;
@@ -6853,6 +6858,7 @@ interface FindInstagramSettingInteractFollowDto extends IFindBaseDto {
6853
6858
  accountDeviceTypeAppClone: string;
6854
6859
  accountDeviceNameAppClone: string;
6855
6860
  statusLogin: string;
6861
+ status: string;
6856
6862
  };
6857
6863
  sheetInfo: {
6858
6864
  id: string;
@@ -7029,6 +7035,7 @@ interface FindInstagramSettingInteractReplyCommentDto extends IFindBaseDto {
7029
7035
  accountDeviceTypeAppClone: string;
7030
7036
  accountDeviceNameAppClone: string;
7031
7037
  statusLogin: string;
7038
+ status: string;
7032
7039
  };
7033
7040
  sheetInfo: {
7034
7041
  id: string;
@@ -7171,6 +7178,7 @@ interface FindInstagramSettingInteractReplyMessageDto extends IFindBaseDto {
7171
7178
  accountDeviceTypeAppClone: string;
7172
7179
  accountDeviceNameAppClone: string;
7173
7180
  statusLogin: string;
7181
+ status: string;
7174
7182
  };
7175
7183
  sheetInfo: {
7176
7184
  id: string;
@@ -7305,6 +7313,7 @@ interface FindInstagramSettingInteractUnFollowDto extends IFindBaseDto {
7305
7313
  accountDeviceTypeAppClone: string;
7306
7314
  accountDeviceNameAppClone: string;
7307
7315
  statusLogin: string;
7316
+ status: string;
7308
7317
  };
7309
7318
  sheetInfo: {
7310
7319
  id: string;
@@ -7466,6 +7475,7 @@ interface FindInstagramSettingPostDto extends IFindBaseDto {
7466
7475
  accountDeviceTypeAppClone: string;
7467
7476
  accountDeviceNameAppClone: string;
7468
7477
  statusLogin: string;
7478
+ status: string;
7469
7479
  };
7470
7480
  sheetInfo: {
7471
7481
  id: string;
package/dist/index.js CHANGED
@@ -1471,6 +1471,7 @@ var EStatusAccountSocialLoginEmail = /* @__PURE__ */ ((EStatusAccountSocialLogin
1471
1471
  var EStatusAccountSocialRaw = /* @__PURE__ */ ((EStatusAccountSocialRaw2) => {
1472
1472
  EStatusAccountSocialRaw2["Available"] = "Available";
1473
1473
  EStatusAccountSocialRaw2["InUseDevice"] = "InUseDevice";
1474
+ EStatusAccountSocialRaw2["LockedOnDevice"] = "LockedOnDevice";
1474
1475
  EStatusAccountSocialRaw2["NetworkError"] = "NetworkError";
1475
1476
  EStatusAccountSocialRaw2["Dead"] = "Dead";
1476
1477
  EStatusAccountSocialRaw2["Spam"] = "Spam";
package/dist/index.mjs CHANGED
@@ -1308,6 +1308,7 @@ var EStatusAccountSocialLoginEmail = /* @__PURE__ */ ((EStatusAccountSocialLogin
1308
1308
  var EStatusAccountSocialRaw = /* @__PURE__ */ ((EStatusAccountSocialRaw2) => {
1309
1309
  EStatusAccountSocialRaw2["Available"] = "Available";
1310
1310
  EStatusAccountSocialRaw2["InUseDevice"] = "InUseDevice";
1311
+ EStatusAccountSocialRaw2["LockedOnDevice"] = "LockedOnDevice";
1311
1312
  EStatusAccountSocialRaw2["NetworkError"] = "NetworkError";
1312
1313
  EStatusAccountSocialRaw2["Dead"] = "Dead";
1313
1314
  EStatusAccountSocialRaw2["Spam"] = "Spam";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation-lib",
3
- "version": "5.4.302",
3
+ "version": "5.4.304",
4
4
  "description": "Common features and type of applications auto",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -1,81 +1,81 @@
1
- @echo off
2
- setlocal enabledelayedexpansion
3
- chcp 65001 >nul
4
- echo ====================================
5
- echo FILE SEARCH AND LIST UTILITY
6
- echo ====================================
7
- echo.
8
-
9
- set /p folder_path="Enter folder path: "
10
-
11
- if not exist "%folder_path%" (
12
- echo.
13
- echo [ERROR] Folder does not exist!
14
- pause
15
- exit /b
16
- )
17
-
18
- echo.
19
- set /p file_pattern="Enter file name pattern (press Enter to list all files): "
20
-
21
- if "%file_pattern%"=="" (
22
- set search_mode=ALL_FILES
23
- set output_file=all_files_%date:~10,4%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%%time:~6,2%.txt
24
- ) else (
25
- set search_mode=PATTERN_SEARCH
26
- set output_file=search_%file_pattern:_=_%_%date:~10,4%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%%time:~6,2%.txt
27
- )
28
-
29
- set output_file=%output_file: =0%
30
-
31
- echo.
32
- echo Searching files...
33
- if "%search_mode%"=="PATTERN_SEARCH" (
34
- echo Pattern: *%file_pattern%*
35
- ) else (
36
- echo Listing all files...
37
- )
38
- echo.
39
-
40
- echo ============ SEARCH RESULTS ============ > "%output_file%"
41
- echo Folder: %folder_path% >> "%output_file%"
42
- echo Time: %date% %time% >> "%output_file%"
43
- if "%search_mode%"=="PATTERN_SEARCH" (
44
- echo Search Pattern: *%file_pattern%* >> "%output_file%"
45
- ) else (
46
- echo Search Mode: All Files >> "%output_file%"
47
- )
48
- echo ====================================== >> "%output_file%"
49
- echo. >> "%output_file%"
50
-
51
- set count=0
52
-
53
- if "%search_mode%"=="ALL_FILES" (
54
- for /r "%folder_path%" %%f in (*) do (
55
- echo %%f
56
- echo %%f >> "%output_file%"
57
- set /a count+=1
58
- )
59
- ) else (
60
- for /r "%folder_path%" %%f in (*) do (
61
- echo %%~nxf | findstr /i "%file_pattern%" >nul
62
- if !errorlevel! equ 0 (
63
- echo %%f
64
- echo %%f >> "%output_file%"
65
- set /a count+=1
66
- )
67
- )
68
- )
69
-
70
- echo.
71
- echo ====================================
72
- if "%search_mode%"=="PATTERN_SEARCH" (
73
- echo Total matching files: %count%
74
- ) else (
75
- echo Total files: %count%
76
- )
77
- echo Result saved to: %output_file%
78
- echo ====================================
79
- echo.
80
-
81
- pause
1
+ @echo off
2
+ setlocal enabledelayedexpansion
3
+ chcp 65001 >nul
4
+ echo ====================================
5
+ echo FILE SEARCH AND LIST UTILITY
6
+ echo ====================================
7
+ echo.
8
+
9
+ set /p folder_path="Enter folder path: "
10
+
11
+ if not exist "%folder_path%" (
12
+ echo.
13
+ echo [ERROR] Folder does not exist!
14
+ pause
15
+ exit /b
16
+ )
17
+
18
+ echo.
19
+ set /p file_pattern="Enter file name pattern (press Enter to list all files): "
20
+
21
+ if "%file_pattern%"=="" (
22
+ set search_mode=ALL_FILES
23
+ set output_file=all_files_%date:~10,4%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%%time:~6,2%.txt
24
+ ) else (
25
+ set search_mode=PATTERN_SEARCH
26
+ set output_file=search_%file_pattern:_=_%_%date:~10,4%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%%time:~6,2%.txt
27
+ )
28
+
29
+ set output_file=%output_file: =0%
30
+
31
+ echo.
32
+ echo Searching files...
33
+ if "%search_mode%"=="PATTERN_SEARCH" (
34
+ echo Pattern: *%file_pattern%*
35
+ ) else (
36
+ echo Listing all files...
37
+ )
38
+ echo.
39
+
40
+ echo ============ SEARCH RESULTS ============ > "%output_file%"
41
+ echo Folder: %folder_path% >> "%output_file%"
42
+ echo Time: %date% %time% >> "%output_file%"
43
+ if "%search_mode%"=="PATTERN_SEARCH" (
44
+ echo Search Pattern: *%file_pattern%* >> "%output_file%"
45
+ ) else (
46
+ echo Search Mode: All Files >> "%output_file%"
47
+ )
48
+ echo ====================================== >> "%output_file%"
49
+ echo. >> "%output_file%"
50
+
51
+ set count=0
52
+
53
+ if "%search_mode%"=="ALL_FILES" (
54
+ for /r "%folder_path%" %%f in (*) do (
55
+ echo %%f
56
+ echo %%f >> "%output_file%"
57
+ set /a count+=1
58
+ )
59
+ ) else (
60
+ for /r "%folder_path%" %%f in (*) do (
61
+ echo %%~nxf | findstr /i "%file_pattern%" >nul
62
+ if !errorlevel! equ 0 (
63
+ echo %%f
64
+ echo %%f >> "%output_file%"
65
+ set /a count+=1
66
+ )
67
+ )
68
+ )
69
+
70
+ echo.
71
+ echo ====================================
72
+ if "%search_mode%"=="PATTERN_SEARCH" (
73
+ echo Total matching files: %count%
74
+ ) else (
75
+ echo Total files: %count%
76
+ )
77
+ echo Result saved to: %output_file%
78
+ echo ====================================
79
+ echo.
80
+
81
+ pause
package/requirements.txt CHANGED
@@ -1,8 +1,8 @@
1
- pyinstaller
2
- pywin32
3
- pytz
4
- webdriver-manager
5
- selenium
6
- undetected-chromedriver
7
- requests
1
+ pyinstaller
2
+ pywin32
3
+ pytz
4
+ webdriver-manager
5
+ selenium
6
+ undetected-chromedriver
7
+ requests
8
8
  rapidfuzz