@droz-js/sdk
Advanced tools
Comparing version 0.5.27 to 0.6.0
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.5.27", | ||
"version": "0.6.0", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -9,17 +9,39 @@ export * from './sdks/droznexo'; | ||
} & { | ||
listDrozNexoSuggestions(variables?: import("./sdks/droznexo").Exact<{ | ||
[key: string]: never; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").ListDrozNexoSuggestionsQuery>; | ||
listDrozNexoConnections(variables?: import("./sdks/droznexo").Exact<{ | ||
next?: object; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").ListDrozNexoConnectionsQuery>; | ||
getUsageStatistics(variables?: import("./sdks/droznexo").Exact<{ | ||
[key: string]: never; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").GetUsageStatisticsQuery>; | ||
createDrozNexoConnection(variables: import("./sdks/droznexo").Exact<{ | ||
input: import("./sdks/droznexo").CreateDrozNexoConnectionInput; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").CreateDrozNexoConnectionMutation>; | ||
removeDrozNexoConnection(variables: import("./sdks/droznexo").Exact<{ | ||
input: import("./sdks/droznexo").RemoveDrozNexoConnectionInput; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").RemoveDrozNexoConnectionMutation>; | ||
getFlow(variables: import("./sdks/droznexo").Exact<{ | ||
id: string; | ||
versionId: string; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").GetFlowQuery>; | ||
listFlows(variables?: import("./sdks/droznexo").Exact<{ | ||
[key: string]: never; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").ListFlowsQuery>; | ||
listSimpleSuggestions(variables?: import("./sdks/droznexo").Exact<{ | ||
[key: string]: never; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").ListSimpleSuggestionsQuery>; | ||
listSimpleConnections(variables?: import("./sdks/droznexo").Exact<{ | ||
next?: object; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").ListSimpleConnectionsQuery>; | ||
createFlow(variables: import("./sdks/droznexo").Exact<{ | ||
input: import("./sdks/droznexo").CreateFlowInput; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").CreateFlowMutation>; | ||
editFlow(variables: import("./sdks/droznexo").Exact<{ | ||
input: import("./sdks/droznexo").EditFlowInput; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").EditFlowMutation>; | ||
updateFlow(variables: import("./sdks/droznexo").Exact<{ | ||
input: import("./sdks/droznexo").UpdateFlowInput; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").UpdateFlowMutation>; | ||
publishFlow(variables: import("./sdks/droznexo").Exact<{ | ||
input: import("./sdks/droznexo").PublishFlowInput; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").PublishFlowMutation>; | ||
removeFlow(variables: import("./sdks/droznexo").Exact<{ | ||
input: import("./sdks/droznexo").RemoveFlowInput; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").RemoveFlowMutation>; | ||
createSimpleConnection(variables: import("./sdks/droznexo").Exact<{ | ||
input: import("./sdks/droznexo").CreateSimpleConnectionInput; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").CreateSimpleConnectionMutation>; | ||
removeSimpleConnection(variables: import("./sdks/droznexo").Exact<{ | ||
input: import("./sdks/droznexo").RemoveSimpleConnectionInput; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").RemoveSimpleConnectionMutation>; | ||
}; |
@@ -55,2 +55,5 @@ import { CreatePresignedUploadUrlInput } from './sdks/nucleus'; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").GetAppInstanceQuery>; | ||
getAppInstances(variables: import("./sdks/nucleus").Exact<{ | ||
drns: string | string[]; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").GetAppInstancesQuery>; | ||
listAppInstances(variables?: import("./sdks/nucleus").Exact<{ | ||
@@ -57,0 +60,0 @@ appId?: string; |
@@ -93,2 +93,6 @@ export type Maybe<T> = T; | ||
}; | ||
export type AppAndAppInstance = { | ||
app: DrozNexoApp; | ||
appInstance: DrozNexoAppInstance; | ||
}; | ||
export declare enum AppInstanceStatus { | ||
@@ -105,4 +109,8 @@ Active = "Active", | ||
} | ||
export type CreateDrozNexoConnectionInput = { | ||
export type CreateFlowInput = { | ||
description?: InputMaybe<Scalars['String']['input']>; | ||
title: Scalars['String']['input']; | ||
}; | ||
export type CreateSimpleConnectionInput = { | ||
description?: InputMaybe<Scalars['String']['input']>; | ||
destinationDrn: Scalars['DRN']['input']; | ||
@@ -117,6 +125,2 @@ title?: InputMaybe<Scalars['String']['input']>; | ||
}; | ||
export type DrozNexoAppAndAppInstance = { | ||
app: DrozNexoApp; | ||
appInstance: DrozNexoAppInstance; | ||
}; | ||
export type DrozNexoAppInstance = { | ||
@@ -126,28 +130,52 @@ createdAt: Scalars['DateTime']['output']; | ||
name: Scalars['String']['output']; | ||
transitions: Array<Scalars['String']['output']>; | ||
updatedAt: Scalars['DateTime']['output']; | ||
}; | ||
export type DrozNexoConnection = { | ||
export type DrozNexoUsageStatistics = { | ||
totalAppInstances: Scalars['Int']['output']; | ||
totalConnections: Scalars['Int']['output']; | ||
totalSecrets: Scalars['Int']['output']; | ||
}; | ||
export type Edge = { | ||
id: Scalars['ID']['output']; | ||
source: Scalars['ID']['output']; | ||
sourceHandle: Scalars['String']['output']; | ||
target: Scalars['ID']['output']; | ||
type: Scalars['String']['output']; | ||
uidata?: Maybe<Scalars['JSON']['output']>; | ||
}; | ||
export type EdgeInput = { | ||
id: Scalars['ID']['input']; | ||
source: Scalars['ID']['input']; | ||
sourceHandle: Scalars['String']['input']; | ||
target: Scalars['ID']['input']; | ||
type: Scalars['String']['input']; | ||
uidata?: InputMaybe<Scalars['JSON']['input']>; | ||
}; | ||
export type EditFlowInput = { | ||
id: Scalars['ID']['input']; | ||
}; | ||
export type Flow = { | ||
createdAt: Scalars['DateTime']['output']; | ||
description?: Maybe<Scalars['String']['output']>; | ||
destination: DrozNexoAppAndAppInstance; | ||
edges: Array<Edge>; | ||
id: Scalars['ID']['output']; | ||
title?: Maybe<Scalars['String']['output']>; | ||
trigger: DrozNexoAppAndAppInstance; | ||
nodes: Array<Node>; | ||
stateMachineId: Scalars['ID']['output']; | ||
status: FlowStatus; | ||
title: Scalars['String']['output']; | ||
triggers: Array<AppAndAppInstance>; | ||
updatedAt: Scalars['DateTime']['output']; | ||
versionId: Scalars['ID']['output']; | ||
}; | ||
export type DrozNexoConnectionConnection = { | ||
nodes: Array<DrozNexoConnection>; | ||
export type FlowConnection = { | ||
nodes: Array<Flow>; | ||
pageInfo: PageInfo; | ||
}; | ||
export type DrozNexoConnectionSuggestion = { | ||
destination: DrozNexoAppAndAppInstance; | ||
title: Scalars['String']['output']; | ||
trigger: DrozNexoAppAndAppInstance; | ||
}; | ||
export type DrozNexoUsageStatistics = { | ||
totalAppInstances: Scalars['Int']['output']; | ||
totalConnections: Scalars['Int']['output']; | ||
totalSecrets: Scalars['Int']['output']; | ||
}; | ||
export declare enum FlowStatus { | ||
Draft = "Draft", | ||
Live = "Live", | ||
Published = "Published", | ||
Removed = "Removed" | ||
} | ||
export type I18nText = { | ||
@@ -162,12 +190,43 @@ lang: Scalars['Locale']['output']; | ||
export type Mutation = { | ||
createDrozNexoConnection: DrozNexoConnection; | ||
removeDrozNexoConnection: DrozNexoConnection; | ||
createFlow: Flow; | ||
createSimpleConnection: SimpleConnection; | ||
editFlow: Flow; | ||
publishFlow: Flow; | ||
removeFlow: Flow; | ||
removeSimpleConnection: SimpleConnection; | ||
updateFlow: Flow; | ||
version?: Maybe<Scalars['String']['output']>; | ||
}; | ||
export type MutationCreateDrozNexoConnectionArgs = { | ||
input: CreateDrozNexoConnectionInput; | ||
export type MutationCreateFlowArgs = { | ||
input: CreateFlowInput; | ||
}; | ||
export type MutationRemoveDrozNexoConnectionArgs = { | ||
input: RemoveDrozNexoConnectionInput; | ||
export type MutationCreateSimpleConnectionArgs = { | ||
input: CreateSimpleConnectionInput; | ||
}; | ||
export type MutationEditFlowArgs = { | ||
input: EditFlowInput; | ||
}; | ||
export type MutationPublishFlowArgs = { | ||
input: PublishFlowInput; | ||
}; | ||
export type MutationRemoveFlowArgs = { | ||
input: RemoveFlowInput; | ||
}; | ||
export type MutationRemoveSimpleConnectionArgs = { | ||
input: RemoveSimpleConnectionInput; | ||
}; | ||
export type MutationUpdateFlowArgs = { | ||
input: UpdateFlowInput; | ||
}; | ||
export type Node = { | ||
data: AppAndAppInstance; | ||
id: Scalars['ID']['output']; | ||
type: Scalars['String']['output']; | ||
uidata?: Maybe<Scalars['JSON']['output']>; | ||
}; | ||
export type NodeInput = { | ||
id: Scalars['ID']['input']; | ||
type: Scalars['String']['input']; | ||
uidata?: InputMaybe<Scalars['JSON']['input']>; | ||
}; | ||
export type NumberFilterInput = { | ||
@@ -186,17 +245,34 @@ btw?: InputMaybe<Array<Scalars['Float']['input']>>; | ||
}; | ||
export type PublishFlowInput = { | ||
id: Scalars['ID']['input']; | ||
versionId: Scalars['ID']['input']; | ||
}; | ||
export type Query = { | ||
app?: Maybe<Scalars['DRN']['output']>; | ||
getFlow: Flow; | ||
getHttpEndpoint?: Maybe<Scalars['String']['output']>; | ||
getUsageStatistics?: Maybe<DrozNexoUsageStatistics>; | ||
listDrozNexoConnections: DrozNexoConnectionConnection; | ||
listDrozNexoSuggestions: Array<DrozNexoConnectionSuggestion>; | ||
listFlows: FlowConnection; | ||
listSimpleConnectionSuggestions: Array<SimpleConnectionSuggestion>; | ||
listSimpleConnections: SimpleConnectionConnection; | ||
version?: Maybe<Scalars['String']['output']>; | ||
}; | ||
export type QueryListDrozNexoConnectionsArgs = { | ||
export type QueryGetFlowArgs = { | ||
id: Scalars['ID']['input']; | ||
versionId: Scalars['ID']['input']; | ||
}; | ||
export type QueryListFlowsArgs = { | ||
next?: InputMaybe<Scalars['Base64']['input']>; | ||
}; | ||
export type RemoveDrozNexoConnectionInput = { | ||
export type QueryListSimpleConnectionsArgs = { | ||
next?: InputMaybe<Scalars['Base64']['input']>; | ||
}; | ||
export type RemoveFlowInput = { | ||
id: Scalars['ID']['input']; | ||
versionId: Scalars['ID']['input']; | ||
}; | ||
export type RemoveSimpleConnectionInput = { | ||
id: Scalars['ID']['input']; | ||
versionId: Scalars['ID']['input']; | ||
}; | ||
export type SearchResultsFacet = { | ||
@@ -223,2 +299,21 @@ name: Scalars['String']['output']; | ||
}; | ||
export type SimpleConnection = { | ||
createdAt: Scalars['DateTime']['output']; | ||
description?: Maybe<Scalars['String']['output']>; | ||
destination: AppAndAppInstance; | ||
id: Scalars['ID']['output']; | ||
title?: Maybe<Scalars['String']['output']>; | ||
trigger: AppAndAppInstance; | ||
updatedAt: Scalars['DateTime']['output']; | ||
versionId: Scalars['ID']['output']; | ||
}; | ||
export type SimpleConnectionConnection = { | ||
nodes: Array<SimpleConnection>; | ||
pageInfo: PageInfo; | ||
}; | ||
export type SimpleConnectionSuggestion = { | ||
destination: AppAndAppInstance; | ||
title: Scalars['String']['output']; | ||
trigger: AppAndAppInstance; | ||
}; | ||
export type StringFilterInput = { | ||
@@ -231,67 +326,149 @@ eq?: InputMaybe<Scalars['String']['input']>; | ||
Any = "Any", | ||
Flows = "Flows", | ||
GraphqlConnections = "GraphqlConnections", | ||
GraphqlSubscriptions = "GraphqlSubscriptions" | ||
} | ||
export type DrozNexoAppInstanceFragment = { | ||
export type UpdateFlowInput = { | ||
description?: InputMaybe<Scalars['String']['input']>; | ||
edges: Array<EdgeInput>; | ||
id: Scalars['ID']['input']; | ||
nodes: Array<NodeInput>; | ||
title?: InputMaybe<Scalars['String']['input']>; | ||
triggers?: InputMaybe<Scalars['Set']['input']>; | ||
versionId: Scalars['ID']['input']; | ||
}; | ||
export type AppAndAppInstanceFragment = { | ||
app: Pick<DrozNexoApp, 'id' | 'name' | 'description'>; | ||
appInstance: Pick<DrozNexoAppInstance, 'drn' | 'name' | 'createdAt' | 'updatedAt'>; | ||
appInstance: Pick<DrozNexoAppInstance, 'drn' | 'name' | 'transitions' | 'createdAt' | 'updatedAt'>; | ||
}; | ||
export type DrozNexoSuggestionFragment = (Pick<DrozNexoConnectionSuggestion, 'title'> & { | ||
trigger: DrozNexoAppInstanceFragment; | ||
destination: DrozNexoAppInstanceFragment; | ||
export type SimpleConnectionSuggestionFragment = (Pick<SimpleConnectionSuggestion, 'title'> & { | ||
trigger: AppAndAppInstanceFragment; | ||
destination: AppAndAppInstanceFragment; | ||
}); | ||
export type DrozNexoConnectionFragment = (Pick<DrozNexoConnection, 'id' | 'versionId' | 'title' | 'description' | 'createdAt' | 'updatedAt'> & { | ||
trigger: DrozNexoAppInstanceFragment; | ||
destination: DrozNexoAppInstanceFragment; | ||
export type SimpleConnectionFragment = (Pick<SimpleConnection, 'id' | 'versionId' | 'title' | 'description' | 'createdAt' | 'updatedAt'> & { | ||
trigger: AppAndAppInstanceFragment; | ||
destination: AppAndAppInstanceFragment; | ||
}); | ||
export type ListDrozNexoSuggestionsQueryVariables = Exact<{ | ||
export type NodeFragment = (Pick<Node, 'id' | 'type' | 'uidata'> & { | ||
data: AppAndAppInstanceFragment; | ||
}); | ||
export type EdgeFragment = Pick<Edge, 'id' | 'source' | 'target' | 'type' | 'sourceHandle' | 'uidata'>; | ||
export type FlowFragment = (Pick<Flow, 'id' | 'versionId' | 'title' | 'description' | 'createdAt' | 'updatedAt'> & { | ||
triggers: Array<AppAndAppInstanceFragment>; | ||
nodes: Array<NodeFragment>; | ||
edges: Array<EdgeFragment>; | ||
}); | ||
export type GetUsageStatisticsQueryVariables = Exact<{ | ||
[key: string]: never; | ||
}>; | ||
export type ListDrozNexoSuggestionsQuery = { | ||
listDrozNexoSuggestions: Array<DrozNexoSuggestionFragment>; | ||
export type GetUsageStatisticsQuery = { | ||
getUsageStatistics?: Maybe<Pick<DrozNexoUsageStatistics, 'totalSecrets' | 'totalAppInstances' | 'totalConnections'>>; | ||
}; | ||
export type ListDrozNexoConnectionsQueryVariables = Exact<{ | ||
next?: InputMaybe<Scalars['Base64']['input']>; | ||
export type GetFlowQueryVariables = Exact<{ | ||
id: Scalars['ID']['input']; | ||
versionId: Scalars['ID']['input']; | ||
}>; | ||
export type ListDrozNexoConnectionsQuery = { | ||
listDrozNexoConnections: { | ||
nodes: Array<DrozNexoConnectionFragment>; | ||
export type GetFlowQuery = { | ||
getFlow: FlowFragment; | ||
}; | ||
export type ListFlowsQueryVariables = Exact<{ | ||
[key: string]: never; | ||
}>; | ||
export type ListFlowsQuery = { | ||
listFlows: { | ||
nodes: Array<FlowFragment>; | ||
pageInfo: Pick<PageInfo, 'next' | 'hasNext'>; | ||
}; | ||
}; | ||
export type GetUsageStatisticsQueryVariables = Exact<{ | ||
export type ListSimpleSuggestionsQueryVariables = Exact<{ | ||
[key: string]: never; | ||
}>; | ||
export type GetUsageStatisticsQuery = { | ||
getUsageStatistics?: Maybe<Pick<DrozNexoUsageStatistics, 'totalSecrets' | 'totalAppInstances' | 'totalConnections'>>; | ||
export type ListSimpleSuggestionsQuery = { | ||
listSimpleConnectionSuggestions: Array<SimpleConnectionSuggestionFragment>; | ||
}; | ||
export type CreateDrozNexoConnectionMutationVariables = Exact<{ | ||
input: CreateDrozNexoConnectionInput; | ||
export type ListSimpleConnectionsQueryVariables = Exact<{ | ||
next?: InputMaybe<Scalars['Base64']['input']>; | ||
}>; | ||
export type CreateDrozNexoConnectionMutation = { | ||
createDrozNexoConnection: DrozNexoConnectionFragment; | ||
export type ListSimpleConnectionsQuery = { | ||
listSimpleConnections: { | ||
nodes: Array<SimpleConnectionFragment>; | ||
pageInfo: Pick<PageInfo, 'next' | 'hasNext'>; | ||
}; | ||
}; | ||
export type RemoveDrozNexoConnectionMutationVariables = Exact<{ | ||
input: RemoveDrozNexoConnectionInput; | ||
export type CreateFlowMutationVariables = Exact<{ | ||
input: CreateFlowInput; | ||
}>; | ||
export type RemoveDrozNexoConnectionMutation = { | ||
removeDrozNexoConnection: DrozNexoConnectionFragment; | ||
export type CreateFlowMutation = { | ||
createFlow: FlowFragment; | ||
}; | ||
export declare const DrozNexoAppInstanceFragmentDoc = "\n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n "; | ||
export declare const DrozNexoSuggestionFragmentDoc = "\n fragment drozNexoSuggestion on DrozNexoConnectionSuggestion {\n title\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n "; | ||
export declare const DrozNexoConnectionFragmentDoc = "\n fragment drozNexoConnection on DrozNexoConnection {\n id\n versionId\n title\n description\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n "; | ||
export declare const ListDrozNexoSuggestionsDocument = "\n query listDrozNexoSuggestions {\n listDrozNexoSuggestions {\n ...drozNexoSuggestion\n }\n}\n \n fragment drozNexoSuggestion on DrozNexoConnectionSuggestion {\n title\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n "; | ||
export declare const ListDrozNexoConnectionsDocument = "\n query listDrozNexoConnections($next: Base64) {\n listDrozNexoConnections(next: $next) {\n nodes {\n ...drozNexoConnection\n }\n pageInfo {\n next\n hasNext\n }\n }\n}\n \n fragment drozNexoConnection on DrozNexoConnection {\n id\n versionId\n title\n description\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n "; | ||
export type EditFlowMutationVariables = Exact<{ | ||
input: EditFlowInput; | ||
}>; | ||
export type EditFlowMutation = { | ||
editFlow: FlowFragment; | ||
}; | ||
export type UpdateFlowMutationVariables = Exact<{ | ||
input: UpdateFlowInput; | ||
}>; | ||
export type UpdateFlowMutation = { | ||
updateFlow: FlowFragment; | ||
}; | ||
export type PublishFlowMutationVariables = Exact<{ | ||
input: PublishFlowInput; | ||
}>; | ||
export type PublishFlowMutation = { | ||
publishFlow: FlowFragment; | ||
}; | ||
export type RemoveFlowMutationVariables = Exact<{ | ||
input: RemoveFlowInput; | ||
}>; | ||
export type RemoveFlowMutation = { | ||
removeFlow: FlowFragment; | ||
}; | ||
export type CreateSimpleConnectionMutationVariables = Exact<{ | ||
input: CreateSimpleConnectionInput; | ||
}>; | ||
export type CreateSimpleConnectionMutation = { | ||
createSimpleConnection: SimpleConnectionFragment; | ||
}; | ||
export type RemoveSimpleConnectionMutationVariables = Exact<{ | ||
input: RemoveSimpleConnectionInput; | ||
}>; | ||
export type RemoveSimpleConnectionMutation = { | ||
removeSimpleConnection: SimpleConnectionFragment; | ||
}; | ||
export declare const AppAndAppInstanceFragmentDoc = "\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n "; | ||
export declare const SimpleConnectionSuggestionFragmentDoc = "\n fragment simpleConnectionSuggestion on SimpleConnectionSuggestion {\n title\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n "; | ||
export declare const SimpleConnectionFragmentDoc = "\n fragment simpleConnection on SimpleConnection {\n id\n versionId\n title\n description\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n "; | ||
export declare const NodeFragmentDoc = "\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n "; | ||
export declare const EdgeFragmentDoc = "\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n "; | ||
export declare const FlowFragmentDoc = "\n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n "; | ||
export declare const GetUsageStatisticsDocument = "\n query getUsageStatistics {\n getUsageStatistics {\n totalSecrets\n totalAppInstances\n totalConnections\n }\n}\n "; | ||
export declare const CreateDrozNexoConnectionDocument = "\n mutation createDrozNexoConnection($input: CreateDrozNexoConnectionInput!) {\n createDrozNexoConnection(input: $input) {\n ...drozNexoConnection\n }\n}\n \n fragment drozNexoConnection on DrozNexoConnection {\n id\n versionId\n title\n description\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n "; | ||
export declare const RemoveDrozNexoConnectionDocument = "\n mutation removeDrozNexoConnection($input: RemoveDrozNexoConnectionInput!) {\n removeDrozNexoConnection(input: $input) {\n ...drozNexoConnection\n }\n}\n \n fragment drozNexoConnection on DrozNexoConnection {\n id\n versionId\n title\n description\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n "; | ||
export declare const GetFlowDocument = "\n query getFlow($id: ID!, $versionId: ID!) {\n getFlow(id: $id, versionId: $versionId) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n "; | ||
export declare const ListFlowsDocument = "\n query listFlows {\n listFlows {\n nodes {\n ...flow\n }\n pageInfo {\n next\n hasNext\n }\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n "; | ||
export declare const ListSimpleSuggestionsDocument = "\n query listSimpleSuggestions {\n listSimpleConnectionSuggestions {\n ...simpleConnectionSuggestion\n }\n}\n \n fragment simpleConnectionSuggestion on SimpleConnectionSuggestion {\n title\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n "; | ||
export declare const ListSimpleConnectionsDocument = "\n query listSimpleConnections($next: Base64) {\n listSimpleConnections(next: $next) {\n nodes {\n ...simpleConnection\n }\n pageInfo {\n next\n hasNext\n }\n }\n}\n \n fragment simpleConnection on SimpleConnection {\n id\n versionId\n title\n description\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n "; | ||
export declare const CreateFlowDocument = "\n mutation createFlow($input: CreateFlowInput!) {\n createFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n "; | ||
export declare const EditFlowDocument = "\n mutation editFlow($input: EditFlowInput!) {\n editFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n "; | ||
export declare const UpdateFlowDocument = "\n mutation updateFlow($input: UpdateFlowInput!) {\n updateFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n "; | ||
export declare const PublishFlowDocument = "\n mutation publishFlow($input: PublishFlowInput!) {\n publishFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n "; | ||
export declare const RemoveFlowDocument = "\n mutation removeFlow($input: RemoveFlowInput!) {\n removeFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n "; | ||
export declare const CreateSimpleConnectionDocument = "\n mutation createSimpleConnection($input: CreateSimpleConnectionInput!) {\n createSimpleConnection(input: $input) {\n ...simpleConnection\n }\n}\n \n fragment simpleConnection on SimpleConnection {\n id\n versionId\n title\n description\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n "; | ||
export declare const RemoveSimpleConnectionDocument = "\n mutation removeSimpleConnection($input: RemoveSimpleConnectionInput!) {\n removeSimpleConnection(input: $input) {\n ...simpleConnection\n }\n}\n \n fragment simpleConnection on SimpleConnection {\n id\n versionId\n title\n description\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n "; | ||
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>; | ||
export declare function getSdk<C>(requester: Requester<C>): { | ||
listDrozNexoSuggestions(variables?: ListDrozNexoSuggestionsQueryVariables, options?: C): Promise<ListDrozNexoSuggestionsQuery>; | ||
listDrozNexoConnections(variables?: ListDrozNexoConnectionsQueryVariables, options?: C): Promise<ListDrozNexoConnectionsQuery>; | ||
getUsageStatistics(variables?: GetUsageStatisticsQueryVariables, options?: C): Promise<GetUsageStatisticsQuery>; | ||
createDrozNexoConnection(variables: CreateDrozNexoConnectionMutationVariables, options?: C): Promise<CreateDrozNexoConnectionMutation>; | ||
removeDrozNexoConnection(variables: RemoveDrozNexoConnectionMutationVariables, options?: C): Promise<RemoveDrozNexoConnectionMutation>; | ||
getFlow(variables: GetFlowQueryVariables, options?: C): Promise<GetFlowQuery>; | ||
listFlows(variables?: ListFlowsQueryVariables, options?: C): Promise<ListFlowsQuery>; | ||
listSimpleSuggestions(variables?: ListSimpleSuggestionsQueryVariables, options?: C): Promise<ListSimpleSuggestionsQuery>; | ||
listSimpleConnections(variables?: ListSimpleConnectionsQueryVariables, options?: C): Promise<ListSimpleConnectionsQuery>; | ||
createFlow(variables: CreateFlowMutationVariables, options?: C): Promise<CreateFlowMutation>; | ||
editFlow(variables: EditFlowMutationVariables, options?: C): Promise<EditFlowMutation>; | ||
updateFlow(variables: UpdateFlowMutationVariables, options?: C): Promise<UpdateFlowMutation>; | ||
publishFlow(variables: PublishFlowMutationVariables, options?: C): Promise<PublishFlowMutation>; | ||
removeFlow(variables: RemoveFlowMutationVariables, options?: C): Promise<RemoveFlowMutation>; | ||
createSimpleConnection(variables: CreateSimpleConnectionMutationVariables, options?: C): Promise<CreateSimpleConnectionMutation>; | ||
removeSimpleConnection(variables: RemoveSimpleConnectionMutationVariables, options?: C): Promise<RemoveSimpleConnectionMutation>; | ||
}; | ||
export type Sdk = ReturnType<typeof getSdk>; | ||
export declare const serviceName = "@droz/droznexo"; |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.serviceName = exports.getSdk = exports.RemoveDrozNexoConnectionDocument = exports.CreateDrozNexoConnectionDocument = exports.GetUsageStatisticsDocument = exports.ListDrozNexoConnectionsDocument = exports.ListDrozNexoSuggestionsDocument = exports.DrozNexoConnectionFragmentDoc = exports.DrozNexoSuggestionFragmentDoc = exports.DrozNexoAppInstanceFragmentDoc = exports.Typenames = exports.Can = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.getSdk = exports.RemoveSimpleConnectionDocument = exports.CreateSimpleConnectionDocument = exports.RemoveFlowDocument = exports.PublishFlowDocument = exports.UpdateFlowDocument = exports.EditFlowDocument = exports.CreateFlowDocument = exports.ListSimpleConnectionsDocument = exports.ListSimpleSuggestionsDocument = exports.ListFlowsDocument = exports.GetFlowDocument = exports.GetUsageStatisticsDocument = exports.FlowFragmentDoc = exports.EdgeFragmentDoc = exports.NodeFragmentDoc = exports.SimpleConnectionFragmentDoc = exports.SimpleConnectionSuggestionFragmentDoc = exports.AppAndAppInstanceFragmentDoc = exports.Typenames = exports.FlowStatus = exports.Can = exports.AppInstanceStatus = void 0; | ||
var AppInstanceStatus; | ||
@@ -18,10 +18,18 @@ (function (AppInstanceStatus) { | ||
})(Can || (exports.Can = Can = {})); | ||
var FlowStatus; | ||
(function (FlowStatus) { | ||
FlowStatus["Draft"] = "Draft"; | ||
FlowStatus["Live"] = "Live"; | ||
FlowStatus["Published"] = "Published"; | ||
FlowStatus["Removed"] = "Removed"; | ||
})(FlowStatus || (exports.FlowStatus = FlowStatus = {})); | ||
var Typenames; | ||
(function (Typenames) { | ||
Typenames["Any"] = "Any"; | ||
Typenames["Flows"] = "Flows"; | ||
Typenames["GraphqlConnections"] = "GraphqlConnections"; | ||
Typenames["GraphqlSubscriptions"] = "GraphqlSubscriptions"; | ||
})(Typenames || (exports.Typenames = Typenames = {})); | ||
exports.DrozNexoAppInstanceFragmentDoc = ` | ||
fragment drozNexoAppInstance on DrozNexoAppAndAppInstance { | ||
exports.AppAndAppInstanceFragmentDoc = ` | ||
fragment appAndAppInstance on AppAndAppInstance { | ||
app { | ||
@@ -35,2 +43,3 @@ id | ||
name | ||
transitions | ||
createdAt | ||
@@ -41,15 +50,15 @@ updatedAt | ||
`; | ||
exports.DrozNexoSuggestionFragmentDoc = ` | ||
fragment drozNexoSuggestion on DrozNexoConnectionSuggestion { | ||
exports.SimpleConnectionSuggestionFragmentDoc = ` | ||
fragment simpleConnectionSuggestion on SimpleConnectionSuggestion { | ||
title | ||
trigger { | ||
...drozNexoAppInstance | ||
...appAndAppInstance | ||
} | ||
destination { | ||
...drozNexoAppInstance | ||
...appAndAppInstance | ||
} | ||
} | ||
${exports.DrozNexoAppInstanceFragmentDoc}`; | ||
exports.DrozNexoConnectionFragmentDoc = ` | ||
fragment drozNexoConnection on DrozNexoConnection { | ||
${exports.AppAndAppInstanceFragmentDoc}`; | ||
exports.SimpleConnectionFragmentDoc = ` | ||
fragment simpleConnection on SimpleConnection { | ||
id | ||
@@ -60,6 +69,6 @@ versionId | ||
trigger { | ||
...drozNexoAppInstance | ||
...appAndAppInstance | ||
} | ||
destination { | ||
...drozNexoAppInstance | ||
...appAndAppInstance | ||
} | ||
@@ -69,23 +78,44 @@ createdAt | ||
} | ||
${exports.DrozNexoAppInstanceFragmentDoc}`; | ||
exports.ListDrozNexoSuggestionsDocument = ` | ||
query listDrozNexoSuggestions { | ||
listDrozNexoSuggestions { | ||
...drozNexoSuggestion | ||
${exports.AppAndAppInstanceFragmentDoc}`; | ||
exports.NodeFragmentDoc = ` | ||
fragment node on Node { | ||
id | ||
type | ||
data { | ||
...appAndAppInstance | ||
} | ||
uidata | ||
} | ||
${exports.DrozNexoSuggestionFragmentDoc}`; | ||
exports.ListDrozNexoConnectionsDocument = ` | ||
query listDrozNexoConnections($next: Base64) { | ||
listDrozNexoConnections(next: $next) { | ||
nodes { | ||
...drozNexoConnection | ||
} | ||
pageInfo { | ||
next | ||
hasNext | ||
} | ||
${exports.AppAndAppInstanceFragmentDoc}`; | ||
exports.EdgeFragmentDoc = ` | ||
fragment edge on Edge { | ||
id | ||
source | ||
target | ||
type | ||
sourceHandle | ||
uidata | ||
} | ||
`; | ||
exports.FlowFragmentDoc = ` | ||
fragment flow on Flow { | ||
id | ||
versionId | ||
title | ||
description | ||
triggers { | ||
...appAndAppInstance | ||
} | ||
nodes { | ||
...node | ||
} | ||
edges { | ||
...edge | ||
} | ||
createdAt | ||
updatedAt | ||
} | ||
${exports.DrozNexoConnectionFragmentDoc}`; | ||
${exports.AppAndAppInstanceFragmentDoc} | ||
${exports.NodeFragmentDoc} | ||
${exports.EdgeFragmentDoc}`; | ||
exports.GetUsageStatisticsDocument = ` | ||
@@ -100,32 +130,128 @@ query getUsageStatistics { | ||
`; | ||
exports.CreateDrozNexoConnectionDocument = ` | ||
mutation createDrozNexoConnection($input: CreateDrozNexoConnectionInput!) { | ||
createDrozNexoConnection(input: $input) { | ||
...drozNexoConnection | ||
exports.GetFlowDocument = ` | ||
query getFlow($id: ID!, $versionId: ID!) { | ||
getFlow(id: $id, versionId: $versionId) { | ||
...flow | ||
} | ||
} | ||
${exports.DrozNexoConnectionFragmentDoc}`; | ||
exports.RemoveDrozNexoConnectionDocument = ` | ||
mutation removeDrozNexoConnection($input: RemoveDrozNexoConnectionInput!) { | ||
removeDrozNexoConnection(input: $input) { | ||
...drozNexoConnection | ||
${exports.FlowFragmentDoc}`; | ||
exports.ListFlowsDocument = ` | ||
query listFlows { | ||
listFlows { | ||
nodes { | ||
...flow | ||
} | ||
pageInfo { | ||
next | ||
hasNext | ||
} | ||
} | ||
} | ||
${exports.DrozNexoConnectionFragmentDoc}`; | ||
${exports.FlowFragmentDoc}`; | ||
exports.ListSimpleSuggestionsDocument = ` | ||
query listSimpleSuggestions { | ||
listSimpleConnectionSuggestions { | ||
...simpleConnectionSuggestion | ||
} | ||
} | ||
${exports.SimpleConnectionSuggestionFragmentDoc}`; | ||
exports.ListSimpleConnectionsDocument = ` | ||
query listSimpleConnections($next: Base64) { | ||
listSimpleConnections(next: $next) { | ||
nodes { | ||
...simpleConnection | ||
} | ||
pageInfo { | ||
next | ||
hasNext | ||
} | ||
} | ||
} | ||
${exports.SimpleConnectionFragmentDoc}`; | ||
exports.CreateFlowDocument = ` | ||
mutation createFlow($input: CreateFlowInput!) { | ||
createFlow(input: $input) { | ||
...flow | ||
} | ||
} | ||
${exports.FlowFragmentDoc}`; | ||
exports.EditFlowDocument = ` | ||
mutation editFlow($input: EditFlowInput!) { | ||
editFlow(input: $input) { | ||
...flow | ||
} | ||
} | ||
${exports.FlowFragmentDoc}`; | ||
exports.UpdateFlowDocument = ` | ||
mutation updateFlow($input: UpdateFlowInput!) { | ||
updateFlow(input: $input) { | ||
...flow | ||
} | ||
} | ||
${exports.FlowFragmentDoc}`; | ||
exports.PublishFlowDocument = ` | ||
mutation publishFlow($input: PublishFlowInput!) { | ||
publishFlow(input: $input) { | ||
...flow | ||
} | ||
} | ||
${exports.FlowFragmentDoc}`; | ||
exports.RemoveFlowDocument = ` | ||
mutation removeFlow($input: RemoveFlowInput!) { | ||
removeFlow(input: $input) { | ||
...flow | ||
} | ||
} | ||
${exports.FlowFragmentDoc}`; | ||
exports.CreateSimpleConnectionDocument = ` | ||
mutation createSimpleConnection($input: CreateSimpleConnectionInput!) { | ||
createSimpleConnection(input: $input) { | ||
...simpleConnection | ||
} | ||
} | ||
${exports.SimpleConnectionFragmentDoc}`; | ||
exports.RemoveSimpleConnectionDocument = ` | ||
mutation removeSimpleConnection($input: RemoveSimpleConnectionInput!) { | ||
removeSimpleConnection(input: $input) { | ||
...simpleConnection | ||
} | ||
} | ||
${exports.SimpleConnectionFragmentDoc}`; | ||
function getSdk(requester) { | ||
return { | ||
listDrozNexoSuggestions(variables, options) { | ||
return requester(exports.ListDrozNexoSuggestionsDocument, variables, options); | ||
}, | ||
listDrozNexoConnections(variables, options) { | ||
return requester(exports.ListDrozNexoConnectionsDocument, variables, options); | ||
}, | ||
getUsageStatistics(variables, options) { | ||
return requester(exports.GetUsageStatisticsDocument, variables, options); | ||
}, | ||
createDrozNexoConnection(variables, options) { | ||
return requester(exports.CreateDrozNexoConnectionDocument, variables, options); | ||
getFlow(variables, options) { | ||
return requester(exports.GetFlowDocument, variables, options); | ||
}, | ||
removeDrozNexoConnection(variables, options) { | ||
return requester(exports.RemoveDrozNexoConnectionDocument, variables, options); | ||
listFlows(variables, options) { | ||
return requester(exports.ListFlowsDocument, variables, options); | ||
}, | ||
listSimpleSuggestions(variables, options) { | ||
return requester(exports.ListSimpleSuggestionsDocument, variables, options); | ||
}, | ||
listSimpleConnections(variables, options) { | ||
return requester(exports.ListSimpleConnectionsDocument, variables, options); | ||
}, | ||
createFlow(variables, options) { | ||
return requester(exports.CreateFlowDocument, variables, options); | ||
}, | ||
editFlow(variables, options) { | ||
return requester(exports.EditFlowDocument, variables, options); | ||
}, | ||
updateFlow(variables, options) { | ||
return requester(exports.UpdateFlowDocument, variables, options); | ||
}, | ||
publishFlow(variables, options) { | ||
return requester(exports.PublishFlowDocument, variables, options); | ||
}, | ||
removeFlow(variables, options) { | ||
return requester(exports.RemoveFlowDocument, variables, options); | ||
}, | ||
createSimpleConnection(variables, options) { | ||
return requester(exports.CreateSimpleConnectionDocument, variables, options); | ||
}, | ||
removeSimpleConnection(variables, options) { | ||
return requester(exports.RemoveSimpleConnectionDocument, variables, options); | ||
} | ||
@@ -132,0 +258,0 @@ }; |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CreateCredentialsDocument = exports.CountCredentialsDocument = exports.ListCredentialsDocument = exports.GetCredentialsSecretDocument = exports.GetCredentialsDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.UnregisterAppInstanceDocument = exports.RegisterAppInstanceDocument = exports.CountAppInstancesDocument = exports.ListAppInstancesDocument = exports.GetAppInstanceDocument = exports.ListAppsDocument = exports.GetAppDocument = exports.RemoveRoleFromAgentDocument = exports.AddRoleToAgentDocument = exports.RemoveAgentDocument = exports.UpdateAgentDocument = exports.CreateApiKeyAgentDocument = exports.CreateAgentDocument = exports.UpdateMyProfileDocument = exports.ListApiKeyAgentsDocument = exports.ListAgentsDocument = exports.GetAgentDocument = exports.GetMeDocument = exports.StorageFragmentDoc = exports.StateMachineConfigConnectionFragmentDoc = exports.StateMachineConfigFragmentDoc = exports.StateMachineConfigStateFragmentDoc = exports.StateMachineConfigStateOnFragmentDoc = exports.SessionSchemaFragmentDoc = exports.SessionFragmentDoc = exports.RoleFragmentDoc = exports.PolicyFragmentDoc = exports.CronJobFragmentDoc = exports.CustomerFragmentDoc = exports.SafeCredentialsFragmentDoc = exports.AppWithInstancesFragmentDoc = exports.AppInstanceFragmentDoc = exports.AppFragmentDoc = exports.ApiKeyFragmentDoc = exports.AgentFragmentDoc = exports.Typenames = exports.StateMachineConfigStatus = exports.PatchOperation = exports.CustomerIndex = exports.CredentialsType = exports.Can = exports.AppType = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.getSdk = exports.CreatePresignedUploadUrlDocument = exports.GetStorageDocument = exports.RemoveStateMachineConfigStateDocument = exports.UpdateStateMachineConfigStateDocument = exports.CreateStateMachineConfigStateDocument = exports.PublishStateMachineConfigDocument = exports.EditStateMachineConfigDocument = exports.RemoveStateMachineConfigDocument = exports.UpdateStateMachineConfigDocument = exports.CreateStateMachineConfigDocument = exports.IsAppInstanceInUseDocument = exports.GetXStateMachineConfigDocument = exports.ListStateMachineConfigVersionsDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.RemoveTagsFromSessionAttributesDocument = exports.AddTagsToSessionAttributesDocument = exports.PatchSessionAttributesDocument = exports.SetSessionAttributeDocument = exports.GetSessionSchemaForAppIdDocument = exports.GetSessionSchemaDocument = exports.GetSessionDocument = exports.StartSessionDocument = exports.CheckPermissionsDocument = exports.GetSystemRoleDocument = exports.ListSystemRolesDocument = exports.RemoveCronJobDocument = exports.UpdateCronJobDocument = exports.CreateCronJobDocument = exports.ListCronJobsDocument = exports.GetCronJobDocument = exports.GetOrCreateCustomerDocument = exports.ListCustomersDocument = exports.GetCustomerDocument = exports.RemoveCredentialsDocument = exports.UpdateCredentialsDocument = void 0; | ||
exports.CountCredentialsDocument = exports.ListCredentialsDocument = exports.GetCredentialsSecretDocument = exports.GetCredentialsDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.UnregisterAppInstanceDocument = exports.RegisterAppInstanceDocument = exports.CountAppInstancesDocument = exports.ListAppInstancesDocument = exports.GetAppInstancesDocument = exports.GetAppInstanceDocument = exports.ListAppsDocument = exports.GetAppDocument = exports.RemoveRoleFromAgentDocument = exports.AddRoleToAgentDocument = exports.RemoveAgentDocument = exports.UpdateAgentDocument = exports.CreateApiKeyAgentDocument = exports.CreateAgentDocument = exports.UpdateMyProfileDocument = exports.ListApiKeyAgentsDocument = exports.ListAgentsDocument = exports.GetAgentDocument = exports.GetMeDocument = exports.StorageFragmentDoc = exports.StateMachineConfigConnectionFragmentDoc = exports.StateMachineConfigFragmentDoc = exports.StateMachineConfigStateFragmentDoc = exports.StateMachineConfigStateOnFragmentDoc = exports.SessionSchemaFragmentDoc = exports.SessionFragmentDoc = exports.RoleFragmentDoc = exports.PolicyFragmentDoc = exports.CronJobFragmentDoc = exports.CustomerFragmentDoc = exports.SafeCredentialsFragmentDoc = exports.AppWithInstancesFragmentDoc = exports.AppInstanceFragmentDoc = exports.AppFragmentDoc = exports.ApiKeyFragmentDoc = exports.AgentFragmentDoc = exports.Typenames = exports.StateMachineConfigStatus = exports.PatchOperation = exports.CustomerIndex = exports.CredentialsType = exports.Can = exports.AppType = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.getSdk = exports.CreatePresignedUploadUrlDocument = exports.GetStorageDocument = exports.RemoveStateMachineConfigStateDocument = exports.UpdateStateMachineConfigStateDocument = exports.CreateStateMachineConfigStateDocument = exports.PublishStateMachineConfigDocument = exports.EditStateMachineConfigDocument = exports.RemoveStateMachineConfigDocument = exports.UpdateStateMachineConfigDocument = exports.CreateStateMachineConfigDocument = exports.IsAppInstanceInUseDocument = exports.GetXStateMachineConfigDocument = exports.ListStateMachineConfigVersionsDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.RemoveTagsFromSessionAttributesDocument = exports.AddTagsToSessionAttributesDocument = exports.PatchSessionAttributesDocument = exports.SetSessionAttributeDocument = exports.GetSessionSchemaForAppIdDocument = exports.GetSessionSchemaDocument = exports.GetSessionDocument = exports.StartSessionDocument = exports.CheckPermissionsDocument = exports.GetSystemRoleDocument = exports.ListSystemRolesDocument = exports.RemoveCronJobDocument = exports.UpdateCronJobDocument = exports.CreateCronJobDocument = exports.ListCronJobsDocument = exports.GetCronJobDocument = exports.GetOrCreateCustomerDocument = exports.ListCustomersDocument = exports.GetCustomerDocument = exports.RemoveCredentialsDocument = exports.UpdateCredentialsDocument = exports.CreateCredentialsDocument = void 0; | ||
var AppInstanceStatus; | ||
@@ -381,2 +381,13 @@ (function (AppInstanceStatus) { | ||
${exports.AppFragmentDoc}`; | ||
exports.GetAppInstancesDocument = ` | ||
query getAppInstances($drns: [ID!]!) { | ||
getAppInstances(drns: $drns) { | ||
...appInstance | ||
app { | ||
...app | ||
} | ||
} | ||
} | ||
${exports.AppInstanceFragmentDoc} | ||
${exports.AppFragmentDoc}`; | ||
exports.ListAppInstancesDocument = ` | ||
@@ -802,2 +813,5 @@ query listAppInstances($appId: ID, $appType: AppType, $withApp: Boolean = false) { | ||
}, | ||
getAppInstances(variables, options) { | ||
return requester(exports.GetAppInstancesDocument, variables, options); | ||
}, | ||
listAppInstances(variables, options) { | ||
@@ -804,0 +818,0 @@ return requester(exports.ListAppInstancesDocument, variables, options); |
Sorry, the diff of this file is too big to display
479343
10457