automation-lib 5.4.399 → 5.4.404

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.js CHANGED
@@ -57,6 +57,8 @@ __export(index_exports, {
57
57
  ELarkNotiToolDevice: () => ELarkNotiToolDevice,
58
58
  ELarkObject: () => ELarkObject,
59
59
  ELarkTypeNotification: () => ELarkTypeNotification,
60
+ EManualContentStatusPost: () => EManualContentStatusPost,
61
+ EManualContentTypePost: () => EManualContentTypePost,
60
62
  EObjectName: () => EObjectName,
61
63
  EPCLogLevel: () => EPCLogLevel,
62
64
  EPCLogSource: () => EPCLogSource,
@@ -2100,6 +2102,8 @@ var models_exports = {};
2100
2102
  __export(models_exports, {
2101
2103
  Auth: () => auth_exports,
2102
2104
  Common: () => common_exports,
2105
+ EManualContentStatusPost: () => EManualContentStatusPost,
2106
+ EManualContentTypePost: () => EManualContentTypePost,
2103
2107
  EStatusAccountCHPlayICloud: () => EStatusAccountCHPlayICloud,
2104
2108
  EStatusAccountCanva: () => EStatusAccountCanva,
2105
2109
  EStatusAccountDrive: () => EStatusAccountDrive,
@@ -2146,6 +2150,8 @@ var ETypeSettingInstagram = /* @__PURE__ */ ((ETypeSettingInstagram2) => {
2146
2150
  // src/interfaces/models/tool/index.ts
2147
2151
  var tool_exports = {};
2148
2152
  __export(tool_exports, {
2153
+ EManualContentStatusPost: () => EManualContentStatusPost,
2154
+ EManualContentTypePost: () => EManualContentTypePost,
2149
2155
  EStatusAccountCHPlayICloud: () => EStatusAccountCHPlayICloud,
2150
2156
  EStatusAccountCanva: () => EStatusAccountCanva,
2151
2157
  EStatusAccountDrive: () => EStatusAccountDrive,
@@ -2251,6 +2257,21 @@ var EStatusVPSReplace = /* @__PURE__ */ ((EStatusVPSReplace2) => {
2251
2257
  return EStatusVPSReplace2;
2252
2258
  })(EStatusVPSReplace || {});
2253
2259
 
2260
+ // src/interfaces/models/tool/tasks/manual-content-social/enum/EManualContentStatusPost.enum.ts
2261
+ var EManualContentStatusPost = /* @__PURE__ */ ((EManualContentStatusPost2) => {
2262
+ EManualContentStatusPost2["Draft"] = "Draft";
2263
+ EManualContentStatusPost2["Use"] = "Use";
2264
+ EManualContentStatusPost2["Posted"] = "Posted";
2265
+ EManualContentStatusPost2["Error"] = "Error";
2266
+ return EManualContentStatusPost2;
2267
+ })(EManualContentStatusPost || {});
2268
+ var EManualContentTypePost = /* @__PURE__ */ ((EManualContentTypePost2) => {
2269
+ EManualContentTypePost2["New"] = "New";
2270
+ EManualContentTypePost2["Reel"] = "Reel";
2271
+ EManualContentTypePost2["SquareProduct"] = "SquareProduct";
2272
+ return EManualContentTypePost2;
2273
+ })(EManualContentTypePost || {});
2274
+
2254
2275
  // src/interfaces/models/forum/index.ts
2255
2276
  var forum_exports = {};
2256
2277
 
@@ -2268,6 +2289,8 @@ var interfaces_exports = {};
2268
2289
  __export(interfaces_exports, {
2269
2290
  Auth: () => auth_exports,
2270
2291
  Common: () => common_exports,
2292
+ EManualContentStatusPost: () => EManualContentStatusPost,
2293
+ EManualContentTypePost: () => EManualContentTypePost,
2271
2294
  EStatusAccountCHPlayICloud: () => EStatusAccountCHPlayICloud,
2272
2295
  EStatusAccountCanva: () => EStatusAccountCanva,
2273
2296
  EStatusAccountDrive: () => EStatusAccountDrive,
@@ -2324,6 +2347,8 @@ __export(interfaces_exports, {
2324
2347
  ELarkNotiToolDevice,
2325
2348
  ELarkObject,
2326
2349
  ELarkTypeNotification,
2350
+ EManualContentStatusPost,
2351
+ EManualContentTypePost,
2327
2352
  EObjectName,
2328
2353
  EPCLogLevel,
2329
2354
  EPCLogSource,
package/dist/index.mjs CHANGED
@@ -1929,6 +1929,8 @@ var models_exports = {};
1929
1929
  __export(models_exports, {
1930
1930
  Auth: () => auth_exports,
1931
1931
  Common: () => common_exports,
1932
+ EManualContentStatusPost: () => EManualContentStatusPost,
1933
+ EManualContentTypePost: () => EManualContentTypePost,
1932
1934
  EStatusAccountCHPlayICloud: () => EStatusAccountCHPlayICloud,
1933
1935
  EStatusAccountCanva: () => EStatusAccountCanva,
1934
1936
  EStatusAccountDrive: () => EStatusAccountDrive,
@@ -1975,6 +1977,8 @@ var ETypeSettingInstagram = /* @__PURE__ */ ((ETypeSettingInstagram2) => {
1975
1977
  // src/interfaces/models/tool/index.ts
1976
1978
  var tool_exports = {};
1977
1979
  __export(tool_exports, {
1980
+ EManualContentStatusPost: () => EManualContentStatusPost,
1981
+ EManualContentTypePost: () => EManualContentTypePost,
1978
1982
  EStatusAccountCHPlayICloud: () => EStatusAccountCHPlayICloud,
1979
1983
  EStatusAccountCanva: () => EStatusAccountCanva,
1980
1984
  EStatusAccountDrive: () => EStatusAccountDrive,
@@ -2080,6 +2084,21 @@ var EStatusVPSReplace = /* @__PURE__ */ ((EStatusVPSReplace2) => {
2080
2084
  return EStatusVPSReplace2;
2081
2085
  })(EStatusVPSReplace || {});
2082
2086
 
2087
+ // src/interfaces/models/tool/tasks/manual-content-social/enum/EManualContentStatusPost.enum.ts
2088
+ var EManualContentStatusPost = /* @__PURE__ */ ((EManualContentStatusPost2) => {
2089
+ EManualContentStatusPost2["Draft"] = "Draft";
2090
+ EManualContentStatusPost2["Use"] = "Use";
2091
+ EManualContentStatusPost2["Posted"] = "Posted";
2092
+ EManualContentStatusPost2["Error"] = "Error";
2093
+ return EManualContentStatusPost2;
2094
+ })(EManualContentStatusPost || {});
2095
+ var EManualContentTypePost = /* @__PURE__ */ ((EManualContentTypePost2) => {
2096
+ EManualContentTypePost2["New"] = "New";
2097
+ EManualContentTypePost2["Reel"] = "Reel";
2098
+ EManualContentTypePost2["SquareProduct"] = "SquareProduct";
2099
+ return EManualContentTypePost2;
2100
+ })(EManualContentTypePost || {});
2101
+
2083
2102
  // src/interfaces/models/forum/index.ts
2084
2103
  var forum_exports = {};
2085
2104
 
@@ -2097,6 +2116,8 @@ var interfaces_exports = {};
2097
2116
  __export(interfaces_exports, {
2098
2117
  Auth: () => auth_exports,
2099
2118
  Common: () => common_exports,
2119
+ EManualContentStatusPost: () => EManualContentStatusPost,
2120
+ EManualContentTypePost: () => EManualContentTypePost,
2100
2121
  EStatusAccountCHPlayICloud: () => EStatusAccountCHPlayICloud,
2101
2122
  EStatusAccountCanva: () => EStatusAccountCanva,
2102
2123
  EStatusAccountDrive: () => EStatusAccountDrive,
@@ -2152,6 +2173,8 @@ export {
2152
2173
  ELarkNotiToolDevice,
2153
2174
  ELarkObject,
2154
2175
  ELarkTypeNotification,
2176
+ EManualContentStatusPost,
2177
+ EManualContentTypePost,
2155
2178
  EObjectName,
2156
2179
  EPCLogLevel,
2157
2180
  EPCLogSource,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation-lib",
3
- "version": "5.4.399",
3
+ "version": "5.4.404",
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