@rxdrag/rxcms-models 0.3.98 → 0.3.100

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 (49) hide show
  1. package/dist/classes/AgentRunQueryOptions.d.ts +21 -0
  2. package/dist/classes/AgentThreadQueryOptions.d.ts +26 -0
  3. package/dist/classes/AgentTimelineItemQueryOptions.d.ts +14 -0
  4. package/dist/classes/ThemeBranchQueryOptions.d.ts +5 -0
  5. package/dist/classes/UserQueryOptions.d.ts +5 -0
  6. package/dist/classes/WebsiteQueryOptions.d.ts +5 -0
  7. package/dist/classes/index.d.ts +3 -0
  8. package/dist/entries/agentRunEntry.d.ts +2 -0
  9. package/dist/entries/agentThreadEntry.d.ts +2 -0
  10. package/dist/entries/agentTimelineItemEntry.d.ts +2 -0
  11. package/dist/entries/index.d.ts +3 -0
  12. package/dist/fields/AgentRunFields.d.ts +14 -0
  13. package/dist/fields/AgentThreadFields.d.ts +15 -0
  14. package/dist/fields/AgentTimelineItemFields.d.ts +10 -0
  15. package/dist/fields/ThemeBranchFields.d.ts +2 -0
  16. package/dist/fields/UserFields.d.ts +2 -0
  17. package/dist/fields/WebsiteFields.d.ts +2 -0
  18. package/dist/fields/index.d.ts +3 -0
  19. package/dist/index.mjs +391 -13
  20. package/dist/index.mjs.map +1 -1
  21. package/dist/interfaces/AgentError.d.ts +4 -0
  22. package/dist/interfaces/AgentRun.d.ts +20 -0
  23. package/dist/interfaces/AgentRunBoolExp.d.ts +19 -0
  24. package/dist/interfaces/AgentRunDistinctExp.d.ts +10 -0
  25. package/dist/interfaces/AgentRunInput.d.ts +21 -0
  26. package/dist/interfaces/AgentRunOrderBy.d.ts +10 -0
  27. package/dist/interfaces/AgentRunUsage.d.ts +5 -0
  28. package/dist/interfaces/AgentThread.d.ts +21 -0
  29. package/dist/interfaces/AgentThreadBoolExp.d.ts +22 -0
  30. package/dist/interfaces/AgentThreadDistinctExp.d.ts +9 -0
  31. package/dist/interfaces/AgentThreadInput.d.ts +22 -0
  32. package/dist/interfaces/AgentThreadOrderBy.d.ts +9 -0
  33. package/dist/interfaces/AgentTimelineItem.d.ts +11 -0
  34. package/dist/interfaces/AgentTimelineItemBoolExp.d.ts +15 -0
  35. package/dist/interfaces/AgentTimelineItemDistinctExp.d.ts +8 -0
  36. package/dist/interfaces/AgentTimelineItemInput.d.ts +13 -0
  37. package/dist/interfaces/AgentTimelineItemOrderBy.d.ts +8 -0
  38. package/dist/interfaces/ModelInfo.d.ts +6 -0
  39. package/dist/interfaces/ThemeBranch.d.ts +3 -0
  40. package/dist/interfaces/ThemeBranchBoolExp.d.ts +2 -0
  41. package/dist/interfaces/ThemeBranchInput.d.ts +2 -0
  42. package/dist/interfaces/User.d.ts +3 -0
  43. package/dist/interfaces/UserBoolExp.d.ts +2 -0
  44. package/dist/interfaces/UserInput.d.ts +2 -0
  45. package/dist/interfaces/Website.d.ts +3 -0
  46. package/dist/interfaces/WebsiteBoolExp.d.ts +2 -0
  47. package/dist/interfaces/WebsiteInput.d.ts +2 -0
  48. package/dist/interfaces/index.d.ts +18 -0
  49. 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",
@@ -90,7 +92,8 @@ const aggregateEntities = {
90
92
  componentCategoriesAggregate: "ComponentCategory",
91
93
  pagesAggregate: "Page",
92
94
  filesAggregate: "ThemeFile",
93
- foldersAggregate: "ThemeFileFolder"
95
+ foldersAggregate: "ThemeFileFolder",
96
+ agentThreadsAggregate: "AgentThread"
94
97
  },
95
98
  MediaFolder: {
96
99
  childrenAggregate: "MediaFolder",
@@ -133,6 +136,12 @@ const aggregateEntities = {
133
136
  TagCategory: {
134
137
  tagsAggregate: "Tag",
135
138
  childrenAggregate: "TagCategory"
139
+ },
140
+ AgentThread: {
141
+ runsAggregate: "AgentRun"
142
+ },
143
+ AgentRun: {
144
+ timelineAggregate: "AgentTimelineItem"
136
145
  }
137
146
  };
138
147
  class QueryOptions {
@@ -459,6 +468,56 @@ const themeFileToInput = (entity) => {
459
468
  folder: convertHasOneToInput(entity.folder)
460
469
  };
461
470
  };
471
+ const agentTimelineItemToInputCascade = (entity) => {
472
+ return {
473
+ ...entity,
474
+ run: entity.run ? processHasOneClear({ sync: agentRunToInput(entity.run) }) : void 0
475
+ };
476
+ };
477
+ const agentTimelineItemToInput = (entity) => {
478
+ return {
479
+ ...entity,
480
+ run: convertHasOneToInput(entity.run)
481
+ };
482
+ };
483
+ const agentRunToInputCascade = (entity) => {
484
+ var _a;
485
+ const { timelineAggregate, ...rest } = entity;
486
+ return {
487
+ ...rest,
488
+ timeline: entity.timeline ? processHasManyClear({ sync: (_a = entity.timeline) == null ? void 0 : _a.map((ent) => agentTimelineItemToInput(ent)) }) : void 0,
489
+ thread: entity.thread ? processHasOneClear({ sync: agentThreadToInput(entity.thread) }) : void 0
490
+ };
491
+ };
492
+ const agentRunToInput = (entity) => {
493
+ const { timelineAggregate, ...rest } = entity;
494
+ return {
495
+ ...rest,
496
+ timeline: convertHasManyToInput(entity.timeline),
497
+ thread: convertHasOneToInput(entity.thread)
498
+ };
499
+ };
500
+ const agentThreadToInputCascade = (entity) => {
501
+ var _a;
502
+ const { runsAggregate, ...rest } = entity;
503
+ return {
504
+ ...rest,
505
+ runs: entity.runs ? processHasManyClear({ sync: (_a = entity.runs) == null ? void 0 : _a.map((ent) => agentRunToInput(ent)) }) : void 0,
506
+ user: entity.user ? processHasOneClear({ sync: userToInput(entity.user) }) : void 0,
507
+ website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0,
508
+ themeBranch: entity.themeBranch ? processHasOneClear({ sync: themeBranchToInput(entity.themeBranch) }) : void 0
509
+ };
510
+ };
511
+ const agentThreadToInput = (entity) => {
512
+ const { runsAggregate, ...rest } = entity;
513
+ return {
514
+ ...rest,
515
+ runs: convertHasManyToInput(entity.runs),
516
+ user: convertHasOneToInput(entity.user),
517
+ website: convertHasOneToInput(entity.website),
518
+ themeBranch: convertHasOneToInput(entity.themeBranch)
519
+ };
520
+ };
462
521
  const themeInMarketToInputCascade = (entity) => {
463
522
  var _a;
464
523
  const { versionsAggregate, ...rest } = entity;
@@ -523,8 +582,8 @@ const themeToInput = (entity) => {
523
582
  };
524
583
  };
525
584
  const themeBranchToInputCascade = (entity) => {
526
- var _a, _b, _c, _d, _e;
527
- const { componentsAggregate, componentCategoriesAggregate, pagesAggregate, filesAggregate, foldersAggregate, ...rest } = entity;
585
+ var _a, _b, _c, _d, _e, _f;
586
+ const { componentsAggregate, componentCategoriesAggregate, pagesAggregate, filesAggregate, foldersAggregate, agentThreadsAggregate, ...rest } = entity;
528
587
  return {
529
588
  ...rest,
530
589
  components: entity.components ? processHasManyClear({ sync: (_a = entity.components) == null ? void 0 : _a.map((ent) => frontComponentToInput(ent)) }) : void 0,
@@ -536,13 +595,14 @@ const themeBranchToInputCascade = (entity) => {
536
595
  mockWebsite: entity.mockWebsite ? processHasOneClear({ sync: websiteToInput(entity.mockWebsite) }) : void 0,
537
596
  files: entity.files ? processHasManyClear({ sync: (_d = entity.files) == null ? void 0 : _d.map((ent) => themeFileToInput(ent)) }) : void 0,
538
597
  folders: entity.folders ? processHasManyClear({ sync: (_e = entity.folders) == null ? void 0 : _e.map((ent) => themeFileFolderToInput(ent)) }) : void 0,
598
+ agentThreads: entity.agentThreads ? processHasManyClear({ sync: (_f = entity.agentThreads) == null ? void 0 : _f.map((ent) => agentThreadToInput(ent)) }) : void 0,
539
599
  marketVersion: entity.marketVersion ? processHasOneClear({ sync: themeVersionToInput(entity.marketVersion) }) : void 0,
540
600
  website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0,
541
601
  belongsToMain: entity.belongsToMain ? processHasOneClear({ sync: themeToInput(entity.belongsToMain) }) : void 0
542
602
  };
543
603
  };
544
604
  const themeBranchToInput = (entity) => {
545
- const { componentsAggregate, componentCategoriesAggregate, pagesAggregate, filesAggregate, foldersAggregate, ...rest } = entity;
605
+ const { componentsAggregate, componentCategoriesAggregate, pagesAggregate, filesAggregate, foldersAggregate, agentThreadsAggregate, ...rest } = entity;
546
606
  return {
547
607
  ...rest,
548
608
  components: convertHasManyToInput(entity.components),
@@ -554,6 +614,7 @@ const themeBranchToInput = (entity) => {
554
614
  mockWebsite: convertHasOneToInput(entity.mockWebsite),
555
615
  files: convertHasManyToInput(entity.files),
556
616
  folders: convertHasManyToInput(entity.folders),
617
+ agentThreads: convertHasManyToInput(entity.agentThreads),
557
618
  marketVersion: convertHasOneToInput(entity.marketVersion),
558
619
  website: convertHasOneToInput(entity.website),
559
620
  belongsToMain: convertHasOneToInput(entity.belongsToMain)
@@ -898,8 +959,8 @@ const svgIconToInput = (entity) => {
898
959
  };
899
960
  };
900
961
  const websiteToInputCascade = (entity) => {
901
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
902
- 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;
903
964
  return {
904
965
  ...rest,
905
966
  websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
@@ -926,11 +987,12 @@ const websiteToInputCascade = (entity) => {
926
987
  userOperations: entity.userOperations ? processHasManyClear({ sync: (_q = entity.userOperations) == null ? void 0 : _q.map((ent) => userOperationToInput(ent)) }) : void 0,
927
988
  svgIcons: entity.svgIcons ? processHasManyClear({ sync: (_r = entity.svgIcons) == null ? void 0 : _r.map((ent) => svgIconToInput(ent)) }) : void 0,
928
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,
929
991
  mockBranch: entity.mockBranch ? processHasOneClear({ sync: themeBranchToInput(entity.mockBranch) }) : void 0
930
992
  };
931
993
  };
932
994
  const websiteToInput = (entity) => {
933
- 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;
934
996
  return {
935
997
  ...rest,
936
998
  websiteType: convertHasOneToInput(entity.websiteType),
@@ -957,6 +1019,7 @@ const websiteToInput = (entity) => {
957
1019
  userOperations: convertHasManyToInput(entity.userOperations),
958
1020
  svgIcons: convertHasManyToInput(entity.svgIcons),
959
1021
  tags: convertHasManyToInput(entity.tags),
1022
+ agentThreads: convertHasManyToInput(entity.agentThreads),
960
1023
  mockBranch: convertHasOneToInput(entity.mockBranch)
961
1024
  };
962
1025
  };
@@ -1114,8 +1177,8 @@ const mediaToInput = (entity) => {
1114
1177
  };
1115
1178
  };
1116
1179
  const userToInputCascade = (entity) => {
1117
- var _a, _b, _c, _d, _e, _f;
1118
- 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;
1119
1182
  return {
1120
1183
  ...rest,
1121
1184
  roles: entity.roles ? processHasManyClear({ sync: (_a = entity.roles) == null ? void 0 : _a.map((ent) => roleToInput(ent)) }) : void 0,
@@ -1123,13 +1186,14 @@ const userToInputCascade = (entity) => {
1123
1186
  products: entity.products ? processHasManyClear({ sync: (_b = entity.products) == null ? void 0 : _b.map((ent) => productToInput(ent)) }) : void 0,
1124
1187
  operations: entity.operations ? processHasManyClear({ sync: (_c = entity.operations) == null ? void 0 : _c.map((ent) => userOperationToInput(ent)) }) : void 0,
1125
1188
  medias: entity.medias ? processHasManyClear({ sync: (_d = entity.medias) == null ? void 0 : _d.map((ent) => mediaToInput(ent)) }) : void 0,
1126
- posts: entity.posts ? processHasManyClear({ sync: (_e = entity.posts) == null ? void 0 : _e.map((ent) => postToInput(ent)) }) : void 0,
1127
- websites: entity.websites ? processHasManyClear({ sync: (_f = entity.websites) == null ? void 0 : _f.map((ent) => websiteToInput(ent)) }) : void 0,
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,
1128
1192
  website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
1129
1193
  };
1130
1194
  };
1131
1195
  const userToInput = (entity) => {
1132
- const { rolesAggregate, productsAggregate, operationsAggregate, mediasAggregate, postsAggregate, websitesAggregate, ...rest } = entity;
1196
+ const { rolesAggregate, productsAggregate, operationsAggregate, mediasAggregate, agentThreadsAggregate, postsAggregate, websitesAggregate, ...rest } = entity;
1133
1197
  return {
1134
1198
  ...rest,
1135
1199
  roles: convertHasManyToInput(entity.roles),
@@ -1137,6 +1201,7 @@ const userToInput = (entity) => {
1137
1201
  products: convertHasManyToInput(entity.products),
1138
1202
  operations: convertHasManyToInput(entity.operations),
1139
1203
  medias: convertHasManyToInput(entity.medias),
1204
+ agentThreads: convertHasManyToInput(entity.agentThreads),
1140
1205
  posts: convertHasManyToInput(entity.posts),
1141
1206
  websites: convertHasManyToInput(entity.websites),
1142
1207
  website: convertHasOneToInput(entity.website)
@@ -2108,6 +2173,39 @@ var TagCategoryDistinctEnum = /* @__PURE__ */ ((TagCategoryDistinctEnum2) => {
2108
2173
  TagCategoryDistinctEnum2["createdAt"] = "createdAt";
2109
2174
  return TagCategoryDistinctEnum2;
2110
2175
  })(TagCategoryDistinctEnum || {});
2176
+ const AgentThreadEntityName = "AgentThread";
2177
+ const AgentThreadEntityLabel = "";
2178
+ var AgentThreadDistinctEnum = /* @__PURE__ */ ((AgentThreadDistinctEnum2) => {
2179
+ AgentThreadDistinctEnum2["id"] = "id";
2180
+ AgentThreadDistinctEnum2["scene"] = "scene";
2181
+ AgentThreadDistinctEnum2["status"] = "status";
2182
+ AgentThreadDistinctEnum2["lastError"] = "lastError";
2183
+ AgentThreadDistinctEnum2["createdAt"] = "createdAt";
2184
+ AgentThreadDistinctEnum2["updatedAt"] = "updatedAt";
2185
+ return AgentThreadDistinctEnum2;
2186
+ })(AgentThreadDistinctEnum || {});
2187
+ const AgentRunEntityName = "AgentRun";
2188
+ const AgentRunEntityLabel = "";
2189
+ var AgentRunDistinctEnum = /* @__PURE__ */ ((AgentRunDistinctEnum2) => {
2190
+ AgentRunDistinctEnum2["id"] = "id";
2191
+ AgentRunDistinctEnum2["model"] = "model";
2192
+ AgentRunDistinctEnum2["usage"] = "usage";
2193
+ AgentRunDistinctEnum2["status"] = "status";
2194
+ AgentRunDistinctEnum2["startedAt"] = "startedAt";
2195
+ AgentRunDistinctEnum2["finishedAt"] = "finishedAt";
2196
+ AgentRunDistinctEnum2["error"] = "error";
2197
+ return AgentRunDistinctEnum2;
2198
+ })(AgentRunDistinctEnum || {});
2199
+ const AgentTimelineItemEntityName = "AgentTimelineItem";
2200
+ const AgentTimelineItemEntityLabel = "";
2201
+ var AgentTimelineItemDistinctEnum = /* @__PURE__ */ ((AgentTimelineItemDistinctEnum2) => {
2202
+ AgentTimelineItemDistinctEnum2["id"] = "id";
2203
+ AgentTimelineItemDistinctEnum2["kind"] = "kind";
2204
+ AgentTimelineItemDistinctEnum2["payload"] = "payload";
2205
+ AgentTimelineItemDistinctEnum2["createdAt"] = "createdAt";
2206
+ AgentTimelineItemDistinctEnum2["updatedAt"] = "updatedAt";
2207
+ return AgentTimelineItemDistinctEnum2;
2208
+ })(AgentTimelineItemDistinctEnum || {});
2111
2209
  class RoleVariableQueryOptions extends QueryOptions {
2112
2210
  constructor(fields, queryArgs) {
2113
2211
  super(RoleVariableEntityName, fields, queryArgs);
@@ -2785,6 +2883,157 @@ class ThemeFileQueryOptions extends QueryOptions {
2785
2883
  return this;
2786
2884
  }
2787
2885
  }
2886
+ class AgentTimelineItemQueryOptions extends QueryOptions {
2887
+ constructor(fields, queryArgs) {
2888
+ super(AgentTimelineItemEntityName, fields, queryArgs);
2889
+ }
2890
+ id() {
2891
+ this.addField("id");
2892
+ return this;
2893
+ }
2894
+ kind() {
2895
+ this.addField("kind");
2896
+ return this;
2897
+ }
2898
+ payload() {
2899
+ this.addField("payload");
2900
+ return this;
2901
+ }
2902
+ createdAt() {
2903
+ this.addField("createdAt");
2904
+ return this;
2905
+ }
2906
+ updatedAt() {
2907
+ this.addField("updatedAt");
2908
+ return this;
2909
+ }
2910
+ run(options) {
2911
+ if (Array.isArray(options)) {
2912
+ this._associations["run"] = new AgentRunQueryOptions(options);
2913
+ } else {
2914
+ this._associations["run"] = options || new AgentRunQueryOptions(["id"]);
2915
+ }
2916
+ return this;
2917
+ }
2918
+ }
2919
+ class AgentRunQueryOptions extends QueryOptions {
2920
+ constructor(fields, queryArgs) {
2921
+ super(AgentRunEntityName, fields, queryArgs);
2922
+ }
2923
+ id() {
2924
+ this.addField("id");
2925
+ return this;
2926
+ }
2927
+ model() {
2928
+ this.addField("model");
2929
+ return this;
2930
+ }
2931
+ usage() {
2932
+ this.addField("usage");
2933
+ return this;
2934
+ }
2935
+ status() {
2936
+ this.addField("status");
2937
+ return this;
2938
+ }
2939
+ startedAt() {
2940
+ this.addField("startedAt");
2941
+ return this;
2942
+ }
2943
+ finishedAt() {
2944
+ this.addField("finishedAt");
2945
+ return this;
2946
+ }
2947
+ error() {
2948
+ this.addField("error");
2949
+ return this;
2950
+ }
2951
+ timeline(options) {
2952
+ if (Array.isArray(options)) {
2953
+ this._associations["timeline"] = new AgentTimelineItemQueryOptions(options);
2954
+ } else {
2955
+ this._associations["timeline"] = options || new AgentTimelineItemQueryOptions(["id"]);
2956
+ }
2957
+ return this;
2958
+ }
2959
+ timelineAggregate(aggregate) {
2960
+ this._aggregates["timelineAggregate"] = aggregate;
2961
+ return this;
2962
+ }
2963
+ thread(options) {
2964
+ if (Array.isArray(options)) {
2965
+ this._associations["thread"] = new AgentThreadQueryOptions(options);
2966
+ } else {
2967
+ this._associations["thread"] = options || new AgentThreadQueryOptions(["id"]);
2968
+ }
2969
+ return this;
2970
+ }
2971
+ }
2972
+ class AgentThreadQueryOptions extends QueryOptions {
2973
+ constructor(fields, queryArgs) {
2974
+ super(AgentThreadEntityName, fields, queryArgs);
2975
+ }
2976
+ id() {
2977
+ this.addField("id");
2978
+ return this;
2979
+ }
2980
+ scene() {
2981
+ this.addField("scene");
2982
+ return this;
2983
+ }
2984
+ status() {
2985
+ this.addField("status");
2986
+ return this;
2987
+ }
2988
+ lastError() {
2989
+ this.addField("lastError");
2990
+ return this;
2991
+ }
2992
+ createdAt() {
2993
+ this.addField("createdAt");
2994
+ return this;
2995
+ }
2996
+ updatedAt() {
2997
+ this.addField("updatedAt");
2998
+ return this;
2999
+ }
3000
+ runs(options) {
3001
+ if (Array.isArray(options)) {
3002
+ this._associations["runs"] = new AgentRunQueryOptions(options);
3003
+ } else {
3004
+ this._associations["runs"] = options || new AgentRunQueryOptions(["id"]);
3005
+ }
3006
+ return this;
3007
+ }
3008
+ runsAggregate(aggregate) {
3009
+ this._aggregates["runsAggregate"] = aggregate;
3010
+ return this;
3011
+ }
3012
+ user(options) {
3013
+ if (Array.isArray(options)) {
3014
+ this._associations["user"] = new UserQueryOptions(options);
3015
+ } else {
3016
+ this._associations["user"] = options || new UserQueryOptions(["id"]);
3017
+ }
3018
+ return this;
3019
+ }
3020
+ website(options) {
3021
+ if (Array.isArray(options)) {
3022
+ this._associations["website"] = new WebsiteQueryOptions(options);
3023
+ } else {
3024
+ this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
3025
+ }
3026
+ return this;
3027
+ }
3028
+ themeBranch(options) {
3029
+ if (Array.isArray(options)) {
3030
+ this._associations["themeBranch"] = new ThemeBranchQueryOptions(options);
3031
+ } else {
3032
+ this._associations["themeBranch"] = options || new ThemeBranchQueryOptions(["id"]);
3033
+ }
3034
+ return this;
3035
+ }
3036
+ }
2788
3037
  class ThemeInMarketQueryOptions extends QueryOptions {
2789
3038
  constructor(fields, queryArgs) {
2790
3039
  super(ThemeInMarketEntityName, fields, queryArgs);
@@ -3088,6 +3337,18 @@ class ThemeBranchQueryOptions extends QueryOptions {
3088
3337
  this._aggregates["foldersAggregate"] = aggregate;
3089
3338
  return this;
3090
3339
  }
3340
+ agentThreads(options) {
3341
+ if (Array.isArray(options)) {
3342
+ this._associations["agentThreads"] = new AgentThreadQueryOptions(options);
3343
+ } else {
3344
+ this._associations["agentThreads"] = options || new AgentThreadQueryOptions(["id"]);
3345
+ }
3346
+ return this;
3347
+ }
3348
+ agentThreadsAggregate(aggregate) {
3349
+ this._aggregates["agentThreadsAggregate"] = aggregate;
3350
+ return this;
3351
+ }
3091
3352
  marketVersion(options) {
3092
3353
  if (Array.isArray(options)) {
3093
3354
  this._associations["marketVersion"] = new ThemeVersionQueryOptions(options);
@@ -4710,6 +4971,18 @@ class WebsiteQueryOptions extends QueryOptions {
4710
4971
  this._aggregates["tagsAggregate"] = aggregate;
4711
4972
  return this;
4712
4973
  }
4974
+ agentThreads(options) {
4975
+ if (Array.isArray(options)) {
4976
+ this._associations["agentThreads"] = new AgentThreadQueryOptions(options);
4977
+ } else {
4978
+ this._associations["agentThreads"] = options || new AgentThreadQueryOptions(["id"]);
4979
+ }
4980
+ return this;
4981
+ }
4982
+ agentThreadsAggregate(aggregate) {
4983
+ this._aggregates["agentThreadsAggregate"] = aggregate;
4984
+ return this;
4985
+ }
4713
4986
  mockBranch(options) {
4714
4987
  if (Array.isArray(options)) {
4715
4988
  this._associations["mockBranch"] = new ThemeBranchQueryOptions(options);
@@ -5675,6 +5948,18 @@ class UserQueryOptions extends QueryOptions {
5675
5948
  this._aggregates["mediasAggregate"] = aggregate;
5676
5949
  return this;
5677
5950
  }
5951
+ agentThreads(options) {
5952
+ if (Array.isArray(options)) {
5953
+ this._associations["agentThreads"] = new AgentThreadQueryOptions(options);
5954
+ } else {
5955
+ this._associations["agentThreads"] = options || new AgentThreadQueryOptions(["id"]);
5956
+ }
5957
+ return this;
5958
+ }
5959
+ agentThreadsAggregate(aggregate) {
5960
+ this._aggregates["agentThreadsAggregate"] = aggregate;
5961
+ return this;
5962
+ }
5678
5963
  posts(options) {
5679
5964
  if (Array.isArray(options)) {
5680
5965
  this._associations["posts"] = new PostQueryOptions(options);
@@ -6274,6 +6559,21 @@ const tagCategoryEntry = {
6274
6559
  entityLabel: TagCategoryEntityLabel,
6275
6560
  toInput: tagCategoryToInput
6276
6561
  };
6562
+ const agentThreadEntry = {
6563
+ entityName: AgentThreadEntityName,
6564
+ entityLabel: AgentThreadEntityLabel,
6565
+ toInput: agentThreadToInput
6566
+ };
6567
+ const agentRunEntry = {
6568
+ entityName: AgentRunEntityName,
6569
+ entityLabel: AgentRunEntityLabel,
6570
+ toInput: agentRunToInput
6571
+ };
6572
+ const agentTimelineItemEntry = {
6573
+ entityName: AgentTimelineItemEntityName,
6574
+ entityLabel: AgentTimelineItemEntityLabel,
6575
+ toInput: agentTimelineItemToInput
6576
+ };
6277
6577
  var UserFields = /* @__PURE__ */ ((UserFields2) => {
6278
6578
  UserFields2["id"] = "id";
6279
6579
  UserFields2["loginName"] = "loginName";
@@ -6308,6 +6608,8 @@ var UserAssciations = /* @__PURE__ */ ((UserAssciations2) => {
6308
6608
  UserAssciations2["operationsAggregate"] = "operationsAggregate";
6309
6609
  UserAssciations2["medias"] = "medias";
6310
6610
  UserAssciations2["mediasAggregate"] = "mediasAggregate";
6611
+ UserAssciations2["agentThreads"] = "agentThreads";
6612
+ UserAssciations2["agentThreadsAggregate"] = "agentThreadsAggregate";
6311
6613
  UserAssciations2["posts"] = "posts";
6312
6614
  UserAssciations2["postsAggregate"] = "postsAggregate";
6313
6615
  UserAssciations2["websites"] = "websites";
@@ -6491,6 +6793,8 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
6491
6793
  WebsiteAssciations2["svgIconsAggregate"] = "svgIconsAggregate";
6492
6794
  WebsiteAssciations2["tags"] = "tags";
6493
6795
  WebsiteAssciations2["tagsAggregate"] = "tagsAggregate";
6796
+ WebsiteAssciations2["agentThreads"] = "agentThreads";
6797
+ WebsiteAssciations2["agentThreadsAggregate"] = "agentThreadsAggregate";
6494
6798
  WebsiteAssciations2["mockBranch"] = "mockBranch";
6495
6799
  return WebsiteAssciations2;
6496
6800
  })(WebsiteAssciations || {});
@@ -6725,6 +7029,8 @@ var ThemeBranchAssciations = /* @__PURE__ */ ((ThemeBranchAssciations2) => {
6725
7029
  ThemeBranchAssciations2["filesAggregate"] = "filesAggregate";
6726
7030
  ThemeBranchAssciations2["folders"] = "folders";
6727
7031
  ThemeBranchAssciations2["foldersAggregate"] = "foldersAggregate";
7032
+ ThemeBranchAssciations2["agentThreads"] = "agentThreads";
7033
+ ThemeBranchAssciations2["agentThreadsAggregate"] = "agentThreadsAggregate";
6728
7034
  ThemeBranchAssciations2["marketVersion"] = "marketVersion";
6729
7035
  ThemeBranchAssciations2["website"] = "website";
6730
7036
  ThemeBranchAssciations2["belongsToMain"] = "belongsToMain";
@@ -7269,6 +7575,51 @@ var TagCategoryAssciations = /* @__PURE__ */ ((TagCategoryAssciations2) => {
7269
7575
  TagCategoryAssciations2["parent"] = "parent";
7270
7576
  return TagCategoryAssciations2;
7271
7577
  })(TagCategoryAssciations || {});
7578
+ var AgentThreadFields = /* @__PURE__ */ ((AgentThreadFields2) => {
7579
+ AgentThreadFields2["id"] = "id";
7580
+ AgentThreadFields2["scene"] = "scene";
7581
+ AgentThreadFields2["status"] = "status";
7582
+ AgentThreadFields2["lastError"] = "lastError";
7583
+ AgentThreadFields2["createdAt"] = "createdAt";
7584
+ AgentThreadFields2["updatedAt"] = "updatedAt";
7585
+ return AgentThreadFields2;
7586
+ })(AgentThreadFields || {});
7587
+ var AgentThreadAssciations = /* @__PURE__ */ ((AgentThreadAssciations2) => {
7588
+ AgentThreadAssciations2["runs"] = "runs";
7589
+ AgentThreadAssciations2["runsAggregate"] = "runsAggregate";
7590
+ AgentThreadAssciations2["user"] = "user";
7591
+ AgentThreadAssciations2["website"] = "website";
7592
+ AgentThreadAssciations2["themeBranch"] = "themeBranch";
7593
+ return AgentThreadAssciations2;
7594
+ })(AgentThreadAssciations || {});
7595
+ var AgentRunFields = /* @__PURE__ */ ((AgentRunFields2) => {
7596
+ AgentRunFields2["id"] = "id";
7597
+ AgentRunFields2["model"] = "model";
7598
+ AgentRunFields2["usage"] = "usage";
7599
+ AgentRunFields2["status"] = "status";
7600
+ AgentRunFields2["startedAt"] = "startedAt";
7601
+ AgentRunFields2["finishedAt"] = "finishedAt";
7602
+ AgentRunFields2["error"] = "error";
7603
+ return AgentRunFields2;
7604
+ })(AgentRunFields || {});
7605
+ var AgentRunAssciations = /* @__PURE__ */ ((AgentRunAssciations2) => {
7606
+ AgentRunAssciations2["timeline"] = "timeline";
7607
+ AgentRunAssciations2["timelineAggregate"] = "timelineAggregate";
7608
+ AgentRunAssciations2["thread"] = "thread";
7609
+ return AgentRunAssciations2;
7610
+ })(AgentRunAssciations || {});
7611
+ var AgentTimelineItemFields = /* @__PURE__ */ ((AgentTimelineItemFields2) => {
7612
+ AgentTimelineItemFields2["id"] = "id";
7613
+ AgentTimelineItemFields2["kind"] = "kind";
7614
+ AgentTimelineItemFields2["payload"] = "payload";
7615
+ AgentTimelineItemFields2["createdAt"] = "createdAt";
7616
+ AgentTimelineItemFields2["updatedAt"] = "updatedAt";
7617
+ return AgentTimelineItemFields2;
7618
+ })(AgentTimelineItemFields || {});
7619
+ var AgentTimelineItemAssciations = /* @__PURE__ */ ((AgentTimelineItemAssciations2) => {
7620
+ AgentTimelineItemAssciations2["run"] = "run";
7621
+ return AgentTimelineItemAssciations2;
7622
+ })(AgentTimelineItemAssciations || {});
7272
7623
  export {
7273
7624
  AbilityAssciations,
7274
7625
  AbilityDistinctEnum,
@@ -7277,6 +7628,24 @@ export {
7277
7628
  AbilityFields,
7278
7629
  AbilityQueryOptions,
7279
7630
  AbilityType,
7631
+ AgentRunAssciations,
7632
+ AgentRunDistinctEnum,
7633
+ AgentRunEntityLabel,
7634
+ AgentRunEntityName,
7635
+ AgentRunFields,
7636
+ AgentRunQueryOptions,
7637
+ AgentThreadAssciations,
7638
+ AgentThreadDistinctEnum,
7639
+ AgentThreadEntityLabel,
7640
+ AgentThreadEntityName,
7641
+ AgentThreadFields,
7642
+ AgentThreadQueryOptions,
7643
+ AgentTimelineItemAssciations,
7644
+ AgentTimelineItemDistinctEnum,
7645
+ AgentTimelineItemEntityLabel,
7646
+ AgentTimelineItemEntityName,
7647
+ AgentTimelineItemFields,
7648
+ AgentTimelineItemQueryOptions,
7280
7649
  AnalyticsConfigAssciations,
7281
7650
  AnalyticsConfigDistinctEnum,
7282
7651
  AnalyticsConfigEntityLabel,
@@ -7588,6 +7957,15 @@ export {
7588
7957
  abilityEntry,
7589
7958
  abilityToInput,
7590
7959
  abilityToInputCascade,
7960
+ agentRunEntry,
7961
+ agentRunToInput,
7962
+ agentRunToInputCascade,
7963
+ agentThreadEntry,
7964
+ agentThreadToInput,
7965
+ agentThreadToInputCascade,
7966
+ agentTimelineItemEntry,
7967
+ agentTimelineItemToInput,
7968
+ agentTimelineItemToInputCascade,
7591
7969
  aggregateEntities,
7592
7970
  analyticsConfigEntry,
7593
7971
  analyticsConfigToInput,