@memberjunction/graphql-dataprovider 2.52.0 → 2.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -442,6 +442,47 @@ declare class GraphQLSystemUserClient {
442
442
  * @returns
443
443
  */
444
444
  SyncRolesAndUsers(data: RolesAndUsersInput): Promise<SyncRolesAndUsersResult>;
445
+ /**
446
+ * Runs a view by name using the RunViewByNameSystemUser resolver.
447
+ * @param input - View input parameters for running by name
448
+ * @returns Promise containing the view execution results
449
+ */
450
+ RunViewByNameSystemUser(input: RunViewByNameSystemUserInput): Promise<RunViewSystemUserResult>;
451
+ /**
452
+ * Runs a view by ID using the RunViewByIDSystemUser resolver.
453
+ * @param input - View input parameters for running by ID
454
+ * @returns Promise containing the view execution results
455
+ */
456
+ RunViewByIDSystemUser(input: RunViewByIDSystemUserInput): Promise<RunViewSystemUserResult>;
457
+ /**
458
+ * Runs a dynamic view using the RunDynamicViewSystemUser resolver.
459
+ * @param input - View input parameters for dynamic view execution
460
+ * @returns Promise containing the view execution results
461
+ */
462
+ RunDynamicViewSystemUser(input: RunDynamicViewSystemUserInput): Promise<RunViewSystemUserResult>;
463
+ /**
464
+ * Runs multiple views using the RunViewsSystemUser resolver. This method allows system users
465
+ * to execute view queries with the same functionality as regular users but with system-level privileges.
466
+ * @param input - Array of view input parameters
467
+ * @returns Promise containing the results from all view executions
468
+ */
469
+ RunViewsSystemUser(input: RunViewSystemUserInput[]): Promise<RunViewSystemUserResult[]>;
470
+ /**
471
+ * Executes a stored query by ID using the GetQueryDataSystemUser resolver.
472
+ * @param queryId - The ID of the query to execute
473
+ * @param categoryId - Optional category ID filter
474
+ * @param categoryName - Optional category name filter
475
+ * @returns Promise containing the query execution results
476
+ */
477
+ GetQueryDataSystemUser(queryId: string, categoryId?: string, categoryName?: string): Promise<RunQuerySystemUserResult>;
478
+ /**
479
+ * Executes a stored query by name using the GetQueryDataByNameSystemUser resolver.
480
+ * @param queryName - The name of the query to execute
481
+ * @param categoryId - Optional category ID filter
482
+ * @param categoryName - Optional category name filter
483
+ * @returns Promise containing the query execution results
484
+ */
485
+ GetQueryDataByNameSystemUser(queryName: string, categoryId?: string, categoryName?: string): Promise<RunQuerySystemUserResult>;
445
486
  }
446
487
  /**
447
488
  * Output type for GetData calls
@@ -503,6 +544,114 @@ declare class SimpleRemoteEntityField {
503
544
  AllowsNull: boolean;
504
545
  MaxLength: number;
505
546
  }
547
+ /**
548
+ * Input type for RunViewByNameSystemUser method calls
549
+ */
550
+ interface RunViewByNameSystemUserInput {
551
+ ViewName: string;
552
+ ExtraFilter?: string;
553
+ OrderBy?: string;
554
+ Fields?: string[];
555
+ UserSearchString?: string;
556
+ ExcludeUserViewRunID?: string;
557
+ OverrideExcludeFilter?: string;
558
+ SaveViewResults?: boolean;
559
+ ExcludeDataFromAllPriorViewRuns?: boolean;
560
+ IgnoreMaxRows?: boolean;
561
+ MaxRows?: number;
562
+ ForceAuditLog?: boolean;
563
+ AuditLogDescription?: string;
564
+ ResultType?: string;
565
+ StartRow?: number;
566
+ }
567
+ /**
568
+ * Input type for RunViewByIDSystemUser method calls
569
+ */
570
+ interface RunViewByIDSystemUserInput {
571
+ ViewID: string;
572
+ ExtraFilter?: string;
573
+ OrderBy?: string;
574
+ Fields?: string[];
575
+ UserSearchString?: string;
576
+ ExcludeUserViewRunID?: string;
577
+ OverrideExcludeFilter?: string;
578
+ SaveViewResults?: boolean;
579
+ ExcludeDataFromAllPriorViewRuns?: boolean;
580
+ IgnoreMaxRows?: boolean;
581
+ MaxRows?: number;
582
+ ForceAuditLog?: boolean;
583
+ AuditLogDescription?: string;
584
+ ResultType?: string;
585
+ StartRow?: number;
586
+ }
587
+ /**
588
+ * Input type for RunDynamicViewSystemUser method calls
589
+ */
590
+ interface RunDynamicViewSystemUserInput {
591
+ EntityName: string;
592
+ ExtraFilter?: string;
593
+ OrderBy?: string;
594
+ Fields?: string[];
595
+ UserSearchString?: string;
596
+ ExcludeUserViewRunID?: string;
597
+ OverrideExcludeFilter?: string;
598
+ IgnoreMaxRows?: boolean;
599
+ MaxRows?: number;
600
+ ForceAuditLog?: boolean;
601
+ AuditLogDescription?: string;
602
+ ResultType?: string;
603
+ StartRow?: number;
604
+ }
605
+ /**
606
+ * Input type for RunViewsSystemUser method calls
607
+ */
608
+ interface RunViewSystemUserInput {
609
+ EntityName: string;
610
+ ExtraFilter?: string;
611
+ OrderBy?: string;
612
+ Fields?: string[];
613
+ UserSearchString?: string;
614
+ ExcludeUserViewRunID?: string;
615
+ OverrideExcludeFilter?: string;
616
+ IgnoreMaxRows?: boolean;
617
+ MaxRows?: number;
618
+ ForceAuditLog?: boolean;
619
+ AuditLogDescription?: string;
620
+ ResultType?: string;
621
+ StartRow?: number;
622
+ }
623
+ /**
624
+ * Result row type for view execution results
625
+ */
626
+ interface RunViewSystemUserResultRow {
627
+ ID: string;
628
+ EntityID: string;
629
+ Data: string;
630
+ }
631
+ /**
632
+ * Result type for RunViewsSystemUser method calls
633
+ */
634
+ interface RunViewSystemUserResult {
635
+ Results: RunViewSystemUserResultRow[];
636
+ UserViewRunID?: string;
637
+ RowCount?: number;
638
+ TotalRowCount?: number;
639
+ ExecutionTime?: number;
640
+ ErrorMessage?: string;
641
+ Success: boolean;
642
+ }
643
+ /**
644
+ * Result type for query execution methods
645
+ */
646
+ interface RunQuerySystemUserResult {
647
+ QueryID: string;
648
+ QueryName: string;
649
+ Success: boolean;
650
+ Results: any;
651
+ RowCount: number;
652
+ ExecutionTime: number;
653
+ ErrorMessage: string;
654
+ }
506
655
 
507
656
  /**
508
657
  * Client for executing actions and entity actions through GraphQL.
@@ -695,4 +844,4 @@ declare class GraphQLActionClient {
695
844
  private handleEntityActionError;
696
845
  }
697
846
 
698
- export { ActionItemInput, ActionItemOutput, FieldMapper, GetDataOutput, GraphQLActionClient, GraphQLDataProvider, GraphQLProviderConfigData, GraphQLSystemUserClient, GraphQLTransactionGroup, RoleInput, RolesAndUsersInput, SimpleRemoteEntity, SimpleRemoteEntityField, SimpleRemoteEntityOutput, SyncDataAction, SyncDataResult, SyncRolesAndUsersResult, UserInput, setupGraphQLClient };
847
+ export { ActionItemInput, ActionItemOutput, FieldMapper, GetDataOutput, GraphQLActionClient, GraphQLDataProvider, GraphQLProviderConfigData, GraphQLSystemUserClient, GraphQLTransactionGroup, RoleInput, RolesAndUsersInput, type RunDynamicViewSystemUserInput, type RunQuerySystemUserResult, type RunViewByIDSystemUserInput, type RunViewByNameSystemUserInput, type RunViewSystemUserInput, type RunViewSystemUserResult, type RunViewSystemUserResultRow, SimpleRemoteEntity, SimpleRemoteEntityField, SimpleRemoteEntityOutput, SyncDataAction, SyncDataResult, SyncRolesAndUsersResult, UserInput, setupGraphQLClient };
package/dist/index.d.mts CHANGED
@@ -442,6 +442,47 @@ declare class GraphQLSystemUserClient {
442
442
  * @returns
443
443
  */
444
444
  SyncRolesAndUsers(data: RolesAndUsersInput): Promise<SyncRolesAndUsersResult>;
445
+ /**
446
+ * Runs a view by name using the RunViewByNameSystemUser resolver.
447
+ * @param input - View input parameters for running by name
448
+ * @returns Promise containing the view execution results
449
+ */
450
+ RunViewByNameSystemUser(input: RunViewByNameSystemUserInput): Promise<RunViewSystemUserResult>;
451
+ /**
452
+ * Runs a view by ID using the RunViewByIDSystemUser resolver.
453
+ * @param input - View input parameters for running by ID
454
+ * @returns Promise containing the view execution results
455
+ */
456
+ RunViewByIDSystemUser(input: RunViewByIDSystemUserInput): Promise<RunViewSystemUserResult>;
457
+ /**
458
+ * Runs a dynamic view using the RunDynamicViewSystemUser resolver.
459
+ * @param input - View input parameters for dynamic view execution
460
+ * @returns Promise containing the view execution results
461
+ */
462
+ RunDynamicViewSystemUser(input: RunDynamicViewSystemUserInput): Promise<RunViewSystemUserResult>;
463
+ /**
464
+ * Runs multiple views using the RunViewsSystemUser resolver. This method allows system users
465
+ * to execute view queries with the same functionality as regular users but with system-level privileges.
466
+ * @param input - Array of view input parameters
467
+ * @returns Promise containing the results from all view executions
468
+ */
469
+ RunViewsSystemUser(input: RunViewSystemUserInput[]): Promise<RunViewSystemUserResult[]>;
470
+ /**
471
+ * Executes a stored query by ID using the GetQueryDataSystemUser resolver.
472
+ * @param queryId - The ID of the query to execute
473
+ * @param categoryId - Optional category ID filter
474
+ * @param categoryName - Optional category name filter
475
+ * @returns Promise containing the query execution results
476
+ */
477
+ GetQueryDataSystemUser(queryId: string, categoryId?: string, categoryName?: string): Promise<RunQuerySystemUserResult>;
478
+ /**
479
+ * Executes a stored query by name using the GetQueryDataByNameSystemUser resolver.
480
+ * @param queryName - The name of the query to execute
481
+ * @param categoryId - Optional category ID filter
482
+ * @param categoryName - Optional category name filter
483
+ * @returns Promise containing the query execution results
484
+ */
485
+ GetQueryDataByNameSystemUser(queryName: string, categoryId?: string, categoryName?: string): Promise<RunQuerySystemUserResult>;
445
486
  }
446
487
  /**
447
488
  * Output type for GetData calls
@@ -503,6 +544,114 @@ declare class SimpleRemoteEntityField {
503
544
  AllowsNull: boolean;
504
545
  MaxLength: number;
505
546
  }
547
+ /**
548
+ * Input type for RunViewByNameSystemUser method calls
549
+ */
550
+ interface RunViewByNameSystemUserInput {
551
+ ViewName: string;
552
+ ExtraFilter?: string;
553
+ OrderBy?: string;
554
+ Fields?: string[];
555
+ UserSearchString?: string;
556
+ ExcludeUserViewRunID?: string;
557
+ OverrideExcludeFilter?: string;
558
+ SaveViewResults?: boolean;
559
+ ExcludeDataFromAllPriorViewRuns?: boolean;
560
+ IgnoreMaxRows?: boolean;
561
+ MaxRows?: number;
562
+ ForceAuditLog?: boolean;
563
+ AuditLogDescription?: string;
564
+ ResultType?: string;
565
+ StartRow?: number;
566
+ }
567
+ /**
568
+ * Input type for RunViewByIDSystemUser method calls
569
+ */
570
+ interface RunViewByIDSystemUserInput {
571
+ ViewID: string;
572
+ ExtraFilter?: string;
573
+ OrderBy?: string;
574
+ Fields?: string[];
575
+ UserSearchString?: string;
576
+ ExcludeUserViewRunID?: string;
577
+ OverrideExcludeFilter?: string;
578
+ SaveViewResults?: boolean;
579
+ ExcludeDataFromAllPriorViewRuns?: boolean;
580
+ IgnoreMaxRows?: boolean;
581
+ MaxRows?: number;
582
+ ForceAuditLog?: boolean;
583
+ AuditLogDescription?: string;
584
+ ResultType?: string;
585
+ StartRow?: number;
586
+ }
587
+ /**
588
+ * Input type for RunDynamicViewSystemUser method calls
589
+ */
590
+ interface RunDynamicViewSystemUserInput {
591
+ EntityName: string;
592
+ ExtraFilter?: string;
593
+ OrderBy?: string;
594
+ Fields?: string[];
595
+ UserSearchString?: string;
596
+ ExcludeUserViewRunID?: string;
597
+ OverrideExcludeFilter?: string;
598
+ IgnoreMaxRows?: boolean;
599
+ MaxRows?: number;
600
+ ForceAuditLog?: boolean;
601
+ AuditLogDescription?: string;
602
+ ResultType?: string;
603
+ StartRow?: number;
604
+ }
605
+ /**
606
+ * Input type for RunViewsSystemUser method calls
607
+ */
608
+ interface RunViewSystemUserInput {
609
+ EntityName: string;
610
+ ExtraFilter?: string;
611
+ OrderBy?: string;
612
+ Fields?: string[];
613
+ UserSearchString?: string;
614
+ ExcludeUserViewRunID?: string;
615
+ OverrideExcludeFilter?: string;
616
+ IgnoreMaxRows?: boolean;
617
+ MaxRows?: number;
618
+ ForceAuditLog?: boolean;
619
+ AuditLogDescription?: string;
620
+ ResultType?: string;
621
+ StartRow?: number;
622
+ }
623
+ /**
624
+ * Result row type for view execution results
625
+ */
626
+ interface RunViewSystemUserResultRow {
627
+ ID: string;
628
+ EntityID: string;
629
+ Data: string;
630
+ }
631
+ /**
632
+ * Result type for RunViewsSystemUser method calls
633
+ */
634
+ interface RunViewSystemUserResult {
635
+ Results: RunViewSystemUserResultRow[];
636
+ UserViewRunID?: string;
637
+ RowCount?: number;
638
+ TotalRowCount?: number;
639
+ ExecutionTime?: number;
640
+ ErrorMessage?: string;
641
+ Success: boolean;
642
+ }
643
+ /**
644
+ * Result type for query execution methods
645
+ */
646
+ interface RunQuerySystemUserResult {
647
+ QueryID: string;
648
+ QueryName: string;
649
+ Success: boolean;
650
+ Results: any;
651
+ RowCount: number;
652
+ ExecutionTime: number;
653
+ ErrorMessage: string;
654
+ }
506
655
 
507
656
  /**
508
657
  * Client for executing actions and entity actions through GraphQL.
@@ -695,4 +844,4 @@ declare class GraphQLActionClient {
695
844
  private handleEntityActionError;
696
845
  }
697
846
 
698
- export { ActionItemInput, ActionItemOutput, FieldMapper, GetDataOutput, GraphQLActionClient, GraphQLDataProvider, GraphQLProviderConfigData, GraphQLSystemUserClient, GraphQLTransactionGroup, RoleInput, RolesAndUsersInput, SimpleRemoteEntity, SimpleRemoteEntityField, SimpleRemoteEntityOutput, SyncDataAction, SyncDataResult, SyncRolesAndUsersResult, UserInput, setupGraphQLClient };
847
+ export { ActionItemInput, ActionItemOutput, FieldMapper, GetDataOutput, GraphQLActionClient, GraphQLDataProvider, GraphQLProviderConfigData, GraphQLSystemUserClient, GraphQLTransactionGroup, RoleInput, RolesAndUsersInput, type RunDynamicViewSystemUserInput, type RunQuerySystemUserResult, type RunViewByIDSystemUserInput, type RunViewByNameSystemUserInput, type RunViewSystemUserInput, type RunViewSystemUserResult, type RunViewSystemUserResultRow, SimpleRemoteEntity, SimpleRemoteEntityField, SimpleRemoteEntityOutput, SyncDataAction, SyncDataResult, SyncRolesAndUsersResult, UserInput, setupGraphQLClient };