@droz-js/sdk
Advanced tools
Comparing version 0.6.16 to 0.6.17
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.6.16", | ||
"version": "0.6.17", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -17,3 +17,4 @@ export * from './sdks/droznexo'; | ||
listFlows(variables?: import("./sdks/droznexo").Exact<{ | ||
[key: string]: never; | ||
statuses?: import("./sdks/droznexo").FlowStatus | import("./sdks/droznexo").FlowStatus[]; | ||
next?: object; | ||
}>, options?: unknown): Promise<import("./sdks/droznexo").ListFlowsQuery>; | ||
@@ -20,0 +21,0 @@ listSimpleSuggestions(variables?: import("./sdks/droznexo").Exact<{ |
@@ -200,2 +200,7 @@ import { CreatePresignedUploadUrlInput } from './sdks/nucleus'; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").ListDraftStateMachineConfigsQuery>; | ||
listStateMachineConfigsByStatus(variables?: import("./sdks/nucleus").Exact<{ | ||
createdByAppId?: string; | ||
statuses?: string | string[]; | ||
next?: object; | ||
}>, options?: unknown): Promise<import("./sdks/nucleus").ListStateMachineConfigsByStatusQuery>; | ||
listStateMachineConfigVersions(variables: import("./sdks/nucleus").Exact<{ | ||
@@ -202,0 +207,0 @@ id: string; |
@@ -297,2 +297,3 @@ export type Maybe<T> = T; | ||
next?: InputMaybe<Scalars['Base64']['input']>; | ||
statuses?: InputMaybe<Array<InputMaybe<FlowStatus>>>; | ||
}; | ||
@@ -426,3 +427,4 @@ export type QueryListSimpleConnectionsArgs = { | ||
export type ListFlowsQueryVariables = Exact<{ | ||
[key: string]: never; | ||
statuses?: InputMaybe<Array<InputMaybe<FlowStatus>> | InputMaybe<FlowStatus>>; | ||
next?: InputMaybe<Scalars['Base64']['input']>; | ||
}>; | ||
@@ -500,3 +502,3 @@ export type ListFlowsQuery = { | ||
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 status\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\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 \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\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 status\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\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 \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\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($statuses: [FlowStatus], $next: Base64) {\n listFlows(next: $next, statuses: $statuses) {\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 status\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\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 \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\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\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 "; | ||
@@ -503,0 +505,0 @@ 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\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 "; |
@@ -135,4 +135,4 @@ "use strict"; | ||
exports.ListFlowsDocument = ` | ||
query listFlows { | ||
listFlows { | ||
query listFlows($statuses: [FlowStatus], $next: Base64) { | ||
listFlows(next: $next, statuses: $statuses) { | ||
nodes { | ||
@@ -139,0 +139,0 @@ ...flow |
@@ -5,4 +5,4 @@ "use strict"; | ||
exports.GetAmplifyConfigDocument = exports.UnregisterAppInstanceDocument = exports.RegisterAppInstanceDocument = exports.CountAppInstancesDocument = exports.ListAppInstancesDocument = exports.GetAppInstancesDocument = exports.GetAppInstanceDocument = exports.ListAppsDocument = exports.GetAppDocument = exports.RemoveRoleFromAgentDocument = exports.AddRoleToAgentDocument = exports.RemoveSystemApiKeyAgentDocument = exports.RemoveAgentDocument = exports.UpdateAgentDocument = exports.CreateSystemApiKeyAgentDocument = exports.CreateApiKeyAgentDocument = exports.CreateAgentDocument = exports.UpdateMyProfileDocument = exports.ListApiKeyAgentsDocument = exports.ListAgentsDocument = exports.GetAgentsDocument = 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.CredentialsWithSecretFragmentDoc = exports.SafeCredentialsFragmentDoc = exports.AppWithInstancesFragmentDoc = exports.AppInstanceFragmentDoc = exports.AppFragmentDoc = exports.ApiKeyFragmentDoc = exports.AgentFragmentDoc = exports.Typenames = exports.StateMachineConfigStatus = exports.SessionStatus = exports.PatchOperation = exports.CustomerIndex = exports.CredentialsType = exports.Can = exports.AppType = exports.AppInstanceStatus = void 0; | ||
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.SearchSessionsDocument = 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.RemoveSystemCredentialsDocument = exports.RemoveCredentialsDocument = exports.UpdateCredentialsDocument = exports.CreateSystemCredentialsDocument = exports.CreateCredentialsDocument = exports.GetMercadoLivreAuthInfoDocument = exports.CountCredentialsDocument = exports.ListCredentialsDocument = exports.GetMetaAuthInfoDocument = exports.GetCredentialsSecretDocument = exports.GetCredentialsDocument = exports.GetAuthInfoDocument = void 0; | ||
exports.serviceName = void 0; | ||
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.ListStateMachineConfigsByStatusDocument = exports.ListDraftStateMachineConfigsDocument = exports.ListLiveStateMachineConfigsDocument = exports.CountLiveStateMachineConfigsDocument = exports.GetStateMachineDocument = exports.RemoveTagsFromSessionAttributesDocument = exports.AddTagsToSessionAttributesDocument = exports.PatchSessionAttributesDocument = exports.SetSessionAttributeDocument = exports.SearchSessionsDocument = 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.RemoveSystemCredentialsDocument = exports.RemoveCredentialsDocument = exports.UpdateCredentialsDocument = exports.CreateSystemCredentialsDocument = exports.CreateCredentialsDocument = exports.GetMercadoLivreAuthInfoDocument = exports.CountCredentialsDocument = exports.ListCredentialsDocument = exports.GetMetaAuthInfoDocument = exports.GetCredentialsSecretDocument = exports.GetCredentialsDocument = exports.GetAuthInfoDocument = void 0; | ||
exports.serviceName = exports.getSdk = void 0; | ||
var AppInstanceStatus; | ||
@@ -792,2 +792,16 @@ (function (AppInstanceStatus) { | ||
${exports.StateMachineConfigStateOnFragmentDoc}`; | ||
exports.ListStateMachineConfigsByStatusDocument = ` | ||
query listStateMachineConfigsByStatus($createdByAppId: ID, $statuses: [String], $next: Base64) { | ||
listStateMachineConfigsByStatus( | ||
createdByAppId: $createdByAppId | ||
statuses: $statuses | ||
next: $next | ||
) { | ||
...stateMachineConfigConnection | ||
} | ||
} | ||
${exports.StateMachineConfigConnectionFragmentDoc} | ||
${exports.StateMachineConfigFragmentDoc} | ||
${exports.StateMachineConfigStateFragmentDoc} | ||
${exports.StateMachineConfigStateOnFragmentDoc}`; | ||
exports.ListStateMachineConfigVersionsDocument = ` | ||
@@ -1080,2 +1094,5 @@ query listStateMachineConfigVersions($id: ID!) { | ||
}, | ||
listStateMachineConfigsByStatus(variables, options) { | ||
return requester(exports.ListStateMachineConfigsByStatusDocument, variables, options); | ||
}, | ||
listStateMachineConfigVersions(variables, options) { | ||
@@ -1082,0 +1099,0 @@ return requester(exports.ListStateMachineConfigVersionsDocument, variables, options); |
Sorry, the diff of this file is too big to display
640581
14322