@droz-js/sdk 0.5.25 → 0.5.26
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/sdks/utilities.d.ts +13 -9
- package/src/sdks/utilities.js +2 -0
package/package.json
CHANGED
package/src/sdks/utilities.d.ts
CHANGED
|
@@ -114,7 +114,8 @@ export type CreateEchoAppInput = {
|
|
|
114
114
|
};
|
|
115
115
|
export type CreateHttpInstanceInput = {
|
|
116
116
|
body?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
117
|
-
|
|
117
|
+
credentialId?: InputMaybe<Scalars['ID']['input']>;
|
|
118
|
+
credentialsHeader?: InputMaybe<Scalars['String']['input']>;
|
|
118
119
|
headers?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
119
120
|
key: Scalars['String']['input'];
|
|
120
121
|
method: HttpMethod;
|
|
@@ -131,6 +132,8 @@ export type EchoInstance = {
|
|
|
131
132
|
export type HttpInstance = {
|
|
132
133
|
body?: Maybe<Scalars['JSONObject']['output']>;
|
|
133
134
|
createdAt: Scalars['DateTime']['output'];
|
|
135
|
+
credentialId?: Maybe<Scalars['ID']['output']>;
|
|
136
|
+
credentialsHeader?: Maybe<Scalars['String']['output']>;
|
|
134
137
|
headers?: Maybe<Scalars['JSONObject']['output']>;
|
|
135
138
|
id: Scalars['ID']['output'];
|
|
136
139
|
key: Scalars['String']['output'];
|
|
@@ -281,7 +284,8 @@ export type UpdateEchoAppInput = {
|
|
|
281
284
|
};
|
|
282
285
|
export type UpdateHttpInstanceInput = {
|
|
283
286
|
body?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
284
|
-
|
|
287
|
+
credentialId?: InputMaybe<Scalars['ID']['input']>;
|
|
288
|
+
credentialsHeader?: InputMaybe<Scalars['String']['input']>;
|
|
285
289
|
headers?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
286
290
|
id: Scalars['ID']['input'];
|
|
287
291
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -358,7 +362,7 @@ export type RemoveEchoInstanceMutationVariables = Exact<{
|
|
|
358
362
|
export type RemoveEchoInstanceMutation = {
|
|
359
363
|
removeEchoInstance?: Maybe<EchoInstanceFragment>;
|
|
360
364
|
};
|
|
361
|
-
export type HttpInstanceFragment = Pick<HttpInstance, 'id' | 'name' | 'url' | 'key' | 'method' | 'headers' | 'body' | 'createdAt' | 'updatedAt'>;
|
|
365
|
+
export type HttpInstanceFragment = Pick<HttpInstance, 'id' | 'name' | 'url' | 'key' | 'method' | 'headers' | 'credentialId' | 'credentialsHeader' | 'body' | 'createdAt' | 'updatedAt'>;
|
|
362
366
|
export type GetHttpInstanceQueryVariables = Exact<{
|
|
363
367
|
id: Scalars['ID']['input'];
|
|
364
368
|
}>;
|
|
@@ -391,7 +395,7 @@ export type RemoveHttpInstanceMutation = {
|
|
|
391
395
|
};
|
|
392
396
|
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 ";
|
|
393
397
|
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 ";
|
|
394
|
-
export declare const HttpInstanceFragmentDoc = "\n fragment httpInstance on HttpInstance {\n id\n name\n url\n key\n method\n headers\n body\n createdAt\n updatedAt\n}\n ";
|
|
398
|
+
export declare const HttpInstanceFragmentDoc = "\n fragment httpInstance on HttpInstance {\n id\n name\n url\n key\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
|
|
395
399
|
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 ";
|
|
396
400
|
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 ";
|
|
397
401
|
export declare const CreateChoicesInstanceDocument = "\n mutation createChoicesInstance($input: CreateChoicesAppInput!) {\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 ";
|
|
@@ -402,11 +406,11 @@ export declare const ListEchoInstancesDocument = "\n query listEchoInstances
|
|
|
402
406
|
export declare const CreateEchoInstanceDocument = "\n mutation createEchoInstance($input: CreateEchoAppInput!) {\n createEchoInstance(input: $input) {\n ...echoInstance\n }\n}\n \n fragment echoInstance on EchoInstance {\n id\n name\n messages {\n lang\n value\n }\n createdAt\n updatedAt\n}\n ";
|
|
403
407
|
export declare const UpdateEchoInstanceDocument = "\n mutation updateEchoInstance($input: UpdateEchoAppInput!) {\n updateEchoInstance(input: $input) {\n ...echoInstance\n }\n}\n \n fragment echoInstance on EchoInstance {\n id\n name\n messages {\n lang\n value\n }\n createdAt\n updatedAt\n}\n ";
|
|
404
408
|
export declare const RemoveEchoInstanceDocument = "\n mutation removeEchoInstance($id: ID!) {\n removeEchoInstance(id: $id) {\n ...echoInstance\n }\n}\n \n fragment echoInstance on EchoInstance {\n id\n name\n messages {\n lang\n value\n }\n createdAt\n updatedAt\n}\n ";
|
|
405
|
-
export declare const GetHttpInstanceDocument = "\n query getHttpInstance($id: ID!) {\n getHttpInstance(id: $id) {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n key\n method\n headers\n body\n createdAt\n updatedAt\n}\n ";
|
|
406
|
-
export declare const ListHttpInstancesDocument = "\n query listHttpInstances {\n listHttpInstances {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n key\n method\n headers\n body\n createdAt\n updatedAt\n}\n ";
|
|
407
|
-
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 key\n method\n headers\n body\n createdAt\n updatedAt\n}\n ";
|
|
408
|
-
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 key\n method\n headers\n body\n createdAt\n updatedAt\n}\n ";
|
|
409
|
-
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 key\n method\n headers\n body\n createdAt\n updatedAt\n}\n ";
|
|
409
|
+
export declare const GetHttpInstanceDocument = "\n query getHttpInstance($id: ID!) {\n getHttpInstance(id: $id) {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n key\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
|
|
410
|
+
export declare const ListHttpInstancesDocument = "\n query listHttpInstances {\n listHttpInstances {\n ...httpInstance\n }\n}\n \n fragment httpInstance on HttpInstance {\n id\n name\n url\n key\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
|
|
411
|
+
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 key\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
|
|
412
|
+
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 key\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
|
|
413
|
+
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 key\n method\n headers\n credentialId\n credentialsHeader\n body\n createdAt\n updatedAt\n}\n ";
|
|
410
414
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
411
415
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
412
416
|
getChoicesInstance(variables: GetChoicesInstanceQueryVariables, options?: C): Promise<GetChoicesInstanceQuery>;
|