@droz-js/sdk 0.7.2 → 0.7.3
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.
- package/package.json +1 -1
- package/src/droznexo.d.ts +1 -1
- package/src/nucleus.d.ts +1 -1
- package/src/sdks/droznexo.d.ts +18 -16
- package/src/sdks/droznexo.js +4 -2
- package/src/sdks/nucleus.d.ts +4 -3
- package/src/sdks/nucleus.js +2 -2
package/package.json
CHANGED
package/src/droznexo.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const DrozNexo_base: new (options?: import("./client/http").HttpClientOp
|
|
|
14
14
|
versionId: string;
|
|
15
15
|
}>, options?: unknown): Promise<import("./sdks/droznexo").GetFlowQuery>;
|
|
16
16
|
listFlows(variables?: import("./sdks/droznexo").Exact<{
|
|
17
|
-
|
|
17
|
+
status?: import("./sdks/droznexo").FlowStatus;
|
|
18
18
|
next?: object;
|
|
19
19
|
}>, options?: unknown): Promise<import("./sdks/droznexo").ListFlowsQuery>;
|
|
20
20
|
listSimpleSuggestions(variables?: import("./sdks/droznexo").Exact<{
|
package/src/nucleus.d.ts
CHANGED
|
@@ -208,7 +208,7 @@ declare const Nucleus_base: new (options?: import("./client/http").HttpClientOpt
|
|
|
208
208
|
}>, options?: unknown): Promise<import("./sdks/nucleus").ListDraftStateMachineConfigsQuery>;
|
|
209
209
|
listStateMachineConfigsByStatus(variables?: import("./sdks/nucleus").Exact<{
|
|
210
210
|
createdByAppId?: string;
|
|
211
|
-
|
|
211
|
+
status?: import("./sdks/nucleus").StateMachineConfigStatus;
|
|
212
212
|
next?: object;
|
|
213
213
|
}>, options?: unknown): Promise<import("./sdks/nucleus").ListStateMachineConfigsByStatusQuery>;
|
|
214
214
|
listStateMachineConfigVersions(variables: import("./sdks/nucleus").Exact<{
|
package/src/sdks/droznexo.d.ts
CHANGED
|
@@ -206,6 +206,7 @@ export type EditFlowInput = {
|
|
|
206
206
|
export type Flow = {
|
|
207
207
|
createdAt: Scalars['DateTime']['output'];
|
|
208
208
|
createdBy?: Maybe<AgentInfo>;
|
|
209
|
+
createdByAppId?: Maybe<Scalars['ID']['output']>;
|
|
209
210
|
description?: Maybe<Scalars['String']['output']>;
|
|
210
211
|
edges: Array<Edge>;
|
|
211
212
|
id: Scalars['ID']['output'];
|
|
@@ -325,7 +326,7 @@ export type QueryGetFlowArgs = {
|
|
|
325
326
|
};
|
|
326
327
|
export type QueryListFlowsArgs = {
|
|
327
328
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
328
|
-
|
|
329
|
+
status?: InputMaybe<FlowStatus>;
|
|
329
330
|
};
|
|
330
331
|
export type QueryListSimpleConnectionsArgs = {
|
|
331
332
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
@@ -364,6 +365,7 @@ export type SearchResultsStats = {
|
|
|
364
365
|
};
|
|
365
366
|
export type SimpleConnection = {
|
|
366
367
|
createdAt: Scalars['DateTime']['output'];
|
|
368
|
+
createdByAppId?: Maybe<Scalars['ID']['output']>;
|
|
367
369
|
description?: Maybe<Scalars['String']['output']>;
|
|
368
370
|
destination: AppAndAppInstance;
|
|
369
371
|
id: Scalars['ID']['output'];
|
|
@@ -438,7 +440,7 @@ export type SimpleConnectionSuggestionFragment = (Pick<SimpleConnectionSuggestio
|
|
|
438
440
|
trigger: AppAndAppInstanceFragment;
|
|
439
441
|
destination: AppAndAppInstanceFragment;
|
|
440
442
|
});
|
|
441
|
-
export type SimpleConnectionFragment = (Pick<SimpleConnection, 'id' | 'versionId' | 'title' | 'description' | 'createdAt' | 'updatedAt'> & {
|
|
443
|
+
export type SimpleConnectionFragment = (Pick<SimpleConnection, 'id' | 'versionId' | 'title' | 'description' | 'createdAt' | 'updatedAt' | 'createdByAppId'> & {
|
|
442
444
|
trigger: AppAndAppInstanceFragment;
|
|
443
445
|
destination: AppAndAppInstanceFragment;
|
|
444
446
|
});
|
|
@@ -446,7 +448,7 @@ export type NodeFragment = (Pick<Node, 'id' | 'type' | 'uidata'> & {
|
|
|
446
448
|
data: AppAndAppInstanceFragment;
|
|
447
449
|
});
|
|
448
450
|
export type EdgeFragment = Pick<Edge, 'id' | 'source' | 'target' | 'targetType' | 'type' | 'sourceHandle' | 'uidata'>;
|
|
449
|
-
export type FlowFragment = (Pick<Flow, 'id' | 'versionId' | 'title' | 'description' | 'status' | 'languages' | 'createdAt' | 'updatedAt'> & {
|
|
451
|
+
export type FlowFragment = (Pick<Flow, 'id' | 'versionId' | 'title' | 'description' | 'status' | 'languages' | 'createdAt' | 'updatedAt' | 'createdByAppId'> & {
|
|
450
452
|
createdBy?: Maybe<Pick<AgentInfo, 'id' | 'name' | 'picture'>>;
|
|
451
453
|
triggers: Array<AppAndAppInstanceFragment>;
|
|
452
454
|
nodes: Array<NodeFragment>;
|
|
@@ -466,7 +468,7 @@ export type GetFlowQuery = {
|
|
|
466
468
|
getFlow: FlowFragment;
|
|
467
469
|
};
|
|
468
470
|
export type ListFlowsQueryVariables = Exact<{
|
|
469
|
-
|
|
471
|
+
status?: InputMaybe<FlowStatus>;
|
|
470
472
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
471
473
|
}>;
|
|
472
474
|
export type ListFlowsQuery = {
|
|
@@ -551,23 +553,23 @@ export type GetLicenceQuery = {
|
|
|
551
553
|
};
|
|
552
554
|
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 ";
|
|
553
555
|
export declare const SimpleConnectionSuggestionFragmentDoc = "\n fragment simpleConnectionSuggestion on SimpleConnectionSuggestion {\n title\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n}\n ";
|
|
554
|
-
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 ";
|
|
556
|
+
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 createdByAppId\n}\n ";
|
|
555
557
|
export declare const NodeFragmentDoc = "\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n ";
|
|
556
558
|
export declare const EdgeFragmentDoc = "\n fragment edge on Edge {\n id\n source\n target\n targetType\n type\n sourceHandle\n uidata\n}\n ";
|
|
557
|
-
export declare const FlowFragmentDoc = "\n fragment flow on Flow {\n id\n versionId\n title\n description\n status\n languages\n createdBy {\n id\n name\n picture\n }\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n ";
|
|
559
|
+
export declare const FlowFragmentDoc = "\n fragment flow on Flow {\n id\n versionId\n title\n description\n status\n languages\n createdBy {\n id\n name\n picture\n }\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n createdByAppId\n}\n ";
|
|
558
560
|
export declare const GetUsageStatisticsDocument = "\n query getUsageStatistics {\n getUsageStatistics {\n totalSecrets\n totalAppInstances\n totalConnections\n }\n}\n ";
|
|
559
|
-
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 languages\n createdBy {\n id\n name\n picture\n }\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 targetType\n type\n sourceHandle\n uidata\n}\n ";
|
|
560
|
-
export declare const ListFlowsDocument = "\n query listFlows($
|
|
561
|
+
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 languages\n createdBy {\n id\n name\n picture\n }\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n createdByAppId\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 targetType\n type\n sourceHandle\n uidata\n}\n ";
|
|
562
|
+
export declare const ListFlowsDocument = "\n query listFlows($status: FlowStatus, $next: Base64) {\n listFlows(next: $next, status: $status) {\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 languages\n createdBy {\n id\n name\n picture\n }\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n createdByAppId\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 targetType\n type\n sourceHandle\n uidata\n}\n ";
|
|
561
563
|
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 ";
|
|
562
|
-
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 ";
|
|
563
|
-
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 status\n languages\n createdBy {\n id\n name\n picture\n }\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 targetType\n type\n sourceHandle\n uidata\n}\n ";
|
|
564
|
-
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 status\n languages\n createdBy {\n id\n name\n picture\n }\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 targetType\n type\n sourceHandle\n uidata\n}\n ";
|
|
565
|
-
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 status\n languages\n createdBy {\n id\n name\n picture\n }\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 targetType\n type\n sourceHandle\n uidata\n}\n ";
|
|
566
|
-
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 status\n languages\n createdBy {\n id\n name\n picture\n }\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 targetType\n type\n sourceHandle\n uidata\n}\n ";
|
|
564
|
+
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 createdByAppId\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 ";
|
|
565
|
+
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 status\n languages\n createdBy {\n id\n name\n picture\n }\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n createdByAppId\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 targetType\n type\n sourceHandle\n uidata\n}\n ";
|
|
566
|
+
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 status\n languages\n createdBy {\n id\n name\n picture\n }\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n createdByAppId\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 targetType\n type\n sourceHandle\n uidata\n}\n ";
|
|
567
|
+
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 status\n languages\n createdBy {\n id\n name\n picture\n }\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n createdByAppId\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 targetType\n type\n sourceHandle\n uidata\n}\n ";
|
|
568
|
+
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 status\n languages\n createdBy {\n id\n name\n picture\n }\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n createdByAppId\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 targetType\n type\n sourceHandle\n uidata\n}\n ";
|
|
567
569
|
export declare const TestFlowDocument = "\n mutation testFlow($input: TestFlowInput!) {\n testFlow(input: $input) {\n sessionId\n }\n}\n ";
|
|
568
|
-
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 status\n languages\n createdBy {\n id\n name\n picture\n }\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 targetType\n type\n sourceHandle\n uidata\n}\n ";
|
|
569
|
-
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\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 ";
|
|
570
|
-
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\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 ";
|
|
570
|
+
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 status\n languages\n createdBy {\n id\n name\n picture\n }\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n createdByAppId\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 targetType\n type\n sourceHandle\n uidata\n}\n ";
|
|
571
|
+
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 createdByAppId\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 ";
|
|
572
|
+
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 createdByAppId\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 ";
|
|
571
573
|
export declare const GetLicenceDocument = "\n query getLicence {\n getLicence {\n tenantId\n name\n billing {\n automate {\n isEnabled\n }\n reclameaqui {\n cutoffSyncDays\n }\n }\n }\n}\n ";
|
|
572
574
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
573
575
|
export declare function getSdk<C>(requester: Requester<C>): {
|
package/src/sdks/droznexo.js
CHANGED
|
@@ -70,6 +70,7 @@ exports.SimpleConnectionFragmentDoc = `
|
|
|
70
70
|
}
|
|
71
71
|
createdAt
|
|
72
72
|
updatedAt
|
|
73
|
+
createdByAppId
|
|
73
74
|
}
|
|
74
75
|
`;
|
|
75
76
|
exports.NodeFragmentDoc = `
|
|
@@ -117,6 +118,7 @@ exports.FlowFragmentDoc = `
|
|
|
117
118
|
}
|
|
118
119
|
createdAt
|
|
119
120
|
updatedAt
|
|
121
|
+
createdByAppId
|
|
120
122
|
}
|
|
121
123
|
`;
|
|
122
124
|
exports.GetUsageStatisticsDocument = `
|
|
@@ -139,8 +141,8 @@ ${exports.AppAndAppInstanceFragmentDoc}
|
|
|
139
141
|
${exports.NodeFragmentDoc}
|
|
140
142
|
${exports.EdgeFragmentDoc}`;
|
|
141
143
|
exports.ListFlowsDocument = `
|
|
142
|
-
query listFlows($
|
|
143
|
-
listFlows(next: $next,
|
|
144
|
+
query listFlows($status: FlowStatus, $next: Base64) {
|
|
145
|
+
listFlows(next: $next, status: $status) {
|
|
144
146
|
nodes {
|
|
145
147
|
...flow
|
|
146
148
|
}
|
package/src/sdks/nucleus.d.ts
CHANGED
|
@@ -278,6 +278,7 @@ export type CreatePresignedUploadUrlInput = {
|
|
|
278
278
|
fileName: Scalars['String']['input'];
|
|
279
279
|
};
|
|
280
280
|
export type CreateStateMachineConfigInput = {
|
|
281
|
+
createdByAppId?: InputMaybe<Scalars['ID']['input']>;
|
|
281
282
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
282
283
|
states?: InputMaybe<Array<CreateStateMachineConfigWithStateInput>>;
|
|
283
284
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -776,7 +777,7 @@ export type QueryListStateMachineConfigVersionsArgs = {
|
|
|
776
777
|
export type QueryListStateMachineConfigsByStatusArgs = {
|
|
777
778
|
createdByAppId?: InputMaybe<Scalars['ID']['input']>;
|
|
778
779
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
779
|
-
|
|
780
|
+
status?: InputMaybe<StateMachineConfigStatus>;
|
|
780
781
|
};
|
|
781
782
|
export type QuerySearchSessionsArgs = {
|
|
782
783
|
q?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1480,7 +1481,7 @@ export type ListDraftStateMachineConfigsQuery = {
|
|
|
1480
1481
|
};
|
|
1481
1482
|
export type ListStateMachineConfigsByStatusQueryVariables = Exact<{
|
|
1482
1483
|
createdByAppId?: InputMaybe<Scalars['ID']['input']>;
|
|
1483
|
-
|
|
1484
|
+
status?: InputMaybe<StateMachineConfigStatus>;
|
|
1484
1485
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
1485
1486
|
}>;
|
|
1486
1487
|
export type ListStateMachineConfigsByStatusQuery = {
|
|
@@ -1642,7 +1643,7 @@ export declare const GetStateMachineDocument = "\n query getStateMachine($id:
|
|
|
1642
1643
|
export declare const CountLiveStateMachineConfigsDocument = "\n query countLiveStateMachineConfigs {\n countLiveStateMachineConfigs\n}\n ";
|
|
1643
1644
|
export declare const ListLiveStateMachineConfigsDocument = "\n query listLiveStateMachineConfigs($createdByAppId: ID, $next: Base64) {\n listLiveStateMachineConfigs(createdByAppId: $createdByAppId, next: $next) {\n ...stateMachineConfigConnection\n }\n}\n \n fragment stateMachineConfigConnection on StateMachineConfigConnection {\n nodes {\n ...stateMachineConfig\n }\n pageInfo {\n hasNext\n next\n }\n}\n \n\n fragment stateMachineConfig on StateMachineConfig {\n id\n versionId\n stateMachineId\n title\n description\n status\n triggers\n states {\n ...stateMachineConfigState\n }\n createdAt\n updatedAt\n}\n \n\n fragment stateMachineConfigState on StateMachineConfigState {\n stateId\n on {\n ...stateMachineConfigStateOn\n }\n meta\n}\n \n\n fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {\n event\n target\n}\n ";
|
|
1644
1645
|
export declare const ListDraftStateMachineConfigsDocument = "\n query listDraftStateMachineConfigs($createdByAppId: ID, $next: Base64) {\n listDraftStateMachineConfigs(createdByAppId: $createdByAppId, next: $next) {\n ...stateMachineConfigConnection\n }\n}\n \n fragment stateMachineConfigConnection on StateMachineConfigConnection {\n nodes {\n ...stateMachineConfig\n }\n pageInfo {\n hasNext\n next\n }\n}\n \n\n fragment stateMachineConfig on StateMachineConfig {\n id\n versionId\n stateMachineId\n title\n description\n status\n triggers\n states {\n ...stateMachineConfigState\n }\n createdAt\n updatedAt\n}\n \n\n fragment stateMachineConfigState on StateMachineConfigState {\n stateId\n on {\n ...stateMachineConfigStateOn\n }\n meta\n}\n \n\n fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {\n event\n target\n}\n ";
|
|
1645
|
-
export declare const ListStateMachineConfigsByStatusDocument = "\n query listStateMachineConfigsByStatus($createdByAppId: ID, $
|
|
1646
|
+
export declare const ListStateMachineConfigsByStatusDocument = "\n query listStateMachineConfigsByStatus($createdByAppId: ID, $status: StateMachineConfigStatus, $next: Base64) {\n listStateMachineConfigsByStatus(\n createdByAppId: $createdByAppId\n status: $status\n next: $next\n ) {\n ...stateMachineConfigConnection\n }\n}\n \n fragment stateMachineConfigConnection on StateMachineConfigConnection {\n nodes {\n ...stateMachineConfig\n }\n pageInfo {\n hasNext\n next\n }\n}\n \n\n fragment stateMachineConfig on StateMachineConfig {\n id\n versionId\n stateMachineId\n title\n description\n status\n triggers\n states {\n ...stateMachineConfigState\n }\n createdAt\n updatedAt\n}\n \n\n fragment stateMachineConfigState on StateMachineConfigState {\n stateId\n on {\n ...stateMachineConfigStateOn\n }\n meta\n}\n \n\n fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {\n event\n target\n}\n ";
|
|
1646
1647
|
export declare const ListStateMachineConfigVersionsDocument = "\n query listStateMachineConfigVersions($id: ID!) {\n listStateMachineConfigVersions(id: $id) {\n ...stateMachineConfig\n }\n}\n \n fragment stateMachineConfig on StateMachineConfig {\n id\n versionId\n stateMachineId\n title\n description\n status\n triggers\n states {\n ...stateMachineConfigState\n }\n createdAt\n updatedAt\n}\n \n\n fragment stateMachineConfigState on StateMachineConfigState {\n stateId\n on {\n ...stateMachineConfigStateOn\n }\n meta\n}\n \n\n fragment stateMachineConfigStateOn on StateMachineConfigStatesOn {\n event\n target\n}\n ";
|
|
1647
1648
|
export declare const GetXStateMachineConfigDocument = "\n query getXStateMachineConfig($id: ID!, $versionId: ID!) {\n getXStateMachineConfig(id: $id, versionId: $versionId)\n}\n ";
|
|
1648
1649
|
export declare const IsAppInstanceInUseDocument = "\n query isAppInstanceInUse($drn: DRN!) {\n isAppInstanceInUse(drn: $drn)\n}\n ";
|
package/src/sdks/nucleus.js
CHANGED
|
@@ -808,10 +808,10 @@ ${exports.StateMachineConfigFragmentDoc}
|
|
|
808
808
|
${exports.StateMachineConfigStateFragmentDoc}
|
|
809
809
|
${exports.StateMachineConfigStateOnFragmentDoc}`;
|
|
810
810
|
exports.ListStateMachineConfigsByStatusDocument = `
|
|
811
|
-
query listStateMachineConfigsByStatus($createdByAppId: ID, $
|
|
811
|
+
query listStateMachineConfigsByStatus($createdByAppId: ID, $status: StateMachineConfigStatus, $next: Base64) {
|
|
812
812
|
listStateMachineConfigsByStatus(
|
|
813
813
|
createdByAppId: $createdByAppId
|
|
814
|
-
|
|
814
|
+
status: $status
|
|
815
815
|
next: $next
|
|
816
816
|
) {
|
|
817
817
|
...stateMachineConfigConnection
|