@memberjunction/server 5.42.0 → 5.43.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/dist/agentSessions/SessionJanitor.d.ts.map +1 -1
- package/dist/agentSessions/SessionJanitor.js +5 -1
- package/dist/agentSessions/SessionJanitor.js.map +1 -1
- package/dist/agentSessions/SessionManager.d.ts +15 -2
- package/dist/agentSessions/SessionManager.d.ts.map +1 -1
- package/dist/agentSessions/SessionManager.js +50 -11
- package/dist/agentSessions/SessionManager.js.map +1 -1
- package/dist/generated/generated.d.ts +21 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +86 -0
- package/dist/generated/generated.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/resolvers/ExecuteRemoteOperationResolver.d.ts +20 -1
- package/dist/resolvers/ExecuteRemoteOperationResolver.d.ts.map +1 -1
- package/dist/resolvers/ExecuteRemoteOperationResolver.js +61 -5
- package/dist/resolvers/ExecuteRemoteOperationResolver.js.map +1 -1
- package/dist/resolvers/IntegrationDiscoveryResolver.d.ts.map +1 -1
- package/dist/resolvers/IntegrationDiscoveryResolver.js +98 -29
- package/dist/resolvers/IntegrationDiscoveryResolver.js.map +1 -1
- package/dist/resolvers/RealtimeBridgeResolver.d.ts +9 -0
- package/dist/resolvers/RealtimeBridgeResolver.d.ts.map +1 -1
- package/dist/resolvers/RealtimeBridgeResolver.js +50 -3
- package/dist/resolvers/RealtimeBridgeResolver.js.map +1 -1
- package/dist/resolvers/RunTemplateResolver.d.ts +8 -0
- package/dist/resolvers/RunTemplateResolver.d.ts.map +1 -1
- package/dist/resolvers/RunTemplateResolver.js +8 -0
- package/dist/resolvers/RunTemplateResolver.js.map +1 -1
- package/package.json +82 -82
- package/src/agentSessions/SessionJanitor.ts +15 -1
- package/src/agentSessions/SessionManager.ts +59 -10
- package/src/generated/generated.ts +65 -0
- package/src/index.ts +5 -1
- package/src/resolvers/ExecuteRemoteOperationResolver.ts +60 -4
- package/src/resolvers/IntegrationDiscoveryResolver.ts +108 -30
- package/src/resolvers/RealtimeBridgeResolver.ts +46 -3
- package/src/resolvers/RunTemplateResolver.ts +8 -0
|
@@ -65934,6 +65934,11 @@ __decorate([
|
|
|
65934
65934
|
Field(),
|
|
65935
65935
|
__metadata("design:type", Date)
|
|
65936
65936
|
], MJEntityActionInvocation_.prototype, "_mj__UpdatedAt", void 0);
|
|
65937
|
+
__decorate([
|
|
65938
|
+
Field({ nullable: true, description: `Optional class name of a registered runtime-UX driver component (a BaseEntityActionRuntimeUX subclass resolved via MJGlobal.ClassFactory) that owns this invocation's interaction — parameter collection, dry-run preview, confirmation, and progress. NULL invokes the action directly with no custom UX. This lets any action opt into a richer, reusable runtime experience while the grid/toolbar stays operation-agnostic.` }),
|
|
65939
|
+
MaxLength(255),
|
|
65940
|
+
__metadata("design:type", String)
|
|
65941
|
+
], MJEntityActionInvocation_.prototype, "RuntimeUXDriverClass", void 0);
|
|
65937
65942
|
__decorate([
|
|
65938
65943
|
Field(),
|
|
65939
65944
|
MaxLength(425),
|
|
@@ -65969,6 +65974,10 @@ __decorate([
|
|
|
65969
65974
|
Field({ nullable: true }),
|
|
65970
65975
|
__metadata("design:type", String)
|
|
65971
65976
|
], CreateMJEntityActionInvocationInput.prototype, "Status", void 0);
|
|
65977
|
+
__decorate([
|
|
65978
|
+
Field({ nullable: true }),
|
|
65979
|
+
__metadata("design:type", String)
|
|
65980
|
+
], CreateMJEntityActionInvocationInput.prototype, "RuntimeUXDriverClass", void 0);
|
|
65972
65981
|
__decorate([
|
|
65973
65982
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
65974
65983
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -65998,6 +66007,10 @@ __decorate([
|
|
|
65998
66007
|
Field({ nullable: true }),
|
|
65999
66008
|
__metadata("design:type", String)
|
|
66000
66009
|
], UpdateMJEntityActionInvocationInput.prototype, "Status", void 0);
|
|
66010
|
+
__decorate([
|
|
66011
|
+
Field({ nullable: true }),
|
|
66012
|
+
__metadata("design:type", String)
|
|
66013
|
+
], UpdateMJEntityActionInvocationInput.prototype, "RuntimeUXDriverClass", void 0);
|
|
66001
66014
|
__decorate([
|
|
66002
66015
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
66003
66016
|
__metadata("design:type", Array)
|
|
@@ -88306,6 +88319,11 @@ __decorate([
|
|
|
88306
88319
|
Field(),
|
|
88307
88320
|
__metadata("design:type", Date)
|
|
88308
88321
|
], MJOpenApp_.prototype, "_mj__UpdatedAt", void 0);
|
|
88322
|
+
__decorate([
|
|
88323
|
+
Field({ nullable: true, description: `In-repo subdirectory the app was installed from for multi-app repositories (e.g. 'CRM/HubSpot'). NULL when the app's mj-app.json is at the repository root.` }),
|
|
88324
|
+
MaxLength(500),
|
|
88325
|
+
__metadata("design:type", String)
|
|
88326
|
+
], MJOpenApp_.prototype, "Subpath", void 0);
|
|
88309
88327
|
__decorate([
|
|
88310
88328
|
Field(),
|
|
88311
88329
|
MaxLength(100),
|
|
@@ -88404,6 +88422,10 @@ __decorate([
|
|
|
88404
88422
|
Field({ nullable: true }),
|
|
88405
88423
|
__metadata("design:type", String)
|
|
88406
88424
|
], CreateMJOpenAppInput.prototype, "Status", void 0);
|
|
88425
|
+
__decorate([
|
|
88426
|
+
Field({ nullable: true }),
|
|
88427
|
+
__metadata("design:type", String)
|
|
88428
|
+
], CreateMJOpenAppInput.prototype, "Subpath", void 0);
|
|
88407
88429
|
__decorate([
|
|
88408
88430
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
88409
88431
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -88489,6 +88511,10 @@ __decorate([
|
|
|
88489
88511
|
Field({ nullable: true }),
|
|
88490
88512
|
__metadata("design:type", String)
|
|
88491
88513
|
], UpdateMJOpenAppInput.prototype, "Status", void 0);
|
|
88514
|
+
__decorate([
|
|
88515
|
+
Field({ nullable: true }),
|
|
88516
|
+
__metadata("design:type", String)
|
|
88517
|
+
], UpdateMJOpenAppInput.prototype, "Subpath", void 0);
|
|
88492
88518
|
__decorate([
|
|
88493
88519
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
88494
88520
|
__metadata("design:type", Array)
|
|
@@ -90265,6 +90291,10 @@ __decorate([
|
|
|
90265
90291
|
Field(),
|
|
90266
90292
|
__metadata("design:type", Date)
|
|
90267
90293
|
], MJProcessRun_.prototype, "_mj__UpdatedAt", void 0);
|
|
90294
|
+
__decorate([
|
|
90295
|
+
Field(() => Boolean, { description: `When 1, this run was a dry-run (compute-only) preview: the per-record diffs were computed and persisted as Process Run Details, but no changes were written back to the target records. When 0, the run applied its changes.` }),
|
|
90296
|
+
__metadata("design:type", Boolean)
|
|
90297
|
+
], MJProcessRun_.prototype, "DryRun", void 0);
|
|
90268
90298
|
__decorate([
|
|
90269
90299
|
Field({ nullable: true }),
|
|
90270
90300
|
MaxLength(255),
|
|
@@ -90390,6 +90420,10 @@ __decorate([
|
|
|
90390
90420
|
Field({ nullable: true }),
|
|
90391
90421
|
__metadata("design:type", String)
|
|
90392
90422
|
], CreateMJProcessRunInput.prototype, "StartedByUserID", void 0);
|
|
90423
|
+
__decorate([
|
|
90424
|
+
Field(() => Boolean, { nullable: true }),
|
|
90425
|
+
__metadata("design:type", Boolean)
|
|
90426
|
+
], CreateMJProcessRunInput.prototype, "DryRun", void 0);
|
|
90393
90427
|
__decorate([
|
|
90394
90428
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
90395
90429
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -90495,6 +90529,10 @@ __decorate([
|
|
|
90495
90529
|
Field({ nullable: true }),
|
|
90496
90530
|
__metadata("design:type", String)
|
|
90497
90531
|
], UpdateMJProcessRunInput.prototype, "StartedByUserID", void 0);
|
|
90532
|
+
__decorate([
|
|
90533
|
+
Field(() => Boolean, { nullable: true }),
|
|
90534
|
+
__metadata("design:type", Boolean)
|
|
90535
|
+
], UpdateMJProcessRunInput.prototype, "DryRun", void 0);
|
|
90498
90536
|
__decorate([
|
|
90499
90537
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
90500
90538
|
__metadata("design:type", Array)
|
|
@@ -99007,6 +99045,10 @@ __decorate([
|
|
|
99007
99045
|
Field(),
|
|
99008
99046
|
__metadata("design:type", Date)
|
|
99009
99047
|
], MJRecordProcess_.prototype, "_mj__UpdatedAt", void 0);
|
|
99048
|
+
__decorate([
|
|
99049
|
+
Field({ nullable: true, description: `JSON configuration for the process's work, used by work types that need structured config beyond Input/Output mappings. For WorkType='FieldRules' this holds the serialized FieldRuleSet (the rules applied to each record). NULL for work types that do not use it.` }),
|
|
99050
|
+
__metadata("design:type", String)
|
|
99051
|
+
], MJRecordProcess_.prototype, "Configuration", void 0);
|
|
99010
99052
|
__decorate([
|
|
99011
99053
|
Field({ nullable: true }),
|
|
99012
99054
|
MaxLength(255),
|
|
@@ -99167,6 +99209,10 @@ __decorate([
|
|
|
99167
99209
|
Field(() => Int, { nullable: true }),
|
|
99168
99210
|
__metadata("design:type", Number)
|
|
99169
99211
|
], CreateMJRecordProcessInput.prototype, "MaxConcurrency", void 0);
|
|
99212
|
+
__decorate([
|
|
99213
|
+
Field({ nullable: true }),
|
|
99214
|
+
__metadata("design:type", String)
|
|
99215
|
+
], CreateMJRecordProcessInput.prototype, "Configuration", void 0);
|
|
99170
99216
|
__decorate([
|
|
99171
99217
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
99172
99218
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -99288,6 +99334,10 @@ __decorate([
|
|
|
99288
99334
|
Field(() => Int, { nullable: true }),
|
|
99289
99335
|
__metadata("design:type", Number)
|
|
99290
99336
|
], UpdateMJRecordProcessInput.prototype, "MaxConcurrency", void 0);
|
|
99337
|
+
__decorate([
|
|
99338
|
+
Field({ nullable: true }),
|
|
99339
|
+
__metadata("design:type", String)
|
|
99340
|
+
], UpdateMJRecordProcessInput.prototype, "Configuration", void 0);
|
|
99291
99341
|
__decorate([
|
|
99292
99342
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
99293
99343
|
__metadata("design:type", Array)
|
|
@@ -99888,6 +99938,18 @@ __decorate([
|
|
|
99888
99938
|
Field(),
|
|
99889
99939
|
__metadata("design:type", Date)
|
|
99890
99940
|
], MJRemoteOperation_.prototype, "_mj__UpdatedAt", void 0);
|
|
99941
|
+
__decorate([
|
|
99942
|
+
Field(() => Boolean, { description: `When 1, the AI-generated Code is frozen and Save() will not regenerate it even if Description changes (the Generated-Actions CodeLocked analog). Default 0.` }),
|
|
99943
|
+
__metadata("design:type", Boolean)
|
|
99944
|
+
], MJRemoteOperation_.prototype, "CodeLocked", void 0);
|
|
99945
|
+
__decorate([
|
|
99946
|
+
Field({ nullable: true, description: `The model's explanation / comments for the AI-generated Code (populated alongside Code when GenerationType=AI). Human-facing review aid.` }),
|
|
99947
|
+
__metadata("design:type", String)
|
|
99948
|
+
], MJRemoteOperation_.prototype, "CodeComments", void 0);
|
|
99949
|
+
__decorate([
|
|
99950
|
+
Field({ nullable: true, description: `JSON array of the libraries the generated body imports: [{ "Library": "@memberjunction/ai-prompts", "ItemsUsed": ["AIPromptRunner"] }, ...]. Bound to the RemoteOperationLibrary JSONType via metadata sync so CodeGen emits a typed LibrariesObject accessor; CodeGen uses it to emit the imports at the top of the generated remote_operations.ts. NULL/empty = only the default always-available libraries are imported.` }),
|
|
99951
|
+
__metadata("design:type", String)
|
|
99952
|
+
], MJRemoteOperation_.prototype, "Libraries", void 0);
|
|
99891
99953
|
__decorate([
|
|
99892
99954
|
Field({ nullable: true }),
|
|
99893
99955
|
MaxLength(255),
|
|
@@ -100003,6 +100065,18 @@ __decorate([
|
|
|
100003
100065
|
Field(() => Int, { nullable: true }),
|
|
100004
100066
|
__metadata("design:type", Number)
|
|
100005
100067
|
], CreateMJRemoteOperationInput.prototype, "MaxConcurrency", void 0);
|
|
100068
|
+
__decorate([
|
|
100069
|
+
Field(() => Boolean, { nullable: true }),
|
|
100070
|
+
__metadata("design:type", Boolean)
|
|
100071
|
+
], CreateMJRemoteOperationInput.prototype, "CodeLocked", void 0);
|
|
100072
|
+
__decorate([
|
|
100073
|
+
Field({ nullable: true }),
|
|
100074
|
+
__metadata("design:type", String)
|
|
100075
|
+
], CreateMJRemoteOperationInput.prototype, "CodeComments", void 0);
|
|
100076
|
+
__decorate([
|
|
100077
|
+
Field({ nullable: true }),
|
|
100078
|
+
__metadata("design:type", String)
|
|
100079
|
+
], CreateMJRemoteOperationInput.prototype, "Libraries", void 0);
|
|
100006
100080
|
__decorate([
|
|
100007
100081
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
100008
100082
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -100112,6 +100186,18 @@ __decorate([
|
|
|
100112
100186
|
Field(() => Int, { nullable: true }),
|
|
100113
100187
|
__metadata("design:type", Number)
|
|
100114
100188
|
], UpdateMJRemoteOperationInput.prototype, "MaxConcurrency", void 0);
|
|
100189
|
+
__decorate([
|
|
100190
|
+
Field(() => Boolean, { nullable: true }),
|
|
100191
|
+
__metadata("design:type", Boolean)
|
|
100192
|
+
], UpdateMJRemoteOperationInput.prototype, "CodeLocked", void 0);
|
|
100193
|
+
__decorate([
|
|
100194
|
+
Field({ nullable: true }),
|
|
100195
|
+
__metadata("design:type", String)
|
|
100196
|
+
], UpdateMJRemoteOperationInput.prototype, "CodeComments", void 0);
|
|
100197
|
+
__decorate([
|
|
100198
|
+
Field({ nullable: true }),
|
|
100199
|
+
__metadata("design:type", String)
|
|
100200
|
+
], UpdateMJRemoteOperationInput.prototype, "Libraries", void 0);
|
|
100115
100201
|
__decorate([
|
|
100116
100202
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
100117
100203
|
__metadata("design:type", Array)
|