@memberjunction/server 5.29.0 → 5.30.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/auth/newUsers.d.ts.map +1 -1
- package/dist/auth/newUsers.js +63 -70
- package/dist/auth/newUsers.js.map +1 -1
- package/dist/generated/generated.d.ts +126 -8
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +708 -61
- package/dist/generated/generated.js.map +1 -1
- package/dist/resolvers/IntegrationDiscoveryResolver.d.ts +100 -1
- package/dist/resolvers/IntegrationDiscoveryResolver.d.ts.map +1 -1
- package/dist/resolvers/IntegrationDiscoveryResolver.js +532 -41
- package/dist/resolvers/IntegrationDiscoveryResolver.js.map +1 -1
- package/dist/resolvers/SyncDataResolver.d.ts.map +1 -1
- package/dist/resolvers/SyncDataResolver.js +20 -12
- package/dist/resolvers/SyncDataResolver.js.map +1 -1
- package/dist/resolvers/SyncRolesUsersResolver.d.ts +20 -9
- package/dist/resolvers/SyncRolesUsersResolver.d.ts.map +1 -1
- package/dist/resolvers/SyncRolesUsersResolver.js +153 -116
- package/dist/resolvers/SyncRolesUsersResolver.js.map +1 -1
- package/dist/services/TaskOrchestrator.d.ts.map +1 -1
- package/dist/services/TaskOrchestrator.js +78 -79
- package/dist/services/TaskOrchestrator.js.map +1 -1
- package/package.json +66 -66
- package/src/auth/newUsers.ts +65 -74
- package/src/generated/generated.ts +503 -50
- package/src/resolvers/IntegrationDiscoveryResolver.ts +543 -43
- package/src/resolvers/SyncDataResolver.ts +24 -14
- package/src/resolvers/SyncRolesUsersResolver.ts +177 -141
- package/src/services/TaskOrchestrator.ts +86 -93
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"newUsers.d.ts","sourceRoot":"","sources":["../../src/auth/newUsers.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAoI,MAAM,+BAA+B,CAAC;AAE/L,qBAAa,WAAW;IACP,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,gBAAgB,GAAE,MAAe,EAAE,cAAc,CAAC,EAAE,MAAM,EAAE,oBAAoB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"newUsers.d.ts","sourceRoot":"","sources":["../../src/auth/newUsers.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAoI,MAAM,+BAA+B,CAAC;AAE/L,qBAAa,WAAW;IACP,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,gBAAgB,GAAE,MAAe,EAAE,cAAc,CAAC,EAAE,MAAM,EAAE,oBAAoB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC;CAkJ1M"}
|
package/dist/auth/newUsers.js
CHANGED
|
@@ -33,73 +33,66 @@ export class NewUserBase {
|
|
|
33
33
|
if (linkedEntityRecordId) {
|
|
34
34
|
user.LinkedEntityRecordID = linkedEntityRecordId;
|
|
35
35
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
for (const role of configInfo.userHandling.newUserRoles) {
|
|
45
|
-
const userRoleEntity = await md.GetEntityObject('MJ: User Roles', contextUser);
|
|
46
|
-
userRoleEntity.NewRecord();
|
|
47
|
-
userRoleEntity.UserID = user.ID;
|
|
48
|
-
const userRole = md.Roles.find(r => r.Name === role);
|
|
49
|
-
if (!userRole) {
|
|
50
|
-
LogError(`Role ${role} not found in the database, cannot assign to new user ${user.Name}`);
|
|
51
|
-
continue;
|
|
52
|
-
}
|
|
53
|
-
userRoleEntity.RoleID = userRole.ID;
|
|
54
|
-
const roleSaveResult = await userRoleEntity.Save();
|
|
55
|
-
if (roleSaveResult) {
|
|
56
|
-
LogStatus(`Assigned role ${role} to new user ${user.Name}`);
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
LogError(`Failed to assign role ${role} to new user ${user.Name}:`, undefined, userRoleEntity.LatestResult);
|
|
60
|
-
}
|
|
36
|
+
// Create the user and all of its role/application/app-entity records atomically.
|
|
37
|
+
// If any Save fails partway through, the whole provisioning rolls back so we never
|
|
38
|
+
// leave a half-created user with partial roles/applications behind.
|
|
39
|
+
const provider = Metadata.Provider;
|
|
40
|
+
await provider.BeginTransaction();
|
|
41
|
+
try {
|
|
42
|
+
if (!await user.Save()) {
|
|
43
|
+
throw new Error(`Failed to create new user ${firstName} ${lastName} ${email}: ${user.LatestResult?.CompleteMessage ?? 'unknown error'}`);
|
|
61
44
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
let applicationsToCreate = [];
|
|
70
|
-
if (configInfo.userHandling.UserApplications && configInfo.userHandling.UserApplications.length > 0) {
|
|
71
|
-
// Use explicitly configured applications
|
|
72
|
-
for (const appName of configInfo.userHandling.UserApplications) {
|
|
73
|
-
const toLowerCase = appName.trim().toLocaleLowerCase();
|
|
74
|
-
const application = md.Applications.find(a => a.Name.trim().toLocaleLowerCase() === toLowerCase);
|
|
75
|
-
if (application) {
|
|
76
|
-
applicationsToCreate.push(application);
|
|
45
|
+
if (configInfo.userHandling && configInfo.userHandling.newUserRoles) {
|
|
46
|
+
LogStatus(`User ${user.Email} created, assigning roles`);
|
|
47
|
+
for (const role of configInfo.userHandling.newUserRoles) {
|
|
48
|
+
const userRole = md.Roles.find(r => r.Name === role);
|
|
49
|
+
if (!userRole) {
|
|
50
|
+
LogError(`Role ${role} not found in the database, cannot assign to new user ${user.Name}`);
|
|
51
|
+
continue;
|
|
77
52
|
}
|
|
78
|
-
|
|
79
|
-
|
|
53
|
+
const userRoleEntity = await md.GetEntityObject('MJ: User Roles', contextUser);
|
|
54
|
+
userRoleEntity.NewRecord();
|
|
55
|
+
userRoleEntity.UserID = user.ID;
|
|
56
|
+
userRoleEntity.RoleID = userRole.ID;
|
|
57
|
+
if (!await userRoleEntity.Save()) {
|
|
58
|
+
throw new Error(`Failed to assign role ${role} to new user ${user.Name}: ${userRoleEntity.LatestResult?.CompleteMessage ?? 'unknown error'}`);
|
|
80
59
|
}
|
|
60
|
+
LogStatus(`Assigned role ${role} to new user ${user.Name}`);
|
|
81
61
|
}
|
|
82
62
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
63
|
+
if (configInfo.userHandling && configInfo.userHandling.CreateUserApplicationRecords) {
|
|
64
|
+
LogStatus("Creating User Applications for new user: " + user.Name);
|
|
65
|
+
let applicationsToCreate = [];
|
|
66
|
+
if (configInfo.userHandling.UserApplications && configInfo.userHandling.UserApplications.length > 0) {
|
|
67
|
+
for (const appName of configInfo.userHandling.UserApplications) {
|
|
68
|
+
const toLowerCase = appName.trim().toLocaleLowerCase();
|
|
69
|
+
const application = md.Applications.find(a => a.Name.trim().toLocaleLowerCase() === toLowerCase);
|
|
70
|
+
if (application) {
|
|
71
|
+
applicationsToCreate.push(application);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
LogError(`Application ${appName} not found in the Metadata, cannot assign to new user ${user.Name}`);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
LogStatus(`No UserApplications configured, using DefaultForNewUser applications for new user ${user.Name}`);
|
|
80
|
+
applicationsToCreate = md.Applications
|
|
81
|
+
.filter(a => a.DefaultForNewUser)
|
|
82
|
+
.sort((a, b) => (a.DefaultSequence ?? 100) - (b.DefaultSequence ?? 100));
|
|
83
|
+
LogStatus(`Found ${applicationsToCreate.length} applications with DefaultForNewUser=true`);
|
|
84
|
+
}
|
|
85
|
+
for (const [appIndex, application] of applicationsToCreate.entries()) {
|
|
86
|
+
const userApplication = await md.GetEntityObject('MJ: User Applications', contextUser);
|
|
87
|
+
userApplication.NewRecord();
|
|
88
|
+
userApplication.UserID = user.ID;
|
|
89
|
+
userApplication.ApplicationID = application.ID;
|
|
90
|
+
userApplication.Sequence = appIndex;
|
|
91
|
+
userApplication.IsActive = true;
|
|
92
|
+
if (!await userApplication.Save()) {
|
|
93
|
+
throw new Error(`Failed to create User Application ${application.Name} for new user ${user.Name}: ${userApplication.LatestResult?.CompleteMessage ?? 'unknown error'}`);
|
|
94
|
+
}
|
|
101
95
|
LogStatus(`Created User Application ${application.Name} for new user ${user.Name}`);
|
|
102
|
-
//now create a MJUserApplicationEntity records for each entity in the application
|
|
103
96
|
const rv = new RunView();
|
|
104
97
|
const rvResult = await rv.RunView({
|
|
105
98
|
EntityName: 'MJ: Application Entities',
|
|
@@ -116,19 +109,19 @@ export class NewUserBase {
|
|
|
116
109
|
userAppEntity.UserApplicationID = userApplication.ID;
|
|
117
110
|
userAppEntity.EntityID = appEntity.EntityID;
|
|
118
111
|
userAppEntity.Sequence = index;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
LogStatus(`Created User Application Entity ${appEntity.Entity} for new user ${user.Name}`);
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
LogError(`Failed to create User Application Entity for new user ${user.Name}:`, undefined, userAppEntity.LatestResult);
|
|
112
|
+
if (!await userAppEntity.Save()) {
|
|
113
|
+
throw new Error(`Failed to create User Application Entity for new user ${user.Name}: ${userAppEntity.LatestResult?.CompleteMessage ?? 'unknown error'}`);
|
|
125
114
|
}
|
|
115
|
+
LogStatus(`Created User Application Entity ${appEntity.Entity} for new user ${user.Name}`);
|
|
126
116
|
}
|
|
127
117
|
}
|
|
128
|
-
else {
|
|
129
|
-
LogError(`Failed to create User Application ${application.Name} for new user ${user.Name}:`, undefined, userApplication.LatestResult);
|
|
130
|
-
}
|
|
131
118
|
}
|
|
119
|
+
await provider.CommitTransaction();
|
|
120
|
+
}
|
|
121
|
+
catch (txErr) {
|
|
122
|
+
await provider.RollbackTransaction();
|
|
123
|
+
LogError(txErr);
|
|
124
|
+
return null;
|
|
132
125
|
}
|
|
133
126
|
return user;
|
|
134
127
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"newUsers.js","sourceRoot":"","sources":["../../src/auth/newUsers.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"newUsers.js","sourceRoot":"","sources":["../../src/auth/newUsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4D,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAA2B,MAAM,sBAAsB,CAAC;AAEjK,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,OAAO,WAAW;IACb,KAAK,CAAC,aAAa,CAAC,SAAiB,EAAE,QAAgB,EAAE,KAAa,EAAE,mBAA2B,MAAM,EAAE,cAAuB,EAAE,oBAA6B;QACpK,IAAI,CAAC;YACD,IAAI,WAAW,GAAoB,IAAI,CAAC;YAExC,MAAM,6BAA6B,GAAW,UAAU,EAAE,YAAY,EAAE,6BAA6B,CAAC;YACtG,IAAG,6BAA6B,EAAC,CAAC;gBAC9B,WAAW,GAAG,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAAC;YAC/E,CAAC;YAED,IAAI,CAAC,WAAW,EAAE,CAAC;gBACf,QAAQ,CAAC,+BAA+B,UAAU,EAAE,YAAY,EAAE,6BAA6B,sDAAsD,CAAC,CAAC;gBAEvJ,WAAW,GAAG,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAA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S,CAAC,IAAI,QAAQ,CAAC,OAAO,CAAC,OAAO,EAAE,EAAC,CAAC;4BACxD,MAAM,aAAa,GAAkC,MAAM,EAAE,CAAC,eAAe,CAAgC,+BAA+B,EAAE,WAAW,CAAC,CAAC;4BAC3J,aAAa,CAAC,SAAS,EAAE,CAAC;4BAC1B,aAAa,CAAC,iBAAiB,GAAG,eAAe,CAAC,EAAE,CAAC;4BACrD,aAAa,CAAC,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAC;4BAC5C,aAAa,CAAC,QAAQ,GAAG,KAAK,CAAC;4BAE/B,IAAI,CAAC,MAAM,aAAa,CAAC,IAAI,EAAE,EAAE,CAAC;gCAC9B,MAAM,IAAI,KAAK,CAAC,yDAAyD,IAAI,CAAC,IAAI,KAAK,aAAa,CAAC,YAAY,EAAE,eAAe,IAAI,eAAe,EAAE,CAAC,CAAC;4BAC7J,CAAC;4BACD,SAAS,CAAC,mCAAmC,SAAS,CAAC,MAAM,iBAAiB,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;wBAC/F,CAAC;oBACL,CAAC;gBACL,CAAC;gBAED,MAAM,QAAQ,CAAC,iBAAiB,EAAE,CAAC;YACvC,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACb,MAAM,QAAQ,CAAC,mBAAmB,EAAE,CAAC;gBACrC,QAAQ,CAAC,KAAK,CAAC,CAAC;gBAChB,OAAO,IAAI,CAAC;YAChB,CAAC;YAED,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,OAAO,CAAC,EAAE,CAAC;YACP,QAAQ,CAAC,CAAC,CAAC,CAAC;YACZ,OAAO,SAAS,CAAC;QACrB,CAAC;IACL,CAAC;CACJ"}
|
|
@@ -534,10 +534,14 @@ export declare class MJAction_ {
|
|
|
534
534
|
IconClass?: string;
|
|
535
535
|
DefaultCompactPromptID?: string;
|
|
536
536
|
Config?: string;
|
|
537
|
+
RuntimeActionConfiguration?: string;
|
|
538
|
+
MaxExecutionTimeMS?: number;
|
|
539
|
+
CreatedByAgentID?: string;
|
|
537
540
|
Category?: string;
|
|
538
541
|
CodeApprovedByUser?: string;
|
|
539
542
|
Parent?: string;
|
|
540
543
|
DefaultCompactPrompt?: string;
|
|
544
|
+
CreatedByAgent?: string;
|
|
541
545
|
RootParentID?: string;
|
|
542
546
|
MJActionParams_ActionIDArray: MJActionParam_[];
|
|
543
547
|
MJActionLibraries_ActionIDArray: MJActionLibrary_[];
|
|
@@ -575,6 +579,9 @@ export declare class CreateMJActionInput {
|
|
|
575
579
|
IconClass: string | null;
|
|
576
580
|
DefaultCompactPromptID: string | null;
|
|
577
581
|
Config: string | null;
|
|
582
|
+
RuntimeActionConfiguration: string | null;
|
|
583
|
+
MaxExecutionTimeMS: number | null;
|
|
584
|
+
CreatedByAgentID: string | null;
|
|
578
585
|
RestoreContext___?: RestoreContextInput;
|
|
579
586
|
}
|
|
580
587
|
export declare class UpdateMJActionInput {
|
|
@@ -600,6 +607,9 @@ export declare class UpdateMJActionInput {
|
|
|
600
607
|
IconClass?: string | null;
|
|
601
608
|
DefaultCompactPromptID?: string | null;
|
|
602
609
|
Config?: string | null;
|
|
610
|
+
RuntimeActionConfiguration?: string | null;
|
|
611
|
+
MaxExecutionTimeMS?: number | null;
|
|
612
|
+
CreatedByAgentID?: string | null;
|
|
603
613
|
OldValues___?: KeyValuePairInput[];
|
|
604
614
|
RestoreContext___?: RestoreContextInput;
|
|
605
615
|
}
|
|
@@ -1364,6 +1374,11 @@ export declare class MJAIAgentNote_ {
|
|
|
1364
1374
|
LastAccessedAt?: Date;
|
|
1365
1375
|
AccessCount: number;
|
|
1366
1376
|
ExpiresAt?: Date;
|
|
1377
|
+
ConsolidatedIntoNoteID?: string;
|
|
1378
|
+
ConsolidationCount: number;
|
|
1379
|
+
DerivedFromNoteIDs?: string;
|
|
1380
|
+
ProtectionTier: string;
|
|
1381
|
+
ImportanceScore?: number;
|
|
1367
1382
|
Agent?: string;
|
|
1368
1383
|
AgentNoteType?: string;
|
|
1369
1384
|
User?: string;
|
|
@@ -1373,6 +1388,9 @@ export declare class MJAIAgentNote_ {
|
|
|
1373
1388
|
Company?: string;
|
|
1374
1389
|
EmbeddingModel?: string;
|
|
1375
1390
|
PrimaryScopeEntity?: string;
|
|
1391
|
+
ConsolidatedIntoNote?: string;
|
|
1392
|
+
RootConsolidatedIntoNoteID?: string;
|
|
1393
|
+
MJAIAgentNotes_ConsolidatedIntoNoteIDArray: MJAIAgentNote_[];
|
|
1376
1394
|
}
|
|
1377
1395
|
export declare class CreateMJAIAgentNoteInput {
|
|
1378
1396
|
ID?: string;
|
|
@@ -1396,6 +1414,11 @@ export declare class CreateMJAIAgentNoteInput {
|
|
|
1396
1414
|
LastAccessedAt: Date | null;
|
|
1397
1415
|
AccessCount?: number;
|
|
1398
1416
|
ExpiresAt: Date | null;
|
|
1417
|
+
ConsolidatedIntoNoteID: string | null;
|
|
1418
|
+
ConsolidationCount?: number;
|
|
1419
|
+
DerivedFromNoteIDs: string | null;
|
|
1420
|
+
ProtectionTier?: string;
|
|
1421
|
+
ImportanceScore: number | null;
|
|
1399
1422
|
RestoreContext___?: RestoreContextInput;
|
|
1400
1423
|
}
|
|
1401
1424
|
export declare class UpdateMJAIAgentNoteInput {
|
|
@@ -1420,6 +1443,11 @@ export declare class UpdateMJAIAgentNoteInput {
|
|
|
1420
1443
|
LastAccessedAt?: Date | null;
|
|
1421
1444
|
AccessCount?: number;
|
|
1422
1445
|
ExpiresAt?: Date | null;
|
|
1446
|
+
ConsolidatedIntoNoteID?: string | null;
|
|
1447
|
+
ConsolidationCount?: number;
|
|
1448
|
+
DerivedFromNoteIDs?: string | null;
|
|
1449
|
+
ProtectionTier?: string;
|
|
1450
|
+
ImportanceScore?: number | null;
|
|
1423
1451
|
OldValues___?: KeyValuePairInput[];
|
|
1424
1452
|
RestoreContext___?: RestoreContextInput;
|
|
1425
1453
|
}
|
|
@@ -1437,6 +1465,7 @@ export declare class MJAIAgentNoteResolver extends ResolverBase {
|
|
|
1437
1465
|
RunMJAIAgentNoteViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
1438
1466
|
RunMJAIAgentNoteDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
1439
1467
|
MJAIAgentNote(ID: string, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJAIAgentNote_ | null>;
|
|
1468
|
+
MJAIAgentNotes_ConsolidatedIntoNoteIDArray(mjaiagentnote_: MJAIAgentNote_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
1440
1469
|
CreateMJAIAgentNote(input: CreateMJAIAgentNoteInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1441
1470
|
UpdateMJAIAgentNote(input: UpdateMJAIAgentNoteInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
1442
1471
|
DeleteMJAIAgentNote(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -1991,6 +2020,7 @@ export declare class MJAIAgentRun_ {
|
|
|
1991
2020
|
PrimaryScopeRecordID?: string;
|
|
1992
2021
|
SecondaryScopes?: string;
|
|
1993
2022
|
ExternalReferenceID?: string;
|
|
2023
|
+
CompanyID?: string;
|
|
1994
2024
|
Agent?: string;
|
|
1995
2025
|
ParentRun?: string;
|
|
1996
2026
|
Conversation?: string;
|
|
@@ -2059,6 +2089,7 @@ export declare class CreateMJAIAgentRunInput {
|
|
|
2059
2089
|
PrimaryScopeRecordID: string | null;
|
|
2060
2090
|
SecondaryScopes: string | null;
|
|
2061
2091
|
ExternalReferenceID: string | null;
|
|
2092
|
+
CompanyID: string | null;
|
|
2062
2093
|
RestoreContext___?: RestoreContextInput;
|
|
2063
2094
|
}
|
|
2064
2095
|
export declare class UpdateMJAIAgentRunInput {
|
|
@@ -2105,6 +2136,7 @@ export declare class UpdateMJAIAgentRunInput {
|
|
|
2105
2136
|
PrimaryScopeRecordID?: string | null;
|
|
2106
2137
|
SecondaryScopes?: string | null;
|
|
2107
2138
|
ExternalReferenceID?: string | null;
|
|
2139
|
+
CompanyID?: string | null;
|
|
2108
2140
|
OldValues___?: KeyValuePairInput[];
|
|
2109
2141
|
RestoreContext___?: RestoreContextInput;
|
|
2110
2142
|
}
|
|
@@ -2456,6 +2488,7 @@ export declare class MJAIAgent_ {
|
|
|
2456
2488
|
MJAIResultCache_AgentIDArray: MJAIResultCache_[];
|
|
2457
2489
|
MJConversationDetails_AgentIDArray: MJConversationDetail_[];
|
|
2458
2490
|
MJAIAgents_ParentIDArray: MJAIAgent_[];
|
|
2491
|
+
MJActions_CreatedByAgentIDArray: MJAction_[];
|
|
2459
2492
|
}
|
|
2460
2493
|
export declare class CreateMJAIAgentInput {
|
|
2461
2494
|
ID?: string;
|
|
@@ -2625,6 +2658,7 @@ export declare class MJAIAgentResolver extends ResolverBase {
|
|
|
2625
2658
|
MJAIResultCache_AgentIDArray(mjaiagent_: MJAIAgent_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
2626
2659
|
MJConversationDetails_AgentIDArray(mjaiagent_: MJAIAgent_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
2627
2660
|
MJAIAgents_ParentIDArray(mjaiagent_: MJAIAgent_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
2661
|
+
MJActions_CreatedByAgentIDArray(mjaiagent_: MJAIAgent_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
2628
2662
|
CreateMJAIAgent(input: CreateMJAIAgentInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
2629
2663
|
UpdateMJAIAgent(input: UpdateMJAIAgentInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
2630
2664
|
DeleteMJAIAgent(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -5258,6 +5292,7 @@ export declare class MJArchiveConfigurationEntityResolver extends ResolverBase {
|
|
|
5258
5292
|
RunMJArchiveConfigurationEntityViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
5259
5293
|
RunMJArchiveConfigurationEntityDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
5260
5294
|
MJArchiveConfigurationEntity(ID: string, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJArchiveConfigurationEntity_ | null>;
|
|
5295
|
+
AllMJArchiveConfigurationEntities({ userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5261
5296
|
CreateMJArchiveConfigurationEntity(input: CreateMJArchiveConfigurationEntityInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
5262
5297
|
UpdateMJArchiveConfigurationEntity(input: UpdateMJArchiveConfigurationEntityInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
5263
5298
|
DeleteMJArchiveConfigurationEntity(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -5330,6 +5365,7 @@ export declare class MJArchiveConfigurationResolver extends ResolverBase {
|
|
|
5330
5365
|
RunMJArchiveConfigurationViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
5331
5366
|
RunMJArchiveConfigurationDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
5332
5367
|
MJArchiveConfiguration(ID: string, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJArchiveConfiguration_ | null>;
|
|
5368
|
+
AllMJArchiveConfigurations({ userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5333
5369
|
MJArchiveConfigurationEntities_ArchiveConfigurationIDArray(mjarchiveconfiguration_: MJArchiveConfiguration_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5334
5370
|
MJArchiveRuns_ArchiveConfigurationIDArray(mjarchiveconfiguration_: MJArchiveConfiguration_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5335
5371
|
CreateMJArchiveConfiguration(input: CreateMJArchiveConfigurationInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -5350,6 +5386,7 @@ export declare class MJArchiveRunDetail_ {
|
|
|
5350
5386
|
IsRecordChangeArchive: boolean;
|
|
5351
5387
|
_mj__CreatedAt: Date;
|
|
5352
5388
|
_mj__UpdatedAt: Date;
|
|
5389
|
+
ArchiveRun: Date;
|
|
5353
5390
|
Entity: string;
|
|
5354
5391
|
}
|
|
5355
5392
|
export declare class CreateMJArchiveRunDetailInput {
|
|
@@ -5395,6 +5432,7 @@ export declare class MJArchiveRunDetailResolver extends ResolverBase {
|
|
|
5395
5432
|
RunMJArchiveRunDetailViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
5396
5433
|
RunMJArchiveRunDetailDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
5397
5434
|
MJArchiveRunDetail(ID: string, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJArchiveRunDetail_ | null>;
|
|
5435
|
+
AllMJArchiveRunDetails({ userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5398
5436
|
CreateMJArchiveRunDetail(input: CreateMJArchiveRunDetailInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
5399
5437
|
UpdateMJArchiveRunDetail(input: UpdateMJArchiveRunDetailInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
5400
5438
|
DeleteMJArchiveRunDetail(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -5463,6 +5501,7 @@ export declare class MJArchiveRunResolver extends ResolverBase {
|
|
|
5463
5501
|
RunMJArchiveRunViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
5464
5502
|
RunMJArchiveRunDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
5465
5503
|
MJArchiveRun(ID: string, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJArchiveRun_ | null>;
|
|
5504
|
+
AllMJArchiveRuns({ userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5466
5505
|
MJArchiveRunDetails_ArchiveRunIDArray(mjarchiverun_: MJArchiveRun_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
5467
5506
|
CreateMJArchiveRun(input: CreateMJArchiveRunInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
5468
5507
|
UpdateMJArchiveRun(input: UpdateMJArchiveRunInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -5537,6 +5576,7 @@ export declare class MJArtifactType_ {
|
|
|
5537
5576
|
DriverClass?: string;
|
|
5538
5577
|
Icon?: string;
|
|
5539
5578
|
ContentCategory: string;
|
|
5579
|
+
ToolLibraryClass?: string;
|
|
5540
5580
|
Parent?: string;
|
|
5541
5581
|
RootParentID?: string;
|
|
5542
5582
|
MJConversationArtifacts_ArtifactTypeIDArray: MJConversationArtifact_[];
|
|
@@ -5556,6 +5596,7 @@ export declare class CreateMJArtifactTypeInput {
|
|
|
5556
5596
|
DriverClass: string | null;
|
|
5557
5597
|
Icon: string | null;
|
|
5558
5598
|
ContentCategory?: string;
|
|
5599
|
+
ToolLibraryClass: string | null;
|
|
5559
5600
|
RestoreContext___?: RestoreContextInput;
|
|
5560
5601
|
}
|
|
5561
5602
|
export declare class UpdateMJArtifactTypeInput {
|
|
@@ -5569,6 +5610,7 @@ export declare class UpdateMJArtifactTypeInput {
|
|
|
5569
5610
|
DriverClass?: string | null;
|
|
5570
5611
|
Icon?: string | null;
|
|
5571
5612
|
ContentCategory?: string;
|
|
5613
|
+
ToolLibraryClass?: string | null;
|
|
5572
5614
|
OldValues___?: KeyValuePairInput[];
|
|
5573
5615
|
RestoreContext___?: RestoreContextInput;
|
|
5574
5616
|
}
|
|
@@ -11600,6 +11642,7 @@ export declare class MJEntityPermission_ {
|
|
|
11600
11642
|
DeleteRLSFilterID?: string;
|
|
11601
11643
|
_mj__CreatedAt: Date;
|
|
11602
11644
|
_mj__UpdatedAt: Date;
|
|
11645
|
+
Type: string;
|
|
11603
11646
|
Entity: string;
|
|
11604
11647
|
RoleName: string;
|
|
11605
11648
|
RoleSQLName?: string;
|
|
@@ -11620,6 +11663,7 @@ export declare class CreateMJEntityPermissionInput {
|
|
|
11620
11663
|
CreateRLSFilterID: string | null;
|
|
11621
11664
|
UpdateRLSFilterID: string | null;
|
|
11622
11665
|
DeleteRLSFilterID: string | null;
|
|
11666
|
+
Type?: string;
|
|
11623
11667
|
RestoreContext___?: RestoreContextInput;
|
|
11624
11668
|
}
|
|
11625
11669
|
export declare class UpdateMJEntityPermissionInput {
|
|
@@ -11634,6 +11678,7 @@ export declare class UpdateMJEntityPermissionInput {
|
|
|
11634
11678
|
CreateRLSFilterID?: string | null;
|
|
11635
11679
|
UpdateRLSFilterID?: string | null;
|
|
11636
11680
|
DeleteRLSFilterID?: string | null;
|
|
11681
|
+
Type?: string;
|
|
11637
11682
|
OldValues___?: KeyValuePairInput[];
|
|
11638
11683
|
RestoreContext___?: RestoreContextInput;
|
|
11639
11684
|
}
|
|
@@ -13824,12 +13869,14 @@ export declare class CreateMJMCPToolFavoriteInput {
|
|
|
13824
13869
|
ID?: string;
|
|
13825
13870
|
UserID?: string;
|
|
13826
13871
|
MCPServerToolID?: string;
|
|
13872
|
+
RestoreContext___?: RestoreContextInput;
|
|
13827
13873
|
}
|
|
13828
13874
|
export declare class UpdateMJMCPToolFavoriteInput {
|
|
13829
13875
|
ID: string;
|
|
13830
13876
|
UserID?: string;
|
|
13831
13877
|
MCPServerToolID?: string;
|
|
13832
13878
|
OldValues___?: KeyValuePairInput[];
|
|
13879
|
+
RestoreContext___?: RestoreContextInput;
|
|
13833
13880
|
}
|
|
13834
13881
|
export declare class RunMJMCPToolFavoriteViewResult {
|
|
13835
13882
|
Results: MJMCPToolFavorite_[];
|
|
@@ -14477,6 +14524,71 @@ export declare class MJOutputTriggerTypeResolver extends ResolverBase {
|
|
|
14477
14524
|
UpdateMJOutputTriggerType(input: UpdateMJOutputTriggerTypeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
14478
14525
|
DeleteMJOutputTriggerType(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
14479
14526
|
}
|
|
14527
|
+
export declare class MJPermissionDomain_ {
|
|
14528
|
+
ID: string;
|
|
14529
|
+
Name: string;
|
|
14530
|
+
Description?: string;
|
|
14531
|
+
ProviderClassName: string;
|
|
14532
|
+
SupportedGranteeTypes: string;
|
|
14533
|
+
SupportedActions: string;
|
|
14534
|
+
SupportsDeny: boolean;
|
|
14535
|
+
SupportsExpiration: boolean;
|
|
14536
|
+
SupportsHierarchyInheritance: boolean;
|
|
14537
|
+
IsActive: boolean;
|
|
14538
|
+
DisplayOrder: number;
|
|
14539
|
+
Icon?: string;
|
|
14540
|
+
_mj__CreatedAt: Date;
|
|
14541
|
+
_mj__UpdatedAt: Date;
|
|
14542
|
+
}
|
|
14543
|
+
export declare class CreateMJPermissionDomainInput {
|
|
14544
|
+
ID?: string;
|
|
14545
|
+
Name?: string;
|
|
14546
|
+
Description: string | null;
|
|
14547
|
+
ProviderClassName?: string;
|
|
14548
|
+
SupportedGranteeTypes?: string;
|
|
14549
|
+
SupportedActions?: string;
|
|
14550
|
+
SupportsDeny?: boolean;
|
|
14551
|
+
SupportsExpiration?: boolean;
|
|
14552
|
+
SupportsHierarchyInheritance?: boolean;
|
|
14553
|
+
IsActive?: boolean;
|
|
14554
|
+
DisplayOrder?: number;
|
|
14555
|
+
Icon: string | null;
|
|
14556
|
+
RestoreContext___?: RestoreContextInput;
|
|
14557
|
+
}
|
|
14558
|
+
export declare class UpdateMJPermissionDomainInput {
|
|
14559
|
+
ID: string;
|
|
14560
|
+
Name?: string;
|
|
14561
|
+
Description?: string | null;
|
|
14562
|
+
ProviderClassName?: string;
|
|
14563
|
+
SupportedGranteeTypes?: string;
|
|
14564
|
+
SupportedActions?: string;
|
|
14565
|
+
SupportsDeny?: boolean;
|
|
14566
|
+
SupportsExpiration?: boolean;
|
|
14567
|
+
SupportsHierarchyInheritance?: boolean;
|
|
14568
|
+
IsActive?: boolean;
|
|
14569
|
+
DisplayOrder?: number;
|
|
14570
|
+
Icon?: string | null;
|
|
14571
|
+
OldValues___?: KeyValuePairInput[];
|
|
14572
|
+
RestoreContext___?: RestoreContextInput;
|
|
14573
|
+
}
|
|
14574
|
+
export declare class RunMJPermissionDomainViewResult {
|
|
14575
|
+
Results: MJPermissionDomain_[];
|
|
14576
|
+
UserViewRunID?: string;
|
|
14577
|
+
RowCount: number;
|
|
14578
|
+
TotalRowCount: number;
|
|
14579
|
+
ExecutionTime: number;
|
|
14580
|
+
ErrorMessage?: string;
|
|
14581
|
+
Success: boolean;
|
|
14582
|
+
}
|
|
14583
|
+
export declare class MJPermissionDomainResolver extends ResolverBase {
|
|
14584
|
+
RunMJPermissionDomainViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
14585
|
+
RunMJPermissionDomainViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
14586
|
+
RunMJPermissionDomainDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
14587
|
+
MJPermissionDomain(ID: string, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJPermissionDomain_ | null>;
|
|
14588
|
+
CreateMJPermissionDomain(input: CreateMJPermissionDomainInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
14589
|
+
UpdateMJPermissionDomain(input: UpdateMJPermissionDomainInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
14590
|
+
DeleteMJPermissionDomain(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
14591
|
+
}
|
|
14480
14592
|
export declare class MJProject_ {
|
|
14481
14593
|
ID: string;
|
|
14482
14594
|
EnvironmentID: string;
|
|
@@ -16202,9 +16314,11 @@ export declare class MJResourcePermission_ {
|
|
|
16202
16314
|
_mj__CreatedAt: Date;
|
|
16203
16315
|
_mj__UpdatedAt: Date;
|
|
16204
16316
|
Status: string;
|
|
16317
|
+
SharedByUserID?: string;
|
|
16205
16318
|
ResourceType: string;
|
|
16206
16319
|
Role?: string;
|
|
16207
16320
|
User?: string;
|
|
16321
|
+
SharedByUser?: string;
|
|
16208
16322
|
}
|
|
16209
16323
|
export declare class CreateMJResourcePermissionInput {
|
|
16210
16324
|
ID?: string;
|
|
@@ -16217,6 +16331,7 @@ export declare class CreateMJResourcePermissionInput {
|
|
|
16217
16331
|
UserID: string | null;
|
|
16218
16332
|
PermissionLevel: string | null;
|
|
16219
16333
|
Status?: string;
|
|
16334
|
+
SharedByUserID: string | null;
|
|
16220
16335
|
RestoreContext___?: RestoreContextInput;
|
|
16221
16336
|
}
|
|
16222
16337
|
export declare class UpdateMJResourcePermissionInput {
|
|
@@ -16230,6 +16345,7 @@ export declare class UpdateMJResourcePermissionInput {
|
|
|
16230
16345
|
UserID?: string | null;
|
|
16231
16346
|
PermissionLevel?: string | null;
|
|
16232
16347
|
Status?: string;
|
|
16348
|
+
SharedByUserID?: string | null;
|
|
16233
16349
|
OldValues___?: KeyValuePairInput[];
|
|
16234
16350
|
RestoreContext___?: RestoreContextInput;
|
|
16235
16351
|
}
|
|
@@ -17230,8 +17346,8 @@ export declare class MJTag_ {
|
|
|
17230
17346
|
RootMergedIntoTagID?: string;
|
|
17231
17347
|
MJTags_ParentIDArray: MJTag_[];
|
|
17232
17348
|
MJTaggedItems_TagIDArray: MJTaggedItem_[];
|
|
17233
|
-
MJContentItemTags_TagIDArray: MJContentItemTag_[];
|
|
17234
17349
|
MJTagCoOccurrences_TagBIDArray: MJTagCoOccurrence_[];
|
|
17350
|
+
MJContentItemTags_TagIDArray: MJContentItemTag_[];
|
|
17235
17351
|
MJTagAuditLogs_RelatedTagIDArray: MJTagAuditLog_[];
|
|
17236
17352
|
MJTagCoOccurrences_TagAIDArray: MJTagCoOccurrence_[];
|
|
17237
17353
|
MJTags_MergedIntoTagIDArray: MJTag_[];
|
|
@@ -17274,8 +17390,8 @@ export declare class MJTagResolver extends ResolverBase {
|
|
|
17274
17390
|
MJTag(ID: string, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJTag_ | null>;
|
|
17275
17391
|
MJTags_ParentIDArray(mjtag_: MJTag_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
17276
17392
|
MJTaggedItems_TagIDArray(mjtag_: MJTag_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
17277
|
-
MJContentItemTags_TagIDArray(mjtag_: MJTag_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
17278
17393
|
MJTagCoOccurrences_TagBIDArray(mjtag_: MJTag_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
17394
|
+
MJContentItemTags_TagIDArray(mjtag_: MJTag_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
17279
17395
|
MJTagAuditLogs_RelatedTagIDArray(mjtag_: MJTag_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
17280
17396
|
MJTagCoOccurrences_TagAIDArray(mjtag_: MJTag_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
17281
17397
|
MJTags_MergedIntoTagIDArray(mjtag_: MJTag_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
@@ -19247,14 +19363,15 @@ export declare class MJUser_ {
|
|
|
19247
19363
|
MJMCPToolExecutionLogs_UserIDArray: MJMCPToolExecutionLog_[];
|
|
19248
19364
|
MJVersionLabelRestores_UserIDArray: MJVersionLabelRestore_[];
|
|
19249
19365
|
MJOAuthAuthorizationStates_UserIDArray: MJOAuthAuthorizationState_[];
|
|
19250
|
-
MJOpenAppInstallHistories_ExecutedByUserIDArray: MJOpenAppInstallHistory_[];
|
|
19251
19366
|
MJOpenApps_InstalledByUserIDArray: MJOpenApp_[];
|
|
19367
|
+
MJOpenAppInstallHistories_ExecutedByUserIDArray: MJOpenAppInstallHistory_[];
|
|
19252
19368
|
MJContentItemDuplicates_ResolvedByUserIDArray: MJContentItemDuplicate_[];
|
|
19253
|
-
MJTagAuditLogs_PerformedByUserIDArray: MJTagAuditLog_[];
|
|
19254
19369
|
MJContentProcessRuns_StartedByUserIDArray: MJContentProcessRun_[];
|
|
19255
19370
|
MJKnowledgeHubSavedSearches_UserIDArray: MJKnowledgeHubSavedSearch_[];
|
|
19256
|
-
|
|
19371
|
+
MJTagAuditLogs_PerformedByUserIDArray: MJTagAuditLog_[];
|
|
19257
19372
|
MJArchiveConfigurations_CreatedByUserIDArray: MJArchiveConfiguration_[];
|
|
19373
|
+
MJMCPToolFavorites_UserIDArray: MJMCPToolFavorite_[];
|
|
19374
|
+
MJResourcePermissions_SharedByUserIDArray: MJResourcePermission_[];
|
|
19258
19375
|
MJResourcePermissions_UserIDArray: MJResourcePermission_[];
|
|
19259
19376
|
MJAIAgentRequests_ResponseByUserIDArray: MJAIAgentRequest_[];
|
|
19260
19377
|
MJConversationDetails_UserIDArray: MJConversationDetail_[];
|
|
@@ -19389,14 +19506,15 @@ export declare class MJUserResolverBase extends ResolverBase {
|
|
|
19389
19506
|
MJMCPToolExecutionLogs_UserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19390
19507
|
MJVersionLabelRestores_UserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19391
19508
|
MJOAuthAuthorizationStates_UserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19392
|
-
MJOpenAppInstallHistories_ExecutedByUserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19393
19509
|
MJOpenApps_InstalledByUserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19510
|
+
MJOpenAppInstallHistories_ExecutedByUserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19394
19511
|
MJContentItemDuplicates_ResolvedByUserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19395
|
-
MJTagAuditLogs_PerformedByUserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19396
19512
|
MJContentProcessRuns_StartedByUserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19397
19513
|
MJKnowledgeHubSavedSearches_UserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19398
|
-
|
|
19514
|
+
MJTagAuditLogs_PerformedByUserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19399
19515
|
MJArchiveConfigurations_CreatedByUserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19516
|
+
MJMCPToolFavorites_UserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19517
|
+
MJResourcePermissions_SharedByUserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19400
19518
|
MJResourcePermissions_UserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19401
19519
|
MJAIAgentRequests_ResponseByUserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
19402
19520
|
MJConversationDetails_UserIDArray(mjuser_: MJUser_, { userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|