automation-lib 5.4.393 → 5.4.395
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 +103 -164
- package/dist/index.d.ts +103 -164
- package/dist/index.js +18 -12
- package/dist/index.mjs +17 -11
- package/package.json +1 -1
- package/read-file-path.bat +81 -81
package/dist/index.js
CHANGED
|
@@ -90,7 +90,6 @@ __export(index_exports, {
|
|
|
90
90
|
EStatusChannel: () => EStatusChannel,
|
|
91
91
|
EStatusCommon: () => EStatusCommon,
|
|
92
92
|
EStatusCreateNew: () => EStatusCreateNew,
|
|
93
|
-
EStatusDevice: () => EStatusDevice,
|
|
94
93
|
EStatusDeviceChangeName: () => EStatusDeviceChangeName,
|
|
95
94
|
EStatusDeviceChangeNew: () => EStatusDeviceChangeNew,
|
|
96
95
|
EStatusDeviceConnectPC: () => EStatusDeviceConnectPC,
|
|
@@ -153,6 +152,7 @@ __export(index_exports, {
|
|
|
153
152
|
ETypeProxyNewIP: () => ETypeProxyNewIP,
|
|
154
153
|
ETypeProxyProvider: () => ETypeProxyProvider,
|
|
155
154
|
ETypeRatioImage: () => ETypeRatioImage,
|
|
155
|
+
ETypeSettingInstagram: () => ETypeSettingInstagram,
|
|
156
156
|
ETypeSheetWorkClassify: () => ETypeSheetWorkClassify,
|
|
157
157
|
ETypeSheetWorkPin: () => ETypeSheetWorkPin,
|
|
158
158
|
ETypeSocial: () => ETypeSocial,
|
|
@@ -666,7 +666,6 @@ __export(enums_exports, {
|
|
|
666
666
|
EStatusChannel: () => EStatusChannel,
|
|
667
667
|
EStatusCommon: () => EStatusCommon,
|
|
668
668
|
EStatusCreateNew: () => EStatusCreateNew,
|
|
669
|
-
EStatusDevice: () => EStatusDevice,
|
|
670
669
|
EStatusDeviceChangeName: () => EStatusDeviceChangeName,
|
|
671
670
|
EStatusDeviceChangeNew: () => EStatusDeviceChangeNew,
|
|
672
671
|
EStatusDeviceConnectPC: () => EStatusDeviceConnectPC,
|
|
@@ -1336,7 +1335,6 @@ __export(status_exports, {
|
|
|
1336
1335
|
EStatusChangeInfo: () => EStatusChangeInfo,
|
|
1337
1336
|
EStatusCommon: () => EStatusCommon,
|
|
1338
1337
|
EStatusCreateNew: () => EStatusCreateNew,
|
|
1339
|
-
EStatusDevice: () => EStatusDevice,
|
|
1340
1338
|
EStatusDeviceChangeName: () => EStatusDeviceChangeName,
|
|
1341
1339
|
EStatusDeviceChangeNew: () => EStatusDeviceChangeNew,
|
|
1342
1340
|
EStatusDeviceConnectPC: () => EStatusDeviceConnectPC,
|
|
@@ -1544,14 +1542,6 @@ var EStatusDeviceRunningSocial = /* @__PURE__ */ ((EStatusDeviceRunningSocial2)
|
|
|
1544
1542
|
EStatusDeviceRunningSocial2["Dead"] = "Dead";
|
|
1545
1543
|
return EStatusDeviceRunningSocial2;
|
|
1546
1544
|
})(EStatusDeviceRunningSocial || {});
|
|
1547
|
-
var EStatusDevice = /* @__PURE__ */ ((EStatusDevice2) => {
|
|
1548
|
-
EStatusDevice2["Live"] = "Live";
|
|
1549
|
-
EStatusDevice2["Ready"] = "Ready";
|
|
1550
|
-
EStatusDevice2["Error"] = "Error";
|
|
1551
|
-
EStatusDevice2["Dead"] = "Dead";
|
|
1552
|
-
EStatusDevice2["NA"] = "N/A";
|
|
1553
|
-
return EStatusDevice2;
|
|
1554
|
-
})(EStatusDevice || {});
|
|
1555
1545
|
var EStatusDeviceHubStatus = /* @__PURE__ */ ((EStatusDeviceHubStatus2) => {
|
|
1556
1546
|
EStatusDeviceHubStatus2["NA"] = "N/A";
|
|
1557
1547
|
EStatusDeviceHubStatus2["Online"] = "Online";
|
|
@@ -2119,6 +2109,7 @@ __export(models_exports, {
|
|
|
2119
2109
|
EStatusProxyNewIP: () => EStatusProxyNewIP,
|
|
2120
2110
|
EStatusVPS: () => EStatusVPS,
|
|
2121
2111
|
EStatusVPSReplace: () => EStatusVPSReplace,
|
|
2112
|
+
ETypeSettingInstagram: () => ETypeSettingInstagram,
|
|
2122
2113
|
Forum: () => forum_exports,
|
|
2123
2114
|
History: () => history_exports,
|
|
2124
2115
|
Permission: () => permission_exports,
|
|
@@ -2138,6 +2129,20 @@ var auth_exports = {};
|
|
|
2138
2129
|
|
|
2139
2130
|
// src/interfaces/models/socials/index.ts
|
|
2140
2131
|
var socials_exports = {};
|
|
2132
|
+
__export(socials_exports, {
|
|
2133
|
+
ETypeSettingInstagram: () => ETypeSettingInstagram
|
|
2134
|
+
});
|
|
2135
|
+
|
|
2136
|
+
// src/interfaces/models/socials/instagram/settings/enum/ETypeSettingInstagram.enum.ts
|
|
2137
|
+
var ETypeSettingInstagram = /* @__PURE__ */ ((ETypeSettingInstagram2) => {
|
|
2138
|
+
ETypeSettingInstagram2["InteractBlockUser"] = "InteractBlockUser";
|
|
2139
|
+
ETypeSettingInstagram2["InteractFollow"] = "InteractFollow";
|
|
2140
|
+
ETypeSettingInstagram2["InteractReplyComment"] = "InteractReplyComment";
|
|
2141
|
+
ETypeSettingInstagram2["InteractReplyMessage"] = "InteractReplyMessage";
|
|
2142
|
+
ETypeSettingInstagram2["InteractUnFollow"] = "InteractUnFollow";
|
|
2143
|
+
ETypeSettingInstagram2["Post"] = "Post";
|
|
2144
|
+
return ETypeSettingInstagram2;
|
|
2145
|
+
})(ETypeSettingInstagram || {});
|
|
2141
2146
|
|
|
2142
2147
|
// src/interfaces/models/tool/index.ts
|
|
2143
2148
|
var tool_exports = {};
|
|
@@ -2273,6 +2278,7 @@ __export(interfaces_exports, {
|
|
|
2273
2278
|
EStatusProxyNewIP: () => EStatusProxyNewIP,
|
|
2274
2279
|
EStatusVPS: () => EStatusVPS,
|
|
2275
2280
|
EStatusVPSReplace: () => EStatusVPSReplace,
|
|
2281
|
+
ETypeSettingInstagram: () => ETypeSettingInstagram,
|
|
2276
2282
|
Forum: () => forum_exports,
|
|
2277
2283
|
History: () => history_exports,
|
|
2278
2284
|
Permission: () => permission_exports,
|
|
@@ -2352,7 +2358,6 @@ __export(interfaces_exports, {
|
|
|
2352
2358
|
EStatusChannel,
|
|
2353
2359
|
EStatusCommon,
|
|
2354
2360
|
EStatusCreateNew,
|
|
2355
|
-
EStatusDevice,
|
|
2356
2361
|
EStatusDeviceChangeName,
|
|
2357
2362
|
EStatusDeviceChangeNew,
|
|
2358
2363
|
EStatusDeviceConnectPC,
|
|
@@ -2415,6 +2420,7 @@ __export(interfaces_exports, {
|
|
|
2415
2420
|
ETypeProxyNewIP,
|
|
2416
2421
|
ETypeProxyProvider,
|
|
2417
2422
|
ETypeRatioImage,
|
|
2423
|
+
ETypeSettingInstagram,
|
|
2418
2424
|
ETypeSheetWorkClassify,
|
|
2419
2425
|
ETypeSheetWorkPin,
|
|
2420
2426
|
ETypeSocial,
|
package/dist/index.mjs
CHANGED
|
@@ -495,7 +495,6 @@ __export(enums_exports, {
|
|
|
495
495
|
EStatusChannel: () => EStatusChannel,
|
|
496
496
|
EStatusCommon: () => EStatusCommon,
|
|
497
497
|
EStatusCreateNew: () => EStatusCreateNew,
|
|
498
|
-
EStatusDevice: () => EStatusDevice,
|
|
499
498
|
EStatusDeviceChangeName: () => EStatusDeviceChangeName,
|
|
500
499
|
EStatusDeviceChangeNew: () => EStatusDeviceChangeNew,
|
|
501
500
|
EStatusDeviceConnectPC: () => EStatusDeviceConnectPC,
|
|
@@ -1165,7 +1164,6 @@ __export(status_exports, {
|
|
|
1165
1164
|
EStatusChangeInfo: () => EStatusChangeInfo,
|
|
1166
1165
|
EStatusCommon: () => EStatusCommon,
|
|
1167
1166
|
EStatusCreateNew: () => EStatusCreateNew,
|
|
1168
|
-
EStatusDevice: () => EStatusDevice,
|
|
1169
1167
|
EStatusDeviceChangeName: () => EStatusDeviceChangeName,
|
|
1170
1168
|
EStatusDeviceChangeNew: () => EStatusDeviceChangeNew,
|
|
1171
1169
|
EStatusDeviceConnectPC: () => EStatusDeviceConnectPC,
|
|
@@ -1373,14 +1371,6 @@ var EStatusDeviceRunningSocial = /* @__PURE__ */ ((EStatusDeviceRunningSocial2)
|
|
|
1373
1371
|
EStatusDeviceRunningSocial2["Dead"] = "Dead";
|
|
1374
1372
|
return EStatusDeviceRunningSocial2;
|
|
1375
1373
|
})(EStatusDeviceRunningSocial || {});
|
|
1376
|
-
var EStatusDevice = /* @__PURE__ */ ((EStatusDevice2) => {
|
|
1377
|
-
EStatusDevice2["Live"] = "Live";
|
|
1378
|
-
EStatusDevice2["Ready"] = "Ready";
|
|
1379
|
-
EStatusDevice2["Error"] = "Error";
|
|
1380
|
-
EStatusDevice2["Dead"] = "Dead";
|
|
1381
|
-
EStatusDevice2["NA"] = "N/A";
|
|
1382
|
-
return EStatusDevice2;
|
|
1383
|
-
})(EStatusDevice || {});
|
|
1384
1374
|
var EStatusDeviceHubStatus = /* @__PURE__ */ ((EStatusDeviceHubStatus2) => {
|
|
1385
1375
|
EStatusDeviceHubStatus2["NA"] = "N/A";
|
|
1386
1376
|
EStatusDeviceHubStatus2["Online"] = "Online";
|
|
@@ -1948,6 +1938,7 @@ __export(models_exports, {
|
|
|
1948
1938
|
EStatusProxyNewIP: () => EStatusProxyNewIP,
|
|
1949
1939
|
EStatusVPS: () => EStatusVPS,
|
|
1950
1940
|
EStatusVPSReplace: () => EStatusVPSReplace,
|
|
1941
|
+
ETypeSettingInstagram: () => ETypeSettingInstagram,
|
|
1951
1942
|
Forum: () => forum_exports,
|
|
1952
1943
|
History: () => history_exports,
|
|
1953
1944
|
Permission: () => permission_exports,
|
|
@@ -1967,6 +1958,20 @@ var auth_exports = {};
|
|
|
1967
1958
|
|
|
1968
1959
|
// src/interfaces/models/socials/index.ts
|
|
1969
1960
|
var socials_exports = {};
|
|
1961
|
+
__export(socials_exports, {
|
|
1962
|
+
ETypeSettingInstagram: () => ETypeSettingInstagram
|
|
1963
|
+
});
|
|
1964
|
+
|
|
1965
|
+
// src/interfaces/models/socials/instagram/settings/enum/ETypeSettingInstagram.enum.ts
|
|
1966
|
+
var ETypeSettingInstagram = /* @__PURE__ */ ((ETypeSettingInstagram2) => {
|
|
1967
|
+
ETypeSettingInstagram2["InteractBlockUser"] = "InteractBlockUser";
|
|
1968
|
+
ETypeSettingInstagram2["InteractFollow"] = "InteractFollow";
|
|
1969
|
+
ETypeSettingInstagram2["InteractReplyComment"] = "InteractReplyComment";
|
|
1970
|
+
ETypeSettingInstagram2["InteractReplyMessage"] = "InteractReplyMessage";
|
|
1971
|
+
ETypeSettingInstagram2["InteractUnFollow"] = "InteractUnFollow";
|
|
1972
|
+
ETypeSettingInstagram2["Post"] = "Post";
|
|
1973
|
+
return ETypeSettingInstagram2;
|
|
1974
|
+
})(ETypeSettingInstagram || {});
|
|
1970
1975
|
|
|
1971
1976
|
// src/interfaces/models/tool/index.ts
|
|
1972
1977
|
var tool_exports = {};
|
|
@@ -2102,6 +2107,7 @@ __export(interfaces_exports, {
|
|
|
2102
2107
|
EStatusProxyNewIP: () => EStatusProxyNewIP,
|
|
2103
2108
|
EStatusVPS: () => EStatusVPS,
|
|
2104
2109
|
EStatusVPSReplace: () => EStatusVPSReplace,
|
|
2110
|
+
ETypeSettingInstagram: () => ETypeSettingInstagram,
|
|
2105
2111
|
Forum: () => forum_exports,
|
|
2106
2112
|
History: () => history_exports,
|
|
2107
2113
|
Permission: () => permission_exports,
|
|
@@ -2180,7 +2186,6 @@ export {
|
|
|
2180
2186
|
EStatusChannel,
|
|
2181
2187
|
EStatusCommon,
|
|
2182
2188
|
EStatusCreateNew,
|
|
2183
|
-
EStatusDevice,
|
|
2184
2189
|
EStatusDeviceChangeName,
|
|
2185
2190
|
EStatusDeviceChangeNew,
|
|
2186
2191
|
EStatusDeviceConnectPC,
|
|
@@ -2243,6 +2248,7 @@ export {
|
|
|
2243
2248
|
ETypeProxyNewIP,
|
|
2244
2249
|
ETypeProxyProvider,
|
|
2245
2250
|
ETypeRatioImage,
|
|
2251
|
+
ETypeSettingInstagram,
|
|
2246
2252
|
ETypeSheetWorkClassify,
|
|
2247
2253
|
ETypeSheetWorkPin,
|
|
2248
2254
|
ETypeSocial,
|
package/package.json
CHANGED
package/read-file-path.bat
CHANGED
|
@@ -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
|