@@ -149,6 +149,7 @@ export type Connection = {
149149 isStardogFree ?: Maybe < Scalars [ 'Boolean' ] > ;
150150 isWaitingForPayment ?: Maybe < Scalars [ 'Boolean' ] > ;
151151 name : Scalars [ 'String' ] ;
152+ org_domain ?: Maybe < Scalars [ 'String' ] > ;
152153 shouldShowDesigner ?: Maybe < Scalars [ 'Boolean' ] > ;
153154 stripeSubscription ?: Maybe < PurchaseSession > ;
154155 stripeSubscriptionOrder ?: Maybe < ProvisionedOrder > ;
@@ -158,7 +159,6 @@ export type Connection = {
158159 useBrowserAuth ?: Maybe < Scalars [ 'Boolean' ] > ;
159160 useConnectionSSO ?: Maybe < Scalars [ 'Boolean' ] > ;
160161 useSSO ?: Maybe < Scalars [ 'Boolean' ] > ;
161- user ?: Maybe < User > ;
162162 username ?: Maybe < Scalars [ 'String' ] > ;
163163} ;
164164
@@ -402,6 +402,7 @@ export type MutationAcceptInvitationArgs = {
402402/** Root Mutation Type */
403403export type MutationAddConnectionArgs = {
404404 input : AddConnectionInput ;
405+ org ?: InputMaybe < Scalars [ 'String' ] > ;
405406} ;
406407
407408/** Root Mutation Type */
@@ -470,7 +471,8 @@ export type MutationDeleteCloudArgs = {
470471
471472/** Root Mutation Type */
472473export type MutationDeleteConnectionArgs = {
473- name : Scalars [ 'String' ] ;
474+ id : Scalars [ 'String' ] ;
475+ org ?: InputMaybe < Scalars [ 'String' ] > ;
474476} ;
475477
476478/** Root Mutation Type */
@@ -491,6 +493,7 @@ export type MutationEditApiTokenArgs = {
491493/** Root Mutation Type */
492494export type MutationEditConnectionArgs = {
493495 input : EditConnectionInput ;
496+ org ?: InputMaybe < Scalars [ 'String' ] > ;
494497} ;
495498
496499/** Root Mutation Type */
@@ -614,6 +617,13 @@ export type OktaProvider = {
614617 customerName : Scalars [ 'String' ] ;
615618} ;
616619
620+ export type Organization = {
621+ __typename ?: 'Organization' ;
622+ domain ?: Maybe < Scalars [ 'String' ] > ;
623+ id : Scalars [ 'ID' ] ;
624+ name : Scalars [ 'String' ] ;
625+ } ;
626+
617627/** To page through response. */
618628export type PagingInput = {
619629 limit ?: InputMaybe < Scalars [ 'Int' ] > ;
@@ -681,7 +691,7 @@ export type Query = {
681691 customerSsoSettings ?: Maybe < CustomerSsoSettings > ;
682692 generateToken ?: Maybe < OAuthToken > ;
683693 getCloudReport ?: Maybe < CloudReportData > ;
684- getConnection ?: Maybe < Connection > ;
694+ getConnectionById ?: Maybe < Connection > ;
685695 getConnectionByIndex ?: Maybe < Connection > ;
686696 /** Retrieve a single Designer project. */
687697 getDesignerProject : DesignerProject ;
@@ -712,6 +722,7 @@ export type Query = {
712722 listConnections ?: Maybe < Array < Maybe < Connection > > > ;
713723 listConnectionsByEndpoint ?: Maybe < Array < Maybe < Connection > > > ;
714724 listInactiveClouds ?: Maybe < Array < Maybe < StardogCloud > > > ;
725+ listOrganizations ?: Maybe < Array < Maybe < Organization > > > ;
715726 listStardogCloud ?: Maybe < Array < Maybe < StardogCloud > > > ;
716727 /** Retrieve Voicebox Applications owned by the authenticated user. */
717728 listVoiceboxApps ?: Maybe < Array < Maybe < VoiceboxApp > > > ;
@@ -741,7 +752,7 @@ export type QueryApiTokenCountArgs = {
741752
742753/** Root Query Type */
743754export type QueryGenerateTokenArgs = {
744- endpoint : Scalars [ 'String' ] ;
755+ connection_id : Scalars [ 'String' ] ;
745756} ;
746757
747758/** Root Query Type */
@@ -750,13 +761,15 @@ export type QueryGetCloudReportArgs = {
750761} ;
751762
752763/** Root Query Type */
753- export type QueryGetConnectionArgs = {
754- name : Scalars [ 'String' ] ;
764+ export type QueryGetConnectionByIdArgs = {
765+ id : Scalars [ 'String' ] ;
766+ org ?: InputMaybe < Scalars [ 'String' ] > ;
755767} ;
756768
757769/** Root Query Type */
758770export type QueryGetConnectionByIndexArgs = {
759771 index : Scalars [ 'Int' ] ;
772+ org ?: InputMaybe < Scalars [ 'String' ] > ;
760773} ;
761774
762775/** Root Query Type */
@@ -826,9 +839,15 @@ export type QueryListApiTokensArgs = {
826839 paging ?: InputMaybe < PagingInput > ;
827840} ;
828841
842+ /** Root Query Type */
843+ export type QueryListConnectionsArgs = {
844+ org ?: InputMaybe < Scalars [ 'String' ] > ;
845+ } ;
846+
829847/** Root Query Type */
830848export type QueryListConnectionsByEndpointArgs = {
831849 endpoint : Scalars [ 'String' ] ;
850+ org ?: InputMaybe < Scalars [ 'String' ] > ;
832851} ;
833852
834853/** Root Query Type */
@@ -1195,6 +1214,7 @@ export type CreateDesignerProjectMutation = {
11951214
11961215export type GetConnectionByIndexQueryVariables = Exact < {
11971216 index : Scalars [ 'Int' ] ;
1217+ org ?: InputMaybe < Scalars [ 'String' ] > ;
11981218} > ;
11991219
12001220export type GetConnectionByIndexQuery = {
@@ -1296,7 +1316,9 @@ export type GetVoiceboxConversationQuery = {
12961316 } | null ;
12971317} ;
12981318
1299- export type ListConnectionsQueryVariables = Exact < { [ key : string ] : never } > ;
1319+ export type ListConnectionsQueryVariables = Exact < {
1320+ org ?: InputMaybe < Scalars [ 'String' ] > ;
1321+ } > ;
13001322
13011323export type ListConnectionsQuery = {
13021324 __typename ?: 'Query' ;
@@ -1312,6 +1334,18 @@ export type ListConnectionsQuery = {
13121334 } | null > | null ;
13131335} ;
13141336
1337+ export type ListOrganizationsQueryVariables = Exact < { [ key : string ] : never } > ;
1338+
1339+ export type ListOrganizationsQuery = {
1340+ __typename ?: 'Query' ;
1341+ listOrganizations ?: Array < {
1342+ __typename ?: 'Organization' ;
1343+ id : string ;
1344+ name : string ;
1345+ domain ?: string | null ;
1346+ } | null > | null ;
1347+ } ;
1348+
13151349export type ListVoiceboxConversationsQueryVariables = Exact < {
13161350 paging ?: InputMaybe < PagingInput > ;
13171351} > ;
@@ -1435,8 +1469,8 @@ export const CreateDesignerProjectDocument = `
14351469}
14361470 ` ;
14371471export const GetConnectionByIndexDocument = `
1438- query getConnectionByIndex($index: Int!) {
1439- connection: getConnectionByIndex(index: $index) {
1472+ query getConnectionByIndex($index: Int!, $org: String ) {
1473+ connection: getConnectionByIndex(index: $index, org: $org ) {
14401474 token
14411475 username
14421476 endpoint
@@ -1526,8 +1560,8 @@ export const GetVoiceboxConversationDocument = `
15261560}
15271561 ` ;
15281562export const ListConnectionsDocument = `
1529- query listConnections {
1530- listConnections {
1563+ query listConnections($org: String) {
1564+ listConnections(org: $org) {
15311565 dashboard
15321566 endpoint
15331567 id
@@ -1538,6 +1572,15 @@ export const ListConnectionsDocument = `
15381572 }
15391573}
15401574 ` ;
1575+ export const ListOrganizationsDocument = `
1576+ query listOrganizations {
1577+ listOrganizations {
1578+ id
1579+ name
1580+ domain
1581+ }
1582+ }
1583+ ` ;
15411584export const ListVoiceboxConversationsDocument = `
15421585 query listVoiceboxConversations($paging: PagingInput) {
15431586 listVoiceboxConversations(paging: $paging) {
@@ -1749,6 +1792,21 @@ export function getSdk(
17491792 'query'
17501793 ) ;
17511794 } ,
1795+ listOrganizations (
1796+ variables ?: ListOrganizationsQueryVariables ,
1797+ requestHeaders ?: Dom . RequestInit [ 'headers' ]
1798+ ) : Promise < ListOrganizationsQuery > {
1799+ return withWrapper (
1800+ ( wrappedRequestHeaders ) =>
1801+ client . request < ListOrganizationsQuery > (
1802+ ListOrganizationsDocument ,
1803+ variables ,
1804+ { ...requestHeaders , ...wrappedRequestHeaders }
1805+ ) ,
1806+ 'listOrganizations' ,
1807+ 'query'
1808+ ) ;
1809+ } ,
17521810 listVoiceboxConversations (
17531811 variables ?: ListVoiceboxConversationsQueryVariables ,
17541812 requestHeaders ?: Dom . RequestInit [ 'headers' ]
0 commit comments