@rxdrag/rxcms-models 0.3.97 → 0.3.99
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/classes/AgentRunQueryOptions.d.ts +21 -0
- package/dist/classes/AgentThreadQueryOptions.d.ts +26 -0
- package/dist/classes/AgentTimelineItemQueryOptions.d.ts +14 -0
- package/dist/classes/LangQueryOptions.d.ts +5 -0
- package/dist/classes/TagCategoryQueryOptions.d.ts +21 -0
- package/dist/classes/TagQueryOptions.d.ts +3 -0
- package/dist/classes/ThemeQueryOptions.d.ts +5 -0
- package/dist/classes/UserQueryOptions.d.ts +5 -0
- package/dist/classes/WebsiteQueryOptions.d.ts +5 -0
- package/dist/classes/index.d.ts +4 -0
- package/dist/entries/agentRunEntry.d.ts +2 -0
- package/dist/entries/agentThreadEntry.d.ts +2 -0
- package/dist/entries/agentTimelineItemEntry.d.ts +2 -0
- package/dist/entries/index.d.ts +4 -0
- package/dist/entries/tagCategoryEntry.d.ts +2 -0
- package/dist/fields/AgentRunFields.d.ts +14 -0
- package/dist/fields/AgentThreadFields.d.ts +15 -0
- package/dist/fields/AgentTimelineItemFields.d.ts +10 -0
- package/dist/fields/LangFields.d.ts +3 -1
- package/dist/fields/TagCategoryFields.d.ts +14 -0
- package/dist/fields/TagFields.d.ts +2 -1
- package/dist/fields/ThemeFields.d.ts +2 -0
- package/dist/fields/UserFields.d.ts +2 -0
- package/dist/fields/WebsiteFields.d.ts +2 -0
- package/dist/fields/index.d.ts +4 -0
- package/dist/index.mjs +552 -22
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/AgentError.d.ts +4 -0
- package/dist/interfaces/AgentRun.d.ts +20 -0
- package/dist/interfaces/AgentRunBoolExp.d.ts +19 -0
- package/dist/interfaces/AgentRunDistinctExp.d.ts +10 -0
- package/dist/interfaces/AgentRunInput.d.ts +21 -0
- package/dist/interfaces/AgentRunOrderBy.d.ts +10 -0
- package/dist/interfaces/AgentRunUsage.d.ts +5 -0
- package/dist/interfaces/AgentThread.d.ts +21 -0
- package/dist/interfaces/AgentThreadBoolExp.d.ts +22 -0
- package/dist/interfaces/AgentThreadDistinctExp.d.ts +9 -0
- package/dist/interfaces/AgentThreadInput.d.ts +22 -0
- package/dist/interfaces/AgentThreadOrderBy.d.ts +9 -0
- package/dist/interfaces/AgentTimelineItem.d.ts +11 -0
- package/dist/interfaces/AgentTimelineItemBoolExp.d.ts +15 -0
- package/dist/interfaces/AgentTimelineItemDistinctExp.d.ts +8 -0
- package/dist/interfaces/AgentTimelineItemInput.d.ts +13 -0
- package/dist/interfaces/AgentTimelineItemOrderBy.d.ts +8 -0
- package/dist/interfaces/Lang.d.ts +3 -0
- package/dist/interfaces/LangBoolExp.d.ts +2 -0
- package/dist/interfaces/LangInput.d.ts +2 -0
- package/dist/interfaces/MediaType.d.ts +1 -5
- package/dist/interfaces/ModelInfo.d.ts +6 -0
- package/dist/interfaces/Tag.d.ts +2 -0
- package/dist/interfaces/TagBoolExp.d.ts +2 -0
- package/dist/interfaces/TagCategory.d.ts +17 -0
- package/dist/interfaces/TagCategoryBoolExp.d.ts +18 -0
- package/dist/interfaces/TagCategoryDistinctExp.d.ts +7 -0
- package/dist/interfaces/TagCategoryInput.d.ts +17 -0
- package/dist/interfaces/TagCategoryOrderBy.d.ts +7 -0
- package/dist/interfaces/TagInput.d.ts +2 -0
- package/dist/interfaces/Theme.d.ts +3 -0
- package/dist/interfaces/ThemeBoolExp.d.ts +2 -0
- package/dist/interfaces/ThemeInput.d.ts +2 -0
- package/dist/interfaces/User.d.ts +3 -0
- package/dist/interfaces/UserBoolExp.d.ts +2 -0
- package/dist/interfaces/UserInput.d.ts +2 -0
- package/dist/interfaces/Website.d.ts +3 -0
- package/dist/interfaces/WebsiteBoolExp.d.ts +2 -0
- package/dist/interfaces/WebsiteInput.d.ts +2 -0
- package/dist/interfaces/index.d.ts +23 -0
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -12,6 +12,7 @@ const aggregateEntities = {
|
|
|
12
12
|
productsAggregate: "Product",
|
|
13
13
|
operationsAggregate: "UserOperation",
|
|
14
14
|
mediasAggregate: "Media",
|
|
15
|
+
agentThreadsAggregate: "AgentThread",
|
|
15
16
|
postsAggregate: "Post",
|
|
16
17
|
websitesAggregate: "Website"
|
|
17
18
|
},
|
|
@@ -49,7 +50,8 @@ const aggregateEntities = {
|
|
|
49
50
|
snapshotsAggregate: "WebsiteSnapshot",
|
|
50
51
|
userOperationsAggregate: "UserOperation",
|
|
51
52
|
svgIconsAggregate: "SvgIcon",
|
|
52
|
-
tagsAggregate: "Tag"
|
|
53
|
+
tagsAggregate: "Tag",
|
|
54
|
+
agentThreadsAggregate: "AgentThread"
|
|
53
55
|
},
|
|
54
56
|
Lang: {
|
|
55
57
|
webPartsOfMediaFolderAggregate: "MediaFolder",
|
|
@@ -65,7 +67,8 @@ const aggregateEntities = {
|
|
|
65
67
|
baseLangOfAggregate: "Website",
|
|
66
68
|
themesAggregate: "ThemeBranch",
|
|
67
69
|
bulletinsAggregate: "Bulletin",
|
|
68
|
-
tagsAggregate: "Tag"
|
|
70
|
+
tagsAggregate: "Tag",
|
|
71
|
+
tagCategoriesAggregate: "TagCategory"
|
|
69
72
|
},
|
|
70
73
|
WebsiteType: {
|
|
71
74
|
websitesAggregate: "Website"
|
|
@@ -123,11 +126,22 @@ const aggregateEntities = {
|
|
|
123
126
|
mediasAggregate: "Media"
|
|
124
127
|
},
|
|
125
128
|
Theme: {
|
|
126
|
-
branchesAggregate: "ThemeBranch"
|
|
129
|
+
branchesAggregate: "ThemeBranch",
|
|
130
|
+
agentThreadsAggregate: "AgentThread"
|
|
127
131
|
},
|
|
128
132
|
ThemeFileFolder: {
|
|
129
133
|
foldersAggregate: "ThemeFileFolder",
|
|
130
134
|
filesAggregate: "ThemeFile"
|
|
135
|
+
},
|
|
136
|
+
TagCategory: {
|
|
137
|
+
tagsAggregate: "Tag",
|
|
138
|
+
childrenAggregate: "TagCategory"
|
|
139
|
+
},
|
|
140
|
+
AgentThread: {
|
|
141
|
+
runsAggregate: "AgentRun"
|
|
142
|
+
},
|
|
143
|
+
AgentRun: {
|
|
144
|
+
timelineAggregate: "AgentTimelineItem"
|
|
131
145
|
}
|
|
132
146
|
};
|
|
133
147
|
class QueryOptions {
|
|
@@ -483,6 +497,56 @@ const themeVersionToInput = (entity) => {
|
|
|
483
497
|
themeInMarket: convertHasOneToInput(entity.themeInMarket)
|
|
484
498
|
};
|
|
485
499
|
};
|
|
500
|
+
const agentTimelineItemToInputCascade = (entity) => {
|
|
501
|
+
return {
|
|
502
|
+
...entity,
|
|
503
|
+
run: entity.run ? processHasOneClear({ sync: agentRunToInput(entity.run) }) : void 0
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
const agentTimelineItemToInput = (entity) => {
|
|
507
|
+
return {
|
|
508
|
+
...entity,
|
|
509
|
+
run: convertHasOneToInput(entity.run)
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
const agentRunToInputCascade = (entity) => {
|
|
513
|
+
var _a;
|
|
514
|
+
const { timelineAggregate, ...rest } = entity;
|
|
515
|
+
return {
|
|
516
|
+
...rest,
|
|
517
|
+
timeline: entity.timeline ? processHasManyClear({ sync: (_a = entity.timeline) == null ? void 0 : _a.map((ent) => agentTimelineItemToInput(ent)) }) : void 0,
|
|
518
|
+
thread: entity.thread ? processHasOneClear({ sync: agentThreadToInput(entity.thread) }) : void 0
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
const agentRunToInput = (entity) => {
|
|
522
|
+
const { timelineAggregate, ...rest } = entity;
|
|
523
|
+
return {
|
|
524
|
+
...rest,
|
|
525
|
+
timeline: convertHasManyToInput(entity.timeline),
|
|
526
|
+
thread: convertHasOneToInput(entity.thread)
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
const agentThreadToInputCascade = (entity) => {
|
|
530
|
+
var _a;
|
|
531
|
+
const { runsAggregate, ...rest } = entity;
|
|
532
|
+
return {
|
|
533
|
+
...rest,
|
|
534
|
+
runs: entity.runs ? processHasManyClear({ sync: (_a = entity.runs) == null ? void 0 : _a.map((ent) => agentRunToInput(ent)) }) : void 0,
|
|
535
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0,
|
|
536
|
+
theme: entity.theme ? processHasOneClear({ sync: themeToInput(entity.theme) }) : void 0,
|
|
537
|
+
user: entity.user ? processHasOneClear({ sync: userToInput(entity.user) }) : void 0
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
const agentThreadToInput = (entity) => {
|
|
541
|
+
const { runsAggregate, ...rest } = entity;
|
|
542
|
+
return {
|
|
543
|
+
...rest,
|
|
544
|
+
runs: convertHasManyToInput(entity.runs),
|
|
545
|
+
website: convertHasOneToInput(entity.website),
|
|
546
|
+
theme: convertHasOneToInput(entity.theme),
|
|
547
|
+
user: convertHasOneToInput(entity.user)
|
|
548
|
+
};
|
|
549
|
+
};
|
|
486
550
|
const themeCategoryToInputCascade = (entity) => {
|
|
487
551
|
var _a;
|
|
488
552
|
const { themesAggregate, ...rest } = entity;
|
|
@@ -499,21 +563,23 @@ const themeCategoryToInput = (entity) => {
|
|
|
499
563
|
};
|
|
500
564
|
};
|
|
501
565
|
const themeToInputCascade = (entity) => {
|
|
502
|
-
var _a;
|
|
503
|
-
const { branchesAggregate, ...rest } = entity;
|
|
566
|
+
var _a, _b;
|
|
567
|
+
const { branchesAggregate, agentThreadsAggregate, ...rest } = entity;
|
|
504
568
|
return {
|
|
505
569
|
...rest,
|
|
506
570
|
branches: entity.branches ? processHasManyClear({ sync: (_a = entity.branches) == null ? void 0 : _a.map((ent) => themeBranchToInput(ent)) }) : void 0,
|
|
507
571
|
cover: entity.cover ? processHasOneClear({ sync: mediaToInput(entity.cover) }) : void 0,
|
|
572
|
+
agentThreads: entity.agentThreads ? processHasManyClear({ sync: (_b = entity.agentThreads) == null ? void 0 : _b.map((ent) => agentThreadToInput(ent)) }) : void 0,
|
|
508
573
|
category: entity.category ? processHasOneClear({ sync: themeCategoryToInput(entity.category) }) : void 0
|
|
509
574
|
};
|
|
510
575
|
};
|
|
511
576
|
const themeToInput = (entity) => {
|
|
512
|
-
const { branchesAggregate, ...rest } = entity;
|
|
577
|
+
const { branchesAggregate, agentThreadsAggregate, ...rest } = entity;
|
|
513
578
|
return {
|
|
514
579
|
...rest,
|
|
515
580
|
branches: convertHasManyToInput(entity.branches),
|
|
516
581
|
cover: convertHasOneToInput(entity.cover),
|
|
582
|
+
agentThreads: convertHasManyToInput(entity.agentThreads),
|
|
517
583
|
category: convertHasOneToInput(entity.category)
|
|
518
584
|
};
|
|
519
585
|
};
|
|
@@ -638,6 +704,27 @@ const postToInput = (entity) => {
|
|
|
638
704
|
website: convertHasOneToInput(entity.website)
|
|
639
705
|
};
|
|
640
706
|
};
|
|
707
|
+
const tagCategoryToInputCascade = (entity) => {
|
|
708
|
+
var _a, _b;
|
|
709
|
+
const { tagsAggregate, childrenAggregate, ...rest } = entity;
|
|
710
|
+
return {
|
|
711
|
+
...rest,
|
|
712
|
+
tags: entity.tags ? processHasManyClear({ sync: (_a = entity.tags) == null ? void 0 : _a.map((ent) => tagToInput(ent)) }) : void 0,
|
|
713
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
714
|
+
children: entity.children ? processHasManyClear({ sync: (_b = entity.children) == null ? void 0 : _b.map((ent) => tagCategoryToInput(ent)) }) : void 0,
|
|
715
|
+
parent: entity.parent ? processHasOneClear({ sync: tagCategoryToInput(entity.parent) }) : void 0
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
const tagCategoryToInput = (entity) => {
|
|
719
|
+
const { tagsAggregate, childrenAggregate, ...rest } = entity;
|
|
720
|
+
return {
|
|
721
|
+
...rest,
|
|
722
|
+
tags: convertHasManyToInput(entity.tags),
|
|
723
|
+
lang: convertHasOneToInput(entity.lang),
|
|
724
|
+
children: convertHasManyToInput(entity.children),
|
|
725
|
+
parent: convertHasOneToInput(entity.parent)
|
|
726
|
+
};
|
|
727
|
+
};
|
|
641
728
|
const tagToInputCascade = (entity) => {
|
|
642
729
|
var _a, _b;
|
|
643
730
|
const { postsAggregate, productsAggregate, ...rest } = entity;
|
|
@@ -646,7 +733,8 @@ const tagToInputCascade = (entity) => {
|
|
|
646
733
|
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
647
734
|
posts: entity.posts ? processHasManyClear({ sync: (_a = entity.posts) == null ? void 0 : _a.map((ent) => postToInput(ent)) }) : void 0,
|
|
648
735
|
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0,
|
|
649
|
-
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
736
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0,
|
|
737
|
+
category: entity.category ? processHasOneClear({ sync: tagCategoryToInput(entity.category) }) : void 0
|
|
650
738
|
};
|
|
651
739
|
};
|
|
652
740
|
const tagToInput = (entity) => {
|
|
@@ -656,7 +744,8 @@ const tagToInput = (entity) => {
|
|
|
656
744
|
lang: convertHasOneToInput(entity.lang),
|
|
657
745
|
posts: convertHasManyToInput(entity.posts),
|
|
658
746
|
products: convertHasManyToInput(entity.products),
|
|
659
|
-
website: convertHasOneToInput(entity.website)
|
|
747
|
+
website: convertHasOneToInput(entity.website),
|
|
748
|
+
category: convertHasOneToInput(entity.category)
|
|
660
749
|
};
|
|
661
750
|
};
|
|
662
751
|
const mediaOnProductToInputCascade = (entity) => {
|
|
@@ -870,8 +959,8 @@ const svgIconToInput = (entity) => {
|
|
|
870
959
|
};
|
|
871
960
|
};
|
|
872
961
|
const websiteToInputCascade = (entity) => {
|
|
873
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
874
|
-
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, tagsAggregate, ...rest } = entity;
|
|
962
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
|
|
963
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, tagsAggregate, agentThreadsAggregate, ...rest } = entity;
|
|
875
964
|
return {
|
|
876
965
|
...rest,
|
|
877
966
|
websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
|
|
@@ -898,11 +987,12 @@ const websiteToInputCascade = (entity) => {
|
|
|
898
987
|
userOperations: entity.userOperations ? processHasManyClear({ sync: (_q = entity.userOperations) == null ? void 0 : _q.map((ent) => userOperationToInput(ent)) }) : void 0,
|
|
899
988
|
svgIcons: entity.svgIcons ? processHasManyClear({ sync: (_r = entity.svgIcons) == null ? void 0 : _r.map((ent) => svgIconToInput(ent)) }) : void 0,
|
|
900
989
|
tags: entity.tags ? processHasManyClear({ sync: (_s = entity.tags) == null ? void 0 : _s.map((ent) => tagToInput(ent)) }) : void 0,
|
|
990
|
+
agentThreads: entity.agentThreads ? processHasManyClear({ sync: (_t = entity.agentThreads) == null ? void 0 : _t.map((ent) => agentThreadToInput(ent)) }) : void 0,
|
|
901
991
|
mockBranch: entity.mockBranch ? processHasOneClear({ sync: themeBranchToInput(entity.mockBranch) }) : void 0
|
|
902
992
|
};
|
|
903
993
|
};
|
|
904
994
|
const websiteToInput = (entity) => {
|
|
905
|
-
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, tagsAggregate, ...rest } = entity;
|
|
995
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, tagsAggregate, agentThreadsAggregate, ...rest } = entity;
|
|
906
996
|
return {
|
|
907
997
|
...rest,
|
|
908
998
|
websiteType: convertHasOneToInput(entity.websiteType),
|
|
@@ -929,6 +1019,7 @@ const websiteToInput = (entity) => {
|
|
|
929
1019
|
userOperations: convertHasManyToInput(entity.userOperations),
|
|
930
1020
|
svgIcons: convertHasManyToInput(entity.svgIcons),
|
|
931
1021
|
tags: convertHasManyToInput(entity.tags),
|
|
1022
|
+
agentThreads: convertHasManyToInput(entity.agentThreads),
|
|
932
1023
|
mockBranch: convertHasOneToInput(entity.mockBranch)
|
|
933
1024
|
};
|
|
934
1025
|
};
|
|
@@ -973,8 +1064,8 @@ const enquiryToInput = (entity) => {
|
|
|
973
1064
|
};
|
|
974
1065
|
};
|
|
975
1066
|
const langToInputCascade = (entity) => {
|
|
976
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
977
|
-
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, bulletinsAggregate, tagsAggregate, ...rest } = entity;
|
|
1067
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
1068
|
+
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, bulletinsAggregate, tagsAggregate, tagCategoriesAggregate, ...rest } = entity;
|
|
978
1069
|
return {
|
|
979
1070
|
...rest,
|
|
980
1071
|
webPartsOfMediaFolder: entity.webPartsOfMediaFolder ? processHasManyClear({ sync: (_a = entity.webPartsOfMediaFolder) == null ? void 0 : _a.map((ent) => mediaFolderToInput(ent)) }) : void 0,
|
|
@@ -990,11 +1081,12 @@ const langToInputCascade = (entity) => {
|
|
|
990
1081
|
baseLangOf: entity.baseLangOf ? processHasManyClear({ sync: (_k = entity.baseLangOf) == null ? void 0 : _k.map((ent) => websiteToInput(ent)) }) : void 0,
|
|
991
1082
|
themes: entity.themes ? processHasManyClear({ sync: (_l = entity.themes) == null ? void 0 : _l.map((ent) => themeBranchToInput(ent)) }) : void 0,
|
|
992
1083
|
bulletins: entity.bulletins ? processHasManyClear({ sync: (_m = entity.bulletins) == null ? void 0 : _m.map((ent) => bulletinToInput(ent)) }) : void 0,
|
|
993
|
-
tags: entity.tags ? processHasManyClear({ sync: (_n = entity.tags) == null ? void 0 : _n.map((ent) => tagToInput(ent)) }) : void 0
|
|
1084
|
+
tags: entity.tags ? processHasManyClear({ sync: (_n = entity.tags) == null ? void 0 : _n.map((ent) => tagToInput(ent)) }) : void 0,
|
|
1085
|
+
tagCategories: entity.tagCategories ? processHasManyClear({ sync: (_o = entity.tagCategories) == null ? void 0 : _o.map((ent) => tagCategoryToInput(ent)) }) : void 0
|
|
994
1086
|
};
|
|
995
1087
|
};
|
|
996
1088
|
const langToInput = (entity) => {
|
|
997
|
-
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, bulletinsAggregate, tagsAggregate, ...rest } = entity;
|
|
1089
|
+
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, bulletinsAggregate, tagsAggregate, tagCategoriesAggregate, ...rest } = entity;
|
|
998
1090
|
return {
|
|
999
1091
|
...rest,
|
|
1000
1092
|
webPartsOfMediaFolder: convertHasManyToInput(entity.webPartsOfMediaFolder),
|
|
@@ -1010,7 +1102,8 @@ const langToInput = (entity) => {
|
|
|
1010
1102
|
baseLangOf: convertHasManyToInput(entity.baseLangOf),
|
|
1011
1103
|
themes: convertHasManyToInput(entity.themes),
|
|
1012
1104
|
bulletins: convertHasManyToInput(entity.bulletins),
|
|
1013
|
-
tags: convertHasManyToInput(entity.tags)
|
|
1105
|
+
tags: convertHasManyToInput(entity.tags),
|
|
1106
|
+
tagCategories: convertHasManyToInput(entity.tagCategories)
|
|
1014
1107
|
};
|
|
1015
1108
|
};
|
|
1016
1109
|
const mediaFolderToInputCascade = (entity) => {
|
|
@@ -1084,8 +1177,8 @@ const mediaToInput = (entity) => {
|
|
|
1084
1177
|
};
|
|
1085
1178
|
};
|
|
1086
1179
|
const userToInputCascade = (entity) => {
|
|
1087
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1088
|
-
const { rolesAggregate, productsAggregate, operationsAggregate, mediasAggregate, postsAggregate, websitesAggregate, ...rest } = entity;
|
|
1180
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1181
|
+
const { rolesAggregate, productsAggregate, operationsAggregate, mediasAggregate, agentThreadsAggregate, postsAggregate, websitesAggregate, ...rest } = entity;
|
|
1089
1182
|
return {
|
|
1090
1183
|
...rest,
|
|
1091
1184
|
roles: entity.roles ? processHasManyClear({ sync: (_a = entity.roles) == null ? void 0 : _a.map((ent) => roleToInput(ent)) }) : void 0,
|
|
@@ -1093,13 +1186,14 @@ const userToInputCascade = (entity) => {
|
|
|
1093
1186
|
products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0,
|
|
1094
1187
|
operations: entity.operations ? processHasManyClear({ sync: (_c = entity.operations) == null ? void 0 : _c.map((ent) => userOperationToInput(ent)) }) : void 0,
|
|
1095
1188
|
medias: entity.medias ? processHasManyClear({ sync: (_d = entity.medias) == null ? void 0 : _d.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
1096
|
-
|
|
1097
|
-
|
|
1189
|
+
agentThreads: entity.agentThreads ? processHasManyClear({ sync: (_e = entity.agentThreads) == null ? void 0 : _e.map((ent) => agentThreadToInput(ent)) }) : void 0,
|
|
1190
|
+
posts: entity.posts ? processHasManyClear({ sync: (_f = entity.posts) == null ? void 0 : _f.map((ent) => postToInput(ent)) }) : void 0,
|
|
1191
|
+
websites: entity.websites ? processHasManyClear({ sync: (_g = entity.websites) == null ? void 0 : _g.map((ent) => websiteToInput(ent)) }) : void 0,
|
|
1098
1192
|
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
1099
1193
|
};
|
|
1100
1194
|
};
|
|
1101
1195
|
const userToInput = (entity) => {
|
|
1102
|
-
const { rolesAggregate, productsAggregate, operationsAggregate, mediasAggregate, postsAggregate, websitesAggregate, ...rest } = entity;
|
|
1196
|
+
const { rolesAggregate, productsAggregate, operationsAggregate, mediasAggregate, agentThreadsAggregate, postsAggregate, websitesAggregate, ...rest } = entity;
|
|
1103
1197
|
return {
|
|
1104
1198
|
...rest,
|
|
1105
1199
|
roles: convertHasManyToInput(entity.roles),
|
|
@@ -1107,6 +1201,7 @@ const userToInput = (entity) => {
|
|
|
1107
1201
|
products: convertHasManyToInput(entity.products),
|
|
1108
1202
|
operations: convertHasManyToInput(entity.operations),
|
|
1109
1203
|
medias: convertHasManyToInput(entity.medias),
|
|
1204
|
+
agentThreads: convertHasManyToInput(entity.agentThreads),
|
|
1110
1205
|
posts: convertHasManyToInput(entity.posts),
|
|
1111
1206
|
websites: convertHasManyToInput(entity.websites),
|
|
1112
1207
|
website: convertHasOneToInput(entity.website)
|
|
@@ -1223,7 +1318,6 @@ var MediaType = /* @__PURE__ */ ((MediaType2) => {
|
|
|
1223
1318
|
MediaType2["image"] = "image";
|
|
1224
1319
|
MediaType2["video"] = "video";
|
|
1225
1320
|
MediaType2["document"] = "document";
|
|
1226
|
-
MediaType2["file"] = "file";
|
|
1227
1321
|
return MediaType2;
|
|
1228
1322
|
})(MediaType || {});
|
|
1229
1323
|
const MailEntityName = "Mail";
|
|
@@ -2069,6 +2163,48 @@ var ThemeFileFolderDistinctEnum = /* @__PURE__ */ ((ThemeFileFolderDistinctEnum2
|
|
|
2069
2163
|
ThemeFileFolderDistinctEnum2["createdAt"] = "createdAt";
|
|
2070
2164
|
return ThemeFileFolderDistinctEnum2;
|
|
2071
2165
|
})(ThemeFileFolderDistinctEnum || {});
|
|
2166
|
+
const TagCategoryEntityName = "TagCategory";
|
|
2167
|
+
const TagCategoryEntityLabel = "";
|
|
2168
|
+
var TagCategoryDistinctEnum = /* @__PURE__ */ ((TagCategoryDistinctEnum2) => {
|
|
2169
|
+
TagCategoryDistinctEnum2["id"] = "id";
|
|
2170
|
+
TagCategoryDistinctEnum2["name"] = "name";
|
|
2171
|
+
TagCategoryDistinctEnum2["updateAt"] = "updateAt";
|
|
2172
|
+
TagCategoryDistinctEnum2["createdAt"] = "createdAt";
|
|
2173
|
+
return TagCategoryDistinctEnum2;
|
|
2174
|
+
})(TagCategoryDistinctEnum || {});
|
|
2175
|
+
const AgentThreadEntityName = "AgentThread";
|
|
2176
|
+
const AgentThreadEntityLabel = "";
|
|
2177
|
+
var AgentThreadDistinctEnum = /* @__PURE__ */ ((AgentThreadDistinctEnum2) => {
|
|
2178
|
+
AgentThreadDistinctEnum2["id"] = "id";
|
|
2179
|
+
AgentThreadDistinctEnum2["scene"] = "scene";
|
|
2180
|
+
AgentThreadDistinctEnum2["status"] = "status";
|
|
2181
|
+
AgentThreadDistinctEnum2["lastError"] = "lastError";
|
|
2182
|
+
AgentThreadDistinctEnum2["createdAt"] = "createdAt";
|
|
2183
|
+
AgentThreadDistinctEnum2["updatedAt"] = "updatedAt";
|
|
2184
|
+
return AgentThreadDistinctEnum2;
|
|
2185
|
+
})(AgentThreadDistinctEnum || {});
|
|
2186
|
+
const AgentTimelineItemEntityName = "AgentTimelineItem";
|
|
2187
|
+
const AgentTimelineItemEntityLabel = "";
|
|
2188
|
+
var AgentTimelineItemDistinctEnum = /* @__PURE__ */ ((AgentTimelineItemDistinctEnum2) => {
|
|
2189
|
+
AgentTimelineItemDistinctEnum2["id"] = "id";
|
|
2190
|
+
AgentTimelineItemDistinctEnum2["kind"] = "kind";
|
|
2191
|
+
AgentTimelineItemDistinctEnum2["payload"] = "payload";
|
|
2192
|
+
AgentTimelineItemDistinctEnum2["createdAt"] = "createdAt";
|
|
2193
|
+
AgentTimelineItemDistinctEnum2["updatedAt"] = "updatedAt";
|
|
2194
|
+
return AgentTimelineItemDistinctEnum2;
|
|
2195
|
+
})(AgentTimelineItemDistinctEnum || {});
|
|
2196
|
+
const AgentRunEntityName = "AgentRun";
|
|
2197
|
+
const AgentRunEntityLabel = "";
|
|
2198
|
+
var AgentRunDistinctEnum = /* @__PURE__ */ ((AgentRunDistinctEnum2) => {
|
|
2199
|
+
AgentRunDistinctEnum2["id"] = "id";
|
|
2200
|
+
AgentRunDistinctEnum2["model"] = "model";
|
|
2201
|
+
AgentRunDistinctEnum2["usage"] = "usage";
|
|
2202
|
+
AgentRunDistinctEnum2["status"] = "status";
|
|
2203
|
+
AgentRunDistinctEnum2["startedAt"] = "startedAt";
|
|
2204
|
+
AgentRunDistinctEnum2["finishedAt"] = "finishedAt";
|
|
2205
|
+
AgentRunDistinctEnum2["error"] = "error";
|
|
2206
|
+
return AgentRunDistinctEnum2;
|
|
2207
|
+
})(AgentRunDistinctEnum || {});
|
|
2072
2208
|
class RoleVariableQueryOptions extends QueryOptions {
|
|
2073
2209
|
constructor(fields, queryArgs) {
|
|
2074
2210
|
super(RoleVariableEntityName, fields, queryArgs);
|
|
@@ -2816,6 +2952,157 @@ class ThemeVersionQueryOptions extends QueryOptions {
|
|
|
2816
2952
|
return this;
|
|
2817
2953
|
}
|
|
2818
2954
|
}
|
|
2955
|
+
class AgentTimelineItemQueryOptions extends QueryOptions {
|
|
2956
|
+
constructor(fields, queryArgs) {
|
|
2957
|
+
super(AgentTimelineItemEntityName, fields, queryArgs);
|
|
2958
|
+
}
|
|
2959
|
+
id() {
|
|
2960
|
+
this.addField("id");
|
|
2961
|
+
return this;
|
|
2962
|
+
}
|
|
2963
|
+
kind() {
|
|
2964
|
+
this.addField("kind");
|
|
2965
|
+
return this;
|
|
2966
|
+
}
|
|
2967
|
+
payload() {
|
|
2968
|
+
this.addField("payload");
|
|
2969
|
+
return this;
|
|
2970
|
+
}
|
|
2971
|
+
createdAt() {
|
|
2972
|
+
this.addField("createdAt");
|
|
2973
|
+
return this;
|
|
2974
|
+
}
|
|
2975
|
+
updatedAt() {
|
|
2976
|
+
this.addField("updatedAt");
|
|
2977
|
+
return this;
|
|
2978
|
+
}
|
|
2979
|
+
run(options) {
|
|
2980
|
+
if (Array.isArray(options)) {
|
|
2981
|
+
this._associations["run"] = new AgentRunQueryOptions(options);
|
|
2982
|
+
} else {
|
|
2983
|
+
this._associations["run"] = options || new AgentRunQueryOptions(["id"]);
|
|
2984
|
+
}
|
|
2985
|
+
return this;
|
|
2986
|
+
}
|
|
2987
|
+
}
|
|
2988
|
+
class AgentRunQueryOptions extends QueryOptions {
|
|
2989
|
+
constructor(fields, queryArgs) {
|
|
2990
|
+
super(AgentRunEntityName, fields, queryArgs);
|
|
2991
|
+
}
|
|
2992
|
+
id() {
|
|
2993
|
+
this.addField("id");
|
|
2994
|
+
return this;
|
|
2995
|
+
}
|
|
2996
|
+
model() {
|
|
2997
|
+
this.addField("model");
|
|
2998
|
+
return this;
|
|
2999
|
+
}
|
|
3000
|
+
usage() {
|
|
3001
|
+
this.addField("usage");
|
|
3002
|
+
return this;
|
|
3003
|
+
}
|
|
3004
|
+
status() {
|
|
3005
|
+
this.addField("status");
|
|
3006
|
+
return this;
|
|
3007
|
+
}
|
|
3008
|
+
startedAt() {
|
|
3009
|
+
this.addField("startedAt");
|
|
3010
|
+
return this;
|
|
3011
|
+
}
|
|
3012
|
+
finishedAt() {
|
|
3013
|
+
this.addField("finishedAt");
|
|
3014
|
+
return this;
|
|
3015
|
+
}
|
|
3016
|
+
error() {
|
|
3017
|
+
this.addField("error");
|
|
3018
|
+
return this;
|
|
3019
|
+
}
|
|
3020
|
+
timeline(options) {
|
|
3021
|
+
if (Array.isArray(options)) {
|
|
3022
|
+
this._associations["timeline"] = new AgentTimelineItemQueryOptions(options);
|
|
3023
|
+
} else {
|
|
3024
|
+
this._associations["timeline"] = options || new AgentTimelineItemQueryOptions(["id"]);
|
|
3025
|
+
}
|
|
3026
|
+
return this;
|
|
3027
|
+
}
|
|
3028
|
+
timelineAggregate(aggregate) {
|
|
3029
|
+
this._aggregates["timelineAggregate"] = aggregate;
|
|
3030
|
+
return this;
|
|
3031
|
+
}
|
|
3032
|
+
thread(options) {
|
|
3033
|
+
if (Array.isArray(options)) {
|
|
3034
|
+
this._associations["thread"] = new AgentThreadQueryOptions(options);
|
|
3035
|
+
} else {
|
|
3036
|
+
this._associations["thread"] = options || new AgentThreadQueryOptions(["id"]);
|
|
3037
|
+
}
|
|
3038
|
+
return this;
|
|
3039
|
+
}
|
|
3040
|
+
}
|
|
3041
|
+
class AgentThreadQueryOptions extends QueryOptions {
|
|
3042
|
+
constructor(fields, queryArgs) {
|
|
3043
|
+
super(AgentThreadEntityName, fields, queryArgs);
|
|
3044
|
+
}
|
|
3045
|
+
id() {
|
|
3046
|
+
this.addField("id");
|
|
3047
|
+
return this;
|
|
3048
|
+
}
|
|
3049
|
+
scene() {
|
|
3050
|
+
this.addField("scene");
|
|
3051
|
+
return this;
|
|
3052
|
+
}
|
|
3053
|
+
status() {
|
|
3054
|
+
this.addField("status");
|
|
3055
|
+
return this;
|
|
3056
|
+
}
|
|
3057
|
+
lastError() {
|
|
3058
|
+
this.addField("lastError");
|
|
3059
|
+
return this;
|
|
3060
|
+
}
|
|
3061
|
+
createdAt() {
|
|
3062
|
+
this.addField("createdAt");
|
|
3063
|
+
return this;
|
|
3064
|
+
}
|
|
3065
|
+
updatedAt() {
|
|
3066
|
+
this.addField("updatedAt");
|
|
3067
|
+
return this;
|
|
3068
|
+
}
|
|
3069
|
+
runs(options) {
|
|
3070
|
+
if (Array.isArray(options)) {
|
|
3071
|
+
this._associations["runs"] = new AgentRunQueryOptions(options);
|
|
3072
|
+
} else {
|
|
3073
|
+
this._associations["runs"] = options || new AgentRunQueryOptions(["id"]);
|
|
3074
|
+
}
|
|
3075
|
+
return this;
|
|
3076
|
+
}
|
|
3077
|
+
runsAggregate(aggregate) {
|
|
3078
|
+
this._aggregates["runsAggregate"] = aggregate;
|
|
3079
|
+
return this;
|
|
3080
|
+
}
|
|
3081
|
+
website(options) {
|
|
3082
|
+
if (Array.isArray(options)) {
|
|
3083
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3084
|
+
} else {
|
|
3085
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3086
|
+
}
|
|
3087
|
+
return this;
|
|
3088
|
+
}
|
|
3089
|
+
theme(options) {
|
|
3090
|
+
if (Array.isArray(options)) {
|
|
3091
|
+
this._associations["theme"] = new ThemeQueryOptions(options);
|
|
3092
|
+
} else {
|
|
3093
|
+
this._associations["theme"] = options || new ThemeQueryOptions(["id"]);
|
|
3094
|
+
}
|
|
3095
|
+
return this;
|
|
3096
|
+
}
|
|
3097
|
+
user(options) {
|
|
3098
|
+
if (Array.isArray(options)) {
|
|
3099
|
+
this._associations["user"] = new UserQueryOptions(options);
|
|
3100
|
+
} else {
|
|
3101
|
+
this._associations["user"] = options || new UserQueryOptions(["id"]);
|
|
3102
|
+
}
|
|
3103
|
+
return this;
|
|
3104
|
+
}
|
|
3105
|
+
}
|
|
2819
3106
|
class ThemeCategoryQueryOptions extends QueryOptions {
|
|
2820
3107
|
constructor(fields, queryArgs) {
|
|
2821
3108
|
super(ThemeCategoryEntityName, fields, queryArgs);
|
|
@@ -2905,6 +3192,18 @@ class ThemeQueryOptions extends QueryOptions {
|
|
|
2905
3192
|
}
|
|
2906
3193
|
return this;
|
|
2907
3194
|
}
|
|
3195
|
+
agentThreads(options) {
|
|
3196
|
+
if (Array.isArray(options)) {
|
|
3197
|
+
this._associations["agentThreads"] = new AgentThreadQueryOptions(options);
|
|
3198
|
+
} else {
|
|
3199
|
+
this._associations["agentThreads"] = options || new AgentThreadQueryOptions(["id"]);
|
|
3200
|
+
}
|
|
3201
|
+
return this;
|
|
3202
|
+
}
|
|
3203
|
+
agentThreadsAggregate(aggregate) {
|
|
3204
|
+
this._aggregates["agentThreadsAggregate"] = aggregate;
|
|
3205
|
+
return this;
|
|
3206
|
+
}
|
|
2908
3207
|
category(options) {
|
|
2909
3208
|
if (Array.isArray(options)) {
|
|
2910
3209
|
this._associations["category"] = new ThemeCategoryQueryOptions(options);
|
|
@@ -3460,6 +3759,67 @@ class PostQueryOptions extends QueryOptions {
|
|
|
3460
3759
|
return this;
|
|
3461
3760
|
}
|
|
3462
3761
|
}
|
|
3762
|
+
class TagCategoryQueryOptions extends QueryOptions {
|
|
3763
|
+
constructor(fields, queryArgs) {
|
|
3764
|
+
super(TagCategoryEntityName, fields, queryArgs);
|
|
3765
|
+
}
|
|
3766
|
+
id() {
|
|
3767
|
+
this.addField("id");
|
|
3768
|
+
return this;
|
|
3769
|
+
}
|
|
3770
|
+
name() {
|
|
3771
|
+
this.addField("name");
|
|
3772
|
+
return this;
|
|
3773
|
+
}
|
|
3774
|
+
updateAt() {
|
|
3775
|
+
this.addField("updateAt");
|
|
3776
|
+
return this;
|
|
3777
|
+
}
|
|
3778
|
+
createdAt() {
|
|
3779
|
+
this.addField("createdAt");
|
|
3780
|
+
return this;
|
|
3781
|
+
}
|
|
3782
|
+
tags(options) {
|
|
3783
|
+
if (Array.isArray(options)) {
|
|
3784
|
+
this._associations["tags"] = new TagQueryOptions(options);
|
|
3785
|
+
} else {
|
|
3786
|
+
this._associations["tags"] = options || new TagQueryOptions(["id"]);
|
|
3787
|
+
}
|
|
3788
|
+
return this;
|
|
3789
|
+
}
|
|
3790
|
+
tagsAggregate(aggregate) {
|
|
3791
|
+
this._aggregates["tagsAggregate"] = aggregate;
|
|
3792
|
+
return this;
|
|
3793
|
+
}
|
|
3794
|
+
lang(options) {
|
|
3795
|
+
if (Array.isArray(options)) {
|
|
3796
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
3797
|
+
} else {
|
|
3798
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
3799
|
+
}
|
|
3800
|
+
return this;
|
|
3801
|
+
}
|
|
3802
|
+
children(options) {
|
|
3803
|
+
if (Array.isArray(options)) {
|
|
3804
|
+
this._associations["children"] = new TagCategoryQueryOptions(options);
|
|
3805
|
+
} else {
|
|
3806
|
+
this._associations["children"] = options || new TagCategoryQueryOptions(["id"]);
|
|
3807
|
+
}
|
|
3808
|
+
return this;
|
|
3809
|
+
}
|
|
3810
|
+
childrenAggregate(aggregate) {
|
|
3811
|
+
this._aggregates["childrenAggregate"] = aggregate;
|
|
3812
|
+
return this;
|
|
3813
|
+
}
|
|
3814
|
+
parent(options) {
|
|
3815
|
+
if (Array.isArray(options)) {
|
|
3816
|
+
this._associations["parent"] = new TagCategoryQueryOptions(options);
|
|
3817
|
+
} else {
|
|
3818
|
+
this._associations["parent"] = options || new TagCategoryQueryOptions(["id"]);
|
|
3819
|
+
}
|
|
3820
|
+
return this;
|
|
3821
|
+
}
|
|
3822
|
+
}
|
|
3463
3823
|
class TagQueryOptions extends QueryOptions {
|
|
3464
3824
|
constructor(fields, queryArgs) {
|
|
3465
3825
|
super(TagEntityName, fields, queryArgs);
|
|
@@ -3527,6 +3887,14 @@ class TagQueryOptions extends QueryOptions {
|
|
|
3527
3887
|
}
|
|
3528
3888
|
return this;
|
|
3529
3889
|
}
|
|
3890
|
+
category(options) {
|
|
3891
|
+
if (Array.isArray(options)) {
|
|
3892
|
+
this._associations["category"] = new TagCategoryQueryOptions(options);
|
|
3893
|
+
} else {
|
|
3894
|
+
this._associations["category"] = options || new TagCategoryQueryOptions(["id"]);
|
|
3895
|
+
}
|
|
3896
|
+
return this;
|
|
3897
|
+
}
|
|
3530
3898
|
}
|
|
3531
3899
|
class MediaOnProductQueryOptions extends QueryOptions {
|
|
3532
3900
|
constructor(fields, queryArgs) {
|
|
@@ -4602,6 +4970,18 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
4602
4970
|
this._aggregates["tagsAggregate"] = aggregate;
|
|
4603
4971
|
return this;
|
|
4604
4972
|
}
|
|
4973
|
+
agentThreads(options) {
|
|
4974
|
+
if (Array.isArray(options)) {
|
|
4975
|
+
this._associations["agentThreads"] = new AgentThreadQueryOptions(options);
|
|
4976
|
+
} else {
|
|
4977
|
+
this._associations["agentThreads"] = options || new AgentThreadQueryOptions(["id"]);
|
|
4978
|
+
}
|
|
4979
|
+
return this;
|
|
4980
|
+
}
|
|
4981
|
+
agentThreadsAggregate(aggregate) {
|
|
4982
|
+
this._aggregates["agentThreadsAggregate"] = aggregate;
|
|
4983
|
+
return this;
|
|
4984
|
+
}
|
|
4605
4985
|
mockBranch(options) {
|
|
4606
4986
|
if (Array.isArray(options)) {
|
|
4607
4987
|
this._associations["mockBranch"] = new ThemeBranchQueryOptions(options);
|
|
@@ -5071,6 +5451,18 @@ class LangQueryOptions extends QueryOptions {
|
|
|
5071
5451
|
this._aggregates["tagsAggregate"] = aggregate;
|
|
5072
5452
|
return this;
|
|
5073
5453
|
}
|
|
5454
|
+
tagCategories(options) {
|
|
5455
|
+
if (Array.isArray(options)) {
|
|
5456
|
+
this._associations["tagCategories"] = new TagCategoryQueryOptions(options);
|
|
5457
|
+
} else {
|
|
5458
|
+
this._associations["tagCategories"] = options || new TagCategoryQueryOptions(["id"]);
|
|
5459
|
+
}
|
|
5460
|
+
return this;
|
|
5461
|
+
}
|
|
5462
|
+
tagCategoriesAggregate(aggregate) {
|
|
5463
|
+
this._aggregates["tagCategoriesAggregate"] = aggregate;
|
|
5464
|
+
return this;
|
|
5465
|
+
}
|
|
5074
5466
|
}
|
|
5075
5467
|
class MediaFolderQueryOptions extends QueryOptions {
|
|
5076
5468
|
constructor(fields, queryArgs) {
|
|
@@ -5555,6 +5947,18 @@ class UserQueryOptions extends QueryOptions {
|
|
|
5555
5947
|
this._aggregates["mediasAggregate"] = aggregate;
|
|
5556
5948
|
return this;
|
|
5557
5949
|
}
|
|
5950
|
+
agentThreads(options) {
|
|
5951
|
+
if (Array.isArray(options)) {
|
|
5952
|
+
this._associations["agentThreads"] = new AgentThreadQueryOptions(options);
|
|
5953
|
+
} else {
|
|
5954
|
+
this._associations["agentThreads"] = options || new AgentThreadQueryOptions(["id"]);
|
|
5955
|
+
}
|
|
5956
|
+
return this;
|
|
5957
|
+
}
|
|
5958
|
+
agentThreadsAggregate(aggregate) {
|
|
5959
|
+
this._aggregates["agentThreadsAggregate"] = aggregate;
|
|
5960
|
+
return this;
|
|
5961
|
+
}
|
|
5558
5962
|
posts(options) {
|
|
5559
5963
|
if (Array.isArray(options)) {
|
|
5560
5964
|
this._associations["posts"] = new PostQueryOptions(options);
|
|
@@ -6149,6 +6553,26 @@ const themeFileFolderEntry = {
|
|
|
6149
6553
|
entityLabel: ThemeFileFolderEntityLabel,
|
|
6150
6554
|
toInput: themeFileFolderToInput
|
|
6151
6555
|
};
|
|
6556
|
+
const tagCategoryEntry = {
|
|
6557
|
+
entityName: TagCategoryEntityName,
|
|
6558
|
+
entityLabel: TagCategoryEntityLabel,
|
|
6559
|
+
toInput: tagCategoryToInput
|
|
6560
|
+
};
|
|
6561
|
+
const agentThreadEntry = {
|
|
6562
|
+
entityName: AgentThreadEntityName,
|
|
6563
|
+
entityLabel: AgentThreadEntityLabel,
|
|
6564
|
+
toInput: agentThreadToInput
|
|
6565
|
+
};
|
|
6566
|
+
const agentTimelineItemEntry = {
|
|
6567
|
+
entityName: AgentTimelineItemEntityName,
|
|
6568
|
+
entityLabel: AgentTimelineItemEntityLabel,
|
|
6569
|
+
toInput: agentTimelineItemToInput
|
|
6570
|
+
};
|
|
6571
|
+
const agentRunEntry = {
|
|
6572
|
+
entityName: AgentRunEntityName,
|
|
6573
|
+
entityLabel: AgentRunEntityLabel,
|
|
6574
|
+
toInput: agentRunToInput
|
|
6575
|
+
};
|
|
6152
6576
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
6153
6577
|
UserFields2["id"] = "id";
|
|
6154
6578
|
UserFields2["loginName"] = "loginName";
|
|
@@ -6183,6 +6607,8 @@ var UserAssciations = /* @__PURE__ */ ((UserAssciations2) => {
|
|
|
6183
6607
|
UserAssciations2["operationsAggregate"] = "operationsAggregate";
|
|
6184
6608
|
UserAssciations2["medias"] = "medias";
|
|
6185
6609
|
UserAssciations2["mediasAggregate"] = "mediasAggregate";
|
|
6610
|
+
UserAssciations2["agentThreads"] = "agentThreads";
|
|
6611
|
+
UserAssciations2["agentThreadsAggregate"] = "agentThreadsAggregate";
|
|
6186
6612
|
UserAssciations2["posts"] = "posts";
|
|
6187
6613
|
UserAssciations2["postsAggregate"] = "postsAggregate";
|
|
6188
6614
|
UserAssciations2["websites"] = "websites";
|
|
@@ -6366,6 +6792,8 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
6366
6792
|
WebsiteAssciations2["svgIconsAggregate"] = "svgIconsAggregate";
|
|
6367
6793
|
WebsiteAssciations2["tags"] = "tags";
|
|
6368
6794
|
WebsiteAssciations2["tagsAggregate"] = "tagsAggregate";
|
|
6795
|
+
WebsiteAssciations2["agentThreads"] = "agentThreads";
|
|
6796
|
+
WebsiteAssciations2["agentThreadsAggregate"] = "agentThreadsAggregate";
|
|
6369
6797
|
WebsiteAssciations2["mockBranch"] = "mockBranch";
|
|
6370
6798
|
return WebsiteAssciations2;
|
|
6371
6799
|
})(WebsiteAssciations || {});
|
|
@@ -6411,6 +6839,8 @@ var LangAssciations = /* @__PURE__ */ ((LangAssciations2) => {
|
|
|
6411
6839
|
LangAssciations2["bulletinsAggregate"] = "bulletinsAggregate";
|
|
6412
6840
|
LangAssciations2["tags"] = "tags";
|
|
6413
6841
|
LangAssciations2["tagsAggregate"] = "tagsAggregate";
|
|
6842
|
+
LangAssciations2["tagCategories"] = "tagCategories";
|
|
6843
|
+
LangAssciations2["tagCategoriesAggregate"] = "tagCategoriesAggregate";
|
|
6414
6844
|
return LangAssciations2;
|
|
6415
6845
|
})(LangAssciations || {});
|
|
6416
6846
|
var WebsiteTypeFields = /* @__PURE__ */ ((WebsiteTypeFields2) => {
|
|
@@ -6659,6 +7089,7 @@ var TagAssciations = /* @__PURE__ */ ((TagAssciations2) => {
|
|
|
6659
7089
|
TagAssciations2["products"] = "products";
|
|
6660
7090
|
TagAssciations2["productsAggregate"] = "productsAggregate";
|
|
6661
7091
|
TagAssciations2["website"] = "website";
|
|
7092
|
+
TagAssciations2["category"] = "category";
|
|
6662
7093
|
return TagAssciations2;
|
|
6663
7094
|
})(TagAssciations || {});
|
|
6664
7095
|
var CustomerFields = /* @__PURE__ */ ((CustomerFields2) => {
|
|
@@ -7074,6 +7505,8 @@ var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
|
|
|
7074
7505
|
ThemeAssciations2["branches"] = "branches";
|
|
7075
7506
|
ThemeAssciations2["branchesAggregate"] = "branchesAggregate";
|
|
7076
7507
|
ThemeAssciations2["cover"] = "cover";
|
|
7508
|
+
ThemeAssciations2["agentThreads"] = "agentThreads";
|
|
7509
|
+
ThemeAssciations2["agentThreadsAggregate"] = "agentThreadsAggregate";
|
|
7077
7510
|
ThemeAssciations2["category"] = "category";
|
|
7078
7511
|
return ThemeAssciations2;
|
|
7079
7512
|
})(ThemeAssciations || {});
|
|
@@ -7125,6 +7558,67 @@ var ThemeFileFolderAssciations = /* @__PURE__ */ ((ThemeFileFolderAssciations2)
|
|
|
7125
7558
|
ThemeFileFolderAssciations2["parent"] = "parent";
|
|
7126
7559
|
return ThemeFileFolderAssciations2;
|
|
7127
7560
|
})(ThemeFileFolderAssciations || {});
|
|
7561
|
+
var TagCategoryFields = /* @__PURE__ */ ((TagCategoryFields2) => {
|
|
7562
|
+
TagCategoryFields2["id"] = "id";
|
|
7563
|
+
TagCategoryFields2["name"] = "name";
|
|
7564
|
+
TagCategoryFields2["updateAt"] = "updateAt";
|
|
7565
|
+
TagCategoryFields2["createdAt"] = "createdAt";
|
|
7566
|
+
return TagCategoryFields2;
|
|
7567
|
+
})(TagCategoryFields || {});
|
|
7568
|
+
var TagCategoryAssciations = /* @__PURE__ */ ((TagCategoryAssciations2) => {
|
|
7569
|
+
TagCategoryAssciations2["tags"] = "tags";
|
|
7570
|
+
TagCategoryAssciations2["tagsAggregate"] = "tagsAggregate";
|
|
7571
|
+
TagCategoryAssciations2["lang"] = "lang";
|
|
7572
|
+
TagCategoryAssciations2["children"] = "children";
|
|
7573
|
+
TagCategoryAssciations2["childrenAggregate"] = "childrenAggregate";
|
|
7574
|
+
TagCategoryAssciations2["parent"] = "parent";
|
|
7575
|
+
return TagCategoryAssciations2;
|
|
7576
|
+
})(TagCategoryAssciations || {});
|
|
7577
|
+
var AgentThreadFields = /* @__PURE__ */ ((AgentThreadFields2) => {
|
|
7578
|
+
AgentThreadFields2["id"] = "id";
|
|
7579
|
+
AgentThreadFields2["scene"] = "scene";
|
|
7580
|
+
AgentThreadFields2["status"] = "status";
|
|
7581
|
+
AgentThreadFields2["lastError"] = "lastError";
|
|
7582
|
+
AgentThreadFields2["createdAt"] = "createdAt";
|
|
7583
|
+
AgentThreadFields2["updatedAt"] = "updatedAt";
|
|
7584
|
+
return AgentThreadFields2;
|
|
7585
|
+
})(AgentThreadFields || {});
|
|
7586
|
+
var AgentThreadAssciations = /* @__PURE__ */ ((AgentThreadAssciations2) => {
|
|
7587
|
+
AgentThreadAssciations2["runs"] = "runs";
|
|
7588
|
+
AgentThreadAssciations2["runsAggregate"] = "runsAggregate";
|
|
7589
|
+
AgentThreadAssciations2["website"] = "website";
|
|
7590
|
+
AgentThreadAssciations2["theme"] = "theme";
|
|
7591
|
+
AgentThreadAssciations2["user"] = "user";
|
|
7592
|
+
return AgentThreadAssciations2;
|
|
7593
|
+
})(AgentThreadAssciations || {});
|
|
7594
|
+
var AgentTimelineItemFields = /* @__PURE__ */ ((AgentTimelineItemFields2) => {
|
|
7595
|
+
AgentTimelineItemFields2["id"] = "id";
|
|
7596
|
+
AgentTimelineItemFields2["kind"] = "kind";
|
|
7597
|
+
AgentTimelineItemFields2["payload"] = "payload";
|
|
7598
|
+
AgentTimelineItemFields2["createdAt"] = "createdAt";
|
|
7599
|
+
AgentTimelineItemFields2["updatedAt"] = "updatedAt";
|
|
7600
|
+
return AgentTimelineItemFields2;
|
|
7601
|
+
})(AgentTimelineItemFields || {});
|
|
7602
|
+
var AgentTimelineItemAssciations = /* @__PURE__ */ ((AgentTimelineItemAssciations2) => {
|
|
7603
|
+
AgentTimelineItemAssciations2["run"] = "run";
|
|
7604
|
+
return AgentTimelineItemAssciations2;
|
|
7605
|
+
})(AgentTimelineItemAssciations || {});
|
|
7606
|
+
var AgentRunFields = /* @__PURE__ */ ((AgentRunFields2) => {
|
|
7607
|
+
AgentRunFields2["id"] = "id";
|
|
7608
|
+
AgentRunFields2["model"] = "model";
|
|
7609
|
+
AgentRunFields2["usage"] = "usage";
|
|
7610
|
+
AgentRunFields2["status"] = "status";
|
|
7611
|
+
AgentRunFields2["startedAt"] = "startedAt";
|
|
7612
|
+
AgentRunFields2["finishedAt"] = "finishedAt";
|
|
7613
|
+
AgentRunFields2["error"] = "error";
|
|
7614
|
+
return AgentRunFields2;
|
|
7615
|
+
})(AgentRunFields || {});
|
|
7616
|
+
var AgentRunAssciations = /* @__PURE__ */ ((AgentRunAssciations2) => {
|
|
7617
|
+
AgentRunAssciations2["timeline"] = "timeline";
|
|
7618
|
+
AgentRunAssciations2["timelineAggregate"] = "timelineAggregate";
|
|
7619
|
+
AgentRunAssciations2["thread"] = "thread";
|
|
7620
|
+
return AgentRunAssciations2;
|
|
7621
|
+
})(AgentRunAssciations || {});
|
|
7128
7622
|
export {
|
|
7129
7623
|
AbilityAssciations,
|
|
7130
7624
|
AbilityDistinctEnum,
|
|
@@ -7133,6 +7627,24 @@ export {
|
|
|
7133
7627
|
AbilityFields,
|
|
7134
7628
|
AbilityQueryOptions,
|
|
7135
7629
|
AbilityType,
|
|
7630
|
+
AgentRunAssciations,
|
|
7631
|
+
AgentRunDistinctEnum,
|
|
7632
|
+
AgentRunEntityLabel,
|
|
7633
|
+
AgentRunEntityName,
|
|
7634
|
+
AgentRunFields,
|
|
7635
|
+
AgentRunQueryOptions,
|
|
7636
|
+
AgentThreadAssciations,
|
|
7637
|
+
AgentThreadDistinctEnum,
|
|
7638
|
+
AgentThreadEntityLabel,
|
|
7639
|
+
AgentThreadEntityName,
|
|
7640
|
+
AgentThreadFields,
|
|
7641
|
+
AgentThreadQueryOptions,
|
|
7642
|
+
AgentTimelineItemAssciations,
|
|
7643
|
+
AgentTimelineItemDistinctEnum,
|
|
7644
|
+
AgentTimelineItemEntityLabel,
|
|
7645
|
+
AgentTimelineItemEntityName,
|
|
7646
|
+
AgentTimelineItemFields,
|
|
7647
|
+
AgentTimelineItemQueryOptions,
|
|
7136
7648
|
AnalyticsConfigAssciations,
|
|
7137
7649
|
AnalyticsConfigDistinctEnum,
|
|
7138
7650
|
AnalyticsConfigEntityLabel,
|
|
@@ -7325,6 +7837,12 @@ export {
|
|
|
7325
7837
|
SvgIconFields,
|
|
7326
7838
|
SvgIconQueryOptions,
|
|
7327
7839
|
TagAssciations,
|
|
7840
|
+
TagCategoryAssciations,
|
|
7841
|
+
TagCategoryDistinctEnum,
|
|
7842
|
+
TagCategoryEntityLabel,
|
|
7843
|
+
TagCategoryEntityName,
|
|
7844
|
+
TagCategoryFields,
|
|
7845
|
+
TagCategoryQueryOptions,
|
|
7328
7846
|
TagDistinctEnum,
|
|
7329
7847
|
TagEntityLabel,
|
|
7330
7848
|
TagEntityName,
|
|
@@ -7438,6 +7956,15 @@ export {
|
|
|
7438
7956
|
abilityEntry,
|
|
7439
7957
|
abilityToInput,
|
|
7440
7958
|
abilityToInputCascade,
|
|
7959
|
+
agentRunEntry,
|
|
7960
|
+
agentRunToInput,
|
|
7961
|
+
agentRunToInputCascade,
|
|
7962
|
+
agentThreadEntry,
|
|
7963
|
+
agentThreadToInput,
|
|
7964
|
+
agentThreadToInputCascade,
|
|
7965
|
+
agentTimelineItemEntry,
|
|
7966
|
+
agentTimelineItemToInput,
|
|
7967
|
+
agentTimelineItemToInputCascade,
|
|
7441
7968
|
aggregateEntities,
|
|
7442
7969
|
analyticsConfigEntry,
|
|
7443
7970
|
analyticsConfigToInput,
|
|
@@ -7527,6 +8054,9 @@ export {
|
|
|
7527
8054
|
svgIconEntry,
|
|
7528
8055
|
svgIconToInput,
|
|
7529
8056
|
svgIconToInputCascade,
|
|
8057
|
+
tagCategoryEntry,
|
|
8058
|
+
tagCategoryToInput,
|
|
8059
|
+
tagCategoryToInputCascade,
|
|
7530
8060
|
tagEntry,
|
|
7531
8061
|
tagToInput,
|
|
7532
8062
|
tagToInputCascade,
|