@rxdrag/rxcms-models 0.3.107 → 0.3.108
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/AgentMemoFileQueryOptions.d.ts +3 -0
- package/dist/classes/AgentMemoFolderQueryOptions.d.ts +3 -0
- package/dist/classes/WebsiteQueryOptions.d.ts +10 -0
- package/dist/fields/AgentMemoFileFields.d.ts +2 -1
- package/dist/fields/AgentMemoFolderFields.d.ts +2 -1
- package/dist/fields/WebsiteFields.d.ts +4 -0
- package/dist/index.mjs +185 -129
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/AgentMemoFile.d.ts +2 -0
- package/dist/interfaces/AgentMemoFileBoolExp.d.ts +2 -0
- package/dist/interfaces/AgentMemoFileInput.d.ts +2 -0
- package/dist/interfaces/AgentMemoFolder.d.ts +2 -0
- package/dist/interfaces/AgentMemoFolderBoolExp.d.ts +2 -0
- package/dist/interfaces/AgentMemoFolderInput.d.ts +2 -0
- package/dist/interfaces/Website.d.ts +6 -0
- package/dist/interfaces/WebsiteBoolExp.d.ts +4 -0
- package/dist/interfaces/WebsiteInput.d.ts +4 -0
- package/package.json +1 -1
|
@@ -3,6 +3,8 @@ import { QueryOptions } from "./QueryOptions";
|
|
|
3
3
|
import { AgentMemoFile, AgentMemoFileBoolExp, AgentMemoFileDistinctExp, AgentMemoFileOrderBy } from "../interfaces";
|
|
4
4
|
import { AgentMemoFolderQueryOptions } from './AgentMemoFolderQueryOptions';
|
|
5
5
|
import { AgentMemoFolder } from '../interfaces';
|
|
6
|
+
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
7
|
+
import { Website } from '../interfaces';
|
|
6
8
|
export declare class AgentMemoFileQueryOptions extends QueryOptions<AgentMemoFile, AgentMemoFileBoolExp, AgentMemoFileOrderBy, AgentMemoFileDistinctExp> {
|
|
7
9
|
constructor(fields?: (keyof AgentMemoFile)[], queryArgs?: IQueryArgs<AgentMemoFileBoolExp, AgentMemoFileOrderBy, AgentMemoFileDistinctExp>);
|
|
8
10
|
id(): this;
|
|
@@ -13,4 +15,5 @@ export declare class AgentMemoFileQueryOptions extends QueryOptions<AgentMemoFil
|
|
|
13
15
|
createdAt(): this;
|
|
14
16
|
updatedAt(): this;
|
|
15
17
|
folder(options?: AgentMemoFolderQueryOptions | (keyof AgentMemoFolder)[]): this;
|
|
18
|
+
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
16
19
|
}
|
|
@@ -4,6 +4,8 @@ import { AgentMemoFolder, AgentMemoFolderBoolExp, AgentMemoFolderDistinctExp, Ag
|
|
|
4
4
|
import { AgentMemoFileQueryOptions } from './AgentMemoFileQueryOptions';
|
|
5
5
|
import { AgentMemoFile } from '../interfaces';
|
|
6
6
|
import { AgentMemoFileBoolExp } from '../interfaces';
|
|
7
|
+
import { WebsiteQueryOptions } from './WebsiteQueryOptions';
|
|
8
|
+
import { Website } from '../interfaces';
|
|
7
9
|
export declare class AgentMemoFolderQueryOptions extends QueryOptions<AgentMemoFolder, AgentMemoFolderBoolExp, AgentMemoFolderOrderBy, AgentMemoFolderDistinctExp> {
|
|
8
10
|
constructor(fields?: (keyof AgentMemoFolder)[], queryArgs?: IQueryArgs<AgentMemoFolderBoolExp, AgentMemoFolderOrderBy, AgentMemoFolderDistinctExp>);
|
|
9
11
|
id(): this;
|
|
@@ -15,4 +17,5 @@ export declare class AgentMemoFolderQueryOptions extends QueryOptions<AgentMemoF
|
|
|
15
17
|
children(options?: AgentMemoFolderQueryOptions | (keyof AgentMemoFolder)[]): this;
|
|
16
18
|
childrenAggregate(aggregate: IAggregate<AgentMemoFolderBoolExp>): this;
|
|
17
19
|
parent(options?: AgentMemoFolderQueryOptions | (keyof AgentMemoFolder)[]): this;
|
|
20
|
+
website(options?: WebsiteQueryOptions | (keyof Website)[]): this;
|
|
18
21
|
}
|
|
@@ -72,6 +72,12 @@ import { TempFile } from '../interfaces';
|
|
|
72
72
|
import { TempFileBoolExp } from '../interfaces';
|
|
73
73
|
import { WebsiteProfileQueryOptions } from './WebsiteProfileQueryOptions';
|
|
74
74
|
import { WebsiteProfile } from '../interfaces';
|
|
75
|
+
import { AgentMemoFolderQueryOptions } from './AgentMemoFolderQueryOptions';
|
|
76
|
+
import { AgentMemoFolder } from '../interfaces';
|
|
77
|
+
import { AgentMemoFolderBoolExp } from '../interfaces';
|
|
78
|
+
import { AgentMemoFileQueryOptions } from './AgentMemoFileQueryOptions';
|
|
79
|
+
import { AgentMemoFile } from '../interfaces';
|
|
80
|
+
import { AgentMemoFileBoolExp } from '../interfaces';
|
|
75
81
|
export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp> {
|
|
76
82
|
constructor(fields?: (keyof Website)[], queryArgs?: IQueryArgs<WebsiteBoolExp, WebsiteOrderBy, WebsiteDistinctExp>);
|
|
77
83
|
id(): this;
|
|
@@ -153,5 +159,9 @@ export declare class WebsiteQueryOptions extends QueryOptions<Website, WebsiteBo
|
|
|
153
159
|
tempFiles(options?: TempFileQueryOptions | (keyof TempFile)[]): this;
|
|
154
160
|
tempFilesAggregate(aggregate: IAggregate<TempFileBoolExp>): this;
|
|
155
161
|
profile(options?: WebsiteProfileQueryOptions | (keyof WebsiteProfile)[]): this;
|
|
162
|
+
memoFolders(options?: AgentMemoFolderQueryOptions | (keyof AgentMemoFolder)[]): this;
|
|
163
|
+
memoFoldersAggregate(aggregate: IAggregate<AgentMemoFolderBoolExp>): this;
|
|
164
|
+
memoFiles(options?: AgentMemoFileQueryOptions | (keyof AgentMemoFile)[]): this;
|
|
165
|
+
memoFilesAggregate(aggregate: IAggregate<AgentMemoFileBoolExp>): this;
|
|
156
166
|
mockBranch(options?: ThemeBranchQueryOptions | (keyof ThemeBranch)[]): this;
|
|
157
167
|
}
|
|
@@ -80,5 +80,9 @@ export declare enum WebsiteAssciations {
|
|
|
80
80
|
tempFiles = "tempFiles",
|
|
81
81
|
tempFilesAggregate = "tempFilesAggregate",
|
|
82
82
|
profile = "profile",
|
|
83
|
+
memoFolders = "memoFolders",
|
|
84
|
+
memoFoldersAggregate = "memoFoldersAggregate",
|
|
85
|
+
memoFiles = "memoFiles",
|
|
86
|
+
memoFilesAggregate = "memoFilesAggregate",
|
|
83
87
|
mockBranch = "mockBranch"
|
|
84
88
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -52,7 +52,9 @@ const aggregateEntities = {
|
|
|
52
52
|
svgIconsAggregate: "SvgIcon",
|
|
53
53
|
tagsAggregate: "Tag",
|
|
54
54
|
agentThreadsAggregate: "AgentThread",
|
|
55
|
-
tempFilesAggregate: "TempFile"
|
|
55
|
+
tempFilesAggregate: "TempFile",
|
|
56
|
+
memoFoldersAggregate: "AgentMemoFolder",
|
|
57
|
+
memoFilesAggregate: "AgentMemoFile"
|
|
56
58
|
},
|
|
57
59
|
Lang: {
|
|
58
60
|
webPartsOfMediaFolderAggregate: "MediaFolder",
|
|
@@ -1018,9 +1020,44 @@ const websiteProfileToInput = (entity) => {
|
|
|
1018
1020
|
website: convertHasOneToInput(entity.website)
|
|
1019
1021
|
};
|
|
1020
1022
|
};
|
|
1023
|
+
const agentMemoFileToInputCascade = (entity) => {
|
|
1024
|
+
return {
|
|
1025
|
+
...entity,
|
|
1026
|
+
folder: entity.folder ? processHasOneClear({ sync: agentMemoFolderToInputCascade(entity.folder) }) : void 0,
|
|
1027
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
1028
|
+
};
|
|
1029
|
+
};
|
|
1030
|
+
const agentMemoFileToInput = (entity) => {
|
|
1031
|
+
return {
|
|
1032
|
+
...entity,
|
|
1033
|
+
folder: convertHasOneToInput(entity.folder),
|
|
1034
|
+
website: convertHasOneToInput(entity.website)
|
|
1035
|
+
};
|
|
1036
|
+
};
|
|
1037
|
+
const agentMemoFolderToInputCascade = (entity) => {
|
|
1038
|
+
var _a, _b;
|
|
1039
|
+
const { filesAggregate, childrenAggregate, ...rest } = entity;
|
|
1040
|
+
return {
|
|
1041
|
+
...rest,
|
|
1042
|
+
files: entity.files ? processHasManyClear({ sync: (_a = entity.files) == null ? void 0 : _a.map((ent) => agentMemoFileToInputCascade(ent)) }) : void 0,
|
|
1043
|
+
children: entity.children ? processHasManyClear({ sync: (_b = entity.children) == null ? void 0 : _b.map((ent) => agentMemoFolderToInputCascade(ent)) }) : void 0,
|
|
1044
|
+
parent: entity.parent ? processHasOneClear({ sync: agentMemoFolderToInputCascade(entity.parent) }) : void 0,
|
|
1045
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInputCascade(entity.website) }) : void 0
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
const agentMemoFolderToInput = (entity) => {
|
|
1049
|
+
const { filesAggregate, childrenAggregate, ...rest } = entity;
|
|
1050
|
+
return {
|
|
1051
|
+
...rest,
|
|
1052
|
+
files: convertHasManyToInput(entity.files),
|
|
1053
|
+
children: convertHasManyToInput(entity.children),
|
|
1054
|
+
parent: convertHasOneToInput(entity.parent),
|
|
1055
|
+
website: convertHasOneToInput(entity.website)
|
|
1056
|
+
};
|
|
1057
|
+
};
|
|
1021
1058
|
const websiteToInputCascade = (entity) => {
|
|
1022
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
|
|
1023
|
-
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, tagsAggregate, agentThreadsAggregate, tempFilesAggregate, ...rest } = entity;
|
|
1059
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w;
|
|
1060
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, tagsAggregate, agentThreadsAggregate, tempFilesAggregate, memoFoldersAggregate, memoFilesAggregate, ...rest } = entity;
|
|
1024
1061
|
return {
|
|
1025
1062
|
...rest,
|
|
1026
1063
|
websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInputCascade(entity.websiteType) }) : void 0,
|
|
@@ -1050,11 +1087,13 @@ const websiteToInputCascade = (entity) => {
|
|
|
1050
1087
|
agentThreads: entity.agentThreads ? processHasManyClear({ sync: (_t = entity.agentThreads) == null ? void 0 : _t.map((ent) => agentThreadToInputCascade(ent)) }) : void 0,
|
|
1051
1088
|
tempFiles: entity.tempFiles ? processHasManyClear({ sync: (_u = entity.tempFiles) == null ? void 0 : _u.map((ent) => tempFileToInputCascade(ent)) }) : void 0,
|
|
1052
1089
|
profile: entity.profile ? processHasOneClear({ sync: websiteProfileToInputCascade(entity.profile) }) : void 0,
|
|
1090
|
+
memoFolders: entity.memoFolders ? processHasManyClear({ sync: (_v = entity.memoFolders) == null ? void 0 : _v.map((ent) => agentMemoFolderToInputCascade(ent)) }) : void 0,
|
|
1091
|
+
memoFiles: entity.memoFiles ? processHasManyClear({ sync: (_w = entity.memoFiles) == null ? void 0 : _w.map((ent) => agentMemoFileToInputCascade(ent)) }) : void 0,
|
|
1053
1092
|
mockBranch: entity.mockBranch ? processHasOneClear({ sync: themeBranchToInputCascade(entity.mockBranch) }) : void 0
|
|
1054
1093
|
};
|
|
1055
1094
|
};
|
|
1056
1095
|
const websiteToInput = (entity) => {
|
|
1057
|
-
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, tagsAggregate, agentThreadsAggregate, tempFilesAggregate, ...rest } = entity;
|
|
1096
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, searchIndexesAggregate, bulletinsAggregate, snapshotsAggregate, userOperationsAggregate, svgIconsAggregate, tagsAggregate, agentThreadsAggregate, tempFilesAggregate, memoFoldersAggregate, memoFilesAggregate, ...rest } = entity;
|
|
1058
1097
|
return {
|
|
1059
1098
|
...rest,
|
|
1060
1099
|
websiteType: convertHasOneToInput(entity.websiteType),
|
|
@@ -1084,6 +1123,8 @@ const websiteToInput = (entity) => {
|
|
|
1084
1123
|
agentThreads: convertHasManyToInput(entity.agentThreads),
|
|
1085
1124
|
tempFiles: convertHasManyToInput(entity.tempFiles),
|
|
1086
1125
|
profile: convertHasOneToInput(entity.profile),
|
|
1126
|
+
memoFolders: convertHasManyToInput(entity.memoFolders),
|
|
1127
|
+
memoFiles: convertHasManyToInput(entity.memoFiles),
|
|
1087
1128
|
mockBranch: convertHasOneToInput(entity.mockBranch)
|
|
1088
1129
|
};
|
|
1089
1130
|
};
|
|
@@ -2323,37 +2364,6 @@ var WebsiteProfileDistinctEnum = /* @__PURE__ */ ((WebsiteProfileDistinctEnum2)
|
|
|
2323
2364
|
})(WebsiteProfileDistinctEnum || {});
|
|
2324
2365
|
const AgentMemoFileEntityName = "AgentMemoFile";
|
|
2325
2366
|
const AgentMemoFileEntityLabel = "";
|
|
2326
|
-
const agentMemoFolderToInputCascade = (entity) => {
|
|
2327
|
-
var _a, _b;
|
|
2328
|
-
const { filesAggregate, childrenAggregate, ...rest } = entity;
|
|
2329
|
-
return {
|
|
2330
|
-
...rest,
|
|
2331
|
-
files: entity.files ? processHasManyClear({ sync: (_a = entity.files) == null ? void 0 : _a.map((ent) => agentMemoFileToInputCascade(ent)) }) : void 0,
|
|
2332
|
-
children: entity.children ? processHasManyClear({ sync: (_b = entity.children) == null ? void 0 : _b.map((ent) => agentMemoFolderToInputCascade(ent)) }) : void 0,
|
|
2333
|
-
parent: entity.parent ? processHasOneClear({ sync: agentMemoFolderToInputCascade(entity.parent) }) : void 0
|
|
2334
|
-
};
|
|
2335
|
-
};
|
|
2336
|
-
const agentMemoFolderToInput = (entity) => {
|
|
2337
|
-
const { filesAggregate, childrenAggregate, ...rest } = entity;
|
|
2338
|
-
return {
|
|
2339
|
-
...rest,
|
|
2340
|
-
files: convertHasManyToInput(entity.files),
|
|
2341
|
-
children: convertHasManyToInput(entity.children),
|
|
2342
|
-
parent: convertHasOneToInput(entity.parent)
|
|
2343
|
-
};
|
|
2344
|
-
};
|
|
2345
|
-
const agentMemoFileToInputCascade = (entity) => {
|
|
2346
|
-
return {
|
|
2347
|
-
...entity,
|
|
2348
|
-
folder: entity.folder ? processHasOneClear({ sync: agentMemoFolderToInputCascade(entity.folder) }) : void 0
|
|
2349
|
-
};
|
|
2350
|
-
};
|
|
2351
|
-
const agentMemoFileToInput = (entity) => {
|
|
2352
|
-
return {
|
|
2353
|
-
...entity,
|
|
2354
|
-
folder: convertHasOneToInput(entity.folder)
|
|
2355
|
-
};
|
|
2356
|
-
};
|
|
2357
2367
|
var AgentMemoFileDistinctEnum = /* @__PURE__ */ ((AgentMemoFileDistinctEnum2) => {
|
|
2358
2368
|
AgentMemoFileDistinctEnum2["id"] = "id";
|
|
2359
2369
|
AgentMemoFileDistinctEnum2["name"] = "name";
|
|
@@ -5036,6 +5046,116 @@ class WebsiteProfileQueryOptions extends QueryOptions {
|
|
|
5036
5046
|
return this;
|
|
5037
5047
|
}
|
|
5038
5048
|
}
|
|
5049
|
+
class AgentMemoFileQueryOptions extends QueryOptions {
|
|
5050
|
+
constructor(fields, queryArgs) {
|
|
5051
|
+
super(AgentMemoFileEntityName, fields, queryArgs);
|
|
5052
|
+
}
|
|
5053
|
+
id() {
|
|
5054
|
+
this.addField("id");
|
|
5055
|
+
return this;
|
|
5056
|
+
}
|
|
5057
|
+
name() {
|
|
5058
|
+
this.addField("name");
|
|
5059
|
+
return this;
|
|
5060
|
+
}
|
|
5061
|
+
content() {
|
|
5062
|
+
this.addField("content");
|
|
5063
|
+
return this;
|
|
5064
|
+
}
|
|
5065
|
+
mimeType() {
|
|
5066
|
+
this.addField("mimeType");
|
|
5067
|
+
return this;
|
|
5068
|
+
}
|
|
5069
|
+
extName() {
|
|
5070
|
+
this.addField("extName");
|
|
5071
|
+
return this;
|
|
5072
|
+
}
|
|
5073
|
+
createdAt() {
|
|
5074
|
+
this.addField("createdAt");
|
|
5075
|
+
return this;
|
|
5076
|
+
}
|
|
5077
|
+
updatedAt() {
|
|
5078
|
+
this.addField("updatedAt");
|
|
5079
|
+
return this;
|
|
5080
|
+
}
|
|
5081
|
+
folder(options) {
|
|
5082
|
+
if (Array.isArray(options)) {
|
|
5083
|
+
this._associations["folder"] = new AgentMemoFolderQueryOptions(options);
|
|
5084
|
+
} else {
|
|
5085
|
+
this._associations["folder"] = options || new AgentMemoFolderQueryOptions(["id"]);
|
|
5086
|
+
}
|
|
5087
|
+
return this;
|
|
5088
|
+
}
|
|
5089
|
+
website(options) {
|
|
5090
|
+
if (Array.isArray(options)) {
|
|
5091
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
5092
|
+
} else {
|
|
5093
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
5094
|
+
}
|
|
5095
|
+
return this;
|
|
5096
|
+
}
|
|
5097
|
+
}
|
|
5098
|
+
class AgentMemoFolderQueryOptions extends QueryOptions {
|
|
5099
|
+
constructor(fields, queryArgs) {
|
|
5100
|
+
super(AgentMemoFolderEntityName, fields, queryArgs);
|
|
5101
|
+
}
|
|
5102
|
+
id() {
|
|
5103
|
+
this.addField("id");
|
|
5104
|
+
return this;
|
|
5105
|
+
}
|
|
5106
|
+
name() {
|
|
5107
|
+
this.addField("name");
|
|
5108
|
+
return this;
|
|
5109
|
+
}
|
|
5110
|
+
createdAt() {
|
|
5111
|
+
this.addField("createdAt");
|
|
5112
|
+
return this;
|
|
5113
|
+
}
|
|
5114
|
+
updatedAt() {
|
|
5115
|
+
this.addField("updatedAt");
|
|
5116
|
+
return this;
|
|
5117
|
+
}
|
|
5118
|
+
files(options) {
|
|
5119
|
+
if (Array.isArray(options)) {
|
|
5120
|
+
this._associations["files"] = new AgentMemoFileQueryOptions(options);
|
|
5121
|
+
} else {
|
|
5122
|
+
this._associations["files"] = options || new AgentMemoFileQueryOptions(["id"]);
|
|
5123
|
+
}
|
|
5124
|
+
return this;
|
|
5125
|
+
}
|
|
5126
|
+
filesAggregate(aggregate) {
|
|
5127
|
+
this._aggregates["filesAggregate"] = aggregate;
|
|
5128
|
+
return this;
|
|
5129
|
+
}
|
|
5130
|
+
children(options) {
|
|
5131
|
+
if (Array.isArray(options)) {
|
|
5132
|
+
this._associations["children"] = new AgentMemoFolderQueryOptions(options);
|
|
5133
|
+
} else {
|
|
5134
|
+
this._associations["children"] = options || new AgentMemoFolderQueryOptions(["id"]);
|
|
5135
|
+
}
|
|
5136
|
+
return this;
|
|
5137
|
+
}
|
|
5138
|
+
childrenAggregate(aggregate) {
|
|
5139
|
+
this._aggregates["childrenAggregate"] = aggregate;
|
|
5140
|
+
return this;
|
|
5141
|
+
}
|
|
5142
|
+
parent(options) {
|
|
5143
|
+
if (Array.isArray(options)) {
|
|
5144
|
+
this._associations["parent"] = new AgentMemoFolderQueryOptions(options);
|
|
5145
|
+
} else {
|
|
5146
|
+
this._associations["parent"] = options || new AgentMemoFolderQueryOptions(["id"]);
|
|
5147
|
+
}
|
|
5148
|
+
return this;
|
|
5149
|
+
}
|
|
5150
|
+
website(options) {
|
|
5151
|
+
if (Array.isArray(options)) {
|
|
5152
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
5153
|
+
} else {
|
|
5154
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
5155
|
+
}
|
|
5156
|
+
return this;
|
|
5157
|
+
}
|
|
5158
|
+
}
|
|
5039
5159
|
class WebsiteQueryOptions extends QueryOptions {
|
|
5040
5160
|
constructor(fields, queryArgs) {
|
|
5041
5161
|
super(WebsiteEntityName, fields, queryArgs);
|
|
@@ -5401,6 +5521,30 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
5401
5521
|
}
|
|
5402
5522
|
return this;
|
|
5403
5523
|
}
|
|
5524
|
+
memoFolders(options) {
|
|
5525
|
+
if (Array.isArray(options)) {
|
|
5526
|
+
this._associations["memoFolders"] = new AgentMemoFolderQueryOptions(options);
|
|
5527
|
+
} else {
|
|
5528
|
+
this._associations["memoFolders"] = options || new AgentMemoFolderQueryOptions(["id"]);
|
|
5529
|
+
}
|
|
5530
|
+
return this;
|
|
5531
|
+
}
|
|
5532
|
+
memoFoldersAggregate(aggregate) {
|
|
5533
|
+
this._aggregates["memoFoldersAggregate"] = aggregate;
|
|
5534
|
+
return this;
|
|
5535
|
+
}
|
|
5536
|
+
memoFiles(options) {
|
|
5537
|
+
if (Array.isArray(options)) {
|
|
5538
|
+
this._associations["memoFiles"] = new AgentMemoFileQueryOptions(options);
|
|
5539
|
+
} else {
|
|
5540
|
+
this._associations["memoFiles"] = options || new AgentMemoFileQueryOptions(["id"]);
|
|
5541
|
+
}
|
|
5542
|
+
return this;
|
|
5543
|
+
}
|
|
5544
|
+
memoFilesAggregate(aggregate) {
|
|
5545
|
+
this._aggregates["memoFilesAggregate"] = aggregate;
|
|
5546
|
+
return this;
|
|
5547
|
+
}
|
|
5404
5548
|
mockBranch(options) {
|
|
5405
5549
|
if (Array.isArray(options)) {
|
|
5406
5550
|
this._associations["mockBranch"] = new ThemeBranchQueryOptions(options);
|
|
@@ -6737,100 +6881,6 @@ class VisitorLogQueryOptions extends QueryOptions {
|
|
|
6737
6881
|
return this;
|
|
6738
6882
|
}
|
|
6739
6883
|
}
|
|
6740
|
-
class AgentMemoFolderQueryOptions extends QueryOptions {
|
|
6741
|
-
constructor(fields, queryArgs) {
|
|
6742
|
-
super(AgentMemoFolderEntityName, fields, queryArgs);
|
|
6743
|
-
}
|
|
6744
|
-
id() {
|
|
6745
|
-
this.addField("id");
|
|
6746
|
-
return this;
|
|
6747
|
-
}
|
|
6748
|
-
name() {
|
|
6749
|
-
this.addField("name");
|
|
6750
|
-
return this;
|
|
6751
|
-
}
|
|
6752
|
-
createdAt() {
|
|
6753
|
-
this.addField("createdAt");
|
|
6754
|
-
return this;
|
|
6755
|
-
}
|
|
6756
|
-
updatedAt() {
|
|
6757
|
-
this.addField("updatedAt");
|
|
6758
|
-
return this;
|
|
6759
|
-
}
|
|
6760
|
-
files(options) {
|
|
6761
|
-
if (Array.isArray(options)) {
|
|
6762
|
-
this._associations["files"] = new AgentMemoFileQueryOptions(options);
|
|
6763
|
-
} else {
|
|
6764
|
-
this._associations["files"] = options || new AgentMemoFileQueryOptions(["id"]);
|
|
6765
|
-
}
|
|
6766
|
-
return this;
|
|
6767
|
-
}
|
|
6768
|
-
filesAggregate(aggregate) {
|
|
6769
|
-
this._aggregates["filesAggregate"] = aggregate;
|
|
6770
|
-
return this;
|
|
6771
|
-
}
|
|
6772
|
-
children(options) {
|
|
6773
|
-
if (Array.isArray(options)) {
|
|
6774
|
-
this._associations["children"] = new AgentMemoFolderQueryOptions(options);
|
|
6775
|
-
} else {
|
|
6776
|
-
this._associations["children"] = options || new AgentMemoFolderQueryOptions(["id"]);
|
|
6777
|
-
}
|
|
6778
|
-
return this;
|
|
6779
|
-
}
|
|
6780
|
-
childrenAggregate(aggregate) {
|
|
6781
|
-
this._aggregates["childrenAggregate"] = aggregate;
|
|
6782
|
-
return this;
|
|
6783
|
-
}
|
|
6784
|
-
parent(options) {
|
|
6785
|
-
if (Array.isArray(options)) {
|
|
6786
|
-
this._associations["parent"] = new AgentMemoFolderQueryOptions(options);
|
|
6787
|
-
} else {
|
|
6788
|
-
this._associations["parent"] = options || new AgentMemoFolderQueryOptions(["id"]);
|
|
6789
|
-
}
|
|
6790
|
-
return this;
|
|
6791
|
-
}
|
|
6792
|
-
}
|
|
6793
|
-
class AgentMemoFileQueryOptions extends QueryOptions {
|
|
6794
|
-
constructor(fields, queryArgs) {
|
|
6795
|
-
super(AgentMemoFileEntityName, fields, queryArgs);
|
|
6796
|
-
}
|
|
6797
|
-
id() {
|
|
6798
|
-
this.addField("id");
|
|
6799
|
-
return this;
|
|
6800
|
-
}
|
|
6801
|
-
name() {
|
|
6802
|
-
this.addField("name");
|
|
6803
|
-
return this;
|
|
6804
|
-
}
|
|
6805
|
-
content() {
|
|
6806
|
-
this.addField("content");
|
|
6807
|
-
return this;
|
|
6808
|
-
}
|
|
6809
|
-
mimeType() {
|
|
6810
|
-
this.addField("mimeType");
|
|
6811
|
-
return this;
|
|
6812
|
-
}
|
|
6813
|
-
extName() {
|
|
6814
|
-
this.addField("extName");
|
|
6815
|
-
return this;
|
|
6816
|
-
}
|
|
6817
|
-
createdAt() {
|
|
6818
|
-
this.addField("createdAt");
|
|
6819
|
-
return this;
|
|
6820
|
-
}
|
|
6821
|
-
updatedAt() {
|
|
6822
|
-
this.addField("updatedAt");
|
|
6823
|
-
return this;
|
|
6824
|
-
}
|
|
6825
|
-
folder(options) {
|
|
6826
|
-
if (Array.isArray(options)) {
|
|
6827
|
-
this._associations["folder"] = new AgentMemoFolderQueryOptions(options);
|
|
6828
|
-
} else {
|
|
6829
|
-
this._associations["folder"] = options || new AgentMemoFolderQueryOptions(["id"]);
|
|
6830
|
-
}
|
|
6831
|
-
return this;
|
|
6832
|
-
}
|
|
6833
|
-
}
|
|
6834
6884
|
const userEntry = {
|
|
6835
6885
|
entityName: UserEntityName,
|
|
6836
6886
|
entityLabel: UserEntityLabel,
|
|
@@ -7335,6 +7385,10 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
7335
7385
|
WebsiteAssciations2["tempFiles"] = "tempFiles";
|
|
7336
7386
|
WebsiteAssciations2["tempFilesAggregate"] = "tempFilesAggregate";
|
|
7337
7387
|
WebsiteAssciations2["profile"] = "profile";
|
|
7388
|
+
WebsiteAssciations2["memoFolders"] = "memoFolders";
|
|
7389
|
+
WebsiteAssciations2["memoFoldersAggregate"] = "memoFoldersAggregate";
|
|
7390
|
+
WebsiteAssciations2["memoFiles"] = "memoFiles";
|
|
7391
|
+
WebsiteAssciations2["memoFilesAggregate"] = "memoFilesAggregate";
|
|
7338
7392
|
WebsiteAssciations2["mockBranch"] = "mockBranch";
|
|
7339
7393
|
return WebsiteAssciations2;
|
|
7340
7394
|
})(WebsiteAssciations || {});
|
|
@@ -8236,6 +8290,7 @@ var AgentMemoFileFields = /* @__PURE__ */ ((AgentMemoFileFields2) => {
|
|
|
8236
8290
|
})(AgentMemoFileFields || {});
|
|
8237
8291
|
var AgentMemoFileAssciations = /* @__PURE__ */ ((AgentMemoFileAssciations2) => {
|
|
8238
8292
|
AgentMemoFileAssciations2["folder"] = "folder";
|
|
8293
|
+
AgentMemoFileAssciations2["website"] = "website";
|
|
8239
8294
|
return AgentMemoFileAssciations2;
|
|
8240
8295
|
})(AgentMemoFileAssciations || {});
|
|
8241
8296
|
var AgentMemoFolderFields = /* @__PURE__ */ ((AgentMemoFolderFields2) => {
|
|
@@ -8251,6 +8306,7 @@ var AgentMemoFolderAssciations = /* @__PURE__ */ ((AgentMemoFolderAssciations2)
|
|
|
8251
8306
|
AgentMemoFolderAssciations2["children"] = "children";
|
|
8252
8307
|
AgentMemoFolderAssciations2["childrenAggregate"] = "childrenAggregate";
|
|
8253
8308
|
AgentMemoFolderAssciations2["parent"] = "parent";
|
|
8309
|
+
AgentMemoFolderAssciations2["website"] = "website";
|
|
8254
8310
|
return AgentMemoFolderAssciations2;
|
|
8255
8311
|
})(AgentMemoFolderAssciations || {});
|
|
8256
8312
|
export {
|