@droz-js/sdk 0.6.18 → 0.6.20
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 +3 -0
- package/src/sdks/droznexo.d.ts +46 -11
- package/src/sdks/droznexo.js +23 -1
- package/src/sdks/utilities.d.ts +45 -0
- package/src/sdks/utilities.js +72 -1
- package/src/utilities.d.ts +15 -0
package/package.json
CHANGED
package/src/droznexo.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ export declare const DrozNexo: new (options?: import("./client/http").HttpClient
|
|
|
9
9
|
getUsageStatistics(variables?: import("./sdks/droznexo").Exact<{
|
|
10
10
|
[key: string]: never;
|
|
11
11
|
}>, options?: unknown): Promise<import("./sdks/droznexo").GetUsageStatisticsQuery>;
|
|
12
|
+
getLicence(variables?: import("./sdks/droznexo").Exact<{
|
|
13
|
+
[key: string]: never;
|
|
14
|
+
}>, options?: unknown): Promise<import("./sdks/droznexo").GetLicenceQuery>;
|
|
12
15
|
getFlow(variables: import("./sdks/droznexo").Exact<{
|
|
13
16
|
id: string;
|
|
14
17
|
versionId: string;
|
package/src/sdks/droznexo.d.ts
CHANGED
|
@@ -127,6 +127,9 @@ export declare enum AppInstanceStatus {
|
|
|
127
127
|
Failing = "Failing",
|
|
128
128
|
Inactive = "Inactive"
|
|
129
129
|
}
|
|
130
|
+
export type AutomateConfiguration = {
|
|
131
|
+
isEnabled: Scalars['Boolean']['output'];
|
|
132
|
+
};
|
|
130
133
|
export declare enum Can {
|
|
131
134
|
Manage = "manage",
|
|
132
135
|
Read = "read",
|
|
@@ -135,6 +138,7 @@ export declare enum Can {
|
|
|
135
138
|
}
|
|
136
139
|
export type CreateFlowInput = {
|
|
137
140
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
141
|
+
languages: Array<Scalars['String']['input']>;
|
|
138
142
|
title: Scalars['String']['input'];
|
|
139
143
|
};
|
|
140
144
|
export type CreateSimpleConnectionInput = {
|
|
@@ -155,6 +159,15 @@ export type DrozNexoAppInstance = {
|
|
|
155
159
|
transitions: Array<Scalars['String']['output']>;
|
|
156
160
|
updatedAt: Scalars['DateTime']['output'];
|
|
157
161
|
};
|
|
162
|
+
export type DrozNexoBilling = {
|
|
163
|
+
automate: AutomateConfiguration;
|
|
164
|
+
reclameaqui: ReclameAquiConfiguration;
|
|
165
|
+
};
|
|
166
|
+
export type DrozNexoLicence = {
|
|
167
|
+
billing: DrozNexoBilling;
|
|
168
|
+
name: Scalars['String']['output'];
|
|
169
|
+
tenantId: Scalars['String']['output'];
|
|
170
|
+
};
|
|
158
171
|
export type DrozNexoUsageStatistics = {
|
|
159
172
|
totalAppInstances: Scalars['Int']['output'];
|
|
160
173
|
totalConnections: Scalars['Int']['output'];
|
|
@@ -165,6 +178,7 @@ export type Edge = {
|
|
|
165
178
|
source: Scalars['ID']['output'];
|
|
166
179
|
sourceHandle: Scalars['String']['output'];
|
|
167
180
|
target: Scalars['ID']['output'];
|
|
181
|
+
targetType: Scalars['String']['output'];
|
|
168
182
|
type: Scalars['String']['output'];
|
|
169
183
|
uidata?: Maybe<Scalars['JSON']['output']>;
|
|
170
184
|
};
|
|
@@ -173,6 +187,7 @@ export type EdgeInput = {
|
|
|
173
187
|
source: Scalars['ID']['input'];
|
|
174
188
|
sourceHandle: Scalars['String']['input'];
|
|
175
189
|
target: Scalars['ID']['input'];
|
|
190
|
+
targetType: Scalars['String']['input'];
|
|
176
191
|
type: Scalars['String']['input'];
|
|
177
192
|
uidata?: InputMaybe<Scalars['JSON']['input']>;
|
|
178
193
|
};
|
|
@@ -181,9 +196,11 @@ export type EditFlowInput = {
|
|
|
181
196
|
};
|
|
182
197
|
export type Flow = {
|
|
183
198
|
createdAt: Scalars['DateTime']['output'];
|
|
199
|
+
createdBy: Scalars['String']['output'];
|
|
184
200
|
description?: Maybe<Scalars['String']['output']>;
|
|
185
201
|
edges: Array<Edge>;
|
|
186
202
|
id: Scalars['ID']['output'];
|
|
203
|
+
languages: Array<Scalars['String']['output']>;
|
|
187
204
|
nodes: Array<Node>;
|
|
188
205
|
stateMachineId: Scalars['ID']['output'];
|
|
189
206
|
status: FlowStatus;
|
|
@@ -282,6 +299,7 @@ export type Query = {
|
|
|
282
299
|
app?: Maybe<Scalars['DRN']['output']>;
|
|
283
300
|
getFlow: Flow;
|
|
284
301
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
302
|
+
getLicence?: Maybe<DrozNexoLicence>;
|
|
285
303
|
getUsageStatistics?: Maybe<DrozNexoUsageStatistics>;
|
|
286
304
|
listFlows: FlowConnection;
|
|
287
305
|
listSimpleConnectionSuggestions: Array<SimpleConnectionSuggestion>;
|
|
@@ -299,6 +317,9 @@ export type QueryListFlowsArgs = {
|
|
|
299
317
|
export type QueryListSimpleConnectionsArgs = {
|
|
300
318
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
301
319
|
};
|
|
320
|
+
export type ReclameAquiConfiguration = {
|
|
321
|
+
cutoffSyncDays?: Maybe<Scalars['Float']['output']>;
|
|
322
|
+
};
|
|
302
323
|
export type RemoveFlowInput = {
|
|
303
324
|
id: Scalars['ID']['input'];
|
|
304
325
|
versionId: Scalars['ID']['input'];
|
|
@@ -383,6 +404,7 @@ export type UpdateFlowInput = {
|
|
|
383
404
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
384
405
|
edges: Array<EdgeInput>;
|
|
385
406
|
id: Scalars['ID']['input'];
|
|
407
|
+
languages?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
386
408
|
nodes: Array<NodeInput>;
|
|
387
409
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
388
410
|
triggers?: InputMaybe<Scalars['Set']['input']>;
|
|
@@ -403,8 +425,8 @@ export type SimpleConnectionFragment = (Pick<SimpleConnection, 'id' | 'versionId
|
|
|
403
425
|
export type NodeFragment = (Pick<Node, 'id' | 'type' | 'uidata'> & {
|
|
404
426
|
data: AppAndAppInstanceFragment;
|
|
405
427
|
});
|
|
406
|
-
export type EdgeFragment = Pick<Edge, 'id' | 'source' | 'target' | 'type' | 'sourceHandle' | 'uidata'>;
|
|
407
|
-
export type FlowFragment = (Pick<Flow, 'id' | 'versionId' | 'title' | 'description' | 'status' | 'createdAt' | 'updatedAt'> & {
|
|
428
|
+
export type EdgeFragment = Pick<Edge, 'id' | 'source' | 'target' | 'targetType' | 'type' | 'sourceHandle' | 'uidata'>;
|
|
429
|
+
export type FlowFragment = (Pick<Flow, 'id' | 'versionId' | 'title' | 'description' | 'status' | 'languages' | 'createdBy' | 'createdAt' | 'updatedAt'> & {
|
|
408
430
|
triggers: Array<AppAndAppInstanceFragment>;
|
|
409
431
|
nodes: Array<NodeFragment>;
|
|
410
432
|
edges: Array<EdgeFragment>;
|
|
@@ -415,6 +437,17 @@ export type GetUsageStatisticsQueryVariables = Exact<{
|
|
|
415
437
|
export type GetUsageStatisticsQuery = {
|
|
416
438
|
getUsageStatistics?: Maybe<Pick<DrozNexoUsageStatistics, 'totalSecrets' | 'totalAppInstances' | 'totalConnections'>>;
|
|
417
439
|
};
|
|
440
|
+
export type GetLicenceQueryVariables = Exact<{
|
|
441
|
+
[key: string]: never;
|
|
442
|
+
}>;
|
|
443
|
+
export type GetLicenceQuery = {
|
|
444
|
+
getLicence?: Maybe<(Pick<DrozNexoLicence, 'tenantId' | 'name'> & {
|
|
445
|
+
billing: {
|
|
446
|
+
automate: Pick<AutomateConfiguration, 'isEnabled'>;
|
|
447
|
+
reclameaqui: Pick<ReclameAquiConfiguration, 'cutoffSyncDays'>;
|
|
448
|
+
};
|
|
449
|
+
})>;
|
|
450
|
+
};
|
|
418
451
|
export type GetFlowQueryVariables = Exact<{
|
|
419
452
|
id: Scalars['ID']['input'];
|
|
420
453
|
versionId: Scalars['ID']['input'];
|
|
@@ -493,23 +526,25 @@ export declare const AppAndAppInstanceFragmentDoc = "\n fragment appAndAppIns
|
|
|
493
526
|
export declare const SimpleConnectionSuggestionFragmentDoc = "\n fragment simpleConnectionSuggestion on SimpleConnectionSuggestion {\n title\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n}\n ";
|
|
494
527
|
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 ";
|
|
495
528
|
export declare const NodeFragmentDoc = "\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n ";
|
|
496
|
-
export declare const EdgeFragmentDoc = "\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
|
|
497
|
-
export declare const FlowFragmentDoc = "\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 ";
|
|
529
|
+
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 ";
|
|
530
|
+
export declare const FlowFragmentDoc = "\n fragment flow on Flow {\n id\n versionId\n title\n description\n status\n languages\n createdBy\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n ";
|
|
498
531
|
export declare const GetUsageStatisticsDocument = "\n query getUsageStatistics {\n getUsageStatistics {\n totalSecrets\n totalAppInstances\n totalConnections\n }\n}\n ";
|
|
499
|
-
export declare const
|
|
500
|
-
export declare const
|
|
532
|
+
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 ";
|
|
533
|
+
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 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 ";
|
|
534
|
+
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 languages\n createdBy\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 ";
|
|
501
535
|
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 ";
|
|
502
536
|
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 ";
|
|
503
|
-
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 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 ";
|
|
504
|
-
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 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 ";
|
|
505
|
-
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 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 ";
|
|
506
|
-
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 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 ";
|
|
507
|
-
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 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 ";
|
|
537
|
+
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 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 ";
|
|
538
|
+
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 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 ";
|
|
539
|
+
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 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 ";
|
|
540
|
+
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 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 ";
|
|
541
|
+
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 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 ";
|
|
508
542
|
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 ";
|
|
509
543
|
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 ";
|
|
510
544
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
511
545
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
512
546
|
getUsageStatistics(variables?: GetUsageStatisticsQueryVariables, options?: C): Promise<GetUsageStatisticsQuery>;
|
|
547
|
+
getLicence(variables?: GetLicenceQueryVariables, options?: C): Promise<GetLicenceQuery>;
|
|
513
548
|
getFlow(variables: GetFlowQueryVariables, options?: C): Promise<GetFlowQuery>;
|
|
514
549
|
listFlows(variables?: ListFlowsQueryVariables, options?: C): Promise<ListFlowsQuery>;
|
|
515
550
|
listSimpleSuggestions(variables?: ListSimpleSuggestionsQueryVariables, options?: C): Promise<ListSimpleSuggestionsQuery>;
|
package/src/sdks/droznexo.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
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;
|
|
4
|
+
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.GetLicenceDocument = exports.GetUsageStatisticsDocument = exports.FlowFragmentDoc = exports.EdgeFragmentDoc = exports.NodeFragmentDoc = exports.SimpleConnectionFragmentDoc = exports.SimpleConnectionSuggestionFragmentDoc = exports.AppAndAppInstanceFragmentDoc = exports.Typenames = exports.FlowStatus = exports.Can = exports.AppInstanceStatus = void 0;
|
|
5
5
|
var AppInstanceStatus;
|
|
6
6
|
(function (AppInstanceStatus) {
|
|
7
7
|
AppInstanceStatus["Active"] = "Active";
|
|
@@ -87,6 +87,7 @@ exports.EdgeFragmentDoc = `
|
|
|
87
87
|
id
|
|
88
88
|
source
|
|
89
89
|
target
|
|
90
|
+
targetType
|
|
90
91
|
type
|
|
91
92
|
sourceHandle
|
|
92
93
|
uidata
|
|
@@ -99,6 +100,8 @@ exports.FlowFragmentDoc = `
|
|
|
99
100
|
title
|
|
100
101
|
description
|
|
101
102
|
status
|
|
103
|
+
languages
|
|
104
|
+
createdBy
|
|
102
105
|
triggers {
|
|
103
106
|
...appAndAppInstance
|
|
104
107
|
}
|
|
@@ -121,6 +124,22 @@ exports.GetUsageStatisticsDocument = `
|
|
|
121
124
|
}
|
|
122
125
|
}
|
|
123
126
|
`;
|
|
127
|
+
exports.GetLicenceDocument = `
|
|
128
|
+
query getLicence {
|
|
129
|
+
getLicence {
|
|
130
|
+
tenantId
|
|
131
|
+
name
|
|
132
|
+
billing {
|
|
133
|
+
automate {
|
|
134
|
+
isEnabled
|
|
135
|
+
}
|
|
136
|
+
reclameaqui {
|
|
137
|
+
cutoffSyncDays
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
`;
|
|
124
143
|
exports.GetFlowDocument = `
|
|
125
144
|
query getFlow($id: ID!, $versionId: ID!) {
|
|
126
145
|
getFlow(id: $id, versionId: $versionId) {
|
|
@@ -240,6 +259,9 @@ function getSdk(requester) {
|
|
|
240
259
|
getUsageStatistics(variables, options) {
|
|
241
260
|
return requester(exports.GetUsageStatisticsDocument, variables, options);
|
|
242
261
|
},
|
|
262
|
+
getLicence(variables, options) {
|
|
263
|
+
return requester(exports.GetLicenceDocument, variables, options);
|
|
264
|
+
},
|
|
243
265
|
getFlow(variables, options) {
|
|
244
266
|
return requester(exports.GetFlowDocument, variables, options);
|
|
245
267
|
},
|
package/src/sdks/utilities.d.ts
CHANGED
|
@@ -680,6 +680,40 @@ export type RemoveHttpInstanceMutationVariables = Exact<{
|
|
|
680
680
|
export type RemoveHttpInstanceMutation = {
|
|
681
681
|
removeHttpInstance?: Maybe<HttpInstanceFragment>;
|
|
682
682
|
};
|
|
683
|
+
export type PrompInstanceFragment = (Pick<PromptInstance, 'id' | 'name' | 'variableName' | 'createdAt' | 'updatedAt'> & {
|
|
684
|
+
validationMessages: Array<Pick<I18nText, 'lang' | 'value'>>;
|
|
685
|
+
validations?: Maybe<Array<Pick<Validation, 'code' | 'assert' | 'max' | 'min' | 'regex'>>>;
|
|
686
|
+
});
|
|
687
|
+
export type GetPromptInstanceQueryVariables = Exact<{
|
|
688
|
+
id: Scalars['ID']['input'];
|
|
689
|
+
}>;
|
|
690
|
+
export type GetPromptInstanceQuery = {
|
|
691
|
+
getPromptInstance?: Maybe<PrompInstanceFragment>;
|
|
692
|
+
};
|
|
693
|
+
export type ListPromptInstancesQueryVariables = Exact<{
|
|
694
|
+
[key: string]: never;
|
|
695
|
+
}>;
|
|
696
|
+
export type ListPromptInstancesQuery = {
|
|
697
|
+
listPromptInstances?: Maybe<Array<Maybe<PrompInstanceFragment>>>;
|
|
698
|
+
};
|
|
699
|
+
export type CreatePromptInstanceMutationVariables = Exact<{
|
|
700
|
+
input: CreatePromptAppInput;
|
|
701
|
+
}>;
|
|
702
|
+
export type CreatePromptInstanceMutation = {
|
|
703
|
+
createPromptInstance?: Maybe<PrompInstanceFragment>;
|
|
704
|
+
};
|
|
705
|
+
export type UpdatePromptInstanceMutationVariables = Exact<{
|
|
706
|
+
input: UpdatePromptAppInput;
|
|
707
|
+
}>;
|
|
708
|
+
export type UpdatePromptInstanceMutation = {
|
|
709
|
+
updatePromptInstance?: Maybe<PrompInstanceFragment>;
|
|
710
|
+
};
|
|
711
|
+
export type RemovePromptInstanceMutationVariables = Exact<{
|
|
712
|
+
input: RemovePromptAppInput;
|
|
713
|
+
}>;
|
|
714
|
+
export type RemovePromptInstanceMutation = {
|
|
715
|
+
removePromptInstance?: Maybe<PrompInstanceFragment>;
|
|
716
|
+
};
|
|
683
717
|
export declare const ChoicesInstanceFragmentDoc = "\n fragment choicesInstance on ChoicesInstance {\n id\n name\n options {\n messages {\n lang\n value\n }\n transition\n }\n errorMessages {\n lang\n value\n }\n createdAt\n updatedAt\n}\n ";
|
|
684
718
|
export declare const StringMatcherFragmentDoc = "\n fragment stringMatcher on StringMatcher {\n eq\n in\n ne\n}\n ";
|
|
685
719
|
export declare const RecursiveConditionsFragmentDoc = "\n fragment recursiveConditions on RecursiveConditions {\n fact\n operator {\n ...stringMatcher\n }\n OR {\n fact\n operator {\n ...stringMatcher\n }\n AND {\n fact\n operator {\n ...stringMatcher\n }\n AND {\n fact\n operator {\n ...stringMatcher\n }\n }\n OR {\n fact\n operator {\n ...stringMatcher\n }\n }\n }\n OR {\n fact\n operator {\n ...stringMatcher\n }\n AND {\n fact\n operator {\n ...stringMatcher\n }\n }\n OR {\n fact\n operator {\n ...stringMatcher\n }\n }\n }\n }\n AND {\n fact\n operator {\n ...stringMatcher\n }\n AND {\n fact\n operator {\n ...stringMatcher\n }\n AND {\n fact\n operator {\n ...stringMatcher\n }\n }\n OR {\n fact\n operator {\n ...stringMatcher\n }\n }\n }\n OR {\n fact\n operator {\n ...stringMatcher\n }\n AND {\n fact\n operator {\n ...stringMatcher\n }\n }\n OR {\n fact\n operator {\n ...stringMatcher\n }\n }\n }\n }\n}\n ";
|
|
@@ -687,6 +721,7 @@ export declare const ConditionsFragmentDoc = "\n fragment conditions on Condi
|
|
|
687
721
|
export declare const ConditionalsInstanceFragmentDoc = "\n fragment conditionalsInstance on ConditionalsInstance {\n id\n name\n rules {\n transition\n conditions {\n ...conditions\n }\n }\n}\n ";
|
|
688
722
|
export declare const EchoInstanceFragmentDoc = "\n fragment echoInstance on EchoInstance {\n id\n name\n messages {\n lang\n value\n }\n createdAt\n updatedAt\n}\n ";
|
|
689
723
|
export declare const HttpInstanceFragmentDoc = "\n fragment httpInstance on HttpInstance {\n id\n name\n url\n variableName\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
|
|
724
|
+
export declare const PrompInstanceFragmentDoc = "\n fragment prompInstance on PromptInstance {\n id\n name\n validationMessages {\n lang\n value\n }\n validations {\n code\n assert\n assert\n max\n min\n regex\n }\n variableName\n createdAt\n updatedAt\n}\n ";
|
|
690
725
|
export declare const GetChoicesInstanceDocument = "\n query getChoicesInstance($id: ID!) {\n getChoicesInstance(id: $id) {\n ...choicesInstance\n }\n}\n \n fragment choicesInstance on ChoicesInstance {\n id\n name\n options {\n messages {\n lang\n value\n }\n transition\n }\n errorMessages {\n lang\n value\n }\n createdAt\n updatedAt\n}\n ";
|
|
691
726
|
export declare const ListChoicesInstancesDocument = "\n query listChoicesInstances {\n listChoicesInstances {\n ...choicesInstance\n }\n}\n \n fragment choicesInstance on ChoicesInstance {\n id\n name\n options {\n messages {\n lang\n value\n }\n transition\n }\n errorMessages {\n lang\n value\n }\n createdAt\n updatedAt\n}\n ";
|
|
692
727
|
export declare const CreateChoicesInstanceDocument = "\n mutation createChoicesInstance($input: CreateChoicesInstanceInput!) {\n createChoicesInstance(input: $input) {\n ...choicesInstance\n }\n}\n \n fragment choicesInstance on ChoicesInstance {\n id\n name\n options {\n messages {\n lang\n value\n }\n transition\n }\n errorMessages {\n lang\n value\n }\n createdAt\n updatedAt\n}\n ";
|
|
@@ -707,6 +742,11 @@ export declare const ListHttpInstancesDocument = "\n query listHttpInstances
|
|
|
707
742
|
export declare const CreateHttpInstanceDocument = "\n mutation createHttpInstance($input: CreateHttpInstanceInput!) {\n createHttpInstance(input: $input) {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n variableName\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
|
|
708
743
|
export declare const UpdateHttpInstanceDocument = "\n mutation updateHttpInstance($input: UpdateHttpInstanceInput!) {\n updateHttpInstance(input: $input) {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n variableName\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
|
|
709
744
|
export declare const RemoveHttpInstanceDocument = "\n mutation removeHttpInstance($id: ID!) {\n removeHttpInstance(id: $id) {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n variableName\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
|
|
745
|
+
export declare const GetPromptInstanceDocument = "\n query getPromptInstance($id: ID!) {\n getPromptInstance(id: $id) {\n ...prompInstance\n }\n}\n \n fragment prompInstance on PromptInstance {\n id\n name\n validationMessages {\n lang\n value\n }\n validations {\n code\n assert\n assert\n max\n min\n regex\n }\n variableName\n createdAt\n updatedAt\n}\n ";
|
|
746
|
+
export declare const ListPromptInstancesDocument = "\n query listPromptInstances {\n listPromptInstances {\n ...prompInstance\n }\n}\n \n fragment prompInstance on PromptInstance {\n id\n name\n validationMessages {\n lang\n value\n }\n validations {\n code\n assert\n assert\n max\n min\n regex\n }\n variableName\n createdAt\n updatedAt\n}\n ";
|
|
747
|
+
export declare const CreatePromptInstanceDocument = "\n mutation createPromptInstance($input: CreatePromptAppInput!) {\n createPromptInstance(input: $input) {\n ...prompInstance\n }\n}\n \n fragment prompInstance on PromptInstance {\n id\n name\n validationMessages {\n lang\n value\n }\n validations {\n code\n assert\n assert\n max\n min\n regex\n }\n variableName\n createdAt\n updatedAt\n}\n ";
|
|
748
|
+
export declare const UpdatePromptInstanceDocument = "\n mutation updatePromptInstance($input: UpdatePromptAppInput!) {\n updatePromptInstance(input: $input) {\n ...prompInstance\n }\n}\n \n fragment prompInstance on PromptInstance {\n id\n name\n validationMessages {\n lang\n value\n }\n validations {\n code\n assert\n assert\n max\n min\n regex\n }\n variableName\n createdAt\n updatedAt\n}\n ";
|
|
749
|
+
export declare const RemovePromptInstanceDocument = "\n mutation removePromptInstance($input: RemovePromptAppInput!) {\n removePromptInstance(input: $input) {\n ...prompInstance\n }\n}\n \n fragment prompInstance on PromptInstance {\n id\n name\n validationMessages {\n lang\n value\n }\n validations {\n code\n assert\n assert\n max\n min\n regex\n }\n variableName\n createdAt\n updatedAt\n}\n ";
|
|
710
750
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
711
751
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
712
752
|
getChoicesInstance(variables: GetChoicesInstanceQueryVariables, options?: C): Promise<GetChoicesInstanceQuery>;
|
|
@@ -729,6 +769,11 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
729
769
|
createHttpInstance(variables: CreateHttpInstanceMutationVariables, options?: C): Promise<CreateHttpInstanceMutation>;
|
|
730
770
|
updateHttpInstance(variables: UpdateHttpInstanceMutationVariables, options?: C): Promise<UpdateHttpInstanceMutation>;
|
|
731
771
|
removeHttpInstance(variables: RemoveHttpInstanceMutationVariables, options?: C): Promise<RemoveHttpInstanceMutation>;
|
|
772
|
+
getPromptInstance(variables: GetPromptInstanceQueryVariables, options?: C): Promise<GetPromptInstanceQuery>;
|
|
773
|
+
listPromptInstances(variables?: ListPromptInstancesQueryVariables, options?: C): Promise<ListPromptInstancesQuery>;
|
|
774
|
+
createPromptInstance(variables: CreatePromptInstanceMutationVariables, options?: C): Promise<CreatePromptInstanceMutation>;
|
|
775
|
+
updatePromptInstance(variables: UpdatePromptInstanceMutationVariables, options?: C): Promise<UpdatePromptInstanceMutation>;
|
|
776
|
+
removePromptInstance(variables: RemovePromptInstanceMutationVariables, options?: C): Promise<RemovePromptInstanceMutation>;
|
|
732
777
|
};
|
|
733
778
|
export type Sdk = ReturnType<typeof getSdk>;
|
|
734
779
|
export declare const serviceName = "@droz/utilities";
|
package/src/sdks/utilities.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.serviceName = exports.getSdk = exports.RemoveHttpInstanceDocument = exports.UpdateHttpInstanceDocument = exports.CreateHttpInstanceDocument = exports.ListHttpInstancesDocument = exports.GetHttpInstanceDocument = exports.RemoveEchoInstanceDocument = exports.UpdateEchoInstanceDocument = exports.CreateEchoInstanceDocument = exports.ListEchoInstancesDocument = exports.GetEchoInstanceDocument = exports.RemoveConditionalsInstanceDocument = exports.UpdateConditionalsInstanceDocument = exports.CreateConditionalsInstanceDocument = exports.ListConditionalsInstancesDocument = exports.GetConditionalsInstanceDocument = exports.RemoveChoicesInstanceDocument = exports.UpdateChoicesInstanceDocument = exports.CreateChoicesInstanceDocument = exports.ListChoicesInstancesDocument = exports.GetChoicesInstanceDocument = exports.HttpInstanceFragmentDoc = exports.EchoInstanceFragmentDoc = exports.ConditionalsInstanceFragmentDoc = exports.ConditionsFragmentDoc = exports.RecursiveConditionsFragmentDoc = exports.StringMatcherFragmentDoc = exports.ChoicesInstanceFragmentDoc = exports.Typenames = exports.HttpMethod = exports.Can = exports.Asserts = exports.AppInstanceStatus = void 0;
|
|
4
|
+
exports.serviceName = exports.getSdk = exports.RemovePromptInstanceDocument = exports.UpdatePromptInstanceDocument = exports.CreatePromptInstanceDocument = exports.ListPromptInstancesDocument = exports.GetPromptInstanceDocument = exports.RemoveHttpInstanceDocument = exports.UpdateHttpInstanceDocument = exports.CreateHttpInstanceDocument = exports.ListHttpInstancesDocument = exports.GetHttpInstanceDocument = exports.RemoveEchoInstanceDocument = exports.UpdateEchoInstanceDocument = exports.CreateEchoInstanceDocument = exports.ListEchoInstancesDocument = exports.GetEchoInstanceDocument = exports.RemoveConditionalsInstanceDocument = exports.UpdateConditionalsInstanceDocument = exports.CreateConditionalsInstanceDocument = exports.ListConditionalsInstancesDocument = exports.GetConditionalsInstanceDocument = exports.RemoveChoicesInstanceDocument = exports.UpdateChoicesInstanceDocument = exports.CreateChoicesInstanceDocument = exports.ListChoicesInstancesDocument = exports.GetChoicesInstanceDocument = exports.PrompInstanceFragmentDoc = exports.HttpInstanceFragmentDoc = exports.EchoInstanceFragmentDoc = exports.ConditionalsInstanceFragmentDoc = exports.ConditionsFragmentDoc = exports.RecursiveConditionsFragmentDoc = exports.StringMatcherFragmentDoc = exports.ChoicesInstanceFragmentDoc = exports.Typenames = exports.HttpMethod = exports.Can = exports.Asserts = exports.AppInstanceStatus = void 0;
|
|
5
5
|
var AppInstanceStatus;
|
|
6
6
|
(function (AppInstanceStatus) {
|
|
7
7
|
AppInstanceStatus["Active"] = "Active";
|
|
@@ -212,6 +212,27 @@ exports.HttpInstanceFragmentDoc = `
|
|
|
212
212
|
updatedAt
|
|
213
213
|
}
|
|
214
214
|
`;
|
|
215
|
+
exports.PrompInstanceFragmentDoc = `
|
|
216
|
+
fragment prompInstance on PromptInstance {
|
|
217
|
+
id
|
|
218
|
+
name
|
|
219
|
+
validationMessages {
|
|
220
|
+
lang
|
|
221
|
+
value
|
|
222
|
+
}
|
|
223
|
+
validations {
|
|
224
|
+
code
|
|
225
|
+
assert
|
|
226
|
+
assert
|
|
227
|
+
max
|
|
228
|
+
min
|
|
229
|
+
regex
|
|
230
|
+
}
|
|
231
|
+
variableName
|
|
232
|
+
createdAt
|
|
233
|
+
updatedAt
|
|
234
|
+
}
|
|
235
|
+
`;
|
|
215
236
|
exports.GetChoicesInstanceDocument = `
|
|
216
237
|
query getChoicesInstance($id: ID!) {
|
|
217
238
|
getChoicesInstance(id: $id) {
|
|
@@ -367,6 +388,41 @@ exports.RemoveHttpInstanceDocument = `
|
|
|
367
388
|
}
|
|
368
389
|
}
|
|
369
390
|
${exports.HttpInstanceFragmentDoc}`;
|
|
391
|
+
exports.GetPromptInstanceDocument = `
|
|
392
|
+
query getPromptInstance($id: ID!) {
|
|
393
|
+
getPromptInstance(id: $id) {
|
|
394
|
+
...prompInstance
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
${exports.PrompInstanceFragmentDoc}`;
|
|
398
|
+
exports.ListPromptInstancesDocument = `
|
|
399
|
+
query listPromptInstances {
|
|
400
|
+
listPromptInstances {
|
|
401
|
+
...prompInstance
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
${exports.PrompInstanceFragmentDoc}`;
|
|
405
|
+
exports.CreatePromptInstanceDocument = `
|
|
406
|
+
mutation createPromptInstance($input: CreatePromptAppInput!) {
|
|
407
|
+
createPromptInstance(input: $input) {
|
|
408
|
+
...prompInstance
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
${exports.PrompInstanceFragmentDoc}`;
|
|
412
|
+
exports.UpdatePromptInstanceDocument = `
|
|
413
|
+
mutation updatePromptInstance($input: UpdatePromptAppInput!) {
|
|
414
|
+
updatePromptInstance(input: $input) {
|
|
415
|
+
...prompInstance
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
${exports.PrompInstanceFragmentDoc}`;
|
|
419
|
+
exports.RemovePromptInstanceDocument = `
|
|
420
|
+
mutation removePromptInstance($input: RemovePromptAppInput!) {
|
|
421
|
+
removePromptInstance(input: $input) {
|
|
422
|
+
...prompInstance
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
${exports.PrompInstanceFragmentDoc}`;
|
|
370
426
|
function getSdk(requester) {
|
|
371
427
|
return {
|
|
372
428
|
getChoicesInstance(variables, options) {
|
|
@@ -428,6 +484,21 @@ function getSdk(requester) {
|
|
|
428
484
|
},
|
|
429
485
|
removeHttpInstance(variables, options) {
|
|
430
486
|
return requester(exports.RemoveHttpInstanceDocument, variables, options);
|
|
487
|
+
},
|
|
488
|
+
getPromptInstance(variables, options) {
|
|
489
|
+
return requester(exports.GetPromptInstanceDocument, variables, options);
|
|
490
|
+
},
|
|
491
|
+
listPromptInstances(variables, options) {
|
|
492
|
+
return requester(exports.ListPromptInstancesDocument, variables, options);
|
|
493
|
+
},
|
|
494
|
+
createPromptInstance(variables, options) {
|
|
495
|
+
return requester(exports.CreatePromptInstanceDocument, variables, options);
|
|
496
|
+
},
|
|
497
|
+
updatePromptInstance(variables, options) {
|
|
498
|
+
return requester(exports.UpdatePromptInstanceDocument, variables, options);
|
|
499
|
+
},
|
|
500
|
+
removePromptInstance(variables, options) {
|
|
501
|
+
return requester(exports.RemovePromptInstanceDocument, variables, options);
|
|
431
502
|
}
|
|
432
503
|
};
|
|
433
504
|
}
|
package/src/utilities.d.ts
CHANGED
|
@@ -66,4 +66,19 @@ export declare const DrozUtilities: new (options?: import("./client/http").HttpC
|
|
|
66
66
|
removeHttpInstance(variables: import("./sdks/utilities").Exact<{
|
|
67
67
|
id: string;
|
|
68
68
|
}>, options?: unknown): Promise<import("./sdks/utilities").RemoveHttpInstanceMutation>;
|
|
69
|
+
getPromptInstance(variables: import("./sdks/utilities").Exact<{
|
|
70
|
+
id: string;
|
|
71
|
+
}>, options?: unknown): Promise<import("./sdks/utilities").GetPromptInstanceQuery>;
|
|
72
|
+
listPromptInstances(variables?: import("./sdks/utilities").Exact<{
|
|
73
|
+
[key: string]: never;
|
|
74
|
+
}>, options?: unknown): Promise<import("./sdks/utilities").ListPromptInstancesQuery>;
|
|
75
|
+
createPromptInstance(variables: import("./sdks/utilities").Exact<{
|
|
76
|
+
input: import("./sdks/utilities").CreatePromptAppInput;
|
|
77
|
+
}>, options?: unknown): Promise<import("./sdks/utilities").CreatePromptInstanceMutation>;
|
|
78
|
+
updatePromptInstance(variables: import("./sdks/utilities").Exact<{
|
|
79
|
+
input: import("./sdks/utilities").UpdatePromptAppInput;
|
|
80
|
+
}>, options?: unknown): Promise<import("./sdks/utilities").UpdatePromptInstanceMutation>;
|
|
81
|
+
removePromptInstance(variables: import("./sdks/utilities").Exact<{
|
|
82
|
+
input: import("./sdks/utilities").RemovePromptAppInput;
|
|
83
|
+
}>, options?: unknown): Promise<import("./sdks/utilities").RemovePromptInstanceMutation>;
|
|
69
84
|
};
|