automation-lib 5.9.19 → 5.10.1
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 +5 -5
- package/dist/index.d.mts +14 -12
- package/dist/index.d.ts +14 -12
- package/package.json +1 -1
package/commit.bat
CHANGED
|
@@ -7,10 +7,10 @@ git add .
|
|
|
7
7
|
echo Committing changes...
|
|
8
8
|
set /p commit_message="Enter commit message: "
|
|
9
9
|
git commit -m "%commit_message%"
|
|
10
|
-
|
|
10
|
+
sleep 2
|
|
11
11
|
|
|
12
12
|
:: Push changes to the 'main' branch of the 'cp' remote
|
|
13
|
-
git pull
|
|
13
|
+
git pull origin toan
|
|
14
14
|
|
|
15
15
|
:: Read the current version from package.json
|
|
16
16
|
for /f "tokens=2 delims=:, " %%i in ('findstr "version" package.json') do set currentVersion=%%i
|
|
@@ -41,10 +41,10 @@ echo New version: %newVersion%
|
|
|
41
41
|
call npm run pub
|
|
42
42
|
|
|
43
43
|
git add .
|
|
44
|
-
|
|
44
|
+
sleep 1
|
|
45
45
|
git commit -m "%commit_message%"
|
|
46
|
-
|
|
46
|
+
sleep 2
|
|
47
47
|
|
|
48
|
-
git push
|
|
48
|
+
git push origin toan
|
|
49
49
|
|
|
50
50
|
|
package/dist/index.d.mts
CHANGED
|
@@ -12188,7 +12188,7 @@ interface ImageVideoVoiceDetailInstagramDto {
|
|
|
12188
12188
|
typeIdea: ETypeManagerWorkClassify;
|
|
12189
12189
|
createdAt: Date;
|
|
12190
12190
|
updatedAt: Date;
|
|
12191
|
-
toolAuto:
|
|
12191
|
+
toolAuto: "Browser Automation";
|
|
12192
12192
|
taskToolKeyAiGen: string;
|
|
12193
12193
|
statusImageVideoVoice: ETaskStatus;
|
|
12194
12194
|
currentStepImageVideoVoice: number;
|
|
@@ -12224,7 +12224,7 @@ interface ImageVideoVoiceDetailInstagramDto {
|
|
|
12224
12224
|
}>;
|
|
12225
12225
|
infoBrowserInfo: {
|
|
12226
12226
|
browserName: string;
|
|
12227
|
-
browserType:
|
|
12227
|
+
browserType: "GPM";
|
|
12228
12228
|
listProxy: Array<{
|
|
12229
12229
|
proxyFormat: string;
|
|
12230
12230
|
proxyType: ETypeProxy;
|
|
@@ -12246,7 +12246,7 @@ interface ImageVideoVoiceDetailInstagramDto {
|
|
|
12246
12246
|
}>;
|
|
12247
12247
|
infoGenVoice: {
|
|
12248
12248
|
model: string;
|
|
12249
|
-
modeVoice:
|
|
12249
|
+
modeVoice: "Multi Speaker Audio";
|
|
12250
12250
|
modelSetting: string;
|
|
12251
12251
|
language: string;
|
|
12252
12252
|
totalVoice: number;
|
|
@@ -12284,11 +12284,11 @@ interface ImageVideoVoiceDetailInstagramDto {
|
|
|
12284
12284
|
urlFolderDrive: string;
|
|
12285
12285
|
result: Array<{
|
|
12286
12286
|
timestamp: Date;
|
|
12287
|
-
typeTask:
|
|
12287
|
+
typeTask: "Image" | "Video";
|
|
12288
12288
|
taskName: string;
|
|
12289
12289
|
status: string;
|
|
12290
12290
|
timeGenerate: number;
|
|
12291
|
-
typeAction:
|
|
12291
|
+
typeAction: "Tool" | "Api";
|
|
12292
12292
|
message: string;
|
|
12293
12293
|
}>;
|
|
12294
12294
|
};
|
|
@@ -12304,7 +12304,7 @@ interface CanvaDetailInstagramDto {
|
|
|
12304
12304
|
typeIdea: ETypeManagerWorkClassify;
|
|
12305
12305
|
createdAt: Date;
|
|
12306
12306
|
updatedAt: Date;
|
|
12307
|
-
toolAuto:
|
|
12307
|
+
toolAuto: "Canva";
|
|
12308
12308
|
taskToolKeyCanva: string;
|
|
12309
12309
|
currentStepCanva: number;
|
|
12310
12310
|
totalStepCanva: number;
|
|
@@ -12333,7 +12333,7 @@ interface CanvaDetailInstagramDto {
|
|
|
12333
12333
|
}>;
|
|
12334
12334
|
infoBrowserInfo: {
|
|
12335
12335
|
browserName: string;
|
|
12336
|
-
browserType:
|
|
12336
|
+
browserType: "GPM";
|
|
12337
12337
|
listProxy: Array<{
|
|
12338
12338
|
proxyFormat: string;
|
|
12339
12339
|
proxyType: ETypeProxy;
|
|
@@ -12364,7 +12364,7 @@ interface CanvaDetailInstagramDto {
|
|
|
12364
12364
|
effectPage27: string;
|
|
12365
12365
|
};
|
|
12366
12366
|
infoCanvaEditPage: Array<{
|
|
12367
|
-
page:
|
|
12367
|
+
page: "Page1" | "Page2" | "Page3" | "Page4" | "Page5" | "Page6" | "Page7";
|
|
12368
12368
|
status: ETaskStatus;
|
|
12369
12369
|
time: number;
|
|
12370
12370
|
retry: number;
|
|
@@ -12398,8 +12398,8 @@ interface CanvaDetailInstagramDto {
|
|
|
12398
12398
|
result: Array<{
|
|
12399
12399
|
timestamp: Date;
|
|
12400
12400
|
status: ETaskStatus;
|
|
12401
|
-
typeAction:
|
|
12402
|
-
page:
|
|
12401
|
+
typeAction: "Edit";
|
|
12402
|
+
page: "Page1" | "Page2" | "Page3" | "Page4" | "Page5" | "Page6" | "Page7";
|
|
12403
12403
|
background: string;
|
|
12404
12404
|
frontText: string;
|
|
12405
12405
|
effect: string;
|
|
@@ -12414,7 +12414,7 @@ interface DataRefreshDataSheetToolImageVideoVoiceCanvaInstagramDto {
|
|
|
12414
12414
|
rowDeleted: number;
|
|
12415
12415
|
rowEdit: number;
|
|
12416
12416
|
};
|
|
12417
|
-
historySyncSheetPost: {
|
|
12417
|
+
historySyncSheetPost: Array<{
|
|
12418
12418
|
id: string;
|
|
12419
12419
|
typeSocial: ETypeSocial;
|
|
12420
12420
|
sheetID: string | ISheetsTool;
|
|
@@ -12425,7 +12425,7 @@ interface DataRefreshDataSheetToolImageVideoVoiceCanvaInstagramDto {
|
|
|
12425
12425
|
status: IHistorySyncSheetPost;
|
|
12426
12426
|
note: string;
|
|
12427
12427
|
createdAt: Date;
|
|
12428
|
-
}
|
|
12428
|
+
}>;
|
|
12429
12429
|
}
|
|
12430
12430
|
interface FindOverViewTaskAIImageVideoVoiceCanvaInstagramDto {
|
|
12431
12431
|
department: number;
|
|
@@ -12592,6 +12592,8 @@ interface FindTaskAIImageVideoVoiceCanvaInstagramDto extends IFindBaseDto {
|
|
|
12592
12592
|
canvaSourceType: string;
|
|
12593
12593
|
canvaEditTask: string;
|
|
12594
12594
|
timeImageVideoVoiceAiGen: Date;
|
|
12595
|
+
countLogAiGen: number;
|
|
12596
|
+
countLogCanva: number;
|
|
12595
12597
|
}
|
|
12596
12598
|
interface FilterTaskAIImageVideoVoiceCanvaInstagramDto extends IFilterBaseDto {
|
|
12597
12599
|
pc: string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -12188,7 +12188,7 @@ interface ImageVideoVoiceDetailInstagramDto {
|
|
|
12188
12188
|
typeIdea: ETypeManagerWorkClassify;
|
|
12189
12189
|
createdAt: Date;
|
|
12190
12190
|
updatedAt: Date;
|
|
12191
|
-
toolAuto:
|
|
12191
|
+
toolAuto: "Browser Automation";
|
|
12192
12192
|
taskToolKeyAiGen: string;
|
|
12193
12193
|
statusImageVideoVoice: ETaskStatus;
|
|
12194
12194
|
currentStepImageVideoVoice: number;
|
|
@@ -12224,7 +12224,7 @@ interface ImageVideoVoiceDetailInstagramDto {
|
|
|
12224
12224
|
}>;
|
|
12225
12225
|
infoBrowserInfo: {
|
|
12226
12226
|
browserName: string;
|
|
12227
|
-
browserType:
|
|
12227
|
+
browserType: "GPM";
|
|
12228
12228
|
listProxy: Array<{
|
|
12229
12229
|
proxyFormat: string;
|
|
12230
12230
|
proxyType: ETypeProxy;
|
|
@@ -12246,7 +12246,7 @@ interface ImageVideoVoiceDetailInstagramDto {
|
|
|
12246
12246
|
}>;
|
|
12247
12247
|
infoGenVoice: {
|
|
12248
12248
|
model: string;
|
|
12249
|
-
modeVoice:
|
|
12249
|
+
modeVoice: "Multi Speaker Audio";
|
|
12250
12250
|
modelSetting: string;
|
|
12251
12251
|
language: string;
|
|
12252
12252
|
totalVoice: number;
|
|
@@ -12284,11 +12284,11 @@ interface ImageVideoVoiceDetailInstagramDto {
|
|
|
12284
12284
|
urlFolderDrive: string;
|
|
12285
12285
|
result: Array<{
|
|
12286
12286
|
timestamp: Date;
|
|
12287
|
-
typeTask:
|
|
12287
|
+
typeTask: "Image" | "Video";
|
|
12288
12288
|
taskName: string;
|
|
12289
12289
|
status: string;
|
|
12290
12290
|
timeGenerate: number;
|
|
12291
|
-
typeAction:
|
|
12291
|
+
typeAction: "Tool" | "Api";
|
|
12292
12292
|
message: string;
|
|
12293
12293
|
}>;
|
|
12294
12294
|
};
|
|
@@ -12304,7 +12304,7 @@ interface CanvaDetailInstagramDto {
|
|
|
12304
12304
|
typeIdea: ETypeManagerWorkClassify;
|
|
12305
12305
|
createdAt: Date;
|
|
12306
12306
|
updatedAt: Date;
|
|
12307
|
-
toolAuto:
|
|
12307
|
+
toolAuto: "Canva";
|
|
12308
12308
|
taskToolKeyCanva: string;
|
|
12309
12309
|
currentStepCanva: number;
|
|
12310
12310
|
totalStepCanva: number;
|
|
@@ -12333,7 +12333,7 @@ interface CanvaDetailInstagramDto {
|
|
|
12333
12333
|
}>;
|
|
12334
12334
|
infoBrowserInfo: {
|
|
12335
12335
|
browserName: string;
|
|
12336
|
-
browserType:
|
|
12336
|
+
browserType: "GPM";
|
|
12337
12337
|
listProxy: Array<{
|
|
12338
12338
|
proxyFormat: string;
|
|
12339
12339
|
proxyType: ETypeProxy;
|
|
@@ -12364,7 +12364,7 @@ interface CanvaDetailInstagramDto {
|
|
|
12364
12364
|
effectPage27: string;
|
|
12365
12365
|
};
|
|
12366
12366
|
infoCanvaEditPage: Array<{
|
|
12367
|
-
page:
|
|
12367
|
+
page: "Page1" | "Page2" | "Page3" | "Page4" | "Page5" | "Page6" | "Page7";
|
|
12368
12368
|
status: ETaskStatus;
|
|
12369
12369
|
time: number;
|
|
12370
12370
|
retry: number;
|
|
@@ -12398,8 +12398,8 @@ interface CanvaDetailInstagramDto {
|
|
|
12398
12398
|
result: Array<{
|
|
12399
12399
|
timestamp: Date;
|
|
12400
12400
|
status: ETaskStatus;
|
|
12401
|
-
typeAction:
|
|
12402
|
-
page:
|
|
12401
|
+
typeAction: "Edit";
|
|
12402
|
+
page: "Page1" | "Page2" | "Page3" | "Page4" | "Page5" | "Page6" | "Page7";
|
|
12403
12403
|
background: string;
|
|
12404
12404
|
frontText: string;
|
|
12405
12405
|
effect: string;
|
|
@@ -12414,7 +12414,7 @@ interface DataRefreshDataSheetToolImageVideoVoiceCanvaInstagramDto {
|
|
|
12414
12414
|
rowDeleted: number;
|
|
12415
12415
|
rowEdit: number;
|
|
12416
12416
|
};
|
|
12417
|
-
historySyncSheetPost: {
|
|
12417
|
+
historySyncSheetPost: Array<{
|
|
12418
12418
|
id: string;
|
|
12419
12419
|
typeSocial: ETypeSocial;
|
|
12420
12420
|
sheetID: string | ISheetsTool;
|
|
@@ -12425,7 +12425,7 @@ interface DataRefreshDataSheetToolImageVideoVoiceCanvaInstagramDto {
|
|
|
12425
12425
|
status: IHistorySyncSheetPost;
|
|
12426
12426
|
note: string;
|
|
12427
12427
|
createdAt: Date;
|
|
12428
|
-
}
|
|
12428
|
+
}>;
|
|
12429
12429
|
}
|
|
12430
12430
|
interface FindOverViewTaskAIImageVideoVoiceCanvaInstagramDto {
|
|
12431
12431
|
department: number;
|
|
@@ -12592,6 +12592,8 @@ interface FindTaskAIImageVideoVoiceCanvaInstagramDto extends IFindBaseDto {
|
|
|
12592
12592
|
canvaSourceType: string;
|
|
12593
12593
|
canvaEditTask: string;
|
|
12594
12594
|
timeImageVideoVoiceAiGen: Date;
|
|
12595
|
+
countLogAiGen: number;
|
|
12596
|
+
countLogCanva: number;
|
|
12595
12597
|
}
|
|
12596
12598
|
interface FilterTaskAIImageVideoVoiceCanvaInstagramDto extends IFilterBaseDto {
|
|
12597
12599
|
pc: string[];
|