automation-lib 6.6.1 → 6.6.2
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 +71 -58
- package/dist/index.d.ts +71 -58
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -16616,12 +16616,6 @@ declare enum ETaskWorkflowNodeCategory {
|
|
|
16616
16616
|
LogicAndSupport = "LogicAndSupport"
|
|
16617
16617
|
}
|
|
16618
16618
|
|
|
16619
|
-
declare enum ETaskWorkflowRunStatus {
|
|
16620
|
-
Success = "Success",
|
|
16621
|
-
Fail = "Fail",
|
|
16622
|
-
Running = "Running"
|
|
16623
|
-
}
|
|
16624
|
-
|
|
16625
16619
|
declare enum ETaskWorkflowNodeInstagram {
|
|
16626
16620
|
TaskSocialAutoPosts = "TaskSocialAutoPosts",// Kích hoạt khi bài post mới hoàn thành (In: 0, Out: 1)
|
|
16627
16621
|
EgoCheck = "EgoCheck",// Kiểm tra trang cá nhân, story, grid
|
|
@@ -16668,61 +16662,11 @@ declare enum ETaskWorkflowNodeInstagram {
|
|
|
16668
16662
|
SettingConfigHumanDelay = "SettingConfigHumanDelay"
|
|
16669
16663
|
}
|
|
16670
16664
|
|
|
16671
|
-
declare enum ETaskWorkflowNodeThreads {
|
|
16672
|
-
EgoCheck = "EgoCheck",// Tự xem bài viết đang lên (Ego Check)
|
|
16673
|
-
CrossPromoStory = "CrossPromoStory",// Share bài lên Story (Cross-Promo)
|
|
16674
|
-
DoomedScrollingReels = "DoomedScrollingReels",// Lướt Reels vô định (Doomed Scrolling)
|
|
16675
|
-
FomoCheck = "FomoCheck",// Check thông báo (Fomo)
|
|
16676
|
-
NewsFeedScroll = "NewsFeedScroll",// Lướt Newsfeed (Dạo)
|
|
16677
|
-
ViewFriendStory = "ViewFriendStory",// Xem Story bạn bè
|
|
16678
|
-
RandomLike = "RandomLike",// Like bài viết (Random)
|
|
16679
|
-
ContextComment = "ContextComment",// Comment AI (Context)
|
|
16680
|
-
HumanPause = "HumanPause",// Nghỉ ngơi
|
|
16681
|
-
Delay = "Delay",// Delay thời gian
|
|
16682
|
-
Condition = "Condition",// Điều kiện
|
|
16683
|
-
RandomChance = "RandomChance",// Điều kiện rẽ nhánh theo tỉ lệ phần trăm
|
|
16684
|
-
Note = "Note",// Ghi chú
|
|
16685
|
-
End = "End"
|
|
16686
|
-
}
|
|
16687
|
-
|
|
16688
|
-
interface CreateTaskWorkflowDto {
|
|
16689
|
-
}
|
|
16690
|
-
interface UpdateTaskWorkflowDto {
|
|
16691
|
-
}
|
|
16692
|
-
interface FindTaskWorkflowDto extends IFindBaseDto {
|
|
16693
|
-
typeSocial: ETypeSocial;
|
|
16694
|
-
name: string;
|
|
16695
|
-
description: string;
|
|
16696
|
-
status: ETaskWorkflowStatus;
|
|
16697
|
-
group: string;
|
|
16698
|
-
numberNode: number;
|
|
16699
|
-
numberStep: number;
|
|
16700
|
-
numberAccount: number;
|
|
16701
|
-
logs: {
|
|
16702
|
-
success: number;
|
|
16703
|
-
fail: number;
|
|
16704
|
-
running: number;
|
|
16705
|
-
};
|
|
16706
|
-
}
|
|
16707
|
-
interface FilterTaskWorkflowDto {
|
|
16708
|
-
}
|
|
16709
|
-
|
|
16710
|
-
interface CreateTaskWorkflowGroupDto {
|
|
16711
|
-
name: string;
|
|
16712
|
-
description: string;
|
|
16713
|
-
}
|
|
16714
|
-
interface UpdateTaskWorkflowGroupDto {
|
|
16715
|
-
name?: string;
|
|
16716
|
-
description?: string;
|
|
16717
|
-
}
|
|
16718
|
-
interface FindTaskWorkflowGroupDto extends IFindBaseDto {
|
|
16719
|
-
name: string;
|
|
16720
|
-
description: string;
|
|
16721
|
-
}
|
|
16722
|
-
|
|
16723
16665
|
interface ITaskWorkflowGroup extends IBaseModel, ITrackingModel {
|
|
16724
16666
|
name: string;
|
|
16725
16667
|
description: string;
|
|
16668
|
+
color: string;
|
|
16669
|
+
typeSocial: ETypeSocial;
|
|
16726
16670
|
}
|
|
16727
16671
|
|
|
16728
16672
|
interface ITaskWorkflow extends IBaseModel, ITrackingModel {
|
|
@@ -16754,6 +16698,23 @@ interface ITaskWorkflowNodeInstagram extends IBaseModel, ITrackingModel {
|
|
|
16754
16698
|
attributes: ITaskWorkflowNodeInstagramAttribute;
|
|
16755
16699
|
}
|
|
16756
16700
|
|
|
16701
|
+
declare enum ETaskWorkflowNodeThreads {
|
|
16702
|
+
EgoCheck = "EgoCheck",// Tự xem bài viết đang lên (Ego Check)
|
|
16703
|
+
CrossPromoStory = "CrossPromoStory",// Share bài lên Story (Cross-Promo)
|
|
16704
|
+
DoomedScrollingReels = "DoomedScrollingReels",// Lướt Reels vô định (Doomed Scrolling)
|
|
16705
|
+
FomoCheck = "FomoCheck",// Check thông báo (Fomo)
|
|
16706
|
+
NewsFeedScroll = "NewsFeedScroll",// Lướt Newsfeed (Dạo)
|
|
16707
|
+
ViewFriendStory = "ViewFriendStory",// Xem Story bạn bè
|
|
16708
|
+
RandomLike = "RandomLike",// Like bài viết (Random)
|
|
16709
|
+
ContextComment = "ContextComment",// Comment AI (Context)
|
|
16710
|
+
HumanPause = "HumanPause",// Nghỉ ngơi
|
|
16711
|
+
Delay = "Delay",// Delay thời gian
|
|
16712
|
+
Condition = "Condition",// Điều kiện
|
|
16713
|
+
RandomChance = "RandomChance",// Điều kiện rẽ nhánh theo tỉ lệ phần trăm
|
|
16714
|
+
Note = "Note",// Ghi chú
|
|
16715
|
+
End = "End"
|
|
16716
|
+
}
|
|
16717
|
+
|
|
16757
16718
|
interface ITaskWorkflowNodeThreadsAttribute {
|
|
16758
16719
|
}
|
|
16759
16720
|
|
|
@@ -16767,12 +16728,64 @@ interface ITaskWorkflowNodeThreads extends IBaseModel, ITrackingModel {
|
|
|
16767
16728
|
attributes: ITaskWorkflowNodeThreadsAttribute;
|
|
16768
16729
|
}
|
|
16769
16730
|
|
|
16731
|
+
declare enum ETaskWorkflowRunStatus {
|
|
16732
|
+
Success = "Success",
|
|
16733
|
+
Fail = "Fail",
|
|
16734
|
+
Running = "Running"
|
|
16735
|
+
}
|
|
16736
|
+
|
|
16770
16737
|
interface ITaskWorkflowLog extends IBaseModel, ITrackingModel {
|
|
16771
16738
|
typeSocial: ETypeSocial;
|
|
16772
16739
|
accountSocialId: string;
|
|
16773
16740
|
statusRun: ETaskWorkflowRunStatus;
|
|
16774
16741
|
}
|
|
16775
16742
|
|
|
16743
|
+
interface CreateTaskWorkflowDto {
|
|
16744
|
+
group: string;
|
|
16745
|
+
name: string;
|
|
16746
|
+
description: string;
|
|
16747
|
+
status: ETaskWorkflowStatus;
|
|
16748
|
+
typeSocial: ETypeSocial;
|
|
16749
|
+
}
|
|
16750
|
+
interface UpdateTaskWorkflowDto extends CreateTaskWorkflowDto {
|
|
16751
|
+
}
|
|
16752
|
+
interface FindTaskWorkflowDto extends IFindBaseDto {
|
|
16753
|
+
typeSocial: ETypeSocial;
|
|
16754
|
+
name: string;
|
|
16755
|
+
description: string;
|
|
16756
|
+
status: ETaskWorkflowStatus;
|
|
16757
|
+
group: string | ITaskWorkflowGroup;
|
|
16758
|
+
numberNode: number;
|
|
16759
|
+
numberStep: number;
|
|
16760
|
+
numberAccount: number;
|
|
16761
|
+
logs: {
|
|
16762
|
+
success: number;
|
|
16763
|
+
fail: number;
|
|
16764
|
+
running: number;
|
|
16765
|
+
};
|
|
16766
|
+
}
|
|
16767
|
+
interface FilterTaskWorkflowDto {
|
|
16768
|
+
}
|
|
16769
|
+
|
|
16770
|
+
interface CreateTaskWorkflowGroupDto {
|
|
16771
|
+
name: string;
|
|
16772
|
+
description: string;
|
|
16773
|
+
color: string;
|
|
16774
|
+
typeSocial: ETypeSocial;
|
|
16775
|
+
}
|
|
16776
|
+
interface UpdateTaskWorkflowGroupDto {
|
|
16777
|
+
name?: string;
|
|
16778
|
+
description?: string;
|
|
16779
|
+
color: string;
|
|
16780
|
+
typeSocial: ETypeSocial;
|
|
16781
|
+
}
|
|
16782
|
+
interface FindTaskWorkflowGroupDto extends IFindBaseDto {
|
|
16783
|
+
name: string;
|
|
16784
|
+
description: string;
|
|
16785
|
+
color: string;
|
|
16786
|
+
typeSocial: ETypeSocial;
|
|
16787
|
+
}
|
|
16788
|
+
|
|
16776
16789
|
interface IVoiceLanguage extends IBaseModel, ITrackingModel {
|
|
16777
16790
|
vl_name: string;
|
|
16778
16791
|
vl_key: ETypeVoiceLanguage;
|
package/dist/index.d.ts
CHANGED
|
@@ -16616,12 +16616,6 @@ declare enum ETaskWorkflowNodeCategory {
|
|
|
16616
16616
|
LogicAndSupport = "LogicAndSupport"
|
|
16617
16617
|
}
|
|
16618
16618
|
|
|
16619
|
-
declare enum ETaskWorkflowRunStatus {
|
|
16620
|
-
Success = "Success",
|
|
16621
|
-
Fail = "Fail",
|
|
16622
|
-
Running = "Running"
|
|
16623
|
-
}
|
|
16624
|
-
|
|
16625
16619
|
declare enum ETaskWorkflowNodeInstagram {
|
|
16626
16620
|
TaskSocialAutoPosts = "TaskSocialAutoPosts",// Kích hoạt khi bài post mới hoàn thành (In: 0, Out: 1)
|
|
16627
16621
|
EgoCheck = "EgoCheck",// Kiểm tra trang cá nhân, story, grid
|
|
@@ -16668,61 +16662,11 @@ declare enum ETaskWorkflowNodeInstagram {
|
|
|
16668
16662
|
SettingConfigHumanDelay = "SettingConfigHumanDelay"
|
|
16669
16663
|
}
|
|
16670
16664
|
|
|
16671
|
-
declare enum ETaskWorkflowNodeThreads {
|
|
16672
|
-
EgoCheck = "EgoCheck",// Tự xem bài viết đang lên (Ego Check)
|
|
16673
|
-
CrossPromoStory = "CrossPromoStory",// Share bài lên Story (Cross-Promo)
|
|
16674
|
-
DoomedScrollingReels = "DoomedScrollingReels",// Lướt Reels vô định (Doomed Scrolling)
|
|
16675
|
-
FomoCheck = "FomoCheck",// Check thông báo (Fomo)
|
|
16676
|
-
NewsFeedScroll = "NewsFeedScroll",// Lướt Newsfeed (Dạo)
|
|
16677
|
-
ViewFriendStory = "ViewFriendStory",// Xem Story bạn bè
|
|
16678
|
-
RandomLike = "RandomLike",// Like bài viết (Random)
|
|
16679
|
-
ContextComment = "ContextComment",// Comment AI (Context)
|
|
16680
|
-
HumanPause = "HumanPause",// Nghỉ ngơi
|
|
16681
|
-
Delay = "Delay",// Delay thời gian
|
|
16682
|
-
Condition = "Condition",// Điều kiện
|
|
16683
|
-
RandomChance = "RandomChance",// Điều kiện rẽ nhánh theo tỉ lệ phần trăm
|
|
16684
|
-
Note = "Note",// Ghi chú
|
|
16685
|
-
End = "End"
|
|
16686
|
-
}
|
|
16687
|
-
|
|
16688
|
-
interface CreateTaskWorkflowDto {
|
|
16689
|
-
}
|
|
16690
|
-
interface UpdateTaskWorkflowDto {
|
|
16691
|
-
}
|
|
16692
|
-
interface FindTaskWorkflowDto extends IFindBaseDto {
|
|
16693
|
-
typeSocial: ETypeSocial;
|
|
16694
|
-
name: string;
|
|
16695
|
-
description: string;
|
|
16696
|
-
status: ETaskWorkflowStatus;
|
|
16697
|
-
group: string;
|
|
16698
|
-
numberNode: number;
|
|
16699
|
-
numberStep: number;
|
|
16700
|
-
numberAccount: number;
|
|
16701
|
-
logs: {
|
|
16702
|
-
success: number;
|
|
16703
|
-
fail: number;
|
|
16704
|
-
running: number;
|
|
16705
|
-
};
|
|
16706
|
-
}
|
|
16707
|
-
interface FilterTaskWorkflowDto {
|
|
16708
|
-
}
|
|
16709
|
-
|
|
16710
|
-
interface CreateTaskWorkflowGroupDto {
|
|
16711
|
-
name: string;
|
|
16712
|
-
description: string;
|
|
16713
|
-
}
|
|
16714
|
-
interface UpdateTaskWorkflowGroupDto {
|
|
16715
|
-
name?: string;
|
|
16716
|
-
description?: string;
|
|
16717
|
-
}
|
|
16718
|
-
interface FindTaskWorkflowGroupDto extends IFindBaseDto {
|
|
16719
|
-
name: string;
|
|
16720
|
-
description: string;
|
|
16721
|
-
}
|
|
16722
|
-
|
|
16723
16665
|
interface ITaskWorkflowGroup extends IBaseModel, ITrackingModel {
|
|
16724
16666
|
name: string;
|
|
16725
16667
|
description: string;
|
|
16668
|
+
color: string;
|
|
16669
|
+
typeSocial: ETypeSocial;
|
|
16726
16670
|
}
|
|
16727
16671
|
|
|
16728
16672
|
interface ITaskWorkflow extends IBaseModel, ITrackingModel {
|
|
@@ -16754,6 +16698,23 @@ interface ITaskWorkflowNodeInstagram extends IBaseModel, ITrackingModel {
|
|
|
16754
16698
|
attributes: ITaskWorkflowNodeInstagramAttribute;
|
|
16755
16699
|
}
|
|
16756
16700
|
|
|
16701
|
+
declare enum ETaskWorkflowNodeThreads {
|
|
16702
|
+
EgoCheck = "EgoCheck",// Tự xem bài viết đang lên (Ego Check)
|
|
16703
|
+
CrossPromoStory = "CrossPromoStory",// Share bài lên Story (Cross-Promo)
|
|
16704
|
+
DoomedScrollingReels = "DoomedScrollingReels",// Lướt Reels vô định (Doomed Scrolling)
|
|
16705
|
+
FomoCheck = "FomoCheck",// Check thông báo (Fomo)
|
|
16706
|
+
NewsFeedScroll = "NewsFeedScroll",// Lướt Newsfeed (Dạo)
|
|
16707
|
+
ViewFriendStory = "ViewFriendStory",// Xem Story bạn bè
|
|
16708
|
+
RandomLike = "RandomLike",// Like bài viết (Random)
|
|
16709
|
+
ContextComment = "ContextComment",// Comment AI (Context)
|
|
16710
|
+
HumanPause = "HumanPause",// Nghỉ ngơi
|
|
16711
|
+
Delay = "Delay",// Delay thời gian
|
|
16712
|
+
Condition = "Condition",// Điều kiện
|
|
16713
|
+
RandomChance = "RandomChance",// Điều kiện rẽ nhánh theo tỉ lệ phần trăm
|
|
16714
|
+
Note = "Note",// Ghi chú
|
|
16715
|
+
End = "End"
|
|
16716
|
+
}
|
|
16717
|
+
|
|
16757
16718
|
interface ITaskWorkflowNodeThreadsAttribute {
|
|
16758
16719
|
}
|
|
16759
16720
|
|
|
@@ -16767,12 +16728,64 @@ interface ITaskWorkflowNodeThreads extends IBaseModel, ITrackingModel {
|
|
|
16767
16728
|
attributes: ITaskWorkflowNodeThreadsAttribute;
|
|
16768
16729
|
}
|
|
16769
16730
|
|
|
16731
|
+
declare enum ETaskWorkflowRunStatus {
|
|
16732
|
+
Success = "Success",
|
|
16733
|
+
Fail = "Fail",
|
|
16734
|
+
Running = "Running"
|
|
16735
|
+
}
|
|
16736
|
+
|
|
16770
16737
|
interface ITaskWorkflowLog extends IBaseModel, ITrackingModel {
|
|
16771
16738
|
typeSocial: ETypeSocial;
|
|
16772
16739
|
accountSocialId: string;
|
|
16773
16740
|
statusRun: ETaskWorkflowRunStatus;
|
|
16774
16741
|
}
|
|
16775
16742
|
|
|
16743
|
+
interface CreateTaskWorkflowDto {
|
|
16744
|
+
group: string;
|
|
16745
|
+
name: string;
|
|
16746
|
+
description: string;
|
|
16747
|
+
status: ETaskWorkflowStatus;
|
|
16748
|
+
typeSocial: ETypeSocial;
|
|
16749
|
+
}
|
|
16750
|
+
interface UpdateTaskWorkflowDto extends CreateTaskWorkflowDto {
|
|
16751
|
+
}
|
|
16752
|
+
interface FindTaskWorkflowDto extends IFindBaseDto {
|
|
16753
|
+
typeSocial: ETypeSocial;
|
|
16754
|
+
name: string;
|
|
16755
|
+
description: string;
|
|
16756
|
+
status: ETaskWorkflowStatus;
|
|
16757
|
+
group: string | ITaskWorkflowGroup;
|
|
16758
|
+
numberNode: number;
|
|
16759
|
+
numberStep: number;
|
|
16760
|
+
numberAccount: number;
|
|
16761
|
+
logs: {
|
|
16762
|
+
success: number;
|
|
16763
|
+
fail: number;
|
|
16764
|
+
running: number;
|
|
16765
|
+
};
|
|
16766
|
+
}
|
|
16767
|
+
interface FilterTaskWorkflowDto {
|
|
16768
|
+
}
|
|
16769
|
+
|
|
16770
|
+
interface CreateTaskWorkflowGroupDto {
|
|
16771
|
+
name: string;
|
|
16772
|
+
description: string;
|
|
16773
|
+
color: string;
|
|
16774
|
+
typeSocial: ETypeSocial;
|
|
16775
|
+
}
|
|
16776
|
+
interface UpdateTaskWorkflowGroupDto {
|
|
16777
|
+
name?: string;
|
|
16778
|
+
description?: string;
|
|
16779
|
+
color: string;
|
|
16780
|
+
typeSocial: ETypeSocial;
|
|
16781
|
+
}
|
|
16782
|
+
interface FindTaskWorkflowGroupDto extends IFindBaseDto {
|
|
16783
|
+
name: string;
|
|
16784
|
+
description: string;
|
|
16785
|
+
color: string;
|
|
16786
|
+
typeSocial: ETypeSocial;
|
|
16787
|
+
}
|
|
16788
|
+
|
|
16776
16789
|
interface IVoiceLanguage extends IBaseModel, ITrackingModel {
|
|
16777
16790
|
vl_name: string;
|
|
16778
16791
|
vl_key: ETypeVoiceLanguage;
|