@manta-eu/client 0.1.10 → 0.2.1

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.
@@ -477,6 +477,13 @@ export type GQLConnectedAccount = {
477
477
  revokedAt?: Maybe<Scalars["String"]["output"]>;
478
478
  };
479
479
 
480
+ export type GQLConnectedCustomApp = {
481
+ __typename?: "ConnectedCustomApp";
482
+ clientId: Scalars["String"]["output"];
483
+ name: Scalars["String"]["output"];
484
+ orgName?: Maybe<Scalars["String"]["output"]>;
485
+ };
486
+
480
487
  export type GQLConsolidateMemoriesInput = {
481
488
  customProperties?: InputMaybe<Scalars["JSONObject"]["input"]>;
482
489
  derived?: InputMaybe<Scalars["Boolean"]["input"]>;
@@ -523,6 +530,7 @@ export type GQLCreateDataConnectionInput = {
523
530
  connectorType: Scalars["String"]["input"];
524
531
  name: Scalars["String"]["input"];
525
532
  settings: Array<GQLDataConnectionSettingInput>;
533
+ sourceName?: InputMaybe<Scalars["String"]["input"]>;
526
534
  };
527
535
 
528
536
  export type GQLCreateInferalIntegrationInput = {
@@ -578,6 +586,146 @@ export type GQLCurrentFactValueResponse = {
578
586
  status: GQLFactValueStatus;
579
587
  };
580
588
 
589
+ export type GQLCustomApp = {
590
+ __typename?: "CustomApp";
591
+ clientId: Scalars["String"]["output"];
592
+ createdAt?: Maybe<Scalars["String"]["output"]>;
593
+ createdBy?: Maybe<Scalars["String"]["output"]>;
594
+ datastores: Array<GQLCustomAppDatastore>;
595
+ enabled: Scalars["Boolean"]["output"];
596
+ homeUrl?: Maybe<Scalars["String"]["output"]>;
597
+ kind: GQLCustomAppKind;
598
+ machineAccess: Scalars["Boolean"]["output"];
599
+ name: Scalars["String"]["output"];
600
+ org?: Maybe<Scalars["String"]["output"]>;
601
+ orgName?: Maybe<Scalars["String"]["output"]>;
602
+ permissions: Array<GQLCustomAppPermission>;
603
+ previousSecretExpiresAt?: Maybe<Scalars["String"]["output"]>;
604
+ redirectUris: Array<Scalars["String"]["output"]>;
605
+ };
606
+
607
+ export type GQLCustomAppChatAllowance = {
608
+ __typename?: "CustomAppChatAllowance";
609
+ perApp: Scalars["Int"]["output"];
610
+ perPerson: Scalars["Int"]["output"];
611
+ };
612
+
613
+ export type GQLCustomAppConnection = {
614
+ __typename?: "CustomAppConnection";
615
+ discoveryUrl: Scalars["String"]["output"];
616
+ issuer: Scalars["String"]["output"];
617
+ tokenEndpoint: Scalars["String"]["output"];
618
+ };
619
+
620
+ export type GQLCustomAppCredentials = {
621
+ __typename?: "CustomAppCredentials";
622
+ app: GQLCustomApp;
623
+ clientSecret: Scalars["String"]["output"];
624
+ connection: GQLCustomAppConnection;
625
+ };
626
+
627
+ export type GQLCustomAppDatastore = {
628
+ __typename?: "CustomAppDatastore";
629
+ id: Scalars["String"]["output"];
630
+ name: Scalars["String"]["output"];
631
+ };
632
+
633
+ export type GQLCustomAppDatastoreOption = {
634
+ __typename?: "CustomAppDatastoreOption";
635
+ depth: Scalars["Int"]["output"];
636
+ id: Scalars["String"]["output"];
637
+ name: Scalars["String"]["output"];
638
+ };
639
+
640
+ export type GQLCustomAppDeletedResponse = {
641
+ __typename?: "CustomAppDeletedResponse";
642
+ clientId: Scalars["String"]["output"];
643
+ deleted: Scalars["Boolean"]["output"];
644
+ };
645
+
646
+ export enum GQLCustomAppKind {
647
+ Machine = "MACHINE",
648
+ SignIn = "SIGN_IN",
649
+ }
650
+
651
+ export type GQLCustomAppPage = {
652
+ __typename?: "CustomAppPage";
653
+ apps: Array<GQLCustomApp>;
654
+ connection: GQLCustomAppConnection;
655
+ nextFirst?: Maybe<Scalars["Int"]["output"]>;
656
+ };
657
+
658
+ export enum GQLCustomAppPermission {
659
+ ReadWarehouse = "READ_WAREHOUSE",
660
+ ShareChats = "SHARE_CHATS",
661
+ WriteData = "WRITE_DATA",
662
+ }
663
+
664
+ export type GQLCustomAppUser = {
665
+ __typename?: "CustomAppUser";
666
+ allTeams: Scalars["Boolean"]["output"];
667
+ chatCount: Scalars["Int"]["output"];
668
+ createdAt?: Maybe<Scalars["String"]["output"]>;
669
+ email?: Maybe<Scalars["String"]["output"]>;
670
+ invitedAt?: Maybe<Scalars["String"]["output"]>;
671
+ mantaMember: Scalars["Boolean"]["output"];
672
+ name?: Maybe<Scalars["String"]["output"]>;
673
+ teams: Array<Scalars["String"]["output"]>;
674
+ userId: Scalars["String"]["output"];
675
+ };
676
+
677
+ export type GQLCustomAppUserBulkRemoval = {
678
+ __typename?: "CustomAppUserBulkRemoval";
679
+ remaining: Scalars["Int"]["output"];
680
+ removed: Scalars["Int"]["output"];
681
+ };
682
+
683
+ export type GQLCustomAppUserBulkRemovalResult = {
684
+ __typename?: "CustomAppUserBulkRemovalResult";
685
+ error?: Maybe<Scalars["String"]["output"]>;
686
+ status?: Maybe<GQLCustomAppUserStatus>;
687
+ userId: Scalars["String"]["output"];
688
+ };
689
+
690
+ export type GQLCustomAppUserInvitation = {
691
+ __typename?: "CustomAppUserInvitation";
692
+ error?: Maybe<Scalars["String"]["output"]>;
693
+ user?: Maybe<GQLCustomAppUser>;
694
+ userId: Scalars["String"]["output"];
695
+ };
696
+
697
+ export type GQLCustomAppUserInvitationInput = {
698
+ allTeams?: InputMaybe<Scalars["Boolean"]["input"]>;
699
+ email?: InputMaybe<Scalars["String"]["input"]>;
700
+ teams?: InputMaybe<Array<Scalars["String"]["input"]>>;
701
+ userId: Scalars["String"]["input"];
702
+ };
703
+
704
+ export type GQLCustomAppUserPage = {
705
+ __typename?: "CustomAppUserPage";
706
+ total: Scalars["Int"]["output"];
707
+ users: Array<GQLCustomAppUser>;
708
+ };
709
+
710
+ export type GQLCustomAppUserRemoval = {
711
+ __typename?: "CustomAppUserRemoval";
712
+ status: GQLCustomAppUserStatus;
713
+ userId: Scalars["String"]["output"];
714
+ };
715
+
716
+ export enum GQLCustomAppUserStatus {
717
+ Active = "ACTIVE",
718
+ Erased = "ERASED",
719
+ Unknown = "UNKNOWN",
720
+ Unlinked = "UNLINKED",
721
+ }
722
+
723
+ export enum GQLCustomAppUserStatusFilter {
724
+ AppOnly = "APP_ONLY",
725
+ Invited = "INVITED",
726
+ MantaMember = "MANTA_MEMBER",
727
+ }
728
+
581
729
  export type GQLCustomerDatastore = {
582
730
  __typename?: "CustomerDatastore";
583
731
  badge?: Maybe<Scalars["String"]["output"]>;
@@ -611,6 +759,7 @@ export type GQLDataConnection = {
611
759
  id: Scalars["String"]["output"];
612
760
  name: Scalars["String"]["output"];
613
761
  settings: Array<GQLDataConnectionSetting>;
762
+ sourceName?: Maybe<Scalars["String"]["output"]>;
614
763
  status: GQLDataConnectionStatus;
615
764
  };
616
765
 
@@ -734,6 +883,12 @@ export type GQLDeleteDataConnectionResponse = {
734
883
  success: Scalars["Boolean"]["output"];
735
884
  };
736
885
 
886
+ export type GQLDeleteDatastoreResponse = {
887
+ __typename?: "DeleteDatastoreResponse";
888
+ error?: Maybe<Scalars["String"]["output"]>;
889
+ success: Scalars["Boolean"]["output"];
890
+ };
891
+
737
892
  export type GQLDeleteMemoryResponse = {
738
893
  __typename?: "DeleteMemoryResponse";
739
894
  error?: Maybe<Scalars["String"]["output"]>;
@@ -787,6 +942,7 @@ export type GQLDirectoryUser = {
787
942
  memberships: Array<GQLDirectoryMembership>;
788
943
  name?: Maybe<Scalars["String"]["output"]>;
789
944
  nameReadOnly?: Maybe<Scalars["Boolean"]["output"]>;
945
+ operator?: Maybe<Scalars["Boolean"]["output"]>;
790
946
  pending?: Maybe<Scalars["Boolean"]["output"]>;
791
947
  username?: Maybe<Scalars["String"]["output"]>;
792
948
  };
@@ -873,73 +1029,6 @@ export type GQLExecuteActionUpdateInput = {
873
1029
  subjectIri: Scalars["IRI"]["input"];
874
1030
  };
875
1031
 
876
- export type GQLExternalApp = {
877
- __typename?: "ExternalApp";
878
- clientId: Scalars["String"]["output"];
879
- createdAt?: Maybe<Scalars["String"]["output"]>;
880
- createdBy?: Maybe<Scalars["String"]["output"]>;
881
- datastores: Array<GQLExternalAppDatastore>;
882
- enabled: Scalars["Boolean"]["output"];
883
- homeUrl?: Maybe<Scalars["String"]["output"]>;
884
- kind: GQLExternalAppKind;
885
- machineAccess: Scalars["Boolean"]["output"];
886
- name: Scalars["String"]["output"];
887
- org?: Maybe<Scalars["String"]["output"]>;
888
- orgName?: Maybe<Scalars["String"]["output"]>;
889
- permissions: Array<GQLExternalAppPermission>;
890
- previousSecretExpiresAt?: Maybe<Scalars["String"]["output"]>;
891
- redirectUris: Array<Scalars["String"]["output"]>;
892
- };
893
-
894
- export type GQLExternalAppConnection = {
895
- __typename?: "ExternalAppConnection";
896
- discoveryUrl: Scalars["String"]["output"];
897
- issuer: Scalars["String"]["output"];
898
- tokenEndpoint: Scalars["String"]["output"];
899
- };
900
-
901
- export type GQLExternalAppCredentials = {
902
- __typename?: "ExternalAppCredentials";
903
- app: GQLExternalApp;
904
- clientSecret: Scalars["String"]["output"];
905
- connection: GQLExternalAppConnection;
906
- };
907
-
908
- export type GQLExternalAppDatastore = {
909
- __typename?: "ExternalAppDatastore";
910
- id: Scalars["String"]["output"];
911
- name: Scalars["String"]["output"];
912
- };
913
-
914
- export type GQLExternalAppDatastoreOption = {
915
- __typename?: "ExternalAppDatastoreOption";
916
- depth: Scalars["Int"]["output"];
917
- id: Scalars["String"]["output"];
918
- name: Scalars["String"]["output"];
919
- };
920
-
921
- export type GQLExternalAppDeletedResponse = {
922
- __typename?: "ExternalAppDeletedResponse";
923
- clientId: Scalars["String"]["output"];
924
- deleted: Scalars["Boolean"]["output"];
925
- };
926
-
927
- export enum GQLExternalAppKind {
928
- Machine = "MACHINE",
929
- SignIn = "SIGN_IN",
930
- }
931
-
932
- export type GQLExternalAppPage = {
933
- __typename?: "ExternalAppPage";
934
- apps: Array<GQLExternalApp>;
935
- connection: GQLExternalAppConnection;
936
- nextFirst?: Maybe<Scalars["Int"]["output"]>;
937
- };
938
-
939
- export enum GQLExternalAppPermission {
940
- WriteData = "WRITE_DATA",
941
- }
942
-
943
1032
  export enum GQLFactValueStatus {
944
1033
  Changed = "CHANGED",
945
1034
  Removed = "REMOVED",
@@ -997,6 +1086,14 @@ export type GQLGoogleAnalyticsSetupProgress = {
997
1086
  state: Array<GQLGoogleSetupStateEnum>;
998
1087
  };
999
1088
 
1089
+ export type GQLGoogleBrandSuggestion = {
1090
+ __typename?: "GoogleBrandSuggestion";
1091
+ id: Scalars["String"]["output"];
1092
+ name: Scalars["String"]["output"];
1093
+ state?: Maybe<Scalars["String"]["output"]>;
1094
+ urls: Array<Scalars["String"]["output"]>;
1095
+ };
1096
+
1000
1097
  export type GQLGoogleSetupLastError = {
1001
1098
  __typename?: "GoogleSetupLastError";
1002
1099
  message: Scalars["String"]["output"];
@@ -1498,19 +1595,21 @@ export type GQLMutation = {
1498
1595
  completeUpload: GQLCompleteUploadResponse;
1499
1596
  connectStripeAccount: GQLConnectStripeAccountResponse;
1500
1597
  consolidateMemories: GQLCreateMemoryResponse;
1598
+ createCustomApp: GQLCustomAppCredentials;
1501
1599
  createDataConnection: GQLDataConnectionTestState;
1502
- createExternalApp: GQLExternalAppCredentials;
1503
1600
  createInferalIntegration: GQLCreateInferalIntegrationResponse;
1504
1601
  createMemory: GQLCreateMemoryResponse;
1505
1602
  createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
1506
1603
  dashSetupConnect: GQLDashSetupProgress;
1507
1604
  deleteActionPlan: GQLDeleteActionPlanResponse;
1605
+ deleteCustomApp: GQLCustomAppDeletedResponse;
1508
1606
  deleteDataConnection: GQLDeleteDataConnectionResponse;
1509
- deleteExternalApp: GQLExternalAppDeletedResponse;
1607
+ deleteDatastore: GQLDeleteDatastoreResponse;
1510
1608
  deleteLDESStream: GQLLdesStreamDeleteResponse;
1511
1609
  deleteMemory: GQLDeleteMemoryResponse;
1512
1610
  deleteUserAccount: GQLDeleteUserAccountResponse;
1513
1611
  disconnectConnectedAccount: GQLDisconnectConnectedAccountResponse;
1612
+ disconnectCustomApp: Scalars["Boolean"]["output"];
1514
1613
  disconnectGmailIntegration: GQLDisconnectGmailIntegrationResponse;
1515
1614
  disconnectInferalIntegration: GQLDisconnectInferalIntegrationResponse;
1516
1615
  executeActionAddition: GQLExecuteActionResponse;
@@ -1522,6 +1621,8 @@ export type GQLMutation = {
1522
1621
  googleSetupConnect: GQLGoogleSetupProgress;
1523
1622
  grantOperatorRole: GQLGrantOperatorRoleResponse;
1524
1623
  initiateUpload: GQLInitiateUploadResponse;
1624
+ inviteCustomAppUser: GQLCustomAppUser;
1625
+ inviteCustomAppUsers: Array<GQLCustomAppUserInvitation>;
1525
1626
  inviteRoster: GQLRosterInvitationSummary;
1526
1627
  inviteTeamMembers: GQLInviteSummary;
1527
1628
  linkOrganizationToProvider: GQLLinkOrganizationResponse;
@@ -1538,6 +1639,9 @@ export type GQLMutation = {
1538
1639
  recordHotelProfile: GQLRecordHotelProfileResponse;
1539
1640
  registerDatastore: GQLRegisterDatastoreResponse;
1540
1641
  releaseRuleOwnership: GQLReleaseRuleOwnershipResponse;
1642
+ removeCustomAppUser: GQLCustomAppUserRemoval;
1643
+ removeCustomAppUsers: Array<GQLCustomAppUserBulkRemovalResult>;
1644
+ removeCustomAppUsersCreatedBetween: GQLCustomAppUserBulkRemoval;
1541
1645
  removeDatastore: GQLRemoveDatastoreResponse;
1542
1646
  removeTeamMember: GQLTeamMemberRemovedResponse;
1543
1647
  renameDatastoreGroup: GQLRenameDatastoreGroupResponse;
@@ -1547,16 +1651,17 @@ export type GQLMutation = {
1547
1651
  restoreMemory: GQLRestoreMemoryResponse;
1548
1652
  resumeLDESStream: GQLLdesStreamResponse;
1549
1653
  revokeOperatorRole: GQLRevokeOperatorRoleResponse;
1550
- revokePreviousExternalAppSecret: GQLExternalApp;
1551
- rotateExternalAppSecret: GQLExternalAppCredentials;
1654
+ revokePreviousCustomAppSecret: GQLCustomApp;
1655
+ rotateCustomAppSecret: GQLCustomAppCredentials;
1552
1656
  selfServeProvisionOrganization: GQLSelfServeProvisionOrganizationResponse;
1553
- setExternalAppEnabled: GQLExternalApp;
1657
+ setCustomAppChatAllowance: GQLCustomAppChatAllowance;
1658
+ setCustomAppEnabled: GQLCustomApp;
1554
1659
  setTeamMemberEnabled: GQLTeamMemberEnabledResponse;
1555
1660
  stageRuleOperation: GQLStageRuleOperationResponse;
1556
1661
  startLDESStream: GQLLdesStreamResponse;
1557
1662
  syncGmailIntegration: GQLGmailIntegration;
1663
+ updateCustomApp: GQLCustomApp;
1558
1664
  updateDataConnection: GQLDataConnectionTestState;
1559
- updateExternalApp: GQLExternalApp;
1560
1665
  updateMemory: GQLUpdateMemoryResponse;
1561
1666
  updateTeamMember: GQLTeamMemberUpdateResponse;
1562
1667
  updateUserPreferences: GQLUpdateUserPreferencesResponse;
@@ -1616,21 +1721,21 @@ export type GQLMutationConsolidateMemoriesArgs = {
1616
1721
  input: GQLConsolidateMemoriesInput;
1617
1722
  };
1618
1723
 
1619
- export type GQLMutationCreateDataConnectionArgs = {
1620
- input: GQLCreateDataConnectionInput;
1621
- };
1622
-
1623
- export type GQLMutationCreateExternalAppArgs = {
1724
+ export type GQLMutationCreateCustomAppArgs = {
1624
1725
  datastores?: InputMaybe<Array<Scalars["String"]["input"]>>;
1625
1726
  homeUrl?: InputMaybe<Scalars["String"]["input"]>;
1626
- kind?: InputMaybe<GQLExternalAppKind>;
1727
+ kind?: InputMaybe<GQLCustomAppKind>;
1627
1728
  machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
1628
1729
  name: Scalars["String"]["input"];
1629
1730
  org?: InputMaybe<Scalars["String"]["input"]>;
1630
- permissions?: InputMaybe<Array<GQLExternalAppPermission>>;
1731
+ permissions?: InputMaybe<Array<GQLCustomAppPermission>>;
1631
1732
  redirectUris?: InputMaybe<Array<Scalars["String"]["input"]>>;
1632
1733
  };
1633
1734
 
1735
+ export type GQLMutationCreateDataConnectionArgs = {
1736
+ input: GQLCreateDataConnectionInput;
1737
+ };
1738
+
1634
1739
  export type GQLMutationCreateInferalIntegrationArgs = {
1635
1740
  input: GQLCreateInferalIntegrationInput;
1636
1741
  };
@@ -1654,13 +1759,18 @@ export type GQLMutationDeleteActionPlanArgs = {
1654
1759
  input: GQLDeleteActionPlanInput;
1655
1760
  };
1656
1761
 
1762
+ export type GQLMutationDeleteCustomAppArgs = {
1763
+ clientId: Scalars["String"]["input"];
1764
+ org?: InputMaybe<Scalars["String"]["input"]>;
1765
+ };
1766
+
1657
1767
  export type GQLMutationDeleteDataConnectionArgs = {
1658
1768
  id: Scalars["String"]["input"];
1659
1769
  };
1660
1770
 
1661
- export type GQLMutationDeleteExternalAppArgs = {
1662
- clientId: Scalars["String"]["input"];
1663
- org?: InputMaybe<Scalars["String"]["input"]>;
1771
+ export type GQLMutationDeleteDatastoreArgs = {
1772
+ confirmName: Scalars["String"]["input"];
1773
+ datastoreId: Scalars["String"]["input"];
1664
1774
  };
1665
1775
 
1666
1776
  export type GQLMutationDeleteLdesStreamArgs = {
@@ -1679,6 +1789,10 @@ export type GQLMutationDisconnectConnectedAccountArgs = {
1679
1789
  id: Scalars["String"]["input"];
1680
1790
  };
1681
1791
 
1792
+ export type GQLMutationDisconnectCustomAppArgs = {
1793
+ clientId: Scalars["String"]["input"];
1794
+ };
1795
+
1682
1796
  export type GQLMutationDisconnectGmailIntegrationArgs = {
1683
1797
  email: Scalars["String"]["input"];
1684
1798
  };
@@ -1723,6 +1837,21 @@ export type GQLMutationInitiateUploadArgs = {
1723
1837
  input: GQLInitiateUploadInput;
1724
1838
  };
1725
1839
 
1840
+ export type GQLMutationInviteCustomAppUserArgs = {
1841
+ allTeams?: InputMaybe<Scalars["Boolean"]["input"]>;
1842
+ clientId: Scalars["String"]["input"];
1843
+ email?: InputMaybe<Scalars["String"]["input"]>;
1844
+ org?: InputMaybe<Scalars["String"]["input"]>;
1845
+ teams?: InputMaybe<Array<Scalars["String"]["input"]>>;
1846
+ userId: Scalars["String"]["input"];
1847
+ };
1848
+
1849
+ export type GQLMutationInviteCustomAppUsersArgs = {
1850
+ clientId: Scalars["String"]["input"];
1851
+ org?: InputMaybe<Scalars["String"]["input"]>;
1852
+ people: Array<GQLCustomAppUserInvitationInput>;
1853
+ };
1854
+
1726
1855
  export type GQLMutationInviteRosterArgs = {
1727
1856
  invitations: Array<GQLSelfServeInvitationInput>;
1728
1857
  org: Scalars["String"]["input"];
@@ -1763,6 +1892,7 @@ export type GQLMutationManualActionChangeAssigneesArgs = {
1763
1892
 
1764
1893
  export type GQLMutationManualActionResolveArgs = {
1765
1894
  namedGraphIri: Scalars["String"]["input"];
1895
+ reason?: InputMaybe<Scalars["String"]["input"]>;
1766
1896
  resolvedBy: Scalars["String"]["input"];
1767
1897
  status: GQLManualActionResolveStatus;
1768
1898
  subjectIri: Scalars["String"]["input"];
@@ -1796,6 +1926,25 @@ export type GQLMutationReleaseRuleOwnershipArgs = {
1796
1926
  input: GQLReleaseRuleOwnershipInput;
1797
1927
  };
1798
1928
 
1929
+ export type GQLMutationRemoveCustomAppUserArgs = {
1930
+ clientId: Scalars["String"]["input"];
1931
+ org?: InputMaybe<Scalars["String"]["input"]>;
1932
+ userId: Scalars["String"]["input"];
1933
+ };
1934
+
1935
+ export type GQLMutationRemoveCustomAppUsersArgs = {
1936
+ clientId: Scalars["String"]["input"];
1937
+ org?: InputMaybe<Scalars["String"]["input"]>;
1938
+ userIds: Array<Scalars["String"]["input"]>;
1939
+ };
1940
+
1941
+ export type GQLMutationRemoveCustomAppUsersCreatedBetweenArgs = {
1942
+ clientId: Scalars["String"]["input"];
1943
+ createdFrom: Scalars["String"]["input"];
1944
+ createdUntil: Scalars["String"]["input"];
1945
+ org?: InputMaybe<Scalars["String"]["input"]>;
1946
+ };
1947
+
1799
1948
  export type GQLMutationRemoveDatastoreArgs = {
1800
1949
  datastoreId: Scalars["String"]["input"];
1801
1950
  };
@@ -1836,12 +1985,12 @@ export type GQLMutationRevokeOperatorRoleArgs = {
1836
1985
  userId: Scalars["String"]["input"];
1837
1986
  };
1838
1987
 
1839
- export type GQLMutationRevokePreviousExternalAppSecretArgs = {
1988
+ export type GQLMutationRevokePreviousCustomAppSecretArgs = {
1840
1989
  clientId: Scalars["String"]["input"];
1841
1990
  org?: InputMaybe<Scalars["String"]["input"]>;
1842
1991
  };
1843
1992
 
1844
- export type GQLMutationRotateExternalAppSecretArgs = {
1993
+ export type GQLMutationRotateCustomAppSecretArgs = {
1845
1994
  clientId: Scalars["String"]["input"];
1846
1995
  keepPrevious?: InputMaybe<Scalars["Boolean"]["input"]>;
1847
1996
  org?: InputMaybe<Scalars["String"]["input"]>;
@@ -1851,7 +2000,14 @@ export type GQLMutationSelfServeProvisionOrganizationArgs = {
1851
2000
  input: GQLSelfServeProvisionOrganizationInput;
1852
2001
  };
1853
2002
 
1854
- export type GQLMutationSetExternalAppEnabledArgs = {
2003
+ export type GQLMutationSetCustomAppChatAllowanceArgs = {
2004
+ clientId: Scalars["String"]["input"];
2005
+ org?: InputMaybe<Scalars["String"]["input"]>;
2006
+ perApp?: InputMaybe<Scalars["Int"]["input"]>;
2007
+ perPerson?: InputMaybe<Scalars["Int"]["input"]>;
2008
+ };
2009
+
2010
+ export type GQLMutationSetCustomAppEnabledArgs = {
1855
2011
  clientId: Scalars["String"]["input"];
1856
2012
  enabled: Scalars["Boolean"]["input"];
1857
2013
  org?: InputMaybe<Scalars["String"]["input"]>;
@@ -1875,21 +2031,21 @@ export type GQLMutationSyncGmailIntegrationArgs = {
1875
2031
  email: Scalars["String"]["input"];
1876
2032
  };
1877
2033
 
1878
- export type GQLMutationUpdateDataConnectionArgs = {
1879
- input: GQLUpdateDataConnectionInput;
1880
- };
1881
-
1882
- export type GQLMutationUpdateExternalAppArgs = {
2034
+ export type GQLMutationUpdateCustomAppArgs = {
1883
2035
  clientId: Scalars["String"]["input"];
1884
2036
  datastores?: InputMaybe<Array<Scalars["String"]["input"]>>;
1885
2037
  homeUrl?: InputMaybe<Scalars["String"]["input"]>;
1886
2038
  machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
1887
2039
  name?: InputMaybe<Scalars["String"]["input"]>;
1888
2040
  org?: InputMaybe<Scalars["String"]["input"]>;
1889
- permissions?: InputMaybe<Array<GQLExternalAppPermission>>;
2041
+ permissions?: InputMaybe<Array<GQLCustomAppPermission>>;
1890
2042
  redirectUris?: InputMaybe<Array<Scalars["String"]["input"]>>;
1891
2043
  };
1892
2044
 
2045
+ export type GQLMutationUpdateDataConnectionArgs = {
2046
+ input: GQLUpdateDataConnectionInput;
2047
+ };
2048
+
1893
2049
  export type GQLMutationUpdateMemoryArgs = {
1894
2050
  input: GQLUpdateMemoryInput;
1895
2051
  };
@@ -2022,8 +2178,14 @@ export type GQLQuery = {
2022
2178
  assignableOrganizations: Array<GQLAssignableOrganization>;
2023
2179
  availableTeams: GQLAvailableTeamsResponse;
2024
2180
  connectedAccounts: Array<GQLConnectedAccount>;
2181
+ connectedCustomApps: Array<GQLConnectedCustomApp>;
2025
2182
  conversationStarters: GQLConversationStartersResponse;
2026
2183
  currentFactValue: GQLCurrentFactValueResponse;
2184
+ customApp: GQLCustomApp;
2185
+ customAppChatAllowance: GQLCustomAppChatAllowance;
2186
+ customAppDatastores: Array<GQLCustomAppDatastoreOption>;
2187
+ customAppUsers: GQLCustomAppUserPage;
2188
+ customApps: GQLCustomAppPage;
2027
2189
  customerDatastores: Array<GQLCustomerDatastore>;
2028
2190
  dashSetupProgress: GQLDashSetupProgress;
2029
2191
  dataConnections: Array<GQLDataConnection>;
@@ -2034,10 +2196,9 @@ export type GQLQuery = {
2034
2196
  datastoreTree: Array<GQLDatastoreTreeNode>;
2035
2197
  detectMemoryConflicts: GQLDetectMemoryConflictsResult;
2036
2198
  explainRDFoxFact: GQLRdFoxExplanationResponse;
2037
- externalAppDatastores: Array<GQLExternalAppDatastoreOption>;
2038
- externalApps: GQLExternalAppPage;
2039
2199
  gmailIntegrations: Array<GQLGmailIntegration>;
2040
2200
  googleAnalyticsSetupProgress: GQLGoogleAnalyticsSetupProgress;
2201
+ googleBrandSuggestions: Array<GQLGoogleBrandSuggestion>;
2041
2202
  googleSetupProgress: GQLGoogleSetupProgress;
2042
2203
  inferalIntegrations: Array<GQLInferalIntegration>;
2043
2204
  knowledgeGraphState: GQLKnowledgeGraphState;
@@ -2068,6 +2229,7 @@ export type GQLQuery = {
2068
2229
  unlinkedDatastores: Array<GQLUnlinkedDatastore>;
2069
2230
  userPreferences: GQLUserPreferences;
2070
2231
  validateActionPlan: GQLValidateActionPlanResponse;
2232
+ warehouseQuery: GQLWarehouseQueryResponse;
2071
2233
  };
2072
2234
 
2073
2235
  export type GQLQueryActionPlanDiffArgs = {
@@ -2116,6 +2278,38 @@ export type GQLQueryCurrentFactValueArgs = {
2116
2278
  subject: Scalars["String"]["input"];
2117
2279
  };
2118
2280
 
2281
+ export type GQLQueryCustomAppArgs = {
2282
+ clientId: Scalars["String"]["input"];
2283
+ org?: InputMaybe<Scalars["String"]["input"]>;
2284
+ };
2285
+
2286
+ export type GQLQueryCustomAppChatAllowanceArgs = {
2287
+ clientId: Scalars["String"]["input"];
2288
+ org?: InputMaybe<Scalars["String"]["input"]>;
2289
+ };
2290
+
2291
+ export type GQLQueryCustomAppDatastoresArgs = {
2292
+ org?: InputMaybe<Scalars["String"]["input"]>;
2293
+ };
2294
+
2295
+ export type GQLQueryCustomAppUsersArgs = {
2296
+ clientId: Scalars["String"]["input"];
2297
+ createdFrom?: InputMaybe<Scalars["String"]["input"]>;
2298
+ createdUntil?: InputMaybe<Scalars["String"]["input"]>;
2299
+ first?: InputMaybe<Scalars["Int"]["input"]>;
2300
+ max?: InputMaybe<Scalars["Int"]["input"]>;
2301
+ org?: InputMaybe<Scalars["String"]["input"]>;
2302
+ search?: InputMaybe<Scalars["String"]["input"]>;
2303
+ status?: InputMaybe<GQLCustomAppUserStatusFilter>;
2304
+ };
2305
+
2306
+ export type GQLQueryCustomAppsArgs = {
2307
+ first?: InputMaybe<Scalars["Int"]["input"]>;
2308
+ max?: InputMaybe<Scalars["Int"]["input"]>;
2309
+ org?: InputMaybe<Scalars["String"]["input"]>;
2310
+ search?: InputMaybe<Scalars["String"]["input"]>;
2311
+ };
2312
+
2119
2313
  export type GQLQueryDatastoreInvoicesArgs = {
2120
2314
  after?: InputMaybe<Scalars["String"]["input"]>;
2121
2315
  datastoreId?: InputMaybe<Scalars["String"]["input"]>;
@@ -2143,15 +2337,10 @@ export type GQLQueryExplainRdFoxFactArgs = {
2143
2337
  summarize?: InputMaybe<Scalars["Boolean"]["input"]>;
2144
2338
  };
2145
2339
 
2146
- export type GQLQueryExternalAppDatastoresArgs = {
2147
- org?: InputMaybe<Scalars["String"]["input"]>;
2148
- };
2149
-
2150
- export type GQLQueryExternalAppsArgs = {
2151
- first?: InputMaybe<Scalars["Int"]["input"]>;
2152
- max?: InputMaybe<Scalars["Int"]["input"]>;
2153
- org?: InputMaybe<Scalars["String"]["input"]>;
2154
- search?: InputMaybe<Scalars["String"]["input"]>;
2340
+ export type GQLQueryGoogleBrandSuggestionsArgs = {
2341
+ brandPrefix: Scalars["String"]["input"];
2342
+ customerIri: Scalars["IRI"]["input"];
2343
+ selectedBrandIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
2155
2344
  };
2156
2345
 
2157
2346
  export type GQLQueryKnowledgeGraphStateArgs = {
@@ -2249,6 +2438,10 @@ export type GQLQueryValidateActionPlanArgs = {
2249
2438
  shaclShapeIri?: InputMaybe<Scalars["IRI"]["input"]>;
2250
2439
  };
2251
2440
 
2441
+ export type GQLQueryWarehouseQueryArgs = {
2442
+ sql: Scalars["String"]["input"];
2443
+ };
2444
+
2252
2445
  export type GQLRdFoxExplanationResponse = {
2253
2446
  __typename?: "RDFoxExplanationResponse";
2254
2447
  error?: Maybe<Scalars["String"]["output"]>;
@@ -2484,6 +2677,8 @@ export type GQLSessionOrgRole = {
2484
2677
  export type GQLSessionUser = {
2485
2678
  __typename?: "SessionUser";
2486
2679
  adminOrgs: Array<Scalars["String"]["output"]>;
2680
+ canManageCustomApps: Scalars["Boolean"]["output"];
2681
+ /** @deprecated Use canManageCustomApps */
2487
2682
  canManageExternalApps: Scalars["Boolean"]["output"];
2488
2683
  canManageIntegrations: Scalars["Boolean"]["output"];
2489
2684
  canManageSharedMemories: Scalars["Boolean"]["output"];
@@ -2900,24 +3095,46 @@ export type GQLValidateStagedRulesResponse = {
2900
3095
  syntaxErrors: Array<Scalars["String"]["output"]>;
2901
3096
  };
2902
3097
 
3098
+ export type GQLWarehouseColumn = {
3099
+ __typename?: "WarehouseColumn";
3100
+ name: Scalars["String"]["output"];
3101
+ type: Scalars["String"]["output"];
3102
+ };
3103
+
3104
+ export type GQLWarehouseQueryResponse = {
3105
+ __typename?: "WarehouseQueryResponse";
3106
+ columns?: Maybe<Array<GQLWarehouseColumn>>;
3107
+ error?: Maybe<Scalars["String"]["output"]>;
3108
+ rows?: Maybe<Array<Scalars["JSON"]["output"]>>;
3109
+ statistics?: Maybe<GQLWarehouseStatistics>;
3110
+ truncated: Scalars["Boolean"]["output"];
3111
+ };
3112
+
3113
+ export type GQLWarehouseStatistics = {
3114
+ __typename?: "WarehouseStatistics";
3115
+ returnRows?: Maybe<Scalars["SafeInt"]["output"]>;
3116
+ scanBytes?: Maybe<Scalars["SafeInt"]["output"]>;
3117
+ scanRows?: Maybe<Scalars["SafeInt"]["output"]>;
3118
+ };
3119
+
2903
3120
  export type GQLWoocommerceProviderInput = {
2904
3121
  consumerKey: Scalars["String"]["input"];
2905
3122
  consumerSecret: Scalars["String"]["input"];
2906
3123
  sourceUrl: Scalars["String"]["input"];
2907
3124
  };
2908
3125
 
2909
- export type GQLExternalAppConnectionFieldsFragment = {
2910
- __typename?: "ExternalAppConnection";
3126
+ export type GQLCustomAppConnectionFieldsFragment = {
3127
+ __typename?: "CustomAppConnection";
2911
3128
  issuer: string;
2912
3129
  discoveryUrl: string;
2913
3130
  tokenEndpoint: string;
2914
3131
  };
2915
3132
 
2916
- export type GQLExternalAppFieldsFragment = {
2917
- __typename?: "ExternalApp";
3133
+ export type GQLCustomAppFieldsFragment = {
3134
+ __typename?: "CustomApp";
2918
3135
  clientId: string;
2919
3136
  name: string;
2920
- kind: GQLExternalAppKind;
3137
+ kind: GQLCustomAppKind;
2921
3138
  redirectUris: Array<string>;
2922
3139
  homeUrl?: string | null;
2923
3140
  machineAccess: boolean;
@@ -2925,10 +3142,10 @@ export type GQLExternalAppFieldsFragment = {
2925
3142
  org?: string | null;
2926
3143
  orgName?: string | null;
2927
3144
  previousSecretExpiresAt?: string | null;
2928
- permissions: Array<GQLExternalAppPermission>;
3145
+ permissions: Array<GQLCustomAppPermission>;
2929
3146
  createdAt?: string | null;
2930
3147
  createdBy?: string | null;
2931
- datastores: Array<{ __typename?: "ExternalAppDatastore"; id: string; name: string }>;
3148
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
2932
3149
  };
2933
3150
 
2934
3151
  export type GQLMemoryFieldsFragment = {
@@ -3132,41 +3349,27 @@ export type GQLConsolidateMemoriesMutation = {
3132
3349
  };
3133
3350
  };
3134
3351
 
3135
- export type GQLCreateDataConnectionMutationVariables = Exact<{
3136
- input: GQLCreateDataConnectionInput;
3137
- }>;
3138
-
3139
- export type GQLCreateDataConnectionMutation = {
3140
- __typename?: "Mutation";
3141
- createDataConnection: {
3142
- __typename?: "DataConnectionTestState";
3143
- id: string;
3144
- status: GQLDataConnectionStatus;
3145
- error?: string | null;
3146
- };
3147
- };
3148
-
3149
- export type GQLCreateExternalAppMutationVariables = Exact<{
3352
+ export type GQLCreateCustomAppMutationVariables = Exact<{
3150
3353
  org?: InputMaybe<Scalars["String"]["input"]>;
3151
3354
  name: Scalars["String"]["input"];
3152
- kind?: InputMaybe<GQLExternalAppKind>;
3355
+ kind?: InputMaybe<GQLCustomAppKind>;
3153
3356
  redirectUris?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
3154
3357
  homeUrl?: InputMaybe<Scalars["String"]["input"]>;
3155
3358
  machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
3156
3359
  datastores?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
3157
- permissions?: InputMaybe<Array<GQLExternalAppPermission> | GQLExternalAppPermission>;
3360
+ permissions?: InputMaybe<Array<GQLCustomAppPermission> | GQLCustomAppPermission>;
3158
3361
  }>;
3159
3362
 
3160
- export type GQLCreateExternalAppMutation = {
3363
+ export type GQLCreateCustomAppMutation = {
3161
3364
  __typename?: "Mutation";
3162
- createExternalApp: {
3163
- __typename?: "ExternalAppCredentials";
3365
+ createCustomApp: {
3366
+ __typename?: "CustomAppCredentials";
3164
3367
  clientSecret: string;
3165
3368
  app: {
3166
- __typename?: "ExternalApp";
3369
+ __typename?: "CustomApp";
3167
3370
  clientId: string;
3168
3371
  name: string;
3169
- kind: GQLExternalAppKind;
3372
+ kind: GQLCustomAppKind;
3170
3373
  redirectUris: Array<string>;
3171
3374
  homeUrl?: string | null;
3172
3375
  machineAccess: boolean;
@@ -3174,23 +3377,37 @@ export type GQLCreateExternalAppMutation = {
3174
3377
  org?: string | null;
3175
3378
  orgName?: string | null;
3176
3379
  previousSecretExpiresAt?: string | null;
3177
- permissions: Array<GQLExternalAppPermission>;
3380
+ permissions: Array<GQLCustomAppPermission>;
3178
3381
  createdAt?: string | null;
3179
3382
  createdBy?: string | null;
3180
- datastores: Array<{ __typename?: "ExternalAppDatastore"; id: string; name: string }>;
3383
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
3181
3384
  };
3182
- connection: { __typename?: "ExternalAppConnection"; issuer: string; discoveryUrl: string; tokenEndpoint: string };
3385
+ connection: { __typename?: "CustomAppConnection"; issuer: string; discoveryUrl: string; tokenEndpoint: string };
3183
3386
  };
3184
3387
  };
3185
3388
 
3186
- export type GQLCreateInferalIntegrationMutationVariables = Exact<{
3187
- input: GQLCreateInferalIntegrationInput;
3389
+ export type GQLCreateDataConnectionMutationVariables = Exact<{
3390
+ input: GQLCreateDataConnectionInput;
3188
3391
  }>;
3189
3392
 
3190
- export type GQLCreateInferalIntegrationMutation = {
3393
+ export type GQLCreateDataConnectionMutation = {
3191
3394
  __typename?: "Mutation";
3192
- createInferalIntegration: {
3193
- __typename?: "CreateInferalIntegrationResponse";
3395
+ createDataConnection: {
3396
+ __typename?: "DataConnectionTestState";
3397
+ id: string;
3398
+ status: GQLDataConnectionStatus;
3399
+ error?: string | null;
3400
+ };
3401
+ };
3402
+
3403
+ export type GQLCreateInferalIntegrationMutationVariables = Exact<{
3404
+ input: GQLCreateInferalIntegrationInput;
3405
+ }>;
3406
+
3407
+ export type GQLCreateInferalIntegrationMutation = {
3408
+ __typename?: "Mutation";
3409
+ createInferalIntegration: {
3410
+ __typename?: "CreateInferalIntegrationResponse";
3194
3411
  status: GQLRelayIntegrationStatus;
3195
3412
  inferalIntegrationId?: string | null;
3196
3413
  streamId?: string | null;
@@ -3287,6 +3504,16 @@ export type GQLDeleteActionPlanMutation = {
3287
3504
  deleteActionPlan: { __typename?: "DeleteActionPlanResponse"; success: boolean; error?: string | null };
3288
3505
  };
3289
3506
 
3507
+ export type GQLDeleteCustomAppMutationVariables = Exact<{
3508
+ org?: InputMaybe<Scalars["String"]["input"]>;
3509
+ clientId: Scalars["String"]["input"];
3510
+ }>;
3511
+
3512
+ export type GQLDeleteCustomAppMutation = {
3513
+ __typename?: "Mutation";
3514
+ deleteCustomApp: { __typename?: "CustomAppDeletedResponse"; clientId: string; deleted: boolean };
3515
+ };
3516
+
3290
3517
  export type GQLDeleteDataConnectionMutationVariables = Exact<{
3291
3518
  id: Scalars["String"]["input"];
3292
3519
  }>;
@@ -3296,14 +3523,14 @@ export type GQLDeleteDataConnectionMutation = {
3296
3523
  deleteDataConnection: { __typename?: "DeleteDataConnectionResponse"; success: boolean };
3297
3524
  };
3298
3525
 
3299
- export type GQLDeleteExternalAppMutationVariables = Exact<{
3300
- org?: InputMaybe<Scalars["String"]["input"]>;
3301
- clientId: Scalars["String"]["input"];
3526
+ export type GQLDeleteDatastoreMutationVariables = Exact<{
3527
+ datastoreId: Scalars["String"]["input"];
3528
+ confirmName: Scalars["String"]["input"];
3302
3529
  }>;
3303
3530
 
3304
- export type GQLDeleteExternalAppMutation = {
3531
+ export type GQLDeleteDatastoreMutation = {
3305
3532
  __typename?: "Mutation";
3306
- deleteExternalApp: { __typename?: "ExternalAppDeletedResponse"; clientId: string; deleted: boolean };
3533
+ deleteDatastore: { __typename?: "DeleteDatastoreResponse"; success: boolean; error?: string | null };
3307
3534
  };
3308
3535
 
3309
3536
  export type GQLDeleteLdesStreamMutationVariables = Exact<{
@@ -3346,6 +3573,12 @@ export type GQLDisconnectConnectedAccountMutation = {
3346
3573
  disconnectConnectedAccount: { __typename?: "DisconnectConnectedAccountResponse"; success: boolean };
3347
3574
  };
3348
3575
 
3576
+ export type GQLDisconnectCustomAppMutationVariables = Exact<{
3577
+ clientId: Scalars["String"]["input"];
3578
+ }>;
3579
+
3580
+ export type GQLDisconnectCustomAppMutation = { __typename?: "Mutation"; disconnectCustomApp: boolean };
3581
+
3349
3582
  export type GQLDisconnectGmailIntegrationMutationVariables = Exact<{
3350
3583
  email: Scalars["String"]["input"];
3351
3584
  }>;
@@ -3527,6 +3760,41 @@ export type GQLInitiateUploadMutation = {
3527
3760
  };
3528
3761
  };
3529
3762
 
3763
+ export type GQLInviteCustomAppUserMutationVariables = Exact<{
3764
+ org?: InputMaybe<Scalars["String"]["input"]>;
3765
+ clientId: Scalars["String"]["input"];
3766
+ userId: Scalars["String"]["input"];
3767
+ email?: InputMaybe<Scalars["String"]["input"]>;
3768
+ teams?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
3769
+ allTeams?: InputMaybe<Scalars["Boolean"]["input"]>;
3770
+ }>;
3771
+
3772
+ export type GQLInviteCustomAppUserMutation = {
3773
+ __typename?: "Mutation";
3774
+ inviteCustomAppUser: {
3775
+ __typename?: "CustomAppUser";
3776
+ userId: string;
3777
+ invitedAt?: string | null;
3778
+ mantaMember: boolean;
3779
+ };
3780
+ };
3781
+
3782
+ export type GQLInviteCustomAppUsersMutationVariables = Exact<{
3783
+ org?: InputMaybe<Scalars["String"]["input"]>;
3784
+ clientId: Scalars["String"]["input"];
3785
+ people: Array<GQLCustomAppUserInvitationInput> | GQLCustomAppUserInvitationInput;
3786
+ }>;
3787
+
3788
+ export type GQLInviteCustomAppUsersMutation = {
3789
+ __typename?: "Mutation";
3790
+ inviteCustomAppUsers: Array<{
3791
+ __typename?: "CustomAppUserInvitation";
3792
+ userId: string;
3793
+ error?: string | null;
3794
+ user?: { __typename?: "CustomAppUser"; userId: string; invitedAt?: string | null; mantaMember: boolean } | null;
3795
+ }>;
3796
+ };
3797
+
3530
3798
  export type GQLLinkOrganizationToProviderMutationVariables = Exact<{
3531
3799
  organizationId: Scalars["String"]["input"];
3532
3800
  }>;
@@ -3736,6 +4004,45 @@ export type GQLReleaseRuleOwnershipMutation = {
3736
4004
  };
3737
4005
  };
3738
4006
 
4007
+ export type GQLRemoveCustomAppUserMutationVariables = Exact<{
4008
+ org?: InputMaybe<Scalars["String"]["input"]>;
4009
+ clientId: Scalars["String"]["input"];
4010
+ userId: Scalars["String"]["input"];
4011
+ }>;
4012
+
4013
+ export type GQLRemoveCustomAppUserMutation = {
4014
+ __typename?: "Mutation";
4015
+ removeCustomAppUser: { __typename?: "CustomAppUserRemoval"; userId: string; status: GQLCustomAppUserStatus };
4016
+ };
4017
+
4018
+ export type GQLRemoveCustomAppUsersCreatedBetweenMutationVariables = Exact<{
4019
+ org?: InputMaybe<Scalars["String"]["input"]>;
4020
+ clientId: Scalars["String"]["input"];
4021
+ createdFrom: Scalars["String"]["input"];
4022
+ createdUntil: Scalars["String"]["input"];
4023
+ }>;
4024
+
4025
+ export type GQLRemoveCustomAppUsersCreatedBetweenMutation = {
4026
+ __typename?: "Mutation";
4027
+ removeCustomAppUsersCreatedBetween: { __typename?: "CustomAppUserBulkRemoval"; removed: number; remaining: number };
4028
+ };
4029
+
4030
+ export type GQLRemoveCustomAppUsersMutationVariables = Exact<{
4031
+ org?: InputMaybe<Scalars["String"]["input"]>;
4032
+ clientId: Scalars["String"]["input"];
4033
+ userIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
4034
+ }>;
4035
+
4036
+ export type GQLRemoveCustomAppUsersMutation = {
4037
+ __typename?: "Mutation";
4038
+ removeCustomAppUsers: Array<{
4039
+ __typename?: "CustomAppUserBulkRemovalResult";
4040
+ userId: string;
4041
+ status?: GQLCustomAppUserStatus | null;
4042
+ error?: string | null;
4043
+ }>;
4044
+ };
4045
+
3739
4046
  export type GQLRemoveDatastoreMutationVariables = Exact<{
3740
4047
  datastoreId: Scalars["String"]["input"];
3741
4048
  }>;
@@ -3811,18 +4118,18 @@ export type GQLRevokeOperatorRoleMutation = {
3811
4118
  revokeOperatorRole: { __typename?: "RevokeOperatorRoleResponse"; id: string; operator: boolean };
3812
4119
  };
3813
4120
 
3814
- export type GQLRevokePreviousExternalAppSecretMutationVariables = Exact<{
4121
+ export type GQLRevokePreviousCustomAppSecretMutationVariables = Exact<{
3815
4122
  org?: InputMaybe<Scalars["String"]["input"]>;
3816
4123
  clientId: Scalars["String"]["input"];
3817
4124
  }>;
3818
4125
 
3819
- export type GQLRevokePreviousExternalAppSecretMutation = {
4126
+ export type GQLRevokePreviousCustomAppSecretMutation = {
3820
4127
  __typename?: "Mutation";
3821
- revokePreviousExternalAppSecret: {
3822
- __typename?: "ExternalApp";
4128
+ revokePreviousCustomAppSecret: {
4129
+ __typename?: "CustomApp";
3823
4130
  clientId: string;
3824
4131
  name: string;
3825
- kind: GQLExternalAppKind;
4132
+ kind: GQLCustomAppKind;
3826
4133
  redirectUris: Array<string>;
3827
4134
  homeUrl?: string | null;
3828
4135
  machineAccess: boolean;
@@ -3830,29 +4137,29 @@ export type GQLRevokePreviousExternalAppSecretMutation = {
3830
4137
  org?: string | null;
3831
4138
  orgName?: string | null;
3832
4139
  previousSecretExpiresAt?: string | null;
3833
- permissions: Array<GQLExternalAppPermission>;
4140
+ permissions: Array<GQLCustomAppPermission>;
3834
4141
  createdAt?: string | null;
3835
4142
  createdBy?: string | null;
3836
- datastores: Array<{ __typename?: "ExternalAppDatastore"; id: string; name: string }>;
4143
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
3837
4144
  };
3838
4145
  };
3839
4146
 
3840
- export type GQLRotateExternalAppSecretMutationVariables = Exact<{
4147
+ export type GQLRotateCustomAppSecretMutationVariables = Exact<{
3841
4148
  org?: InputMaybe<Scalars["String"]["input"]>;
3842
4149
  clientId: Scalars["String"]["input"];
3843
4150
  keepPrevious?: InputMaybe<Scalars["Boolean"]["input"]>;
3844
4151
  }>;
3845
4152
 
3846
- export type GQLRotateExternalAppSecretMutation = {
4153
+ export type GQLRotateCustomAppSecretMutation = {
3847
4154
  __typename?: "Mutation";
3848
- rotateExternalAppSecret: {
3849
- __typename?: "ExternalAppCredentials";
4155
+ rotateCustomAppSecret: {
4156
+ __typename?: "CustomAppCredentials";
3850
4157
  clientSecret: string;
3851
4158
  app: {
3852
- __typename?: "ExternalApp";
4159
+ __typename?: "CustomApp";
3853
4160
  clientId: string;
3854
4161
  name: string;
3855
- kind: GQLExternalAppKind;
4162
+ kind: GQLCustomAppKind;
3856
4163
  redirectUris: Array<string>;
3857
4164
  homeUrl?: string | null;
3858
4165
  machineAccess: boolean;
@@ -3860,28 +4167,28 @@ export type GQLRotateExternalAppSecretMutation = {
3860
4167
  org?: string | null;
3861
4168
  orgName?: string | null;
3862
4169
  previousSecretExpiresAt?: string | null;
3863
- permissions: Array<GQLExternalAppPermission>;
4170
+ permissions: Array<GQLCustomAppPermission>;
3864
4171
  createdAt?: string | null;
3865
4172
  createdBy?: string | null;
3866
- datastores: Array<{ __typename?: "ExternalAppDatastore"; id: string; name: string }>;
4173
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
3867
4174
  };
3868
- connection: { __typename?: "ExternalAppConnection"; issuer: string; discoveryUrl: string; tokenEndpoint: string };
4175
+ connection: { __typename?: "CustomAppConnection"; issuer: string; discoveryUrl: string; tokenEndpoint: string };
3869
4176
  };
3870
4177
  };
3871
4178
 
3872
- export type GQLSetExternalAppEnabledMutationVariables = Exact<{
4179
+ export type GQLSetCustomAppEnabledMutationVariables = Exact<{
3873
4180
  org?: InputMaybe<Scalars["String"]["input"]>;
3874
4181
  clientId: Scalars["String"]["input"];
3875
4182
  enabled: Scalars["Boolean"]["input"];
3876
4183
  }>;
3877
4184
 
3878
- export type GQLSetExternalAppEnabledMutation = {
4185
+ export type GQLSetCustomAppEnabledMutation = {
3879
4186
  __typename?: "Mutation";
3880
- setExternalAppEnabled: {
3881
- __typename?: "ExternalApp";
4187
+ setCustomAppEnabled: {
4188
+ __typename?: "CustomApp";
3882
4189
  clientId: string;
3883
4190
  name: string;
3884
- kind: GQLExternalAppKind;
4191
+ kind: GQLCustomAppKind;
3885
4192
  redirectUris: Array<string>;
3886
4193
  homeUrl?: string | null;
3887
4194
  machineAccess: boolean;
@@ -3889,10 +4196,10 @@ export type GQLSetExternalAppEnabledMutation = {
3889
4196
  org?: string | null;
3890
4197
  orgName?: string | null;
3891
4198
  previousSecretExpiresAt?: string | null;
3892
- permissions: Array<GQLExternalAppPermission>;
4199
+ permissions: Array<GQLCustomAppPermission>;
3893
4200
  createdAt?: string | null;
3894
4201
  createdBy?: string | null;
3895
- datastores: Array<{ __typename?: "ExternalAppDatastore"; id: string; name: string }>;
4202
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
3896
4203
  };
3897
4204
  };
3898
4205
 
@@ -3946,21 +4253,7 @@ export type GQLSyncGmailIntegrationMutation = {
3946
4253
  };
3947
4254
  };
3948
4255
 
3949
- export type GQLUpdateDataConnectionMutationVariables = Exact<{
3950
- input: GQLUpdateDataConnectionInput;
3951
- }>;
3952
-
3953
- export type GQLUpdateDataConnectionMutation = {
3954
- __typename?: "Mutation";
3955
- updateDataConnection: {
3956
- __typename?: "DataConnectionTestState";
3957
- id: string;
3958
- status: GQLDataConnectionStatus;
3959
- error?: string | null;
3960
- };
3961
- };
3962
-
3963
- export type GQLUpdateExternalAppMutationVariables = Exact<{
4256
+ export type GQLUpdateCustomAppMutationVariables = Exact<{
3964
4257
  org?: InputMaybe<Scalars["String"]["input"]>;
3965
4258
  clientId: Scalars["String"]["input"];
3966
4259
  name?: InputMaybe<Scalars["String"]["input"]>;
@@ -3968,16 +4261,16 @@ export type GQLUpdateExternalAppMutationVariables = Exact<{
3968
4261
  homeUrl?: InputMaybe<Scalars["String"]["input"]>;
3969
4262
  machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
3970
4263
  datastores?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
3971
- permissions?: InputMaybe<Array<GQLExternalAppPermission> | GQLExternalAppPermission>;
4264
+ permissions?: InputMaybe<Array<GQLCustomAppPermission> | GQLCustomAppPermission>;
3972
4265
  }>;
3973
4266
 
3974
- export type GQLUpdateExternalAppMutation = {
4267
+ export type GQLUpdateCustomAppMutation = {
3975
4268
  __typename?: "Mutation";
3976
- updateExternalApp: {
3977
- __typename?: "ExternalApp";
4269
+ updateCustomApp: {
4270
+ __typename?: "CustomApp";
3978
4271
  clientId: string;
3979
4272
  name: string;
3980
- kind: GQLExternalAppKind;
4273
+ kind: GQLCustomAppKind;
3981
4274
  redirectUris: Array<string>;
3982
4275
  homeUrl?: string | null;
3983
4276
  machineAccess: boolean;
@@ -3985,10 +4278,24 @@ export type GQLUpdateExternalAppMutation = {
3985
4278
  org?: string | null;
3986
4279
  orgName?: string | null;
3987
4280
  previousSecretExpiresAt?: string | null;
3988
- permissions: Array<GQLExternalAppPermission>;
4281
+ permissions: Array<GQLCustomAppPermission>;
3989
4282
  createdAt?: string | null;
3990
4283
  createdBy?: string | null;
3991
- datastores: Array<{ __typename?: "ExternalAppDatastore"; id: string; name: string }>;
4284
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
4285
+ };
4286
+ };
4287
+
4288
+ export type GQLUpdateDataConnectionMutationVariables = Exact<{
4289
+ input: GQLUpdateDataConnectionInput;
4290
+ }>;
4291
+
4292
+ export type GQLUpdateDataConnectionMutation = {
4293
+ __typename?: "Mutation";
4294
+ updateDataConnection: {
4295
+ __typename?: "DataConnectionTestState";
4296
+ id: string;
4297
+ status: GQLDataConnectionStatus;
4298
+ error?: string | null;
3992
4299
  };
3993
4300
  };
3994
4301
 
@@ -4473,6 +4780,18 @@ export type GQLConnectedAccountsQuery = {
4473
4780
  }>;
4474
4781
  };
4475
4782
 
4783
+ export type GQLConnectedCustomAppsQueryVariables = Exact<{ [key: string]: never }>;
4784
+
4785
+ export type GQLConnectedCustomAppsQuery = {
4786
+ __typename?: "Query";
4787
+ connectedCustomApps: Array<{
4788
+ __typename?: "ConnectedCustomApp";
4789
+ clientId: string;
4790
+ name: string;
4791
+ orgName?: string | null;
4792
+ }>;
4793
+ };
4794
+
4476
4795
  export type GQLConversationStartersQueryVariables = Exact<{
4477
4796
  planGraphIri?: InputMaybe<Scalars["IRI"]["input"]>;
4478
4797
  }>;
@@ -4532,6 +4851,105 @@ export type GQLCurrentFactValueQuery = {
4532
4851
  };
4533
4852
  };
4534
4853
 
4854
+ export type GQLCustomAppDatastoresQueryVariables = Exact<{
4855
+ org?: InputMaybe<Scalars["String"]["input"]>;
4856
+ }>;
4857
+
4858
+ export type GQLCustomAppDatastoresQuery = {
4859
+ __typename?: "Query";
4860
+ customAppDatastores: Array<{ __typename?: "CustomAppDatastoreOption"; id: string; name: string; depth: number }>;
4861
+ };
4862
+
4863
+ export type GQLCustomAppUsersQueryVariables = Exact<{
4864
+ org?: InputMaybe<Scalars["String"]["input"]>;
4865
+ clientId: Scalars["String"]["input"];
4866
+ first?: InputMaybe<Scalars["Int"]["input"]>;
4867
+ max?: InputMaybe<Scalars["Int"]["input"]>;
4868
+ createdFrom?: InputMaybe<Scalars["String"]["input"]>;
4869
+ createdUntil?: InputMaybe<Scalars["String"]["input"]>;
4870
+ search?: InputMaybe<Scalars["String"]["input"]>;
4871
+ status?: InputMaybe<GQLCustomAppUserStatusFilter>;
4872
+ }>;
4873
+
4874
+ export type GQLCustomAppUsersQuery = {
4875
+ __typename?: "Query";
4876
+ customAppUsers: {
4877
+ __typename?: "CustomAppUserPage";
4878
+ total: number;
4879
+ users: Array<{
4880
+ __typename?: "CustomAppUser";
4881
+ userId: string;
4882
+ name?: string | null;
4883
+ email?: string | null;
4884
+ teams: Array<string>;
4885
+ allTeams: boolean;
4886
+ createdAt?: string | null;
4887
+ chatCount: number;
4888
+ invitedAt?: string | null;
4889
+ mantaMember: boolean;
4890
+ }>;
4891
+ };
4892
+ };
4893
+
4894
+ export type GQLCustomAppQueryVariables = Exact<{
4895
+ org?: InputMaybe<Scalars["String"]["input"]>;
4896
+ clientId: Scalars["String"]["input"];
4897
+ }>;
4898
+
4899
+ export type GQLCustomAppQuery = {
4900
+ __typename?: "Query";
4901
+ customApp: {
4902
+ __typename?: "CustomApp";
4903
+ clientId: string;
4904
+ name: string;
4905
+ kind: GQLCustomAppKind;
4906
+ redirectUris: Array<string>;
4907
+ homeUrl?: string | null;
4908
+ machineAccess: boolean;
4909
+ enabled: boolean;
4910
+ org?: string | null;
4911
+ orgName?: string | null;
4912
+ previousSecretExpiresAt?: string | null;
4913
+ permissions: Array<GQLCustomAppPermission>;
4914
+ createdAt?: string | null;
4915
+ createdBy?: string | null;
4916
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
4917
+ };
4918
+ };
4919
+
4920
+ export type GQLCustomAppsQueryVariables = Exact<{
4921
+ org?: InputMaybe<Scalars["String"]["input"]>;
4922
+ first?: InputMaybe<Scalars["Int"]["input"]>;
4923
+ max?: InputMaybe<Scalars["Int"]["input"]>;
4924
+ search?: InputMaybe<Scalars["String"]["input"]>;
4925
+ }>;
4926
+
4927
+ export type GQLCustomAppsQuery = {
4928
+ __typename?: "Query";
4929
+ customApps: {
4930
+ __typename?: "CustomAppPage";
4931
+ nextFirst?: number | null;
4932
+ apps: Array<{
4933
+ __typename?: "CustomApp";
4934
+ clientId: string;
4935
+ name: string;
4936
+ kind: GQLCustomAppKind;
4937
+ redirectUris: Array<string>;
4938
+ homeUrl?: string | null;
4939
+ machineAccess: boolean;
4940
+ enabled: boolean;
4941
+ org?: string | null;
4942
+ orgName?: string | null;
4943
+ previousSecretExpiresAt?: string | null;
4944
+ permissions: Array<GQLCustomAppPermission>;
4945
+ createdAt?: string | null;
4946
+ createdBy?: string | null;
4947
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
4948
+ }>;
4949
+ connection: { __typename?: "CustomAppConnection"; issuer: string; discoveryUrl: string; tokenEndpoint: string };
4950
+ };
4951
+ };
4952
+
4535
4953
  export type GQLCustomerDatastoresQueryVariables = Exact<{ [key: string]: never }>;
4536
4954
 
4537
4955
  export type GQLCustomerDatastoresQuery = {
@@ -4578,6 +4996,7 @@ export type GQLDataConnectionsQuery = {
4578
4996
  id: string;
4579
4997
  name: string;
4580
4998
  connectorType: string;
4999
+ sourceName?: string | null;
4581
5000
  status: GQLDataConnectionStatus;
4582
5001
  error?: string | null;
4583
5002
  createdAt: string;
@@ -4734,48 +5153,6 @@ export type GQLExplainRdFoxFactQuery = {
4734
5153
  };
4735
5154
  };
4736
5155
 
4737
- export type GQLExternalAppDatastoresQueryVariables = Exact<{
4738
- org?: InputMaybe<Scalars["String"]["input"]>;
4739
- }>;
4740
-
4741
- export type GQLExternalAppDatastoresQuery = {
4742
- __typename?: "Query";
4743
- externalAppDatastores: Array<{ __typename?: "ExternalAppDatastoreOption"; id: string; name: string; depth: number }>;
4744
- };
4745
-
4746
- export type GQLExternalAppsQueryVariables = Exact<{
4747
- org?: InputMaybe<Scalars["String"]["input"]>;
4748
- first?: InputMaybe<Scalars["Int"]["input"]>;
4749
- max?: InputMaybe<Scalars["Int"]["input"]>;
4750
- search?: InputMaybe<Scalars["String"]["input"]>;
4751
- }>;
4752
-
4753
- export type GQLExternalAppsQuery = {
4754
- __typename?: "Query";
4755
- externalApps: {
4756
- __typename?: "ExternalAppPage";
4757
- nextFirst?: number | null;
4758
- apps: Array<{
4759
- __typename?: "ExternalApp";
4760
- clientId: string;
4761
- name: string;
4762
- kind: GQLExternalAppKind;
4763
- redirectUris: Array<string>;
4764
- homeUrl?: string | null;
4765
- machineAccess: boolean;
4766
- enabled: boolean;
4767
- org?: string | null;
4768
- orgName?: string | null;
4769
- previousSecretExpiresAt?: string | null;
4770
- permissions: Array<GQLExternalAppPermission>;
4771
- createdAt?: string | null;
4772
- createdBy?: string | null;
4773
- datastores: Array<{ __typename?: "ExternalAppDatastore"; id: string; name: string }>;
4774
- }>;
4775
- connection: { __typename?: "ExternalAppConnection"; issuer: string; discoveryUrl: string; tokenEndpoint: string };
4776
- };
4777
- };
4778
-
4779
5156
  export type GQLGmailIntegrationsQueryVariables = Exact<{ [key: string]: never }>;
4780
5157
 
4781
5158
  export type GQLGmailIntegrationsQuery = {
@@ -4815,6 +5192,23 @@ export type GQLGoogleAnalyticsSetupProgressQuery = {
4815
5192
  };
4816
5193
  };
4817
5194
 
5195
+ export type GQLGoogleBrandSuggestionsQueryVariables = Exact<{
5196
+ customerIri: Scalars["IRI"]["input"];
5197
+ brandPrefix: Scalars["String"]["input"];
5198
+ selectedBrandIds?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
5199
+ }>;
5200
+
5201
+ export type GQLGoogleBrandSuggestionsQuery = {
5202
+ __typename?: "Query";
5203
+ googleBrandSuggestions: Array<{
5204
+ __typename?: "GoogleBrandSuggestion";
5205
+ id: string;
5206
+ name: string;
5207
+ urls: Array<string>;
5208
+ state?: string | null;
5209
+ }>;
5210
+ };
5211
+
4818
5212
  export type GQLGoogleSetupProgressQueryVariables = Exact<{ [key: string]: never }>;
4819
5213
 
4820
5214
  export type GQLGoogleSetupProgressQuery = {
@@ -5171,7 +5565,7 @@ export type GQLSessionContextQuery = {
5171
5565
  canManageStreams: boolean;
5172
5566
  canManageSharedMemories: boolean;
5173
5567
  canManageTeam: boolean;
5174
- canManageExternalApps: boolean;
5568
+ canManageCustomApps: boolean;
5175
5569
  datastore?: {
5176
5570
  __typename?: "CustomerDatastore";
5177
5571
  id: string;
@@ -5293,6 +5687,7 @@ export type GQLTeamDirectoryQuery = {
5293
5687
  inviteUrl?: string | null;
5294
5688
  federated?: boolean | null;
5295
5689
  nameReadOnly?: boolean | null;
5690
+ operator?: boolean | null;
5296
5691
  enabled: boolean;
5297
5692
  memberships: Array<{
5298
5693
  __typename?: "DirectoryMembership";
@@ -5455,15 +5850,36 @@ export type GQLValidateActionPlanQuery = {
5455
5850
  };
5456
5851
  };
5457
5852
 
5458
- export const ExternalAppConnectionFieldsFragmentDoc = `
5459
- fragment ExternalAppConnectionFields on ExternalAppConnection {
5853
+ export type GQLWarehouseQueryQueryVariables = Exact<{
5854
+ sql: Scalars["String"]["input"];
5855
+ }>;
5856
+
5857
+ export type GQLWarehouseQueryQuery = {
5858
+ __typename?: "Query";
5859
+ warehouseQuery: {
5860
+ __typename?: "WarehouseQueryResponse";
5861
+ rows?: Array<unknown> | null;
5862
+ truncated: boolean;
5863
+ error?: string | null;
5864
+ columns?: Array<{ __typename?: "WarehouseColumn"; name: string; type: string }> | null;
5865
+ statistics?: {
5866
+ __typename?: "WarehouseStatistics";
5867
+ scanRows?: number | null;
5868
+ scanBytes?: number | null;
5869
+ returnRows?: number | null;
5870
+ } | null;
5871
+ };
5872
+ };
5873
+
5874
+ export const CustomAppConnectionFieldsFragmentDoc = `
5875
+ fragment CustomAppConnectionFields on CustomAppConnection {
5460
5876
  issuer
5461
5877
  discoveryUrl
5462
5878
  tokenEndpoint
5463
5879
  }
5464
5880
  `;
5465
- export const ExternalAppFieldsFragmentDoc = `
5466
- fragment ExternalAppFields on ExternalApp {
5881
+ export const CustomAppFieldsFragmentDoc = `
5882
+ fragment CustomAppFields on CustomApp {
5467
5883
  clientId
5468
5884
  name
5469
5885
  kind
@@ -5920,6 +6336,48 @@ export const useConsolidateMemoriesMutation = <TError = unknown, TContext = unkn
5920
6336
  });
5921
6337
  };
5922
6338
 
6339
+ export const CreateCustomAppDocument = `
6340
+ mutation CreateCustomApp($org: String, $name: String!, $kind: CustomAppKind, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [CustomAppPermission!]) {
6341
+ createCustomApp(
6342
+ org: $org
6343
+ name: $name
6344
+ kind: $kind
6345
+ redirectUris: $redirectUris
6346
+ homeUrl: $homeUrl
6347
+ machineAccess: $machineAccess
6348
+ datastores: $datastores
6349
+ permissions: $permissions
6350
+ ) {
6351
+ app {
6352
+ ...CustomAppFields
6353
+ }
6354
+ clientSecret
6355
+ connection {
6356
+ ...CustomAppConnectionFields
6357
+ }
6358
+ }
6359
+ }
6360
+ ${CustomAppFieldsFragmentDoc}
6361
+ ${CustomAppConnectionFieldsFragmentDoc}`;
6362
+
6363
+ export const useCreateCustomAppMutation = <TError = unknown, TContext = unknown>(
6364
+ client: GraphQLClient,
6365
+ options?: UseMutationOptions<GQLCreateCustomAppMutation, TError, GQLCreateCustomAppMutationVariables, TContext>,
6366
+ headers?: RequestInit["headers"],
6367
+ ) => {
6368
+ return useMutation<GQLCreateCustomAppMutation, TError, GQLCreateCustomAppMutationVariables, TContext>({
6369
+ mutationKey: ["CreateCustomApp"],
6370
+ mutationFn: (variables?: GQLCreateCustomAppMutationVariables) =>
6371
+ fetcher<GQLCreateCustomAppMutation, GQLCreateCustomAppMutationVariables>(
6372
+ client,
6373
+ CreateCustomAppDocument,
6374
+ variables,
6375
+ headers,
6376
+ )(),
6377
+ ...options,
6378
+ });
6379
+ };
6380
+
5923
6381
  export const CreateDataConnectionDocument = `
5924
6382
  mutation CreateDataConnection($input: CreateDataConnectionInput!) {
5925
6383
  createDataConnection(input: $input) {
@@ -5953,48 +6411,6 @@ export const useCreateDataConnectionMutation = <TError = unknown, TContext = unk
5953
6411
  });
5954
6412
  };
5955
6413
 
5956
- export const CreateExternalAppDocument = `
5957
- mutation CreateExternalApp($org: String, $name: String!, $kind: ExternalAppKind, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [ExternalAppPermission!]) {
5958
- createExternalApp(
5959
- org: $org
5960
- name: $name
5961
- kind: $kind
5962
- redirectUris: $redirectUris
5963
- homeUrl: $homeUrl
5964
- machineAccess: $machineAccess
5965
- datastores: $datastores
5966
- permissions: $permissions
5967
- ) {
5968
- app {
5969
- ...ExternalAppFields
5970
- }
5971
- clientSecret
5972
- connection {
5973
- ...ExternalAppConnectionFields
5974
- }
5975
- }
5976
- }
5977
- ${ExternalAppFieldsFragmentDoc}
5978
- ${ExternalAppConnectionFieldsFragmentDoc}`;
5979
-
5980
- export const useCreateExternalAppMutation = <TError = unknown, TContext = unknown>(
5981
- client: GraphQLClient,
5982
- options?: UseMutationOptions<GQLCreateExternalAppMutation, TError, GQLCreateExternalAppMutationVariables, TContext>,
5983
- headers?: RequestInit["headers"],
5984
- ) => {
5985
- return useMutation<GQLCreateExternalAppMutation, TError, GQLCreateExternalAppMutationVariables, TContext>({
5986
- mutationKey: ["CreateExternalApp"],
5987
- mutationFn: (variables?: GQLCreateExternalAppMutationVariables) =>
5988
- fetcher<GQLCreateExternalAppMutation, GQLCreateExternalAppMutationVariables>(
5989
- client,
5990
- CreateExternalAppDocument,
5991
- variables,
5992
- headers,
5993
- )(),
5994
- ...options,
5995
- });
5996
- };
5997
-
5998
6414
  export const CreateInferalIntegrationDocument = `
5999
6415
  mutation CreateInferalIntegration($input: CreateInferalIntegrationInput!) {
6000
6416
  createInferalIntegration(input: $input) {
@@ -6172,6 +6588,33 @@ export const useDeleteActionPlanMutation = <TError = unknown, TContext = unknown
6172
6588
  });
6173
6589
  };
6174
6590
 
6591
+ export const DeleteCustomAppDocument = `
6592
+ mutation DeleteCustomApp($org: String, $clientId: String!) {
6593
+ deleteCustomApp(org: $org, clientId: $clientId) {
6594
+ clientId
6595
+ deleted
6596
+ }
6597
+ }
6598
+ `;
6599
+
6600
+ export const useDeleteCustomAppMutation = <TError = unknown, TContext = unknown>(
6601
+ client: GraphQLClient,
6602
+ options?: UseMutationOptions<GQLDeleteCustomAppMutation, TError, GQLDeleteCustomAppMutationVariables, TContext>,
6603
+ headers?: RequestInit["headers"],
6604
+ ) => {
6605
+ return useMutation<GQLDeleteCustomAppMutation, TError, GQLDeleteCustomAppMutationVariables, TContext>({
6606
+ mutationKey: ["DeleteCustomApp"],
6607
+ mutationFn: (variables?: GQLDeleteCustomAppMutationVariables) =>
6608
+ fetcher<GQLDeleteCustomAppMutation, GQLDeleteCustomAppMutationVariables>(
6609
+ client,
6610
+ DeleteCustomAppDocument,
6611
+ variables,
6612
+ headers,
6613
+ )(),
6614
+ ...options,
6615
+ });
6616
+ };
6617
+
6175
6618
  export const DeleteDataConnectionDocument = `
6176
6619
  mutation DeleteDataConnection($id: String!) {
6177
6620
  deleteDataConnection(id: $id) {
@@ -6203,26 +6646,26 @@ export const useDeleteDataConnectionMutation = <TError = unknown, TContext = unk
6203
6646
  });
6204
6647
  };
6205
6648
 
6206
- export const DeleteExternalAppDocument = `
6207
- mutation DeleteExternalApp($org: String, $clientId: String!) {
6208
- deleteExternalApp(org: $org, clientId: $clientId) {
6209
- clientId
6210
- deleted
6649
+ export const DeleteDatastoreDocument = `
6650
+ mutation DeleteDatastore($datastoreId: String!, $confirmName: String!) {
6651
+ deleteDatastore(datastoreId: $datastoreId, confirmName: $confirmName) {
6652
+ success
6653
+ error
6211
6654
  }
6212
6655
  }
6213
6656
  `;
6214
6657
 
6215
- export const useDeleteExternalAppMutation = <TError = unknown, TContext = unknown>(
6658
+ export const useDeleteDatastoreMutation = <TError = unknown, TContext = unknown>(
6216
6659
  client: GraphQLClient,
6217
- options?: UseMutationOptions<GQLDeleteExternalAppMutation, TError, GQLDeleteExternalAppMutationVariables, TContext>,
6660
+ options?: UseMutationOptions<GQLDeleteDatastoreMutation, TError, GQLDeleteDatastoreMutationVariables, TContext>,
6218
6661
  headers?: RequestInit["headers"],
6219
6662
  ) => {
6220
- return useMutation<GQLDeleteExternalAppMutation, TError, GQLDeleteExternalAppMutationVariables, TContext>({
6221
- mutationKey: ["DeleteExternalApp"],
6222
- mutationFn: (variables?: GQLDeleteExternalAppMutationVariables) =>
6223
- fetcher<GQLDeleteExternalAppMutation, GQLDeleteExternalAppMutationVariables>(
6663
+ return useMutation<GQLDeleteDatastoreMutation, TError, GQLDeleteDatastoreMutationVariables, TContext>({
6664
+ mutationKey: ["DeleteDatastore"],
6665
+ mutationFn: (variables?: GQLDeleteDatastoreMutationVariables) =>
6666
+ fetcher<GQLDeleteDatastoreMutation, GQLDeleteDatastoreMutationVariables>(
6224
6667
  client,
6225
- DeleteExternalAppDocument,
6668
+ DeleteDatastoreDocument,
6226
6669
  variables,
6227
6670
  headers,
6228
6671
  )(),
@@ -6350,6 +6793,35 @@ export const useDisconnectConnectedAccountMutation = <TError = unknown, TContext
6350
6793
  });
6351
6794
  };
6352
6795
 
6796
+ export const DisconnectCustomAppDocument = `
6797
+ mutation DisconnectCustomApp($clientId: String!) {
6798
+ disconnectCustomApp(clientId: $clientId)
6799
+ }
6800
+ `;
6801
+
6802
+ export const useDisconnectCustomAppMutation = <TError = unknown, TContext = unknown>(
6803
+ client: GraphQLClient,
6804
+ options?: UseMutationOptions<
6805
+ GQLDisconnectCustomAppMutation,
6806
+ TError,
6807
+ GQLDisconnectCustomAppMutationVariables,
6808
+ TContext
6809
+ >,
6810
+ headers?: RequestInit["headers"],
6811
+ ) => {
6812
+ return useMutation<GQLDisconnectCustomAppMutation, TError, GQLDisconnectCustomAppMutationVariables, TContext>({
6813
+ mutationKey: ["DisconnectCustomApp"],
6814
+ mutationFn: (variables?: GQLDisconnectCustomAppMutationVariables) =>
6815
+ fetcher<GQLDisconnectCustomAppMutation, GQLDisconnectCustomAppMutationVariables>(
6816
+ client,
6817
+ DisconnectCustomAppDocument,
6818
+ variables,
6819
+ headers,
6820
+ )(),
6821
+ ...options,
6822
+ });
6823
+ };
6824
+
6353
6825
  export const DisconnectGmailIntegrationDocument = `
6354
6826
  mutation DisconnectGmailIntegration($email: String!) {
6355
6827
  disconnectGmailIntegration(email: $email) {
@@ -6765,6 +7237,83 @@ export const useInitiateUploadMutation = <TError = unknown, TContext = unknown>(
6765
7237
  });
6766
7238
  };
6767
7239
 
7240
+ export const InviteCustomAppUserDocument = `
7241
+ mutation InviteCustomAppUser($org: String, $clientId: String!, $userId: String!, $email: String, $teams: [String!], $allTeams: Boolean) {
7242
+ inviteCustomAppUser(
7243
+ org: $org
7244
+ clientId: $clientId
7245
+ userId: $userId
7246
+ email: $email
7247
+ teams: $teams
7248
+ allTeams: $allTeams
7249
+ ) {
7250
+ userId
7251
+ invitedAt
7252
+ mantaMember
7253
+ }
7254
+ }
7255
+ `;
7256
+
7257
+ export const useInviteCustomAppUserMutation = <TError = unknown, TContext = unknown>(
7258
+ client: GraphQLClient,
7259
+ options?: UseMutationOptions<
7260
+ GQLInviteCustomAppUserMutation,
7261
+ TError,
7262
+ GQLInviteCustomAppUserMutationVariables,
7263
+ TContext
7264
+ >,
7265
+ headers?: RequestInit["headers"],
7266
+ ) => {
7267
+ return useMutation<GQLInviteCustomAppUserMutation, TError, GQLInviteCustomAppUserMutationVariables, TContext>({
7268
+ mutationKey: ["InviteCustomAppUser"],
7269
+ mutationFn: (variables?: GQLInviteCustomAppUserMutationVariables) =>
7270
+ fetcher<GQLInviteCustomAppUserMutation, GQLInviteCustomAppUserMutationVariables>(
7271
+ client,
7272
+ InviteCustomAppUserDocument,
7273
+ variables,
7274
+ headers,
7275
+ )(),
7276
+ ...options,
7277
+ });
7278
+ };
7279
+
7280
+ export const InviteCustomAppUsersDocument = `
7281
+ mutation InviteCustomAppUsers($org: String, $clientId: String!, $people: [CustomAppUserInvitationInput!]!) {
7282
+ inviteCustomAppUsers(org: $org, clientId: $clientId, people: $people) {
7283
+ userId
7284
+ error
7285
+ user {
7286
+ userId
7287
+ invitedAt
7288
+ mantaMember
7289
+ }
7290
+ }
7291
+ }
7292
+ `;
7293
+
7294
+ export const useInviteCustomAppUsersMutation = <TError = unknown, TContext = unknown>(
7295
+ client: GraphQLClient,
7296
+ options?: UseMutationOptions<
7297
+ GQLInviteCustomAppUsersMutation,
7298
+ TError,
7299
+ GQLInviteCustomAppUsersMutationVariables,
7300
+ TContext
7301
+ >,
7302
+ headers?: RequestInit["headers"],
7303
+ ) => {
7304
+ return useMutation<GQLInviteCustomAppUsersMutation, TError, GQLInviteCustomAppUsersMutationVariables, TContext>({
7305
+ mutationKey: ["InviteCustomAppUsers"],
7306
+ mutationFn: (variables?: GQLInviteCustomAppUsersMutationVariables) =>
7307
+ fetcher<GQLInviteCustomAppUsersMutation, GQLInviteCustomAppUsersMutationVariables>(
7308
+ client,
7309
+ InviteCustomAppUsersDocument,
7310
+ variables,
7311
+ headers,
7312
+ )(),
7313
+ ...options,
7314
+ });
7315
+ };
7316
+
6768
7317
  export const LinkOrganizationToProviderDocument = `
6769
7318
  mutation LinkOrganizationToProvider($organizationId: String!) {
6770
7319
  linkOrganizationToProvider(organizationId: $organizationId) {
@@ -7195,6 +7744,113 @@ export const useReleaseRuleOwnershipMutation = <TError = unknown, TContext = unk
7195
7744
  });
7196
7745
  };
7197
7746
 
7747
+ export const RemoveCustomAppUserDocument = `
7748
+ mutation RemoveCustomAppUser($org: String, $clientId: String!, $userId: String!) {
7749
+ removeCustomAppUser(org: $org, clientId: $clientId, userId: $userId) {
7750
+ userId
7751
+ status
7752
+ }
7753
+ }
7754
+ `;
7755
+
7756
+ export const useRemoveCustomAppUserMutation = <TError = unknown, TContext = unknown>(
7757
+ client: GraphQLClient,
7758
+ options?: UseMutationOptions<
7759
+ GQLRemoveCustomAppUserMutation,
7760
+ TError,
7761
+ GQLRemoveCustomAppUserMutationVariables,
7762
+ TContext
7763
+ >,
7764
+ headers?: RequestInit["headers"],
7765
+ ) => {
7766
+ return useMutation<GQLRemoveCustomAppUserMutation, TError, GQLRemoveCustomAppUserMutationVariables, TContext>({
7767
+ mutationKey: ["RemoveCustomAppUser"],
7768
+ mutationFn: (variables?: GQLRemoveCustomAppUserMutationVariables) =>
7769
+ fetcher<GQLRemoveCustomAppUserMutation, GQLRemoveCustomAppUserMutationVariables>(
7770
+ client,
7771
+ RemoveCustomAppUserDocument,
7772
+ variables,
7773
+ headers,
7774
+ )(),
7775
+ ...options,
7776
+ });
7777
+ };
7778
+
7779
+ export const RemoveCustomAppUsersCreatedBetweenDocument = `
7780
+ mutation RemoveCustomAppUsersCreatedBetween($org: String, $clientId: String!, $createdFrom: String!, $createdUntil: String!) {
7781
+ removeCustomAppUsersCreatedBetween(
7782
+ org: $org
7783
+ clientId: $clientId
7784
+ createdFrom: $createdFrom
7785
+ createdUntil: $createdUntil
7786
+ ) {
7787
+ removed
7788
+ remaining
7789
+ }
7790
+ }
7791
+ `;
7792
+
7793
+ export const useRemoveCustomAppUsersCreatedBetweenMutation = <TError = unknown, TContext = unknown>(
7794
+ client: GraphQLClient,
7795
+ options?: UseMutationOptions<
7796
+ GQLRemoveCustomAppUsersCreatedBetweenMutation,
7797
+ TError,
7798
+ GQLRemoveCustomAppUsersCreatedBetweenMutationVariables,
7799
+ TContext
7800
+ >,
7801
+ headers?: RequestInit["headers"],
7802
+ ) => {
7803
+ return useMutation<
7804
+ GQLRemoveCustomAppUsersCreatedBetweenMutation,
7805
+ TError,
7806
+ GQLRemoveCustomAppUsersCreatedBetweenMutationVariables,
7807
+ TContext
7808
+ >({
7809
+ mutationKey: ["RemoveCustomAppUsersCreatedBetween"],
7810
+ mutationFn: (variables?: GQLRemoveCustomAppUsersCreatedBetweenMutationVariables) =>
7811
+ fetcher<GQLRemoveCustomAppUsersCreatedBetweenMutation, GQLRemoveCustomAppUsersCreatedBetweenMutationVariables>(
7812
+ client,
7813
+ RemoveCustomAppUsersCreatedBetweenDocument,
7814
+ variables,
7815
+ headers,
7816
+ )(),
7817
+ ...options,
7818
+ });
7819
+ };
7820
+
7821
+ export const RemoveCustomAppUsersDocument = `
7822
+ mutation RemoveCustomAppUsers($org: String, $clientId: String!, $userIds: [String!]!) {
7823
+ removeCustomAppUsers(org: $org, clientId: $clientId, userIds: $userIds) {
7824
+ userId
7825
+ status
7826
+ error
7827
+ }
7828
+ }
7829
+ `;
7830
+
7831
+ export const useRemoveCustomAppUsersMutation = <TError = unknown, TContext = unknown>(
7832
+ client: GraphQLClient,
7833
+ options?: UseMutationOptions<
7834
+ GQLRemoveCustomAppUsersMutation,
7835
+ TError,
7836
+ GQLRemoveCustomAppUsersMutationVariables,
7837
+ TContext
7838
+ >,
7839
+ headers?: RequestInit["headers"],
7840
+ ) => {
7841
+ return useMutation<GQLRemoveCustomAppUsersMutation, TError, GQLRemoveCustomAppUsersMutationVariables, TContext>({
7842
+ mutationKey: ["RemoveCustomAppUsers"],
7843
+ mutationFn: (variables?: GQLRemoveCustomAppUsersMutationVariables) =>
7844
+ fetcher<GQLRemoveCustomAppUsersMutation, GQLRemoveCustomAppUsersMutationVariables>(
7845
+ client,
7846
+ RemoveCustomAppUsersDocument,
7847
+ variables,
7848
+ headers,
7849
+ )(),
7850
+ ...options,
7851
+ });
7852
+ };
7853
+
7198
7854
  export const RemoveDatastoreDocument = `
7199
7855
  mutation RemoveDatastore($datastoreId: String!) {
7200
7856
  removeDatastore(datastoreId: $datastoreId) {
@@ -7389,35 +8045,35 @@ export const useRevokeOperatorRoleMutation = <TError = unknown, TContext = unkno
7389
8045
  });
7390
8046
  };
7391
8047
 
7392
- export const RevokePreviousExternalAppSecretDocument = `
7393
- mutation RevokePreviousExternalAppSecret($org: String, $clientId: String!) {
7394
- revokePreviousExternalAppSecret(org: $org, clientId: $clientId) {
7395
- ...ExternalAppFields
8048
+ export const RevokePreviousCustomAppSecretDocument = `
8049
+ mutation RevokePreviousCustomAppSecret($org: String, $clientId: String!) {
8050
+ revokePreviousCustomAppSecret(org: $org, clientId: $clientId) {
8051
+ ...CustomAppFields
7396
8052
  }
7397
8053
  }
7398
- ${ExternalAppFieldsFragmentDoc}`;
8054
+ ${CustomAppFieldsFragmentDoc}`;
7399
8055
 
7400
- export const useRevokePreviousExternalAppSecretMutation = <TError = unknown, TContext = unknown>(
8056
+ export const useRevokePreviousCustomAppSecretMutation = <TError = unknown, TContext = unknown>(
7401
8057
  client: GraphQLClient,
7402
8058
  options?: UseMutationOptions<
7403
- GQLRevokePreviousExternalAppSecretMutation,
8059
+ GQLRevokePreviousCustomAppSecretMutation,
7404
8060
  TError,
7405
- GQLRevokePreviousExternalAppSecretMutationVariables,
8061
+ GQLRevokePreviousCustomAppSecretMutationVariables,
7406
8062
  TContext
7407
8063
  >,
7408
8064
  headers?: RequestInit["headers"],
7409
8065
  ) => {
7410
8066
  return useMutation<
7411
- GQLRevokePreviousExternalAppSecretMutation,
8067
+ GQLRevokePreviousCustomAppSecretMutation,
7412
8068
  TError,
7413
- GQLRevokePreviousExternalAppSecretMutationVariables,
8069
+ GQLRevokePreviousCustomAppSecretMutationVariables,
7414
8070
  TContext
7415
8071
  >({
7416
- mutationKey: ["RevokePreviousExternalAppSecret"],
7417
- mutationFn: (variables?: GQLRevokePreviousExternalAppSecretMutationVariables) =>
7418
- fetcher<GQLRevokePreviousExternalAppSecretMutation, GQLRevokePreviousExternalAppSecretMutationVariables>(
8072
+ mutationKey: ["RevokePreviousCustomAppSecret"],
8073
+ mutationFn: (variables?: GQLRevokePreviousCustomAppSecretMutationVariables) =>
8074
+ fetcher<GQLRevokePreviousCustomAppSecretMutation, GQLRevokePreviousCustomAppSecretMutationVariables>(
7419
8075
  client,
7420
- RevokePreviousExternalAppSecretDocument,
8076
+ RevokePreviousCustomAppSecretDocument,
7421
8077
  variables,
7422
8078
  headers,
7423
8079
  )(),
@@ -7425,74 +8081,72 @@ export const useRevokePreviousExternalAppSecretMutation = <TError = unknown, TCo
7425
8081
  });
7426
8082
  };
7427
8083
 
7428
- export const RotateExternalAppSecretDocument = `
7429
- mutation RotateExternalAppSecret($org: String, $clientId: String!, $keepPrevious: Boolean) {
7430
- rotateExternalAppSecret(
8084
+ export const RotateCustomAppSecretDocument = `
8085
+ mutation RotateCustomAppSecret($org: String, $clientId: String!, $keepPrevious: Boolean) {
8086
+ rotateCustomAppSecret(
7431
8087
  org: $org
7432
8088
  clientId: $clientId
7433
8089
  keepPrevious: $keepPrevious
7434
8090
  ) {
7435
8091
  app {
7436
- ...ExternalAppFields
8092
+ ...CustomAppFields
7437
8093
  }
7438
8094
  clientSecret
7439
8095
  connection {
7440
- ...ExternalAppConnectionFields
8096
+ ...CustomAppConnectionFields
7441
8097
  }
7442
8098
  }
7443
8099
  }
7444
- ${ExternalAppFieldsFragmentDoc}
7445
- ${ExternalAppConnectionFieldsFragmentDoc}`;
8100
+ ${CustomAppFieldsFragmentDoc}
8101
+ ${CustomAppConnectionFieldsFragmentDoc}`;
7446
8102
 
7447
- export const useRotateExternalAppSecretMutation = <TError = unknown, TContext = unknown>(
8103
+ export const useRotateCustomAppSecretMutation = <TError = unknown, TContext = unknown>(
7448
8104
  client: GraphQLClient,
7449
8105
  options?: UseMutationOptions<
7450
- GQLRotateExternalAppSecretMutation,
8106
+ GQLRotateCustomAppSecretMutation,
7451
8107
  TError,
7452
- GQLRotateExternalAppSecretMutationVariables,
8108
+ GQLRotateCustomAppSecretMutationVariables,
7453
8109
  TContext
7454
8110
  >,
7455
8111
  headers?: RequestInit["headers"],
7456
8112
  ) => {
7457
- return useMutation<GQLRotateExternalAppSecretMutation, TError, GQLRotateExternalAppSecretMutationVariables, TContext>(
7458
- {
7459
- mutationKey: ["RotateExternalAppSecret"],
7460
- mutationFn: (variables?: GQLRotateExternalAppSecretMutationVariables) =>
7461
- fetcher<GQLRotateExternalAppSecretMutation, GQLRotateExternalAppSecretMutationVariables>(
7462
- client,
7463
- RotateExternalAppSecretDocument,
7464
- variables,
7465
- headers,
7466
- )(),
7467
- ...options,
7468
- },
7469
- );
8113
+ return useMutation<GQLRotateCustomAppSecretMutation, TError, GQLRotateCustomAppSecretMutationVariables, TContext>({
8114
+ mutationKey: ["RotateCustomAppSecret"],
8115
+ mutationFn: (variables?: GQLRotateCustomAppSecretMutationVariables) =>
8116
+ fetcher<GQLRotateCustomAppSecretMutation, GQLRotateCustomAppSecretMutationVariables>(
8117
+ client,
8118
+ RotateCustomAppSecretDocument,
8119
+ variables,
8120
+ headers,
8121
+ )(),
8122
+ ...options,
8123
+ });
7470
8124
  };
7471
8125
 
7472
- export const SetExternalAppEnabledDocument = `
7473
- mutation SetExternalAppEnabled($org: String, $clientId: String!, $enabled: Boolean!) {
7474
- setExternalAppEnabled(org: $org, clientId: $clientId, enabled: $enabled) {
7475
- ...ExternalAppFields
8126
+ export const SetCustomAppEnabledDocument = `
8127
+ mutation SetCustomAppEnabled($org: String, $clientId: String!, $enabled: Boolean!) {
8128
+ setCustomAppEnabled(org: $org, clientId: $clientId, enabled: $enabled) {
8129
+ ...CustomAppFields
7476
8130
  }
7477
8131
  }
7478
- ${ExternalAppFieldsFragmentDoc}`;
8132
+ ${CustomAppFieldsFragmentDoc}`;
7479
8133
 
7480
- export const useSetExternalAppEnabledMutation = <TError = unknown, TContext = unknown>(
8134
+ export const useSetCustomAppEnabledMutation = <TError = unknown, TContext = unknown>(
7481
8135
  client: GraphQLClient,
7482
8136
  options?: UseMutationOptions<
7483
- GQLSetExternalAppEnabledMutation,
8137
+ GQLSetCustomAppEnabledMutation,
7484
8138
  TError,
7485
- GQLSetExternalAppEnabledMutationVariables,
8139
+ GQLSetCustomAppEnabledMutationVariables,
7486
8140
  TContext
7487
8141
  >,
7488
8142
  headers?: RequestInit["headers"],
7489
8143
  ) => {
7490
- return useMutation<GQLSetExternalAppEnabledMutation, TError, GQLSetExternalAppEnabledMutationVariables, TContext>({
7491
- mutationKey: ["SetExternalAppEnabled"],
7492
- mutationFn: (variables?: GQLSetExternalAppEnabledMutationVariables) =>
7493
- fetcher<GQLSetExternalAppEnabledMutation, GQLSetExternalAppEnabledMutationVariables>(
8144
+ return useMutation<GQLSetCustomAppEnabledMutation, TError, GQLSetCustomAppEnabledMutationVariables, TContext>({
8145
+ mutationKey: ["SetCustomAppEnabled"],
8146
+ mutationFn: (variables?: GQLSetCustomAppEnabledMutationVariables) =>
8147
+ fetcher<GQLSetCustomAppEnabledMutation, GQLSetCustomAppEnabledMutationVariables>(
7494
8148
  client,
7495
- SetExternalAppEnabledDocument,
8149
+ SetCustomAppEnabledDocument,
7496
8150
  variables,
7497
8151
  headers,
7498
8152
  )(),
@@ -7599,6 +8253,41 @@ export const useSyncGmailIntegrationMutation = <TError = unknown, TContext = unk
7599
8253
  });
7600
8254
  };
7601
8255
 
8256
+ export const UpdateCustomAppDocument = `
8257
+ mutation UpdateCustomApp($org: String, $clientId: String!, $name: String, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [CustomAppPermission!]) {
8258
+ updateCustomApp(
8259
+ org: $org
8260
+ clientId: $clientId
8261
+ name: $name
8262
+ redirectUris: $redirectUris
8263
+ homeUrl: $homeUrl
8264
+ machineAccess: $machineAccess
8265
+ datastores: $datastores
8266
+ permissions: $permissions
8267
+ ) {
8268
+ ...CustomAppFields
8269
+ }
8270
+ }
8271
+ ${CustomAppFieldsFragmentDoc}`;
8272
+
8273
+ export const useUpdateCustomAppMutation = <TError = unknown, TContext = unknown>(
8274
+ client: GraphQLClient,
8275
+ options?: UseMutationOptions<GQLUpdateCustomAppMutation, TError, GQLUpdateCustomAppMutationVariables, TContext>,
8276
+ headers?: RequestInit["headers"],
8277
+ ) => {
8278
+ return useMutation<GQLUpdateCustomAppMutation, TError, GQLUpdateCustomAppMutationVariables, TContext>({
8279
+ mutationKey: ["UpdateCustomApp"],
8280
+ mutationFn: (variables?: GQLUpdateCustomAppMutationVariables) =>
8281
+ fetcher<GQLUpdateCustomAppMutation, GQLUpdateCustomAppMutationVariables>(
8282
+ client,
8283
+ UpdateCustomAppDocument,
8284
+ variables,
8285
+ headers,
8286
+ )(),
8287
+ ...options,
8288
+ });
8289
+ };
8290
+
7602
8291
  export const UpdateDataConnectionDocument = `
7603
8292
  mutation UpdateDataConnection($input: UpdateDataConnectionInput!) {
7604
8293
  updateDataConnection(input: $input) {
@@ -7632,41 +8321,6 @@ export const useUpdateDataConnectionMutation = <TError = unknown, TContext = unk
7632
8321
  });
7633
8322
  };
7634
8323
 
7635
- export const UpdateExternalAppDocument = `
7636
- mutation UpdateExternalApp($org: String, $clientId: String!, $name: String, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [ExternalAppPermission!]) {
7637
- updateExternalApp(
7638
- org: $org
7639
- clientId: $clientId
7640
- name: $name
7641
- redirectUris: $redirectUris
7642
- homeUrl: $homeUrl
7643
- machineAccess: $machineAccess
7644
- datastores: $datastores
7645
- permissions: $permissions
7646
- ) {
7647
- ...ExternalAppFields
7648
- }
7649
- }
7650
- ${ExternalAppFieldsFragmentDoc}`;
7651
-
7652
- export const useUpdateExternalAppMutation = <TError = unknown, TContext = unknown>(
7653
- client: GraphQLClient,
7654
- options?: UseMutationOptions<GQLUpdateExternalAppMutation, TError, GQLUpdateExternalAppMutationVariables, TContext>,
7655
- headers?: RequestInit["headers"],
7656
- ) => {
7657
- return useMutation<GQLUpdateExternalAppMutation, TError, GQLUpdateExternalAppMutationVariables, TContext>({
7658
- mutationKey: ["UpdateExternalApp"],
7659
- mutationFn: (variables?: GQLUpdateExternalAppMutationVariables) =>
7660
- fetcher<GQLUpdateExternalAppMutation, GQLUpdateExternalAppMutationVariables>(
7661
- client,
7662
- UpdateExternalAppDocument,
7663
- variables,
7664
- headers,
7665
- )(),
7666
- ...options,
7667
- });
7668
- };
7669
-
7670
8324
  export const UpdateMemoryDocument = `
7671
8325
  mutation UpdateMemory($input: UpdateMemoryInput!) {
7672
8326
  updateMemory(input: $input) {
@@ -8494,6 +9148,62 @@ export const useSuspenseConnectedAccountsQuery = <TData = GQLConnectedAccountsQu
8494
9148
  useSuspenseConnectedAccountsQuery.getKey = (variables?: GQLConnectedAccountsQueryVariables) =>
8495
9149
  variables === undefined ? ["ConnectedAccountsSuspense"] : ["ConnectedAccountsSuspense", variables];
8496
9150
 
9151
+ export const ConnectedCustomAppsDocument = `
9152
+ query ConnectedCustomApps {
9153
+ connectedCustomApps {
9154
+ clientId
9155
+ name
9156
+ orgName
9157
+ }
9158
+ }
9159
+ `;
9160
+
9161
+ export const useConnectedCustomAppsQuery = <TData = GQLConnectedCustomAppsQuery, TError = unknown>(
9162
+ client: GraphQLClient,
9163
+ variables?: GQLConnectedCustomAppsQueryVariables,
9164
+ options?: Omit<UseQueryOptions<GQLConnectedCustomAppsQuery, TError, TData>, "queryKey"> & {
9165
+ queryKey?: UseQueryOptions<GQLConnectedCustomAppsQuery, TError, TData>["queryKey"];
9166
+ },
9167
+ headers?: RequestInit["headers"],
9168
+ ) => {
9169
+ return useQuery<GQLConnectedCustomAppsQuery, TError, TData>({
9170
+ queryKey: variables === undefined ? ["ConnectedCustomApps"] : ["ConnectedCustomApps", variables],
9171
+ queryFn: fetcher<GQLConnectedCustomAppsQuery, GQLConnectedCustomAppsQueryVariables>(
9172
+ client,
9173
+ ConnectedCustomAppsDocument,
9174
+ variables,
9175
+ headers,
9176
+ ),
9177
+ ...options,
9178
+ });
9179
+ };
9180
+
9181
+ useConnectedCustomAppsQuery.getKey = (variables?: GQLConnectedCustomAppsQueryVariables) =>
9182
+ variables === undefined ? ["ConnectedCustomApps"] : ["ConnectedCustomApps", variables];
9183
+
9184
+ export const useSuspenseConnectedCustomAppsQuery = <TData = GQLConnectedCustomAppsQuery, TError = unknown>(
9185
+ client: GraphQLClient,
9186
+ variables?: GQLConnectedCustomAppsQueryVariables,
9187
+ options?: Omit<UseSuspenseQueryOptions<GQLConnectedCustomAppsQuery, TError, TData>, "queryKey"> & {
9188
+ queryKey?: UseSuspenseQueryOptions<GQLConnectedCustomAppsQuery, TError, TData>["queryKey"];
9189
+ },
9190
+ headers?: RequestInit["headers"],
9191
+ ) => {
9192
+ return useSuspenseQuery<GQLConnectedCustomAppsQuery, TError, TData>({
9193
+ queryKey: variables === undefined ? ["ConnectedCustomAppsSuspense"] : ["ConnectedCustomAppsSuspense", variables],
9194
+ queryFn: fetcher<GQLConnectedCustomAppsQuery, GQLConnectedCustomAppsQueryVariables>(
9195
+ client,
9196
+ ConnectedCustomAppsDocument,
9197
+ variables,
9198
+ headers,
9199
+ ),
9200
+ ...options,
9201
+ });
9202
+ };
9203
+
9204
+ useSuspenseConnectedCustomAppsQuery.getKey = (variables?: GQLConnectedCustomAppsQueryVariables) =>
9205
+ variables === undefined ? ["ConnectedCustomAppsSuspense"] : ["ConnectedCustomAppsSuspense", variables];
9206
+
8497
9207
  export const ConversationStartersDocument = `
8498
9208
  query ConversationStarters($planGraphIri: IRI) {
8499
9209
  conversationStarters(planGraphIri: $planGraphIri) {
@@ -8517,11 +9227,273 @@ export const useConversationStartersQuery = <TData = GQLConversationStartersQuer
8517
9227
  },
8518
9228
  headers?: RequestInit["headers"],
8519
9229
  ) => {
8520
- return useQuery<GQLConversationStartersQuery, TError, TData>({
8521
- queryKey: variables === undefined ? ["ConversationStarters"] : ["ConversationStarters", variables],
8522
- queryFn: fetcher<GQLConversationStartersQuery, GQLConversationStartersQueryVariables>(
9230
+ return useQuery<GQLConversationStartersQuery, TError, TData>({
9231
+ queryKey: variables === undefined ? ["ConversationStarters"] : ["ConversationStarters", variables],
9232
+ queryFn: fetcher<GQLConversationStartersQuery, GQLConversationStartersQueryVariables>(
9233
+ client,
9234
+ ConversationStartersDocument,
9235
+ variables,
9236
+ headers,
9237
+ ),
9238
+ ...options,
9239
+ });
9240
+ };
9241
+
9242
+ useConversationStartersQuery.getKey = (variables?: GQLConversationStartersQueryVariables) =>
9243
+ variables === undefined ? ["ConversationStarters"] : ["ConversationStarters", variables];
9244
+
9245
+ export const useSuspenseConversationStartersQuery = <TData = GQLConversationStartersQuery, TError = unknown>(
9246
+ client: GraphQLClient,
9247
+ variables?: GQLConversationStartersQueryVariables,
9248
+ options?: Omit<UseSuspenseQueryOptions<GQLConversationStartersQuery, TError, TData>, "queryKey"> & {
9249
+ queryKey?: UseSuspenseQueryOptions<GQLConversationStartersQuery, TError, TData>["queryKey"];
9250
+ },
9251
+ headers?: RequestInit["headers"],
9252
+ ) => {
9253
+ return useSuspenseQuery<GQLConversationStartersQuery, TError, TData>({
9254
+ queryKey: variables === undefined ? ["ConversationStartersSuspense"] : ["ConversationStartersSuspense", variables],
9255
+ queryFn: fetcher<GQLConversationStartersQuery, GQLConversationStartersQueryVariables>(
9256
+ client,
9257
+ ConversationStartersDocument,
9258
+ variables,
9259
+ headers,
9260
+ ),
9261
+ ...options,
9262
+ });
9263
+ };
9264
+
9265
+ useSuspenseConversationStartersQuery.getKey = (variables?: GQLConversationStartersQueryVariables) =>
9266
+ variables === undefined ? ["ConversationStartersSuspense"] : ["ConversationStartersSuspense", variables];
9267
+
9268
+ export const CoverageRulesDocument = `
9269
+ query CoverageRules {
9270
+ rules(includeDependencyGraph: false) {
9271
+ rules {
9272
+ ruleIri
9273
+ committedVocabulary {
9274
+ head {
9275
+ classes
9276
+ predicates
9277
+ }
9278
+ body {
9279
+ classes
9280
+ predicates
9281
+ }
9282
+ error
9283
+ }
9284
+ }
9285
+ count
9286
+ error
9287
+ }
9288
+ }
9289
+ `;
9290
+
9291
+ export const useCoverageRulesQuery = <TData = GQLCoverageRulesQuery, TError = unknown>(
9292
+ client: GraphQLClient,
9293
+ variables?: GQLCoverageRulesQueryVariables,
9294
+ options?: Omit<UseQueryOptions<GQLCoverageRulesQuery, TError, TData>, "queryKey"> & {
9295
+ queryKey?: UseQueryOptions<GQLCoverageRulesQuery, TError, TData>["queryKey"];
9296
+ },
9297
+ headers?: RequestInit["headers"],
9298
+ ) => {
9299
+ return useQuery<GQLCoverageRulesQuery, TError, TData>({
9300
+ queryKey: variables === undefined ? ["CoverageRules"] : ["CoverageRules", variables],
9301
+ queryFn: fetcher<GQLCoverageRulesQuery, GQLCoverageRulesQueryVariables>(
9302
+ client,
9303
+ CoverageRulesDocument,
9304
+ variables,
9305
+ headers,
9306
+ ),
9307
+ ...options,
9308
+ });
9309
+ };
9310
+
9311
+ useCoverageRulesQuery.getKey = (variables?: GQLCoverageRulesQueryVariables) =>
9312
+ variables === undefined ? ["CoverageRules"] : ["CoverageRules", variables];
9313
+
9314
+ export const useSuspenseCoverageRulesQuery = <TData = GQLCoverageRulesQuery, TError = unknown>(
9315
+ client: GraphQLClient,
9316
+ variables?: GQLCoverageRulesQueryVariables,
9317
+ options?: Omit<UseSuspenseQueryOptions<GQLCoverageRulesQuery, TError, TData>, "queryKey"> & {
9318
+ queryKey?: UseSuspenseQueryOptions<GQLCoverageRulesQuery, TError, TData>["queryKey"];
9319
+ },
9320
+ headers?: RequestInit["headers"],
9321
+ ) => {
9322
+ return useSuspenseQuery<GQLCoverageRulesQuery, TError, TData>({
9323
+ queryKey: variables === undefined ? ["CoverageRulesSuspense"] : ["CoverageRulesSuspense", variables],
9324
+ queryFn: fetcher<GQLCoverageRulesQuery, GQLCoverageRulesQueryVariables>(
9325
+ client,
9326
+ CoverageRulesDocument,
9327
+ variables,
9328
+ headers,
9329
+ ),
9330
+ ...options,
9331
+ });
9332
+ };
9333
+
9334
+ useSuspenseCoverageRulesQuery.getKey = (variables?: GQLCoverageRulesQueryVariables) =>
9335
+ variables === undefined ? ["CoverageRulesSuspense"] : ["CoverageRulesSuspense", variables];
9336
+
9337
+ export const CurrentFactValueDocument = `
9338
+ query CurrentFactValue($subject: String!, $predicate: String, $object: String!, $objectDatatype: String, $namedGraph: IRI) {
9339
+ currentFactValue(
9340
+ subject: $subject
9341
+ predicate: $predicate
9342
+ object: $object
9343
+ objectDatatype: $objectDatatype
9344
+ namedGraph: $namedGraph
9345
+ ) {
9346
+ status
9347
+ currentObject
9348
+ error
9349
+ }
9350
+ }
9351
+ `;
9352
+
9353
+ export const useCurrentFactValueQuery = <TData = GQLCurrentFactValueQuery, TError = unknown>(
9354
+ client: GraphQLClient,
9355
+ variables: GQLCurrentFactValueQueryVariables,
9356
+ options?: Omit<UseQueryOptions<GQLCurrentFactValueQuery, TError, TData>, "queryKey"> & {
9357
+ queryKey?: UseQueryOptions<GQLCurrentFactValueQuery, TError, TData>["queryKey"];
9358
+ },
9359
+ headers?: RequestInit["headers"],
9360
+ ) => {
9361
+ return useQuery<GQLCurrentFactValueQuery, TError, TData>({
9362
+ queryKey: ["CurrentFactValue", variables],
9363
+ queryFn: fetcher<GQLCurrentFactValueQuery, GQLCurrentFactValueQueryVariables>(
9364
+ client,
9365
+ CurrentFactValueDocument,
9366
+ variables,
9367
+ headers,
9368
+ ),
9369
+ ...options,
9370
+ });
9371
+ };
9372
+
9373
+ useCurrentFactValueQuery.getKey = (variables: GQLCurrentFactValueQueryVariables) => ["CurrentFactValue", variables];
9374
+
9375
+ export const useSuspenseCurrentFactValueQuery = <TData = GQLCurrentFactValueQuery, TError = unknown>(
9376
+ client: GraphQLClient,
9377
+ variables: GQLCurrentFactValueQueryVariables,
9378
+ options?: Omit<UseSuspenseQueryOptions<GQLCurrentFactValueQuery, TError, TData>, "queryKey"> & {
9379
+ queryKey?: UseSuspenseQueryOptions<GQLCurrentFactValueQuery, TError, TData>["queryKey"];
9380
+ },
9381
+ headers?: RequestInit["headers"],
9382
+ ) => {
9383
+ return useSuspenseQuery<GQLCurrentFactValueQuery, TError, TData>({
9384
+ queryKey: ["CurrentFactValueSuspense", variables],
9385
+ queryFn: fetcher<GQLCurrentFactValueQuery, GQLCurrentFactValueQueryVariables>(
9386
+ client,
9387
+ CurrentFactValueDocument,
9388
+ variables,
9389
+ headers,
9390
+ ),
9391
+ ...options,
9392
+ });
9393
+ };
9394
+
9395
+ useSuspenseCurrentFactValueQuery.getKey = (variables: GQLCurrentFactValueQueryVariables) => [
9396
+ "CurrentFactValueSuspense",
9397
+ variables,
9398
+ ];
9399
+
9400
+ export const CustomAppDatastoresDocument = `
9401
+ query CustomAppDatastores($org: String) {
9402
+ customAppDatastores(org: $org) {
9403
+ id
9404
+ name
9405
+ depth
9406
+ }
9407
+ }
9408
+ `;
9409
+
9410
+ export const useCustomAppDatastoresQuery = <TData = GQLCustomAppDatastoresQuery, TError = unknown>(
9411
+ client: GraphQLClient,
9412
+ variables?: GQLCustomAppDatastoresQueryVariables,
9413
+ options?: Omit<UseQueryOptions<GQLCustomAppDatastoresQuery, TError, TData>, "queryKey"> & {
9414
+ queryKey?: UseQueryOptions<GQLCustomAppDatastoresQuery, TError, TData>["queryKey"];
9415
+ },
9416
+ headers?: RequestInit["headers"],
9417
+ ) => {
9418
+ return useQuery<GQLCustomAppDatastoresQuery, TError, TData>({
9419
+ queryKey: variables === undefined ? ["CustomAppDatastores"] : ["CustomAppDatastores", variables],
9420
+ queryFn: fetcher<GQLCustomAppDatastoresQuery, GQLCustomAppDatastoresQueryVariables>(
9421
+ client,
9422
+ CustomAppDatastoresDocument,
9423
+ variables,
9424
+ headers,
9425
+ ),
9426
+ ...options,
9427
+ });
9428
+ };
9429
+
9430
+ useCustomAppDatastoresQuery.getKey = (variables?: GQLCustomAppDatastoresQueryVariables) =>
9431
+ variables === undefined ? ["CustomAppDatastores"] : ["CustomAppDatastores", variables];
9432
+
9433
+ export const useSuspenseCustomAppDatastoresQuery = <TData = GQLCustomAppDatastoresQuery, TError = unknown>(
9434
+ client: GraphQLClient,
9435
+ variables?: GQLCustomAppDatastoresQueryVariables,
9436
+ options?: Omit<UseSuspenseQueryOptions<GQLCustomAppDatastoresQuery, TError, TData>, "queryKey"> & {
9437
+ queryKey?: UseSuspenseQueryOptions<GQLCustomAppDatastoresQuery, TError, TData>["queryKey"];
9438
+ },
9439
+ headers?: RequestInit["headers"],
9440
+ ) => {
9441
+ return useSuspenseQuery<GQLCustomAppDatastoresQuery, TError, TData>({
9442
+ queryKey: variables === undefined ? ["CustomAppDatastoresSuspense"] : ["CustomAppDatastoresSuspense", variables],
9443
+ queryFn: fetcher<GQLCustomAppDatastoresQuery, GQLCustomAppDatastoresQueryVariables>(
9444
+ client,
9445
+ CustomAppDatastoresDocument,
9446
+ variables,
9447
+ headers,
9448
+ ),
9449
+ ...options,
9450
+ });
9451
+ };
9452
+
9453
+ useSuspenseCustomAppDatastoresQuery.getKey = (variables?: GQLCustomAppDatastoresQueryVariables) =>
9454
+ variables === undefined ? ["CustomAppDatastoresSuspense"] : ["CustomAppDatastoresSuspense", variables];
9455
+
9456
+ export const CustomAppUsersDocument = `
9457
+ query CustomAppUsers($org: String, $clientId: String!, $first: Int, $max: Int, $createdFrom: String, $createdUntil: String, $search: String, $status: CustomAppUserStatusFilter) {
9458
+ customAppUsers(
9459
+ org: $org
9460
+ clientId: $clientId
9461
+ first: $first
9462
+ max: $max
9463
+ createdFrom: $createdFrom
9464
+ createdUntil: $createdUntil
9465
+ search: $search
9466
+ status: $status
9467
+ ) {
9468
+ users {
9469
+ userId
9470
+ name
9471
+ email
9472
+ teams
9473
+ allTeams
9474
+ createdAt
9475
+ chatCount
9476
+ invitedAt
9477
+ mantaMember
9478
+ }
9479
+ total
9480
+ }
9481
+ }
9482
+ `;
9483
+
9484
+ export const useCustomAppUsersQuery = <TData = GQLCustomAppUsersQuery, TError = unknown>(
9485
+ client: GraphQLClient,
9486
+ variables: GQLCustomAppUsersQueryVariables,
9487
+ options?: Omit<UseQueryOptions<GQLCustomAppUsersQuery, TError, TData>, "queryKey"> & {
9488
+ queryKey?: UseQueryOptions<GQLCustomAppUsersQuery, TError, TData>["queryKey"];
9489
+ },
9490
+ headers?: RequestInit["headers"],
9491
+ ) => {
9492
+ return useQuery<GQLCustomAppUsersQuery, TError, TData>({
9493
+ queryKey: ["CustomAppUsers", variables],
9494
+ queryFn: fetcher<GQLCustomAppUsersQuery, GQLCustomAppUsersQueryVariables>(
8523
9495
  client,
8524
- ConversationStartersDocument,
9496
+ CustomAppUsersDocument,
8525
9497
  variables,
8526
9498
  headers,
8527
9499
  ),
@@ -8529,22 +9501,21 @@ export const useConversationStartersQuery = <TData = GQLConversationStartersQuer
8529
9501
  });
8530
9502
  };
8531
9503
 
8532
- useConversationStartersQuery.getKey = (variables?: GQLConversationStartersQueryVariables) =>
8533
- variables === undefined ? ["ConversationStarters"] : ["ConversationStarters", variables];
9504
+ useCustomAppUsersQuery.getKey = (variables: GQLCustomAppUsersQueryVariables) => ["CustomAppUsers", variables];
8534
9505
 
8535
- export const useSuspenseConversationStartersQuery = <TData = GQLConversationStartersQuery, TError = unknown>(
9506
+ export const useSuspenseCustomAppUsersQuery = <TData = GQLCustomAppUsersQuery, TError = unknown>(
8536
9507
  client: GraphQLClient,
8537
- variables?: GQLConversationStartersQueryVariables,
8538
- options?: Omit<UseSuspenseQueryOptions<GQLConversationStartersQuery, TError, TData>, "queryKey"> & {
8539
- queryKey?: UseSuspenseQueryOptions<GQLConversationStartersQuery, TError, TData>["queryKey"];
9508
+ variables: GQLCustomAppUsersQueryVariables,
9509
+ options?: Omit<UseSuspenseQueryOptions<GQLCustomAppUsersQuery, TError, TData>, "queryKey"> & {
9510
+ queryKey?: UseSuspenseQueryOptions<GQLCustomAppUsersQuery, TError, TData>["queryKey"];
8540
9511
  },
8541
9512
  headers?: RequestInit["headers"],
8542
9513
  ) => {
8543
- return useSuspenseQuery<GQLConversationStartersQuery, TError, TData>({
8544
- queryKey: variables === undefined ? ["ConversationStartersSuspense"] : ["ConversationStartersSuspense", variables],
8545
- queryFn: fetcher<GQLConversationStartersQuery, GQLConversationStartersQueryVariables>(
9514
+ return useSuspenseQuery<GQLCustomAppUsersQuery, TError, TData>({
9515
+ queryKey: ["CustomAppUsersSuspense", variables],
9516
+ queryFn: fetcher<GQLCustomAppUsersQuery, GQLCustomAppUsersQueryVariables>(
8546
9517
  client,
8547
- ConversationStartersDocument,
9518
+ CustomAppUsersDocument,
8548
9519
  variables,
8549
9520
  headers,
8550
9521
  ),
@@ -8552,140 +9523,103 @@ export const useSuspenseConversationStartersQuery = <TData = GQLConversationStar
8552
9523
  });
8553
9524
  };
8554
9525
 
8555
- useSuspenseConversationStartersQuery.getKey = (variables?: GQLConversationStartersQueryVariables) =>
8556
- variables === undefined ? ["ConversationStartersSuspense"] : ["ConversationStartersSuspense", variables];
9526
+ useSuspenseCustomAppUsersQuery.getKey = (variables: GQLCustomAppUsersQueryVariables) => [
9527
+ "CustomAppUsersSuspense",
9528
+ variables,
9529
+ ];
8557
9530
 
8558
- export const CoverageRulesDocument = `
8559
- query CoverageRules {
8560
- rules(includeDependencyGraph: false) {
8561
- rules {
8562
- ruleIri
8563
- committedVocabulary {
8564
- head {
8565
- classes
8566
- predicates
8567
- }
8568
- body {
8569
- classes
8570
- predicates
8571
- }
8572
- error
8573
- }
8574
- }
8575
- count
8576
- error
9531
+ export const CustomAppDocument = `
9532
+ query CustomApp($org: String, $clientId: String!) {
9533
+ customApp(org: $org, clientId: $clientId) {
9534
+ ...CustomAppFields
8577
9535
  }
8578
9536
  }
8579
- `;
9537
+ ${CustomAppFieldsFragmentDoc}`;
8580
9538
 
8581
- export const useCoverageRulesQuery = <TData = GQLCoverageRulesQuery, TError = unknown>(
9539
+ export const useCustomAppQuery = <TData = GQLCustomAppQuery, TError = unknown>(
8582
9540
  client: GraphQLClient,
8583
- variables?: GQLCoverageRulesQueryVariables,
8584
- options?: Omit<UseQueryOptions<GQLCoverageRulesQuery, TError, TData>, "queryKey"> & {
8585
- queryKey?: UseQueryOptions<GQLCoverageRulesQuery, TError, TData>["queryKey"];
9541
+ variables: GQLCustomAppQueryVariables,
9542
+ options?: Omit<UseQueryOptions<GQLCustomAppQuery, TError, TData>, "queryKey"> & {
9543
+ queryKey?: UseQueryOptions<GQLCustomAppQuery, TError, TData>["queryKey"];
8586
9544
  },
8587
9545
  headers?: RequestInit["headers"],
8588
9546
  ) => {
8589
- return useQuery<GQLCoverageRulesQuery, TError, TData>({
8590
- queryKey: variables === undefined ? ["CoverageRules"] : ["CoverageRules", variables],
8591
- queryFn: fetcher<GQLCoverageRulesQuery, GQLCoverageRulesQueryVariables>(
8592
- client,
8593
- CoverageRulesDocument,
8594
- variables,
8595
- headers,
8596
- ),
9547
+ return useQuery<GQLCustomAppQuery, TError, TData>({
9548
+ queryKey: ["CustomApp", variables],
9549
+ queryFn: fetcher<GQLCustomAppQuery, GQLCustomAppQueryVariables>(client, CustomAppDocument, variables, headers),
8597
9550
  ...options,
8598
9551
  });
8599
9552
  };
8600
9553
 
8601
- useCoverageRulesQuery.getKey = (variables?: GQLCoverageRulesQueryVariables) =>
8602
- variables === undefined ? ["CoverageRules"] : ["CoverageRules", variables];
9554
+ useCustomAppQuery.getKey = (variables: GQLCustomAppQueryVariables) => ["CustomApp", variables];
8603
9555
 
8604
- export const useSuspenseCoverageRulesQuery = <TData = GQLCoverageRulesQuery, TError = unknown>(
9556
+ export const useSuspenseCustomAppQuery = <TData = GQLCustomAppQuery, TError = unknown>(
8605
9557
  client: GraphQLClient,
8606
- variables?: GQLCoverageRulesQueryVariables,
8607
- options?: Omit<UseSuspenseQueryOptions<GQLCoverageRulesQuery, TError, TData>, "queryKey"> & {
8608
- queryKey?: UseSuspenseQueryOptions<GQLCoverageRulesQuery, TError, TData>["queryKey"];
9558
+ variables: GQLCustomAppQueryVariables,
9559
+ options?: Omit<UseSuspenseQueryOptions<GQLCustomAppQuery, TError, TData>, "queryKey"> & {
9560
+ queryKey?: UseSuspenseQueryOptions<GQLCustomAppQuery, TError, TData>["queryKey"];
8609
9561
  },
8610
9562
  headers?: RequestInit["headers"],
8611
9563
  ) => {
8612
- return useSuspenseQuery<GQLCoverageRulesQuery, TError, TData>({
8613
- queryKey: variables === undefined ? ["CoverageRulesSuspense"] : ["CoverageRulesSuspense", variables],
8614
- queryFn: fetcher<GQLCoverageRulesQuery, GQLCoverageRulesQueryVariables>(
8615
- client,
8616
- CoverageRulesDocument,
8617
- variables,
8618
- headers,
8619
- ),
9564
+ return useSuspenseQuery<GQLCustomAppQuery, TError, TData>({
9565
+ queryKey: ["CustomAppSuspense", variables],
9566
+ queryFn: fetcher<GQLCustomAppQuery, GQLCustomAppQueryVariables>(client, CustomAppDocument, variables, headers),
8620
9567
  ...options,
8621
9568
  });
8622
9569
  };
8623
9570
 
8624
- useSuspenseCoverageRulesQuery.getKey = (variables?: GQLCoverageRulesQueryVariables) =>
8625
- variables === undefined ? ["CoverageRulesSuspense"] : ["CoverageRulesSuspense", variables];
9571
+ useSuspenseCustomAppQuery.getKey = (variables: GQLCustomAppQueryVariables) => ["CustomAppSuspense", variables];
8626
9572
 
8627
- export const CurrentFactValueDocument = `
8628
- query CurrentFactValue($subject: String!, $predicate: String, $object: String!, $objectDatatype: String, $namedGraph: IRI) {
8629
- currentFactValue(
8630
- subject: $subject
8631
- predicate: $predicate
8632
- object: $object
8633
- objectDatatype: $objectDatatype
8634
- namedGraph: $namedGraph
8635
- ) {
8636
- status
8637
- currentObject
8638
- error
9573
+ export const CustomAppsDocument = `
9574
+ query CustomApps($org: String, $first: Int, $max: Int, $search: String) {
9575
+ customApps(org: $org, first: $first, max: $max, search: $search) {
9576
+ apps {
9577
+ ...CustomAppFields
9578
+ }
9579
+ nextFirst
9580
+ connection {
9581
+ ...CustomAppConnectionFields
9582
+ }
8639
9583
  }
8640
9584
  }
8641
- `;
9585
+ ${CustomAppFieldsFragmentDoc}
9586
+ ${CustomAppConnectionFieldsFragmentDoc}`;
8642
9587
 
8643
- export const useCurrentFactValueQuery = <TData = GQLCurrentFactValueQuery, TError = unknown>(
9588
+ export const useCustomAppsQuery = <TData = GQLCustomAppsQuery, TError = unknown>(
8644
9589
  client: GraphQLClient,
8645
- variables: GQLCurrentFactValueQueryVariables,
8646
- options?: Omit<UseQueryOptions<GQLCurrentFactValueQuery, TError, TData>, "queryKey"> & {
8647
- queryKey?: UseQueryOptions<GQLCurrentFactValueQuery, TError, TData>["queryKey"];
9590
+ variables?: GQLCustomAppsQueryVariables,
9591
+ options?: Omit<UseQueryOptions<GQLCustomAppsQuery, TError, TData>, "queryKey"> & {
9592
+ queryKey?: UseQueryOptions<GQLCustomAppsQuery, TError, TData>["queryKey"];
8648
9593
  },
8649
9594
  headers?: RequestInit["headers"],
8650
9595
  ) => {
8651
- return useQuery<GQLCurrentFactValueQuery, TError, TData>({
8652
- queryKey: ["CurrentFactValue", variables],
8653
- queryFn: fetcher<GQLCurrentFactValueQuery, GQLCurrentFactValueQueryVariables>(
8654
- client,
8655
- CurrentFactValueDocument,
8656
- variables,
8657
- headers,
8658
- ),
9596
+ return useQuery<GQLCustomAppsQuery, TError, TData>({
9597
+ queryKey: variables === undefined ? ["CustomApps"] : ["CustomApps", variables],
9598
+ queryFn: fetcher<GQLCustomAppsQuery, GQLCustomAppsQueryVariables>(client, CustomAppsDocument, variables, headers),
8659
9599
  ...options,
8660
9600
  });
8661
9601
  };
8662
9602
 
8663
- useCurrentFactValueQuery.getKey = (variables: GQLCurrentFactValueQueryVariables) => ["CurrentFactValue", variables];
9603
+ useCustomAppsQuery.getKey = (variables?: GQLCustomAppsQueryVariables) =>
9604
+ variables === undefined ? ["CustomApps"] : ["CustomApps", variables];
8664
9605
 
8665
- export const useSuspenseCurrentFactValueQuery = <TData = GQLCurrentFactValueQuery, TError = unknown>(
9606
+ export const useSuspenseCustomAppsQuery = <TData = GQLCustomAppsQuery, TError = unknown>(
8666
9607
  client: GraphQLClient,
8667
- variables: GQLCurrentFactValueQueryVariables,
8668
- options?: Omit<UseSuspenseQueryOptions<GQLCurrentFactValueQuery, TError, TData>, "queryKey"> & {
8669
- queryKey?: UseSuspenseQueryOptions<GQLCurrentFactValueQuery, TError, TData>["queryKey"];
9608
+ variables?: GQLCustomAppsQueryVariables,
9609
+ options?: Omit<UseSuspenseQueryOptions<GQLCustomAppsQuery, TError, TData>, "queryKey"> & {
9610
+ queryKey?: UseSuspenseQueryOptions<GQLCustomAppsQuery, TError, TData>["queryKey"];
8670
9611
  },
8671
9612
  headers?: RequestInit["headers"],
8672
9613
  ) => {
8673
- return useSuspenseQuery<GQLCurrentFactValueQuery, TError, TData>({
8674
- queryKey: ["CurrentFactValueSuspense", variables],
8675
- queryFn: fetcher<GQLCurrentFactValueQuery, GQLCurrentFactValueQueryVariables>(
8676
- client,
8677
- CurrentFactValueDocument,
8678
- variables,
8679
- headers,
8680
- ),
9614
+ return useSuspenseQuery<GQLCustomAppsQuery, TError, TData>({
9615
+ queryKey: variables === undefined ? ["CustomAppsSuspense"] : ["CustomAppsSuspense", variables],
9616
+ queryFn: fetcher<GQLCustomAppsQuery, GQLCustomAppsQueryVariables>(client, CustomAppsDocument, variables, headers),
8681
9617
  ...options,
8682
9618
  });
8683
9619
  };
8684
9620
 
8685
- useSuspenseCurrentFactValueQuery.getKey = (variables: GQLCurrentFactValueQueryVariables) => [
8686
- "CurrentFactValueSuspense",
8687
- variables,
8688
- ];
9621
+ useSuspenseCustomAppsQuery.getKey = (variables?: GQLCustomAppsQueryVariables) =>
9622
+ variables === undefined ? ["CustomAppsSuspense"] : ["CustomAppsSuspense", variables];
8689
9623
 
8690
9624
  export const CustomerDatastoresDocument = `
8691
9625
  query CustomerDatastores {
@@ -8816,6 +9750,7 @@ export const DataConnectionsDocument = `
8816
9750
  id
8817
9751
  name
8818
9752
  connectorType
9753
+ sourceName
8819
9754
  status
8820
9755
  error
8821
9756
  createdAt
@@ -9336,124 +10271,6 @@ useSuspenseExplainRdFoxFactQuery.getKey = (variables: GQLExplainRdFoxFactQueryVa
9336
10271
  variables,
9337
10272
  ];
9338
10273
 
9339
- export const ExternalAppDatastoresDocument = `
9340
- query ExternalAppDatastores($org: String) {
9341
- externalAppDatastores(org: $org) {
9342
- id
9343
- name
9344
- depth
9345
- }
9346
- }
9347
- `;
9348
-
9349
- export const useExternalAppDatastoresQuery = <TData = GQLExternalAppDatastoresQuery, TError = unknown>(
9350
- client: GraphQLClient,
9351
- variables?: GQLExternalAppDatastoresQueryVariables,
9352
- options?: Omit<UseQueryOptions<GQLExternalAppDatastoresQuery, TError, TData>, "queryKey"> & {
9353
- queryKey?: UseQueryOptions<GQLExternalAppDatastoresQuery, TError, TData>["queryKey"];
9354
- },
9355
- headers?: RequestInit["headers"],
9356
- ) => {
9357
- return useQuery<GQLExternalAppDatastoresQuery, TError, TData>({
9358
- queryKey: variables === undefined ? ["ExternalAppDatastores"] : ["ExternalAppDatastores", variables],
9359
- queryFn: fetcher<GQLExternalAppDatastoresQuery, GQLExternalAppDatastoresQueryVariables>(
9360
- client,
9361
- ExternalAppDatastoresDocument,
9362
- variables,
9363
- headers,
9364
- ),
9365
- ...options,
9366
- });
9367
- };
9368
-
9369
- useExternalAppDatastoresQuery.getKey = (variables?: GQLExternalAppDatastoresQueryVariables) =>
9370
- variables === undefined ? ["ExternalAppDatastores"] : ["ExternalAppDatastores", variables];
9371
-
9372
- export const useSuspenseExternalAppDatastoresQuery = <TData = GQLExternalAppDatastoresQuery, TError = unknown>(
9373
- client: GraphQLClient,
9374
- variables?: GQLExternalAppDatastoresQueryVariables,
9375
- options?: Omit<UseSuspenseQueryOptions<GQLExternalAppDatastoresQuery, TError, TData>, "queryKey"> & {
9376
- queryKey?: UseSuspenseQueryOptions<GQLExternalAppDatastoresQuery, TError, TData>["queryKey"];
9377
- },
9378
- headers?: RequestInit["headers"],
9379
- ) => {
9380
- return useSuspenseQuery<GQLExternalAppDatastoresQuery, TError, TData>({
9381
- queryKey:
9382
- variables === undefined ? ["ExternalAppDatastoresSuspense"] : ["ExternalAppDatastoresSuspense", variables],
9383
- queryFn: fetcher<GQLExternalAppDatastoresQuery, GQLExternalAppDatastoresQueryVariables>(
9384
- client,
9385
- ExternalAppDatastoresDocument,
9386
- variables,
9387
- headers,
9388
- ),
9389
- ...options,
9390
- });
9391
- };
9392
-
9393
- useSuspenseExternalAppDatastoresQuery.getKey = (variables?: GQLExternalAppDatastoresQueryVariables) =>
9394
- variables === undefined ? ["ExternalAppDatastoresSuspense"] : ["ExternalAppDatastoresSuspense", variables];
9395
-
9396
- export const ExternalAppsDocument = `
9397
- query ExternalApps($org: String, $first: Int, $max: Int, $search: String) {
9398
- externalApps(org: $org, first: $first, max: $max, search: $search) {
9399
- apps {
9400
- ...ExternalAppFields
9401
- }
9402
- nextFirst
9403
- connection {
9404
- ...ExternalAppConnectionFields
9405
- }
9406
- }
9407
- }
9408
- ${ExternalAppFieldsFragmentDoc}
9409
- ${ExternalAppConnectionFieldsFragmentDoc}`;
9410
-
9411
- export const useExternalAppsQuery = <TData = GQLExternalAppsQuery, TError = unknown>(
9412
- client: GraphQLClient,
9413
- variables?: GQLExternalAppsQueryVariables,
9414
- options?: Omit<UseQueryOptions<GQLExternalAppsQuery, TError, TData>, "queryKey"> & {
9415
- queryKey?: UseQueryOptions<GQLExternalAppsQuery, TError, TData>["queryKey"];
9416
- },
9417
- headers?: RequestInit["headers"],
9418
- ) => {
9419
- return useQuery<GQLExternalAppsQuery, TError, TData>({
9420
- queryKey: variables === undefined ? ["ExternalApps"] : ["ExternalApps", variables],
9421
- queryFn: fetcher<GQLExternalAppsQuery, GQLExternalAppsQueryVariables>(
9422
- client,
9423
- ExternalAppsDocument,
9424
- variables,
9425
- headers,
9426
- ),
9427
- ...options,
9428
- });
9429
- };
9430
-
9431
- useExternalAppsQuery.getKey = (variables?: GQLExternalAppsQueryVariables) =>
9432
- variables === undefined ? ["ExternalApps"] : ["ExternalApps", variables];
9433
-
9434
- export const useSuspenseExternalAppsQuery = <TData = GQLExternalAppsQuery, TError = unknown>(
9435
- client: GraphQLClient,
9436
- variables?: GQLExternalAppsQueryVariables,
9437
- options?: Omit<UseSuspenseQueryOptions<GQLExternalAppsQuery, TError, TData>, "queryKey"> & {
9438
- queryKey?: UseSuspenseQueryOptions<GQLExternalAppsQuery, TError, TData>["queryKey"];
9439
- },
9440
- headers?: RequestInit["headers"],
9441
- ) => {
9442
- return useSuspenseQuery<GQLExternalAppsQuery, TError, TData>({
9443
- queryKey: variables === undefined ? ["ExternalAppsSuspense"] : ["ExternalAppsSuspense", variables],
9444
- queryFn: fetcher<GQLExternalAppsQuery, GQLExternalAppsQueryVariables>(
9445
- client,
9446
- ExternalAppsDocument,
9447
- variables,
9448
- headers,
9449
- ),
9450
- ...options,
9451
- });
9452
- };
9453
-
9454
- useSuspenseExternalAppsQuery.getKey = (variables?: GQLExternalAppsQueryVariables) =>
9455
- variables === undefined ? ["ExternalAppsSuspense"] : ["ExternalAppsSuspense", variables];
9456
-
9457
10274
  export const GmailIntegrationsDocument = `
9458
10275
  query GmailIntegrations {
9459
10276
  gmailIntegrations {
@@ -9587,6 +10404,71 @@ useSuspenseGoogleAnalyticsSetupProgressQuery.getKey = (variables?: GQLGoogleAnal
9587
10404
  ? ["GoogleAnalyticsSetupProgressSuspense"]
9588
10405
  : ["GoogleAnalyticsSetupProgressSuspense", variables];
9589
10406
 
10407
+ export const GoogleBrandSuggestionsDocument = `
10408
+ query GoogleBrandSuggestions($customerIri: IRI!, $brandPrefix: String!, $selectedBrandIds: [String!]) {
10409
+ googleBrandSuggestions(
10410
+ customerIri: $customerIri
10411
+ brandPrefix: $brandPrefix
10412
+ selectedBrandIds: $selectedBrandIds
10413
+ ) {
10414
+ id
10415
+ name
10416
+ urls
10417
+ state
10418
+ }
10419
+ }
10420
+ `;
10421
+
10422
+ export const useGoogleBrandSuggestionsQuery = <TData = GQLGoogleBrandSuggestionsQuery, TError = unknown>(
10423
+ client: GraphQLClient,
10424
+ variables: GQLGoogleBrandSuggestionsQueryVariables,
10425
+ options?: Omit<UseQueryOptions<GQLGoogleBrandSuggestionsQuery, TError, TData>, "queryKey"> & {
10426
+ queryKey?: UseQueryOptions<GQLGoogleBrandSuggestionsQuery, TError, TData>["queryKey"];
10427
+ },
10428
+ headers?: RequestInit["headers"],
10429
+ ) => {
10430
+ return useQuery<GQLGoogleBrandSuggestionsQuery, TError, TData>({
10431
+ queryKey: ["GoogleBrandSuggestions", variables],
10432
+ queryFn: fetcher<GQLGoogleBrandSuggestionsQuery, GQLGoogleBrandSuggestionsQueryVariables>(
10433
+ client,
10434
+ GoogleBrandSuggestionsDocument,
10435
+ variables,
10436
+ headers,
10437
+ ),
10438
+ ...options,
10439
+ });
10440
+ };
10441
+
10442
+ useGoogleBrandSuggestionsQuery.getKey = (variables: GQLGoogleBrandSuggestionsQueryVariables) => [
10443
+ "GoogleBrandSuggestions",
10444
+ variables,
10445
+ ];
10446
+
10447
+ export const useSuspenseGoogleBrandSuggestionsQuery = <TData = GQLGoogleBrandSuggestionsQuery, TError = unknown>(
10448
+ client: GraphQLClient,
10449
+ variables: GQLGoogleBrandSuggestionsQueryVariables,
10450
+ options?: Omit<UseSuspenseQueryOptions<GQLGoogleBrandSuggestionsQuery, TError, TData>, "queryKey"> & {
10451
+ queryKey?: UseSuspenseQueryOptions<GQLGoogleBrandSuggestionsQuery, TError, TData>["queryKey"];
10452
+ },
10453
+ headers?: RequestInit["headers"],
10454
+ ) => {
10455
+ return useSuspenseQuery<GQLGoogleBrandSuggestionsQuery, TError, TData>({
10456
+ queryKey: ["GoogleBrandSuggestionsSuspense", variables],
10457
+ queryFn: fetcher<GQLGoogleBrandSuggestionsQuery, GQLGoogleBrandSuggestionsQueryVariables>(
10458
+ client,
10459
+ GoogleBrandSuggestionsDocument,
10460
+ variables,
10461
+ headers,
10462
+ ),
10463
+ ...options,
10464
+ });
10465
+ };
10466
+
10467
+ useSuspenseGoogleBrandSuggestionsQuery.getKey = (variables: GQLGoogleBrandSuggestionsQueryVariables) => [
10468
+ "GoogleBrandSuggestionsSuspense",
10469
+ variables,
10470
+ ];
10471
+
9590
10472
  export const GoogleSetupProgressDocument = `
9591
10473
  query GoogleSetupProgress {
9592
10474
  googleSetupProgress {
@@ -10440,7 +11322,7 @@ export const SessionContextDocument = `
10440
11322
  canManageStreams
10441
11323
  canManageSharedMemories
10442
11324
  canManageTeam
10443
- canManageExternalApps
11325
+ canManageCustomApps
10444
11326
  datastore {
10445
11327
  id
10446
11328
  name
@@ -10784,6 +11666,7 @@ export const TeamDirectoryDocument = `
10784
11666
  inviteUrl
10785
11667
  federated
10786
11668
  nameReadOnly
11669
+ operator
10787
11670
  enabled
10788
11671
  memberships {
10789
11672
  org
@@ -11327,3 +12210,69 @@ useSuspenseValidateActionPlanQuery.getKey = (variables: GQLValidateActionPlanQue
11327
12210
  "ValidateActionPlanSuspense",
11328
12211
  variables,
11329
12212
  ];
12213
+
12214
+ export const WarehouseQueryDocument = `
12215
+ query WarehouseQuery($sql: String!) {
12216
+ warehouseQuery(sql: $sql) {
12217
+ columns {
12218
+ name
12219
+ type
12220
+ }
12221
+ rows
12222
+ truncated
12223
+ statistics {
12224
+ scanRows
12225
+ scanBytes
12226
+ returnRows
12227
+ }
12228
+ error
12229
+ }
12230
+ }
12231
+ `;
12232
+
12233
+ export const useWarehouseQueryQuery = <TData = GQLWarehouseQueryQuery, TError = unknown>(
12234
+ client: GraphQLClient,
12235
+ variables: GQLWarehouseQueryQueryVariables,
12236
+ options?: Omit<UseQueryOptions<GQLWarehouseQueryQuery, TError, TData>, "queryKey"> & {
12237
+ queryKey?: UseQueryOptions<GQLWarehouseQueryQuery, TError, TData>["queryKey"];
12238
+ },
12239
+ headers?: RequestInit["headers"],
12240
+ ) => {
12241
+ return useQuery<GQLWarehouseQueryQuery, TError, TData>({
12242
+ queryKey: ["WarehouseQuery", variables],
12243
+ queryFn: fetcher<GQLWarehouseQueryQuery, GQLWarehouseQueryQueryVariables>(
12244
+ client,
12245
+ WarehouseQueryDocument,
12246
+ variables,
12247
+ headers,
12248
+ ),
12249
+ ...options,
12250
+ });
12251
+ };
12252
+
12253
+ useWarehouseQueryQuery.getKey = (variables: GQLWarehouseQueryQueryVariables) => ["WarehouseQuery", variables];
12254
+
12255
+ export const useSuspenseWarehouseQueryQuery = <TData = GQLWarehouseQueryQuery, TError = unknown>(
12256
+ client: GraphQLClient,
12257
+ variables: GQLWarehouseQueryQueryVariables,
12258
+ options?: Omit<UseSuspenseQueryOptions<GQLWarehouseQueryQuery, TError, TData>, "queryKey"> & {
12259
+ queryKey?: UseSuspenseQueryOptions<GQLWarehouseQueryQuery, TError, TData>["queryKey"];
12260
+ },
12261
+ headers?: RequestInit["headers"],
12262
+ ) => {
12263
+ return useSuspenseQuery<GQLWarehouseQueryQuery, TError, TData>({
12264
+ queryKey: ["WarehouseQuerySuspense", variables],
12265
+ queryFn: fetcher<GQLWarehouseQueryQuery, GQLWarehouseQueryQueryVariables>(
12266
+ client,
12267
+ WarehouseQueryDocument,
12268
+ variables,
12269
+ headers,
12270
+ ),
12271
+ ...options,
12272
+ });
12273
+ };
12274
+
12275
+ useSuspenseWarehouseQueryQuery.getKey = (variables: GQLWarehouseQueryQueryVariables) => [
12276
+ "WarehouseQuerySuspense",
12277
+ variables,
12278
+ ];