automation-lib 6.6.501 → 6.6.503

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.
Files changed (3) hide show
  1. package/dist/index.d.mts +191 -190
  2. package/dist/index.d.ts +191 -190
  3. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -18356,6 +18356,196 @@ interface IManualContentSocialInstagramChildren extends IBaseModel, ITrackingMod
18356
18356
  timeStopStart: Date;
18357
18357
  }
18358
18358
 
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
+
18359
18549
  interface IManualContentSocialInstagramChildrenItemPost extends IBaseModel, ITrackingModel {
18360
18550
  caption: string;
18361
18551
  listFiles: Array<{
@@ -18366,6 +18556,7 @@ interface IManualContentSocialInstagramChildrenItemPost extends IBaseModel, ITra
18366
18556
  originalName: string;
18367
18557
  }>;
18368
18558
  manualContentSocialChildrenId: string;
18559
+ syncDraftContentSocialChildrenItemPostId: string | IDraftManualContentInstagramChildrenItemPost;
18369
18560
  status: EManualContentSocialInstagramStatusPost;
18370
18561
  }
18371
18562
 
@@ -20734,196 +20925,6 @@ interface FindTaskWorkflowGroupDto extends IFindBaseDto {
20734
20925
  typeSocial: ETypeSocial;
20735
20926
  }
20736
20927
 
20737
- declare enum EDraftManualContentInstagramStatusPost {
20738
- Draft = "Draft",
20739
- Use = "Use",
20740
- Posted = "Posted",// Có thể chuyển thành Use để chạy cho lần sau
20741
- Error = "Error"
20742
- }
20743
- declare enum EDraftManualContentInstagramTypePost {
20744
- New = "New",
20745
- Reel = "Reel",
20746
- SquareProduct = "SquareProduct"
20747
- }
20748
-
20749
- interface EditStatusDraftManualContentInstagramChildrenItemPost {
20750
- status: EDraftManualContentInstagramStatusPost;
20751
- listItemIds: string;
20752
- }
20753
- interface UpsertDraftManualContentInstagramChildrenItemPostDto {
20754
- caption: string;
20755
- listFiles: any;
20756
- }
20757
-
20758
- interface UpsertDraftManualContentInstagramDto {
20759
- startStopFolder: EStartStop;
20760
- folderName: string;
20761
- listDraftManualContentChildren: Array<UpsertDraftManualContentInstagramChildrenItemPostDto>;
20762
- userAssignId: string;
20763
- }
20764
- interface IViewAssignUserForDraftManualContentInstagramDto {
20765
- id: string;
20766
- department: string;
20767
- leader: string;
20768
- team: string;
20769
- member: string;
20770
- lastUpdated: Date;
20771
- }
20772
- interface BulkAssignUserDraftManualContentInstagramDto {
20773
- userAssignIds: string[];
20774
- draftContentSocialIds: string[];
20775
- }
20776
- interface RemoveAssignUserDraftManualContentInstagramDto {
20777
- userAssignId: string;
20778
- }
20779
- interface FindOverviewDraftManualContentInstagramDto {
20780
- totalDepartments: number;
20781
- totalLeaders: number;
20782
- totalTeams: number;
20783
- totalUsers: number;
20784
- totalContentFolder: number;
20785
- totalNewDaily: number;
20786
- totalNewMonthly: number;
20787
- statusNew: {
20788
- [EStartStop.Start]: number;
20789
- [EStartStop.Stop]: number;
20790
- total: number;
20791
- };
20792
- statusReel: {
20793
- [EStartStop.Start]: number;
20794
- [EStartStop.Stop]: number;
20795
- total: number;
20796
- };
20797
- statusSquareProduct: {
20798
- [EStartStop.Start]: number;
20799
- [EStartStop.Stop]: number;
20800
- total: number;
20801
- };
20802
- statusPosts: {
20803
- [EDraftManualContentInstagramStatusPost.Draft]: number;
20804
- [EDraftManualContentInstagramStatusPost.Use]: number;
20805
- [EDraftManualContentInstagramStatusPost.Posted]: number;
20806
- [EDraftManualContentInstagramStatusPost.Error]: number;
20807
- total: number;
20808
- };
20809
- startContentFolder: {
20810
- [EStartStop.Start]: number;
20811
- [EStartStop.Stop]: number;
20812
- total: number;
20813
- };
20814
- }
20815
- interface FindDraftManualContentInstagramDto extends IFindBaseDto {
20816
- id: string;
20817
- folderName: string;
20818
- startStopFolder: EStartStop;
20819
- type: ETypeManagerWorkClassify;
20820
- listDraftManualContentChildren: Array<{
20821
- id: string;
20822
- type: EDraftManualContentInstagramTypePost;
20823
- startStop: EStartStop;
20824
- timeStopStart: Date;
20825
- postInfo: {
20826
- childrenId: string;
20827
- listUrls: string[];
20828
- };
20829
- totalPosts: number;
20830
- totalPostsPosted: number;
20831
- totalPostsError: number;
20832
- totalPostsDraft: number;
20833
- totalPostsUse: number;
20834
- }>;
20835
- }
20836
- interface FilterDraftManualContentInstagramDto extends IFilterBaseDto {
20837
- startStopFolder: EStartStop[];
20838
- startStopNew: EStartStop[];
20839
- startStopReel: EStartStop[];
20840
- startStopSquare: EStartStop[];
20841
- }
20842
- declare enum EFilterOptionDraftManualContentInstagram {
20843
- StartStopFolder = "startStopFolder",
20844
- StartStopNew = "startStopNew",
20845
- StartStopReel = "startStopReel",
20846
- StartStopSquare = "startStopSquare",
20847
- DepartmentCreator = "departmentCreator",
20848
- TeamCreator = "teamCreator",
20849
- LeaderCreator = "leaderCreator",
20850
- CreatedBy = "createdBy",
20851
- UpdatedBy = "updatedBy",
20852
- DepartmentAssign = "departmentAssign",
20853
- TeamAssign = "teamAssign",
20854
- LeaderAssign = "leaderAssign",
20855
- UserAssign = "userAssign",
20856
- GroupSocial = "groupSocial"
20857
- }
20858
-
20859
- interface AddDraftManualContentInstagramChildrenDto {
20860
- caption: string;
20861
- listFiles: any;
20862
- }
20863
- interface AddBulkDraftManualContentInstagramChildrenDto {
20864
- numberPost: number;
20865
- }
20866
- interface GetAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
20867
- typePost: EDraftManualContentInstagramTypePost;
20868
- }
20869
- interface ResultAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
20870
- accountDriverId: string;
20871
- folderPath: string;
20872
- }
20873
- interface UpsertDraftManualContentInstagramChildrenDto {
20874
- type: EDraftManualContentInstagramTypePost;
20875
- startStop: EStartStop;
20876
- }
20877
- interface ListDraftManualContentInstagramChildrenDto extends IFindBaseDto {
20878
- type: EDraftManualContentInstagramTypePost;
20879
- }
20880
- interface ListDraftManualContentChildrenDto extends IFindBaseDto {
20881
- id: string;
20882
- caption: string;
20883
- listFiles: Array<{
20884
- id: string;
20885
- url: string;
20886
- type: "Video" | "Image";
20887
- size: number;
20888
- originalName: string;
20889
- }>;
20890
- type: EDraftManualContentInstagramTypePost;
20891
- draftContentSocialId: string;
20892
- startStop: EStartStop;
20893
- timeStopStart: Date;
20894
- }
20895
-
20896
- interface IDraftManualContentInstagram extends IBaseModel, ITrackingModel, IAssignUser {
20897
- folderName: string;
20898
- startStop: EStartStop;
20899
- timeStopStart: Date;
20900
- }
20901
-
20902
- interface IDraftManualContentInstagramChildren extends IBaseModel, ITrackingModel {
20903
- typePost: EDraftManualContentInstagramTypePost;
20904
- draftContentSocialId: string | IDraftManualContentInstagram;
20905
- startStop: EStartStop;
20906
- timeStopStart: Date;
20907
- }
20908
-
20909
- interface IDraftManualContentInstagramChildrenItemPost extends IBaseModel, ITrackingModel {
20910
- caption: string;
20911
- listFiles: Array<{
20912
- id: string;
20913
- url: string;
20914
- type: "Video" | "Image";
20915
- size: number;
20916
- originalName: string;
20917
- }>;
20918
- draftContentSocialChildrenId: string | IDraftManualContentInstagramChildren;
20919
- status: EDraftManualContentInstagramStatusPost;
20920
- }
20921
-
20922
- interface IDraftManualContentPermissionInstagram extends IBaseModel {
20923
- draftContentSocial: string | IDraftManualContentInstagram;
20924
- user: string | IUser;
20925
- }
20926
-
20927
20928
  interface IVoiceLanguage extends IBaseModel, ITrackingModel {
20928
20929
  vl_name: string;
20929
20930
  vl_key: ETypeVoiceLanguage;
package/dist/index.d.ts CHANGED
@@ -18356,6 +18356,196 @@ interface IManualContentSocialInstagramChildren extends IBaseModel, ITrackingMod
18356
18356
  timeStopStart: Date;
18357
18357
  }
18358
18358
 
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
+
18359
18549
  interface IManualContentSocialInstagramChildrenItemPost extends IBaseModel, ITrackingModel {
18360
18550
  caption: string;
18361
18551
  listFiles: Array<{
@@ -18366,6 +18556,7 @@ interface IManualContentSocialInstagramChildrenItemPost extends IBaseModel, ITra
18366
18556
  originalName: string;
18367
18557
  }>;
18368
18558
  manualContentSocialChildrenId: string;
18559
+ syncDraftContentSocialChildrenItemPostId: string | IDraftManualContentInstagramChildrenItemPost;
18369
18560
  status: EManualContentSocialInstagramStatusPost;
18370
18561
  }
18371
18562
 
@@ -20734,196 +20925,6 @@ interface FindTaskWorkflowGroupDto extends IFindBaseDto {
20734
20925
  typeSocial: ETypeSocial;
20735
20926
  }
20736
20927
 
20737
- declare enum EDraftManualContentInstagramStatusPost {
20738
- Draft = "Draft",
20739
- Use = "Use",
20740
- Posted = "Posted",// Có thể chuyển thành Use để chạy cho lần sau
20741
- Error = "Error"
20742
- }
20743
- declare enum EDraftManualContentInstagramTypePost {
20744
- New = "New",
20745
- Reel = "Reel",
20746
- SquareProduct = "SquareProduct"
20747
- }
20748
-
20749
- interface EditStatusDraftManualContentInstagramChildrenItemPost {
20750
- status: EDraftManualContentInstagramStatusPost;
20751
- listItemIds: string;
20752
- }
20753
- interface UpsertDraftManualContentInstagramChildrenItemPostDto {
20754
- caption: string;
20755
- listFiles: any;
20756
- }
20757
-
20758
- interface UpsertDraftManualContentInstagramDto {
20759
- startStopFolder: EStartStop;
20760
- folderName: string;
20761
- listDraftManualContentChildren: Array<UpsertDraftManualContentInstagramChildrenItemPostDto>;
20762
- userAssignId: string;
20763
- }
20764
- interface IViewAssignUserForDraftManualContentInstagramDto {
20765
- id: string;
20766
- department: string;
20767
- leader: string;
20768
- team: string;
20769
- member: string;
20770
- lastUpdated: Date;
20771
- }
20772
- interface BulkAssignUserDraftManualContentInstagramDto {
20773
- userAssignIds: string[];
20774
- draftContentSocialIds: string[];
20775
- }
20776
- interface RemoveAssignUserDraftManualContentInstagramDto {
20777
- userAssignId: string;
20778
- }
20779
- interface FindOverviewDraftManualContentInstagramDto {
20780
- totalDepartments: number;
20781
- totalLeaders: number;
20782
- totalTeams: number;
20783
- totalUsers: number;
20784
- totalContentFolder: number;
20785
- totalNewDaily: number;
20786
- totalNewMonthly: number;
20787
- statusNew: {
20788
- [EStartStop.Start]: number;
20789
- [EStartStop.Stop]: number;
20790
- total: number;
20791
- };
20792
- statusReel: {
20793
- [EStartStop.Start]: number;
20794
- [EStartStop.Stop]: number;
20795
- total: number;
20796
- };
20797
- statusSquareProduct: {
20798
- [EStartStop.Start]: number;
20799
- [EStartStop.Stop]: number;
20800
- total: number;
20801
- };
20802
- statusPosts: {
20803
- [EDraftManualContentInstagramStatusPost.Draft]: number;
20804
- [EDraftManualContentInstagramStatusPost.Use]: number;
20805
- [EDraftManualContentInstagramStatusPost.Posted]: number;
20806
- [EDraftManualContentInstagramStatusPost.Error]: number;
20807
- total: number;
20808
- };
20809
- startContentFolder: {
20810
- [EStartStop.Start]: number;
20811
- [EStartStop.Stop]: number;
20812
- total: number;
20813
- };
20814
- }
20815
- interface FindDraftManualContentInstagramDto extends IFindBaseDto {
20816
- id: string;
20817
- folderName: string;
20818
- startStopFolder: EStartStop;
20819
- type: ETypeManagerWorkClassify;
20820
- listDraftManualContentChildren: Array<{
20821
- id: string;
20822
- type: EDraftManualContentInstagramTypePost;
20823
- startStop: EStartStop;
20824
- timeStopStart: Date;
20825
- postInfo: {
20826
- childrenId: string;
20827
- listUrls: string[];
20828
- };
20829
- totalPosts: number;
20830
- totalPostsPosted: number;
20831
- totalPostsError: number;
20832
- totalPostsDraft: number;
20833
- totalPostsUse: number;
20834
- }>;
20835
- }
20836
- interface FilterDraftManualContentInstagramDto extends IFilterBaseDto {
20837
- startStopFolder: EStartStop[];
20838
- startStopNew: EStartStop[];
20839
- startStopReel: EStartStop[];
20840
- startStopSquare: EStartStop[];
20841
- }
20842
- declare enum EFilterOptionDraftManualContentInstagram {
20843
- StartStopFolder = "startStopFolder",
20844
- StartStopNew = "startStopNew",
20845
- StartStopReel = "startStopReel",
20846
- StartStopSquare = "startStopSquare",
20847
- DepartmentCreator = "departmentCreator",
20848
- TeamCreator = "teamCreator",
20849
- LeaderCreator = "leaderCreator",
20850
- CreatedBy = "createdBy",
20851
- UpdatedBy = "updatedBy",
20852
- DepartmentAssign = "departmentAssign",
20853
- TeamAssign = "teamAssign",
20854
- LeaderAssign = "leaderAssign",
20855
- UserAssign = "userAssign",
20856
- GroupSocial = "groupSocial"
20857
- }
20858
-
20859
- interface AddDraftManualContentInstagramChildrenDto {
20860
- caption: string;
20861
- listFiles: any;
20862
- }
20863
- interface AddBulkDraftManualContentInstagramChildrenDto {
20864
- numberPost: number;
20865
- }
20866
- interface GetAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
20867
- typePost: EDraftManualContentInstagramTypePost;
20868
- }
20869
- interface ResultAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
20870
- accountDriverId: string;
20871
- folderPath: string;
20872
- }
20873
- interface UpsertDraftManualContentInstagramChildrenDto {
20874
- type: EDraftManualContentInstagramTypePost;
20875
- startStop: EStartStop;
20876
- }
20877
- interface ListDraftManualContentInstagramChildrenDto extends IFindBaseDto {
20878
- type: EDraftManualContentInstagramTypePost;
20879
- }
20880
- interface ListDraftManualContentChildrenDto extends IFindBaseDto {
20881
- id: string;
20882
- caption: string;
20883
- listFiles: Array<{
20884
- id: string;
20885
- url: string;
20886
- type: "Video" | "Image";
20887
- size: number;
20888
- originalName: string;
20889
- }>;
20890
- type: EDraftManualContentInstagramTypePost;
20891
- draftContentSocialId: string;
20892
- startStop: EStartStop;
20893
- timeStopStart: Date;
20894
- }
20895
-
20896
- interface IDraftManualContentInstagram extends IBaseModel, ITrackingModel, IAssignUser {
20897
- folderName: string;
20898
- startStop: EStartStop;
20899
- timeStopStart: Date;
20900
- }
20901
-
20902
- interface IDraftManualContentInstagramChildren extends IBaseModel, ITrackingModel {
20903
- typePost: EDraftManualContentInstagramTypePost;
20904
- draftContentSocialId: string | IDraftManualContentInstagram;
20905
- startStop: EStartStop;
20906
- timeStopStart: Date;
20907
- }
20908
-
20909
- interface IDraftManualContentInstagramChildrenItemPost extends IBaseModel, ITrackingModel {
20910
- caption: string;
20911
- listFiles: Array<{
20912
- id: string;
20913
- url: string;
20914
- type: "Video" | "Image";
20915
- size: number;
20916
- originalName: string;
20917
- }>;
20918
- draftContentSocialChildrenId: string | IDraftManualContentInstagramChildren;
20919
- status: EDraftManualContentInstagramStatusPost;
20920
- }
20921
-
20922
- interface IDraftManualContentPermissionInstagram extends IBaseModel {
20923
- draftContentSocial: string | IDraftManualContentInstagram;
20924
- user: string | IUser;
20925
- }
20926
-
20927
20928
  interface IVoiceLanguage extends IBaseModel, ITrackingModel {
20928
20929
  vl_name: string;
20929
20930
  vl_key: ETypeVoiceLanguage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation-lib",
3
- "version": "6.6.501",
3
+ "version": "6.6.503",
4
4
  "description": "Common features and type of applications auto",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",