@memberjunction/server 3.1.1 → 3.2.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.
@@ -5745,7 +5745,10 @@ export declare class MJFileStorageProvider_ {
5745
5745
  _mj__CreatedAt: Date;
5746
5746
  _mj__UpdatedAt: Date;
5747
5747
  SupportsSearch: boolean;
5748
+ Configuration?: string;
5749
+ RequiresOAuth: boolean;
5748
5750
  Files_ProviderIDArray: MJFile_[];
5751
+ MJ_FileStorageAccounts_ProviderIDArray: MJFileStorageAccount_[];
5749
5752
  MJ_AIConfigurations_DefaultStorageProviderIDArray: MJAIConfiguration_[];
5750
5753
  AIAgents_AttachmentStorageProviderIDArray: MJAIAgent_[];
5751
5754
  }
@@ -5758,6 +5761,8 @@ export declare class CreateMJFileStorageProviderInput {
5758
5761
  Priority?: number;
5759
5762
  IsActive?: boolean;
5760
5763
  SupportsSearch?: boolean;
5764
+ Configuration: string | null;
5765
+ RequiresOAuth?: boolean;
5761
5766
  }
5762
5767
  export declare class UpdateMJFileStorageProviderInput {
5763
5768
  ID: string;
@@ -5768,6 +5773,8 @@ export declare class UpdateMJFileStorageProviderInput {
5768
5773
  Priority?: number;
5769
5774
  IsActive?: boolean;
5770
5775
  SupportsSearch?: boolean;
5776
+ Configuration?: string | null;
5777
+ RequiresOAuth?: boolean;
5771
5778
  OldValues___?: KeyValuePairInput[];
5772
5779
  }
5773
5780
  export declare class RunMJFileStorageProviderViewResult {
@@ -5785,6 +5792,7 @@ export declare class MJFileStorageProviderResolver extends ResolverBase {
5785
5792
  RunMJFileStorageProviderDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
5786
5793
  MJFileStorageProvider(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJFileStorageProvider_ | null>;
5787
5794
  Files_ProviderIDArray(mjfilestorageprovider_: MJFileStorageProvider_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
5795
+ MJ_FileStorageAccounts_ProviderIDArray(mjfilestorageprovider_: MJFileStorageProvider_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
5788
5796
  MJ_AIConfigurations_DefaultStorageProviderIDArray(mjfilestorageprovider_: MJFileStorageProvider_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
5789
5797
  AIAgents_AttachmentStorageProviderIDArray(mjfilestorageprovider_: MJFileStorageProvider_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
5790
5798
  CreateMJFileStorageProvider(input: CreateMJFileStorageProviderInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
@@ -5852,63 +5860,6 @@ export declare class MJFileResolver extends ResolverBase {
5852
5860
  UpdateMJFile(input: UpdateMJFileInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
5853
5861
  DeleteMJFile(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
5854
5862
  }
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
5863
  export declare class MJGeneratedCodeCategory_ {
5913
5864
  ID: string;
5914
5865
  Name: string;
@@ -8695,6 +8646,200 @@ export declare class MJAIVendorResolver extends ResolverBase {
8695
8646
  UpdateMJAIVendor(input: UpdateMJAIVendorInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8696
8647
  DeleteMJAIVendor(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8697
8648
  }
8649
+ export declare class MJAPIKeyScope_ {
8650
+ ID: string;
8651
+ APIKeyID: string;
8652
+ ScopeID: string;
8653
+ _mj__CreatedAt: Date;
8654
+ _mj__UpdatedAt: Date;
8655
+ APIKey: string;
8656
+ Scope: string;
8657
+ }
8658
+ export declare class CreateMJAPIKeyScopeInput {
8659
+ ID?: string;
8660
+ APIKeyID?: string;
8661
+ ScopeID?: string;
8662
+ }
8663
+ export declare class UpdateMJAPIKeyScopeInput {
8664
+ ID: string;
8665
+ APIKeyID?: string;
8666
+ ScopeID?: string;
8667
+ OldValues___?: KeyValuePairInput[];
8668
+ }
8669
+ export declare class RunMJAPIKeyScopeViewResult {
8670
+ Results: MJAPIKeyScope_[];
8671
+ UserViewRunID?: string;
8672
+ RowCount: number;
8673
+ TotalRowCount: number;
8674
+ ExecutionTime: number;
8675
+ ErrorMessage?: string;
8676
+ Success: boolean;
8677
+ }
8678
+ export declare class MJAPIKeyScopeResolver extends ResolverBase {
8679
+ RunMJAPIKeyScopeViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8680
+ RunMJAPIKeyScopeViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8681
+ RunMJAPIKeyScopeDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8682
+ MJAPIKeyScope(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJAPIKeyScope_ | null>;
8683
+ CreateMJAPIKeyScope(input: CreateMJAPIKeyScopeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8684
+ UpdateMJAPIKeyScope(input: UpdateMJAPIKeyScopeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8685
+ DeleteMJAPIKeyScope(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8686
+ }
8687
+ export declare class MJAPIKeyUsageLog_ {
8688
+ ID: string;
8689
+ APIKeyID: string;
8690
+ Endpoint: string;
8691
+ Operation?: string;
8692
+ Method: string;
8693
+ StatusCode: number;
8694
+ ResponseTimeMs?: number;
8695
+ IPAddress?: string;
8696
+ UserAgent?: string;
8697
+ _mj__CreatedAt: Date;
8698
+ _mj__UpdatedAt: Date;
8699
+ APIKey: string;
8700
+ }
8701
+ export declare class CreateMJAPIKeyUsageLogInput {
8702
+ ID?: string;
8703
+ APIKeyID?: string;
8704
+ Endpoint?: string;
8705
+ Operation: string | null;
8706
+ Method?: string;
8707
+ StatusCode?: number;
8708
+ ResponseTimeMs: number | null;
8709
+ IPAddress: string | null;
8710
+ UserAgent: string | null;
8711
+ }
8712
+ export declare class UpdateMJAPIKeyUsageLogInput {
8713
+ ID: string;
8714
+ APIKeyID?: string;
8715
+ Endpoint?: string;
8716
+ Operation?: string | null;
8717
+ Method?: string;
8718
+ StatusCode?: number;
8719
+ ResponseTimeMs?: number | null;
8720
+ IPAddress?: string | null;
8721
+ UserAgent?: string | null;
8722
+ OldValues___?: KeyValuePairInput[];
8723
+ }
8724
+ export declare class RunMJAPIKeyUsageLogViewResult {
8725
+ Results: MJAPIKeyUsageLog_[];
8726
+ UserViewRunID?: string;
8727
+ RowCount: number;
8728
+ TotalRowCount: number;
8729
+ ExecutionTime: number;
8730
+ ErrorMessage?: string;
8731
+ Success: boolean;
8732
+ }
8733
+ export declare class MJAPIKeyUsageLogResolver extends ResolverBase {
8734
+ RunMJAPIKeyUsageLogViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8735
+ RunMJAPIKeyUsageLogViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8736
+ RunMJAPIKeyUsageLogDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8737
+ MJAPIKeyUsageLog(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJAPIKeyUsageLog_ | null>;
8738
+ CreateMJAPIKeyUsageLog(input: CreateMJAPIKeyUsageLogInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8739
+ UpdateMJAPIKeyUsageLog(input: UpdateMJAPIKeyUsageLogInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8740
+ DeleteMJAPIKeyUsageLog(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8741
+ }
8742
+ export declare class MJAPIKey_ {
8743
+ ID: string;
8744
+ Hash: string;
8745
+ UserID: string;
8746
+ Label: string;
8747
+ Description?: string;
8748
+ Status: string;
8749
+ ExpiresAt?: Date;
8750
+ LastUsedAt?: Date;
8751
+ CreatedByUserID: string;
8752
+ _mj__CreatedAt: Date;
8753
+ _mj__UpdatedAt: Date;
8754
+ User: string;
8755
+ CreatedByUser: string;
8756
+ MJ_APIKeyUsageLogs_APIKeyIDArray: MJAPIKeyUsageLog_[];
8757
+ MJ_APIKeyScopes_APIKeyIDArray: MJAPIKeyScope_[];
8758
+ }
8759
+ export declare class CreateMJAPIKeyInput {
8760
+ ID?: string;
8761
+ Hash?: string;
8762
+ UserID?: string;
8763
+ Label?: string;
8764
+ Description: string | null;
8765
+ Status?: string;
8766
+ ExpiresAt: Date | null;
8767
+ LastUsedAt: Date | null;
8768
+ CreatedByUserID?: string;
8769
+ }
8770
+ export declare class UpdateMJAPIKeyInput {
8771
+ ID: string;
8772
+ Hash?: string;
8773
+ UserID?: string;
8774
+ Label?: string;
8775
+ Description?: string | null;
8776
+ Status?: string;
8777
+ ExpiresAt?: Date | null;
8778
+ LastUsedAt?: Date | null;
8779
+ CreatedByUserID?: string;
8780
+ OldValues___?: KeyValuePairInput[];
8781
+ }
8782
+ export declare class RunMJAPIKeyViewResult {
8783
+ Results: MJAPIKey_[];
8784
+ UserViewRunID?: string;
8785
+ RowCount: number;
8786
+ TotalRowCount: number;
8787
+ ExecutionTime: number;
8788
+ ErrorMessage?: string;
8789
+ Success: boolean;
8790
+ }
8791
+ export declare class MJAPIKeyResolver extends ResolverBase {
8792
+ RunMJAPIKeyViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8793
+ RunMJAPIKeyViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8794
+ RunMJAPIKeyDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8795
+ MJAPIKey(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJAPIKey_ | null>;
8796
+ MJ_APIKeyUsageLogs_APIKeyIDArray(mjapikey_: MJAPIKey_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
8797
+ MJ_APIKeyScopes_APIKeyIDArray(mjapikey_: MJAPIKey_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
8798
+ CreateMJAPIKey(input: CreateMJAPIKeyInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8799
+ UpdateMJAPIKey(input: UpdateMJAPIKeyInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8800
+ DeleteMJAPIKey(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8801
+ }
8802
+ export declare class MJAPIScope_ {
8803
+ ID: string;
8804
+ Name: string;
8805
+ Category: string;
8806
+ Description?: string;
8807
+ _mj__CreatedAt: Date;
8808
+ _mj__UpdatedAt: Date;
8809
+ MJ_APIKeyScopes_ScopeIDArray: MJAPIKeyScope_[];
8810
+ }
8811
+ export declare class CreateMJAPIScopeInput {
8812
+ ID?: string;
8813
+ Name?: string;
8814
+ Category?: string;
8815
+ Description: string | null;
8816
+ }
8817
+ export declare class UpdateMJAPIScopeInput {
8818
+ ID: string;
8819
+ Name?: string;
8820
+ Category?: string;
8821
+ Description?: string | null;
8822
+ OldValues___?: KeyValuePairInput[];
8823
+ }
8824
+ export declare class RunMJAPIScopeViewResult {
8825
+ Results: MJAPIScope_[];
8826
+ UserViewRunID?: string;
8827
+ RowCount: number;
8828
+ TotalRowCount: number;
8829
+ ExecutionTime: number;
8830
+ ErrorMessage?: string;
8831
+ Success: boolean;
8832
+ }
8833
+ export declare class MJAPIScopeResolver extends ResolverBase {
8834
+ RunMJAPIScopeViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8835
+ RunMJAPIScopeViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8836
+ RunMJAPIScopeDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
8837
+ MJAPIScope(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJAPIScope_ | null>;
8838
+ MJ_APIKeyScopes_ScopeIDArray(mjapiscope_: MJAPIScope_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
8839
+ CreateMJAPIScope(input: CreateMJAPIScopeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8840
+ UpdateMJAPIScope(input: UpdateMJAPIScopeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8841
+ DeleteMJAPIScope(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
8842
+ }
8698
8843
  export declare class MJArtifactPermission_ {
8699
8844
  ID: string;
8700
8845
  ArtifactID: string;
@@ -9921,6 +10066,7 @@ export declare class MJCredential_ {
9921
10066
  _mj__UpdatedAt: Date;
9922
10067
  CredentialType: string;
9923
10068
  Category?: string;
10069
+ MJ_FileStorageAccounts_CredentialIDArray: MJFileStorageAccount_[];
9924
10070
  MJ_AICredentialBindings_CredentialIDArray: MJAICredentialBinding_[];
9925
10071
  }
9926
10072
  export declare class CreateMJCredentialInput {
@@ -9966,6 +10112,7 @@ export declare class MJCredentialResolver extends ResolverBase {
9966
10112
  RunMJCredentialViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
9967
10113
  RunMJCredentialDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
9968
10114
  MJCredential(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJCredential_ | null>;
10115
+ MJ_FileStorageAccounts_CredentialIDArray(mjcredential_: MJCredential_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
9969
10116
  MJ_AICredentialBindings_CredentialIDArray(mjcredential_: MJCredential_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
9970
10117
  CreateMJCredential(input: CreateMJCredentialInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
9971
10118
  UpdateMJCredential(input: UpdateMJCredentialInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
@@ -10499,6 +10646,50 @@ export declare class MJEnvironmentResolver extends ResolverBase {
10499
10646
  UpdateMJEnvironment(input: UpdateMJEnvironmentInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
10500
10647
  DeleteMJEnvironment(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
10501
10648
  }
10649
+ export declare class MJFileStorageAccount_ {
10650
+ ID: string;
10651
+ Name: string;
10652
+ Description?: string;
10653
+ ProviderID: string;
10654
+ CredentialID: string;
10655
+ _mj__CreatedAt: Date;
10656
+ _mj__UpdatedAt: Date;
10657
+ Provider: string;
10658
+ Credential: string;
10659
+ }
10660
+ export declare class CreateMJFileStorageAccountInput {
10661
+ ID?: string;
10662
+ Name?: string;
10663
+ Description: string | null;
10664
+ ProviderID?: string;
10665
+ CredentialID?: string;
10666
+ }
10667
+ export declare class UpdateMJFileStorageAccountInput {
10668
+ ID: string;
10669
+ Name?: string;
10670
+ Description?: string | null;
10671
+ ProviderID?: string;
10672
+ CredentialID?: string;
10673
+ OldValues___?: KeyValuePairInput[];
10674
+ }
10675
+ export declare class RunMJFileStorageAccountViewResult {
10676
+ Results: MJFileStorageAccount_[];
10677
+ UserViewRunID?: string;
10678
+ RowCount: number;
10679
+ TotalRowCount: number;
10680
+ ExecutionTime: number;
10681
+ ErrorMessage?: string;
10682
+ Success: boolean;
10683
+ }
10684
+ export declare class MJFileStorageAccountResolver extends ResolverBase {
10685
+ RunMJFileStorageAccountViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
10686
+ RunMJFileStorageAccountViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
10687
+ RunMJFileStorageAccountDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
10688
+ MJFileStorageAccount(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJFileStorageAccount_ | null>;
10689
+ CreateMJFileStorageAccount(input: CreateMJFileStorageAccountInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
10690
+ UpdateMJFileStorageAccount(input: UpdateMJFileStorageAccountInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
10691
+ DeleteMJFileStorageAccount(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
10692
+ }
10502
10693
  export declare class MJListInvitation_ {
10503
10694
  ID: string;
10504
10695
  ListID: string;
@@ -11887,6 +12078,128 @@ export declare class MJTestResolver extends ResolverBase {
11887
12078
  UpdateMJTest(input: UpdateMJTestInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
11888
12079
  DeleteMJTest(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
11889
12080
  }
12081
+ export declare class MJUserNotificationPreference_ {
12082
+ ID: string;
12083
+ UserID: string;
12084
+ NotificationTypeID: string;
12085
+ InAppEnabled?: boolean;
12086
+ EmailEnabled?: boolean;
12087
+ SMSEnabled?: boolean;
12088
+ Enabled?: boolean;
12089
+ _mj__CreatedAt: Date;
12090
+ _mj__UpdatedAt: Date;
12091
+ User: string;
12092
+ NotificationType: string;
12093
+ }
12094
+ export declare class CreateMJUserNotificationPreferenceInput {
12095
+ ID?: string;
12096
+ UserID?: string;
12097
+ NotificationTypeID?: string;
12098
+ InAppEnabled: boolean | null;
12099
+ EmailEnabled: boolean | null;
12100
+ SMSEnabled: boolean | null;
12101
+ Enabled?: boolean | null;
12102
+ }
12103
+ export declare class UpdateMJUserNotificationPreferenceInput {
12104
+ ID: string;
12105
+ UserID?: string;
12106
+ NotificationTypeID?: string;
12107
+ InAppEnabled?: boolean | null;
12108
+ EmailEnabled?: boolean | null;
12109
+ SMSEnabled?: boolean | null;
12110
+ Enabled?: boolean | null;
12111
+ OldValues___?: KeyValuePairInput[];
12112
+ }
12113
+ export declare class RunMJUserNotificationPreferenceViewResult {
12114
+ Results: MJUserNotificationPreference_[];
12115
+ UserViewRunID?: string;
12116
+ RowCount: number;
12117
+ TotalRowCount: number;
12118
+ ExecutionTime: number;
12119
+ ErrorMessage?: string;
12120
+ Success: boolean;
12121
+ }
12122
+ export declare class MJUserNotificationPreferenceResolver extends ResolverBase {
12123
+ RunMJUserNotificationPreferenceViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
12124
+ RunMJUserNotificationPreferenceViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
12125
+ RunMJUserNotificationPreferenceDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
12126
+ MJUserNotificationPreference(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJUserNotificationPreference_ | null>;
12127
+ CreateMJUserNotificationPreference(input: CreateMJUserNotificationPreferenceInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
12128
+ UpdateMJUserNotificationPreference(input: UpdateMJUserNotificationPreferenceInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
12129
+ DeleteMJUserNotificationPreference(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
12130
+ }
12131
+ export declare class MJUserNotificationType_ {
12132
+ ID: string;
12133
+ Name: string;
12134
+ Description?: string;
12135
+ DefaultInApp: boolean;
12136
+ DefaultEmail: boolean;
12137
+ DefaultSMS: boolean;
12138
+ AllowUserPreference?: boolean;
12139
+ EmailTemplateID?: string;
12140
+ SMSTemplateID?: string;
12141
+ Icon?: string;
12142
+ Color?: string;
12143
+ AutoExpireDays?: number;
12144
+ Priority?: number;
12145
+ _mj__CreatedAt: Date;
12146
+ _mj__UpdatedAt: Date;
12147
+ EmailTemplate?: string;
12148
+ SMSTemplate?: string;
12149
+ UserNotifications_NotificationTypeIDArray: MJUserNotification_[];
12150
+ MJ_UserNotificationPreferences_NotificationTypeIDArray: MJUserNotificationPreference_[];
12151
+ }
12152
+ export declare class CreateMJUserNotificationTypeInput {
12153
+ ID?: string;
12154
+ Name?: string;
12155
+ Description: string | null;
12156
+ DefaultInApp?: boolean;
12157
+ DefaultEmail?: boolean;
12158
+ DefaultSMS?: boolean;
12159
+ AllowUserPreference?: boolean | null;
12160
+ EmailTemplateID: string | null;
12161
+ SMSTemplateID: string | null;
12162
+ Icon: string | null;
12163
+ Color: string | null;
12164
+ AutoExpireDays: number | null;
12165
+ Priority?: number | null;
12166
+ }
12167
+ export declare class UpdateMJUserNotificationTypeInput {
12168
+ ID: string;
12169
+ Name?: string;
12170
+ Description?: string | null;
12171
+ DefaultInApp?: boolean;
12172
+ DefaultEmail?: boolean;
12173
+ DefaultSMS?: boolean;
12174
+ AllowUserPreference?: boolean | null;
12175
+ EmailTemplateID?: string | null;
12176
+ SMSTemplateID?: string | null;
12177
+ Icon?: string | null;
12178
+ Color?: string | null;
12179
+ AutoExpireDays?: number | null;
12180
+ Priority?: number | null;
12181
+ OldValues___?: KeyValuePairInput[];
12182
+ }
12183
+ export declare class RunMJUserNotificationTypeViewResult {
12184
+ Results: MJUserNotificationType_[];
12185
+ UserViewRunID?: string;
12186
+ RowCount: number;
12187
+ TotalRowCount: number;
12188
+ ExecutionTime: number;
12189
+ ErrorMessage?: string;
12190
+ Success: boolean;
12191
+ }
12192
+ export declare class MJUserNotificationTypeResolver extends ResolverBase {
12193
+ RunMJUserNotificationTypeViewByID(input: RunViewByIDInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
12194
+ RunMJUserNotificationTypeViewByName(input: RunViewByNameInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
12195
+ RunMJUserNotificationTypeDynamicView(input: RunDynamicViewInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<import("@memberjunction/core").RunViewResult<any>>;
12196
+ MJUserNotificationType(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJUserNotificationType_ | null>;
12197
+ UserNotifications_NotificationTypeIDArray(mjusernotificationtype_: MJUserNotificationType_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
12198
+ MJ_UserNotificationPreferences_NotificationTypeIDArray(mjusernotificationtype_: MJUserNotificationType_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
12199
+ CreateMJUserNotificationType(input: CreateMJUserNotificationTypeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
12200
+ UpdateMJUserNotificationType(input: UpdateMJUserNotificationTypeInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
12201
+ DeleteMJUserNotificationType(ID: string, options: DeleteOptionsInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
12202
+ }
11890
12203
  export declare class MJUserSetting_ {
11891
12204
  ID: string;
11892
12205
  UserID: string;
@@ -13929,7 +14242,9 @@ export declare class MJTemplate_ {
13929
14242
  User: string;
13930
14243
  TemplateParams_TemplateIDArray: MJTemplateParam_[];
13931
14244
  TemplateContents_TemplateIDArray: MJTemplateContent_[];
14245
+ MJ_UserNotificationTypes_SMSTemplateIDArray: MJUserNotificationType_[];
13932
14246
  AIPrompts_TemplateIDArray: MJAIPrompt_[];
14247
+ MJ_UserNotificationTypes_EmailTemplateIDArray: MJUserNotificationType_[];
13933
14248
  EntityDocuments_TemplateIDArray: MJEntityDocument_[];
13934
14249
  }
13935
14250
  export declare class CreateMJTemplateInput {
@@ -13971,7 +14286,9 @@ export declare class MJTemplateResolver extends ResolverBase {
13971
14286
  MJTemplate(ID: string, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<MJTemplate_ | null>;
13972
14287
  TemplateParams_TemplateIDArray(mjtemplate_: MJTemplate_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
13973
14288
  TemplateContents_TemplateIDArray(mjtemplate_: MJTemplate_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14289
+ MJ_UserNotificationTypes_SMSTemplateIDArray(mjtemplate_: MJTemplate_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
13974
14290
  AIPrompts_TemplateIDArray(mjtemplate_: MJTemplate_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14291
+ MJ_UserNotificationTypes_EmailTemplateIDArray(mjtemplate_: MJTemplate_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
13975
14292
  EntityDocuments_TemplateIDArray(mjtemplate_: MJTemplate_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
13976
14293
  CreateMJTemplate(input: CreateMJTemplateInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
13977
14294
  UpdateMJTemplate(input: UpdateMJTemplateInput, { providers, userPayload }: AppContext, pubSub: PubSubEngine): Promise<any>;
@@ -14119,8 +14436,10 @@ export declare class MJUserNotification_ {
14119
14436
  _mj__CreatedAt: Date;
14120
14437
  _mj__UpdatedAt: Date;
14121
14438
  ResourceRecordID?: string;
14439
+ NotificationTypeID?: string;
14122
14440
  User: string;
14123
14441
  ResourceType?: string;
14442
+ NotificationType?: string;
14124
14443
  }
14125
14444
  export declare class CreateMJUserNotificationInput {
14126
14445
  ID?: string;
@@ -14132,6 +14451,7 @@ export declare class CreateMJUserNotificationInput {
14132
14451
  Unread?: boolean;
14133
14452
  ReadAt: Date | null;
14134
14453
  ResourceRecordID: string | null;
14454
+ NotificationTypeID: string | null;
14135
14455
  }
14136
14456
  export declare class UpdateMJUserNotificationInput {
14137
14457
  ID: string;
@@ -14143,6 +14463,7 @@ export declare class UpdateMJUserNotificationInput {
14143
14463
  Unread?: boolean;
14144
14464
  ReadAt?: Date | null;
14145
14465
  ResourceRecordID?: string | null;
14466
+ NotificationTypeID?: string | null;
14146
14467
  OldValues___?: KeyValuePairInput[];
14147
14468
  }
14148
14469
  export declare class RunMJUserNotificationViewResult {
@@ -14569,6 +14890,8 @@ export declare class MJUser_ {
14569
14890
  MJ_DashboardCategoryLinks_UserIDArray: MJDashboardCategoryLink_[];
14570
14891
  MJ_DashboardCategoryPermissions_UserIDArray: MJDashboardCategoryPermission_[];
14571
14892
  MJ_DashboardPermissions_SharedByUserIDArray: MJDashboardPermission_[];
14893
+ MJ_UserNotificationPreferences_UserIDArray: MJUserNotificationPreference_[];
14894
+ MJ_APIKeys_UserIDArray: MJAPIKey_[];
14572
14895
  ResourcePermissions_UserIDArray: MJResourcePermission_[];
14573
14896
  AIAgentRequests_RequestForUserIDArray: MJAIAgentRequest_[];
14574
14897
  ConversationDetails_UserIDArray: MJConversationDetail_[];
@@ -14580,6 +14903,7 @@ export declare class MJUser_ {
14580
14903
  MJ_TestRuns_RunByUserIDArray: MJTestRun_[];
14581
14904
  MJ_DashboardPermissions_UserIDArray: MJDashboardPermission_[];
14582
14905
  MJ_DashboardCategoryPermissions_SharedByUserIDArray: MJDashboardCategoryPermission_[];
14906
+ MJ_APIKeys_CreatedByUserIDArray: MJAPIKey_[];
14583
14907
  MJ_AIAgentRuns_UserIDArray: MJAIAgentRun_[];
14584
14908
  MJ_AIAgentPermissions_UserIDArray: MJAIAgentPermission_[];
14585
14909
  MJ_Collections_OwnerIDArray: MJCollection_[];
@@ -14689,6 +15013,8 @@ export declare class MJUserResolverBase extends ResolverBase {
14689
15013
  MJ_DashboardCategoryLinks_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14690
15014
  MJ_DashboardCategoryPermissions_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14691
15015
  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
+ MJ_APIKeys_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14692
15018
  ResourcePermissions_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14693
15019
  AIAgentRequests_RequestForUserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14694
15020
  ConversationDetails_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
@@ -14700,6 +15026,7 @@ export declare class MJUserResolverBase extends ResolverBase {
14700
15026
  MJ_TestRuns_RunByUserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14701
15027
  MJ_DashboardPermissions_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14702
15028
  MJ_DashboardCategoryPermissions_SharedByUserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
15029
+ MJ_APIKeys_CreatedByUserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14703
15030
  MJ_AIAgentRuns_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14704
15031
  MJ_AIAgentPermissions_UserIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;
14705
15032
  MJ_Collections_OwnerIDArray(mjuser_: MJUser_, { dataSources, userPayload, providers }: AppContext, pubSub: PubSubEngine): Promise<any[]>;