@memberjunction/server 3.2.0 → 3.3.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/README.md +47 -1
- package/dist/auth/APIKeyScopeAuth.d.ts +51 -0
- package/dist/auth/APIKeyScopeAuth.d.ts.map +1 -0
- package/dist/auth/APIKeyScopeAuth.js +163 -0
- package/dist/auth/APIKeyScopeAuth.js.map +1 -0
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +1 -0
- package/dist/auth/index.js.map +1 -1
- package/dist/context.d.ts +8 -1
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +44 -7
- package/dist/context.js.map +1 -1
- package/dist/generated/generated.d.ts +252 -2
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +1754 -209
- package/dist/generated/generated.js.map +1 -1
- package/dist/generic/ResolverBase.d.ts +2 -2
- package/dist/generic/ResolverBase.d.ts.map +1 -1
- package/dist/generic/ResolverBase.js +22 -4
- package/dist/generic/ResolverBase.js.map +1 -1
- package/dist/generic/RunViewResolver.d.ts +29 -1
- package/dist/generic/RunViewResolver.d.ts.map +1 -1
- package/dist/generic/RunViewResolver.js +143 -0
- package/dist/generic/RunViewResolver.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/resolvers/APIKeyResolver.d.ts +23 -0
- package/dist/resolvers/APIKeyResolver.d.ts.map +1 -0
- package/dist/resolvers/APIKeyResolver.js +191 -0
- package/dist/resolvers/APIKeyResolver.js.map +1 -0
- package/dist/resolvers/RunAIAgentResolver.js +1 -1
- package/dist/resolvers/RunAIAgentResolver.js.map +1 -1
- package/dist/resolvers/UserResolver.d.ts.map +1 -1
- package/dist/resolvers/UserResolver.js +31 -1
- package/dist/resolvers/UserResolver.js.map +1 -1
- package/dist/types.d.ts +4 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +46 -45
- package/src/auth/APIKeyScopeAuth.ts +366 -0
- package/src/auth/index.ts +1 -0
- package/src/context.ts +91 -9
- package/src/generated/generated.ts +987 -14
- package/src/generic/ResolverBase.ts +38 -5
- package/src/generic/RunViewResolver.ts +132 -5
- package/src/index.ts +2 -0
- package/src/resolvers/APIKeyResolver.ts +234 -0
- package/src/resolvers/RunAIAgentResolver.ts +1 -1
- package/src/resolvers/UserResolver.ts +37 -1
- package/src/types.ts +7 -2
|
@@ -796,6 +796,12 @@ export declare class MJAIAgentNote_ {
|
|
|
796
796
|
CompanyID?: string;
|
|
797
797
|
EmbeddingVector?: string;
|
|
798
798
|
EmbeddingModelID?: string;
|
|
799
|
+
PrimaryScopeEntityID?: string;
|
|
800
|
+
PrimaryScopeRecordID?: string;
|
|
801
|
+
SecondaryScopes?: string;
|
|
802
|
+
LastAccessedAt?: Date;
|
|
803
|
+
AccessCount: number;
|
|
804
|
+
ExpiresAt?: Date;
|
|
799
805
|
Agent?: string;
|
|
800
806
|
AgentNoteType?: string;
|
|
801
807
|
User?: string;
|
|
@@ -804,6 +810,7 @@ export declare class MJAIAgentNote_ {
|
|
|
804
810
|
SourceAIAgentRun?: string;
|
|
805
811
|
Company?: string;
|
|
806
812
|
EmbeddingModel?: string;
|
|
813
|
+
PrimaryScopeEntity?: string;
|
|
807
814
|
}
|
|
808
815
|
export declare class CreateMJAIAgentNoteInput {
|
|
809
816
|
ID?: string;
|
|
@@ -821,6 +828,12 @@ export declare class CreateMJAIAgentNoteInput {
|
|
|
821
828
|
CompanyID: string | null;
|
|
822
829
|
EmbeddingVector: string | null;
|
|
823
830
|
EmbeddingModelID: string | null;
|
|
831
|
+
PrimaryScopeEntityID: string | null;
|
|
832
|
+
PrimaryScopeRecordID: string | null;
|
|
833
|
+
SecondaryScopes: string | null;
|
|
834
|
+
LastAccessedAt: Date | null;
|
|
835
|
+
AccessCount?: number;
|
|
836
|
+
ExpiresAt: Date | null;
|
|
824
837
|
}
|
|
825
838
|
export declare class UpdateMJAIAgentNoteInput {
|
|
826
839
|
ID: string;
|
|
@@ -838,6 +851,12 @@ export declare class UpdateMJAIAgentNoteInput {
|
|
|
838
851
|
CompanyID?: string | null;
|
|
839
852
|
EmbeddingVector?: string | null;
|
|
840
853
|
EmbeddingModelID?: string | null;
|
|
854
|
+
PrimaryScopeEntityID?: string | null;
|
|
855
|
+
PrimaryScopeRecordID?: string | null;
|
|
856
|
+
SecondaryScopes?: string | null;
|
|
857
|
+
LastAccessedAt?: Date | null;
|
|
858
|
+
AccessCount?: number;
|
|
859
|
+
ExpiresAt?: Date | null;
|
|
841
860
|
OldValues___?: KeyValuePairInput[];
|
|
842
861
|
}
|
|
843
862
|
export declare class RunMJAIAgentNoteViewResult {
|
|
@@ -975,6 +994,11 @@ export declare class MJAIAgent_ {
|
|
|
975
994
|
AttachmentRootPath?: string;
|
|
976
995
|
InlineStorageThresholdBytes?: number;
|
|
977
996
|
AgentTypePromptParams?: string;
|
|
997
|
+
ScopeConfig?: string;
|
|
998
|
+
NoteRetentionDays?: number;
|
|
999
|
+
ExampleRetentionDays?: number;
|
|
1000
|
+
AutoArchiveEnabled: boolean;
|
|
1001
|
+
RerankerConfiguration?: string;
|
|
978
1002
|
Parent?: string;
|
|
979
1003
|
ContextCompressionPrompt?: string;
|
|
980
1004
|
Type?: string;
|
|
@@ -1060,6 +1084,11 @@ export declare class CreateMJAIAgentInput {
|
|
|
1060
1084
|
AttachmentRootPath: string | null;
|
|
1061
1085
|
InlineStorageThresholdBytes: number | null;
|
|
1062
1086
|
AgentTypePromptParams: string | null;
|
|
1087
|
+
ScopeConfig: string | null;
|
|
1088
|
+
NoteRetentionDays?: number | null;
|
|
1089
|
+
ExampleRetentionDays?: number | null;
|
|
1090
|
+
AutoArchiveEnabled?: boolean;
|
|
1091
|
+
RerankerConfiguration: string | null;
|
|
1063
1092
|
}
|
|
1064
1093
|
export declare class UpdateMJAIAgentInput {
|
|
1065
1094
|
ID: string;
|
|
@@ -1116,6 +1145,11 @@ export declare class UpdateMJAIAgentInput {
|
|
|
1116
1145
|
AttachmentRootPath?: string | null;
|
|
1117
1146
|
InlineStorageThresholdBytes?: number | null;
|
|
1118
1147
|
AgentTypePromptParams?: string | null;
|
|
1148
|
+
ScopeConfig?: string | null;
|
|
1149
|
+
NoteRetentionDays?: number | null;
|
|
1150
|
+
ExampleRetentionDays?: number | null;
|
|
1151
|
+
AutoArchiveEnabled?: boolean;
|
|
1152
|
+
RerankerConfiguration?: string | null;
|
|
1119
1153
|
OldValues___?: KeyValuePairInput[];
|
|
1120
1154
|
}
|
|
1121
1155
|
export declare class RunMJAIAgentViewResult {
|
|
@@ -4257,9 +4291,12 @@ export declare class MJEntity_ {
|
|
|
4257
4291
|
QueryEntities_EntityIDArray: MJQueryEntity_[];
|
|
4258
4292
|
MJ_AccessControlRules_EntityIDArray: MJAccessControlRule_[];
|
|
4259
4293
|
MJ_RecordLinks_SourceEntityIDArray: MJRecordLink_[];
|
|
4294
|
+
MJ_AIAgentExamples_PrimaryScopeEntityIDArray: MJAIAgentExample_[];
|
|
4295
|
+
AIAgentNotes_PrimaryScopeEntityIDArray: MJAIAgentNote_[];
|
|
4260
4296
|
GeneratedCodes_LinkedEntityIDArray: MJGeneratedCode_[];
|
|
4261
4297
|
MJ_RecordLinks_TargetEntityIDArray: MJRecordLink_[];
|
|
4262
4298
|
MJ_TestRuns_TargetLogEntityIDArray: MJTestRun_[];
|
|
4299
|
+
MJ_AIAgentRuns_PrimaryScopeEntityIDArray: MJAIAgentRun_[];
|
|
4263
4300
|
}
|
|
4264
4301
|
export declare class CreateMJEntityInput {
|
|
4265
4302
|
ID?: string;
|
|
@@ -4425,9 +4462,12 @@ export declare class MJEntityResolverBase extends ResolverBase {
|
|
|
4425
4462
|
QueryEntities_EntityIDArray(mjentity_: MJEntity_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
4426
4463
|
MJ_AccessControlRules_EntityIDArray(mjentity_: MJEntity_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
4427
4464
|
MJ_RecordLinks_SourceEntityIDArray(mjentity_: MJEntity_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
4465
|
+
MJ_AIAgentExamples_PrimaryScopeEntityIDArray(mjentity_: MJEntity_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
4466
|
+
AIAgentNotes_PrimaryScopeEntityIDArray(mjentity_: MJEntity_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
4428
4467
|
GeneratedCodes_LinkedEntityIDArray(mjentity_: MJEntity_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
4429
4468
|
MJ_RecordLinks_TargetEntityIDArray(mjentity_: MJEntity_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
4430
4469
|
MJ_TestRuns_TargetLogEntityIDArray(mjentity_: MJEntity_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
4470
|
+
MJ_AIAgentRuns_PrimaryScopeEntityIDArray(mjentity_: MJEntity_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
4431
4471
|
CreateMJEntity(input: CreateMJEntityInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
4432
4472
|
UpdateMJEntity(input: UpdateMJEntityInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
4433
4473
|
DeleteMJEntity(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -6591,6 +6631,12 @@ export declare class MJAIAgentExample_ {
|
|
|
6591
6631
|
_mj__UpdatedAt: Date;
|
|
6592
6632
|
EmbeddingVector?: string;
|
|
6593
6633
|
EmbeddingModelID?: string;
|
|
6634
|
+
PrimaryScopeEntityID?: string;
|
|
6635
|
+
PrimaryScopeRecordID?: string;
|
|
6636
|
+
SecondaryScopes?: string;
|
|
6637
|
+
LastAccessedAt?: Date;
|
|
6638
|
+
AccessCount: number;
|
|
6639
|
+
ExpiresAt?: Date;
|
|
6594
6640
|
Agent?: string;
|
|
6595
6641
|
User?: string;
|
|
6596
6642
|
Company?: string;
|
|
@@ -6598,6 +6644,7 @@ export declare class MJAIAgentExample_ {
|
|
|
6598
6644
|
SourceConversationDetail?: string;
|
|
6599
6645
|
SourceAIAgentRun?: string;
|
|
6600
6646
|
EmbeddingModel?: string;
|
|
6647
|
+
PrimaryScopeEntity?: string;
|
|
6601
6648
|
}
|
|
6602
6649
|
export declare class CreateMJAIAgentExampleInput {
|
|
6603
6650
|
ID?: string;
|
|
@@ -6616,6 +6663,12 @@ export declare class CreateMJAIAgentExampleInput {
|
|
|
6616
6663
|
Status?: string;
|
|
6617
6664
|
EmbeddingVector: string | null;
|
|
6618
6665
|
EmbeddingModelID: string | null;
|
|
6666
|
+
PrimaryScopeEntityID: string | null;
|
|
6667
|
+
PrimaryScopeRecordID: string | null;
|
|
6668
|
+
SecondaryScopes: string | null;
|
|
6669
|
+
LastAccessedAt: Date | null;
|
|
6670
|
+
AccessCount?: number;
|
|
6671
|
+
ExpiresAt: Date | null;
|
|
6619
6672
|
}
|
|
6620
6673
|
export declare class UpdateMJAIAgentExampleInput {
|
|
6621
6674
|
ID: string;
|
|
@@ -6634,6 +6687,12 @@ export declare class UpdateMJAIAgentExampleInput {
|
|
|
6634
6687
|
Status?: string;
|
|
6635
6688
|
EmbeddingVector?: string | null;
|
|
6636
6689
|
EmbeddingModelID?: string | null;
|
|
6690
|
+
PrimaryScopeEntityID?: string | null;
|
|
6691
|
+
PrimaryScopeRecordID?: string | null;
|
|
6692
|
+
SecondaryScopes?: string | null;
|
|
6693
|
+
LastAccessedAt?: Date | null;
|
|
6694
|
+
AccessCount?: number;
|
|
6695
|
+
ExpiresAt?: Date | null;
|
|
6637
6696
|
OldValues___?: KeyValuePairInput[];
|
|
6638
6697
|
}
|
|
6639
6698
|
export declare class RunMJAIAgentExampleViewResult {
|
|
@@ -7090,6 +7149,9 @@ export declare class MJAIAgentRun_ {
|
|
|
7090
7149
|
Comments?: string;
|
|
7091
7150
|
ScheduledJobRunID?: string;
|
|
7092
7151
|
TestRunID?: string;
|
|
7152
|
+
PrimaryScopeEntityID?: string;
|
|
7153
|
+
PrimaryScopeRecordID?: string;
|
|
7154
|
+
SecondaryScopes?: string;
|
|
7093
7155
|
Agent?: string;
|
|
7094
7156
|
ParentRun?: string;
|
|
7095
7157
|
Conversation?: string;
|
|
@@ -7101,6 +7163,7 @@ export declare class MJAIAgentRun_ {
|
|
|
7101
7163
|
OverrideVendor?: string;
|
|
7102
7164
|
ScheduledJobRun?: string;
|
|
7103
7165
|
TestRun?: string;
|
|
7166
|
+
PrimaryScopeEntity?: string;
|
|
7104
7167
|
RootParentRunID?: string;
|
|
7105
7168
|
RootLastRunID?: string;
|
|
7106
7169
|
MJ_AIAgentRunSteps_AgentRunIDArray: MJAIAgentRunStep_[];
|
|
@@ -7150,6 +7213,9 @@ export declare class CreateMJAIAgentRunInput {
|
|
|
7150
7213
|
Comments: string | null;
|
|
7151
7214
|
ScheduledJobRunID: string | null;
|
|
7152
7215
|
TestRunID: string | null;
|
|
7216
|
+
PrimaryScopeEntityID: string | null;
|
|
7217
|
+
PrimaryScopeRecordID: string | null;
|
|
7218
|
+
SecondaryScopes: string | null;
|
|
7153
7219
|
}
|
|
7154
7220
|
export declare class UpdateMJAIAgentRunInput {
|
|
7155
7221
|
ID: string;
|
|
@@ -7191,6 +7257,9 @@ export declare class UpdateMJAIAgentRunInput {
|
|
|
7191
7257
|
Comments?: string | null;
|
|
7192
7258
|
ScheduledJobRunID?: string | null;
|
|
7193
7259
|
TestRunID?: string | null;
|
|
7260
|
+
PrimaryScopeEntityID?: string | null;
|
|
7261
|
+
PrimaryScopeRecordID?: string | null;
|
|
7262
|
+
SecondaryScopes?: string | null;
|
|
7194
7263
|
OldValues___?: KeyValuePairInput[];
|
|
7195
7264
|
}
|
|
7196
7265
|
export declare class RunMJAIAgentRunViewResult {
|
|
@@ -8646,12 +8715,149 @@ export declare class MJAIVendorResolver extends ResolverBase {
|
|
|
8646
8715
|
UpdateMJAIVendor(input: UpdateMJAIVendorInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8647
8716
|
DeleteMJAIVendor(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8648
8717
|
}
|
|
8718
|
+
export declare class MJAPIApplicationScope_ {
|
|
8719
|
+
ID: string;
|
|
8720
|
+
ApplicationID: string;
|
|
8721
|
+
ScopeID: string;
|
|
8722
|
+
ResourcePattern?: string;
|
|
8723
|
+
PatternType: string;
|
|
8724
|
+
IsDeny: boolean;
|
|
8725
|
+
Priority: number;
|
|
8726
|
+
_mj__CreatedAt: Date;
|
|
8727
|
+
_mj__UpdatedAt: Date;
|
|
8728
|
+
Application: string;
|
|
8729
|
+
Scope: string;
|
|
8730
|
+
}
|
|
8731
|
+
export declare class CreateMJAPIApplicationScopeInput {
|
|
8732
|
+
ID?: string;
|
|
8733
|
+
ApplicationID?: string;
|
|
8734
|
+
ScopeID?: string;
|
|
8735
|
+
ResourcePattern: string | null;
|
|
8736
|
+
PatternType?: string;
|
|
8737
|
+
IsDeny?: boolean;
|
|
8738
|
+
Priority?: number;
|
|
8739
|
+
}
|
|
8740
|
+
export declare class UpdateMJAPIApplicationScopeInput {
|
|
8741
|
+
ID: string;
|
|
8742
|
+
ApplicationID?: string;
|
|
8743
|
+
ScopeID?: string;
|
|
8744
|
+
ResourcePattern?: string | null;
|
|
8745
|
+
PatternType?: string;
|
|
8746
|
+
IsDeny?: boolean;
|
|
8747
|
+
Priority?: number;
|
|
8748
|
+
OldValues___?: KeyValuePairInput[];
|
|
8749
|
+
}
|
|
8750
|
+
export declare class RunMJAPIApplicationScopeViewResult {
|
|
8751
|
+
Results: MJAPIApplicationScope_[];
|
|
8752
|
+
UserViewRunID?: string;
|
|
8753
|
+
RowCount: number;
|
|
8754
|
+
TotalRowCount: number;
|
|
8755
|
+
ExecutionTime: number;
|
|
8756
|
+
ErrorMessage?: string;
|
|
8757
|
+
Success: boolean;
|
|
8758
|
+
}
|
|
8759
|
+
export declare class MJAPIApplicationScopeResolver extends ResolverBase {
|
|
8760
|
+
RunMJAPIApplicationScopeViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8761
|
+
RunMJAPIApplicationScopeViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8762
|
+
RunMJAPIApplicationScopeDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8763
|
+
MJAPIApplicationScope(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJAPIApplicationScope_ | null>;
|
|
8764
|
+
CreateMJAPIApplicationScope(input: CreateMJAPIApplicationScopeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8765
|
+
UpdateMJAPIApplicationScope(input: UpdateMJAPIApplicationScopeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8766
|
+
DeleteMJAPIApplicationScope(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8767
|
+
}
|
|
8768
|
+
export declare class MJAPIApplication_ {
|
|
8769
|
+
ID: string;
|
|
8770
|
+
Name: string;
|
|
8771
|
+
Description?: string;
|
|
8772
|
+
IsActive: boolean;
|
|
8773
|
+
_mj__CreatedAt: Date;
|
|
8774
|
+
_mj__UpdatedAt: Date;
|
|
8775
|
+
MJ_APIApplicationScopes_ApplicationIDArray: MJAPIApplicationScope_[];
|
|
8776
|
+
MJ_APIKeyUsageLogs_ApplicationIDArray: MJAPIKeyUsageLog_[];
|
|
8777
|
+
MJ_APIKeyApplications_ApplicationIDArray: MJAPIKeyApplication_[];
|
|
8778
|
+
}
|
|
8779
|
+
export declare class CreateMJAPIApplicationInput {
|
|
8780
|
+
ID?: string;
|
|
8781
|
+
Name?: string;
|
|
8782
|
+
Description: string | null;
|
|
8783
|
+
IsActive?: boolean;
|
|
8784
|
+
}
|
|
8785
|
+
export declare class UpdateMJAPIApplicationInput {
|
|
8786
|
+
ID: string;
|
|
8787
|
+
Name?: string;
|
|
8788
|
+
Description?: string | null;
|
|
8789
|
+
IsActive?: boolean;
|
|
8790
|
+
OldValues___?: KeyValuePairInput[];
|
|
8791
|
+
}
|
|
8792
|
+
export declare class RunMJAPIApplicationViewResult {
|
|
8793
|
+
Results: MJAPIApplication_[];
|
|
8794
|
+
UserViewRunID?: string;
|
|
8795
|
+
RowCount: number;
|
|
8796
|
+
TotalRowCount: number;
|
|
8797
|
+
ExecutionTime: number;
|
|
8798
|
+
ErrorMessage?: string;
|
|
8799
|
+
Success: boolean;
|
|
8800
|
+
}
|
|
8801
|
+
export declare class MJAPIApplicationResolver extends ResolverBase {
|
|
8802
|
+
RunMJAPIApplicationViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8803
|
+
RunMJAPIApplicationViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8804
|
+
RunMJAPIApplicationDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8805
|
+
MJAPIApplication(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJAPIApplication_ | null>;
|
|
8806
|
+
MJ_APIApplicationScopes_ApplicationIDArray(mjapiapplication_: MJAPIApplication_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
8807
|
+
MJ_APIKeyUsageLogs_ApplicationIDArray(mjapiapplication_: MJAPIApplication_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
8808
|
+
MJ_APIKeyApplications_ApplicationIDArray(mjapiapplication_: MJAPIApplication_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
8809
|
+
CreateMJAPIApplication(input: CreateMJAPIApplicationInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8810
|
+
UpdateMJAPIApplication(input: UpdateMJAPIApplicationInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8811
|
+
DeleteMJAPIApplication(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8812
|
+
}
|
|
8813
|
+
export declare class MJAPIKeyApplication_ {
|
|
8814
|
+
ID: string;
|
|
8815
|
+
APIKeyID: string;
|
|
8816
|
+
ApplicationID: string;
|
|
8817
|
+
_mj__CreatedAt: Date;
|
|
8818
|
+
_mj__UpdatedAt: Date;
|
|
8819
|
+
APIKey: string;
|
|
8820
|
+
Application: string;
|
|
8821
|
+
}
|
|
8822
|
+
export declare class CreateMJAPIKeyApplicationInput {
|
|
8823
|
+
ID?: string;
|
|
8824
|
+
APIKeyID?: string;
|
|
8825
|
+
ApplicationID?: string;
|
|
8826
|
+
}
|
|
8827
|
+
export declare class UpdateMJAPIKeyApplicationInput {
|
|
8828
|
+
ID: string;
|
|
8829
|
+
APIKeyID?: string;
|
|
8830
|
+
ApplicationID?: string;
|
|
8831
|
+
OldValues___?: KeyValuePairInput[];
|
|
8832
|
+
}
|
|
8833
|
+
export declare class RunMJAPIKeyApplicationViewResult {
|
|
8834
|
+
Results: MJAPIKeyApplication_[];
|
|
8835
|
+
UserViewRunID?: string;
|
|
8836
|
+
RowCount: number;
|
|
8837
|
+
TotalRowCount: number;
|
|
8838
|
+
ExecutionTime: number;
|
|
8839
|
+
ErrorMessage?: string;
|
|
8840
|
+
Success: boolean;
|
|
8841
|
+
}
|
|
8842
|
+
export declare class MJAPIKeyApplicationResolver extends ResolverBase {
|
|
8843
|
+
RunMJAPIKeyApplicationViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8844
|
+
RunMJAPIKeyApplicationViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8845
|
+
RunMJAPIKeyApplicationDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8846
|
+
MJAPIKeyApplication(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJAPIKeyApplication_ | null>;
|
|
8847
|
+
CreateMJAPIKeyApplication(input: CreateMJAPIKeyApplicationInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8848
|
+
UpdateMJAPIKeyApplication(input: UpdateMJAPIKeyApplicationInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8849
|
+
DeleteMJAPIKeyApplication(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8850
|
+
}
|
|
8649
8851
|
export declare class MJAPIKeyScope_ {
|
|
8650
8852
|
ID: string;
|
|
8651
8853
|
APIKeyID: string;
|
|
8652
8854
|
ScopeID: string;
|
|
8653
8855
|
_mj__CreatedAt: Date;
|
|
8654
8856
|
_mj__UpdatedAt: Date;
|
|
8857
|
+
ResourcePattern?: string;
|
|
8858
|
+
PatternType: string;
|
|
8859
|
+
IsDeny: boolean;
|
|
8860
|
+
Priority: number;
|
|
8655
8861
|
APIKey: string;
|
|
8656
8862
|
Scope: string;
|
|
8657
8863
|
}
|
|
@@ -8659,11 +8865,19 @@ export declare class CreateMJAPIKeyScopeInput {
|
|
|
8659
8865
|
ID?: string;
|
|
8660
8866
|
APIKeyID?: string;
|
|
8661
8867
|
ScopeID?: string;
|
|
8868
|
+
ResourcePattern: string | null;
|
|
8869
|
+
PatternType?: string;
|
|
8870
|
+
IsDeny?: boolean;
|
|
8871
|
+
Priority?: number;
|
|
8662
8872
|
}
|
|
8663
8873
|
export declare class UpdateMJAPIKeyScopeInput {
|
|
8664
8874
|
ID: string;
|
|
8665
8875
|
APIKeyID?: string;
|
|
8666
8876
|
ScopeID?: string;
|
|
8877
|
+
ResourcePattern?: string | null;
|
|
8878
|
+
PatternType?: string;
|
|
8879
|
+
IsDeny?: boolean;
|
|
8880
|
+
Priority?: number;
|
|
8667
8881
|
OldValues___?: KeyValuePairInput[];
|
|
8668
8882
|
}
|
|
8669
8883
|
export declare class RunMJAPIKeyScopeViewResult {
|
|
@@ -8696,7 +8910,13 @@ export declare class MJAPIKeyUsageLog_ {
|
|
|
8696
8910
|
UserAgent?: string;
|
|
8697
8911
|
_mj__CreatedAt: Date;
|
|
8698
8912
|
_mj__UpdatedAt: Date;
|
|
8913
|
+
ApplicationID?: string;
|
|
8914
|
+
RequestedResource?: string;
|
|
8915
|
+
ScopesEvaluated?: string;
|
|
8916
|
+
AuthorizationResult: string;
|
|
8917
|
+
DeniedReason?: string;
|
|
8699
8918
|
APIKey: string;
|
|
8919
|
+
Application?: string;
|
|
8700
8920
|
}
|
|
8701
8921
|
export declare class CreateMJAPIKeyUsageLogInput {
|
|
8702
8922
|
ID?: string;
|
|
@@ -8708,6 +8928,11 @@ export declare class CreateMJAPIKeyUsageLogInput {
|
|
|
8708
8928
|
ResponseTimeMs: number | null;
|
|
8709
8929
|
IPAddress: string | null;
|
|
8710
8930
|
UserAgent: string | null;
|
|
8931
|
+
ApplicationID: string | null;
|
|
8932
|
+
RequestedResource: string | null;
|
|
8933
|
+
ScopesEvaluated: string | null;
|
|
8934
|
+
AuthorizationResult?: string;
|
|
8935
|
+
DeniedReason: string | null;
|
|
8711
8936
|
}
|
|
8712
8937
|
export declare class UpdateMJAPIKeyUsageLogInput {
|
|
8713
8938
|
ID: string;
|
|
@@ -8719,6 +8944,11 @@ export declare class UpdateMJAPIKeyUsageLogInput {
|
|
|
8719
8944
|
ResponseTimeMs?: number | null;
|
|
8720
8945
|
IPAddress?: string | null;
|
|
8721
8946
|
UserAgent?: string | null;
|
|
8947
|
+
ApplicationID?: string | null;
|
|
8948
|
+
RequestedResource?: string | null;
|
|
8949
|
+
ScopesEvaluated?: string | null;
|
|
8950
|
+
AuthorizationResult?: string;
|
|
8951
|
+
DeniedReason?: string | null;
|
|
8722
8952
|
OldValues___?: KeyValuePairInput[];
|
|
8723
8953
|
}
|
|
8724
8954
|
export declare class RunMJAPIKeyUsageLogViewResult {
|
|
@@ -8755,6 +8985,7 @@ export declare class MJAPIKey_ {
|
|
|
8755
8985
|
CreatedByUser: string;
|
|
8756
8986
|
MJ_APIKeyUsageLogs_APIKeyIDArray: MJAPIKeyUsageLog_[];
|
|
8757
8987
|
MJ_APIKeyScopes_APIKeyIDArray: MJAPIKeyScope_[];
|
|
8988
|
+
MJ_APIKeyApplications_APIKeyIDArray: MJAPIKeyApplication_[];
|
|
8758
8989
|
}
|
|
8759
8990
|
export declare class CreateMJAPIKeyInput {
|
|
8760
8991
|
ID?: string;
|
|
@@ -8795,6 +9026,7 @@ export declare class MJAPIKeyResolver extends ResolverBase {
|
|
|
8795
9026
|
MJAPIKey(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJAPIKey_ | null>;
|
|
8796
9027
|
MJ_APIKeyUsageLogs_APIKeyIDArray(mjapikey_: MJAPIKey_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
8797
9028
|
MJ_APIKeyScopes_APIKeyIDArray(mjapikey_: MJAPIKey_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
9029
|
+
MJ_APIKeyApplications_APIKeyIDArray(mjapikey_: MJAPIKey_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
8798
9030
|
CreateMJAPIKey(input: CreateMJAPIKeyInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8799
9031
|
UpdateMJAPIKey(input: UpdateMJAPIKeyInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8800
9032
|
DeleteMJAPIKey(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -8806,19 +9038,35 @@ export declare class MJAPIScope_ {
|
|
|
8806
9038
|
Description?: string;
|
|
8807
9039
|
_mj__CreatedAt: Date;
|
|
8808
9040
|
_mj__UpdatedAt: Date;
|
|
9041
|
+
ParentID?: string;
|
|
9042
|
+
FullPath: string;
|
|
9043
|
+
ResourceType?: string;
|
|
9044
|
+
IsActive: boolean;
|
|
9045
|
+
Parent?: string;
|
|
9046
|
+
RootParentID?: string;
|
|
8809
9047
|
MJ_APIKeyScopes_ScopeIDArray: MJAPIKeyScope_[];
|
|
9048
|
+
MJ_APIApplicationScopes_ScopeIDArray: MJAPIApplicationScope_[];
|
|
9049
|
+
MJ_APIScopes_ParentIDArray: MJAPIScope_[];
|
|
8810
9050
|
}
|
|
8811
9051
|
export declare class CreateMJAPIScopeInput {
|
|
8812
9052
|
ID?: string;
|
|
8813
9053
|
Name?: string;
|
|
8814
9054
|
Category?: string;
|
|
8815
9055
|
Description: string | null;
|
|
9056
|
+
ParentID: string | null;
|
|
9057
|
+
FullPath?: string;
|
|
9058
|
+
ResourceType: string | null;
|
|
9059
|
+
IsActive?: boolean;
|
|
8816
9060
|
}
|
|
8817
9061
|
export declare class UpdateMJAPIScopeInput {
|
|
8818
9062
|
ID: string;
|
|
8819
9063
|
Name?: string;
|
|
8820
9064
|
Category?: string;
|
|
8821
9065
|
Description?: string | null;
|
|
9066
|
+
ParentID?: string | null;
|
|
9067
|
+
FullPath?: string;
|
|
9068
|
+
ResourceType?: string | null;
|
|
9069
|
+
IsActive?: boolean;
|
|
8822
9070
|
OldValues___?: KeyValuePairInput[];
|
|
8823
9071
|
}
|
|
8824
9072
|
export declare class RunMJAPIScopeViewResult {
|
|
@@ -8836,6 +9084,8 @@ export declare class MJAPIScopeResolver extends ResolverBase {
|
|
|
8836
9084
|
RunMJAPIScopeDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
|
|
8837
9085
|
MJAPIScope(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJAPIScope_ | null>;
|
|
8838
9086
|
MJ_APIKeyScopes_ScopeIDArray(mjapiscope_: MJAPIScope_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
9087
|
+
MJ_APIApplicationScopes_ScopeIDArray(mjapiscope_: MJAPIScope_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
9088
|
+
MJ_APIScopes_ParentIDArray(mjapiscope_: MJAPIScope_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
8839
9089
|
CreateMJAPIScope(input: CreateMJAPIScopeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8840
9090
|
UpdateMJAPIScope(input: UpdateMJAPIScopeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
8841
9091
|
DeleteMJAPIScope(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
|
|
@@ -14890,8 +15140,8 @@ export declare class MJUser_ {
|
|
|
14890
15140
|
MJ_DashboardCategoryLinks_UserIDArray: MJDashboardCategoryLink_[];
|
|
14891
15141
|
MJ_DashboardCategoryPermissions_UserIDArray: MJDashboardCategoryPermission_[];
|
|
14892
15142
|
MJ_DashboardPermissions_SharedByUserIDArray: MJDashboardPermission_[];
|
|
14893
|
-
MJ_UserNotificationPreferences_UserIDArray: MJUserNotificationPreference_[];
|
|
14894
15143
|
MJ_APIKeys_UserIDArray: MJAPIKey_[];
|
|
15144
|
+
MJ_UserNotificationPreferences_UserIDArray: MJUserNotificationPreference_[];
|
|
14895
15145
|
ResourcePermissions_UserIDArray: MJResourcePermission_[];
|
|
14896
15146
|
AIAgentRequests_RequestForUserIDArray: MJAIAgentRequest_[];
|
|
14897
15147
|
ConversationDetails_UserIDArray: MJConversationDetail_[];
|
|
@@ -15013,8 +15263,8 @@ export declare class MJUserResolverBase extends ResolverBase {
|
|
|
15013
15263
|
MJ_DashboardCategoryLinks_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
15014
15264
|
MJ_DashboardCategoryPermissions_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
15015
15265
|
MJ_DashboardPermissions_SharedByUserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
15016
|
-
MJ_UserNotificationPreferences_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
15017
15266
|
MJ_APIKeys_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
15267
|
+
MJ_UserNotificationPreferences_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
15018
15268
|
ResourcePermissions_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
15019
15269
|
AIAgentRequests_RequestForUserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|
|
15020
15270
|
ConversationDetails_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
|