automation-lib 6.6.505 → 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.
Files changed (3) hide show
  1. package/dist/index.d.mts +190 -191
  2. package/dist/index.d.ts +190 -191
  3. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -18359,196 +18359,6 @@ interface IManualContentSocialInstagramChildren extends IBaseModel, ITrackingMod
18359
18359
  timeStopStart: Date;
18360
18360
  }
18361
18361
 
18362
- declare enum EDraftManualContentInstagramStatusPost {
18363
- Draft = "Draft",
18364
- Use = "Use",
18365
- Posted = "Posted",// Có thể chuyển thành Use để chạy cho lần sau
18366
- Error = "Error"
18367
- }
18368
- declare enum EDraftManualContentInstagramTypePost {
18369
- New = "New",
18370
- Reel = "Reel",
18371
- SquareProduct = "SquareProduct"
18372
- }
18373
-
18374
- interface EditStatusDraftManualContentInstagramChildrenItemPost {
18375
- status: EDraftManualContentInstagramStatusPost;
18376
- listItemIds: string;
18377
- }
18378
- interface UpsertDraftManualContentInstagramChildrenItemPostDto {
18379
- caption: string;
18380
- listFiles: any;
18381
- }
18382
-
18383
- interface UpsertDraftManualContentInstagramDto {
18384
- startStopFolder: EStartStop;
18385
- folderName: string;
18386
- listDraftManualContentChildren: Array<UpsertDraftManualContentInstagramChildrenItemPostDto>;
18387
- userAssignId: string;
18388
- }
18389
- interface IViewAssignUserForDraftManualContentInstagramDto {
18390
- id: string;
18391
- department: string;
18392
- leader: string;
18393
- team: string;
18394
- member: string;
18395
- lastUpdated: Date;
18396
- }
18397
- interface BulkAssignUserDraftManualContentInstagramDto {
18398
- userAssignIds: string[];
18399
- draftManualContentIds: string[];
18400
- }
18401
- interface RemoveAssignUserDraftManualContentInstagramDto {
18402
- userAssignId: string;
18403
- }
18404
- interface FindOverviewDraftManualContentInstagramDto {
18405
- totalDepartments: number;
18406
- totalLeaders: number;
18407
- totalTeams: number;
18408
- totalUsers: number;
18409
- totalContentFolder: number;
18410
- totalNewDaily: number;
18411
- totalNewMonthly: number;
18412
- statusNew: {
18413
- [EStartStop.Start]: number;
18414
- [EStartStop.Stop]: number;
18415
- total: number;
18416
- };
18417
- statusReel: {
18418
- [EStartStop.Start]: number;
18419
- [EStartStop.Stop]: number;
18420
- total: number;
18421
- };
18422
- statusSquareProduct: {
18423
- [EStartStop.Start]: number;
18424
- [EStartStop.Stop]: number;
18425
- total: number;
18426
- };
18427
- statusPosts: {
18428
- [EDraftManualContentInstagramStatusPost.Draft]: number;
18429
- [EDraftManualContentInstagramStatusPost.Use]: number;
18430
- [EDraftManualContentInstagramStatusPost.Posted]: number;
18431
- [EDraftManualContentInstagramStatusPost.Error]: number;
18432
- total: number;
18433
- };
18434
- startContentFolder: {
18435
- [EStartStop.Start]: number;
18436
- [EStartStop.Stop]: number;
18437
- total: number;
18438
- };
18439
- }
18440
- interface FindDraftManualContentInstagramDto extends IFindBaseDto {
18441
- id: string;
18442
- folderName: string;
18443
- startStopFolder: EStartStop;
18444
- type: ETypeManagerWorkClassify;
18445
- listDraftManualContentChildren: Array<{
18446
- id: string;
18447
- type: EDraftManualContentInstagramTypePost;
18448
- startStop: EStartStop;
18449
- timeStopStart: Date;
18450
- postInfo: {
18451
- childrenId: string;
18452
- listUrls: string[];
18453
- };
18454
- totalPosts: number;
18455
- totalPostsPosted: number;
18456
- totalPostsError: number;
18457
- totalPostsDraft: number;
18458
- totalPostsUse: number;
18459
- }>;
18460
- }
18461
- interface FilterDraftManualContentInstagramDto extends IFilterBaseDto {
18462
- startStopFolder: EStartStop[];
18463
- startStopNew: EStartStop[];
18464
- startStopReel: EStartStop[];
18465
- startStopSquare: EStartStop[];
18466
- }
18467
- declare enum EFilterOptionDraftManualContentInstagram {
18468
- StartStopFolder = "startStopFolder",
18469
- StartStopNew = "startStopNew",
18470
- StartStopReel = "startStopReel",
18471
- StartStopSquare = "startStopSquare",
18472
- DepartmentCreator = "departmentCreator",
18473
- TeamCreator = "teamCreator",
18474
- LeaderCreator = "leaderCreator",
18475
- CreatedBy = "createdBy",
18476
- UpdatedBy = "updatedBy",
18477
- DepartmentAssign = "departmentAssign",
18478
- TeamAssign = "teamAssign",
18479
- LeaderAssign = "leaderAssign",
18480
- UserAssign = "userAssign",
18481
- GroupSocial = "groupSocial"
18482
- }
18483
-
18484
- interface AddDraftManualContentInstagramChildrenDto {
18485
- caption: string;
18486
- listFiles: any;
18487
- }
18488
- interface AddBulkDraftManualContentInstagramChildrenDto {
18489
- numberPost: number;
18490
- }
18491
- interface GetAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
18492
- typePost: EDraftManualContentInstagramTypePost;
18493
- }
18494
- interface ResultAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
18495
- accountDriverId: string;
18496
- folderPath: string;
18497
- }
18498
- interface UpsertDraftManualContentInstagramChildrenDto {
18499
- type: EDraftManualContentInstagramTypePost;
18500
- startStop: EStartStop;
18501
- }
18502
- interface ListDraftManualContentInstagramChildrenDto extends IFindBaseDto {
18503
- type: EDraftManualContentInstagramTypePost;
18504
- }
18505
- interface ListDraftManualContentChildrenDto extends IFindBaseDto {
18506
- id: string;
18507
- caption: string;
18508
- listFiles: Array<{
18509
- id: string;
18510
- url: string;
18511
- type: "Video" | "Image";
18512
- size: number;
18513
- originalName: string;
18514
- }>;
18515
- type: EDraftManualContentInstagramTypePost;
18516
- draftManualContentId: string;
18517
- startStop: EStartStop;
18518
- timeStopStart: Date;
18519
- }
18520
-
18521
- interface IDraftManualContentInstagram extends IBaseModel, ITrackingModel, IAssignUser {
18522
- folderName: string;
18523
- startStop: EStartStop;
18524
- timeStopStart: Date;
18525
- }
18526
-
18527
- interface IDraftManualContentInstagramChildren extends IBaseModel, ITrackingModel {
18528
- typePost: EDraftManualContentInstagramTypePost;
18529
- draftManualContentId: string | IDraftManualContentInstagram;
18530
- startStop: EStartStop;
18531
- timeStopStart: Date;
18532
- }
18533
-
18534
- interface IDraftManualContentInstagramChildrenItemPost extends IBaseModel, ITrackingModel {
18535
- caption: string;
18536
- listFiles: Array<{
18537
- id: string;
18538
- url: string;
18539
- type: "Video" | "Image";
18540
- size: number;
18541
- originalName: string;
18542
- }>;
18543
- draftManualContentChildrenId: string | IDraftManualContentInstagramChildren;
18544
- status: EDraftManualContentInstagramStatusPost;
18545
- }
18546
-
18547
- interface IDraftManualContentPermissionInstagram extends IBaseModel {
18548
- draftManualContent: string | IDraftManualContentInstagram;
18549
- user: string | IUser;
18550
- }
18551
-
18552
18362
  interface IManualContentSocialInstagramChildrenItemPost extends IBaseModel, ITrackingModel {
18553
18363
  caption: string;
18554
18364
  listFiles: Array<{
@@ -18559,7 +18369,6 @@ interface IManualContentSocialInstagramChildrenItemPost extends IBaseModel, ITra
18559
18369
  originalName: string;
18560
18370
  }>;
18561
18371
  manualContentSocialChildrenId: string;
18562
- syncDraftContentSocialChildrenItemPostId: string | IDraftManualContentInstagramChildrenItemPost;
18563
18372
  status: EManualContentSocialInstagramStatusPost;
18564
18373
  }
18565
18374
 
@@ -20928,6 +20737,196 @@ interface FindTaskWorkflowGroupDto extends IFindBaseDto {
20928
20737
  typeSocial: ETypeSocial;
20929
20738
  }
20930
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
+
20931
20930
  interface IVoiceLanguage extends IBaseModel, ITrackingModel {
20932
20931
  vl_name: string;
20933
20932
  vl_key: ETypeVoiceLanguage;
package/dist/index.d.ts CHANGED
@@ -18359,196 +18359,6 @@ interface IManualContentSocialInstagramChildren extends IBaseModel, ITrackingMod
18359
18359
  timeStopStart: Date;
18360
18360
  }
18361
18361
 
18362
- declare enum EDraftManualContentInstagramStatusPost {
18363
- Draft = "Draft",
18364
- Use = "Use",
18365
- Posted = "Posted",// Có thể chuyển thành Use để chạy cho lần sau
18366
- Error = "Error"
18367
- }
18368
- declare enum EDraftManualContentInstagramTypePost {
18369
- New = "New",
18370
- Reel = "Reel",
18371
- SquareProduct = "SquareProduct"
18372
- }
18373
-
18374
- interface EditStatusDraftManualContentInstagramChildrenItemPost {
18375
- status: EDraftManualContentInstagramStatusPost;
18376
- listItemIds: string;
18377
- }
18378
- interface UpsertDraftManualContentInstagramChildrenItemPostDto {
18379
- caption: string;
18380
- listFiles: any;
18381
- }
18382
-
18383
- interface UpsertDraftManualContentInstagramDto {
18384
- startStopFolder: EStartStop;
18385
- folderName: string;
18386
- listDraftManualContentChildren: Array<UpsertDraftManualContentInstagramChildrenItemPostDto>;
18387
- userAssignId: string;
18388
- }
18389
- interface IViewAssignUserForDraftManualContentInstagramDto {
18390
- id: string;
18391
- department: string;
18392
- leader: string;
18393
- team: string;
18394
- member: string;
18395
- lastUpdated: Date;
18396
- }
18397
- interface BulkAssignUserDraftManualContentInstagramDto {
18398
- userAssignIds: string[];
18399
- draftManualContentIds: string[];
18400
- }
18401
- interface RemoveAssignUserDraftManualContentInstagramDto {
18402
- userAssignId: string;
18403
- }
18404
- interface FindOverviewDraftManualContentInstagramDto {
18405
- totalDepartments: number;
18406
- totalLeaders: number;
18407
- totalTeams: number;
18408
- totalUsers: number;
18409
- totalContentFolder: number;
18410
- totalNewDaily: number;
18411
- totalNewMonthly: number;
18412
- statusNew: {
18413
- [EStartStop.Start]: number;
18414
- [EStartStop.Stop]: number;
18415
- total: number;
18416
- };
18417
- statusReel: {
18418
- [EStartStop.Start]: number;
18419
- [EStartStop.Stop]: number;
18420
- total: number;
18421
- };
18422
- statusSquareProduct: {
18423
- [EStartStop.Start]: number;
18424
- [EStartStop.Stop]: number;
18425
- total: number;
18426
- };
18427
- statusPosts: {
18428
- [EDraftManualContentInstagramStatusPost.Draft]: number;
18429
- [EDraftManualContentInstagramStatusPost.Use]: number;
18430
- [EDraftManualContentInstagramStatusPost.Posted]: number;
18431
- [EDraftManualContentInstagramStatusPost.Error]: number;
18432
- total: number;
18433
- };
18434
- startContentFolder: {
18435
- [EStartStop.Start]: number;
18436
- [EStartStop.Stop]: number;
18437
- total: number;
18438
- };
18439
- }
18440
- interface FindDraftManualContentInstagramDto extends IFindBaseDto {
18441
- id: string;
18442
- folderName: string;
18443
- startStopFolder: EStartStop;
18444
- type: ETypeManagerWorkClassify;
18445
- listDraftManualContentChildren: Array<{
18446
- id: string;
18447
- type: EDraftManualContentInstagramTypePost;
18448
- startStop: EStartStop;
18449
- timeStopStart: Date;
18450
- postInfo: {
18451
- childrenId: string;
18452
- listUrls: string[];
18453
- };
18454
- totalPosts: number;
18455
- totalPostsPosted: number;
18456
- totalPostsError: number;
18457
- totalPostsDraft: number;
18458
- totalPostsUse: number;
18459
- }>;
18460
- }
18461
- interface FilterDraftManualContentInstagramDto extends IFilterBaseDto {
18462
- startStopFolder: EStartStop[];
18463
- startStopNew: EStartStop[];
18464
- startStopReel: EStartStop[];
18465
- startStopSquare: EStartStop[];
18466
- }
18467
- declare enum EFilterOptionDraftManualContentInstagram {
18468
- StartStopFolder = "startStopFolder",
18469
- StartStopNew = "startStopNew",
18470
- StartStopReel = "startStopReel",
18471
- StartStopSquare = "startStopSquare",
18472
- DepartmentCreator = "departmentCreator",
18473
- TeamCreator = "teamCreator",
18474
- LeaderCreator = "leaderCreator",
18475
- CreatedBy = "createdBy",
18476
- UpdatedBy = "updatedBy",
18477
- DepartmentAssign = "departmentAssign",
18478
- TeamAssign = "teamAssign",
18479
- LeaderAssign = "leaderAssign",
18480
- UserAssign = "userAssign",
18481
- GroupSocial = "groupSocial"
18482
- }
18483
-
18484
- interface AddDraftManualContentInstagramChildrenDto {
18485
- caption: string;
18486
- listFiles: any;
18487
- }
18488
- interface AddBulkDraftManualContentInstagramChildrenDto {
18489
- numberPost: number;
18490
- }
18491
- interface GetAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
18492
- typePost: EDraftManualContentInstagramTypePost;
18493
- }
18494
- interface ResultAccountDriverUploadFileDraftManualContentInstagramChildrenDto {
18495
- accountDriverId: string;
18496
- folderPath: string;
18497
- }
18498
- interface UpsertDraftManualContentInstagramChildrenDto {
18499
- type: EDraftManualContentInstagramTypePost;
18500
- startStop: EStartStop;
18501
- }
18502
- interface ListDraftManualContentInstagramChildrenDto extends IFindBaseDto {
18503
- type: EDraftManualContentInstagramTypePost;
18504
- }
18505
- interface ListDraftManualContentChildrenDto extends IFindBaseDto {
18506
- id: string;
18507
- caption: string;
18508
- listFiles: Array<{
18509
- id: string;
18510
- url: string;
18511
- type: "Video" | "Image";
18512
- size: number;
18513
- originalName: string;
18514
- }>;
18515
- type: EDraftManualContentInstagramTypePost;
18516
- draftManualContentId: string;
18517
- startStop: EStartStop;
18518
- timeStopStart: Date;
18519
- }
18520
-
18521
- interface IDraftManualContentInstagram extends IBaseModel, ITrackingModel, IAssignUser {
18522
- folderName: string;
18523
- startStop: EStartStop;
18524
- timeStopStart: Date;
18525
- }
18526
-
18527
- interface IDraftManualContentInstagramChildren extends IBaseModel, ITrackingModel {
18528
- typePost: EDraftManualContentInstagramTypePost;
18529
- draftManualContentId: string | IDraftManualContentInstagram;
18530
- startStop: EStartStop;
18531
- timeStopStart: Date;
18532
- }
18533
-
18534
- interface IDraftManualContentInstagramChildrenItemPost extends IBaseModel, ITrackingModel {
18535
- caption: string;
18536
- listFiles: Array<{
18537
- id: string;
18538
- url: string;
18539
- type: "Video" | "Image";
18540
- size: number;
18541
- originalName: string;
18542
- }>;
18543
- draftManualContentChildrenId: string | IDraftManualContentInstagramChildren;
18544
- status: EDraftManualContentInstagramStatusPost;
18545
- }
18546
-
18547
- interface IDraftManualContentPermissionInstagram extends IBaseModel {
18548
- draftManualContent: string | IDraftManualContentInstagram;
18549
- user: string | IUser;
18550
- }
18551
-
18552
18362
  interface IManualContentSocialInstagramChildrenItemPost extends IBaseModel, ITrackingModel {
18553
18363
  caption: string;
18554
18364
  listFiles: Array<{
@@ -18559,7 +18369,6 @@ interface IManualContentSocialInstagramChildrenItemPost extends IBaseModel, ITra
18559
18369
  originalName: string;
18560
18370
  }>;
18561
18371
  manualContentSocialChildrenId: string;
18562
- syncDraftContentSocialChildrenItemPostId: string | IDraftManualContentInstagramChildrenItemPost;
18563
18372
  status: EManualContentSocialInstagramStatusPost;
18564
18373
  }
18565
18374
 
@@ -20928,6 +20737,196 @@ interface FindTaskWorkflowGroupDto extends IFindBaseDto {
20928
20737
  typeSocial: ETypeSocial;
20929
20738
  }
20930
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
+
20931
20930
  interface IVoiceLanguage extends IBaseModel, ITrackingModel {
20932
20931
  vl_name: string;
20933
20932
  vl_key: ETypeVoiceLanguage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation-lib",
3
- "version": "6.6.505",
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",