@droz-js/sdk 0.3.1 → 0.3.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/sdks/drozbot.d.ts +10 -10
- package/src/sdks/drozbot.js +1 -1
- package/src/sdks/droznexo.d.ts +7 -5
- package/src/sdks/droznexo.js +4 -0
package/package.json
CHANGED
package/src/sdks/drozbot.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ export declare enum AppInstanceStatus {
|
|
|
92
92
|
Inactive = "Inactive"
|
|
93
93
|
}
|
|
94
94
|
export type CreateDrozBotInstanceInput = {
|
|
95
|
-
|
|
95
|
+
credentialId: Scalars['ID']['input'];
|
|
96
96
|
isTest?: InputMaybe<Scalars['Boolean']['input']>;
|
|
97
97
|
name: Scalars['String']['input'];
|
|
98
98
|
};
|
|
@@ -115,7 +115,7 @@ export type CreateDrozBotTicketProfileInput = {
|
|
|
115
115
|
};
|
|
116
116
|
export type DrozBotInstance = {
|
|
117
117
|
createdAt: Scalars['DateTime']['output'];
|
|
118
|
-
|
|
118
|
+
credentialId: Scalars['ID']['output'];
|
|
119
119
|
id: Scalars['ID']['output'];
|
|
120
120
|
isTest?: Maybe<Scalars['Boolean']['output']>;
|
|
121
121
|
name: Scalars['String']['output'];
|
|
@@ -177,12 +177,12 @@ export declare enum Typenames {
|
|
|
177
177
|
GraphqlSubscriptions = "GraphqlSubscriptions"
|
|
178
178
|
}
|
|
179
179
|
export type UpdateDrozBotInstanceInput = {
|
|
180
|
-
|
|
180
|
+
credentialId?: InputMaybe<Scalars['ID']['input']>;
|
|
181
181
|
id: Scalars['ID']['input'];
|
|
182
182
|
isTest?: InputMaybe<Scalars['Boolean']['input']>;
|
|
183
183
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
184
184
|
};
|
|
185
|
-
export type DrozbotFragment = Pick<DrozBotInstance, 'id' | 'name' | '
|
|
185
|
+
export type DrozbotFragment = Pick<DrozBotInstance, 'id' | 'name' | 'credentialId' | 'isTest' | 'createdAt' | 'updatedAt'>;
|
|
186
186
|
export type GetDrozBotInstanceQueryVariables = Exact<{
|
|
187
187
|
id: Scalars['ID']['input'];
|
|
188
188
|
}>;
|
|
@@ -225,12 +225,12 @@ export type CreateDrozBotTicketCommentMutationVariables = Exact<{
|
|
|
225
225
|
export type CreateDrozBotTicketCommentMutation = {
|
|
226
226
|
createDrozBotTicketComment: Pick<DrozBotTicketComment, 'id' | 'ticketId'>;
|
|
227
227
|
};
|
|
228
|
-
export declare const DrozbotFragmentDoc = "\n fragment drozbot on DrozBotInstance {\n id\n name\n
|
|
229
|
-
export declare const GetDrozBotInstanceDocument = "\n query getDrozBotInstance($id: ID!) {\n getDrozBotInstance(id: $id) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n
|
|
230
|
-
export declare const ListDrozBotInstancesDocument = "\n query listDrozBotInstances {\n listDrozBotInstances {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n
|
|
231
|
-
export declare const CreateDrozBotInstanceDocument = "\n mutation createDrozBotInstance($input: CreateDrozBotInstanceInput!) {\n createDrozBotInstance(input: $input) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n
|
|
232
|
-
export declare const UpdateDrozBotInstanceDocument = "\n mutation updateDrozBotInstance($input: UpdateDrozBotInstanceInput!) {\n updateDrozBotInstance(input: $input) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n
|
|
233
|
-
export declare const RemoveDrozBotInstanceDocument = "\n mutation removeDrozBotInstance($input: RemoveDrozBotInstanceInput!) {\n removeDrozBotInstance(input: $input) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n
|
|
228
|
+
export declare const DrozbotFragmentDoc = "\n fragment drozbot on DrozBotInstance {\n id\n name\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
|
|
229
|
+
export declare const GetDrozBotInstanceDocument = "\n query getDrozBotInstance($id: ID!) {\n getDrozBotInstance(id: $id) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
|
|
230
|
+
export declare const ListDrozBotInstancesDocument = "\n query listDrozBotInstances {\n listDrozBotInstances {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
|
|
231
|
+
export declare const CreateDrozBotInstanceDocument = "\n mutation createDrozBotInstance($input: CreateDrozBotInstanceInput!) {\n createDrozBotInstance(input: $input) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
|
|
232
|
+
export declare const UpdateDrozBotInstanceDocument = "\n mutation updateDrozBotInstance($input: UpdateDrozBotInstanceInput!) {\n updateDrozBotInstance(input: $input) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
|
|
233
|
+
export declare const RemoveDrozBotInstanceDocument = "\n mutation removeDrozBotInstance($input: RemoveDrozBotInstanceInput!) {\n removeDrozBotInstance(input: $input) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
|
|
234
234
|
export declare const CreateDrozBotTicketDocument = "\n mutation createDrozBotTicket($input: CreateDrozBotTicketInput!) {\n createDrozBotTicket(input: $input) {\n id\n instanceId\n }\n}\n ";
|
|
235
235
|
export declare const CreateDrozBotTicketCommentDocument = "\n mutation createDrozBotTicketComment($input: CreateDrozBotTicketCommentInput!) {\n createDrozBotTicketComment(input: $input) {\n id\n ticketId\n }\n}\n ";
|
|
236
236
|
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
package/src/sdks/drozbot.js
CHANGED
package/src/sdks/droznexo.d.ts
CHANGED
|
@@ -113,11 +113,13 @@ export type DrozNexoAppInstance = {
|
|
|
113
113
|
updatedAt: Scalars['DateTime']['output'];
|
|
114
114
|
};
|
|
115
115
|
export type DrozNexoConnection = {
|
|
116
|
+
createdAt: Scalars['DateTime']['output'];
|
|
116
117
|
description?: Maybe<Scalars['String']['output']>;
|
|
117
118
|
destination: DrozNexoAppAndAppInstance;
|
|
118
119
|
id: Scalars['ID']['output'];
|
|
119
120
|
title?: Maybe<Scalars['String']['output']>;
|
|
120
121
|
trigger: DrozNexoAppAndAppInstance;
|
|
122
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
121
123
|
versionId: Scalars['ID']['output'];
|
|
122
124
|
};
|
|
123
125
|
export type DrozNexoConnectionConnection = {
|
|
@@ -170,7 +172,7 @@ export type DrozNexoSuggestionFragment = {
|
|
|
170
172
|
trigger: DrozNexoAppInstanceFragment;
|
|
171
173
|
destination: DrozNexoAppInstanceFragment;
|
|
172
174
|
};
|
|
173
|
-
export type DrozNexoConnectionFragment = (Pick<DrozNexoConnection, 'id' | 'versionId'> & {
|
|
175
|
+
export type DrozNexoConnectionFragment = (Pick<DrozNexoConnection, 'id' | 'versionId' | 'title' | 'description' | 'createdAt' | 'updatedAt'> & {
|
|
174
176
|
trigger: DrozNexoAppInstanceFragment;
|
|
175
177
|
destination: DrozNexoAppInstanceFragment;
|
|
176
178
|
});
|
|
@@ -203,11 +205,11 @@ export type RemoveDrozNexoConnectionMutation = {
|
|
|
203
205
|
};
|
|
204
206
|
export declare const DrozNexoAppInstanceFragmentDoc = "\n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n ";
|
|
205
207
|
export declare const DrozNexoSuggestionFragmentDoc = "\n fragment drozNexoSuggestion on DrozNexoConnectionSuggestion {\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n ";
|
|
206
|
-
export declare const DrozNexoConnectionFragmentDoc = "\n fragment drozNexoConnection on DrozNexoConnection {\n id\n versionId\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n ";
|
|
208
|
+
export declare const DrozNexoConnectionFragmentDoc = "\n fragment drozNexoConnection on DrozNexoConnection {\n id\n versionId\n title\n description\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n ";
|
|
207
209
|
export declare const ListDrozNexoSuggestionsDocument = "\n query listDrozNexoSuggestions {\n listDrozNexoSuggestions {\n ...drozNexoSuggestion\n }\n}\n \n fragment drozNexoSuggestion on DrozNexoConnectionSuggestion {\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n ";
|
|
208
|
-
export declare const ListDrozNexoConnectionsDocument = "\n query listDrozNexoConnections($next: Base64) {\n listDrozNexoConnections(next: $next) {\n nodes {\n ...drozNexoConnection\n }\n pageInfo {\n next\n hasNext\n }\n }\n}\n \n fragment drozNexoConnection on DrozNexoConnection {\n id\n versionId\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n ";
|
|
209
|
-
export declare const CreateDrozNexoConnectionDocument = "\n mutation createDrozNexoConnection($input: CreateDrozNexoConnectionInput!) {\n createDrozNexoConnection(input: $input) {\n ...drozNexoConnection\n }\n}\n \n fragment drozNexoConnection on DrozNexoConnection {\n id\n versionId\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n ";
|
|
210
|
-
export declare const RemoveDrozNexoConnectionDocument = "\n mutation removeDrozNexoConnection($input: RemoveDrozNexoConnectionInput!) {\n removeDrozNexoConnection(input: $input) {\n ...drozNexoConnection\n }\n}\n \n fragment drozNexoConnection on DrozNexoConnection {\n id\n versionId\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n ";
|
|
210
|
+
export declare const ListDrozNexoConnectionsDocument = "\n query listDrozNexoConnections($next: Base64) {\n listDrozNexoConnections(next: $next) {\n nodes {\n ...drozNexoConnection\n }\n pageInfo {\n next\n hasNext\n }\n }\n}\n \n fragment drozNexoConnection on DrozNexoConnection {\n id\n versionId\n title\n description\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n ";
|
|
211
|
+
export declare const CreateDrozNexoConnectionDocument = "\n mutation createDrozNexoConnection($input: CreateDrozNexoConnectionInput!) {\n createDrozNexoConnection(input: $input) {\n ...drozNexoConnection\n }\n}\n \n fragment drozNexoConnection on DrozNexoConnection {\n id\n versionId\n title\n description\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n ";
|
|
212
|
+
export declare const RemoveDrozNexoConnectionDocument = "\n mutation removeDrozNexoConnection($input: RemoveDrozNexoConnectionInput!) {\n removeDrozNexoConnection(input: $input) {\n ...drozNexoConnection\n }\n}\n \n fragment drozNexoConnection on DrozNexoConnection {\n id\n versionId\n title\n description\n trigger {\n ...drozNexoAppInstance\n }\n destination {\n ...drozNexoAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment drozNexoAppInstance on DrozNexoAppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n createdAt\n updatedAt\n }\n}\n ";
|
|
211
213
|
export type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
212
214
|
export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
|
213
215
|
listDrozNexoSuggestions(variables?: ListDrozNexoSuggestionsQueryVariables, options?: C): Promise<ListDrozNexoSuggestionsQuery>;
|
package/src/sdks/droznexo.js
CHANGED
|
@@ -43,12 +43,16 @@ exports.DrozNexoConnectionFragmentDoc = `
|
|
|
43
43
|
fragment drozNexoConnection on DrozNexoConnection {
|
|
44
44
|
id
|
|
45
45
|
versionId
|
|
46
|
+
title
|
|
47
|
+
description
|
|
46
48
|
trigger {
|
|
47
49
|
...drozNexoAppInstance
|
|
48
50
|
}
|
|
49
51
|
destination {
|
|
50
52
|
...drozNexoAppInstance
|
|
51
53
|
}
|
|
54
|
+
createdAt
|
|
55
|
+
updatedAt
|
|
52
56
|
}
|
|
53
57
|
${exports.DrozNexoAppInstanceFragmentDoc}`;
|
|
54
58
|
exports.ListDrozNexoSuggestionsDocument = `
|