automation-lib 6.6.542 → 6.6.543
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 +50 -62
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/commit.bat
CHANGED
|
@@ -1,62 +1,50 @@
|
|
|
1
|
-
@echo off
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
echo
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
::
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
::
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
git commit -m "v%newVersion% - %commit_message%"
|
|
52
|
-
timeout /t 2 /nobreak >nul
|
|
53
|
-
|
|
54
|
-
echo --- Push to hs main ---
|
|
55
|
-
git push hs main && echo [OK] Push hs main xong. || echo [LOI] Push hs main that bai.
|
|
56
|
-
|
|
57
|
-
echo.
|
|
58
|
-
echo ===========================================
|
|
59
|
-
echo HOAN TAT! Version: %newVersion%
|
|
60
|
-
echo ===========================================
|
|
61
|
-
pause
|
|
62
|
-
endlocal
|
|
1
|
+
@echo off
|
|
2
|
+
|
|
3
|
+
:: Add all changes to git
|
|
4
|
+
git add .
|
|
5
|
+
|
|
6
|
+
:: Commit changes with a message
|
|
7
|
+
echo Committing changes...
|
|
8
|
+
set /p commit_message="Enter commit message: "
|
|
9
|
+
git commit -m "%commit_message%"
|
|
10
|
+
sleep 2
|
|
11
|
+
|
|
12
|
+
:: Push changes to the 'main' branch of the 'cp' remote
|
|
13
|
+
git pull origin toan
|
|
14
|
+
|
|
15
|
+
:: Read the current version from package.json
|
|
16
|
+
for /f "tokens=2 delims=:, " %%i in ('findstr "version" package.json') do set currentVersion=%%i
|
|
17
|
+
|
|
18
|
+
:: Remove quotes from the version string
|
|
19
|
+
set currentVersion=%currentVersion:"=%
|
|
20
|
+
|
|
21
|
+
:: Split version into its components
|
|
22
|
+
for /f "tokens=1,2,3 delims=." %%a in ("%currentVersion%") do (
|
|
23
|
+
set major=%%a
|
|
24
|
+
set minor=%%b
|
|
25
|
+
set patch=%%c
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
:: Increment the patch version
|
|
29
|
+
set /a patch+=1
|
|
30
|
+
|
|
31
|
+
:: Create the new version string
|
|
32
|
+
set newVersion=%major%.%minor%.%patch%
|
|
33
|
+
|
|
34
|
+
:: Update the version in package.json
|
|
35
|
+
powershell -Command "(Get-Content package.json) -replace '\"version\": \"%currentVersion%\"', '\"version\": \"%newVersion%\"' | Set-Content package.json"
|
|
36
|
+
|
|
37
|
+
:: Display the new version
|
|
38
|
+
echo New version: %newVersion%
|
|
39
|
+
|
|
40
|
+
:: Run npm publish using call
|
|
41
|
+
call npm run pub
|
|
42
|
+
|
|
43
|
+
git add .
|
|
44
|
+
sleep 1
|
|
45
|
+
git commit -m "%commit_message%"
|
|
46
|
+
sleep 2
|
|
47
|
+
|
|
48
|
+
git push origin toan
|
|
49
|
+
|
|
50
|
+
|
package/dist/index.d.mts
CHANGED
|
@@ -5205,10 +5205,6 @@ interface FindAccountDriveDto extends IFindBaseDto {
|
|
|
5205
5205
|
password: string;
|
|
5206
5206
|
code2FA: string;
|
|
5207
5207
|
googleRefreshToken?: string;
|
|
5208
|
-
authenticatedEmail?: string | null;
|
|
5209
|
-
tokenExpiryDate?: Date | string | null;
|
|
5210
|
-
lastAuthorizedAt?: Date | string | null;
|
|
5211
|
-
emailMismatch?: boolean;
|
|
5212
5208
|
idriveE2Credentials?: IIDriveE2Credentials;
|
|
5213
5209
|
currentSpace: string;
|
|
5214
5210
|
maxSpace: string;
|
|
@@ -5369,9 +5365,6 @@ interface IAccountDrive extends IBaseModel, IAssignUser, ITrackingModel {
|
|
|
5369
5365
|
password: string;
|
|
5370
5366
|
code2FA: string;
|
|
5371
5367
|
googleRefreshToken?: string;
|
|
5372
|
-
authenticatedEmail?: string | null;
|
|
5373
|
-
tokenExpiryDate?: Date | string | null;
|
|
5374
|
-
lastAuthorizedAt?: Date | string | null;
|
|
5375
5368
|
idriveE2Credentials?: IIDriveE2Credentials;
|
|
5376
5369
|
currentSpace: string;
|
|
5377
5370
|
maxSpace: string;
|
|
@@ -18160,9 +18153,14 @@ declare enum ETypeFileItemPostDraftManualContentInstagram {
|
|
|
18160
18153
|
Image = "Image"
|
|
18161
18154
|
}
|
|
18162
18155
|
|
|
18156
|
+
interface IDraftManualGroupInstagram extends IBaseModel, ITrackingModel {
|
|
18157
|
+
groupName: string;
|
|
18158
|
+
}
|
|
18159
|
+
|
|
18163
18160
|
interface IDraftManualContentInstagram extends IBaseModel, ITrackingModel {
|
|
18164
18161
|
folderName: string;
|
|
18165
18162
|
sttDraftManualContent: number;
|
|
18163
|
+
draftManualGroup: string | IDraftManualGroupInstagram;
|
|
18166
18164
|
}
|
|
18167
18165
|
|
|
18168
18166
|
interface IDraftManualContentInstagramChildren extends IBaseModel, ITrackingModel {
|
|
@@ -18265,9 +18263,11 @@ interface FindDraftManualContentInstagramDto extends IFindBaseDto {
|
|
|
18265
18263
|
}
|
|
18266
18264
|
interface FilterDraftManualContentInstagramDto extends IFilterBaseDto {
|
|
18267
18265
|
folderName: string[];
|
|
18266
|
+
draftManualGroup: string[];
|
|
18268
18267
|
}
|
|
18269
18268
|
declare enum EFilterOptionDraftManualContentInstagram {
|
|
18270
18269
|
FolderName = "folderName",
|
|
18270
|
+
DraftManualGroup = "draftManualGroup",
|
|
18271
18271
|
DepartmentCreator = "departmentCreator",
|
|
18272
18272
|
TeamCreator = "teamCreator",
|
|
18273
18273
|
LeaderCreator = "leaderCreator",
|
package/dist/index.d.ts
CHANGED
|
@@ -5205,10 +5205,6 @@ interface FindAccountDriveDto extends IFindBaseDto {
|
|
|
5205
5205
|
password: string;
|
|
5206
5206
|
code2FA: string;
|
|
5207
5207
|
googleRefreshToken?: string;
|
|
5208
|
-
authenticatedEmail?: string | null;
|
|
5209
|
-
tokenExpiryDate?: Date | string | null;
|
|
5210
|
-
lastAuthorizedAt?: Date | string | null;
|
|
5211
|
-
emailMismatch?: boolean;
|
|
5212
5208
|
idriveE2Credentials?: IIDriveE2Credentials;
|
|
5213
5209
|
currentSpace: string;
|
|
5214
5210
|
maxSpace: string;
|
|
@@ -5369,9 +5365,6 @@ interface IAccountDrive extends IBaseModel, IAssignUser, ITrackingModel {
|
|
|
5369
5365
|
password: string;
|
|
5370
5366
|
code2FA: string;
|
|
5371
5367
|
googleRefreshToken?: string;
|
|
5372
|
-
authenticatedEmail?: string | null;
|
|
5373
|
-
tokenExpiryDate?: Date | string | null;
|
|
5374
|
-
lastAuthorizedAt?: Date | string | null;
|
|
5375
5368
|
idriveE2Credentials?: IIDriveE2Credentials;
|
|
5376
5369
|
currentSpace: string;
|
|
5377
5370
|
maxSpace: string;
|
|
@@ -18160,9 +18153,14 @@ declare enum ETypeFileItemPostDraftManualContentInstagram {
|
|
|
18160
18153
|
Image = "Image"
|
|
18161
18154
|
}
|
|
18162
18155
|
|
|
18156
|
+
interface IDraftManualGroupInstagram extends IBaseModel, ITrackingModel {
|
|
18157
|
+
groupName: string;
|
|
18158
|
+
}
|
|
18159
|
+
|
|
18163
18160
|
interface IDraftManualContentInstagram extends IBaseModel, ITrackingModel {
|
|
18164
18161
|
folderName: string;
|
|
18165
18162
|
sttDraftManualContent: number;
|
|
18163
|
+
draftManualGroup: string | IDraftManualGroupInstagram;
|
|
18166
18164
|
}
|
|
18167
18165
|
|
|
18168
18166
|
interface IDraftManualContentInstagramChildren extends IBaseModel, ITrackingModel {
|
|
@@ -18265,9 +18263,11 @@ interface FindDraftManualContentInstagramDto extends IFindBaseDto {
|
|
|
18265
18263
|
}
|
|
18266
18264
|
interface FilterDraftManualContentInstagramDto extends IFilterBaseDto {
|
|
18267
18265
|
folderName: string[];
|
|
18266
|
+
draftManualGroup: string[];
|
|
18268
18267
|
}
|
|
18269
18268
|
declare enum EFilterOptionDraftManualContentInstagram {
|
|
18270
18269
|
FolderName = "folderName",
|
|
18270
|
+
DraftManualGroup = "draftManualGroup",
|
|
18271
18271
|
DepartmentCreator = "departmentCreator",
|
|
18272
18272
|
TeamCreator = "teamCreator",
|
|
18273
18273
|
LeaderCreator = "leaderCreator",
|
package/dist/index.js
CHANGED
|
@@ -4029,6 +4029,7 @@ var ETaskWorkflowNodeThreads = /* @__PURE__ */ ((ETaskWorkflowNodeThreads2) => {
|
|
|
4029
4029
|
// src/interfaces/models/tool/tasks/draft-manual-content/instagram/dto/IDraftManualContentSocial.dto.ts
|
|
4030
4030
|
var EFilterOptionDraftManualContentInstagram = /* @__PURE__ */ ((EFilterOptionDraftManualContentInstagram2) => {
|
|
4031
4031
|
EFilterOptionDraftManualContentInstagram2["FolderName"] = "folderName";
|
|
4032
|
+
EFilterOptionDraftManualContentInstagram2["DraftManualGroup"] = "draftManualGroup";
|
|
4032
4033
|
EFilterOptionDraftManualContentInstagram2["DepartmentCreator"] = "departmentCreator";
|
|
4033
4034
|
EFilterOptionDraftManualContentInstagram2["TeamCreator"] = "teamCreator";
|
|
4034
4035
|
EFilterOptionDraftManualContentInstagram2["LeaderCreator"] = "leaderCreator";
|
package/dist/index.mjs
CHANGED
|
@@ -3715,6 +3715,7 @@ var ETaskWorkflowNodeThreads = /* @__PURE__ */ ((ETaskWorkflowNodeThreads2) => {
|
|
|
3715
3715
|
// src/interfaces/models/tool/tasks/draft-manual-content/instagram/dto/IDraftManualContentSocial.dto.ts
|
|
3716
3716
|
var EFilterOptionDraftManualContentInstagram = /* @__PURE__ */ ((EFilterOptionDraftManualContentInstagram2) => {
|
|
3717
3717
|
EFilterOptionDraftManualContentInstagram2["FolderName"] = "folderName";
|
|
3718
|
+
EFilterOptionDraftManualContentInstagram2["DraftManualGroup"] = "draftManualGroup";
|
|
3718
3719
|
EFilterOptionDraftManualContentInstagram2["DepartmentCreator"] = "departmentCreator";
|
|
3719
3720
|
EFilterOptionDraftManualContentInstagram2["TeamCreator"] = "teamCreator";
|
|
3720
3721
|
EFilterOptionDraftManualContentInstagram2["LeaderCreator"] = "leaderCreator";
|