@memberjunction/server 3.1.1 → 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.
Files changed (72) hide show
  1. package/README.md +47 -1
  2. package/dist/agents/skip-sdk.d.ts.map +1 -1
  3. package/dist/agents/skip-sdk.js +26 -1
  4. package/dist/agents/skip-sdk.js.map +1 -1
  5. package/dist/auth/APIKeyScopeAuth.d.ts +51 -0
  6. package/dist/auth/APIKeyScopeAuth.d.ts.map +1 -0
  7. package/dist/auth/APIKeyScopeAuth.js +163 -0
  8. package/dist/auth/APIKeyScopeAuth.js.map +1 -0
  9. package/dist/auth/index.d.ts +1 -0
  10. package/dist/auth/index.d.ts.map +1 -1
  11. package/dist/auth/index.js +1 -0
  12. package/dist/auth/index.js.map +1 -1
  13. package/dist/context.d.ts +8 -1
  14. package/dist/context.d.ts.map +1 -1
  15. package/dist/context.js +44 -7
  16. package/dist/context.js.map +1 -1
  17. package/dist/generated/generated.d.ts +634 -57
  18. package/dist/generated/generated.d.ts.map +1 -1
  19. package/dist/generated/generated.js +13728 -10072
  20. package/dist/generated/generated.js.map +1 -1
  21. package/dist/generic/ResolverBase.d.ts +2 -2
  22. package/dist/generic/ResolverBase.d.ts.map +1 -1
  23. package/dist/generic/ResolverBase.js +22 -4
  24. package/dist/generic/ResolverBase.js.map +1 -1
  25. package/dist/generic/RunViewResolver.d.ts +29 -1
  26. package/dist/generic/RunViewResolver.d.ts.map +1 -1
  27. package/dist/generic/RunViewResolver.js +143 -0
  28. package/dist/generic/RunViewResolver.js.map +1 -1
  29. package/dist/index.d.ts +2 -0
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js +6 -0
  32. package/dist/index.js.map +1 -1
  33. package/dist/resolvers/APIKeyResolver.d.ts +23 -0
  34. package/dist/resolvers/APIKeyResolver.d.ts.map +1 -0
  35. package/dist/resolvers/APIKeyResolver.js +191 -0
  36. package/dist/resolvers/APIKeyResolver.js.map +1 -0
  37. package/dist/resolvers/FileResolver.d.ts +130 -1
  38. package/dist/resolvers/FileResolver.d.ts.map +1 -1
  39. package/dist/resolvers/FileResolver.js +784 -9
  40. package/dist/resolvers/FileResolver.js.map +1 -1
  41. package/dist/resolvers/RunAIAgentResolver.d.ts.map +1 -1
  42. package/dist/resolvers/RunAIAgentResolver.js +52 -31
  43. package/dist/resolvers/RunAIAgentResolver.js.map +1 -1
  44. package/dist/resolvers/SqlLoggingConfigResolver.d.ts +10 -0
  45. package/dist/resolvers/SqlLoggingConfigResolver.d.ts.map +1 -1
  46. package/dist/resolvers/SqlLoggingConfigResolver.js +72 -7
  47. package/dist/resolvers/SqlLoggingConfigResolver.js.map +1 -1
  48. package/dist/resolvers/UserResolver.d.ts.map +1 -1
  49. package/dist/resolvers/UserResolver.js +31 -1
  50. package/dist/resolvers/UserResolver.js.map +1 -1
  51. package/dist/types.d.ts +4 -1
  52. package/dist/types.d.ts.map +1 -1
  53. package/dist/types.js.map +1 -1
  54. package/dist/util.d.ts.map +1 -1
  55. package/dist/util.js +36 -14
  56. package/dist/util.js.map +1 -1
  57. package/package.json +46 -44
  58. package/src/agents/skip-sdk.ts +31 -1
  59. package/src/auth/APIKeyScopeAuth.ts +366 -0
  60. package/src/auth/index.ts +1 -0
  61. package/src/context.ts +91 -9
  62. package/src/generated/generated.ts +2920 -604
  63. package/src/generic/ResolverBase.ts +38 -5
  64. package/src/generic/RunViewResolver.ts +132 -5
  65. package/src/index.ts +10 -0
  66. package/src/resolvers/APIKeyResolver.ts +234 -0
  67. package/src/resolvers/FileResolver.ts +701 -29
  68. package/src/resolvers/RunAIAgentResolver.ts +57 -47
  69. package/src/resolvers/SqlLoggingConfigResolver.ts +86 -13
  70. package/src/resolvers/UserResolver.ts +37 -1
  71. package/src/types.ts +7 -2
  72. package/src/util.ts +47 -17
@@ -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>;
@@ -5745,7 +5785,10 @@ export declare class MJFileStorageProvider_ {
5745
5785
  _mj__CreatedAt: Date;
5746
5786
  _mj__UpdatedAt: Date;
5747
5787
  SupportsSearch: boolean;
5788
+ Configuration?: string;
5789
+ RequiresOAuth: boolean;
5748
5790
  Files_ProviderIDArray: MJFile_[];
5791
+ MJ_FileStorageAccounts_ProviderIDArray: MJFileStorageAccount_[];
5749
5792
  MJ_AIConfigurations_DefaultStorageProviderIDArray: MJAIConfiguration_[];
5750
5793
  AIAgents_AttachmentStorageProviderIDArray: MJAIAgent_[];
5751
5794
  }
@@ -5758,6 +5801,8 @@ export declare class CreateMJFileStorageProviderInput {
5758
5801
  Priority?: number;
5759
5802
  IsActive?: boolean;
5760
5803
  SupportsSearch?: boolean;
5804
+ Configuration: string | null;
5805
+ RequiresOAuth?: boolean;
5761
5806
  }
5762
5807
  export declare class UpdateMJFileStorageProviderInput {
5763
5808
  ID: string;
@@ -5768,6 +5813,8 @@ export declare class UpdateMJFileStorageProviderInput {
5768
5813
  Priority?: number;
5769
5814
  IsActive?: boolean;
5770
5815
  SupportsSearch?: boolean;
5816
+ Configuration?: string | null;
5817
+ RequiresOAuth?: boolean;
5771
5818
  OldValues___?: KeyValuePairInput[];
5772
5819
  }
5773
5820
  export declare class RunMJFileStorageProviderViewResult {
@@ -5785,6 +5832,7 @@ export declare class MJFileStorageProviderResolver extends ResolverBase {
5785
5832
  RunMJFileStorageProviderDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
5786
5833
  MJFileStorageProvider(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJFileStorageProvider_ | null>;
5787
5834
  Files_ProviderIDArray(mjfilestorageprovider_: MJFileStorageProvider_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
5835
+ MJ_FileStorageAccounts_ProviderIDArray(mjfilestorageprovider_: MJFileStorageProvider_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
5788
5836
  MJ_AIConfigurations_DefaultStorageProviderIDArray(mjfilestorageprovider_: MJFileStorageProvider_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
5789
5837
  AIAgents_AttachmentStorageProviderIDArray(mjfilestorageprovider_: MJFileStorageProvider_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
5790
5838
  CreateMJFileStorageProvider(input: CreateMJFileStorageProviderInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
@@ -5852,63 +5900,6 @@ export declare class MJFileResolver extends ResolverBase {
5852
5900
  UpdateMJFile(input: UpdateMJFileInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
5853
5901
  DeleteMJFile(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
5854
5902
  }
5855
- export declare class MJflywayschemahistory_ {
5856
- installed_rank: number;
5857
- version?: string;
5858
- description?: string;
5859
- type: string;
5860
- script: string;
5861
- checksum?: number;
5862
- installed_by: string;
5863
- installed_on: Date;
5864
- execution_time: number;
5865
- success: boolean;
5866
- _mj__CreatedAt: Date;
5867
- _mj__UpdatedAt: Date;
5868
- }
5869
- export declare class CreateMJflywayschemahistoryInput {
5870
- installed_rank?: number;
5871
- version: string | null;
5872
- description: string | null;
5873
- type?: string;
5874
- script?: string;
5875
- checksum: number | null;
5876
- installed_by?: string;
5877
- installed_on?: Date;
5878
- execution_time?: number;
5879
- success?: boolean;
5880
- }
5881
- export declare class UpdateMJflywayschemahistoryInput {
5882
- installed_rank: number;
5883
- version?: string | null;
5884
- description?: string | null;
5885
- type?: string;
5886
- script?: string;
5887
- checksum?: number | null;
5888
- installed_by?: string;
5889
- installed_on?: Date;
5890
- execution_time?: number;
5891
- success?: boolean;
5892
- OldValues___?: KeyValuePairInput[];
5893
- }
5894
- export declare class RunMJflywayschemahistoryViewResult {
5895
- Results: MJflywayschemahistory_[];
5896
- UserViewRunID?: string;
5897
- RowCount: number;
5898
- TotalRowCount: number;
5899
- ExecutionTime: number;
5900
- ErrorMessage?: string;
5901
- Success: boolean;
5902
- }
5903
- export declare class MJflywayschemahistoryResolver extends ResolverBase {
5904
- RunMJflywayschemahistoryViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
5905
- RunMJflywayschemahistoryViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
5906
- RunMJflywayschemahistoryDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
5907
- MJflywayschemahistory(installed_rank: number, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJflywayschemahistory_ | null>;
5908
- CreateMJflywayschemahistory(input: CreateMJflywayschemahistoryInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
5909
- UpdateMJflywayschemahistory(input: UpdateMJflywayschemahistoryInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
5910
- DeleteMJflywayschemahistory(installed_rank: number, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
5911
- }
5912
5903
  export declare class MJGeneratedCodeCategory_ {
5913
5904
  ID: string;
5914
5905
  Name: string;
@@ -6640,6 +6631,12 @@ export declare class MJAIAgentExample_ {
6640
6631
  _mj__UpdatedAt: Date;
6641
6632
  EmbeddingVector?: string;
6642
6633
  EmbeddingModelID?: string;
6634
+ PrimaryScopeEntityID?: string;
6635
+ PrimaryScopeRecordID?: string;
6636
+ SecondaryScopes?: string;
6637
+ LastAccessedAt?: Date;
6638
+ AccessCount: number;
6639
+ ExpiresAt?: Date;
6643
6640
  Agent?: string;
6644
6641
  User?: string;
6645
6642
  Company?: string;
@@ -6647,6 +6644,7 @@ export declare class MJAIAgentExample_ {
6647
6644
  SourceConversationDetail?: string;
6648
6645
  SourceAIAgentRun?: string;
6649
6646
  EmbeddingModel?: string;
6647
+ PrimaryScopeEntity?: string;
6650
6648
  }
6651
6649
  export declare class CreateMJAIAgentExampleInput {
6652
6650
  ID?: string;
@@ -6665,6 +6663,12 @@ export declare class CreateMJAIAgentExampleInput {
6665
6663
  Status?: string;
6666
6664
  EmbeddingVector: string | null;
6667
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;
6668
6672
  }
6669
6673
  export declare class UpdateMJAIAgentExampleInput {
6670
6674
  ID: string;
@@ -6683,6 +6687,12 @@ export declare class UpdateMJAIAgentExampleInput {
6683
6687
  Status?: string;
6684
6688
  EmbeddingVector?: string | null;
6685
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;
6686
6696
  OldValues___?: KeyValuePairInput[];
6687
6697
  }
6688
6698
  export declare class RunMJAIAgentExampleViewResult {
@@ -7139,6 +7149,9 @@ export declare class MJAIAgentRun_ {
7139
7149
  Comments?: string;
7140
7150
  ScheduledJobRunID?: string;
7141
7151
  TestRunID?: string;
7152
+ PrimaryScopeEntityID?: string;
7153
+ PrimaryScopeRecordID?: string;
7154
+ SecondaryScopes?: string;
7142
7155
  Agent?: string;
7143
7156
  ParentRun?: string;
7144
7157
  Conversation?: string;
@@ -7150,6 +7163,7 @@ export declare class MJAIAgentRun_ {
7150
7163
  OverrideVendor?: string;
7151
7164
  ScheduledJobRun?: string;
7152
7165
  TestRun?: string;
7166
+ PrimaryScopeEntity?: string;
7153
7167
  RootParentRunID?: string;
7154
7168
  RootLastRunID?: string;
7155
7169
  MJ_AIAgentRunSteps_AgentRunIDArray: MJAIAgentRunStep_[];
@@ -7199,6 +7213,9 @@ export declare class CreateMJAIAgentRunInput {
7199
7213
  Comments: string | null;
7200
7214
  ScheduledJobRunID: string | null;
7201
7215
  TestRunID: string | null;
7216
+ PrimaryScopeEntityID: string | null;
7217
+ PrimaryScopeRecordID: string | null;
7218
+ SecondaryScopes: string | null;
7202
7219
  }
7203
7220
  export declare class UpdateMJAIAgentRunInput {
7204
7221
  ID: string;
@@ -7240,6 +7257,9 @@ export declare class UpdateMJAIAgentRunInput {
7240
7257
  Comments?: string | null;
7241
7258
  ScheduledJobRunID?: string | null;
7242
7259
  TestRunID?: string | null;
7260
+ PrimaryScopeEntityID?: string | null;
7261
+ PrimaryScopeRecordID?: string | null;
7262
+ SecondaryScopes?: string | null;
7243
7263
  OldValues___?: KeyValuePairInput[];
7244
7264
  }
7245
7265
  export declare class RunMJAIAgentRunViewResult {
@@ -8695,6 +8715,381 @@ export declare class MJAIVendorResolver extends ResolverBase {
8695
8715
  UpdateMJAIVendor(input: UpdateMJAIVendorInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8696
8716
  DeleteMJAIVendor(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8697
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
+ }
8851
+ export declare class MJAPIKeyScope_ {
8852
+ ID: string;
8853
+ APIKeyID: string;
8854
+ ScopeID: string;
8855
+ _mj__CreatedAt: Date;
8856
+ _mj__UpdatedAt: Date;
8857
+ ResourcePattern?: string;
8858
+ PatternType: string;
8859
+ IsDeny: boolean;
8860
+ Priority: number;
8861
+ APIKey: string;
8862
+ Scope: string;
8863
+ }
8864
+ export declare class CreateMJAPIKeyScopeInput {
8865
+ ID?: string;
8866
+ APIKeyID?: string;
8867
+ ScopeID?: string;
8868
+ ResourcePattern: string | null;
8869
+ PatternType?: string;
8870
+ IsDeny?: boolean;
8871
+ Priority?: number;
8872
+ }
8873
+ export declare class UpdateMJAPIKeyScopeInput {
8874
+ ID: string;
8875
+ APIKeyID?: string;
8876
+ ScopeID?: string;
8877
+ ResourcePattern?: string | null;
8878
+ PatternType?: string;
8879
+ IsDeny?: boolean;
8880
+ Priority?: number;
8881
+ OldValues___?: KeyValuePairInput[];
8882
+ }
8883
+ export declare class RunMJAPIKeyScopeViewResult {
8884
+ Results: MJAPIKeyScope_[];
8885
+ UserViewRunID?: string;
8886
+ RowCount: number;
8887
+ TotalRowCount: number;
8888
+ ExecutionTime: number;
8889
+ ErrorMessage?: string;
8890
+ Success: boolean;
8891
+ }
8892
+ export declare class MJAPIKeyScopeResolver extends ResolverBase {
8893
+ RunMJAPIKeyScopeViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8894
+ RunMJAPIKeyScopeViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8895
+ RunMJAPIKeyScopeDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8896
+ MJAPIKeyScope(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJAPIKeyScope_ | null>;
8897
+ CreateMJAPIKeyScope(input: CreateMJAPIKeyScopeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8898
+ UpdateMJAPIKeyScope(input: UpdateMJAPIKeyScopeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8899
+ DeleteMJAPIKeyScope(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8900
+ }
8901
+ export declare class MJAPIKeyUsageLog_ {
8902
+ ID: string;
8903
+ APIKeyID: string;
8904
+ Endpoint: string;
8905
+ Operation?: string;
8906
+ Method: string;
8907
+ StatusCode: number;
8908
+ ResponseTimeMs?: number;
8909
+ IPAddress?: string;
8910
+ UserAgent?: string;
8911
+ _mj__CreatedAt: Date;
8912
+ _mj__UpdatedAt: Date;
8913
+ ApplicationID?: string;
8914
+ RequestedResource?: string;
8915
+ ScopesEvaluated?: string;
8916
+ AuthorizationResult: string;
8917
+ DeniedReason?: string;
8918
+ APIKey: string;
8919
+ Application?: string;
8920
+ }
8921
+ export declare class CreateMJAPIKeyUsageLogInput {
8922
+ ID?: string;
8923
+ APIKeyID?: string;
8924
+ Endpoint?: string;
8925
+ Operation: string | null;
8926
+ Method?: string;
8927
+ StatusCode?: number;
8928
+ ResponseTimeMs: number | null;
8929
+ IPAddress: string | null;
8930
+ UserAgent: string | null;
8931
+ ApplicationID: string | null;
8932
+ RequestedResource: string | null;
8933
+ ScopesEvaluated: string | null;
8934
+ AuthorizationResult?: string;
8935
+ DeniedReason: string | null;
8936
+ }
8937
+ export declare class UpdateMJAPIKeyUsageLogInput {
8938
+ ID: string;
8939
+ APIKeyID?: string;
8940
+ Endpoint?: string;
8941
+ Operation?: string | null;
8942
+ Method?: string;
8943
+ StatusCode?: number;
8944
+ ResponseTimeMs?: number | null;
8945
+ IPAddress?: string | null;
8946
+ UserAgent?: string | null;
8947
+ ApplicationID?: string | null;
8948
+ RequestedResource?: string | null;
8949
+ ScopesEvaluated?: string | null;
8950
+ AuthorizationResult?: string;
8951
+ DeniedReason?: string | null;
8952
+ OldValues___?: KeyValuePairInput[];
8953
+ }
8954
+ export declare class RunMJAPIKeyUsageLogViewResult {
8955
+ Results: MJAPIKeyUsageLog_[];
8956
+ UserViewRunID?: string;
8957
+ RowCount: number;
8958
+ TotalRowCount: number;
8959
+ ExecutionTime: number;
8960
+ ErrorMessage?: string;
8961
+ Success: boolean;
8962
+ }
8963
+ export declare class MJAPIKeyUsageLogResolver extends ResolverBase {
8964
+ RunMJAPIKeyUsageLogViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8965
+ RunMJAPIKeyUsageLogViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8966
+ RunMJAPIKeyUsageLogDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8967
+ MJAPIKeyUsageLog(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJAPIKeyUsageLog_ | null>;
8968
+ CreateMJAPIKeyUsageLog(input: CreateMJAPIKeyUsageLogInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8969
+ UpdateMJAPIKeyUsageLog(input: UpdateMJAPIKeyUsageLogInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8970
+ DeleteMJAPIKeyUsageLog(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8971
+ }
8972
+ export declare class MJAPIKey_ {
8973
+ ID: string;
8974
+ Hash: string;
8975
+ UserID: string;
8976
+ Label: string;
8977
+ Description?: string;
8978
+ Status: string;
8979
+ ExpiresAt?: Date;
8980
+ LastUsedAt?: Date;
8981
+ CreatedByUserID: string;
8982
+ _mj__CreatedAt: Date;
8983
+ _mj__UpdatedAt: Date;
8984
+ User: string;
8985
+ CreatedByUser: string;
8986
+ MJ_APIKeyUsageLogs_APIKeyIDArray: MJAPIKeyUsageLog_[];
8987
+ MJ_APIKeyScopes_APIKeyIDArray: MJAPIKeyScope_[];
8988
+ MJ_APIKeyApplications_APIKeyIDArray: MJAPIKeyApplication_[];
8989
+ }
8990
+ export declare class CreateMJAPIKeyInput {
8991
+ ID?: string;
8992
+ Hash?: string;
8993
+ UserID?: string;
8994
+ Label?: string;
8995
+ Description: string | null;
8996
+ Status?: string;
8997
+ ExpiresAt: Date | null;
8998
+ LastUsedAt: Date | null;
8999
+ CreatedByUserID?: string;
9000
+ }
9001
+ export declare class UpdateMJAPIKeyInput {
9002
+ ID: string;
9003
+ Hash?: string;
9004
+ UserID?: string;
9005
+ Label?: string;
9006
+ Description?: string | null;
9007
+ Status?: string;
9008
+ ExpiresAt?: Date | null;
9009
+ LastUsedAt?: Date | null;
9010
+ CreatedByUserID?: string;
9011
+ OldValues___?: KeyValuePairInput[];
9012
+ }
9013
+ export declare class RunMJAPIKeyViewResult {
9014
+ Results: MJAPIKey_[];
9015
+ UserViewRunID?: string;
9016
+ RowCount: number;
9017
+ TotalRowCount: number;
9018
+ ExecutionTime: number;
9019
+ ErrorMessage?: string;
9020
+ Success: boolean;
9021
+ }
9022
+ export declare class MJAPIKeyResolver extends ResolverBase {
9023
+ RunMJAPIKeyViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
9024
+ RunMJAPIKeyViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
9025
+ RunMJAPIKeyDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
9026
+ MJAPIKey(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJAPIKey_ | null>;
9027
+ MJ_APIKeyUsageLogs_APIKeyIDArray(mjapikey_: MJAPIKey_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
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[]>;
9030
+ CreateMJAPIKey(input: CreateMJAPIKeyInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
9031
+ UpdateMJAPIKey(input: UpdateMJAPIKeyInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
9032
+ DeleteMJAPIKey(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
9033
+ }
9034
+ export declare class MJAPIScope_ {
9035
+ ID: string;
9036
+ Name: string;
9037
+ Category: string;
9038
+ Description?: string;
9039
+ _mj__CreatedAt: Date;
9040
+ _mj__UpdatedAt: Date;
9041
+ ParentID?: string;
9042
+ FullPath: string;
9043
+ ResourceType?: string;
9044
+ IsActive: boolean;
9045
+ Parent?: string;
9046
+ RootParentID?: string;
9047
+ MJ_APIKeyScopes_ScopeIDArray: MJAPIKeyScope_[];
9048
+ MJ_APIApplicationScopes_ScopeIDArray: MJAPIApplicationScope_[];
9049
+ MJ_APIScopes_ParentIDArray: MJAPIScope_[];
9050
+ }
9051
+ export declare class CreateMJAPIScopeInput {
9052
+ ID?: string;
9053
+ Name?: string;
9054
+ Category?: string;
9055
+ Description: string | null;
9056
+ ParentID: string | null;
9057
+ FullPath?: string;
9058
+ ResourceType: string | null;
9059
+ IsActive?: boolean;
9060
+ }
9061
+ export declare class UpdateMJAPIScopeInput {
9062
+ ID: string;
9063
+ Name?: string;
9064
+ Category?: string;
9065
+ Description?: string | null;
9066
+ ParentID?: string | null;
9067
+ FullPath?: string;
9068
+ ResourceType?: string | null;
9069
+ IsActive?: boolean;
9070
+ OldValues___?: KeyValuePairInput[];
9071
+ }
9072
+ export declare class RunMJAPIScopeViewResult {
9073
+ Results: MJAPIScope_[];
9074
+ UserViewRunID?: string;
9075
+ RowCount: number;
9076
+ TotalRowCount: number;
9077
+ ExecutionTime: number;
9078
+ ErrorMessage?: string;
9079
+ Success: boolean;
9080
+ }
9081
+ export declare class MJAPIScopeResolver extends ResolverBase {
9082
+ RunMJAPIScopeViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
9083
+ RunMJAPIScopeViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
9084
+ RunMJAPIScopeDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
9085
+ MJAPIScope(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJAPIScope_ | null>;
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[]>;
9089
+ CreateMJAPIScope(input: CreateMJAPIScopeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
9090
+ UpdateMJAPIScope(input: UpdateMJAPIScopeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
9091
+ DeleteMJAPIScope(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
9092
+ }
8698
9093
  export declare class MJArtifactPermission_ {
8699
9094
  ID: string;
8700
9095
  ArtifactID: string;
@@ -9921,6 +10316,7 @@ export declare class MJCredential_ {
9921
10316
  _mj__UpdatedAt: Date;
9922
10317
  CredentialType: string;
9923
10318
  Category?: string;
10319
+ MJ_FileStorageAccounts_CredentialIDArray: MJFileStorageAccount_[];
9924
10320
  MJ_AICredentialBindings_CredentialIDArray: MJAICredentialBinding_[];
9925
10321
  }
9926
10322
  export declare class CreateMJCredentialInput {
@@ -9966,6 +10362,7 @@ export declare class MJCredentialResolver extends ResolverBase {
9966
10362
  RunMJCredentialViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
9967
10363
  RunMJCredentialDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
9968
10364
  MJCredential(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJCredential_ | null>;
10365
+ MJ_FileStorageAccounts_CredentialIDArray(mjcredential_: MJCredential_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
9969
10366
  MJ_AICredentialBindings_CredentialIDArray(mjcredential_: MJCredential_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
9970
10367
  CreateMJCredential(input: CreateMJCredentialInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
9971
10368
  UpdateMJCredential(input: UpdateMJCredentialInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
@@ -10499,6 +10896,50 @@ export declare class MJEnvironmentResolver extends ResolverBase {
10499
10896
  UpdateMJEnvironment(input: UpdateMJEnvironmentInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
10500
10897
  DeleteMJEnvironment(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
10501
10898
  }
10899
+ export declare class MJFileStorageAccount_ {
10900
+ ID: string;
10901
+ Name: string;
10902
+ Description?: string;
10903
+ ProviderID: string;
10904
+ CredentialID: string;
10905
+ _mj__CreatedAt: Date;
10906
+ _mj__UpdatedAt: Date;
10907
+ Provider: string;
10908
+ Credential: string;
10909
+ }
10910
+ export declare class CreateMJFileStorageAccountInput {
10911
+ ID?: string;
10912
+ Name?: string;
10913
+ Description: string | null;
10914
+ ProviderID?: string;
10915
+ CredentialID?: string;
10916
+ }
10917
+ export declare class UpdateMJFileStorageAccountInput {
10918
+ ID: string;
10919
+ Name?: string;
10920
+ Description?: string | null;
10921
+ ProviderID?: string;
10922
+ CredentialID?: string;
10923
+ OldValues___?: KeyValuePairInput[];
10924
+ }
10925
+ export declare class RunMJFileStorageAccountViewResult {
10926
+ Results: MJFileStorageAccount_[];
10927
+ UserViewRunID?: string;
10928
+ RowCount: number;
10929
+ TotalRowCount: number;
10930
+ ExecutionTime: number;
10931
+ ErrorMessage?: string;
10932
+ Success: boolean;
10933
+ }
10934
+ export declare class MJFileStorageAccountResolver extends ResolverBase {
10935
+ RunMJFileStorageAccountViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
10936
+ RunMJFileStorageAccountViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
10937
+ RunMJFileStorageAccountDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
10938
+ MJFileStorageAccount(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJFileStorageAccount_ | null>;
10939
+ CreateMJFileStorageAccount(input: CreateMJFileStorageAccountInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
10940
+ UpdateMJFileStorageAccount(input: UpdateMJFileStorageAccountInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
10941
+ DeleteMJFileStorageAccount(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
10942
+ }
10502
10943
  export declare class MJListInvitation_ {
10503
10944
  ID: string;
10504
10945
  ListID: string;
@@ -11887,6 +12328,128 @@ export declare class MJTestResolver extends ResolverBase {
11887
12328
  UpdateMJTest(input: UpdateMJTestInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
11888
12329
  DeleteMJTest(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
11889
12330
  }
12331
+ export declare class MJUserNotificationPreference_ {
12332
+ ID: string;
12333
+ UserID: string;
12334
+ NotificationTypeID: string;
12335
+ InAppEnabled?: boolean;
12336
+ EmailEnabled?: boolean;
12337
+ SMSEnabled?: boolean;
12338
+ Enabled?: boolean;
12339
+ _mj__CreatedAt: Date;
12340
+ _mj__UpdatedAt: Date;
12341
+ User: string;
12342
+ NotificationType: string;
12343
+ }
12344
+ export declare class CreateMJUserNotificationPreferenceInput {
12345
+ ID?: string;
12346
+ UserID?: string;
12347
+ NotificationTypeID?: string;
12348
+ InAppEnabled: boolean | null;
12349
+ EmailEnabled: boolean | null;
12350
+ SMSEnabled: boolean | null;
12351
+ Enabled?: boolean | null;
12352
+ }
12353
+ export declare class UpdateMJUserNotificationPreferenceInput {
12354
+ ID: string;
12355
+ UserID?: string;
12356
+ NotificationTypeID?: string;
12357
+ InAppEnabled?: boolean | null;
12358
+ EmailEnabled?: boolean | null;
12359
+ SMSEnabled?: boolean | null;
12360
+ Enabled?: boolean | null;
12361
+ OldValues___?: KeyValuePairInput[];
12362
+ }
12363
+ export declare class RunMJUserNotificationPreferenceViewResult {
12364
+ Results: MJUserNotificationPreference_[];
12365
+ UserViewRunID?: string;
12366
+ RowCount: number;
12367
+ TotalRowCount: number;
12368
+ ExecutionTime: number;
12369
+ ErrorMessage?: string;
12370
+ Success: boolean;
12371
+ }
12372
+ export declare class MJUserNotificationPreferenceResolver extends ResolverBase {
12373
+ RunMJUserNotificationPreferenceViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
12374
+ RunMJUserNotificationPreferenceViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
12375
+ RunMJUserNotificationPreferenceDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
12376
+ MJUserNotificationPreference(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJUserNotificationPreference_ | null>;
12377
+ CreateMJUserNotificationPreference(input: CreateMJUserNotificationPreferenceInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
12378
+ UpdateMJUserNotificationPreference(input: UpdateMJUserNotificationPreferenceInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
12379
+ DeleteMJUserNotificationPreference(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
12380
+ }
12381
+ export declare class MJUserNotificationType_ {
12382
+ ID: string;
12383
+ Name: string;
12384
+ Description?: string;
12385
+ DefaultInApp: boolean;
12386
+ DefaultEmail: boolean;
12387
+ DefaultSMS: boolean;
12388
+ AllowUserPreference?: boolean;
12389
+ EmailTemplateID?: string;
12390
+ SMSTemplateID?: string;
12391
+ Icon?: string;
12392
+ Color?: string;
12393
+ AutoExpireDays?: number;
12394
+ Priority?: number;
12395
+ _mj__CreatedAt: Date;
12396
+ _mj__UpdatedAt: Date;
12397
+ EmailTemplate?: string;
12398
+ SMSTemplate?: string;
12399
+ UserNotifications_NotificationTypeIDArray: MJUserNotification_[];
12400
+ MJ_UserNotificationPreferences_NotificationTypeIDArray: MJUserNotificationPreference_[];
12401
+ }
12402
+ export declare class CreateMJUserNotificationTypeInput {
12403
+ ID?: string;
12404
+ Name?: string;
12405
+ Description: string | null;
12406
+ DefaultInApp?: boolean;
12407
+ DefaultEmail?: boolean;
12408
+ DefaultSMS?: boolean;
12409
+ AllowUserPreference?: boolean | null;
12410
+ EmailTemplateID: string | null;
12411
+ SMSTemplateID: string | null;
12412
+ Icon: string | null;
12413
+ Color: string | null;
12414
+ AutoExpireDays: number | null;
12415
+ Priority?: number | null;
12416
+ }
12417
+ export declare class UpdateMJUserNotificationTypeInput {
12418
+ ID: string;
12419
+ Name?: string;
12420
+ Description?: string | null;
12421
+ DefaultInApp?: boolean;
12422
+ DefaultEmail?: boolean;
12423
+ DefaultSMS?: boolean;
12424
+ AllowUserPreference?: boolean | null;
12425
+ EmailTemplateID?: string | null;
12426
+ SMSTemplateID?: string | null;
12427
+ Icon?: string | null;
12428
+ Color?: string | null;
12429
+ AutoExpireDays?: number | null;
12430
+ Priority?: number | null;
12431
+ OldValues___?: KeyValuePairInput[];
12432
+ }
12433
+ export declare class RunMJUserNotificationTypeViewResult {
12434
+ Results: MJUserNotificationType_[];
12435
+ UserViewRunID?: string;
12436
+ RowCount: number;
12437
+ TotalRowCount: number;
12438
+ ExecutionTime: number;
12439
+ ErrorMessage?: string;
12440
+ Success: boolean;
12441
+ }
12442
+ export declare class MJUserNotificationTypeResolver extends ResolverBase {
12443
+ RunMJUserNotificationTypeViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
12444
+ RunMJUserNotificationTypeViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
12445
+ RunMJUserNotificationTypeDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
12446
+ MJUserNotificationType(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJUserNotificationType_ | null>;
12447
+ UserNotifications_NotificationTypeIDArray(mjusernotificationtype_: MJUserNotificationType_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
12448
+ MJ_UserNotificationPreferences_NotificationTypeIDArray(mjusernotificationtype_: MJUserNotificationType_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
12449
+ CreateMJUserNotificationType(input: CreateMJUserNotificationTypeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
12450
+ UpdateMJUserNotificationType(input: UpdateMJUserNotificationTypeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
12451
+ DeleteMJUserNotificationType(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
12452
+ }
11890
12453
  export declare class MJUserSetting_ {
11891
12454
  ID: string;
11892
12455
  UserID: string;
@@ -13929,7 +14492,9 @@ export declare class MJTemplate_ {
13929
14492
  User: string;
13930
14493
  TemplateParams_TemplateIDArray: MJTemplateParam_[];
13931
14494
  TemplateContents_TemplateIDArray: MJTemplateContent_[];
14495
+ MJ_UserNotificationTypes_SMSTemplateIDArray: MJUserNotificationType_[];
13932
14496
  AIPrompts_TemplateIDArray: MJAIPrompt_[];
14497
+ MJ_UserNotificationTypes_EmailTemplateIDArray: MJUserNotificationType_[];
13933
14498
  EntityDocuments_TemplateIDArray: MJEntityDocument_[];
13934
14499
  }
13935
14500
  export declare class CreateMJTemplateInput {
@@ -13971,7 +14536,9 @@ export declare class MJTemplateResolver extends ResolverBase {
13971
14536
  MJTemplate(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJTemplate_ | null>;
13972
14537
  TemplateParams_TemplateIDArray(mjtemplate_: MJTemplate_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
13973
14538
  TemplateContents_TemplateIDArray(mjtemplate_: MJTemplate_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14539
+ MJ_UserNotificationTypes_SMSTemplateIDArray(mjtemplate_: MJTemplate_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
13974
14540
  AIPrompts_TemplateIDArray(mjtemplate_: MJTemplate_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14541
+ MJ_UserNotificationTypes_EmailTemplateIDArray(mjtemplate_: MJTemplate_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
13975
14542
  EntityDocuments_TemplateIDArray(mjtemplate_: MJTemplate_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
13976
14543
  CreateMJTemplate(input: CreateMJTemplateInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
13977
14544
  UpdateMJTemplate(input: UpdateMJTemplateInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
@@ -14119,8 +14686,10 @@ export declare class MJUserNotification_ {
14119
14686
  _mj__CreatedAt: Date;
14120
14687
  _mj__UpdatedAt: Date;
14121
14688
  ResourceRecordID?: string;
14689
+ NotificationTypeID?: string;
14122
14690
  User: string;
14123
14691
  ResourceType?: string;
14692
+ NotificationType?: string;
14124
14693
  }
14125
14694
  export declare class CreateMJUserNotificationInput {
14126
14695
  ID?: string;
@@ -14132,6 +14701,7 @@ export declare class CreateMJUserNotificationInput {
14132
14701
  Unread?: boolean;
14133
14702
  ReadAt: Date | null;
14134
14703
  ResourceRecordID: string | null;
14704
+ NotificationTypeID: string | null;
14135
14705
  }
14136
14706
  export declare class UpdateMJUserNotificationInput {
14137
14707
  ID: string;
@@ -14143,6 +14713,7 @@ export declare class UpdateMJUserNotificationInput {
14143
14713
  Unread?: boolean;
14144
14714
  ReadAt?: Date | null;
14145
14715
  ResourceRecordID?: string | null;
14716
+ NotificationTypeID?: string | null;
14146
14717
  OldValues___?: KeyValuePairInput[];
14147
14718
  }
14148
14719
  export declare class RunMJUserNotificationViewResult {
@@ -14569,6 +15140,8 @@ export declare class MJUser_ {
14569
15140
  MJ_DashboardCategoryLinks_UserIDArray: MJDashboardCategoryLink_[];
14570
15141
  MJ_DashboardCategoryPermissions_UserIDArray: MJDashboardCategoryPermission_[];
14571
15142
  MJ_DashboardPermissions_SharedByUserIDArray: MJDashboardPermission_[];
15143
+ MJ_APIKeys_UserIDArray: MJAPIKey_[];
15144
+ MJ_UserNotificationPreferences_UserIDArray: MJUserNotificationPreference_[];
14572
15145
  ResourcePermissions_UserIDArray: MJResourcePermission_[];
14573
15146
  AIAgentRequests_RequestForUserIDArray: MJAIAgentRequest_[];
14574
15147
  ConversationDetails_UserIDArray: MJConversationDetail_[];
@@ -14580,6 +15153,7 @@ export declare class MJUser_ {
14580
15153
  MJ_TestRuns_RunByUserIDArray: MJTestRun_[];
14581
15154
  MJ_DashboardPermissions_UserIDArray: MJDashboardPermission_[];
14582
15155
  MJ_DashboardCategoryPermissions_SharedByUserIDArray: MJDashboardCategoryPermission_[];
15156
+ MJ_APIKeys_CreatedByUserIDArray: MJAPIKey_[];
14583
15157
  MJ_AIAgentRuns_UserIDArray: MJAIAgentRun_[];
14584
15158
  MJ_AIAgentPermissions_UserIDArray: MJAIAgentPermission_[];
14585
15159
  MJ_Collections_OwnerIDArray: MJCollection_[];
@@ -14689,6 +15263,8 @@ export declare class MJUserResolverBase extends ResolverBase {
14689
15263
  MJ_DashboardCategoryLinks_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14690
15264
  MJ_DashboardCategoryPermissions_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14691
15265
  MJ_DashboardPermissions_SharedByUserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
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[]>;
14692
15268
  ResourcePermissions_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14693
15269
  AIAgentRequests_RequestForUserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14694
15270
  ConversationDetails_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
@@ -14700,6 +15276,7 @@ export declare class MJUserResolverBase extends ResolverBase {
14700
15276
  MJ_TestRuns_RunByUserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14701
15277
  MJ_DashboardPermissions_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14702
15278
  MJ_DashboardCategoryPermissions_SharedByUserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
15279
+ MJ_APIKeys_CreatedByUserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14703
15280
  MJ_AIAgentRuns_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14704
15281
  MJ_AIAgentPermissions_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14705
15282
  MJ_Collections_OwnerIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;