@rxdrag/rxcms-models 0.3.98 → 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.
Files changed (50) 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/ThemeQueryOptions.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/ThemeFields.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 -14
  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/MediaType.d.ts +1 -5
  39. package/dist/interfaces/ModelInfo.d.ts +6 -0
  40. package/dist/interfaces/Theme.d.ts +3 -0
  41. package/dist/interfaces/ThemeBoolExp.d.ts +2 -0
  42. package/dist/interfaces/ThemeInput.d.ts +2 -0
  43. package/dist/interfaces/User.d.ts +3 -0
  44. package/dist/interfaces/UserBoolExp.d.ts +2 -0
  45. package/dist/interfaces/UserInput.d.ts +2 -0
  46. package/dist/interfaces/Website.d.ts +3 -0
  47. package/dist/interfaces/WebsiteBoolExp.d.ts +2 -0
  48. package/dist/interfaces/WebsiteInput.d.ts +2 -0
  49. package/dist/interfaces/index.d.ts +18 -0
  50. package/package.json +1 -1
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",
@@ -124,7 +126,8 @@ const aggregateEntities = {
124
126
  mediasAggregate: "Media"
125
127
  },
126
128
  Theme: {
127
- branchesAggregate: "ThemeBranch"
129
+ branchesAggregate: "ThemeBranch",
130
+ agentThreadsAggregate: "AgentThread"
128
131
  },
129
132
  ThemeFileFolder: {
130
133
  foldersAggregate: "ThemeFileFolder",
@@ -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 {
@@ -488,6 +497,56 @@ const themeVersionToInput = (entity) => {
488
497
  themeInMarket: convertHasOneToInput(entity.themeInMarket)
489
498
  };
490
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
+ };
491
550
  const themeCategoryToInputCascade = (entity) => {
492
551
  var _a;
493
552
  const { themesAggregate, ...rest } = entity;
@@ -504,21 +563,23 @@ const themeCategoryToInput = (entity) => {
504
563
  };
505
564
  };
506
565
  const themeToInputCascade = (entity) => {
507
- var _a;
508
- const { branchesAggregate, ...rest } = entity;
566
+ var _a, _b;
567
+ const { branchesAggregate, agentThreadsAggregate, ...rest } = entity;
509
568
  return {
510
569
  ...rest,
511
570
  branches: entity.branches ? processHasManyClear({ sync: (_a = entity.branches) == null ? void 0 : _a.map((ent) => themeBranchToInput(ent)) }) : void 0,
512
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,
513
573
  category: entity.category ? processHasOneClear({ sync: themeCategoryToInput(entity.category) }) : void 0
514
574
  };
515
575
  };
516
576
  const themeToInput = (entity) => {
517
- const { branchesAggregate, ...rest } = entity;
577
+ const { branchesAggregate, agentThreadsAggregate, ...rest } = entity;
518
578
  return {
519
579
  ...rest,
520
580
  branches: convertHasManyToInput(entity.branches),
521
581
  cover: convertHasOneToInput(entity.cover),
582
+ agentThreads: convertHasManyToInput(entity.agentThreads),
522
583
  category: convertHasOneToInput(entity.category)
523
584
  };
524
585
  };
@@ -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)
@@ -1253,7 +1318,6 @@ var MediaType = /* @__PURE__ */ ((MediaType2) => {
1253
1318
  MediaType2["image"] = "image";
1254
1319
  MediaType2["video"] = "video";
1255
1320
  MediaType2["document"] = "document";
1256
- MediaType2["file"] = "file";
1257
1321
  return MediaType2;
1258
1322
  })(MediaType || {});
1259
1323
  const MailEntityName = "Mail";
@@ -2108,6 +2172,39 @@ var TagCategoryDistinctEnum = /* @__PURE__ */ ((TagCategoryDistinctEnum2) => {
2108
2172
  TagCategoryDistinctEnum2["createdAt"] = "createdAt";
2109
2173
  return TagCategoryDistinctEnum2;
2110
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 || {});
2111
2208
  class RoleVariableQueryOptions extends QueryOptions {
2112
2209
  constructor(fields, queryArgs) {
2113
2210
  super(RoleVariableEntityName, fields, queryArgs);
@@ -2855,6 +2952,157 @@ class ThemeVersionQueryOptions extends QueryOptions {
2855
2952
  return this;
2856
2953
  }
2857
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
+ }
2858
3106
  class ThemeCategoryQueryOptions extends QueryOptions {
2859
3107
  constructor(fields, queryArgs) {
2860
3108
  super(ThemeCategoryEntityName, fields, queryArgs);
@@ -2944,6 +3192,18 @@ class ThemeQueryOptions extends QueryOptions {
2944
3192
  }
2945
3193
  return this;
2946
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
+ }
2947
3207
  category(options) {
2948
3208
  if (Array.isArray(options)) {
2949
3209
  this._associations["category"] = new ThemeCategoryQueryOptions(options);
@@ -4710,6 +4970,18 @@ class WebsiteQueryOptions extends QueryOptions {
4710
4970
  this._aggregates["tagsAggregate"] = aggregate;
4711
4971
  return this;
4712
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
+ }
4713
4985
  mockBranch(options) {
4714
4986
  if (Array.isArray(options)) {
4715
4987
  this._associations["mockBranch"] = new ThemeBranchQueryOptions(options);
@@ -5675,6 +5947,18 @@ class UserQueryOptions extends QueryOptions {
5675
5947
  this._aggregates["mediasAggregate"] = aggregate;
5676
5948
  return this;
5677
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
+ }
5678
5962
  posts(options) {
5679
5963
  if (Array.isArray(options)) {
5680
5964
  this._associations["posts"] = new PostQueryOptions(options);
@@ -6274,6 +6558,21 @@ const tagCategoryEntry = {
6274
6558
  entityLabel: TagCategoryEntityLabel,
6275
6559
  toInput: tagCategoryToInput
6276
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
+ };
6277
6576
  var UserFields = /* @__PURE__ */ ((UserFields2) => {
6278
6577
  UserFields2["id"] = "id";
6279
6578
  UserFields2["loginName"] = "loginName";
@@ -6308,6 +6607,8 @@ var UserAssciations = /* @__PURE__ */ ((UserAssciations2) => {
6308
6607
  UserAssciations2["operationsAggregate"] = "operationsAggregate";
6309
6608
  UserAssciations2["medias"] = "medias";
6310
6609
  UserAssciations2["mediasAggregate"] = "mediasAggregate";
6610
+ UserAssciations2["agentThreads"] = "agentThreads";
6611
+ UserAssciations2["agentThreadsAggregate"] = "agentThreadsAggregate";
6311
6612
  UserAssciations2["posts"] = "posts";
6312
6613
  UserAssciations2["postsAggregate"] = "postsAggregate";
6313
6614
  UserAssciations2["websites"] = "websites";
@@ -6491,6 +6792,8 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
6491
6792
  WebsiteAssciations2["svgIconsAggregate"] = "svgIconsAggregate";
6492
6793
  WebsiteAssciations2["tags"] = "tags";
6493
6794
  WebsiteAssciations2["tagsAggregate"] = "tagsAggregate";
6795
+ WebsiteAssciations2["agentThreads"] = "agentThreads";
6796
+ WebsiteAssciations2["agentThreadsAggregate"] = "agentThreadsAggregate";
6494
6797
  WebsiteAssciations2["mockBranch"] = "mockBranch";
6495
6798
  return WebsiteAssciations2;
6496
6799
  })(WebsiteAssciations || {});
@@ -7202,6 +7505,8 @@ var ThemeAssciations = /* @__PURE__ */ ((ThemeAssciations2) => {
7202
7505
  ThemeAssciations2["branches"] = "branches";
7203
7506
  ThemeAssciations2["branchesAggregate"] = "branchesAggregate";
7204
7507
  ThemeAssciations2["cover"] = "cover";
7508
+ ThemeAssciations2["agentThreads"] = "agentThreads";
7509
+ ThemeAssciations2["agentThreadsAggregate"] = "agentThreadsAggregate";
7205
7510
  ThemeAssciations2["category"] = "category";
7206
7511
  return ThemeAssciations2;
7207
7512
  })(ThemeAssciations || {});
@@ -7269,6 +7574,51 @@ var TagCategoryAssciations = /* @__PURE__ */ ((TagCategoryAssciations2) => {
7269
7574
  TagCategoryAssciations2["parent"] = "parent";
7270
7575
  return TagCategoryAssciations2;
7271
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 || {});
7272
7622
  export {
7273
7623
  AbilityAssciations,
7274
7624
  AbilityDistinctEnum,
@@ -7277,6 +7627,24 @@ export {
7277
7627
  AbilityFields,
7278
7628
  AbilityQueryOptions,
7279
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,
7280
7648
  AnalyticsConfigAssciations,
7281
7649
  AnalyticsConfigDistinctEnum,
7282
7650
  AnalyticsConfigEntityLabel,
@@ -7588,6 +7956,15 @@ export {
7588
7956
  abilityEntry,
7589
7957
  abilityToInput,
7590
7958
  abilityToInputCascade,
7959
+ agentRunEntry,
7960
+ agentRunToInput,
7961
+ agentRunToInputCascade,
7962
+ agentThreadEntry,
7963
+ agentThreadToInput,
7964
+ agentThreadToInputCascade,
7965
+ agentTimelineItemEntry,
7966
+ agentTimelineItemToInput,
7967
+ agentTimelineItemToInputCascade,
7591
7968
  aggregateEntities,
7592
7969
  analyticsConfigEntry,
7593
7970
  analyticsConfigToInput,