@memberjunction/server 1.6.0 → 1.7.0

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 CHANGED
@@ -2,7 +2,273 @@
2
2
  "name": "@memberjunction/server",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 11 Jun 2024 04:56:58 GMT",
5
+ "date": "Wed, 12 Jun 2024 18:50:56 GMT",
6
+ "version": "1.7.0",
7
+ "tag": "@memberjunction/server_v1.7.0",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "97354817+AN-BC@users.noreply.github.com",
12
+ "package": "@memberjunction/server",
13
+ "commit": "2b97e94037f036df20e405a67aaf50e4cf6a03ca",
14
+ "comment": "Applying package updates [skip ci]"
15
+ },
16
+ {
17
+ "author": "97354817+AN-BC@users.noreply.github.com",
18
+ "package": "@memberjunction/server",
19
+ "commit": "4fa47d7cdb7312b7001469c27443e8b3a18d3d24",
20
+ "comment": "Applying package updates [skip ci]"
21
+ }
22
+ ],
23
+ "minor": [
24
+ {
25
+ "author": "beachball",
26
+ "package": "@memberjunction/server",
27
+ "comment": "Bump @memberjunction/actions to v1.7.0",
28
+ "commit": "not available"
29
+ },
30
+ {
31
+ "author": "beachball",
32
+ "package": "@memberjunction/server",
33
+ "comment": "Bump @memberjunction/ai to v1.7.0",
34
+ "commit": "not available"
35
+ },
36
+ {
37
+ "author": "beachball",
38
+ "package": "@memberjunction/server",
39
+ "comment": "Bump @memberjunction/ai-mistral to v1.7.0",
40
+ "commit": "not available"
41
+ },
42
+ {
43
+ "author": "beachball",
44
+ "package": "@memberjunction/server",
45
+ "comment": "Bump @memberjunction/ai-openai to v1.7.0",
46
+ "commit": "not available"
47
+ },
48
+ {
49
+ "author": "beachball",
50
+ "package": "@memberjunction/server",
51
+ "comment": "Bump @memberjunction/ai-vectors-pinecone to v1.7.0",
52
+ "commit": "not available"
53
+ },
54
+ {
55
+ "author": "beachball",
56
+ "package": "@memberjunction/server",
57
+ "comment": "Bump @memberjunction/aiengine to v1.7.0",
58
+ "commit": "not available"
59
+ },
60
+ {
61
+ "author": "beachball",
62
+ "package": "@memberjunction/server",
63
+ "comment": "Bump @memberjunction/core to v1.7.0",
64
+ "commit": "not available"
65
+ },
66
+ {
67
+ "author": "beachball",
68
+ "package": "@memberjunction/server",
69
+ "comment": "Bump @memberjunction/core-actions to v1.7.0",
70
+ "commit": "not available"
71
+ },
72
+ {
73
+ "author": "beachball",
74
+ "package": "@memberjunction/server",
75
+ "comment": "Bump @memberjunction/core-entities to v1.7.0",
76
+ "commit": "not available"
77
+ },
78
+ {
79
+ "author": "beachball",
80
+ "package": "@memberjunction/server",
81
+ "comment": "Bump @memberjunction/data-context to v1.7.0",
82
+ "commit": "not available"
83
+ },
84
+ {
85
+ "author": "beachball",
86
+ "package": "@memberjunction/server",
87
+ "comment": "Bump @memberjunction/data-context-server to v1.7.0",
88
+ "commit": "not available"
89
+ },
90
+ {
91
+ "author": "beachball",
92
+ "package": "@memberjunction/server",
93
+ "comment": "Bump @memberjunction/doc-utils to v1.7.0",
94
+ "commit": "not available"
95
+ },
96
+ {
97
+ "author": "beachball",
98
+ "package": "@memberjunction/server",
99
+ "comment": "Bump @memberjunction/global to v1.7.0",
100
+ "commit": "not available"
101
+ },
102
+ {
103
+ "author": "beachball",
104
+ "package": "@memberjunction/server",
105
+ "comment": "Bump @memberjunction/queue to v1.7.0",
106
+ "commit": "not available"
107
+ },
108
+ {
109
+ "author": "beachball",
110
+ "package": "@memberjunction/server",
111
+ "comment": "Bump @memberjunction/skip-types to v1.7.0",
112
+ "commit": "not available"
113
+ },
114
+ {
115
+ "author": "beachball",
116
+ "package": "@memberjunction/server",
117
+ "comment": "Bump @memberjunction/sqlserver-dataprovider to v1.6.2",
118
+ "commit": "not available"
119
+ },
120
+ {
121
+ "author": "beachball",
122
+ "package": "@memberjunction/server",
123
+ "comment": "Bump @memberjunction/storage to v1.7.0",
124
+ "commit": "not available"
125
+ },
126
+ {
127
+ "author": "beachball",
128
+ "package": "@memberjunction/server",
129
+ "comment": "Bump @memberjunction/templates to v1.7.0",
130
+ "commit": "not available"
131
+ },
132
+ {
133
+ "author": "beachball",
134
+ "package": "@memberjunction/server",
135
+ "comment": "Bump @memberjunction/external-change-detection to v1.7.0",
136
+ "commit": "not available"
137
+ },
138
+ {
139
+ "author": "beachball",
140
+ "package": "@memberjunction/server",
141
+ "comment": "Bump @memberjunction/entity-communications-server to v1.7.0",
142
+ "commit": "not available"
143
+ }
144
+ ]
145
+ }
146
+ },
147
+ {
148
+ "date": "Tue, 11 Jun 2024 06:50:06 GMT",
149
+ "version": "1.6.1",
150
+ "tag": "@memberjunction/server_v1.6.1",
151
+ "comments": {
152
+ "patch": [
153
+ {
154
+ "author": "beachball",
155
+ "package": "@memberjunction/server",
156
+ "comment": "Bump @memberjunction/actions to v1.6.1",
157
+ "commit": "not available"
158
+ },
159
+ {
160
+ "author": "beachball",
161
+ "package": "@memberjunction/server",
162
+ "comment": "Bump @memberjunction/ai to v1.6.1",
163
+ "commit": "not available"
164
+ },
165
+ {
166
+ "author": "beachball",
167
+ "package": "@memberjunction/server",
168
+ "comment": "Bump @memberjunction/ai-mistral to v1.6.1",
169
+ "commit": "not available"
170
+ },
171
+ {
172
+ "author": "beachball",
173
+ "package": "@memberjunction/server",
174
+ "comment": "Bump @memberjunction/ai-openai to v1.6.1",
175
+ "commit": "not available"
176
+ },
177
+ {
178
+ "author": "beachball",
179
+ "package": "@memberjunction/server",
180
+ "comment": "Bump @memberjunction/ai-vectors-pinecone to v1.6.1",
181
+ "commit": "not available"
182
+ },
183
+ {
184
+ "author": "beachball",
185
+ "package": "@memberjunction/server",
186
+ "comment": "Bump @memberjunction/aiengine to v1.6.1",
187
+ "commit": "not available"
188
+ },
189
+ {
190
+ "author": "beachball",
191
+ "package": "@memberjunction/server",
192
+ "comment": "Bump @memberjunction/core to v1.6.1",
193
+ "commit": "not available"
194
+ },
195
+ {
196
+ "author": "beachball",
197
+ "package": "@memberjunction/server",
198
+ "comment": "Bump @memberjunction/core-actions to v1.6.1",
199
+ "commit": "not available"
200
+ },
201
+ {
202
+ "author": "beachball",
203
+ "package": "@memberjunction/server",
204
+ "comment": "Bump @memberjunction/core-entities to v1.6.1",
205
+ "commit": "not available"
206
+ },
207
+ {
208
+ "author": "beachball",
209
+ "package": "@memberjunction/server",
210
+ "comment": "Bump @memberjunction/data-context to v1.6.1",
211
+ "commit": "not available"
212
+ },
213
+ {
214
+ "author": "beachball",
215
+ "package": "@memberjunction/server",
216
+ "comment": "Bump @memberjunction/data-context-server to v1.6.1",
217
+ "commit": "not available"
218
+ },
219
+ {
220
+ "author": "beachball",
221
+ "package": "@memberjunction/server",
222
+ "comment": "Bump @memberjunction/doc-utils to v1.6.1",
223
+ "commit": "not available"
224
+ },
225
+ {
226
+ "author": "beachball",
227
+ "package": "@memberjunction/server",
228
+ "comment": "Bump @memberjunction/global to v1.6.1",
229
+ "commit": "not available"
230
+ },
231
+ {
232
+ "author": "beachball",
233
+ "package": "@memberjunction/server",
234
+ "comment": "Bump @memberjunction/queue to v1.6.1",
235
+ "commit": "not available"
236
+ },
237
+ {
238
+ "author": "beachball",
239
+ "package": "@memberjunction/server",
240
+ "comment": "Bump @memberjunction/skip-types to v1.6.1",
241
+ "commit": "not available"
242
+ },
243
+ {
244
+ "author": "beachball",
245
+ "package": "@memberjunction/server",
246
+ "comment": "Bump @memberjunction/sqlserver-dataprovider to v1.6.1",
247
+ "commit": "not available"
248
+ },
249
+ {
250
+ "author": "beachball",
251
+ "package": "@memberjunction/server",
252
+ "comment": "Bump @memberjunction/storage to v1.6.1",
253
+ "commit": "not available"
254
+ },
255
+ {
256
+ "author": "beachball",
257
+ "package": "@memberjunction/server",
258
+ "comment": "Bump @memberjunction/templates to v1.6.1",
259
+ "commit": "not available"
260
+ },
261
+ {
262
+ "author": "beachball",
263
+ "package": "@memberjunction/server",
264
+ "comment": "Bump @memberjunction/entity-communications-server to v1.6.1",
265
+ "commit": "not available"
266
+ }
267
+ ]
268
+ }
269
+ },
270
+ {
271
+ "date": "Tue, 11 Jun 2024 04:59:29 GMT",
6
272
  "version": "1.6.0",
7
273
  "tag": "@memberjunction/server_v1.6.0",
8
274
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,70 @@
1
1
  # Change Log - @memberjunction/server
2
2
 
3
- This log was last generated on Tue, 11 Jun 2024 04:56:58 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 12 Jun 2024 18:50:56 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.7.0
8
+
9
+ Wed, 12 Jun 2024 18:50:56 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - Bump @memberjunction/actions to v1.7.0
14
+ - Bump @memberjunction/ai to v1.7.0
15
+ - Bump @memberjunction/ai-mistral to v1.7.0
16
+ - Bump @memberjunction/ai-openai to v1.7.0
17
+ - Bump @memberjunction/ai-vectors-pinecone to v1.7.0
18
+ - Bump @memberjunction/aiengine to v1.7.0
19
+ - Bump @memberjunction/core to v1.7.0
20
+ - Bump @memberjunction/core-actions to v1.7.0
21
+ - Bump @memberjunction/core-entities to v1.7.0
22
+ - Bump @memberjunction/data-context to v1.7.0
23
+ - Bump @memberjunction/data-context-server to v1.7.0
24
+ - Bump @memberjunction/doc-utils to v1.7.0
25
+ - Bump @memberjunction/global to v1.7.0
26
+ - Bump @memberjunction/queue to v1.7.0
27
+ - Bump @memberjunction/skip-types to v1.7.0
28
+ - Bump @memberjunction/sqlserver-dataprovider to v1.6.2
29
+ - Bump @memberjunction/storage to v1.7.0
30
+ - Bump @memberjunction/templates to v1.7.0
31
+ - Bump @memberjunction/external-change-detection to v1.7.0
32
+ - Bump @memberjunction/entity-communications-server to v1.7.0
33
+
34
+ ### Patches
35
+
36
+ - Applying package updates [skip ci] (97354817+AN-BC@users.noreply.github.com)
37
+ - Applying package updates [skip ci] (97354817+AN-BC@users.noreply.github.com)
38
+
39
+ ## 1.6.1
40
+
41
+ Tue, 11 Jun 2024 06:50:06 GMT
42
+
43
+ ### Patches
44
+
45
+ - Bump @memberjunction/actions to v1.6.1
46
+ - Bump @memberjunction/ai to v1.6.1
47
+ - Bump @memberjunction/ai-mistral to v1.6.1
48
+ - Bump @memberjunction/ai-openai to v1.6.1
49
+ - Bump @memberjunction/ai-vectors-pinecone to v1.6.1
50
+ - Bump @memberjunction/aiengine to v1.6.1
51
+ - Bump @memberjunction/core to v1.6.1
52
+ - Bump @memberjunction/core-actions to v1.6.1
53
+ - Bump @memberjunction/core-entities to v1.6.1
54
+ - Bump @memberjunction/data-context to v1.6.1
55
+ - Bump @memberjunction/data-context-server to v1.6.1
56
+ - Bump @memberjunction/doc-utils to v1.6.1
57
+ - Bump @memberjunction/global to v1.6.1
58
+ - Bump @memberjunction/queue to v1.6.1
59
+ - Bump @memberjunction/skip-types to v1.6.1
60
+ - Bump @memberjunction/sqlserver-dataprovider to v1.6.1
61
+ - Bump @memberjunction/storage to v1.6.1
62
+ - Bump @memberjunction/templates to v1.6.1
63
+ - Bump @memberjunction/entity-communications-server to v1.6.1
64
+
7
65
  ## 1.6.0
8
66
 
9
- Tue, 11 Jun 2024 04:56:58 GMT
67
+ Tue, 11 Jun 2024 04:59:29 GMT
10
68
 
11
69
  ### Minor changes
12
70
 
@@ -382,6 +382,7 @@ export declare class Integration_ {
382
382
  UpdatedAt: Date;
383
383
  IntegrationURLFormatsArray: mj_core_schema_server_object_types.IntegrationURLFormat_[];
384
384
  CompanyIntegrationsArray: mj_core_schema_server_object_types.CompanyIntegration_[];
385
+ RecordChangesArray: mj_core_schema_server_object_types.RecordChange_[];
385
386
  }
386
387
  export declare class UpdateIntegrationInput {
387
388
  ID: number;
@@ -411,6 +412,7 @@ export declare class IntegrationResolver extends ResolverBase {
411
412
  AllIntegrations({ dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
412
413
  IntegrationURLFormatsArray(integration_: Integration_, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
413
414
  CompanyIntegrationsArray(integration_: Integration_, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
415
+ RecordChangesArray(integration_: Integration_, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
414
416
  UpdateIntegration(input: UpdateIntegrationInput, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<{}>;
415
417
  }
416
418
  export declare class CompanyIntegration_ {
@@ -650,6 +652,7 @@ export declare class Entity_ {
650
652
  CreatedAt: Date;
651
653
  UpdatedAt: Date;
652
654
  PreferredCommunicationField?: string;
655
+ Icon?: string;
653
656
  CodeName?: string;
654
657
  ClassName?: string;
655
658
  BaseTableCodeName?: string;
@@ -733,6 +736,7 @@ export declare class CreateEntityInput {
733
736
  EntityObjectSubclassName?: string;
734
737
  EntityObjectSubclassImport?: string;
735
738
  PreferredCommunicationField?: string;
739
+ Icon?: string;
736
740
  }
737
741
  export declare class UpdateEntityInput {
738
742
  ID: number;
@@ -774,6 +778,7 @@ export declare class UpdateEntityInput {
774
778
  EntityObjectSubclassName?: string;
775
779
  EntityObjectSubclassImport?: string;
776
780
  PreferredCommunicationField?: string;
781
+ Icon?: string;
777
782
  OldValues___?: KeyValuePairInput[];
778
783
  }
779
784
  export declare class RunEntityViewResult {
@@ -1300,6 +1305,8 @@ export declare class Application_ {
1300
1305
  ID: number;
1301
1306
  Name: string;
1302
1307
  Description?: string;
1308
+ Icon?: string;
1309
+ DefaultForNewUser: boolean;
1303
1310
  CreatedAt: Date;
1304
1311
  UpdatedAt: Date;
1305
1312
  ApplicationEntitiesArray: mj_core_schema_server_object_types.ApplicationEntity_[];
@@ -1309,11 +1316,15 @@ export declare class Application_ {
1309
1316
  export declare class CreateApplicationInput {
1310
1317
  Name: string;
1311
1318
  Description?: string;
1319
+ Icon?: string;
1320
+ DefaultForNewUser: boolean;
1312
1321
  }
1313
1322
  export declare class UpdateApplicationInput {
1314
1323
  ID: number;
1315
1324
  Name: string;
1316
1325
  Description?: string;
1326
+ Icon?: string;
1327
+ DefaultForNewUser: boolean;
1317
1328
  OldValues___?: KeyValuePairInput[];
1318
1329
  }
1319
1330
  export declare class RunApplicationViewResult {
@@ -1500,6 +1511,12 @@ export declare class UserApplication_ {
1500
1511
  Application: string;
1501
1512
  UserApplicationEntitiesArray: mj_core_schema_server_object_types.UserApplicationEntity_[];
1502
1513
  }
1514
+ export declare class CreateUserApplicationInput {
1515
+ UserID: number;
1516
+ ApplicationID: number;
1517
+ Sequence: number;
1518
+ IsActive: boolean;
1519
+ }
1503
1520
  export declare class UpdateUserApplicationInput {
1504
1521
  ID: number;
1505
1522
  UserID: number;
@@ -1523,6 +1540,7 @@ export declare class UserApplicationResolver extends ResolverBase {
1523
1540
  RunUserApplicationDynamicView(input: RunDynamicViewInput, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
1524
1541
  UserApplication(ID: number, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<UserApplication_ | null>;
1525
1542
  UserApplicationEntitiesArray(userapplication_: UserApplication_, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
1543
+ CreateUserApplication(input: CreateUserApplicationInput, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<{}>;
1526
1544
  UpdateUserApplication(input: UpdateUserApplicationInput, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<{}>;
1527
1545
  DeleteUserApplication(ID: number, options: DeleteOptionsInput, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<{}>;
1528
1546
  }
@@ -1852,24 +1870,35 @@ export declare class RecordChange_ {
1852
1870
  EntityID: number;
1853
1871
  RecordID: string;
1854
1872
  UserID: number;
1873
+ Type: string;
1874
+ Source?: string;
1875
+ IntegrationID?: number;
1855
1876
  ChangedAt: Date;
1856
1877
  ChangesJSON: string;
1857
1878
  ChangesDescription: string;
1858
1879
  FullRecordJSON: string;
1859
1880
  Status: string;
1881
+ ErrorLog?: string;
1860
1882
  Comments?: string;
1883
+ CreatedAt: Date;
1884
+ UpdatedAt: Date;
1861
1885
  Entity: string;
1862
1886
  User: string;
1887
+ Integration?: string;
1863
1888
  }
1864
1889
  export declare class CreateRecordChangeInput {
1865
1890
  EntityID: number;
1866
1891
  RecordID: string;
1867
1892
  UserID: number;
1893
+ Type: string;
1894
+ Source?: string;
1895
+ IntegrationID?: number;
1868
1896
  ChangedAt: Date;
1869
1897
  ChangesJSON: string;
1870
1898
  ChangesDescription: string;
1871
1899
  FullRecordJSON: string;
1872
1900
  Status: string;
1901
+ ErrorLog?: string;
1873
1902
  Comments?: string;
1874
1903
  }
1875
1904
  export declare class RunRecordChangeViewResult {
@@ -3467,13 +3496,16 @@ export declare class QueryCategoryResolver extends ResolverBase {
3467
3496
  export declare class Query_ {
3468
3497
  ID: number;
3469
3498
  Name: string;
3499
+ UserQuestion?: string;
3470
3500
  Description?: string;
3471
3501
  CategoryID?: number;
3472
3502
  SQL?: string;
3503
+ TechnicalDescription?: string;
3473
3504
  OriginalSQL?: string;
3474
3505
  Feedback?: string;
3475
3506
  Status: string;
3476
3507
  QualityRank?: number;
3508
+ ExecutionCostRank?: number;
3477
3509
  CreatedAt: Date;
3478
3510
  UpdatedAt: Date;
3479
3511
  Category?: string;
@@ -3483,24 +3515,30 @@ export declare class Query_ {
3483
3515
  }
3484
3516
  export declare class CreateQueryInput {
3485
3517
  Name: string;
3518
+ UserQuestion?: string;
3486
3519
  Description?: string;
3487
3520
  CategoryID?: number;
3488
3521
  SQL?: string;
3522
+ TechnicalDescription?: string;
3489
3523
  OriginalSQL?: string;
3490
3524
  Feedback?: string;
3491
3525
  Status: string;
3492
3526
  QualityRank?: number;
3527
+ ExecutionCostRank?: number;
3493
3528
  }
3494
3529
  export declare class UpdateQueryInput {
3495
3530
  ID: number;
3496
3531
  Name: string;
3532
+ UserQuestion?: string;
3497
3533
  Description?: string;
3498
3534
  CategoryID?: number;
3499
3535
  SQL?: string;
3536
+ TechnicalDescription?: string;
3500
3537
  OriginalSQL?: string;
3501
3538
  Feedback?: string;
3502
3539
  Status: string;
3503
3540
  QualityRank?: number;
3541
+ ExecutionCostRank?: number;
3504
3542
  OldValues___?: KeyValuePairInput[];
3505
3543
  }
3506
3544
  export declare class RunQueryViewResult {