@memberjunction/server 2.0.0 → 2.1.2
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/CHANGELOG.json +270 -0
- package/CHANGELOG.md +57 -1
- package/package.json +22 -22
- package/src/entitySubclasses/userViewEntity.server.ts +1 -1
- package/src/generated/generated.ts +115 -10
- package/src/generic/ResolverBase.ts +4 -2
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,276 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/server",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"date": "Mon, 29 Jul 2024 22:49:15 GMT",
|
|
6
|
+
"version": "2.1.2",
|
|
7
|
+
"tag": "@memberjunction/server_v2.1.2",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "155523863+JS-BC@users.noreply.github.com",
|
|
12
|
+
"package": "@memberjunction/server",
|
|
13
|
+
"commit": "80e23199b8c28f8e8c45e72d404a4a5bb49a208a",
|
|
14
|
+
"comment": "Applying package updates [skip ci]"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "155523863+JS-BC@users.noreply.github.com",
|
|
18
|
+
"package": "@memberjunction/server",
|
|
19
|
+
"commit": "229fa60c81bd2e86da7b4e06f96c38a27cce5264",
|
|
20
|
+
"comment": "Applying package updates [skip ci]"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@memberjunction/server",
|
|
25
|
+
"comment": "Bump @memberjunction/actions to v2.1.2",
|
|
26
|
+
"commit": "not available"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@memberjunction/server",
|
|
31
|
+
"comment": "Bump @memberjunction/ai to v2.1.2",
|
|
32
|
+
"commit": "not available"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@memberjunction/server",
|
|
37
|
+
"comment": "Bump @memberjunction/ai-mistral to v2.1.2",
|
|
38
|
+
"commit": "not available"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@memberjunction/server",
|
|
43
|
+
"comment": "Bump @memberjunction/ai-openai to v2.1.2",
|
|
44
|
+
"commit": "not available"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@memberjunction/server",
|
|
49
|
+
"comment": "Bump @memberjunction/ai-vectors-pinecone to v2.1.2",
|
|
50
|
+
"commit": "not available"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"author": "beachball",
|
|
54
|
+
"package": "@memberjunction/server",
|
|
55
|
+
"comment": "Bump @memberjunction/aiengine to v2.1.2",
|
|
56
|
+
"commit": "not available"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "beachball",
|
|
60
|
+
"package": "@memberjunction/server",
|
|
61
|
+
"comment": "Bump @memberjunction/core to v2.1.2",
|
|
62
|
+
"commit": "not available"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"author": "beachball",
|
|
66
|
+
"package": "@memberjunction/server",
|
|
67
|
+
"comment": "Bump @memberjunction/core-actions to v2.1.2",
|
|
68
|
+
"commit": "not available"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"author": "beachball",
|
|
72
|
+
"package": "@memberjunction/server",
|
|
73
|
+
"comment": "Bump @memberjunction/core-entities to v2.1.2",
|
|
74
|
+
"commit": "not available"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"author": "beachball",
|
|
78
|
+
"package": "@memberjunction/server",
|
|
79
|
+
"comment": "Bump @memberjunction/data-context to v2.1.2",
|
|
80
|
+
"commit": "not available"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"author": "beachball",
|
|
84
|
+
"package": "@memberjunction/server",
|
|
85
|
+
"comment": "Bump @memberjunction/data-context-server to v2.1.2",
|
|
86
|
+
"commit": "not available"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"author": "beachball",
|
|
90
|
+
"package": "@memberjunction/server",
|
|
91
|
+
"comment": "Bump @memberjunction/doc-utils to v2.1.2",
|
|
92
|
+
"commit": "not available"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"author": "beachball",
|
|
96
|
+
"package": "@memberjunction/server",
|
|
97
|
+
"comment": "Bump @memberjunction/entity-communications-server to v2.1.2",
|
|
98
|
+
"commit": "not available"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"author": "beachball",
|
|
102
|
+
"package": "@memberjunction/server",
|
|
103
|
+
"comment": "Bump @memberjunction/external-change-detection to v2.1.2",
|
|
104
|
+
"commit": "not available"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"author": "beachball",
|
|
108
|
+
"package": "@memberjunction/server",
|
|
109
|
+
"comment": "Bump @memberjunction/global to v2.1.2",
|
|
110
|
+
"commit": "not available"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"author": "beachball",
|
|
114
|
+
"package": "@memberjunction/server",
|
|
115
|
+
"comment": "Bump @memberjunction/queue to v2.1.2",
|
|
116
|
+
"commit": "not available"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"author": "beachball",
|
|
120
|
+
"package": "@memberjunction/server",
|
|
121
|
+
"comment": "Bump @memberjunction/skip-types to v2.1.2",
|
|
122
|
+
"commit": "not available"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"author": "beachball",
|
|
126
|
+
"package": "@memberjunction/server",
|
|
127
|
+
"comment": "Bump @memberjunction/sqlserver-dataprovider to v2.1.2",
|
|
128
|
+
"commit": "not available"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"author": "beachball",
|
|
132
|
+
"package": "@memberjunction/server",
|
|
133
|
+
"comment": "Bump @memberjunction/storage to v2.1.2",
|
|
134
|
+
"commit": "not available"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"author": "beachball",
|
|
138
|
+
"package": "@memberjunction/server",
|
|
139
|
+
"comment": "Bump @memberjunction/templates to v2.1.2",
|
|
140
|
+
"commit": "not available"
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"date": "Fri, 26 Jul 2024 17:54:29 GMT",
|
|
147
|
+
"version": "2.1.1",
|
|
148
|
+
"tag": "@memberjunction/server_v2.1.1",
|
|
149
|
+
"comments": {
|
|
150
|
+
"patch": [
|
|
151
|
+
{
|
|
152
|
+
"author": "beachball",
|
|
153
|
+
"package": "@memberjunction/server",
|
|
154
|
+
"comment": "Bump @memberjunction/actions to v2.1.1",
|
|
155
|
+
"commit": "not available"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"author": "beachball",
|
|
159
|
+
"package": "@memberjunction/server",
|
|
160
|
+
"comment": "Bump @memberjunction/ai to v2.1.1",
|
|
161
|
+
"commit": "not available"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"author": "beachball",
|
|
165
|
+
"package": "@memberjunction/server",
|
|
166
|
+
"comment": "Bump @memberjunction/ai-mistral to v2.1.1",
|
|
167
|
+
"commit": "not available"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"author": "beachball",
|
|
171
|
+
"package": "@memberjunction/server",
|
|
172
|
+
"comment": "Bump @memberjunction/ai-openai to v2.1.1",
|
|
173
|
+
"commit": "not available"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"author": "beachball",
|
|
177
|
+
"package": "@memberjunction/server",
|
|
178
|
+
"comment": "Bump @memberjunction/ai-vectors-pinecone to v2.1.1",
|
|
179
|
+
"commit": "not available"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"author": "beachball",
|
|
183
|
+
"package": "@memberjunction/server",
|
|
184
|
+
"comment": "Bump @memberjunction/aiengine to v2.1.1",
|
|
185
|
+
"commit": "not available"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"author": "beachball",
|
|
189
|
+
"package": "@memberjunction/server",
|
|
190
|
+
"comment": "Bump @memberjunction/core to v2.1.1",
|
|
191
|
+
"commit": "not available"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"author": "beachball",
|
|
195
|
+
"package": "@memberjunction/server",
|
|
196
|
+
"comment": "Bump @memberjunction/core-actions to v2.1.1",
|
|
197
|
+
"commit": "not available"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"author": "beachball",
|
|
201
|
+
"package": "@memberjunction/server",
|
|
202
|
+
"comment": "Bump @memberjunction/core-entities to v2.1.1",
|
|
203
|
+
"commit": "not available"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"author": "beachball",
|
|
207
|
+
"package": "@memberjunction/server",
|
|
208
|
+
"comment": "Bump @memberjunction/data-context to v2.1.1",
|
|
209
|
+
"commit": "not available"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"author": "beachball",
|
|
213
|
+
"package": "@memberjunction/server",
|
|
214
|
+
"comment": "Bump @memberjunction/data-context-server to v2.1.1",
|
|
215
|
+
"commit": "not available"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"author": "beachball",
|
|
219
|
+
"package": "@memberjunction/server",
|
|
220
|
+
"comment": "Bump @memberjunction/doc-utils to v2.1.1",
|
|
221
|
+
"commit": "not available"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"author": "beachball",
|
|
225
|
+
"package": "@memberjunction/server",
|
|
226
|
+
"comment": "Bump @memberjunction/entity-communications-server to v2.1.1",
|
|
227
|
+
"commit": "not available"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"author": "beachball",
|
|
231
|
+
"package": "@memberjunction/server",
|
|
232
|
+
"comment": "Bump @memberjunction/external-change-detection to v2.1.1",
|
|
233
|
+
"commit": "not available"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"author": "beachball",
|
|
237
|
+
"package": "@memberjunction/server",
|
|
238
|
+
"comment": "Bump @memberjunction/global to v2.1.1",
|
|
239
|
+
"commit": "not available"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"author": "beachball",
|
|
243
|
+
"package": "@memberjunction/server",
|
|
244
|
+
"comment": "Bump @memberjunction/queue to v2.1.1",
|
|
245
|
+
"commit": "not available"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"author": "beachball",
|
|
249
|
+
"package": "@memberjunction/server",
|
|
250
|
+
"comment": "Bump @memberjunction/skip-types to v2.1.1",
|
|
251
|
+
"commit": "not available"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"author": "beachball",
|
|
255
|
+
"package": "@memberjunction/server",
|
|
256
|
+
"comment": "Bump @memberjunction/sqlserver-dataprovider to v2.1.1",
|
|
257
|
+
"commit": "not available"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"author": "beachball",
|
|
261
|
+
"package": "@memberjunction/server",
|
|
262
|
+
"comment": "Bump @memberjunction/storage to v2.1.1",
|
|
263
|
+
"commit": "not available"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"author": "beachball",
|
|
267
|
+
"package": "@memberjunction/server",
|
|
268
|
+
"comment": "Bump @memberjunction/templates to v2.1.1",
|
|
269
|
+
"commit": "not available"
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
}
|
|
273
|
+
},
|
|
4
274
|
{
|
|
5
275
|
"date": "Fri, 21 Jun 2024 13:15:28 GMT",
|
|
6
276
|
"version": "1.8.1",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,65 @@
|
|
|
1
1
|
# Change Log - @memberjunction/server
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 29 Jul 2024 22:49:15 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 2.1.2
|
|
8
|
+
|
|
9
|
+
Mon, 29 Jul 2024 22:49:15 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Applying package updates [skip ci] (155523863+JS-BC@users.noreply.github.com)
|
|
14
|
+
- Applying package updates [skip ci] (155523863+JS-BC@users.noreply.github.com)
|
|
15
|
+
- Bump @memberjunction/actions to v2.1.2
|
|
16
|
+
- Bump @memberjunction/ai to v2.1.2
|
|
17
|
+
- Bump @memberjunction/ai-mistral to v2.1.2
|
|
18
|
+
- Bump @memberjunction/ai-openai to v2.1.2
|
|
19
|
+
- Bump @memberjunction/ai-vectors-pinecone to v2.1.2
|
|
20
|
+
- Bump @memberjunction/aiengine to v2.1.2
|
|
21
|
+
- Bump @memberjunction/core to v2.1.2
|
|
22
|
+
- Bump @memberjunction/core-actions to v2.1.2
|
|
23
|
+
- Bump @memberjunction/core-entities to v2.1.2
|
|
24
|
+
- Bump @memberjunction/data-context to v2.1.2
|
|
25
|
+
- Bump @memberjunction/data-context-server to v2.1.2
|
|
26
|
+
- Bump @memberjunction/doc-utils to v2.1.2
|
|
27
|
+
- Bump @memberjunction/entity-communications-server to v2.1.2
|
|
28
|
+
- Bump @memberjunction/external-change-detection to v2.1.2
|
|
29
|
+
- Bump @memberjunction/global to v2.1.2
|
|
30
|
+
- Bump @memberjunction/queue to v2.1.2
|
|
31
|
+
- Bump @memberjunction/skip-types to v2.1.2
|
|
32
|
+
- Bump @memberjunction/sqlserver-dataprovider to v2.1.2
|
|
33
|
+
- Bump @memberjunction/storage to v2.1.2
|
|
34
|
+
- Bump @memberjunction/templates to v2.1.2
|
|
35
|
+
|
|
36
|
+
## 2.1.1
|
|
37
|
+
|
|
38
|
+
Fri, 26 Jul 2024 17:54:29 GMT
|
|
39
|
+
|
|
40
|
+
### Patches
|
|
41
|
+
|
|
42
|
+
- Bump @memberjunction/actions to v2.1.1
|
|
43
|
+
- Bump @memberjunction/ai to v2.1.1
|
|
44
|
+
- Bump @memberjunction/ai-mistral to v2.1.1
|
|
45
|
+
- Bump @memberjunction/ai-openai to v2.1.1
|
|
46
|
+
- Bump @memberjunction/ai-vectors-pinecone to v2.1.1
|
|
47
|
+
- Bump @memberjunction/aiengine to v2.1.1
|
|
48
|
+
- Bump @memberjunction/core to v2.1.1
|
|
49
|
+
- Bump @memberjunction/core-actions to v2.1.1
|
|
50
|
+
- Bump @memberjunction/core-entities to v2.1.1
|
|
51
|
+
- Bump @memberjunction/data-context to v2.1.1
|
|
52
|
+
- Bump @memberjunction/data-context-server to v2.1.1
|
|
53
|
+
- Bump @memberjunction/doc-utils to v2.1.1
|
|
54
|
+
- Bump @memberjunction/entity-communications-server to v2.1.1
|
|
55
|
+
- Bump @memberjunction/external-change-detection to v2.1.1
|
|
56
|
+
- Bump @memberjunction/global to v2.1.1
|
|
57
|
+
- Bump @memberjunction/queue to v2.1.1
|
|
58
|
+
- Bump @memberjunction/skip-types to v2.1.1
|
|
59
|
+
- Bump @memberjunction/sqlserver-dataprovider to v2.1.1
|
|
60
|
+
- Bump @memberjunction/storage to v2.1.1
|
|
61
|
+
- Bump @memberjunction/templates to v2.1.1
|
|
62
|
+
|
|
7
63
|
## 1.8.1
|
|
8
64
|
|
|
9
65
|
Fri, 21 Jun 2024 13:15:28 GMT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "MemberJunction: This project provides API access via GraphQL to the common data store.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -15,26 +15,26 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@apollo/server": "^4.9.1",
|
|
17
17
|
"@graphql-tools/utils": "^10.0.1",
|
|
18
|
-
"@memberjunction/actions": "2.
|
|
19
|
-
"@memberjunction/ai": "2.
|
|
20
|
-
"@memberjunction/ai-mistral": "2.
|
|
21
|
-
"@memberjunction/ai-openai": "2.
|
|
22
|
-
"@memberjunction/ai-vectors-pinecone": "2.
|
|
23
|
-
"@memberjunction/aiengine": "2.
|
|
24
|
-
"@memberjunction/core": "2.
|
|
25
|
-
"@memberjunction/core-actions": "2.
|
|
26
|
-
"@memberjunction/core-entities": "2.
|
|
27
|
-
"@memberjunction/data-context": "2.
|
|
28
|
-
"@memberjunction/data-context-server": "2.
|
|
29
|
-
"@memberjunction/doc-utils": "2.
|
|
30
|
-
"@memberjunction/entity-communications-server": "2.
|
|
31
|
-
"@memberjunction/external-change-detection": "2.
|
|
32
|
-
"@memberjunction/global": "2.
|
|
33
|
-
"@memberjunction/queue": "2.
|
|
34
|
-
"@memberjunction/skip-types": "2.
|
|
35
|
-
"@memberjunction/sqlserver-dataprovider": "2.
|
|
36
|
-
"@memberjunction/storage": "2.
|
|
37
|
-
"@memberjunction/templates": "2.
|
|
18
|
+
"@memberjunction/actions": "2.1.2",
|
|
19
|
+
"@memberjunction/ai": "2.1.2",
|
|
20
|
+
"@memberjunction/ai-mistral": "2.1.2",
|
|
21
|
+
"@memberjunction/ai-openai": "2.1.2",
|
|
22
|
+
"@memberjunction/ai-vectors-pinecone": "2.1.2",
|
|
23
|
+
"@memberjunction/aiengine": "2.1.2",
|
|
24
|
+
"@memberjunction/core": "2.1.2",
|
|
25
|
+
"@memberjunction/core-actions": "2.1.2",
|
|
26
|
+
"@memberjunction/core-entities": "2.1.2",
|
|
27
|
+
"@memberjunction/data-context": "2.1.2",
|
|
28
|
+
"@memberjunction/data-context-server": "2.1.2",
|
|
29
|
+
"@memberjunction/doc-utils": "2.1.2",
|
|
30
|
+
"@memberjunction/entity-communications-server": "2.1.2",
|
|
31
|
+
"@memberjunction/external-change-detection": "2.1.2",
|
|
32
|
+
"@memberjunction/global": "2.1.2",
|
|
33
|
+
"@memberjunction/queue": "2.1.2",
|
|
34
|
+
"@memberjunction/skip-types": "2.1.2",
|
|
35
|
+
"@memberjunction/sqlserver-dataprovider": "2.1.2",
|
|
36
|
+
"@memberjunction/storage": "2.1.2",
|
|
37
|
+
"@memberjunction/templates": "2.1.2",
|
|
38
38
|
"@types/cors": "^2.8.13",
|
|
39
39
|
"@types/jsonwebtoken": "9.0.6",
|
|
40
40
|
"@types/node": "20.14.2",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"jsonwebtoken": "9.0.2",
|
|
56
56
|
"jwks-rsa": "^3.0.0",
|
|
57
57
|
"lru-cache": "^10.0.0",
|
|
58
|
-
"mssql": "^
|
|
58
|
+
"mssql": "^11.0.1",
|
|
59
59
|
"reflect-metadata": "0.2.2",
|
|
60
60
|
"rxjs": "^7.8.1",
|
|
61
61
|
"type-graphql": "2.0.0-beta.3",
|
|
@@ -29,7 +29,7 @@ export class UserViewEntity_Server extends UserViewEntityExtended {
|
|
|
29
29
|
*/
|
|
30
30
|
protected async GetAIModel(): Promise<AIModelEntityExtended> {
|
|
31
31
|
await AIEngine.Instance.Config(false, this.ContextCurrentUser); // most of the time this is already loaded, but just in case it isn't we will load it here
|
|
32
|
-
const models = AIEngine.Models.filter(m => m.AIModelType.trim().toLowerCase() === 'llm' &&
|
|
32
|
+
const models = AIEngine.Instance.Models.filter(m => m.AIModelType.trim().toLowerCase() === 'llm' &&
|
|
33
33
|
m.Vendor.trim().toLowerCase() === this.AIVendorName.trim().toLowerCase())
|
|
34
34
|
// next, sort the models by the PowerRank field so that the highest power rank model is the first array element
|
|
35
35
|
models.sort((a, b) => b.PowerRank - a.PowerRank); // highest power rank first
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* ALL ENTITIES - TypeGraphQL Type Class Definition - AUTO GENERATED FILE
|
|
3
3
|
* Generated Entities and Resolvers for Server
|
|
4
4
|
*
|
|
5
|
-
* GENERATED: 7/
|
|
5
|
+
* GENERATED: 7/29/2024, 11:38:33 AM
|
|
6
6
|
*
|
|
7
7
|
* >>> DO NOT MODIFY THIS FILE!!!!!!!!!!!!
|
|
8
8
|
* >>> YOUR CHANGES WILL BE OVERWRITTEN
|
|
@@ -89,6 +89,14 @@ export class ScheduledAction_ {
|
|
|
89
89
|
@MaxLength(10)
|
|
90
90
|
_mj__UpdatedAt: Date;
|
|
91
91
|
|
|
92
|
+
@Field()
|
|
93
|
+
@MaxLength(200)
|
|
94
|
+
CreatedByUser: string;
|
|
95
|
+
|
|
96
|
+
@Field()
|
|
97
|
+
@MaxLength(850)
|
|
98
|
+
Action: string;
|
|
99
|
+
|
|
92
100
|
@Field(() => [ScheduledActionParam_])
|
|
93
101
|
ScheduledActionParamsArray: ScheduledActionParam_[]; // Link to ScheduledActionParams
|
|
94
102
|
|
|
@@ -312,6 +320,14 @@ export class ScheduledActionParam_ {
|
|
|
312
320
|
@MaxLength(10)
|
|
313
321
|
_mj__UpdatedAt: Date;
|
|
314
322
|
|
|
323
|
+
@Field()
|
|
324
|
+
@MaxLength(510)
|
|
325
|
+
ScheduledAction: string;
|
|
326
|
+
|
|
327
|
+
@Field()
|
|
328
|
+
@MaxLength(510)
|
|
329
|
+
ActionParam: string;
|
|
330
|
+
|
|
315
331
|
}
|
|
316
332
|
|
|
317
333
|
//****************************************************************************
|
|
@@ -7192,6 +7208,10 @@ export class List_ {
|
|
|
7192
7208
|
@MaxLength(200)
|
|
7193
7209
|
User: string;
|
|
7194
7210
|
|
|
7211
|
+
@Field({nullable: true})
|
|
7212
|
+
@MaxLength(200)
|
|
7213
|
+
Category?: string;
|
|
7214
|
+
|
|
7195
7215
|
@Field(() => [ListDetail_])
|
|
7196
7216
|
ListDetailsArray: ListDetail_[]; // Link to ListDetails
|
|
7197
7217
|
|
|
@@ -8781,6 +8801,14 @@ export class AuditLog_ {
|
|
|
8781
8801
|
@MaxLength(200)
|
|
8782
8802
|
User: string;
|
|
8783
8803
|
|
|
8804
|
+
@Field()
|
|
8805
|
+
@MaxLength(100)
|
|
8806
|
+
AuditLogType: string;
|
|
8807
|
+
|
|
8808
|
+
@Field({nullable: true})
|
|
8809
|
+
@MaxLength(200)
|
|
8810
|
+
Authorization?: string;
|
|
8811
|
+
|
|
8784
8812
|
@Field({nullable: true})
|
|
8785
8813
|
@MaxLength(510)
|
|
8786
8814
|
Entity?: string;
|
|
@@ -9111,6 +9139,14 @@ export class AuthorizationRole_ {
|
|
|
9111
9139
|
@MaxLength(10)
|
|
9112
9140
|
_mj__UpdatedAt: Date;
|
|
9113
9141
|
|
|
9142
|
+
@Field()
|
|
9143
|
+
@MaxLength(200)
|
|
9144
|
+
Authorization: string;
|
|
9145
|
+
|
|
9146
|
+
@Field()
|
|
9147
|
+
@MaxLength(100)
|
|
9148
|
+
Role: string;
|
|
9149
|
+
|
|
9114
9150
|
}
|
|
9115
9151
|
//****************************************************************************
|
|
9116
9152
|
// RESOLVER for Authorization Roles
|
|
@@ -9210,6 +9246,10 @@ export class AuditLogType_ {
|
|
|
9210
9246
|
@MaxLength(100)
|
|
9211
9247
|
Parent?: string;
|
|
9212
9248
|
|
|
9249
|
+
@Field({nullable: true})
|
|
9250
|
+
@MaxLength(200)
|
|
9251
|
+
Authorization?: string;
|
|
9252
|
+
|
|
9213
9253
|
@Field(() => [AuditLogType_])
|
|
9214
9254
|
AuditLogTypesArray: AuditLogType_[]; // Link to AuditLogTypes
|
|
9215
9255
|
|
|
@@ -12772,6 +12812,10 @@ export class DatasetItem_ {
|
|
|
12772
12812
|
@MaxLength(10)
|
|
12773
12813
|
_mj__UpdatedAt: Date;
|
|
12774
12814
|
|
|
12815
|
+
@Field()
|
|
12816
|
+
@MaxLength(200)
|
|
12817
|
+
Dataset: string;
|
|
12818
|
+
|
|
12775
12819
|
@Field()
|
|
12776
12820
|
@MaxLength(510)
|
|
12777
12821
|
Entity: string;
|
|
@@ -13078,6 +13122,10 @@ export class Conversation_ {
|
|
|
13078
13122
|
@MaxLength(510)
|
|
13079
13123
|
LinkedEntity?: string;
|
|
13080
13124
|
|
|
13125
|
+
@Field({nullable: true})
|
|
13126
|
+
@MaxLength(510)
|
|
13127
|
+
DataContext?: string;
|
|
13128
|
+
|
|
13081
13129
|
@Field(() => [ConversationDetail_])
|
|
13082
13130
|
ConversationDetailsArray: ConversationDetail_[]; // Link to ConversationDetails
|
|
13083
13131
|
|
|
@@ -13277,9 +13325,6 @@ export class UserNotification_ {
|
|
|
13277
13325
|
@MaxLength(16)
|
|
13278
13326
|
ResourceTypeID?: string;
|
|
13279
13327
|
|
|
13280
|
-
@Field(() => Int, {nullable: true})
|
|
13281
|
-
ResourceRecordID?: number;
|
|
13282
|
-
|
|
13283
13328
|
@Field({nullable: true})
|
|
13284
13329
|
ResourceConfiguration?: string;
|
|
13285
13330
|
|
|
@@ -13298,6 +13343,10 @@ export class UserNotification_ {
|
|
|
13298
13343
|
@MaxLength(10)
|
|
13299
13344
|
_mj__UpdatedAt: Date;
|
|
13300
13345
|
|
|
13346
|
+
@Field({nullable: true})
|
|
13347
|
+
@MaxLength(16)
|
|
13348
|
+
ResourceRecordID?: string;
|
|
13349
|
+
|
|
13301
13350
|
@Field()
|
|
13302
13351
|
@MaxLength(200)
|
|
13303
13352
|
User: string;
|
|
@@ -13325,9 +13374,6 @@ export class CreateUserNotificationInput {
|
|
|
13325
13374
|
@Field({ nullable: true })
|
|
13326
13375
|
ResourceTypeID?: string;
|
|
13327
13376
|
|
|
13328
|
-
@Field(() => Int, { nullable: true })
|
|
13329
|
-
ResourceRecordID?: number;
|
|
13330
|
-
|
|
13331
13377
|
@Field({ nullable: true })
|
|
13332
13378
|
ResourceConfiguration?: string;
|
|
13333
13379
|
|
|
@@ -13336,6 +13382,9 @@ export class CreateUserNotificationInput {
|
|
|
13336
13382
|
|
|
13337
13383
|
@Field({ nullable: true })
|
|
13338
13384
|
ReadAt?: Date;
|
|
13385
|
+
|
|
13386
|
+
@Field({ nullable: true })
|
|
13387
|
+
ResourceRecordID?: string;
|
|
13339
13388
|
}
|
|
13340
13389
|
|
|
13341
13390
|
|
|
@@ -13359,9 +13408,6 @@ export class UpdateUserNotificationInput {
|
|
|
13359
13408
|
@Field({ nullable: true })
|
|
13360
13409
|
ResourceTypeID?: string;
|
|
13361
13410
|
|
|
13362
|
-
@Field(() => Int, { nullable: true })
|
|
13363
|
-
ResourceRecordID?: number;
|
|
13364
|
-
|
|
13365
13411
|
@Field({ nullable: true })
|
|
13366
13412
|
ResourceConfiguration?: string;
|
|
13367
13413
|
|
|
@@ -13371,6 +13417,9 @@ export class UpdateUserNotificationInput {
|
|
|
13371
13417
|
@Field({ nullable: true })
|
|
13372
13418
|
ReadAt?: Date;
|
|
13373
13419
|
|
|
13420
|
+
@Field({ nullable: true })
|
|
13421
|
+
ResourceRecordID?: string;
|
|
13422
|
+
|
|
13374
13423
|
@Field(() => [KeyValuePairInput], { nullable: true })
|
|
13375
13424
|
OldValues___?: KeyValuePairInput[];
|
|
13376
13425
|
}
|
|
@@ -13817,6 +13866,10 @@ export class RecordMergeLog_ {
|
|
|
13817
13866
|
@MaxLength(200)
|
|
13818
13867
|
InitiatedByUser: string;
|
|
13819
13868
|
|
|
13869
|
+
@Field({nullable: true})
|
|
13870
|
+
@MaxLength(200)
|
|
13871
|
+
ApprovedByUser?: string;
|
|
13872
|
+
|
|
13820
13873
|
@Field(() => [RecordMergeDeletionLog_])
|
|
13821
13874
|
RecordMergeDeletionLogsArray: RecordMergeDeletionLog_[]; // Link to RecordMergeDeletionLogs
|
|
13822
13875
|
|
|
@@ -14832,6 +14885,14 @@ export class QueryPermission_ {
|
|
|
14832
14885
|
@MaxLength(10)
|
|
14833
14886
|
_mj__UpdatedAt: Date;
|
|
14834
14887
|
|
|
14888
|
+
@Field()
|
|
14889
|
+
@MaxLength(510)
|
|
14890
|
+
Query: string;
|
|
14891
|
+
|
|
14892
|
+
@Field()
|
|
14893
|
+
@MaxLength(100)
|
|
14894
|
+
Role: string;
|
|
14895
|
+
|
|
14835
14896
|
}
|
|
14836
14897
|
|
|
14837
14898
|
//****************************************************************************
|
|
@@ -15617,6 +15678,18 @@ export class EntityRecordDocument_ {
|
|
|
15617
15678
|
@MaxLength(10)
|
|
15618
15679
|
_mj__UpdatedAt: Date;
|
|
15619
15680
|
|
|
15681
|
+
@Field()
|
|
15682
|
+
@MaxLength(510)
|
|
15683
|
+
Entity: string;
|
|
15684
|
+
|
|
15685
|
+
@Field()
|
|
15686
|
+
@MaxLength(500)
|
|
15687
|
+
EntityDocument: string;
|
|
15688
|
+
|
|
15689
|
+
@Field()
|
|
15690
|
+
@MaxLength(510)
|
|
15691
|
+
VectorIndex: string;
|
|
15692
|
+
|
|
15620
15693
|
}
|
|
15621
15694
|
|
|
15622
15695
|
//****************************************************************************
|
|
@@ -15817,6 +15890,18 @@ export class EntityDocument_ {
|
|
|
15817
15890
|
@MaxLength(510)
|
|
15818
15891
|
Entity: string;
|
|
15819
15892
|
|
|
15893
|
+
@Field()
|
|
15894
|
+
@MaxLength(200)
|
|
15895
|
+
VectorDatabase: string;
|
|
15896
|
+
|
|
15897
|
+
@Field()
|
|
15898
|
+
@MaxLength(510)
|
|
15899
|
+
Template: string;
|
|
15900
|
+
|
|
15901
|
+
@Field()
|
|
15902
|
+
@MaxLength(100)
|
|
15903
|
+
AIModel: string;
|
|
15904
|
+
|
|
15820
15905
|
@Field(() => [EntityDocumentSetting_])
|
|
15821
15906
|
EntityDocumentSettingsArray: EntityDocumentSetting_[]; // Link to EntityDocumentSettings
|
|
15822
15907
|
|
|
@@ -16449,6 +16534,10 @@ export class UserViewCategory_ {
|
|
|
16449
16534
|
@MaxLength(200)
|
|
16450
16535
|
Parent?: string;
|
|
16451
16536
|
|
|
16537
|
+
@Field()
|
|
16538
|
+
@MaxLength(510)
|
|
16539
|
+
Entity: string;
|
|
16540
|
+
|
|
16452
16541
|
@Field()
|
|
16453
16542
|
@MaxLength(200)
|
|
16454
16543
|
User: string;
|
|
@@ -18831,6 +18920,10 @@ export class ApplicationSetting_ {
|
|
|
18831
18920
|
@MaxLength(10)
|
|
18832
18921
|
_mj__UpdatedAt: Date;
|
|
18833
18922
|
|
|
18923
|
+
@Field()
|
|
18924
|
+
@MaxLength(200)
|
|
18925
|
+
Application: string;
|
|
18926
|
+
|
|
18834
18927
|
}
|
|
18835
18928
|
|
|
18836
18929
|
//****************************************************************************
|
|
@@ -19504,6 +19597,10 @@ export class ActionAuthorization_ {
|
|
|
19504
19597
|
@MaxLength(850)
|
|
19505
19598
|
Action: string;
|
|
19506
19599
|
|
|
19600
|
+
@Field()
|
|
19601
|
+
@MaxLength(200)
|
|
19602
|
+
Authorization: string;
|
|
19603
|
+
|
|
19507
19604
|
}
|
|
19508
19605
|
|
|
19509
19606
|
//****************************************************************************
|
|
@@ -21689,6 +21786,14 @@ export class ListCategory_ {
|
|
|
21689
21786
|
@MaxLength(10)
|
|
21690
21787
|
_mj__UpdatedAt: Date;
|
|
21691
21788
|
|
|
21789
|
+
@Field({nullable: true})
|
|
21790
|
+
@MaxLength(200)
|
|
21791
|
+
Parent?: string;
|
|
21792
|
+
|
|
21793
|
+
@Field()
|
|
21794
|
+
@MaxLength(200)
|
|
21795
|
+
User: string;
|
|
21796
|
+
|
|
21692
21797
|
@Field(() => [ListCategory_])
|
|
21693
21798
|
ListCategoriesArray: ListCategory_[]; // Link to ListCategories
|
|
21694
21799
|
|
|
@@ -554,7 +554,8 @@ export class ResolverBase {
|
|
|
554
554
|
const entityInfo = entityObject.EntityInfo;
|
|
555
555
|
const clientNewValues = {};
|
|
556
556
|
Object.keys(input).forEach((key) => {
|
|
557
|
-
if (key !== 'OldValues___')
|
|
557
|
+
if (key !== 'OldValues___')
|
|
558
|
+
clientNewValues[key] = input[key];
|
|
558
559
|
}); // grab all the props except for the OldValues property
|
|
559
560
|
|
|
560
561
|
if (entityInfo.TrackRecordChanges || !input.OldValues___) {
|
|
@@ -629,7 +630,8 @@ export class ResolverBase {
|
|
|
629
630
|
// we need to do a quick transform on the values to make sure they match the TS Type for the given field because item.Value will always be a string
|
|
630
631
|
const field = entityObject.EntityInfo.Fields.find((f) => f.CodeName === item.Key);
|
|
631
632
|
let val = item.Value;
|
|
632
|
-
if ((val === null || val === undefined) && field.DefaultValue !== null && field.DefaultValue !== undefined
|
|
633
|
+
if ((val === null || val === undefined) && field.DefaultValue !== null && field.DefaultValue !== undefined && !field.AllowsNull)
|
|
634
|
+
val = field.DefaultValue; // set default value as the field was never set and it does NOT allow nulls
|
|
633
635
|
|
|
634
636
|
if (field) {
|
|
635
637
|
switch (field.TSType) {
|