automation-lib 6.6.504 → 6.6.506

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 CHANGED
@@ -81,6 +81,9 @@ declare const CONST_API_CONTROLLERS: {
81
81
  TASKS_MANUAL_CONTENT_THREADS_CHILDREN: string;
82
82
  TASKS_MANUAL_CONTENT_THREADS_CHILDREN_ITEM_POST: string;
83
83
  TASKS_MANUAL_CONTENT_THREADS_RUNTIME: string;
84
+ DRAFT_MANUAL_CONTENT_SOCIAL_INSTAGRAM: string;
85
+ DRAFT_MANUAL_CONTENT_INSTAGRAM_CHILDREN: string;
86
+ DRAFT_MANUAL_CONTENT_INSTAGRAM_CHILDREN_ITEM_POST: string;
84
87
  REPORT_MANAGER: string;
85
88
  BLOG_CATEGORY: string;
86
89
  BLOG_POST: string;
@@ -18356,196 +18359,6 @@ interface IManualContentSocialInstagramChildren extends IBaseModel, ITrackingMod
18356
18359
  timeStopStart: Date;
18357
18360
  }
18358
18361
 
18359
- declare enum EDraftManualContentInstagramStatusPost {
18360
- Draft = "Draft",
18361
- Use = "Use",
18362
- Posted = "Posted",// Có thể chuyển thành Use để chạy cho lần sau
18363
- Error = "Error"
18364
- }
18365
- declare enum EDraftManualContentInstagramTypePost {
18366
- New = "New",
18367
- Reel = "Reel",
18368
- SquareProduct = "SquareProduct"
18369
- }
18370
-
18371
- interface EditStatusDraftManualContentInstagramChildrenItemPost {
18372
- status: EDraftManualContentInstagramStatusPost;
18373
- listItemIds: string;
18374
- }
18375
- interface UpsertDraftManualContentInstagramChildrenItemPostDto {
18376
- caption: string;
18377
- listFiles: any;
18378
- }
18379
-
18380
- interface UpsertDraftManualContentInstagramDto {
18381
- startStopFolder: EStartStop;
18382
- folderName: string;
18383
- listDraftManualContentChildren: Array<UpsertDraftManualContentInstagramChildrenItemPostDto>;
18384
- userAssignId: string;
18385
- }
18386
- interface IViewAssignUserForDraftManualContentInstagramDto {
18387
- id: string;
18388
- department: string;
18389
- leader: string;
18390
- team: string;
18391
- member: string;
18392
- lastUpdated: Date;
18393
- }
18394
- interface BulkAssignUserDraftManualContentInstagramDto {
18395
- userAssignIds: string[];
18396
- draftManualContentIds: string[];
18397
- }
18398
- interface RemoveAssignUserDraftManualContentInstagramDto {
18399
- userAssignId: string;
18400
- }
18401
- interface FindOverviewDraftManualContentInstagramDto {
18402
- totalDepartments: number;
18403
- totalLeaders: number;
18404
- totalTeams: number;
18405
- totalUsers: number;
18406
- totalContentFolder: number;
18407
- totalNewDaily: number;
18408
- totalNewMonthly: number;
18409
- statusNew: {
18410
- [EStartStop.Start]: number;
18411
- [EStartStop.Stop]: number;
18412
- total: number;
18413
- };
18414
- statusReel: {
18415
- [EStartStop.Start]: number;
18416
- [EStartStop.Stop]: number;
18417
- total: number;
18418
- };
18419
- statusSquareProduct: {
18420
- [EStartStop.Start]: number;
18421
- [EStartStop.Stop]: number;
18422
- total: number;
18423
- };
18424
- statusPosts: {
18425
- [EDraftManualContentInstagramStatusPost.Draft]: number;
18426
- [EDraftManualContentInstagramStatusPost.Use]: number;
18427
- [EDraftManualContentInstagramStatusPost.Posted]: number;
18428
- [EDraftManualContentInstagramStatusPost.Error]: number;
18429
- total: number;
18430
- };
18431
- startContentFolder: {
18432
- [EStartStop.Start]: number;
18433
- [EStartStop.Stop]: number;
18434
- total: number;
18435
- };
18436
- }
18437
- interface FindDraftManualContentInstagramDto extends IFindBaseDto {
18438
- id: string;
18439
- folderName: string;
18440
- startStopFolder: EStartStop;
18441
- type: ETypeManagerWorkClassify;
18442
- listDraftManualContentChildren: Array<{
18443
- id: string;
18444
- type: EDraftManualContentInstagramTypePost;
18445
- startStop: EStartStop;
18446
- timeStopStart: Date;
18447
- postInfo: {
18448
- childrenId: string;
18449
- listUrls: string[];
18450
- };
18451
- totalPosts: number;
18452
- totalPostsPosted: number;
18453
- totalPostsError: number;
18454
- totalPostsDraft: number;
18455
- totalPostsUse: number;
18456
- }>;
18457
- }
18458
- interface FilterDraftManualContentInstagramDto extends IFilterBaseDto {
18459
- startStopFolder: EStartStop[];
18460
- startStopNew: EStartStop[];
18461
- startStopReel: EStartStop[];
18462
- startStopSquare: EStartStop[];
18463
- }
18464
- declare enum EFilterOptionDraftManualContentInstagram {
18465
- StartStopFolder = "startStopFolder",
18466
- StartStopNew = "startStopNew",
18467
- StartStopReel = "startStopReel",
18468
- StartStopSquare = "startStopSquare",
18469
- DepartmentCreator = "departmentCreator",
18470
- TeamCreator = "teamCreator",
18471
- LeaderCreator = "leaderCreator",
18472
- CreatedBy = "createdBy",
18473
- UpdatedBy = "updatedBy",
18474
- DepartmentAssign = "departmentAssign",
18475
- TeamAssign = "teamAssign",
18476
- LeaderAssign = "leaderAssign",
18477
- UserAssign = "userAssign",
18478
- GroupSocial = "groupSocial"
18479
- }
18480
-
18481
- interface AddDraftManualContentInstagramChildrenDto {
18482
- caption: string;
18483
- listFiles: any;
18484
- }
18485
- interface AddBulkDraftManualContentInstagramChildrenDto {
18486
- numberPost: number;
18487
- }
18488
- interface GetAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
18489
- typePost: EDraftManualContentInstagramTypePost;
18490
- }
18491
- interface ResultAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
18492
- accountDriverId: string;
18493
- folderPath: string;
18494
- }
18495
- interface UpsertDraftManualContentInstagramChildrenDto {
18496
- type: EDraftManualContentInstagramTypePost;
18497
- startStop: EStartStop;
18498
- }
18499
- interface ListDraftManualContentInstagramChildrenDto extends IFindBaseDto {
18500
- type: EDraftManualContentInstagramTypePost;
18501
- }
18502
- interface ListDraftManualContentChildrenDto extends IFindBaseDto {
18503
- id: string;
18504
- caption: string;
18505
- listFiles: Array<{
18506
- id: string;
18507
- url: string;
18508
- type: "Video" | "Image";
18509
- size: number;
18510
- originalName: string;
18511
- }>;
18512
- type: EDraftManualContentInstagramTypePost;
18513
- draftManualContentId: string;
18514
- startStop: EStartStop;
18515
- timeStopStart: Date;
18516
- }
18517
-
18518
- interface IDraftManualContentInstagram extends IBaseModel, ITrackingModel, IAssignUser {
18519
- folderName: string;
18520
- startStop: EStartStop;
18521
- timeStopStart: Date;
18522
- }
18523
-
18524
- interface IDraftManualContentInstagramChildren extends IBaseModel, ITrackingModel {
18525
- typePost: EDraftManualContentInstagramTypePost;
18526
- draftManualContentId: string | IDraftManualContentInstagram;
18527
- startStop: EStartStop;
18528
- timeStopStart: Date;
18529
- }
18530
-
18531
- interface IDraftManualContentInstagramChildrenItemPost extends IBaseModel, ITrackingModel {
18532
- caption: string;
18533
- listFiles: Array<{
18534
- id: string;
18535
- url: string;
18536
- type: "Video" | "Image";
18537
- size: number;
18538
- originalName: string;
18539
- }>;
18540
- draftManualContentChildrenId: string | IDraftManualContentInstagramChildren;
18541
- status: EDraftManualContentInstagramStatusPost;
18542
- }
18543
-
18544
- interface IDraftManualContentPermissionInstagram extends IBaseModel {
18545
- draftManualContent: string | IDraftManualContentInstagram;
18546
- user: string | IUser;
18547
- }
18548
-
18549
18362
  interface IManualContentSocialInstagramChildrenItemPost extends IBaseModel, ITrackingModel {
18550
18363
  caption: string;
18551
18364
  listFiles: Array<{
@@ -18556,7 +18369,6 @@ interface IManualContentSocialInstagramChildrenItemPost extends IBaseModel, ITra
18556
18369
  originalName: string;
18557
18370
  }>;
18558
18371
  manualContentSocialChildrenId: string;
18559
- syncDraftContentSocialChildrenItemPostId: string | IDraftManualContentInstagramChildrenItemPost;
18560
18372
  status: EManualContentSocialInstagramStatusPost;
18561
18373
  }
18562
18374
 
@@ -20925,6 +20737,196 @@ interface FindTaskWorkflowGroupDto extends IFindBaseDto {
20925
20737
  typeSocial: ETypeSocial;
20926
20738
  }
20927
20739
 
20740
+ declare enum EDraftManualContentInstagramStatusPost {
20741
+ Draft = "Draft",
20742
+ Use = "Use",
20743
+ Posted = "Posted",// Có thể chuyển thành Use để chạy cho lần sau
20744
+ Error = "Error"
20745
+ }
20746
+ declare enum EDraftManualContentInstagramTypePost {
20747
+ New = "New",
20748
+ Reel = "Reel",
20749
+ SquareProduct = "SquareProduct"
20750
+ }
20751
+
20752
+ interface EditStatusDraftManualContentInstagramChildrenItemPost {
20753
+ status: EDraftManualContentInstagramStatusPost;
20754
+ listItemIds: string;
20755
+ }
20756
+ interface UpsertDraftManualContentInstagramChildrenItemPostDto {
20757
+ caption: string;
20758
+ listFiles: any;
20759
+ }
20760
+
20761
+ interface UpsertDraftManualContentInstagramDto {
20762
+ startStopFolder: EStartStop;
20763
+ folderName: string;
20764
+ listDraftManualContentChildren: Array<UpsertDraftManualContentInstagramChildrenItemPostDto>;
20765
+ userAssignId: string;
20766
+ }
20767
+ interface IViewAssignUserForDraftManualContentInstagramDto {
20768
+ id: string;
20769
+ department: string;
20770
+ leader: string;
20771
+ team: string;
20772
+ member: string;
20773
+ lastUpdated: Date;
20774
+ }
20775
+ interface BulkAssignUserDraftManualContentInstagramDto {
20776
+ userAssignIds: string[];
20777
+ draftManualContentIds: string[];
20778
+ }
20779
+ interface RemoveAssignUserDraftManualContentInstagramDto {
20780
+ userAssignId: string;
20781
+ }
20782
+ interface FindOverviewDraftManualContentInstagramDto {
20783
+ totalDepartments: number;
20784
+ totalLeaders: number;
20785
+ totalTeams: number;
20786
+ totalUsers: number;
20787
+ totalContentFolder: number;
20788
+ totalNewDaily: number;
20789
+ totalNewMonthly: number;
20790
+ statusNew: {
20791
+ [EStartStop.Start]: number;
20792
+ [EStartStop.Stop]: number;
20793
+ total: number;
20794
+ };
20795
+ statusReel: {
20796
+ [EStartStop.Start]: number;
20797
+ [EStartStop.Stop]: number;
20798
+ total: number;
20799
+ };
20800
+ statusSquareProduct: {
20801
+ [EStartStop.Start]: number;
20802
+ [EStartStop.Stop]: number;
20803
+ total: number;
20804
+ };
20805
+ statusPosts: {
20806
+ [EDraftManualContentInstagramStatusPost.Draft]: number;
20807
+ [EDraftManualContentInstagramStatusPost.Use]: number;
20808
+ [EDraftManualContentInstagramStatusPost.Posted]: number;
20809
+ [EDraftManualContentInstagramStatusPost.Error]: number;
20810
+ total: number;
20811
+ };
20812
+ startContentFolder: {
20813
+ [EStartStop.Start]: number;
20814
+ [EStartStop.Stop]: number;
20815
+ total: number;
20816
+ };
20817
+ }
20818
+ interface FindDraftManualContentInstagramDto extends IFindBaseDto {
20819
+ id: string;
20820
+ folderName: string;
20821
+ startStopFolder: EStartStop;
20822
+ type: ETypeManagerWorkClassify;
20823
+ listDraftManualContentChildren: Array<{
20824
+ id: string;
20825
+ type: EDraftManualContentInstagramTypePost;
20826
+ startStop: EStartStop;
20827
+ timeStopStart: Date;
20828
+ postInfo: {
20829
+ childrenId: string;
20830
+ listUrls: string[];
20831
+ };
20832
+ totalPosts: number;
20833
+ totalPostsPosted: number;
20834
+ totalPostsError: number;
20835
+ totalPostsDraft: number;
20836
+ totalPostsUse: number;
20837
+ }>;
20838
+ }
20839
+ interface FilterDraftManualContentInstagramDto extends IFilterBaseDto {
20840
+ startStopFolder: EStartStop[];
20841
+ startStopNew: EStartStop[];
20842
+ startStopReel: EStartStop[];
20843
+ startStopSquare: EStartStop[];
20844
+ }
20845
+ declare enum EFilterOptionDraftManualContentInstagram {
20846
+ StartStopFolder = "startStopFolder",
20847
+ StartStopNew = "startStopNew",
20848
+ StartStopReel = "startStopReel",
20849
+ StartStopSquare = "startStopSquare",
20850
+ DepartmentCreator = "departmentCreator",
20851
+ TeamCreator = "teamCreator",
20852
+ LeaderCreator = "leaderCreator",
20853
+ CreatedBy = "createdBy",
20854
+ UpdatedBy = "updatedBy",
20855
+ DepartmentAssign = "departmentAssign",
20856
+ TeamAssign = "teamAssign",
20857
+ LeaderAssign = "leaderAssign",
20858
+ UserAssign = "userAssign",
20859
+ GroupSocial = "groupSocial"
20860
+ }
20861
+
20862
+ interface AddDraftManualContentInstagramChildrenDto {
20863
+ caption: string;
20864
+ listFiles: any;
20865
+ }
20866
+ interface AddBulkDraftManualContentInstagramChildrenDto {
20867
+ numberPost: number;
20868
+ }
20869
+ interface GetAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
20870
+ typePost: EDraftManualContentInstagramTypePost;
20871
+ }
20872
+ interface ResultAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
20873
+ accountDriverId: string;
20874
+ folderPath: string;
20875
+ }
20876
+ interface UpsertDraftManualContentInstagramChildrenDto {
20877
+ type: EDraftManualContentInstagramTypePost;
20878
+ startStop: EStartStop;
20879
+ }
20880
+ interface ListDraftManualContentInstagramChildrenDto extends IFindBaseDto {
20881
+ type: EDraftManualContentInstagramTypePost;
20882
+ }
20883
+ interface ListDraftManualContentChildrenDto extends IFindBaseDto {
20884
+ id: string;
20885
+ caption: string;
20886
+ listFiles: Array<{
20887
+ id: string;
20888
+ url: string;
20889
+ type: "Video" | "Image";
20890
+ size: number;
20891
+ originalName: string;
20892
+ }>;
20893
+ type: EDraftManualContentInstagramTypePost;
20894
+ draftManualContentId: string;
20895
+ startStop: EStartStop;
20896
+ timeStopStart: Date;
20897
+ }
20898
+
20899
+ interface IDraftManualContentInstagram extends IBaseModel, ITrackingModel, IAssignUser {
20900
+ folderName: string;
20901
+ startStop: EStartStop;
20902
+ timeStopStart: Date;
20903
+ }
20904
+
20905
+ interface IDraftManualContentInstagramChildren extends IBaseModel, ITrackingModel {
20906
+ typePost: EDraftManualContentInstagramTypePost;
20907
+ draftManualContentId: string | IDraftManualContentInstagram;
20908
+ startStop: EStartStop;
20909
+ timeStopStart: Date;
20910
+ }
20911
+
20912
+ interface IDraftManualContentInstagramChildrenItemPost extends IBaseModel, ITrackingModel {
20913
+ caption: string;
20914
+ listFiles: Array<{
20915
+ id: string;
20916
+ url: string;
20917
+ type: "Video" | "Image";
20918
+ size: number;
20919
+ originalName: string;
20920
+ }>;
20921
+ draftManualContentChildrenId: string | IDraftManualContentInstagramChildren;
20922
+ status: EDraftManualContentInstagramStatusPost;
20923
+ }
20924
+
20925
+ interface IDraftManualContentPermissionInstagram extends IBaseModel {
20926
+ draftManualContent: string | IDraftManualContentInstagram;
20927
+ user: string | IUser;
20928
+ }
20929
+
20928
20930
  interface IVoiceLanguage extends IBaseModel, ITrackingModel {
20929
20931
  vl_name: string;
20930
20932
  vl_key: ETypeVoiceLanguage;
package/dist/index.d.ts CHANGED
@@ -81,6 +81,9 @@ declare const CONST_API_CONTROLLERS: {
81
81
  TASKS_MANUAL_CONTENT_THREADS_CHILDREN: string;
82
82
  TASKS_MANUAL_CONTENT_THREADS_CHILDREN_ITEM_POST: string;
83
83
  TASKS_MANUAL_CONTENT_THREADS_RUNTIME: string;
84
+ DRAFT_MANUAL_CONTENT_SOCIAL_INSTAGRAM: string;
85
+ DRAFT_MANUAL_CONTENT_INSTAGRAM_CHILDREN: string;
86
+ DRAFT_MANUAL_CONTENT_INSTAGRAM_CHILDREN_ITEM_POST: string;
84
87
  REPORT_MANAGER: string;
85
88
  BLOG_CATEGORY: string;
86
89
  BLOG_POST: string;
@@ -18356,196 +18359,6 @@ interface IManualContentSocialInstagramChildren extends IBaseModel, ITrackingMod
18356
18359
  timeStopStart: Date;
18357
18360
  }
18358
18361
 
18359
- declare enum EDraftManualContentInstagramStatusPost {
18360
- Draft = "Draft",
18361
- Use = "Use",
18362
- Posted = "Posted",// Có thể chuyển thành Use để chạy cho lần sau
18363
- Error = "Error"
18364
- }
18365
- declare enum EDraftManualContentInstagramTypePost {
18366
- New = "New",
18367
- Reel = "Reel",
18368
- SquareProduct = "SquareProduct"
18369
- }
18370
-
18371
- interface EditStatusDraftManualContentInstagramChildrenItemPost {
18372
- status: EDraftManualContentInstagramStatusPost;
18373
- listItemIds: string;
18374
- }
18375
- interface UpsertDraftManualContentInstagramChildrenItemPostDto {
18376
- caption: string;
18377
- listFiles: any;
18378
- }
18379
-
18380
- interface UpsertDraftManualContentInstagramDto {
18381
- startStopFolder: EStartStop;
18382
- folderName: string;
18383
- listDraftManualContentChildren: Array<UpsertDraftManualContentInstagramChildrenItemPostDto>;
18384
- userAssignId: string;
18385
- }
18386
- interface IViewAssignUserForDraftManualContentInstagramDto {
18387
- id: string;
18388
- department: string;
18389
- leader: string;
18390
- team: string;
18391
- member: string;
18392
- lastUpdated: Date;
18393
- }
18394
- interface BulkAssignUserDraftManualContentInstagramDto {
18395
- userAssignIds: string[];
18396
- draftManualContentIds: string[];
18397
- }
18398
- interface RemoveAssignUserDraftManualContentInstagramDto {
18399
- userAssignId: string;
18400
- }
18401
- interface FindOverviewDraftManualContentInstagramDto {
18402
- totalDepartments: number;
18403
- totalLeaders: number;
18404
- totalTeams: number;
18405
- totalUsers: number;
18406
- totalContentFolder: number;
18407
- totalNewDaily: number;
18408
- totalNewMonthly: number;
18409
- statusNew: {
18410
- [EStartStop.Start]: number;
18411
- [EStartStop.Stop]: number;
18412
- total: number;
18413
- };
18414
- statusReel: {
18415
- [EStartStop.Start]: number;
18416
- [EStartStop.Stop]: number;
18417
- total: number;
18418
- };
18419
- statusSquareProduct: {
18420
- [EStartStop.Start]: number;
18421
- [EStartStop.Stop]: number;
18422
- total: number;
18423
- };
18424
- statusPosts: {
18425
- [EDraftManualContentInstagramStatusPost.Draft]: number;
18426
- [EDraftManualContentInstagramStatusPost.Use]: number;
18427
- [EDraftManualContentInstagramStatusPost.Posted]: number;
18428
- [EDraftManualContentInstagramStatusPost.Error]: number;
18429
- total: number;
18430
- };
18431
- startContentFolder: {
18432
- [EStartStop.Start]: number;
18433
- [EStartStop.Stop]: number;
18434
- total: number;
18435
- };
18436
- }
18437
- interface FindDraftManualContentInstagramDto extends IFindBaseDto {
18438
- id: string;
18439
- folderName: string;
18440
- startStopFolder: EStartStop;
18441
- type: ETypeManagerWorkClassify;
18442
- listDraftManualContentChildren: Array<{
18443
- id: string;
18444
- type: EDraftManualContentInstagramTypePost;
18445
- startStop: EStartStop;
18446
- timeStopStart: Date;
18447
- postInfo: {
18448
- childrenId: string;
18449
- listUrls: string[];
18450
- };
18451
- totalPosts: number;
18452
- totalPostsPosted: number;
18453
- totalPostsError: number;
18454
- totalPostsDraft: number;
18455
- totalPostsUse: number;
18456
- }>;
18457
- }
18458
- interface FilterDraftManualContentInstagramDto extends IFilterBaseDto {
18459
- startStopFolder: EStartStop[];
18460
- startStopNew: EStartStop[];
18461
- startStopReel: EStartStop[];
18462
- startStopSquare: EStartStop[];
18463
- }
18464
- declare enum EFilterOptionDraftManualContentInstagram {
18465
- StartStopFolder = "startStopFolder",
18466
- StartStopNew = "startStopNew",
18467
- StartStopReel = "startStopReel",
18468
- StartStopSquare = "startStopSquare",
18469
- DepartmentCreator = "departmentCreator",
18470
- TeamCreator = "teamCreator",
18471
- LeaderCreator = "leaderCreator",
18472
- CreatedBy = "createdBy",
18473
- UpdatedBy = "updatedBy",
18474
- DepartmentAssign = "departmentAssign",
18475
- TeamAssign = "teamAssign",
18476
- LeaderAssign = "leaderAssign",
18477
- UserAssign = "userAssign",
18478
- GroupSocial = "groupSocial"
18479
- }
18480
-
18481
- interface AddDraftManualContentInstagramChildrenDto {
18482
- caption: string;
18483
- listFiles: any;
18484
- }
18485
- interface AddBulkDraftManualContentInstagramChildrenDto {
18486
- numberPost: number;
18487
- }
18488
- interface GetAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
18489
- typePost: EDraftManualContentInstagramTypePost;
18490
- }
18491
- interface ResultAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
18492
- accountDriverId: string;
18493
- folderPath: string;
18494
- }
18495
- interface UpsertDraftManualContentInstagramChildrenDto {
18496
- type: EDraftManualContentInstagramTypePost;
18497
- startStop: EStartStop;
18498
- }
18499
- interface ListDraftManualContentInstagramChildrenDto extends IFindBaseDto {
18500
- type: EDraftManualContentInstagramTypePost;
18501
- }
18502
- interface ListDraftManualContentChildrenDto extends IFindBaseDto {
18503
- id: string;
18504
- caption: string;
18505
- listFiles: Array<{
18506
- id: string;
18507
- url: string;
18508
- type: "Video" | "Image";
18509
- size: number;
18510
- originalName: string;
18511
- }>;
18512
- type: EDraftManualContentInstagramTypePost;
18513
- draftManualContentId: string;
18514
- startStop: EStartStop;
18515
- timeStopStart: Date;
18516
- }
18517
-
18518
- interface IDraftManualContentInstagram extends IBaseModel, ITrackingModel, IAssignUser {
18519
- folderName: string;
18520
- startStop: EStartStop;
18521
- timeStopStart: Date;
18522
- }
18523
-
18524
- interface IDraftManualContentInstagramChildren extends IBaseModel, ITrackingModel {
18525
- typePost: EDraftManualContentInstagramTypePost;
18526
- draftManualContentId: string | IDraftManualContentInstagram;
18527
- startStop: EStartStop;
18528
- timeStopStart: Date;
18529
- }
18530
-
18531
- interface IDraftManualContentInstagramChildrenItemPost extends IBaseModel, ITrackingModel {
18532
- caption: string;
18533
- listFiles: Array<{
18534
- id: string;
18535
- url: string;
18536
- type: "Video" | "Image";
18537
- size: number;
18538
- originalName: string;
18539
- }>;
18540
- draftManualContentChildrenId: string | IDraftManualContentInstagramChildren;
18541
- status: EDraftManualContentInstagramStatusPost;
18542
- }
18543
-
18544
- interface IDraftManualContentPermissionInstagram extends IBaseModel {
18545
- draftManualContent: string | IDraftManualContentInstagram;
18546
- user: string | IUser;
18547
- }
18548
-
18549
18362
  interface IManualContentSocialInstagramChildrenItemPost extends IBaseModel, ITrackingModel {
18550
18363
  caption: string;
18551
18364
  listFiles: Array<{
@@ -18556,7 +18369,6 @@ interface IManualContentSocialInstagramChildrenItemPost extends IBaseModel, ITra
18556
18369
  originalName: string;
18557
18370
  }>;
18558
18371
  manualContentSocialChildrenId: string;
18559
- syncDraftContentSocialChildrenItemPostId: string | IDraftManualContentInstagramChildrenItemPost;
18560
18372
  status: EManualContentSocialInstagramStatusPost;
18561
18373
  }
18562
18374
 
@@ -20925,6 +20737,196 @@ interface FindTaskWorkflowGroupDto extends IFindBaseDto {
20925
20737
  typeSocial: ETypeSocial;
20926
20738
  }
20927
20739
 
20740
+ declare enum EDraftManualContentInstagramStatusPost {
20741
+ Draft = "Draft",
20742
+ Use = "Use",
20743
+ Posted = "Posted",// Có thể chuyển thành Use để chạy cho lần sau
20744
+ Error = "Error"
20745
+ }
20746
+ declare enum EDraftManualContentInstagramTypePost {
20747
+ New = "New",
20748
+ Reel = "Reel",
20749
+ SquareProduct = "SquareProduct"
20750
+ }
20751
+
20752
+ interface EditStatusDraftManualContentInstagramChildrenItemPost {
20753
+ status: EDraftManualContentInstagramStatusPost;
20754
+ listItemIds: string;
20755
+ }
20756
+ interface UpsertDraftManualContentInstagramChildrenItemPostDto {
20757
+ caption: string;
20758
+ listFiles: any;
20759
+ }
20760
+
20761
+ interface UpsertDraftManualContentInstagramDto {
20762
+ startStopFolder: EStartStop;
20763
+ folderName: string;
20764
+ listDraftManualContentChildren: Array<UpsertDraftManualContentInstagramChildrenItemPostDto>;
20765
+ userAssignId: string;
20766
+ }
20767
+ interface IViewAssignUserForDraftManualContentInstagramDto {
20768
+ id: string;
20769
+ department: string;
20770
+ leader: string;
20771
+ team: string;
20772
+ member: string;
20773
+ lastUpdated: Date;
20774
+ }
20775
+ interface BulkAssignUserDraftManualContentInstagramDto {
20776
+ userAssignIds: string[];
20777
+ draftManualContentIds: string[];
20778
+ }
20779
+ interface RemoveAssignUserDraftManualContentInstagramDto {
20780
+ userAssignId: string;
20781
+ }
20782
+ interface FindOverviewDraftManualContentInstagramDto {
20783
+ totalDepartments: number;
20784
+ totalLeaders: number;
20785
+ totalTeams: number;
20786
+ totalUsers: number;
20787
+ totalContentFolder: number;
20788
+ totalNewDaily: number;
20789
+ totalNewMonthly: number;
20790
+ statusNew: {
20791
+ [EStartStop.Start]: number;
20792
+ [EStartStop.Stop]: number;
20793
+ total: number;
20794
+ };
20795
+ statusReel: {
20796
+ [EStartStop.Start]: number;
20797
+ [EStartStop.Stop]: number;
20798
+ total: number;
20799
+ };
20800
+ statusSquareProduct: {
20801
+ [EStartStop.Start]: number;
20802
+ [EStartStop.Stop]: number;
20803
+ total: number;
20804
+ };
20805
+ statusPosts: {
20806
+ [EDraftManualContentInstagramStatusPost.Draft]: number;
20807
+ [EDraftManualContentInstagramStatusPost.Use]: number;
20808
+ [EDraftManualContentInstagramStatusPost.Posted]: number;
20809
+ [EDraftManualContentInstagramStatusPost.Error]: number;
20810
+ total: number;
20811
+ };
20812
+ startContentFolder: {
20813
+ [EStartStop.Start]: number;
20814
+ [EStartStop.Stop]: number;
20815
+ total: number;
20816
+ };
20817
+ }
20818
+ interface FindDraftManualContentInstagramDto extends IFindBaseDto {
20819
+ id: string;
20820
+ folderName: string;
20821
+ startStopFolder: EStartStop;
20822
+ type: ETypeManagerWorkClassify;
20823
+ listDraftManualContentChildren: Array<{
20824
+ id: string;
20825
+ type: EDraftManualContentInstagramTypePost;
20826
+ startStop: EStartStop;
20827
+ timeStopStart: Date;
20828
+ postInfo: {
20829
+ childrenId: string;
20830
+ listUrls: string[];
20831
+ };
20832
+ totalPosts: number;
20833
+ totalPostsPosted: number;
20834
+ totalPostsError: number;
20835
+ totalPostsDraft: number;
20836
+ totalPostsUse: number;
20837
+ }>;
20838
+ }
20839
+ interface FilterDraftManualContentInstagramDto extends IFilterBaseDto {
20840
+ startStopFolder: EStartStop[];
20841
+ startStopNew: EStartStop[];
20842
+ startStopReel: EStartStop[];
20843
+ startStopSquare: EStartStop[];
20844
+ }
20845
+ declare enum EFilterOptionDraftManualContentInstagram {
20846
+ StartStopFolder = "startStopFolder",
20847
+ StartStopNew = "startStopNew",
20848
+ StartStopReel = "startStopReel",
20849
+ StartStopSquare = "startStopSquare",
20850
+ DepartmentCreator = "departmentCreator",
20851
+ TeamCreator = "teamCreator",
20852
+ LeaderCreator = "leaderCreator",
20853
+ CreatedBy = "createdBy",
20854
+ UpdatedBy = "updatedBy",
20855
+ DepartmentAssign = "departmentAssign",
20856
+ TeamAssign = "teamAssign",
20857
+ LeaderAssign = "leaderAssign",
20858
+ UserAssign = "userAssign",
20859
+ GroupSocial = "groupSocial"
20860
+ }
20861
+
20862
+ interface AddDraftManualContentInstagramChildrenDto {
20863
+ caption: string;
20864
+ listFiles: any;
20865
+ }
20866
+ interface AddBulkDraftManualContentInstagramChildrenDto {
20867
+ numberPost: number;
20868
+ }
20869
+ interface GetAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
20870
+ typePost: EDraftManualContentInstagramTypePost;
20871
+ }
20872
+ interface ResultAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
20873
+ accountDriverId: string;
20874
+ folderPath: string;
20875
+ }
20876
+ interface UpsertDraftManualContentInstagramChildrenDto {
20877
+ type: EDraftManualContentInstagramTypePost;
20878
+ startStop: EStartStop;
20879
+ }
20880
+ interface ListDraftManualContentInstagramChildrenDto extends IFindBaseDto {
20881
+ type: EDraftManualContentInstagramTypePost;
20882
+ }
20883
+ interface ListDraftManualContentChildrenDto extends IFindBaseDto {
20884
+ id: string;
20885
+ caption: string;
20886
+ listFiles: Array<{
20887
+ id: string;
20888
+ url: string;
20889
+ type: "Video" | "Image";
20890
+ size: number;
20891
+ originalName: string;
20892
+ }>;
20893
+ type: EDraftManualContentInstagramTypePost;
20894
+ draftManualContentId: string;
20895
+ startStop: EStartStop;
20896
+ timeStopStart: Date;
20897
+ }
20898
+
20899
+ interface IDraftManualContentInstagram extends IBaseModel, ITrackingModel, IAssignUser {
20900
+ folderName: string;
20901
+ startStop: EStartStop;
20902
+ timeStopStart: Date;
20903
+ }
20904
+
20905
+ interface IDraftManualContentInstagramChildren extends IBaseModel, ITrackingModel {
20906
+ typePost: EDraftManualContentInstagramTypePost;
20907
+ draftManualContentId: string | IDraftManualContentInstagram;
20908
+ startStop: EStartStop;
20909
+ timeStopStart: Date;
20910
+ }
20911
+
20912
+ interface IDraftManualContentInstagramChildrenItemPost extends IBaseModel, ITrackingModel {
20913
+ caption: string;
20914
+ listFiles: Array<{
20915
+ id: string;
20916
+ url: string;
20917
+ type: "Video" | "Image";
20918
+ size: number;
20919
+ originalName: string;
20920
+ }>;
20921
+ draftManualContentChildrenId: string | IDraftManualContentInstagramChildren;
20922
+ status: EDraftManualContentInstagramStatusPost;
20923
+ }
20924
+
20925
+ interface IDraftManualContentPermissionInstagram extends IBaseModel {
20926
+ draftManualContent: string | IDraftManualContentInstagram;
20927
+ user: string | IUser;
20928
+ }
20929
+
20928
20930
  interface IVoiceLanguage extends IBaseModel, ITrackingModel {
20929
20931
  vl_name: string;
20930
20932
  vl_key: ETypeVoiceLanguage;
package/dist/index.js CHANGED
@@ -416,6 +416,9 @@ var CONST_API_CONTROLLERS = {
416
416
  TASKS_MANUAL_CONTENT_THREADS_CHILDREN: "tasks-manual-content-threads-children",
417
417
  TASKS_MANUAL_CONTENT_THREADS_CHILDREN_ITEM_POST: "tasks-manual-content-threads-children-item-post",
418
418
  TASKS_MANUAL_CONTENT_THREADS_RUNTIME: "tasks-manual-content-threads-runtime",
419
+ DRAFT_MANUAL_CONTENT_SOCIAL_INSTAGRAM: "draft-manual-content-social-instagram",
420
+ DRAFT_MANUAL_CONTENT_INSTAGRAM_CHILDREN: "draft-manual-content-instagram-children",
421
+ DRAFT_MANUAL_CONTENT_INSTAGRAM_CHILDREN_ITEM_POST: "draft-manual-content-instagram-children-item-post",
419
422
  REPORT_MANAGER: "report-manager",
420
423
  BLOG_CATEGORY: "blog-category",
421
424
  BLOG_POST: "blog-post",
package/dist/index.mjs CHANGED
@@ -105,6 +105,9 @@ var CONST_API_CONTROLLERS = {
105
105
  TASKS_MANUAL_CONTENT_THREADS_CHILDREN: "tasks-manual-content-threads-children",
106
106
  TASKS_MANUAL_CONTENT_THREADS_CHILDREN_ITEM_POST: "tasks-manual-content-threads-children-item-post",
107
107
  TASKS_MANUAL_CONTENT_THREADS_RUNTIME: "tasks-manual-content-threads-runtime",
108
+ DRAFT_MANUAL_CONTENT_SOCIAL_INSTAGRAM: "draft-manual-content-social-instagram",
109
+ DRAFT_MANUAL_CONTENT_INSTAGRAM_CHILDREN: "draft-manual-content-instagram-children",
110
+ DRAFT_MANUAL_CONTENT_INSTAGRAM_CHILDREN_ITEM_POST: "draft-manual-content-instagram-children-item-post",
108
111
  REPORT_MANAGER: "report-manager",
109
112
  BLOG_CATEGORY: "blog-category",
110
113
  BLOG_POST: "blog-post",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation-lib",
3
- "version": "6.6.504",
3
+ "version": "6.6.506",
4
4
  "description": "Common features and type of applications auto",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",