@manta-eu/client 0.1.10 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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"]>;
@@ -578,6 +585,145 @@ export type GQLCurrentFactValueResponse = {
578
585
  status: GQLFactValueStatus;
579
586
  };
580
587
 
588
+ export type GQLCustomApp = {
589
+ __typename?: "CustomApp";
590
+ clientId: Scalars["String"]["output"];
591
+ createdAt?: Maybe<Scalars["String"]["output"]>;
592
+ createdBy?: Maybe<Scalars["String"]["output"]>;
593
+ datastores: Array<GQLCustomAppDatastore>;
594
+ enabled: Scalars["Boolean"]["output"];
595
+ homeUrl?: Maybe<Scalars["String"]["output"]>;
596
+ kind: GQLCustomAppKind;
597
+ machineAccess: Scalars["Boolean"]["output"];
598
+ name: Scalars["String"]["output"];
599
+ org?: Maybe<Scalars["String"]["output"]>;
600
+ orgName?: Maybe<Scalars["String"]["output"]>;
601
+ permissions: Array<GQLCustomAppPermission>;
602
+ previousSecretExpiresAt?: Maybe<Scalars["String"]["output"]>;
603
+ redirectUris: Array<Scalars["String"]["output"]>;
604
+ };
605
+
606
+ export type GQLCustomAppChatAllowance = {
607
+ __typename?: "CustomAppChatAllowance";
608
+ perApp: Scalars["Int"]["output"];
609
+ perPerson: Scalars["Int"]["output"];
610
+ };
611
+
612
+ export type GQLCustomAppConnection = {
613
+ __typename?: "CustomAppConnection";
614
+ discoveryUrl: Scalars["String"]["output"];
615
+ issuer: Scalars["String"]["output"];
616
+ tokenEndpoint: Scalars["String"]["output"];
617
+ };
618
+
619
+ export type GQLCustomAppCredentials = {
620
+ __typename?: "CustomAppCredentials";
621
+ app: GQLCustomApp;
622
+ clientSecret: Scalars["String"]["output"];
623
+ connection: GQLCustomAppConnection;
624
+ };
625
+
626
+ export type GQLCustomAppDatastore = {
627
+ __typename?: "CustomAppDatastore";
628
+ id: Scalars["String"]["output"];
629
+ name: Scalars["String"]["output"];
630
+ };
631
+
632
+ export type GQLCustomAppDatastoreOption = {
633
+ __typename?: "CustomAppDatastoreOption";
634
+ depth: Scalars["Int"]["output"];
635
+ id: Scalars["String"]["output"];
636
+ name: Scalars["String"]["output"];
637
+ };
638
+
639
+ export type GQLCustomAppDeletedResponse = {
640
+ __typename?: "CustomAppDeletedResponse";
641
+ clientId: Scalars["String"]["output"];
642
+ deleted: Scalars["Boolean"]["output"];
643
+ };
644
+
645
+ export enum GQLCustomAppKind {
646
+ Machine = "MACHINE",
647
+ SignIn = "SIGN_IN",
648
+ }
649
+
650
+ export type GQLCustomAppPage = {
651
+ __typename?: "CustomAppPage";
652
+ apps: Array<GQLCustomApp>;
653
+ connection: GQLCustomAppConnection;
654
+ nextFirst?: Maybe<Scalars["Int"]["output"]>;
655
+ };
656
+
657
+ export enum GQLCustomAppPermission {
658
+ ShareChats = "SHARE_CHATS",
659
+ WriteData = "WRITE_DATA",
660
+ }
661
+
662
+ export type GQLCustomAppUser = {
663
+ __typename?: "CustomAppUser";
664
+ allTeams: Scalars["Boolean"]["output"];
665
+ chatCount: Scalars["Int"]["output"];
666
+ createdAt?: Maybe<Scalars["String"]["output"]>;
667
+ email?: Maybe<Scalars["String"]["output"]>;
668
+ invitedAt?: Maybe<Scalars["String"]["output"]>;
669
+ mantaMember: Scalars["Boolean"]["output"];
670
+ name?: Maybe<Scalars["String"]["output"]>;
671
+ teams: Array<Scalars["String"]["output"]>;
672
+ userId: Scalars["String"]["output"];
673
+ };
674
+
675
+ export type GQLCustomAppUserBulkRemoval = {
676
+ __typename?: "CustomAppUserBulkRemoval";
677
+ remaining: Scalars["Int"]["output"];
678
+ removed: Scalars["Int"]["output"];
679
+ };
680
+
681
+ export type GQLCustomAppUserBulkRemovalResult = {
682
+ __typename?: "CustomAppUserBulkRemovalResult";
683
+ error?: Maybe<Scalars["String"]["output"]>;
684
+ status?: Maybe<GQLCustomAppUserStatus>;
685
+ userId: Scalars["String"]["output"];
686
+ };
687
+
688
+ export type GQLCustomAppUserInvitation = {
689
+ __typename?: "CustomAppUserInvitation";
690
+ error?: Maybe<Scalars["String"]["output"]>;
691
+ user?: Maybe<GQLCustomAppUser>;
692
+ userId: Scalars["String"]["output"];
693
+ };
694
+
695
+ export type GQLCustomAppUserInvitationInput = {
696
+ allTeams?: InputMaybe<Scalars["Boolean"]["input"]>;
697
+ email?: InputMaybe<Scalars["String"]["input"]>;
698
+ teams?: InputMaybe<Array<Scalars["String"]["input"]>>;
699
+ userId: Scalars["String"]["input"];
700
+ };
701
+
702
+ export type GQLCustomAppUserPage = {
703
+ __typename?: "CustomAppUserPage";
704
+ total: Scalars["Int"]["output"];
705
+ users: Array<GQLCustomAppUser>;
706
+ };
707
+
708
+ export type GQLCustomAppUserRemoval = {
709
+ __typename?: "CustomAppUserRemoval";
710
+ status: GQLCustomAppUserStatus;
711
+ userId: Scalars["String"]["output"];
712
+ };
713
+
714
+ export enum GQLCustomAppUserStatus {
715
+ Active = "ACTIVE",
716
+ Erased = "ERASED",
717
+ Unknown = "UNKNOWN",
718
+ Unlinked = "UNLINKED",
719
+ }
720
+
721
+ export enum GQLCustomAppUserStatusFilter {
722
+ AppOnly = "APP_ONLY",
723
+ Invited = "INVITED",
724
+ MantaMember = "MANTA_MEMBER",
725
+ }
726
+
581
727
  export type GQLCustomerDatastore = {
582
728
  __typename?: "CustomerDatastore";
583
729
  badge?: Maybe<Scalars["String"]["output"]>;
@@ -734,6 +880,12 @@ export type GQLDeleteDataConnectionResponse = {
734
880
  success: Scalars["Boolean"]["output"];
735
881
  };
736
882
 
883
+ export type GQLDeleteDatastoreResponse = {
884
+ __typename?: "DeleteDatastoreResponse";
885
+ error?: Maybe<Scalars["String"]["output"]>;
886
+ success: Scalars["Boolean"]["output"];
887
+ };
888
+
737
889
  export type GQLDeleteMemoryResponse = {
738
890
  __typename?: "DeleteMemoryResponse";
739
891
  error?: Maybe<Scalars["String"]["output"]>;
@@ -787,6 +939,7 @@ export type GQLDirectoryUser = {
787
939
  memberships: Array<GQLDirectoryMembership>;
788
940
  name?: Maybe<Scalars["String"]["output"]>;
789
941
  nameReadOnly?: Maybe<Scalars["Boolean"]["output"]>;
942
+ operator?: Maybe<Scalars["Boolean"]["output"]>;
790
943
  pending?: Maybe<Scalars["Boolean"]["output"]>;
791
944
  username?: Maybe<Scalars["String"]["output"]>;
792
945
  };
@@ -873,73 +1026,6 @@ export type GQLExecuteActionUpdateInput = {
873
1026
  subjectIri: Scalars["IRI"]["input"];
874
1027
  };
875
1028
 
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
1029
  export enum GQLFactValueStatus {
944
1030
  Changed = "CHANGED",
945
1031
  Removed = "REMOVED",
@@ -997,6 +1083,14 @@ export type GQLGoogleAnalyticsSetupProgress = {
997
1083
  state: Array<GQLGoogleSetupStateEnum>;
998
1084
  };
999
1085
 
1086
+ export type GQLGoogleBrandSuggestion = {
1087
+ __typename?: "GoogleBrandSuggestion";
1088
+ id: Scalars["String"]["output"];
1089
+ name: Scalars["String"]["output"];
1090
+ state?: Maybe<Scalars["String"]["output"]>;
1091
+ urls: Array<Scalars["String"]["output"]>;
1092
+ };
1093
+
1000
1094
  export type GQLGoogleSetupLastError = {
1001
1095
  __typename?: "GoogleSetupLastError";
1002
1096
  message: Scalars["String"]["output"];
@@ -1498,19 +1592,21 @@ export type GQLMutation = {
1498
1592
  completeUpload: GQLCompleteUploadResponse;
1499
1593
  connectStripeAccount: GQLConnectStripeAccountResponse;
1500
1594
  consolidateMemories: GQLCreateMemoryResponse;
1595
+ createCustomApp: GQLCustomAppCredentials;
1501
1596
  createDataConnection: GQLDataConnectionTestState;
1502
- createExternalApp: GQLExternalAppCredentials;
1503
1597
  createInferalIntegration: GQLCreateInferalIntegrationResponse;
1504
1598
  createMemory: GQLCreateMemoryResponse;
1505
1599
  createStripeCheckoutSession: GQLCreateStripeCheckoutSessionResponse;
1506
1600
  dashSetupConnect: GQLDashSetupProgress;
1507
1601
  deleteActionPlan: GQLDeleteActionPlanResponse;
1602
+ deleteCustomApp: GQLCustomAppDeletedResponse;
1508
1603
  deleteDataConnection: GQLDeleteDataConnectionResponse;
1509
- deleteExternalApp: GQLExternalAppDeletedResponse;
1604
+ deleteDatastore: GQLDeleteDatastoreResponse;
1510
1605
  deleteLDESStream: GQLLdesStreamDeleteResponse;
1511
1606
  deleteMemory: GQLDeleteMemoryResponse;
1512
1607
  deleteUserAccount: GQLDeleteUserAccountResponse;
1513
1608
  disconnectConnectedAccount: GQLDisconnectConnectedAccountResponse;
1609
+ disconnectCustomApp: Scalars["Boolean"]["output"];
1514
1610
  disconnectGmailIntegration: GQLDisconnectGmailIntegrationResponse;
1515
1611
  disconnectInferalIntegration: GQLDisconnectInferalIntegrationResponse;
1516
1612
  executeActionAddition: GQLExecuteActionResponse;
@@ -1522,6 +1618,8 @@ export type GQLMutation = {
1522
1618
  googleSetupConnect: GQLGoogleSetupProgress;
1523
1619
  grantOperatorRole: GQLGrantOperatorRoleResponse;
1524
1620
  initiateUpload: GQLInitiateUploadResponse;
1621
+ inviteCustomAppUser: GQLCustomAppUser;
1622
+ inviteCustomAppUsers: Array<GQLCustomAppUserInvitation>;
1525
1623
  inviteRoster: GQLRosterInvitationSummary;
1526
1624
  inviteTeamMembers: GQLInviteSummary;
1527
1625
  linkOrganizationToProvider: GQLLinkOrganizationResponse;
@@ -1538,6 +1636,9 @@ export type GQLMutation = {
1538
1636
  recordHotelProfile: GQLRecordHotelProfileResponse;
1539
1637
  registerDatastore: GQLRegisterDatastoreResponse;
1540
1638
  releaseRuleOwnership: GQLReleaseRuleOwnershipResponse;
1639
+ removeCustomAppUser: GQLCustomAppUserRemoval;
1640
+ removeCustomAppUsers: Array<GQLCustomAppUserBulkRemovalResult>;
1641
+ removeCustomAppUsersCreatedBetween: GQLCustomAppUserBulkRemoval;
1541
1642
  removeDatastore: GQLRemoveDatastoreResponse;
1542
1643
  removeTeamMember: GQLTeamMemberRemovedResponse;
1543
1644
  renameDatastoreGroup: GQLRenameDatastoreGroupResponse;
@@ -1547,16 +1648,17 @@ export type GQLMutation = {
1547
1648
  restoreMemory: GQLRestoreMemoryResponse;
1548
1649
  resumeLDESStream: GQLLdesStreamResponse;
1549
1650
  revokeOperatorRole: GQLRevokeOperatorRoleResponse;
1550
- revokePreviousExternalAppSecret: GQLExternalApp;
1551
- rotateExternalAppSecret: GQLExternalAppCredentials;
1651
+ revokePreviousCustomAppSecret: GQLCustomApp;
1652
+ rotateCustomAppSecret: GQLCustomAppCredentials;
1552
1653
  selfServeProvisionOrganization: GQLSelfServeProvisionOrganizationResponse;
1553
- setExternalAppEnabled: GQLExternalApp;
1654
+ setCustomAppChatAllowance: GQLCustomAppChatAllowance;
1655
+ setCustomAppEnabled: GQLCustomApp;
1554
1656
  setTeamMemberEnabled: GQLTeamMemberEnabledResponse;
1555
1657
  stageRuleOperation: GQLStageRuleOperationResponse;
1556
1658
  startLDESStream: GQLLdesStreamResponse;
1557
1659
  syncGmailIntegration: GQLGmailIntegration;
1660
+ updateCustomApp: GQLCustomApp;
1558
1661
  updateDataConnection: GQLDataConnectionTestState;
1559
- updateExternalApp: GQLExternalApp;
1560
1662
  updateMemory: GQLUpdateMemoryResponse;
1561
1663
  updateTeamMember: GQLTeamMemberUpdateResponse;
1562
1664
  updateUserPreferences: GQLUpdateUserPreferencesResponse;
@@ -1616,21 +1718,21 @@ export type GQLMutationConsolidateMemoriesArgs = {
1616
1718
  input: GQLConsolidateMemoriesInput;
1617
1719
  };
1618
1720
 
1619
- export type GQLMutationCreateDataConnectionArgs = {
1620
- input: GQLCreateDataConnectionInput;
1621
- };
1622
-
1623
- export type GQLMutationCreateExternalAppArgs = {
1721
+ export type GQLMutationCreateCustomAppArgs = {
1624
1722
  datastores?: InputMaybe<Array<Scalars["String"]["input"]>>;
1625
1723
  homeUrl?: InputMaybe<Scalars["String"]["input"]>;
1626
- kind?: InputMaybe<GQLExternalAppKind>;
1724
+ kind?: InputMaybe<GQLCustomAppKind>;
1627
1725
  machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
1628
1726
  name: Scalars["String"]["input"];
1629
1727
  org?: InputMaybe<Scalars["String"]["input"]>;
1630
- permissions?: InputMaybe<Array<GQLExternalAppPermission>>;
1728
+ permissions?: InputMaybe<Array<GQLCustomAppPermission>>;
1631
1729
  redirectUris?: InputMaybe<Array<Scalars["String"]["input"]>>;
1632
1730
  };
1633
1731
 
1732
+ export type GQLMutationCreateDataConnectionArgs = {
1733
+ input: GQLCreateDataConnectionInput;
1734
+ };
1735
+
1634
1736
  export type GQLMutationCreateInferalIntegrationArgs = {
1635
1737
  input: GQLCreateInferalIntegrationInput;
1636
1738
  };
@@ -1654,13 +1756,18 @@ export type GQLMutationDeleteActionPlanArgs = {
1654
1756
  input: GQLDeleteActionPlanInput;
1655
1757
  };
1656
1758
 
1759
+ export type GQLMutationDeleteCustomAppArgs = {
1760
+ clientId: Scalars["String"]["input"];
1761
+ org?: InputMaybe<Scalars["String"]["input"]>;
1762
+ };
1763
+
1657
1764
  export type GQLMutationDeleteDataConnectionArgs = {
1658
1765
  id: Scalars["String"]["input"];
1659
1766
  };
1660
1767
 
1661
- export type GQLMutationDeleteExternalAppArgs = {
1662
- clientId: Scalars["String"]["input"];
1663
- org?: InputMaybe<Scalars["String"]["input"]>;
1768
+ export type GQLMutationDeleteDatastoreArgs = {
1769
+ confirmName: Scalars["String"]["input"];
1770
+ datastoreId: Scalars["String"]["input"];
1664
1771
  };
1665
1772
 
1666
1773
  export type GQLMutationDeleteLdesStreamArgs = {
@@ -1679,6 +1786,10 @@ export type GQLMutationDisconnectConnectedAccountArgs = {
1679
1786
  id: Scalars["String"]["input"];
1680
1787
  };
1681
1788
 
1789
+ export type GQLMutationDisconnectCustomAppArgs = {
1790
+ clientId: Scalars["String"]["input"];
1791
+ };
1792
+
1682
1793
  export type GQLMutationDisconnectGmailIntegrationArgs = {
1683
1794
  email: Scalars["String"]["input"];
1684
1795
  };
@@ -1723,6 +1834,21 @@ export type GQLMutationInitiateUploadArgs = {
1723
1834
  input: GQLInitiateUploadInput;
1724
1835
  };
1725
1836
 
1837
+ export type GQLMutationInviteCustomAppUserArgs = {
1838
+ allTeams?: InputMaybe<Scalars["Boolean"]["input"]>;
1839
+ clientId: Scalars["String"]["input"];
1840
+ email?: InputMaybe<Scalars["String"]["input"]>;
1841
+ org?: InputMaybe<Scalars["String"]["input"]>;
1842
+ teams?: InputMaybe<Array<Scalars["String"]["input"]>>;
1843
+ userId: Scalars["String"]["input"];
1844
+ };
1845
+
1846
+ export type GQLMutationInviteCustomAppUsersArgs = {
1847
+ clientId: Scalars["String"]["input"];
1848
+ org?: InputMaybe<Scalars["String"]["input"]>;
1849
+ people: Array<GQLCustomAppUserInvitationInput>;
1850
+ };
1851
+
1726
1852
  export type GQLMutationInviteRosterArgs = {
1727
1853
  invitations: Array<GQLSelfServeInvitationInput>;
1728
1854
  org: Scalars["String"]["input"];
@@ -1796,6 +1922,25 @@ export type GQLMutationReleaseRuleOwnershipArgs = {
1796
1922
  input: GQLReleaseRuleOwnershipInput;
1797
1923
  };
1798
1924
 
1925
+ export type GQLMutationRemoveCustomAppUserArgs = {
1926
+ clientId: Scalars["String"]["input"];
1927
+ org?: InputMaybe<Scalars["String"]["input"]>;
1928
+ userId: Scalars["String"]["input"];
1929
+ };
1930
+
1931
+ export type GQLMutationRemoveCustomAppUsersArgs = {
1932
+ clientId: Scalars["String"]["input"];
1933
+ org?: InputMaybe<Scalars["String"]["input"]>;
1934
+ userIds: Array<Scalars["String"]["input"]>;
1935
+ };
1936
+
1937
+ export type GQLMutationRemoveCustomAppUsersCreatedBetweenArgs = {
1938
+ clientId: Scalars["String"]["input"];
1939
+ createdFrom: Scalars["String"]["input"];
1940
+ createdUntil: Scalars["String"]["input"];
1941
+ org?: InputMaybe<Scalars["String"]["input"]>;
1942
+ };
1943
+
1799
1944
  export type GQLMutationRemoveDatastoreArgs = {
1800
1945
  datastoreId: Scalars["String"]["input"];
1801
1946
  };
@@ -1836,12 +1981,12 @@ export type GQLMutationRevokeOperatorRoleArgs = {
1836
1981
  userId: Scalars["String"]["input"];
1837
1982
  };
1838
1983
 
1839
- export type GQLMutationRevokePreviousExternalAppSecretArgs = {
1984
+ export type GQLMutationRevokePreviousCustomAppSecretArgs = {
1840
1985
  clientId: Scalars["String"]["input"];
1841
1986
  org?: InputMaybe<Scalars["String"]["input"]>;
1842
1987
  };
1843
1988
 
1844
- export type GQLMutationRotateExternalAppSecretArgs = {
1989
+ export type GQLMutationRotateCustomAppSecretArgs = {
1845
1990
  clientId: Scalars["String"]["input"];
1846
1991
  keepPrevious?: InputMaybe<Scalars["Boolean"]["input"]>;
1847
1992
  org?: InputMaybe<Scalars["String"]["input"]>;
@@ -1851,7 +1996,14 @@ export type GQLMutationSelfServeProvisionOrganizationArgs = {
1851
1996
  input: GQLSelfServeProvisionOrganizationInput;
1852
1997
  };
1853
1998
 
1854
- export type GQLMutationSetExternalAppEnabledArgs = {
1999
+ export type GQLMutationSetCustomAppChatAllowanceArgs = {
2000
+ clientId: Scalars["String"]["input"];
2001
+ org?: InputMaybe<Scalars["String"]["input"]>;
2002
+ perApp?: InputMaybe<Scalars["Int"]["input"]>;
2003
+ perPerson?: InputMaybe<Scalars["Int"]["input"]>;
2004
+ };
2005
+
2006
+ export type GQLMutationSetCustomAppEnabledArgs = {
1855
2007
  clientId: Scalars["String"]["input"];
1856
2008
  enabled: Scalars["Boolean"]["input"];
1857
2009
  org?: InputMaybe<Scalars["String"]["input"]>;
@@ -1875,21 +2027,21 @@ export type GQLMutationSyncGmailIntegrationArgs = {
1875
2027
  email: Scalars["String"]["input"];
1876
2028
  };
1877
2029
 
1878
- export type GQLMutationUpdateDataConnectionArgs = {
1879
- input: GQLUpdateDataConnectionInput;
1880
- };
1881
-
1882
- export type GQLMutationUpdateExternalAppArgs = {
2030
+ export type GQLMutationUpdateCustomAppArgs = {
1883
2031
  clientId: Scalars["String"]["input"];
1884
2032
  datastores?: InputMaybe<Array<Scalars["String"]["input"]>>;
1885
2033
  homeUrl?: InputMaybe<Scalars["String"]["input"]>;
1886
2034
  machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
1887
2035
  name?: InputMaybe<Scalars["String"]["input"]>;
1888
2036
  org?: InputMaybe<Scalars["String"]["input"]>;
1889
- permissions?: InputMaybe<Array<GQLExternalAppPermission>>;
2037
+ permissions?: InputMaybe<Array<GQLCustomAppPermission>>;
1890
2038
  redirectUris?: InputMaybe<Array<Scalars["String"]["input"]>>;
1891
2039
  };
1892
2040
 
2041
+ export type GQLMutationUpdateDataConnectionArgs = {
2042
+ input: GQLUpdateDataConnectionInput;
2043
+ };
2044
+
1893
2045
  export type GQLMutationUpdateMemoryArgs = {
1894
2046
  input: GQLUpdateMemoryInput;
1895
2047
  };
@@ -2022,8 +2174,14 @@ export type GQLQuery = {
2022
2174
  assignableOrganizations: Array<GQLAssignableOrganization>;
2023
2175
  availableTeams: GQLAvailableTeamsResponse;
2024
2176
  connectedAccounts: Array<GQLConnectedAccount>;
2177
+ connectedCustomApps: Array<GQLConnectedCustomApp>;
2025
2178
  conversationStarters: GQLConversationStartersResponse;
2026
2179
  currentFactValue: GQLCurrentFactValueResponse;
2180
+ customApp: GQLCustomApp;
2181
+ customAppChatAllowance: GQLCustomAppChatAllowance;
2182
+ customAppDatastores: Array<GQLCustomAppDatastoreOption>;
2183
+ customAppUsers: GQLCustomAppUserPage;
2184
+ customApps: GQLCustomAppPage;
2027
2185
  customerDatastores: Array<GQLCustomerDatastore>;
2028
2186
  dashSetupProgress: GQLDashSetupProgress;
2029
2187
  dataConnections: Array<GQLDataConnection>;
@@ -2034,10 +2192,9 @@ export type GQLQuery = {
2034
2192
  datastoreTree: Array<GQLDatastoreTreeNode>;
2035
2193
  detectMemoryConflicts: GQLDetectMemoryConflictsResult;
2036
2194
  explainRDFoxFact: GQLRdFoxExplanationResponse;
2037
- externalAppDatastores: Array<GQLExternalAppDatastoreOption>;
2038
- externalApps: GQLExternalAppPage;
2039
2195
  gmailIntegrations: Array<GQLGmailIntegration>;
2040
2196
  googleAnalyticsSetupProgress: GQLGoogleAnalyticsSetupProgress;
2197
+ googleBrandSuggestions: Array<GQLGoogleBrandSuggestion>;
2041
2198
  googleSetupProgress: GQLGoogleSetupProgress;
2042
2199
  inferalIntegrations: Array<GQLInferalIntegration>;
2043
2200
  knowledgeGraphState: GQLKnowledgeGraphState;
@@ -2116,6 +2273,38 @@ export type GQLQueryCurrentFactValueArgs = {
2116
2273
  subject: Scalars["String"]["input"];
2117
2274
  };
2118
2275
 
2276
+ export type GQLQueryCustomAppArgs = {
2277
+ clientId: Scalars["String"]["input"];
2278
+ org?: InputMaybe<Scalars["String"]["input"]>;
2279
+ };
2280
+
2281
+ export type GQLQueryCustomAppChatAllowanceArgs = {
2282
+ clientId: Scalars["String"]["input"];
2283
+ org?: InputMaybe<Scalars["String"]["input"]>;
2284
+ };
2285
+
2286
+ export type GQLQueryCustomAppDatastoresArgs = {
2287
+ org?: InputMaybe<Scalars["String"]["input"]>;
2288
+ };
2289
+
2290
+ export type GQLQueryCustomAppUsersArgs = {
2291
+ clientId: Scalars["String"]["input"];
2292
+ createdFrom?: InputMaybe<Scalars["String"]["input"]>;
2293
+ createdUntil?: InputMaybe<Scalars["String"]["input"]>;
2294
+ first?: InputMaybe<Scalars["Int"]["input"]>;
2295
+ max?: InputMaybe<Scalars["Int"]["input"]>;
2296
+ org?: InputMaybe<Scalars["String"]["input"]>;
2297
+ search?: InputMaybe<Scalars["String"]["input"]>;
2298
+ status?: InputMaybe<GQLCustomAppUserStatusFilter>;
2299
+ };
2300
+
2301
+ export type GQLQueryCustomAppsArgs = {
2302
+ first?: InputMaybe<Scalars["Int"]["input"]>;
2303
+ max?: InputMaybe<Scalars["Int"]["input"]>;
2304
+ org?: InputMaybe<Scalars["String"]["input"]>;
2305
+ search?: InputMaybe<Scalars["String"]["input"]>;
2306
+ };
2307
+
2119
2308
  export type GQLQueryDatastoreInvoicesArgs = {
2120
2309
  after?: InputMaybe<Scalars["String"]["input"]>;
2121
2310
  datastoreId?: InputMaybe<Scalars["String"]["input"]>;
@@ -2143,15 +2332,10 @@ export type GQLQueryExplainRdFoxFactArgs = {
2143
2332
  summarize?: InputMaybe<Scalars["Boolean"]["input"]>;
2144
2333
  };
2145
2334
 
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"]>;
2335
+ export type GQLQueryGoogleBrandSuggestionsArgs = {
2336
+ brandPrefix: Scalars["String"]["input"];
2337
+ customerIri: Scalars["IRI"]["input"];
2338
+ selectedBrandIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
2155
2339
  };
2156
2340
 
2157
2341
  export type GQLQueryKnowledgeGraphStateArgs = {
@@ -2484,6 +2668,8 @@ export type GQLSessionOrgRole = {
2484
2668
  export type GQLSessionUser = {
2485
2669
  __typename?: "SessionUser";
2486
2670
  adminOrgs: Array<Scalars["String"]["output"]>;
2671
+ canManageCustomApps: Scalars["Boolean"]["output"];
2672
+ /** @deprecated Use canManageCustomApps */
2487
2673
  canManageExternalApps: Scalars["Boolean"]["output"];
2488
2674
  canManageIntegrations: Scalars["Boolean"]["output"];
2489
2675
  canManageSharedMemories: Scalars["Boolean"]["output"];
@@ -2906,18 +3092,18 @@ export type GQLWoocommerceProviderInput = {
2906
3092
  sourceUrl: Scalars["String"]["input"];
2907
3093
  };
2908
3094
 
2909
- export type GQLExternalAppConnectionFieldsFragment = {
2910
- __typename?: "ExternalAppConnection";
3095
+ export type GQLCustomAppConnectionFieldsFragment = {
3096
+ __typename?: "CustomAppConnection";
2911
3097
  issuer: string;
2912
3098
  discoveryUrl: string;
2913
3099
  tokenEndpoint: string;
2914
3100
  };
2915
3101
 
2916
- export type GQLExternalAppFieldsFragment = {
2917
- __typename?: "ExternalApp";
3102
+ export type GQLCustomAppFieldsFragment = {
3103
+ __typename?: "CustomApp";
2918
3104
  clientId: string;
2919
3105
  name: string;
2920
- kind: GQLExternalAppKind;
3106
+ kind: GQLCustomAppKind;
2921
3107
  redirectUris: Array<string>;
2922
3108
  homeUrl?: string | null;
2923
3109
  machineAccess: boolean;
@@ -2925,10 +3111,10 @@ export type GQLExternalAppFieldsFragment = {
2925
3111
  org?: string | null;
2926
3112
  orgName?: string | null;
2927
3113
  previousSecretExpiresAt?: string | null;
2928
- permissions: Array<GQLExternalAppPermission>;
3114
+ permissions: Array<GQLCustomAppPermission>;
2929
3115
  createdAt?: string | null;
2930
3116
  createdBy?: string | null;
2931
- datastores: Array<{ __typename?: "ExternalAppDatastore"; id: string; name: string }>;
3117
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
2932
3118
  };
2933
3119
 
2934
3120
  export type GQLMemoryFieldsFragment = {
@@ -3132,41 +3318,27 @@ export type GQLConsolidateMemoriesMutation = {
3132
3318
  };
3133
3319
  };
3134
3320
 
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<{
3321
+ export type GQLCreateCustomAppMutationVariables = Exact<{
3150
3322
  org?: InputMaybe<Scalars["String"]["input"]>;
3151
3323
  name: Scalars["String"]["input"];
3152
- kind?: InputMaybe<GQLExternalAppKind>;
3324
+ kind?: InputMaybe<GQLCustomAppKind>;
3153
3325
  redirectUris?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
3154
3326
  homeUrl?: InputMaybe<Scalars["String"]["input"]>;
3155
3327
  machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
3156
3328
  datastores?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
3157
- permissions?: InputMaybe<Array<GQLExternalAppPermission> | GQLExternalAppPermission>;
3329
+ permissions?: InputMaybe<Array<GQLCustomAppPermission> | GQLCustomAppPermission>;
3158
3330
  }>;
3159
3331
 
3160
- export type GQLCreateExternalAppMutation = {
3332
+ export type GQLCreateCustomAppMutation = {
3161
3333
  __typename?: "Mutation";
3162
- createExternalApp: {
3163
- __typename?: "ExternalAppCredentials";
3334
+ createCustomApp: {
3335
+ __typename?: "CustomAppCredentials";
3164
3336
  clientSecret: string;
3165
3337
  app: {
3166
- __typename?: "ExternalApp";
3338
+ __typename?: "CustomApp";
3167
3339
  clientId: string;
3168
3340
  name: string;
3169
- kind: GQLExternalAppKind;
3341
+ kind: GQLCustomAppKind;
3170
3342
  redirectUris: Array<string>;
3171
3343
  homeUrl?: string | null;
3172
3344
  machineAccess: boolean;
@@ -3174,12 +3346,26 @@ export type GQLCreateExternalAppMutation = {
3174
3346
  org?: string | null;
3175
3347
  orgName?: string | null;
3176
3348
  previousSecretExpiresAt?: string | null;
3177
- permissions: Array<GQLExternalAppPermission>;
3349
+ permissions: Array<GQLCustomAppPermission>;
3178
3350
  createdAt?: string | null;
3179
3351
  createdBy?: string | null;
3180
- datastores: Array<{ __typename?: "ExternalAppDatastore"; id: string; name: string }>;
3352
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
3181
3353
  };
3182
- connection: { __typename?: "ExternalAppConnection"; issuer: string; discoveryUrl: string; tokenEndpoint: string };
3354
+ connection: { __typename?: "CustomAppConnection"; issuer: string; discoveryUrl: string; tokenEndpoint: string };
3355
+ };
3356
+ };
3357
+
3358
+ export type GQLCreateDataConnectionMutationVariables = Exact<{
3359
+ input: GQLCreateDataConnectionInput;
3360
+ }>;
3361
+
3362
+ export type GQLCreateDataConnectionMutation = {
3363
+ __typename?: "Mutation";
3364
+ createDataConnection: {
3365
+ __typename?: "DataConnectionTestState";
3366
+ id: string;
3367
+ status: GQLDataConnectionStatus;
3368
+ error?: string | null;
3183
3369
  };
3184
3370
  };
3185
3371
 
@@ -3287,23 +3473,33 @@ export type GQLDeleteActionPlanMutation = {
3287
3473
  deleteActionPlan: { __typename?: "DeleteActionPlanResponse"; success: boolean; error?: string | null };
3288
3474
  };
3289
3475
 
3290
- export type GQLDeleteDataConnectionMutationVariables = Exact<{
3291
- id: Scalars["String"]["input"];
3476
+ export type GQLDeleteCustomAppMutationVariables = Exact<{
3477
+ org?: InputMaybe<Scalars["String"]["input"]>;
3478
+ clientId: Scalars["String"]["input"];
3292
3479
  }>;
3293
3480
 
3294
- export type GQLDeleteDataConnectionMutation = {
3481
+ export type GQLDeleteCustomAppMutation = {
3295
3482
  __typename?: "Mutation";
3296
- deleteDataConnection: { __typename?: "DeleteDataConnectionResponse"; success: boolean };
3483
+ deleteCustomApp: { __typename?: "CustomAppDeletedResponse"; clientId: string; deleted: boolean };
3297
3484
  };
3298
3485
 
3299
- export type GQLDeleteExternalAppMutationVariables = Exact<{
3300
- org?: InputMaybe<Scalars["String"]["input"]>;
3301
- clientId: Scalars["String"]["input"];
3486
+ export type GQLDeleteDataConnectionMutationVariables = Exact<{
3487
+ id: Scalars["String"]["input"];
3488
+ }>;
3489
+
3490
+ export type GQLDeleteDataConnectionMutation = {
3491
+ __typename?: "Mutation";
3492
+ deleteDataConnection: { __typename?: "DeleteDataConnectionResponse"; success: boolean };
3493
+ };
3494
+
3495
+ export type GQLDeleteDatastoreMutationVariables = Exact<{
3496
+ datastoreId: Scalars["String"]["input"];
3497
+ confirmName: Scalars["String"]["input"];
3302
3498
  }>;
3303
3499
 
3304
- export type GQLDeleteExternalAppMutation = {
3500
+ export type GQLDeleteDatastoreMutation = {
3305
3501
  __typename?: "Mutation";
3306
- deleteExternalApp: { __typename?: "ExternalAppDeletedResponse"; clientId: string; deleted: boolean };
3502
+ deleteDatastore: { __typename?: "DeleteDatastoreResponse"; success: boolean; error?: string | null };
3307
3503
  };
3308
3504
 
3309
3505
  export type GQLDeleteLdesStreamMutationVariables = Exact<{
@@ -3346,6 +3542,12 @@ export type GQLDisconnectConnectedAccountMutation = {
3346
3542
  disconnectConnectedAccount: { __typename?: "DisconnectConnectedAccountResponse"; success: boolean };
3347
3543
  };
3348
3544
 
3545
+ export type GQLDisconnectCustomAppMutationVariables = Exact<{
3546
+ clientId: Scalars["String"]["input"];
3547
+ }>;
3548
+
3549
+ export type GQLDisconnectCustomAppMutation = { __typename?: "Mutation"; disconnectCustomApp: boolean };
3550
+
3349
3551
  export type GQLDisconnectGmailIntegrationMutationVariables = Exact<{
3350
3552
  email: Scalars["String"]["input"];
3351
3553
  }>;
@@ -3527,6 +3729,41 @@ export type GQLInitiateUploadMutation = {
3527
3729
  };
3528
3730
  };
3529
3731
 
3732
+ export type GQLInviteCustomAppUserMutationVariables = Exact<{
3733
+ org?: InputMaybe<Scalars["String"]["input"]>;
3734
+ clientId: Scalars["String"]["input"];
3735
+ userId: Scalars["String"]["input"];
3736
+ email?: InputMaybe<Scalars["String"]["input"]>;
3737
+ teams?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
3738
+ allTeams?: InputMaybe<Scalars["Boolean"]["input"]>;
3739
+ }>;
3740
+
3741
+ export type GQLInviteCustomAppUserMutation = {
3742
+ __typename?: "Mutation";
3743
+ inviteCustomAppUser: {
3744
+ __typename?: "CustomAppUser";
3745
+ userId: string;
3746
+ invitedAt?: string | null;
3747
+ mantaMember: boolean;
3748
+ };
3749
+ };
3750
+
3751
+ export type GQLInviteCustomAppUsersMutationVariables = Exact<{
3752
+ org?: InputMaybe<Scalars["String"]["input"]>;
3753
+ clientId: Scalars["String"]["input"];
3754
+ people: Array<GQLCustomAppUserInvitationInput> | GQLCustomAppUserInvitationInput;
3755
+ }>;
3756
+
3757
+ export type GQLInviteCustomAppUsersMutation = {
3758
+ __typename?: "Mutation";
3759
+ inviteCustomAppUsers: Array<{
3760
+ __typename?: "CustomAppUserInvitation";
3761
+ userId: string;
3762
+ error?: string | null;
3763
+ user?: { __typename?: "CustomAppUser"; userId: string; invitedAt?: string | null; mantaMember: boolean } | null;
3764
+ }>;
3765
+ };
3766
+
3530
3767
  export type GQLLinkOrganizationToProviderMutationVariables = Exact<{
3531
3768
  organizationId: Scalars["String"]["input"];
3532
3769
  }>;
@@ -3736,6 +3973,45 @@ export type GQLReleaseRuleOwnershipMutation = {
3736
3973
  };
3737
3974
  };
3738
3975
 
3976
+ export type GQLRemoveCustomAppUserMutationVariables = Exact<{
3977
+ org?: InputMaybe<Scalars["String"]["input"]>;
3978
+ clientId: Scalars["String"]["input"];
3979
+ userId: Scalars["String"]["input"];
3980
+ }>;
3981
+
3982
+ export type GQLRemoveCustomAppUserMutation = {
3983
+ __typename?: "Mutation";
3984
+ removeCustomAppUser: { __typename?: "CustomAppUserRemoval"; userId: string; status: GQLCustomAppUserStatus };
3985
+ };
3986
+
3987
+ export type GQLRemoveCustomAppUsersCreatedBetweenMutationVariables = Exact<{
3988
+ org?: InputMaybe<Scalars["String"]["input"]>;
3989
+ clientId: Scalars["String"]["input"];
3990
+ createdFrom: Scalars["String"]["input"];
3991
+ createdUntil: Scalars["String"]["input"];
3992
+ }>;
3993
+
3994
+ export type GQLRemoveCustomAppUsersCreatedBetweenMutation = {
3995
+ __typename?: "Mutation";
3996
+ removeCustomAppUsersCreatedBetween: { __typename?: "CustomAppUserBulkRemoval"; removed: number; remaining: number };
3997
+ };
3998
+
3999
+ export type GQLRemoveCustomAppUsersMutationVariables = Exact<{
4000
+ org?: InputMaybe<Scalars["String"]["input"]>;
4001
+ clientId: Scalars["String"]["input"];
4002
+ userIds: Array<Scalars["String"]["input"]> | Scalars["String"]["input"];
4003
+ }>;
4004
+
4005
+ export type GQLRemoveCustomAppUsersMutation = {
4006
+ __typename?: "Mutation";
4007
+ removeCustomAppUsers: Array<{
4008
+ __typename?: "CustomAppUserBulkRemovalResult";
4009
+ userId: string;
4010
+ status?: GQLCustomAppUserStatus | null;
4011
+ error?: string | null;
4012
+ }>;
4013
+ };
4014
+
3739
4015
  export type GQLRemoveDatastoreMutationVariables = Exact<{
3740
4016
  datastoreId: Scalars["String"]["input"];
3741
4017
  }>;
@@ -3811,18 +4087,18 @@ export type GQLRevokeOperatorRoleMutation = {
3811
4087
  revokeOperatorRole: { __typename?: "RevokeOperatorRoleResponse"; id: string; operator: boolean };
3812
4088
  };
3813
4089
 
3814
- export type GQLRevokePreviousExternalAppSecretMutationVariables = Exact<{
4090
+ export type GQLRevokePreviousCustomAppSecretMutationVariables = Exact<{
3815
4091
  org?: InputMaybe<Scalars["String"]["input"]>;
3816
4092
  clientId: Scalars["String"]["input"];
3817
4093
  }>;
3818
4094
 
3819
- export type GQLRevokePreviousExternalAppSecretMutation = {
4095
+ export type GQLRevokePreviousCustomAppSecretMutation = {
3820
4096
  __typename?: "Mutation";
3821
- revokePreviousExternalAppSecret: {
3822
- __typename?: "ExternalApp";
4097
+ revokePreviousCustomAppSecret: {
4098
+ __typename?: "CustomApp";
3823
4099
  clientId: string;
3824
4100
  name: string;
3825
- kind: GQLExternalAppKind;
4101
+ kind: GQLCustomAppKind;
3826
4102
  redirectUris: Array<string>;
3827
4103
  homeUrl?: string | null;
3828
4104
  machineAccess: boolean;
@@ -3830,29 +4106,29 @@ export type GQLRevokePreviousExternalAppSecretMutation = {
3830
4106
  org?: string | null;
3831
4107
  orgName?: string | null;
3832
4108
  previousSecretExpiresAt?: string | null;
3833
- permissions: Array<GQLExternalAppPermission>;
4109
+ permissions: Array<GQLCustomAppPermission>;
3834
4110
  createdAt?: string | null;
3835
4111
  createdBy?: string | null;
3836
- datastores: Array<{ __typename?: "ExternalAppDatastore"; id: string; name: string }>;
4112
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
3837
4113
  };
3838
4114
  };
3839
4115
 
3840
- export type GQLRotateExternalAppSecretMutationVariables = Exact<{
4116
+ export type GQLRotateCustomAppSecretMutationVariables = Exact<{
3841
4117
  org?: InputMaybe<Scalars["String"]["input"]>;
3842
4118
  clientId: Scalars["String"]["input"];
3843
4119
  keepPrevious?: InputMaybe<Scalars["Boolean"]["input"]>;
3844
4120
  }>;
3845
4121
 
3846
- export type GQLRotateExternalAppSecretMutation = {
4122
+ export type GQLRotateCustomAppSecretMutation = {
3847
4123
  __typename?: "Mutation";
3848
- rotateExternalAppSecret: {
3849
- __typename?: "ExternalAppCredentials";
4124
+ rotateCustomAppSecret: {
4125
+ __typename?: "CustomAppCredentials";
3850
4126
  clientSecret: string;
3851
4127
  app: {
3852
- __typename?: "ExternalApp";
4128
+ __typename?: "CustomApp";
3853
4129
  clientId: string;
3854
4130
  name: string;
3855
- kind: GQLExternalAppKind;
4131
+ kind: GQLCustomAppKind;
3856
4132
  redirectUris: Array<string>;
3857
4133
  homeUrl?: string | null;
3858
4134
  machineAccess: boolean;
@@ -3860,28 +4136,28 @@ export type GQLRotateExternalAppSecretMutation = {
3860
4136
  org?: string | null;
3861
4137
  orgName?: string | null;
3862
4138
  previousSecretExpiresAt?: string | null;
3863
- permissions: Array<GQLExternalAppPermission>;
4139
+ permissions: Array<GQLCustomAppPermission>;
3864
4140
  createdAt?: string | null;
3865
4141
  createdBy?: string | null;
3866
- datastores: Array<{ __typename?: "ExternalAppDatastore"; id: string; name: string }>;
4142
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
3867
4143
  };
3868
- connection: { __typename?: "ExternalAppConnection"; issuer: string; discoveryUrl: string; tokenEndpoint: string };
4144
+ connection: { __typename?: "CustomAppConnection"; issuer: string; discoveryUrl: string; tokenEndpoint: string };
3869
4145
  };
3870
4146
  };
3871
4147
 
3872
- export type GQLSetExternalAppEnabledMutationVariables = Exact<{
4148
+ export type GQLSetCustomAppEnabledMutationVariables = Exact<{
3873
4149
  org?: InputMaybe<Scalars["String"]["input"]>;
3874
4150
  clientId: Scalars["String"]["input"];
3875
4151
  enabled: Scalars["Boolean"]["input"];
3876
4152
  }>;
3877
4153
 
3878
- export type GQLSetExternalAppEnabledMutation = {
4154
+ export type GQLSetCustomAppEnabledMutation = {
3879
4155
  __typename?: "Mutation";
3880
- setExternalAppEnabled: {
3881
- __typename?: "ExternalApp";
4156
+ setCustomAppEnabled: {
4157
+ __typename?: "CustomApp";
3882
4158
  clientId: string;
3883
4159
  name: string;
3884
- kind: GQLExternalAppKind;
4160
+ kind: GQLCustomAppKind;
3885
4161
  redirectUris: Array<string>;
3886
4162
  homeUrl?: string | null;
3887
4163
  machineAccess: boolean;
@@ -3889,10 +4165,10 @@ export type GQLSetExternalAppEnabledMutation = {
3889
4165
  org?: string | null;
3890
4166
  orgName?: string | null;
3891
4167
  previousSecretExpiresAt?: string | null;
3892
- permissions: Array<GQLExternalAppPermission>;
4168
+ permissions: Array<GQLCustomAppPermission>;
3893
4169
  createdAt?: string | null;
3894
4170
  createdBy?: string | null;
3895
- datastores: Array<{ __typename?: "ExternalAppDatastore"; id: string; name: string }>;
4171
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
3896
4172
  };
3897
4173
  };
3898
4174
 
@@ -3946,21 +4222,7 @@ export type GQLSyncGmailIntegrationMutation = {
3946
4222
  };
3947
4223
  };
3948
4224
 
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<{
4225
+ export type GQLUpdateCustomAppMutationVariables = Exact<{
3964
4226
  org?: InputMaybe<Scalars["String"]["input"]>;
3965
4227
  clientId: Scalars["String"]["input"];
3966
4228
  name?: InputMaybe<Scalars["String"]["input"]>;
@@ -3968,16 +4230,16 @@ export type GQLUpdateExternalAppMutationVariables = Exact<{
3968
4230
  homeUrl?: InputMaybe<Scalars["String"]["input"]>;
3969
4231
  machineAccess?: InputMaybe<Scalars["Boolean"]["input"]>;
3970
4232
  datastores?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
3971
- permissions?: InputMaybe<Array<GQLExternalAppPermission> | GQLExternalAppPermission>;
4233
+ permissions?: InputMaybe<Array<GQLCustomAppPermission> | GQLCustomAppPermission>;
3972
4234
  }>;
3973
4235
 
3974
- export type GQLUpdateExternalAppMutation = {
4236
+ export type GQLUpdateCustomAppMutation = {
3975
4237
  __typename?: "Mutation";
3976
- updateExternalApp: {
3977
- __typename?: "ExternalApp";
4238
+ updateCustomApp: {
4239
+ __typename?: "CustomApp";
3978
4240
  clientId: string;
3979
4241
  name: string;
3980
- kind: GQLExternalAppKind;
4242
+ kind: GQLCustomAppKind;
3981
4243
  redirectUris: Array<string>;
3982
4244
  homeUrl?: string | null;
3983
4245
  machineAccess: boolean;
@@ -3985,10 +4247,24 @@ export type GQLUpdateExternalAppMutation = {
3985
4247
  org?: string | null;
3986
4248
  orgName?: string | null;
3987
4249
  previousSecretExpiresAt?: string | null;
3988
- permissions: Array<GQLExternalAppPermission>;
4250
+ permissions: Array<GQLCustomAppPermission>;
3989
4251
  createdAt?: string | null;
3990
4252
  createdBy?: string | null;
3991
- datastores: Array<{ __typename?: "ExternalAppDatastore"; id: string; name: string }>;
4253
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
4254
+ };
4255
+ };
4256
+
4257
+ export type GQLUpdateDataConnectionMutationVariables = Exact<{
4258
+ input: GQLUpdateDataConnectionInput;
4259
+ }>;
4260
+
4261
+ export type GQLUpdateDataConnectionMutation = {
4262
+ __typename?: "Mutation";
4263
+ updateDataConnection: {
4264
+ __typename?: "DataConnectionTestState";
4265
+ id: string;
4266
+ status: GQLDataConnectionStatus;
4267
+ error?: string | null;
3992
4268
  };
3993
4269
  };
3994
4270
 
@@ -4473,6 +4749,18 @@ export type GQLConnectedAccountsQuery = {
4473
4749
  }>;
4474
4750
  };
4475
4751
 
4752
+ export type GQLConnectedCustomAppsQueryVariables = Exact<{ [key: string]: never }>;
4753
+
4754
+ export type GQLConnectedCustomAppsQuery = {
4755
+ __typename?: "Query";
4756
+ connectedCustomApps: Array<{
4757
+ __typename?: "ConnectedCustomApp";
4758
+ clientId: string;
4759
+ name: string;
4760
+ orgName?: string | null;
4761
+ }>;
4762
+ };
4763
+
4476
4764
  export type GQLConversationStartersQueryVariables = Exact<{
4477
4765
  planGraphIri?: InputMaybe<Scalars["IRI"]["input"]>;
4478
4766
  }>;
@@ -4532,6 +4820,105 @@ export type GQLCurrentFactValueQuery = {
4532
4820
  };
4533
4821
  };
4534
4822
 
4823
+ export type GQLCustomAppDatastoresQueryVariables = Exact<{
4824
+ org?: InputMaybe<Scalars["String"]["input"]>;
4825
+ }>;
4826
+
4827
+ export type GQLCustomAppDatastoresQuery = {
4828
+ __typename?: "Query";
4829
+ customAppDatastores: Array<{ __typename?: "CustomAppDatastoreOption"; id: string; name: string; depth: number }>;
4830
+ };
4831
+
4832
+ export type GQLCustomAppUsersQueryVariables = Exact<{
4833
+ org?: InputMaybe<Scalars["String"]["input"]>;
4834
+ clientId: Scalars["String"]["input"];
4835
+ first?: InputMaybe<Scalars["Int"]["input"]>;
4836
+ max?: InputMaybe<Scalars["Int"]["input"]>;
4837
+ createdFrom?: InputMaybe<Scalars["String"]["input"]>;
4838
+ createdUntil?: InputMaybe<Scalars["String"]["input"]>;
4839
+ search?: InputMaybe<Scalars["String"]["input"]>;
4840
+ status?: InputMaybe<GQLCustomAppUserStatusFilter>;
4841
+ }>;
4842
+
4843
+ export type GQLCustomAppUsersQuery = {
4844
+ __typename?: "Query";
4845
+ customAppUsers: {
4846
+ __typename?: "CustomAppUserPage";
4847
+ total: number;
4848
+ users: Array<{
4849
+ __typename?: "CustomAppUser";
4850
+ userId: string;
4851
+ name?: string | null;
4852
+ email?: string | null;
4853
+ teams: Array<string>;
4854
+ allTeams: boolean;
4855
+ createdAt?: string | null;
4856
+ chatCount: number;
4857
+ invitedAt?: string | null;
4858
+ mantaMember: boolean;
4859
+ }>;
4860
+ };
4861
+ };
4862
+
4863
+ export type GQLCustomAppQueryVariables = Exact<{
4864
+ org?: InputMaybe<Scalars["String"]["input"]>;
4865
+ clientId: Scalars["String"]["input"];
4866
+ }>;
4867
+
4868
+ export type GQLCustomAppQuery = {
4869
+ __typename?: "Query";
4870
+ customApp: {
4871
+ __typename?: "CustomApp";
4872
+ clientId: string;
4873
+ name: string;
4874
+ kind: GQLCustomAppKind;
4875
+ redirectUris: Array<string>;
4876
+ homeUrl?: string | null;
4877
+ machineAccess: boolean;
4878
+ enabled: boolean;
4879
+ org?: string | null;
4880
+ orgName?: string | null;
4881
+ previousSecretExpiresAt?: string | null;
4882
+ permissions: Array<GQLCustomAppPermission>;
4883
+ createdAt?: string | null;
4884
+ createdBy?: string | null;
4885
+ datastores: Array<{ __typename?: "CustomAppDatastore"; id: string; name: string }>;
4886
+ };
4887
+ };
4888
+
4889
+ export type GQLCustomAppsQueryVariables = Exact<{
4890
+ org?: InputMaybe<Scalars["String"]["input"]>;
4891
+ first?: InputMaybe<Scalars["Int"]["input"]>;
4892
+ max?: InputMaybe<Scalars["Int"]["input"]>;
4893
+ search?: InputMaybe<Scalars["String"]["input"]>;
4894
+ }>;
4895
+
4896
+ export type GQLCustomAppsQuery = {
4897
+ __typename?: "Query";
4898
+ customApps: {
4899
+ __typename?: "CustomAppPage";
4900
+ nextFirst?: number | null;
4901
+ apps: Array<{
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
+ connection: { __typename?: "CustomAppConnection"; issuer: string; discoveryUrl: string; tokenEndpoint: string };
4919
+ };
4920
+ };
4921
+
4535
4922
  export type GQLCustomerDatastoresQueryVariables = Exact<{ [key: string]: never }>;
4536
4923
 
4537
4924
  export type GQLCustomerDatastoresQuery = {
@@ -4734,48 +5121,6 @@ export type GQLExplainRdFoxFactQuery = {
4734
5121
  };
4735
5122
  };
4736
5123
 
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
5124
  export type GQLGmailIntegrationsQueryVariables = Exact<{ [key: string]: never }>;
4780
5125
 
4781
5126
  export type GQLGmailIntegrationsQuery = {
@@ -4815,6 +5160,23 @@ export type GQLGoogleAnalyticsSetupProgressQuery = {
4815
5160
  };
4816
5161
  };
4817
5162
 
5163
+ export type GQLGoogleBrandSuggestionsQueryVariables = Exact<{
5164
+ customerIri: Scalars["IRI"]["input"];
5165
+ brandPrefix: Scalars["String"]["input"];
5166
+ selectedBrandIds?: InputMaybe<Array<Scalars["String"]["input"]> | Scalars["String"]["input"]>;
5167
+ }>;
5168
+
5169
+ export type GQLGoogleBrandSuggestionsQuery = {
5170
+ __typename?: "Query";
5171
+ googleBrandSuggestions: Array<{
5172
+ __typename?: "GoogleBrandSuggestion";
5173
+ id: string;
5174
+ name: string;
5175
+ urls: Array<string>;
5176
+ state?: string | null;
5177
+ }>;
5178
+ };
5179
+
4818
5180
  export type GQLGoogleSetupProgressQueryVariables = Exact<{ [key: string]: never }>;
4819
5181
 
4820
5182
  export type GQLGoogleSetupProgressQuery = {
@@ -5171,7 +5533,7 @@ export type GQLSessionContextQuery = {
5171
5533
  canManageStreams: boolean;
5172
5534
  canManageSharedMemories: boolean;
5173
5535
  canManageTeam: boolean;
5174
- canManageExternalApps: boolean;
5536
+ canManageCustomApps: boolean;
5175
5537
  datastore?: {
5176
5538
  __typename?: "CustomerDatastore";
5177
5539
  id: string;
@@ -5293,6 +5655,7 @@ export type GQLTeamDirectoryQuery = {
5293
5655
  inviteUrl?: string | null;
5294
5656
  federated?: boolean | null;
5295
5657
  nameReadOnly?: boolean | null;
5658
+ operator?: boolean | null;
5296
5659
  enabled: boolean;
5297
5660
  memberships: Array<{
5298
5661
  __typename?: "DirectoryMembership";
@@ -5455,15 +5818,15 @@ export type GQLValidateActionPlanQuery = {
5455
5818
  };
5456
5819
  };
5457
5820
 
5458
- export const ExternalAppConnectionFieldsFragmentDoc = `
5459
- fragment ExternalAppConnectionFields on ExternalAppConnection {
5821
+ export const CustomAppConnectionFieldsFragmentDoc = `
5822
+ fragment CustomAppConnectionFields on CustomAppConnection {
5460
5823
  issuer
5461
5824
  discoveryUrl
5462
5825
  tokenEndpoint
5463
5826
  }
5464
5827
  `;
5465
- export const ExternalAppFieldsFragmentDoc = `
5466
- fragment ExternalAppFields on ExternalApp {
5828
+ export const CustomAppFieldsFragmentDoc = `
5829
+ fragment CustomAppFields on CustomApp {
5467
5830
  clientId
5468
5831
  name
5469
5832
  kind
@@ -5920,42 +6283,9 @@ export const useConsolidateMemoriesMutation = <TError = unknown, TContext = unkn
5920
6283
  });
5921
6284
  };
5922
6285
 
5923
- export const CreateDataConnectionDocument = `
5924
- mutation CreateDataConnection($input: CreateDataConnectionInput!) {
5925
- createDataConnection(input: $input) {
5926
- id
5927
- status
5928
- error
5929
- }
5930
- }
5931
- `;
5932
-
5933
- export const useCreateDataConnectionMutation = <TError = unknown, TContext = unknown>(
5934
- client: GraphQLClient,
5935
- options?: UseMutationOptions<
5936
- GQLCreateDataConnectionMutation,
5937
- TError,
5938
- GQLCreateDataConnectionMutationVariables,
5939
- TContext
5940
- >,
5941
- headers?: RequestInit["headers"],
5942
- ) => {
5943
- return useMutation<GQLCreateDataConnectionMutation, TError, GQLCreateDataConnectionMutationVariables, TContext>({
5944
- mutationKey: ["CreateDataConnection"],
5945
- mutationFn: (variables?: GQLCreateDataConnectionMutationVariables) =>
5946
- fetcher<GQLCreateDataConnectionMutation, GQLCreateDataConnectionMutationVariables>(
5947
- client,
5948
- CreateDataConnectionDocument,
5949
- variables,
5950
- headers,
5951
- )(),
5952
- ...options,
5953
- });
5954
- };
5955
-
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(
6286
+ export const CreateCustomAppDocument = `
6287
+ mutation CreateCustomApp($org: String, $name: String!, $kind: CustomAppKind, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [CustomAppPermission!]) {
6288
+ createCustomApp(
5959
6289
  org: $org
5960
6290
  name: $name
5961
6291
  kind: $kind
@@ -5966,28 +6296,28 @@ export const CreateExternalAppDocument = `
5966
6296
  permissions: $permissions
5967
6297
  ) {
5968
6298
  app {
5969
- ...ExternalAppFields
6299
+ ...CustomAppFields
5970
6300
  }
5971
6301
  clientSecret
5972
6302
  connection {
5973
- ...ExternalAppConnectionFields
6303
+ ...CustomAppConnectionFields
5974
6304
  }
5975
6305
  }
5976
6306
  }
5977
- ${ExternalAppFieldsFragmentDoc}
5978
- ${ExternalAppConnectionFieldsFragmentDoc}`;
6307
+ ${CustomAppFieldsFragmentDoc}
6308
+ ${CustomAppConnectionFieldsFragmentDoc}`;
5979
6309
 
5980
- export const useCreateExternalAppMutation = <TError = unknown, TContext = unknown>(
6310
+ export const useCreateCustomAppMutation = <TError = unknown, TContext = unknown>(
5981
6311
  client: GraphQLClient,
5982
- options?: UseMutationOptions<GQLCreateExternalAppMutation, TError, GQLCreateExternalAppMutationVariables, TContext>,
6312
+ options?: UseMutationOptions<GQLCreateCustomAppMutation, TError, GQLCreateCustomAppMutationVariables, TContext>,
5983
6313
  headers?: RequestInit["headers"],
5984
6314
  ) => {
5985
- return useMutation<GQLCreateExternalAppMutation, TError, GQLCreateExternalAppMutationVariables, TContext>({
5986
- mutationKey: ["CreateExternalApp"],
5987
- mutationFn: (variables?: GQLCreateExternalAppMutationVariables) =>
5988
- fetcher<GQLCreateExternalAppMutation, GQLCreateExternalAppMutationVariables>(
6315
+ return useMutation<GQLCreateCustomAppMutation, TError, GQLCreateCustomAppMutationVariables, TContext>({
6316
+ mutationKey: ["CreateCustomApp"],
6317
+ mutationFn: (variables?: GQLCreateCustomAppMutationVariables) =>
6318
+ fetcher<GQLCreateCustomAppMutation, GQLCreateCustomAppMutationVariables>(
5989
6319
  client,
5990
- CreateExternalAppDocument,
6320
+ CreateCustomAppDocument,
5991
6321
  variables,
5992
6322
  headers,
5993
6323
  )(),
@@ -5995,34 +6325,67 @@ export const useCreateExternalAppMutation = <TError = unknown, TContext = unknow
5995
6325
  });
5996
6326
  };
5997
6327
 
5998
- export const CreateInferalIntegrationDocument = `
5999
- mutation CreateInferalIntegration($input: CreateInferalIntegrationInput!) {
6000
- createInferalIntegration(input: $input) {
6328
+ export const CreateDataConnectionDocument = `
6329
+ mutation CreateDataConnection($input: CreateDataConnectionInput!) {
6330
+ createDataConnection(input: $input) {
6331
+ id
6001
6332
  status
6002
- inferalIntegrationId
6003
- streamId
6004
- streamUrl
6005
6333
  error
6006
6334
  }
6007
6335
  }
6008
6336
  `;
6009
6337
 
6010
- export const useCreateInferalIntegrationMutation = <TError = unknown, TContext = unknown>(
6338
+ export const useCreateDataConnectionMutation = <TError = unknown, TContext = unknown>(
6011
6339
  client: GraphQLClient,
6012
6340
  options?: UseMutationOptions<
6013
- GQLCreateInferalIntegrationMutation,
6341
+ GQLCreateDataConnectionMutation,
6014
6342
  TError,
6015
- GQLCreateInferalIntegrationMutationVariables,
6343
+ GQLCreateDataConnectionMutationVariables,
6016
6344
  TContext
6017
6345
  >,
6018
6346
  headers?: RequestInit["headers"],
6019
6347
  ) => {
6020
- return useMutation<
6021
- GQLCreateInferalIntegrationMutation,
6022
- TError,
6023
- GQLCreateInferalIntegrationMutationVariables,
6024
- TContext
6025
- >({
6348
+ return useMutation<GQLCreateDataConnectionMutation, TError, GQLCreateDataConnectionMutationVariables, TContext>({
6349
+ mutationKey: ["CreateDataConnection"],
6350
+ mutationFn: (variables?: GQLCreateDataConnectionMutationVariables) =>
6351
+ fetcher<GQLCreateDataConnectionMutation, GQLCreateDataConnectionMutationVariables>(
6352
+ client,
6353
+ CreateDataConnectionDocument,
6354
+ variables,
6355
+ headers,
6356
+ )(),
6357
+ ...options,
6358
+ });
6359
+ };
6360
+
6361
+ export const CreateInferalIntegrationDocument = `
6362
+ mutation CreateInferalIntegration($input: CreateInferalIntegrationInput!) {
6363
+ createInferalIntegration(input: $input) {
6364
+ status
6365
+ inferalIntegrationId
6366
+ streamId
6367
+ streamUrl
6368
+ error
6369
+ }
6370
+ }
6371
+ `;
6372
+
6373
+ export const useCreateInferalIntegrationMutation = <TError = unknown, TContext = unknown>(
6374
+ client: GraphQLClient,
6375
+ options?: UseMutationOptions<
6376
+ GQLCreateInferalIntegrationMutation,
6377
+ TError,
6378
+ GQLCreateInferalIntegrationMutationVariables,
6379
+ TContext
6380
+ >,
6381
+ headers?: RequestInit["headers"],
6382
+ ) => {
6383
+ return useMutation<
6384
+ GQLCreateInferalIntegrationMutation,
6385
+ TError,
6386
+ GQLCreateInferalIntegrationMutationVariables,
6387
+ TContext
6388
+ >({
6026
6389
  mutationKey: ["CreateInferalIntegration"],
6027
6390
  mutationFn: (variables?: GQLCreateInferalIntegrationMutationVariables) =>
6028
6391
  fetcher<GQLCreateInferalIntegrationMutation, GQLCreateInferalIntegrationMutationVariables>(
@@ -6172,6 +6535,33 @@ export const useDeleteActionPlanMutation = <TError = unknown, TContext = unknown
6172
6535
  });
6173
6536
  };
6174
6537
 
6538
+ export const DeleteCustomAppDocument = `
6539
+ mutation DeleteCustomApp($org: String, $clientId: String!) {
6540
+ deleteCustomApp(org: $org, clientId: $clientId) {
6541
+ clientId
6542
+ deleted
6543
+ }
6544
+ }
6545
+ `;
6546
+
6547
+ export const useDeleteCustomAppMutation = <TError = unknown, TContext = unknown>(
6548
+ client: GraphQLClient,
6549
+ options?: UseMutationOptions<GQLDeleteCustomAppMutation, TError, GQLDeleteCustomAppMutationVariables, TContext>,
6550
+ headers?: RequestInit["headers"],
6551
+ ) => {
6552
+ return useMutation<GQLDeleteCustomAppMutation, TError, GQLDeleteCustomAppMutationVariables, TContext>({
6553
+ mutationKey: ["DeleteCustomApp"],
6554
+ mutationFn: (variables?: GQLDeleteCustomAppMutationVariables) =>
6555
+ fetcher<GQLDeleteCustomAppMutation, GQLDeleteCustomAppMutationVariables>(
6556
+ client,
6557
+ DeleteCustomAppDocument,
6558
+ variables,
6559
+ headers,
6560
+ )(),
6561
+ ...options,
6562
+ });
6563
+ };
6564
+
6175
6565
  export const DeleteDataConnectionDocument = `
6176
6566
  mutation DeleteDataConnection($id: String!) {
6177
6567
  deleteDataConnection(id: $id) {
@@ -6203,26 +6593,26 @@ export const useDeleteDataConnectionMutation = <TError = unknown, TContext = unk
6203
6593
  });
6204
6594
  };
6205
6595
 
6206
- export const DeleteExternalAppDocument = `
6207
- mutation DeleteExternalApp($org: String, $clientId: String!) {
6208
- deleteExternalApp(org: $org, clientId: $clientId) {
6209
- clientId
6210
- deleted
6596
+ export const DeleteDatastoreDocument = `
6597
+ mutation DeleteDatastore($datastoreId: String!, $confirmName: String!) {
6598
+ deleteDatastore(datastoreId: $datastoreId, confirmName: $confirmName) {
6599
+ success
6600
+ error
6211
6601
  }
6212
6602
  }
6213
6603
  `;
6214
6604
 
6215
- export const useDeleteExternalAppMutation = <TError = unknown, TContext = unknown>(
6605
+ export const useDeleteDatastoreMutation = <TError = unknown, TContext = unknown>(
6216
6606
  client: GraphQLClient,
6217
- options?: UseMutationOptions<GQLDeleteExternalAppMutation, TError, GQLDeleteExternalAppMutationVariables, TContext>,
6607
+ options?: UseMutationOptions<GQLDeleteDatastoreMutation, TError, GQLDeleteDatastoreMutationVariables, TContext>,
6218
6608
  headers?: RequestInit["headers"],
6219
6609
  ) => {
6220
- return useMutation<GQLDeleteExternalAppMutation, TError, GQLDeleteExternalAppMutationVariables, TContext>({
6221
- mutationKey: ["DeleteExternalApp"],
6222
- mutationFn: (variables?: GQLDeleteExternalAppMutationVariables) =>
6223
- fetcher<GQLDeleteExternalAppMutation, GQLDeleteExternalAppMutationVariables>(
6610
+ return useMutation<GQLDeleteDatastoreMutation, TError, GQLDeleteDatastoreMutationVariables, TContext>({
6611
+ mutationKey: ["DeleteDatastore"],
6612
+ mutationFn: (variables?: GQLDeleteDatastoreMutationVariables) =>
6613
+ fetcher<GQLDeleteDatastoreMutation, GQLDeleteDatastoreMutationVariables>(
6224
6614
  client,
6225
- DeleteExternalAppDocument,
6615
+ DeleteDatastoreDocument,
6226
6616
  variables,
6227
6617
  headers,
6228
6618
  )(),
@@ -6350,6 +6740,35 @@ export const useDisconnectConnectedAccountMutation = <TError = unknown, TContext
6350
6740
  });
6351
6741
  };
6352
6742
 
6743
+ export const DisconnectCustomAppDocument = `
6744
+ mutation DisconnectCustomApp($clientId: String!) {
6745
+ disconnectCustomApp(clientId: $clientId)
6746
+ }
6747
+ `;
6748
+
6749
+ export const useDisconnectCustomAppMutation = <TError = unknown, TContext = unknown>(
6750
+ client: GraphQLClient,
6751
+ options?: UseMutationOptions<
6752
+ GQLDisconnectCustomAppMutation,
6753
+ TError,
6754
+ GQLDisconnectCustomAppMutationVariables,
6755
+ TContext
6756
+ >,
6757
+ headers?: RequestInit["headers"],
6758
+ ) => {
6759
+ return useMutation<GQLDisconnectCustomAppMutation, TError, GQLDisconnectCustomAppMutationVariables, TContext>({
6760
+ mutationKey: ["DisconnectCustomApp"],
6761
+ mutationFn: (variables?: GQLDisconnectCustomAppMutationVariables) =>
6762
+ fetcher<GQLDisconnectCustomAppMutation, GQLDisconnectCustomAppMutationVariables>(
6763
+ client,
6764
+ DisconnectCustomAppDocument,
6765
+ variables,
6766
+ headers,
6767
+ )(),
6768
+ ...options,
6769
+ });
6770
+ };
6771
+
6353
6772
  export const DisconnectGmailIntegrationDocument = `
6354
6773
  mutation DisconnectGmailIntegration($email: String!) {
6355
6774
  disconnectGmailIntegration(email: $email) {
@@ -6765,6 +7184,83 @@ export const useInitiateUploadMutation = <TError = unknown, TContext = unknown>(
6765
7184
  });
6766
7185
  };
6767
7186
 
7187
+ export const InviteCustomAppUserDocument = `
7188
+ mutation InviteCustomAppUser($org: String, $clientId: String!, $userId: String!, $email: String, $teams: [String!], $allTeams: Boolean) {
7189
+ inviteCustomAppUser(
7190
+ org: $org
7191
+ clientId: $clientId
7192
+ userId: $userId
7193
+ email: $email
7194
+ teams: $teams
7195
+ allTeams: $allTeams
7196
+ ) {
7197
+ userId
7198
+ invitedAt
7199
+ mantaMember
7200
+ }
7201
+ }
7202
+ `;
7203
+
7204
+ export const useInviteCustomAppUserMutation = <TError = unknown, TContext = unknown>(
7205
+ client: GraphQLClient,
7206
+ options?: UseMutationOptions<
7207
+ GQLInviteCustomAppUserMutation,
7208
+ TError,
7209
+ GQLInviteCustomAppUserMutationVariables,
7210
+ TContext
7211
+ >,
7212
+ headers?: RequestInit["headers"],
7213
+ ) => {
7214
+ return useMutation<GQLInviteCustomAppUserMutation, TError, GQLInviteCustomAppUserMutationVariables, TContext>({
7215
+ mutationKey: ["InviteCustomAppUser"],
7216
+ mutationFn: (variables?: GQLInviteCustomAppUserMutationVariables) =>
7217
+ fetcher<GQLInviteCustomAppUserMutation, GQLInviteCustomAppUserMutationVariables>(
7218
+ client,
7219
+ InviteCustomAppUserDocument,
7220
+ variables,
7221
+ headers,
7222
+ )(),
7223
+ ...options,
7224
+ });
7225
+ };
7226
+
7227
+ export const InviteCustomAppUsersDocument = `
7228
+ mutation InviteCustomAppUsers($org: String, $clientId: String!, $people: [CustomAppUserInvitationInput!]!) {
7229
+ inviteCustomAppUsers(org: $org, clientId: $clientId, people: $people) {
7230
+ userId
7231
+ error
7232
+ user {
7233
+ userId
7234
+ invitedAt
7235
+ mantaMember
7236
+ }
7237
+ }
7238
+ }
7239
+ `;
7240
+
7241
+ export const useInviteCustomAppUsersMutation = <TError = unknown, TContext = unknown>(
7242
+ client: GraphQLClient,
7243
+ options?: UseMutationOptions<
7244
+ GQLInviteCustomAppUsersMutation,
7245
+ TError,
7246
+ GQLInviteCustomAppUsersMutationVariables,
7247
+ TContext
7248
+ >,
7249
+ headers?: RequestInit["headers"],
7250
+ ) => {
7251
+ return useMutation<GQLInviteCustomAppUsersMutation, TError, GQLInviteCustomAppUsersMutationVariables, TContext>({
7252
+ mutationKey: ["InviteCustomAppUsers"],
7253
+ mutationFn: (variables?: GQLInviteCustomAppUsersMutationVariables) =>
7254
+ fetcher<GQLInviteCustomAppUsersMutation, GQLInviteCustomAppUsersMutationVariables>(
7255
+ client,
7256
+ InviteCustomAppUsersDocument,
7257
+ variables,
7258
+ headers,
7259
+ )(),
7260
+ ...options,
7261
+ });
7262
+ };
7263
+
6768
7264
  export const LinkOrganizationToProviderDocument = `
6769
7265
  mutation LinkOrganizationToProvider($organizationId: String!) {
6770
7266
  linkOrganizationToProvider(organizationId: $organizationId) {
@@ -7195,6 +7691,113 @@ export const useReleaseRuleOwnershipMutation = <TError = unknown, TContext = unk
7195
7691
  });
7196
7692
  };
7197
7693
 
7694
+ export const RemoveCustomAppUserDocument = `
7695
+ mutation RemoveCustomAppUser($org: String, $clientId: String!, $userId: String!) {
7696
+ removeCustomAppUser(org: $org, clientId: $clientId, userId: $userId) {
7697
+ userId
7698
+ status
7699
+ }
7700
+ }
7701
+ `;
7702
+
7703
+ export const useRemoveCustomAppUserMutation = <TError = unknown, TContext = unknown>(
7704
+ client: GraphQLClient,
7705
+ options?: UseMutationOptions<
7706
+ GQLRemoveCustomAppUserMutation,
7707
+ TError,
7708
+ GQLRemoveCustomAppUserMutationVariables,
7709
+ TContext
7710
+ >,
7711
+ headers?: RequestInit["headers"],
7712
+ ) => {
7713
+ return useMutation<GQLRemoveCustomAppUserMutation, TError, GQLRemoveCustomAppUserMutationVariables, TContext>({
7714
+ mutationKey: ["RemoveCustomAppUser"],
7715
+ mutationFn: (variables?: GQLRemoveCustomAppUserMutationVariables) =>
7716
+ fetcher<GQLRemoveCustomAppUserMutation, GQLRemoveCustomAppUserMutationVariables>(
7717
+ client,
7718
+ RemoveCustomAppUserDocument,
7719
+ variables,
7720
+ headers,
7721
+ )(),
7722
+ ...options,
7723
+ });
7724
+ };
7725
+
7726
+ export const RemoveCustomAppUsersCreatedBetweenDocument = `
7727
+ mutation RemoveCustomAppUsersCreatedBetween($org: String, $clientId: String!, $createdFrom: String!, $createdUntil: String!) {
7728
+ removeCustomAppUsersCreatedBetween(
7729
+ org: $org
7730
+ clientId: $clientId
7731
+ createdFrom: $createdFrom
7732
+ createdUntil: $createdUntil
7733
+ ) {
7734
+ removed
7735
+ remaining
7736
+ }
7737
+ }
7738
+ `;
7739
+
7740
+ export const useRemoveCustomAppUsersCreatedBetweenMutation = <TError = unknown, TContext = unknown>(
7741
+ client: GraphQLClient,
7742
+ options?: UseMutationOptions<
7743
+ GQLRemoveCustomAppUsersCreatedBetweenMutation,
7744
+ TError,
7745
+ GQLRemoveCustomAppUsersCreatedBetweenMutationVariables,
7746
+ TContext
7747
+ >,
7748
+ headers?: RequestInit["headers"],
7749
+ ) => {
7750
+ return useMutation<
7751
+ GQLRemoveCustomAppUsersCreatedBetweenMutation,
7752
+ TError,
7753
+ GQLRemoveCustomAppUsersCreatedBetweenMutationVariables,
7754
+ TContext
7755
+ >({
7756
+ mutationKey: ["RemoveCustomAppUsersCreatedBetween"],
7757
+ mutationFn: (variables?: GQLRemoveCustomAppUsersCreatedBetweenMutationVariables) =>
7758
+ fetcher<GQLRemoveCustomAppUsersCreatedBetweenMutation, GQLRemoveCustomAppUsersCreatedBetweenMutationVariables>(
7759
+ client,
7760
+ RemoveCustomAppUsersCreatedBetweenDocument,
7761
+ variables,
7762
+ headers,
7763
+ )(),
7764
+ ...options,
7765
+ });
7766
+ };
7767
+
7768
+ export const RemoveCustomAppUsersDocument = `
7769
+ mutation RemoveCustomAppUsers($org: String, $clientId: String!, $userIds: [String!]!) {
7770
+ removeCustomAppUsers(org: $org, clientId: $clientId, userIds: $userIds) {
7771
+ userId
7772
+ status
7773
+ error
7774
+ }
7775
+ }
7776
+ `;
7777
+
7778
+ export const useRemoveCustomAppUsersMutation = <TError = unknown, TContext = unknown>(
7779
+ client: GraphQLClient,
7780
+ options?: UseMutationOptions<
7781
+ GQLRemoveCustomAppUsersMutation,
7782
+ TError,
7783
+ GQLRemoveCustomAppUsersMutationVariables,
7784
+ TContext
7785
+ >,
7786
+ headers?: RequestInit["headers"],
7787
+ ) => {
7788
+ return useMutation<GQLRemoveCustomAppUsersMutation, TError, GQLRemoveCustomAppUsersMutationVariables, TContext>({
7789
+ mutationKey: ["RemoveCustomAppUsers"],
7790
+ mutationFn: (variables?: GQLRemoveCustomAppUsersMutationVariables) =>
7791
+ fetcher<GQLRemoveCustomAppUsersMutation, GQLRemoveCustomAppUsersMutationVariables>(
7792
+ client,
7793
+ RemoveCustomAppUsersDocument,
7794
+ variables,
7795
+ headers,
7796
+ )(),
7797
+ ...options,
7798
+ });
7799
+ };
7800
+
7198
7801
  export const RemoveDatastoreDocument = `
7199
7802
  mutation RemoveDatastore($datastoreId: String!) {
7200
7803
  removeDatastore(datastoreId: $datastoreId) {
@@ -7389,35 +7992,35 @@ export const useRevokeOperatorRoleMutation = <TError = unknown, TContext = unkno
7389
7992
  });
7390
7993
  };
7391
7994
 
7392
- export const RevokePreviousExternalAppSecretDocument = `
7393
- mutation RevokePreviousExternalAppSecret($org: String, $clientId: String!) {
7394
- revokePreviousExternalAppSecret(org: $org, clientId: $clientId) {
7395
- ...ExternalAppFields
7995
+ export const RevokePreviousCustomAppSecretDocument = `
7996
+ mutation RevokePreviousCustomAppSecret($org: String, $clientId: String!) {
7997
+ revokePreviousCustomAppSecret(org: $org, clientId: $clientId) {
7998
+ ...CustomAppFields
7396
7999
  }
7397
8000
  }
7398
- ${ExternalAppFieldsFragmentDoc}`;
8001
+ ${CustomAppFieldsFragmentDoc}`;
7399
8002
 
7400
- export const useRevokePreviousExternalAppSecretMutation = <TError = unknown, TContext = unknown>(
8003
+ export const useRevokePreviousCustomAppSecretMutation = <TError = unknown, TContext = unknown>(
7401
8004
  client: GraphQLClient,
7402
8005
  options?: UseMutationOptions<
7403
- GQLRevokePreviousExternalAppSecretMutation,
8006
+ GQLRevokePreviousCustomAppSecretMutation,
7404
8007
  TError,
7405
- GQLRevokePreviousExternalAppSecretMutationVariables,
8008
+ GQLRevokePreviousCustomAppSecretMutationVariables,
7406
8009
  TContext
7407
8010
  >,
7408
8011
  headers?: RequestInit["headers"],
7409
8012
  ) => {
7410
8013
  return useMutation<
7411
- GQLRevokePreviousExternalAppSecretMutation,
8014
+ GQLRevokePreviousCustomAppSecretMutation,
7412
8015
  TError,
7413
- GQLRevokePreviousExternalAppSecretMutationVariables,
8016
+ GQLRevokePreviousCustomAppSecretMutationVariables,
7414
8017
  TContext
7415
8018
  >({
7416
- mutationKey: ["RevokePreviousExternalAppSecret"],
7417
- mutationFn: (variables?: GQLRevokePreviousExternalAppSecretMutationVariables) =>
7418
- fetcher<GQLRevokePreviousExternalAppSecretMutation, GQLRevokePreviousExternalAppSecretMutationVariables>(
8019
+ mutationKey: ["RevokePreviousCustomAppSecret"],
8020
+ mutationFn: (variables?: GQLRevokePreviousCustomAppSecretMutationVariables) =>
8021
+ fetcher<GQLRevokePreviousCustomAppSecretMutation, GQLRevokePreviousCustomAppSecretMutationVariables>(
7419
8022
  client,
7420
- RevokePreviousExternalAppSecretDocument,
8023
+ RevokePreviousCustomAppSecretDocument,
7421
8024
  variables,
7422
8025
  headers,
7423
8026
  )(),
@@ -7425,74 +8028,72 @@ export const useRevokePreviousExternalAppSecretMutation = <TError = unknown, TCo
7425
8028
  });
7426
8029
  };
7427
8030
 
7428
- export const RotateExternalAppSecretDocument = `
7429
- mutation RotateExternalAppSecret($org: String, $clientId: String!, $keepPrevious: Boolean) {
7430
- rotateExternalAppSecret(
8031
+ export const RotateCustomAppSecretDocument = `
8032
+ mutation RotateCustomAppSecret($org: String, $clientId: String!, $keepPrevious: Boolean) {
8033
+ rotateCustomAppSecret(
7431
8034
  org: $org
7432
8035
  clientId: $clientId
7433
8036
  keepPrevious: $keepPrevious
7434
8037
  ) {
7435
8038
  app {
7436
- ...ExternalAppFields
8039
+ ...CustomAppFields
7437
8040
  }
7438
8041
  clientSecret
7439
8042
  connection {
7440
- ...ExternalAppConnectionFields
8043
+ ...CustomAppConnectionFields
7441
8044
  }
7442
8045
  }
7443
8046
  }
7444
- ${ExternalAppFieldsFragmentDoc}
7445
- ${ExternalAppConnectionFieldsFragmentDoc}`;
8047
+ ${CustomAppFieldsFragmentDoc}
8048
+ ${CustomAppConnectionFieldsFragmentDoc}`;
7446
8049
 
7447
- export const useRotateExternalAppSecretMutation = <TError = unknown, TContext = unknown>(
8050
+ export const useRotateCustomAppSecretMutation = <TError = unknown, TContext = unknown>(
7448
8051
  client: GraphQLClient,
7449
8052
  options?: UseMutationOptions<
7450
- GQLRotateExternalAppSecretMutation,
8053
+ GQLRotateCustomAppSecretMutation,
7451
8054
  TError,
7452
- GQLRotateExternalAppSecretMutationVariables,
8055
+ GQLRotateCustomAppSecretMutationVariables,
7453
8056
  TContext
7454
8057
  >,
7455
8058
  headers?: RequestInit["headers"],
7456
8059
  ) => {
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
- );
8060
+ return useMutation<GQLRotateCustomAppSecretMutation, TError, GQLRotateCustomAppSecretMutationVariables, TContext>({
8061
+ mutationKey: ["RotateCustomAppSecret"],
8062
+ mutationFn: (variables?: GQLRotateCustomAppSecretMutationVariables) =>
8063
+ fetcher<GQLRotateCustomAppSecretMutation, GQLRotateCustomAppSecretMutationVariables>(
8064
+ client,
8065
+ RotateCustomAppSecretDocument,
8066
+ variables,
8067
+ headers,
8068
+ )(),
8069
+ ...options,
8070
+ });
7470
8071
  };
7471
8072
 
7472
- export const SetExternalAppEnabledDocument = `
7473
- mutation SetExternalAppEnabled($org: String, $clientId: String!, $enabled: Boolean!) {
7474
- setExternalAppEnabled(org: $org, clientId: $clientId, enabled: $enabled) {
7475
- ...ExternalAppFields
8073
+ export const SetCustomAppEnabledDocument = `
8074
+ mutation SetCustomAppEnabled($org: String, $clientId: String!, $enabled: Boolean!) {
8075
+ setCustomAppEnabled(org: $org, clientId: $clientId, enabled: $enabled) {
8076
+ ...CustomAppFields
7476
8077
  }
7477
8078
  }
7478
- ${ExternalAppFieldsFragmentDoc}`;
8079
+ ${CustomAppFieldsFragmentDoc}`;
7479
8080
 
7480
- export const useSetExternalAppEnabledMutation = <TError = unknown, TContext = unknown>(
8081
+ export const useSetCustomAppEnabledMutation = <TError = unknown, TContext = unknown>(
7481
8082
  client: GraphQLClient,
7482
8083
  options?: UseMutationOptions<
7483
- GQLSetExternalAppEnabledMutation,
8084
+ GQLSetCustomAppEnabledMutation,
7484
8085
  TError,
7485
- GQLSetExternalAppEnabledMutationVariables,
8086
+ GQLSetCustomAppEnabledMutationVariables,
7486
8087
  TContext
7487
8088
  >,
7488
8089
  headers?: RequestInit["headers"],
7489
8090
  ) => {
7490
- return useMutation<GQLSetExternalAppEnabledMutation, TError, GQLSetExternalAppEnabledMutationVariables, TContext>({
7491
- mutationKey: ["SetExternalAppEnabled"],
7492
- mutationFn: (variables?: GQLSetExternalAppEnabledMutationVariables) =>
7493
- fetcher<GQLSetExternalAppEnabledMutation, GQLSetExternalAppEnabledMutationVariables>(
8091
+ return useMutation<GQLSetCustomAppEnabledMutation, TError, GQLSetCustomAppEnabledMutationVariables, TContext>({
8092
+ mutationKey: ["SetCustomAppEnabled"],
8093
+ mutationFn: (variables?: GQLSetCustomAppEnabledMutationVariables) =>
8094
+ fetcher<GQLSetCustomAppEnabledMutation, GQLSetCustomAppEnabledMutationVariables>(
7494
8095
  client,
7495
- SetExternalAppEnabledDocument,
8096
+ SetCustomAppEnabledDocument,
7496
8097
  variables,
7497
8098
  headers,
7498
8099
  )(),
@@ -7599,6 +8200,41 @@ export const useSyncGmailIntegrationMutation = <TError = unknown, TContext = unk
7599
8200
  });
7600
8201
  };
7601
8202
 
8203
+ export const UpdateCustomAppDocument = `
8204
+ mutation UpdateCustomApp($org: String, $clientId: String!, $name: String, $redirectUris: [String!], $homeUrl: String, $machineAccess: Boolean, $datastores: [String!], $permissions: [CustomAppPermission!]) {
8205
+ updateCustomApp(
8206
+ org: $org
8207
+ clientId: $clientId
8208
+ name: $name
8209
+ redirectUris: $redirectUris
8210
+ homeUrl: $homeUrl
8211
+ machineAccess: $machineAccess
8212
+ datastores: $datastores
8213
+ permissions: $permissions
8214
+ ) {
8215
+ ...CustomAppFields
8216
+ }
8217
+ }
8218
+ ${CustomAppFieldsFragmentDoc}`;
8219
+
8220
+ export const useUpdateCustomAppMutation = <TError = unknown, TContext = unknown>(
8221
+ client: GraphQLClient,
8222
+ options?: UseMutationOptions<GQLUpdateCustomAppMutation, TError, GQLUpdateCustomAppMutationVariables, TContext>,
8223
+ headers?: RequestInit["headers"],
8224
+ ) => {
8225
+ return useMutation<GQLUpdateCustomAppMutation, TError, GQLUpdateCustomAppMutationVariables, TContext>({
8226
+ mutationKey: ["UpdateCustomApp"],
8227
+ mutationFn: (variables?: GQLUpdateCustomAppMutationVariables) =>
8228
+ fetcher<GQLUpdateCustomAppMutation, GQLUpdateCustomAppMutationVariables>(
8229
+ client,
8230
+ UpdateCustomAppDocument,
8231
+ variables,
8232
+ headers,
8233
+ )(),
8234
+ ...options,
8235
+ });
8236
+ };
8237
+
7602
8238
  export const UpdateDataConnectionDocument = `
7603
8239
  mutation UpdateDataConnection($input: UpdateDataConnectionInput!) {
7604
8240
  updateDataConnection(input: $input) {
@@ -7632,41 +8268,6 @@ export const useUpdateDataConnectionMutation = <TError = unknown, TContext = unk
7632
8268
  });
7633
8269
  };
7634
8270
 
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
8271
  export const UpdateMemoryDocument = `
7671
8272
  mutation UpdateMemory($input: UpdateMemoryInput!) {
7672
8273
  updateMemory(input: $input) {
@@ -8494,6 +9095,62 @@ export const useSuspenseConnectedAccountsQuery = <TData = GQLConnectedAccountsQu
8494
9095
  useSuspenseConnectedAccountsQuery.getKey = (variables?: GQLConnectedAccountsQueryVariables) =>
8495
9096
  variables === undefined ? ["ConnectedAccountsSuspense"] : ["ConnectedAccountsSuspense", variables];
8496
9097
 
9098
+ export const ConnectedCustomAppsDocument = `
9099
+ query ConnectedCustomApps {
9100
+ connectedCustomApps {
9101
+ clientId
9102
+ name
9103
+ orgName
9104
+ }
9105
+ }
9106
+ `;
9107
+
9108
+ export const useConnectedCustomAppsQuery = <TData = GQLConnectedCustomAppsQuery, TError = unknown>(
9109
+ client: GraphQLClient,
9110
+ variables?: GQLConnectedCustomAppsQueryVariables,
9111
+ options?: Omit<UseQueryOptions<GQLConnectedCustomAppsQuery, TError, TData>, "queryKey"> & {
9112
+ queryKey?: UseQueryOptions<GQLConnectedCustomAppsQuery, TError, TData>["queryKey"];
9113
+ },
9114
+ headers?: RequestInit["headers"],
9115
+ ) => {
9116
+ return useQuery<GQLConnectedCustomAppsQuery, TError, TData>({
9117
+ queryKey: variables === undefined ? ["ConnectedCustomApps"] : ["ConnectedCustomApps", variables],
9118
+ queryFn: fetcher<GQLConnectedCustomAppsQuery, GQLConnectedCustomAppsQueryVariables>(
9119
+ client,
9120
+ ConnectedCustomAppsDocument,
9121
+ variables,
9122
+ headers,
9123
+ ),
9124
+ ...options,
9125
+ });
9126
+ };
9127
+
9128
+ useConnectedCustomAppsQuery.getKey = (variables?: GQLConnectedCustomAppsQueryVariables) =>
9129
+ variables === undefined ? ["ConnectedCustomApps"] : ["ConnectedCustomApps", variables];
9130
+
9131
+ export const useSuspenseConnectedCustomAppsQuery = <TData = GQLConnectedCustomAppsQuery, TError = unknown>(
9132
+ client: GraphQLClient,
9133
+ variables?: GQLConnectedCustomAppsQueryVariables,
9134
+ options?: Omit<UseSuspenseQueryOptions<GQLConnectedCustomAppsQuery, TError, TData>, "queryKey"> & {
9135
+ queryKey?: UseSuspenseQueryOptions<GQLConnectedCustomAppsQuery, TError, TData>["queryKey"];
9136
+ },
9137
+ headers?: RequestInit["headers"],
9138
+ ) => {
9139
+ return useSuspenseQuery<GQLConnectedCustomAppsQuery, TError, TData>({
9140
+ queryKey: variables === undefined ? ["ConnectedCustomAppsSuspense"] : ["ConnectedCustomAppsSuspense", variables],
9141
+ queryFn: fetcher<GQLConnectedCustomAppsQuery, GQLConnectedCustomAppsQueryVariables>(
9142
+ client,
9143
+ ConnectedCustomAppsDocument,
9144
+ variables,
9145
+ headers,
9146
+ ),
9147
+ ...options,
9148
+ });
9149
+ };
9150
+
9151
+ useSuspenseConnectedCustomAppsQuery.getKey = (variables?: GQLConnectedCustomAppsQueryVariables) =>
9152
+ variables === undefined ? ["ConnectedCustomAppsSuspense"] : ["ConnectedCustomAppsSuspense", variables];
9153
+
8497
9154
  export const ConversationStartersDocument = `
8498
9155
  query ConversationStarters($planGraphIri: IRI) {
8499
9156
  conversationStarters(planGraphIri: $planGraphIri) {
@@ -8687,6 +9344,230 @@ useSuspenseCurrentFactValueQuery.getKey = (variables: GQLCurrentFactValueQueryVa
8687
9344
  variables,
8688
9345
  ];
8689
9346
 
9347
+ export const CustomAppDatastoresDocument = `
9348
+ query CustomAppDatastores($org: String) {
9349
+ customAppDatastores(org: $org) {
9350
+ id
9351
+ name
9352
+ depth
9353
+ }
9354
+ }
9355
+ `;
9356
+
9357
+ export const useCustomAppDatastoresQuery = <TData = GQLCustomAppDatastoresQuery, TError = unknown>(
9358
+ client: GraphQLClient,
9359
+ variables?: GQLCustomAppDatastoresQueryVariables,
9360
+ options?: Omit<UseQueryOptions<GQLCustomAppDatastoresQuery, TError, TData>, "queryKey"> & {
9361
+ queryKey?: UseQueryOptions<GQLCustomAppDatastoresQuery, TError, TData>["queryKey"];
9362
+ },
9363
+ headers?: RequestInit["headers"],
9364
+ ) => {
9365
+ return useQuery<GQLCustomAppDatastoresQuery, TError, TData>({
9366
+ queryKey: variables === undefined ? ["CustomAppDatastores"] : ["CustomAppDatastores", variables],
9367
+ queryFn: fetcher<GQLCustomAppDatastoresQuery, GQLCustomAppDatastoresQueryVariables>(
9368
+ client,
9369
+ CustomAppDatastoresDocument,
9370
+ variables,
9371
+ headers,
9372
+ ),
9373
+ ...options,
9374
+ });
9375
+ };
9376
+
9377
+ useCustomAppDatastoresQuery.getKey = (variables?: GQLCustomAppDatastoresQueryVariables) =>
9378
+ variables === undefined ? ["CustomAppDatastores"] : ["CustomAppDatastores", variables];
9379
+
9380
+ export const useSuspenseCustomAppDatastoresQuery = <TData = GQLCustomAppDatastoresQuery, TError = unknown>(
9381
+ client: GraphQLClient,
9382
+ variables?: GQLCustomAppDatastoresQueryVariables,
9383
+ options?: Omit<UseSuspenseQueryOptions<GQLCustomAppDatastoresQuery, TError, TData>, "queryKey"> & {
9384
+ queryKey?: UseSuspenseQueryOptions<GQLCustomAppDatastoresQuery, TError, TData>["queryKey"];
9385
+ },
9386
+ headers?: RequestInit["headers"],
9387
+ ) => {
9388
+ return useSuspenseQuery<GQLCustomAppDatastoresQuery, TError, TData>({
9389
+ queryKey: variables === undefined ? ["CustomAppDatastoresSuspense"] : ["CustomAppDatastoresSuspense", variables],
9390
+ queryFn: fetcher<GQLCustomAppDatastoresQuery, GQLCustomAppDatastoresQueryVariables>(
9391
+ client,
9392
+ CustomAppDatastoresDocument,
9393
+ variables,
9394
+ headers,
9395
+ ),
9396
+ ...options,
9397
+ });
9398
+ };
9399
+
9400
+ useSuspenseCustomAppDatastoresQuery.getKey = (variables?: GQLCustomAppDatastoresQueryVariables) =>
9401
+ variables === undefined ? ["CustomAppDatastoresSuspense"] : ["CustomAppDatastoresSuspense", variables];
9402
+
9403
+ export const CustomAppUsersDocument = `
9404
+ query CustomAppUsers($org: String, $clientId: String!, $first: Int, $max: Int, $createdFrom: String, $createdUntil: String, $search: String, $status: CustomAppUserStatusFilter) {
9405
+ customAppUsers(
9406
+ org: $org
9407
+ clientId: $clientId
9408
+ first: $first
9409
+ max: $max
9410
+ createdFrom: $createdFrom
9411
+ createdUntil: $createdUntil
9412
+ search: $search
9413
+ status: $status
9414
+ ) {
9415
+ users {
9416
+ userId
9417
+ name
9418
+ email
9419
+ teams
9420
+ allTeams
9421
+ createdAt
9422
+ chatCount
9423
+ invitedAt
9424
+ mantaMember
9425
+ }
9426
+ total
9427
+ }
9428
+ }
9429
+ `;
9430
+
9431
+ export const useCustomAppUsersQuery = <TData = GQLCustomAppUsersQuery, TError = unknown>(
9432
+ client: GraphQLClient,
9433
+ variables: GQLCustomAppUsersQueryVariables,
9434
+ options?: Omit<UseQueryOptions<GQLCustomAppUsersQuery, TError, TData>, "queryKey"> & {
9435
+ queryKey?: UseQueryOptions<GQLCustomAppUsersQuery, TError, TData>["queryKey"];
9436
+ },
9437
+ headers?: RequestInit["headers"],
9438
+ ) => {
9439
+ return useQuery<GQLCustomAppUsersQuery, TError, TData>({
9440
+ queryKey: ["CustomAppUsers", variables],
9441
+ queryFn: fetcher<GQLCustomAppUsersQuery, GQLCustomAppUsersQueryVariables>(
9442
+ client,
9443
+ CustomAppUsersDocument,
9444
+ variables,
9445
+ headers,
9446
+ ),
9447
+ ...options,
9448
+ });
9449
+ };
9450
+
9451
+ useCustomAppUsersQuery.getKey = (variables: GQLCustomAppUsersQueryVariables) => ["CustomAppUsers", variables];
9452
+
9453
+ export const useSuspenseCustomAppUsersQuery = <TData = GQLCustomAppUsersQuery, TError = unknown>(
9454
+ client: GraphQLClient,
9455
+ variables: GQLCustomAppUsersQueryVariables,
9456
+ options?: Omit<UseSuspenseQueryOptions<GQLCustomAppUsersQuery, TError, TData>, "queryKey"> & {
9457
+ queryKey?: UseSuspenseQueryOptions<GQLCustomAppUsersQuery, TError, TData>["queryKey"];
9458
+ },
9459
+ headers?: RequestInit["headers"],
9460
+ ) => {
9461
+ return useSuspenseQuery<GQLCustomAppUsersQuery, TError, TData>({
9462
+ queryKey: ["CustomAppUsersSuspense", variables],
9463
+ queryFn: fetcher<GQLCustomAppUsersQuery, GQLCustomAppUsersQueryVariables>(
9464
+ client,
9465
+ CustomAppUsersDocument,
9466
+ variables,
9467
+ headers,
9468
+ ),
9469
+ ...options,
9470
+ });
9471
+ };
9472
+
9473
+ useSuspenseCustomAppUsersQuery.getKey = (variables: GQLCustomAppUsersQueryVariables) => [
9474
+ "CustomAppUsersSuspense",
9475
+ variables,
9476
+ ];
9477
+
9478
+ export const CustomAppDocument = `
9479
+ query CustomApp($org: String, $clientId: String!) {
9480
+ customApp(org: $org, clientId: $clientId) {
9481
+ ...CustomAppFields
9482
+ }
9483
+ }
9484
+ ${CustomAppFieldsFragmentDoc}`;
9485
+
9486
+ export const useCustomAppQuery = <TData = GQLCustomAppQuery, TError = unknown>(
9487
+ client: GraphQLClient,
9488
+ variables: GQLCustomAppQueryVariables,
9489
+ options?: Omit<UseQueryOptions<GQLCustomAppQuery, TError, TData>, "queryKey"> & {
9490
+ queryKey?: UseQueryOptions<GQLCustomAppQuery, TError, TData>["queryKey"];
9491
+ },
9492
+ headers?: RequestInit["headers"],
9493
+ ) => {
9494
+ return useQuery<GQLCustomAppQuery, TError, TData>({
9495
+ queryKey: ["CustomApp", variables],
9496
+ queryFn: fetcher<GQLCustomAppQuery, GQLCustomAppQueryVariables>(client, CustomAppDocument, variables, headers),
9497
+ ...options,
9498
+ });
9499
+ };
9500
+
9501
+ useCustomAppQuery.getKey = (variables: GQLCustomAppQueryVariables) => ["CustomApp", variables];
9502
+
9503
+ export const useSuspenseCustomAppQuery = <TData = GQLCustomAppQuery, TError = unknown>(
9504
+ client: GraphQLClient,
9505
+ variables: GQLCustomAppQueryVariables,
9506
+ options?: Omit<UseSuspenseQueryOptions<GQLCustomAppQuery, TError, TData>, "queryKey"> & {
9507
+ queryKey?: UseSuspenseQueryOptions<GQLCustomAppQuery, TError, TData>["queryKey"];
9508
+ },
9509
+ headers?: RequestInit["headers"],
9510
+ ) => {
9511
+ return useSuspenseQuery<GQLCustomAppQuery, TError, TData>({
9512
+ queryKey: ["CustomAppSuspense", variables],
9513
+ queryFn: fetcher<GQLCustomAppQuery, GQLCustomAppQueryVariables>(client, CustomAppDocument, variables, headers),
9514
+ ...options,
9515
+ });
9516
+ };
9517
+
9518
+ useSuspenseCustomAppQuery.getKey = (variables: GQLCustomAppQueryVariables) => ["CustomAppSuspense", variables];
9519
+
9520
+ export const CustomAppsDocument = `
9521
+ query CustomApps($org: String, $first: Int, $max: Int, $search: String) {
9522
+ customApps(org: $org, first: $first, max: $max, search: $search) {
9523
+ apps {
9524
+ ...CustomAppFields
9525
+ }
9526
+ nextFirst
9527
+ connection {
9528
+ ...CustomAppConnectionFields
9529
+ }
9530
+ }
9531
+ }
9532
+ ${CustomAppFieldsFragmentDoc}
9533
+ ${CustomAppConnectionFieldsFragmentDoc}`;
9534
+
9535
+ export const useCustomAppsQuery = <TData = GQLCustomAppsQuery, TError = unknown>(
9536
+ client: GraphQLClient,
9537
+ variables?: GQLCustomAppsQueryVariables,
9538
+ options?: Omit<UseQueryOptions<GQLCustomAppsQuery, TError, TData>, "queryKey"> & {
9539
+ queryKey?: UseQueryOptions<GQLCustomAppsQuery, TError, TData>["queryKey"];
9540
+ },
9541
+ headers?: RequestInit["headers"],
9542
+ ) => {
9543
+ return useQuery<GQLCustomAppsQuery, TError, TData>({
9544
+ queryKey: variables === undefined ? ["CustomApps"] : ["CustomApps", variables],
9545
+ queryFn: fetcher<GQLCustomAppsQuery, GQLCustomAppsQueryVariables>(client, CustomAppsDocument, variables, headers),
9546
+ ...options,
9547
+ });
9548
+ };
9549
+
9550
+ useCustomAppsQuery.getKey = (variables?: GQLCustomAppsQueryVariables) =>
9551
+ variables === undefined ? ["CustomApps"] : ["CustomApps", variables];
9552
+
9553
+ export const useSuspenseCustomAppsQuery = <TData = GQLCustomAppsQuery, TError = unknown>(
9554
+ client: GraphQLClient,
9555
+ variables?: GQLCustomAppsQueryVariables,
9556
+ options?: Omit<UseSuspenseQueryOptions<GQLCustomAppsQuery, TError, TData>, "queryKey"> & {
9557
+ queryKey?: UseSuspenseQueryOptions<GQLCustomAppsQuery, TError, TData>["queryKey"];
9558
+ },
9559
+ headers?: RequestInit["headers"],
9560
+ ) => {
9561
+ return useSuspenseQuery<GQLCustomAppsQuery, TError, TData>({
9562
+ queryKey: variables === undefined ? ["CustomAppsSuspense"] : ["CustomAppsSuspense", variables],
9563
+ queryFn: fetcher<GQLCustomAppsQuery, GQLCustomAppsQueryVariables>(client, CustomAppsDocument, variables, headers),
9564
+ ...options,
9565
+ });
9566
+ };
9567
+
9568
+ useSuspenseCustomAppsQuery.getKey = (variables?: GQLCustomAppsQueryVariables) =>
9569
+ variables === undefined ? ["CustomAppsSuspense"] : ["CustomAppsSuspense", variables];
9570
+
8690
9571
  export const CustomerDatastoresDocument = `
8691
9572
  query CustomerDatastores {
8692
9573
  customerDatastores {
@@ -9336,124 +10217,6 @@ useSuspenseExplainRdFoxFactQuery.getKey = (variables: GQLExplainRdFoxFactQueryVa
9336
10217
  variables,
9337
10218
  ];
9338
10219
 
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
10220
  export const GmailIntegrationsDocument = `
9458
10221
  query GmailIntegrations {
9459
10222
  gmailIntegrations {
@@ -9587,6 +10350,71 @@ useSuspenseGoogleAnalyticsSetupProgressQuery.getKey = (variables?: GQLGoogleAnal
9587
10350
  ? ["GoogleAnalyticsSetupProgressSuspense"]
9588
10351
  : ["GoogleAnalyticsSetupProgressSuspense", variables];
9589
10352
 
10353
+ export const GoogleBrandSuggestionsDocument = `
10354
+ query GoogleBrandSuggestions($customerIri: IRI!, $brandPrefix: String!, $selectedBrandIds: [String!]) {
10355
+ googleBrandSuggestions(
10356
+ customerIri: $customerIri
10357
+ brandPrefix: $brandPrefix
10358
+ selectedBrandIds: $selectedBrandIds
10359
+ ) {
10360
+ id
10361
+ name
10362
+ urls
10363
+ state
10364
+ }
10365
+ }
10366
+ `;
10367
+
10368
+ export const useGoogleBrandSuggestionsQuery = <TData = GQLGoogleBrandSuggestionsQuery, TError = unknown>(
10369
+ client: GraphQLClient,
10370
+ variables: GQLGoogleBrandSuggestionsQueryVariables,
10371
+ options?: Omit<UseQueryOptions<GQLGoogleBrandSuggestionsQuery, TError, TData>, "queryKey"> & {
10372
+ queryKey?: UseQueryOptions<GQLGoogleBrandSuggestionsQuery, TError, TData>["queryKey"];
10373
+ },
10374
+ headers?: RequestInit["headers"],
10375
+ ) => {
10376
+ return useQuery<GQLGoogleBrandSuggestionsQuery, TError, TData>({
10377
+ queryKey: ["GoogleBrandSuggestions", variables],
10378
+ queryFn: fetcher<GQLGoogleBrandSuggestionsQuery, GQLGoogleBrandSuggestionsQueryVariables>(
10379
+ client,
10380
+ GoogleBrandSuggestionsDocument,
10381
+ variables,
10382
+ headers,
10383
+ ),
10384
+ ...options,
10385
+ });
10386
+ };
10387
+
10388
+ useGoogleBrandSuggestionsQuery.getKey = (variables: GQLGoogleBrandSuggestionsQueryVariables) => [
10389
+ "GoogleBrandSuggestions",
10390
+ variables,
10391
+ ];
10392
+
10393
+ export const useSuspenseGoogleBrandSuggestionsQuery = <TData = GQLGoogleBrandSuggestionsQuery, TError = unknown>(
10394
+ client: GraphQLClient,
10395
+ variables: GQLGoogleBrandSuggestionsQueryVariables,
10396
+ options?: Omit<UseSuspenseQueryOptions<GQLGoogleBrandSuggestionsQuery, TError, TData>, "queryKey"> & {
10397
+ queryKey?: UseSuspenseQueryOptions<GQLGoogleBrandSuggestionsQuery, TError, TData>["queryKey"];
10398
+ },
10399
+ headers?: RequestInit["headers"],
10400
+ ) => {
10401
+ return useSuspenseQuery<GQLGoogleBrandSuggestionsQuery, TError, TData>({
10402
+ queryKey: ["GoogleBrandSuggestionsSuspense", variables],
10403
+ queryFn: fetcher<GQLGoogleBrandSuggestionsQuery, GQLGoogleBrandSuggestionsQueryVariables>(
10404
+ client,
10405
+ GoogleBrandSuggestionsDocument,
10406
+ variables,
10407
+ headers,
10408
+ ),
10409
+ ...options,
10410
+ });
10411
+ };
10412
+
10413
+ useSuspenseGoogleBrandSuggestionsQuery.getKey = (variables: GQLGoogleBrandSuggestionsQueryVariables) => [
10414
+ "GoogleBrandSuggestionsSuspense",
10415
+ variables,
10416
+ ];
10417
+
9590
10418
  export const GoogleSetupProgressDocument = `
9591
10419
  query GoogleSetupProgress {
9592
10420
  googleSetupProgress {
@@ -10440,7 +11268,7 @@ export const SessionContextDocument = `
10440
11268
  canManageStreams
10441
11269
  canManageSharedMemories
10442
11270
  canManageTeam
10443
- canManageExternalApps
11271
+ canManageCustomApps
10444
11272
  datastore {
10445
11273
  id
10446
11274
  name
@@ -10784,6 +11612,7 @@ export const TeamDirectoryDocument = `
10784
11612
  inviteUrl
10785
11613
  federated
10786
11614
  nameReadOnly
11615
+ operator
10787
11616
  enabled
10788
11617
  memberships {
10789
11618
  org