@droz-js/sdk 0.15.7 → 0.16.1
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/drozanalytics.d.ts +10 -0
- package/src/email.d.ts +6 -0
- package/src/sdks/callwe.d.ts +60 -0
- package/src/sdks/callwe.js +13 -1
- package/src/sdks/drozanalytics.d.ts +70 -0
- package/src/sdks/drozanalytics.js +56 -1
- package/src/sdks/drozchat.d.ts +78 -31
- package/src/sdks/drozchat.js +36 -3
- package/src/sdks/email.d.ts +33 -7
- package/src/sdks/email.js +23 -1
- package/src/sdks/nucleus.d.ts +26 -20
- package/src/sdks/nucleus.js +2 -0
package/src/sdks/email.d.ts
CHANGED
|
@@ -190,6 +190,7 @@ export type EmailInstance = {
|
|
|
190
190
|
export type EmailSignature = {
|
|
191
191
|
content: Scalars['String']['output'];
|
|
192
192
|
contentType: EmailSignatureContentType;
|
|
193
|
+
enabled: Scalars['Boolean']['output'];
|
|
193
194
|
imageUrl?: Maybe<Scalars['String']['output']>;
|
|
194
195
|
};
|
|
195
196
|
export declare enum EmailSignatureContentType {
|
|
@@ -234,6 +235,10 @@ export type EmailThreadRoot = {
|
|
|
234
235
|
subject: Scalars['String']['output'];
|
|
235
236
|
updatedAt: Scalars['DateTime']['output'];
|
|
236
237
|
};
|
|
238
|
+
export type EnableEmailInstanceSignatureInput = {
|
|
239
|
+
enabled: Scalars['Boolean']['input'];
|
|
240
|
+
id: Scalars['ID']['input'];
|
|
241
|
+
};
|
|
237
242
|
export type I18nText = {
|
|
238
243
|
lang: Scalars['Locale']['output'];
|
|
239
244
|
value: Scalars['String']['output'];
|
|
@@ -244,6 +249,7 @@ export type I18nTextInput = {
|
|
|
244
249
|
};
|
|
245
250
|
export type Mutation = {
|
|
246
251
|
createEmailInstance: EmailInstance;
|
|
252
|
+
enableEmailInstanceSignature: EmailInstance;
|
|
247
253
|
removeEmailInstance?: Maybe<Scalars['Void']['output']>;
|
|
248
254
|
removeEmailInstanceSignature: EmailInstance;
|
|
249
255
|
setEmailBcc?: Maybe<Scalars['Void']['output']>;
|
|
@@ -256,6 +262,9 @@ export type Mutation = {
|
|
|
256
262
|
export type MutationCreateEmailInstanceArgs = {
|
|
257
263
|
input: CreateEmailInstanceInput;
|
|
258
264
|
};
|
|
265
|
+
export type MutationEnableEmailInstanceSignatureArgs = {
|
|
266
|
+
input: EnableEmailInstanceSignatureInput;
|
|
267
|
+
};
|
|
259
268
|
export type MutationRemoveEmailInstanceArgs = {
|
|
260
269
|
input: RemoveEmailInstanceInput;
|
|
261
270
|
};
|
|
@@ -383,6 +392,7 @@ export declare enum Typenames {
|
|
|
383
392
|
EmailData = "EmailData",
|
|
384
393
|
EmailInstance = "EmailInstance",
|
|
385
394
|
EmailReplyData = "EmailReplyData",
|
|
395
|
+
EmailReplyRecipientStatus = "EmailReplyRecipientStatus",
|
|
386
396
|
GraphqlConnections = "GraphqlConnections",
|
|
387
397
|
GraphqlSubscriptions = "GraphqlSubscriptions"
|
|
388
398
|
}
|
|
@@ -395,7 +405,7 @@ export type ValidateInstanceDomainInput = {
|
|
|
395
405
|
id: Scalars['ID']['input'];
|
|
396
406
|
};
|
|
397
407
|
export type EmailInstanceFieldsFragment = (Pick<EmailInstance, 'id' | 'name' | 'drn' | 'credentialId' | 'senderEmail' | 'senderName' | 'domain' | 'subdomain' | 'status' | 'failingReason' | 'createdAt' | 'updatedAt'> & {
|
|
398
|
-
signature?: Maybe<Pick<EmailSignature, 'content' | 'contentType' | 'imageUrl'>>;
|
|
408
|
+
signature?: Maybe<Pick<EmailSignature, 'content' | 'contentType' | 'imageUrl' | 'enabled'>>;
|
|
399
409
|
dns: {
|
|
400
410
|
mailCname?: Maybe<Pick<EmailDnsRecord, 'type' | 'host' | 'data'>>;
|
|
401
411
|
dkim1?: Maybe<Pick<EmailDnsRecord, 'type' | 'host' | 'data'>>;
|
|
@@ -439,6 +449,18 @@ export type SetEmailInstanceSignatureMutationVariables = Exact<{
|
|
|
439
449
|
export type SetEmailInstanceSignatureMutation = {
|
|
440
450
|
setEmailInstanceSignature: EmailInstanceFieldsFragment;
|
|
441
451
|
};
|
|
452
|
+
export type RemoveEmailInstanceSignatureMutationVariables = Exact<{
|
|
453
|
+
input: RemoveEmailInstanceSignatureInput;
|
|
454
|
+
}>;
|
|
455
|
+
export type RemoveEmailInstanceSignatureMutation = {
|
|
456
|
+
removeEmailInstanceSignature: EmailInstanceFieldsFragment;
|
|
457
|
+
};
|
|
458
|
+
export type EnableEmailInstanceSignatureMutationVariables = Exact<{
|
|
459
|
+
input: EnableEmailInstanceSignatureInput;
|
|
460
|
+
}>;
|
|
461
|
+
export type EnableEmailInstanceSignatureMutation = {
|
|
462
|
+
enableEmailInstanceSignature: EmailInstanceFieldsFragment;
|
|
463
|
+
};
|
|
442
464
|
export type RemoveEmailInstanceMutationVariables = Exact<{
|
|
443
465
|
input: RemoveEmailInstanceInput;
|
|
444
466
|
}>;
|
|
@@ -464,15 +486,17 @@ export type ListThreadingBySessionIdQuery = {
|
|
|
464
486
|
replies: Array<EmailThreadReplyFieldsFragment>;
|
|
465
487
|
}>;
|
|
466
488
|
};
|
|
467
|
-
export declare const EmailInstanceFieldsFragmentDoc = "\n fragment emailInstanceFields on EmailInstance {\n id\n name\n drn\n credentialId\n senderEmail\n senderName\n domain\n subdomain\n signature {\n content\n contentType\n imageUrl\n }\n dns {\n mailCname {\n type\n host\n data\n }\n dkim1 {\n type\n host\n data\n }\n dkim2 {\n type\n host\n data\n }\n }\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
489
|
+
export declare const EmailInstanceFieldsFragmentDoc = "\n fragment emailInstanceFields on EmailInstance {\n id\n name\n drn\n credentialId\n senderEmail\n senderName\n domain\n subdomain\n signature {\n content\n contentType\n imageUrl\n enabled\n }\n dns {\n mailCname {\n type\n host\n data\n }\n dkim1 {\n type\n host\n data\n }\n dkim2 {\n type\n host\n data\n }\n }\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
468
490
|
export declare const EmailAttachmentMetadataFieldsFragmentDoc = "\n fragment emailAttachmentMetadataFields on EmailAttachmentMetadata {\n sourceId\n filename\n mime\n size\n checksum\n url\n origin\n}\n ";
|
|
469
491
|
export declare const EmailThreadRootFieldsFragmentDoc = "\n fragment emailThreadRootFields on EmailThreadRoot {\n messageId\n sessionId\n instanceId\n direction\n status\n subject\n attachments {\n ...emailAttachmentMetadataFields\n }\n createdAt\n updatedAt\n}\n ";
|
|
470
492
|
export declare const EmailThreadReplyFieldsFragmentDoc = "\n fragment emailThreadReplyFields on EmailThreadReply {\n id\n replyId\n messageId\n direction\n status\n attachments {\n ...emailAttachmentMetadataFields\n }\n createdAt\n updatedAt\n}\n ";
|
|
471
|
-
export declare const GetEmailInstanceDocument = "\n query getEmailInstance($id: ID!) {\n getEmailInstance(id: $id) {\n ...emailInstanceFields\n }\n}\n \n fragment emailInstanceFields on EmailInstance {\n id\n name\n drn\n credentialId\n senderEmail\n senderName\n domain\n subdomain\n signature {\n content\n contentType\n imageUrl\n }\n dns {\n mailCname {\n type\n host\n data\n }\n dkim1 {\n type\n host\n data\n }\n dkim2 {\n type\n host\n data\n }\n }\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
472
|
-
export declare const ListEmailInstancesDocument = "\n query listEmailInstances {\n listEmailInstances {\n ...emailInstanceFields\n }\n}\n \n fragment emailInstanceFields on EmailInstance {\n id\n name\n drn\n credentialId\n senderEmail\n senderName\n domain\n subdomain\n signature {\n content\n contentType\n imageUrl\n }\n dns {\n mailCname {\n type\n host\n data\n }\n dkim1 {\n type\n host\n data\n }\n dkim2 {\n type\n host\n data\n }\n }\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
473
|
-
export declare const CreateEmailInstanceDocument = "\n mutation createEmailInstance($input: CreateEmailInstanceInput!) {\n createEmailInstance(input: $input) {\n ...emailInstanceFields\n }\n}\n \n fragment emailInstanceFields on EmailInstance {\n id\n name\n drn\n credentialId\n senderEmail\n senderName\n domain\n subdomain\n signature {\n content\n contentType\n imageUrl\n }\n dns {\n mailCname {\n type\n host\n data\n }\n dkim1 {\n type\n host\n data\n }\n dkim2 {\n type\n host\n data\n }\n }\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
474
|
-
export declare const UpdateEmailInstanceDocument = "\n mutation updateEmailInstance($input: UpdateEmailInstanceInput!) {\n updateEmailInstance(input: $input) {\n ...emailInstanceFields\n }\n}\n \n fragment emailInstanceFields on EmailInstance {\n id\n name\n drn\n credentialId\n senderEmail\n senderName\n domain\n subdomain\n signature {\n content\n contentType\n imageUrl\n }\n dns {\n mailCname {\n type\n host\n data\n }\n dkim1 {\n type\n host\n data\n }\n dkim2 {\n type\n host\n data\n }\n }\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
475
|
-
export declare const SetEmailInstanceSignatureDocument = "\n mutation setEmailInstanceSignature($input: SetEmailInstanceSignatureInput!) {\n setEmailInstanceSignature(input: $input) {\n ...emailInstanceFields\n }\n}\n \n fragment emailInstanceFields on EmailInstance {\n id\n name\n drn\n credentialId\n senderEmail\n senderName\n domain\n subdomain\n signature {\n content\n contentType\n imageUrl\n }\n dns {\n mailCname {\n type\n host\n data\n }\n dkim1 {\n type\n host\n data\n }\n dkim2 {\n type\n host\n data\n }\n }\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
493
|
+
export declare const GetEmailInstanceDocument = "\n query getEmailInstance($id: ID!) {\n getEmailInstance(id: $id) {\n ...emailInstanceFields\n }\n}\n \n fragment emailInstanceFields on EmailInstance {\n id\n name\n drn\n credentialId\n senderEmail\n senderName\n domain\n subdomain\n signature {\n content\n contentType\n imageUrl\n enabled\n }\n dns {\n mailCname {\n type\n host\n data\n }\n dkim1 {\n type\n host\n data\n }\n dkim2 {\n type\n host\n data\n }\n }\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
494
|
+
export declare const ListEmailInstancesDocument = "\n query listEmailInstances {\n listEmailInstances {\n ...emailInstanceFields\n }\n}\n \n fragment emailInstanceFields on EmailInstance {\n id\n name\n drn\n credentialId\n senderEmail\n senderName\n domain\n subdomain\n signature {\n content\n contentType\n imageUrl\n enabled\n }\n dns {\n mailCname {\n type\n host\n data\n }\n dkim1 {\n type\n host\n data\n }\n dkim2 {\n type\n host\n data\n }\n }\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
495
|
+
export declare const CreateEmailInstanceDocument = "\n mutation createEmailInstance($input: CreateEmailInstanceInput!) {\n createEmailInstance(input: $input) {\n ...emailInstanceFields\n }\n}\n \n fragment emailInstanceFields on EmailInstance {\n id\n name\n drn\n credentialId\n senderEmail\n senderName\n domain\n subdomain\n signature {\n content\n contentType\n imageUrl\n enabled\n }\n dns {\n mailCname {\n type\n host\n data\n }\n dkim1 {\n type\n host\n data\n }\n dkim2 {\n type\n host\n data\n }\n }\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
496
|
+
export declare const UpdateEmailInstanceDocument = "\n mutation updateEmailInstance($input: UpdateEmailInstanceInput!) {\n updateEmailInstance(input: $input) {\n ...emailInstanceFields\n }\n}\n \n fragment emailInstanceFields on EmailInstance {\n id\n name\n drn\n credentialId\n senderEmail\n senderName\n domain\n subdomain\n signature {\n content\n contentType\n imageUrl\n enabled\n }\n dns {\n mailCname {\n type\n host\n data\n }\n dkim1 {\n type\n host\n data\n }\n dkim2 {\n type\n host\n data\n }\n }\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
497
|
+
export declare const SetEmailInstanceSignatureDocument = "\n mutation setEmailInstanceSignature($input: SetEmailInstanceSignatureInput!) {\n setEmailInstanceSignature(input: $input) {\n ...emailInstanceFields\n }\n}\n \n fragment emailInstanceFields on EmailInstance {\n id\n name\n drn\n credentialId\n senderEmail\n senderName\n domain\n subdomain\n signature {\n content\n contentType\n imageUrl\n enabled\n }\n dns {\n mailCname {\n type\n host\n data\n }\n dkim1 {\n type\n host\n data\n }\n dkim2 {\n type\n host\n data\n }\n }\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
498
|
+
export declare const RemoveEmailInstanceSignatureDocument = "\n mutation removeEmailInstanceSignature($input: RemoveEmailInstanceSignatureInput!) {\n removeEmailInstanceSignature(input: $input) {\n ...emailInstanceFields\n }\n}\n \n fragment emailInstanceFields on EmailInstance {\n id\n name\n drn\n credentialId\n senderEmail\n senderName\n domain\n subdomain\n signature {\n content\n contentType\n imageUrl\n enabled\n }\n dns {\n mailCname {\n type\n host\n data\n }\n dkim1 {\n type\n host\n data\n }\n dkim2 {\n type\n host\n data\n }\n }\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
499
|
+
export declare const EnableEmailInstanceSignatureDocument = "\n mutation enableEmailInstanceSignature($input: EnableEmailInstanceSignatureInput!) {\n enableEmailInstanceSignature(input: $input) {\n ...emailInstanceFields\n }\n}\n \n fragment emailInstanceFields on EmailInstance {\n id\n name\n drn\n credentialId\n senderEmail\n senderName\n domain\n subdomain\n signature {\n content\n contentType\n imageUrl\n enabled\n }\n dns {\n mailCname {\n type\n host\n data\n }\n dkim1 {\n type\n host\n data\n }\n dkim2 {\n type\n host\n data\n }\n }\n status\n failingReason\n createdAt\n updatedAt\n}\n ";
|
|
476
500
|
export declare const RemoveEmailInstanceDocument = "\n mutation removeEmailInstance($input: RemoveEmailInstanceInput!) {\n removeEmailInstance(input: $input)\n}\n ";
|
|
477
501
|
export declare const ValidateInstanceDomainDocument = "\n mutation validateInstanceDomain($input: ValidateInstanceDomainInput!) {\n validateInstanceDomain(input: $input)\n}\n ";
|
|
478
502
|
export declare const SetEmailCcDocument = "\n mutation setEmailCc($input: SetEmailCcInput!) {\n setEmailCc(input: $input)\n}\n ";
|
|
@@ -485,6 +509,8 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
485
509
|
createEmailInstance(variables: CreateEmailInstanceMutationVariables, options?: C): Promise<CreateEmailInstanceMutation>;
|
|
486
510
|
updateEmailInstance(variables: UpdateEmailInstanceMutationVariables, options?: C): Promise<UpdateEmailInstanceMutation>;
|
|
487
511
|
setEmailInstanceSignature(variables: SetEmailInstanceSignatureMutationVariables, options?: C): Promise<SetEmailInstanceSignatureMutation>;
|
|
512
|
+
removeEmailInstanceSignature(variables: RemoveEmailInstanceSignatureMutationVariables, options?: C): Promise<RemoveEmailInstanceSignatureMutation>;
|
|
513
|
+
enableEmailInstanceSignature(variables: EnableEmailInstanceSignatureMutationVariables, options?: C): Promise<EnableEmailInstanceSignatureMutation>;
|
|
488
514
|
removeEmailInstance(variables: RemoveEmailInstanceMutationVariables, options?: C): Promise<RemoveEmailInstanceMutation>;
|
|
489
515
|
validateInstanceDomain(variables: ValidateInstanceDomainMutationVariables, options?: C): Promise<ValidateInstanceDomainMutation>;
|
|
490
516
|
setEmailCc(variables: SetEmailCcMutationVariables, options?: C): Promise<SetEmailCcMutation>;
|
package/src/sdks/email.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.ListThreadingBySessionIdDocument = exports.SetEmailBccDocument = exports.SetEmailCcDocument = exports.ValidateInstanceDomainDocument = exports.RemoveEmailInstanceDocument = exports.SetEmailInstanceSignatureDocument = exports.UpdateEmailInstanceDocument = exports.CreateEmailInstanceDocument = exports.ListEmailInstancesDocument = exports.GetEmailInstanceDocument = exports.EmailThreadReplyFieldsFragmentDoc = exports.EmailThreadRootFieldsFragmentDoc = exports.EmailAttachmentMetadataFieldsFragmentDoc = exports.EmailInstanceFieldsFragmentDoc = exports.Typenames = exports.EmailStatus = exports.EmailSignatureContentType = exports.EmailDirection = exports.Can = exports.AppInstanceStatus = void 0;
|
|
4
|
+
exports.serviceName = exports.ListThreadingBySessionIdDocument = exports.SetEmailBccDocument = exports.SetEmailCcDocument = exports.ValidateInstanceDomainDocument = exports.RemoveEmailInstanceDocument = exports.EnableEmailInstanceSignatureDocument = exports.RemoveEmailInstanceSignatureDocument = exports.SetEmailInstanceSignatureDocument = exports.UpdateEmailInstanceDocument = exports.CreateEmailInstanceDocument = exports.ListEmailInstancesDocument = exports.GetEmailInstanceDocument = exports.EmailThreadReplyFieldsFragmentDoc = exports.EmailThreadRootFieldsFragmentDoc = exports.EmailAttachmentMetadataFieldsFragmentDoc = exports.EmailInstanceFieldsFragmentDoc = exports.Typenames = exports.EmailStatus = exports.EmailSignatureContentType = exports.EmailDirection = exports.Can = exports.AppInstanceStatus = void 0;
|
|
5
5
|
exports.getSdk = getSdk;
|
|
6
6
|
var AppInstanceStatus;
|
|
7
7
|
(function (AppInstanceStatus) {
|
|
@@ -41,6 +41,7 @@ var Typenames;
|
|
|
41
41
|
Typenames["EmailData"] = "EmailData";
|
|
42
42
|
Typenames["EmailInstance"] = "EmailInstance";
|
|
43
43
|
Typenames["EmailReplyData"] = "EmailReplyData";
|
|
44
|
+
Typenames["EmailReplyRecipientStatus"] = "EmailReplyRecipientStatus";
|
|
44
45
|
Typenames["GraphqlConnections"] = "GraphqlConnections";
|
|
45
46
|
Typenames["GraphqlSubscriptions"] = "GraphqlSubscriptions";
|
|
46
47
|
})(Typenames || (exports.Typenames = Typenames = {}));
|
|
@@ -58,6 +59,7 @@ exports.EmailInstanceFieldsFragmentDoc = `
|
|
|
58
59
|
content
|
|
59
60
|
contentType
|
|
60
61
|
imageUrl
|
|
62
|
+
enabled
|
|
61
63
|
}
|
|
62
64
|
dns {
|
|
63
65
|
mailCname {
|
|
@@ -157,6 +159,20 @@ exports.SetEmailInstanceSignatureDocument = `
|
|
|
157
159
|
}
|
|
158
160
|
}
|
|
159
161
|
${exports.EmailInstanceFieldsFragmentDoc}`;
|
|
162
|
+
exports.RemoveEmailInstanceSignatureDocument = `
|
|
163
|
+
mutation removeEmailInstanceSignature($input: RemoveEmailInstanceSignatureInput!) {
|
|
164
|
+
removeEmailInstanceSignature(input: $input) {
|
|
165
|
+
...emailInstanceFields
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
${exports.EmailInstanceFieldsFragmentDoc}`;
|
|
169
|
+
exports.EnableEmailInstanceSignatureDocument = `
|
|
170
|
+
mutation enableEmailInstanceSignature($input: EnableEmailInstanceSignatureInput!) {
|
|
171
|
+
enableEmailInstanceSignature(input: $input) {
|
|
172
|
+
...emailInstanceFields
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
${exports.EmailInstanceFieldsFragmentDoc}`;
|
|
160
176
|
exports.RemoveEmailInstanceDocument = `
|
|
161
177
|
mutation removeEmailInstance($input: RemoveEmailInstanceInput!) {
|
|
162
178
|
removeEmailInstance(input: $input)
|
|
@@ -208,6 +224,12 @@ function getSdk(requester) {
|
|
|
208
224
|
setEmailInstanceSignature(variables, options) {
|
|
209
225
|
return requester(exports.SetEmailInstanceSignatureDocument, variables, options);
|
|
210
226
|
},
|
|
227
|
+
removeEmailInstanceSignature(variables, options) {
|
|
228
|
+
return requester(exports.RemoveEmailInstanceSignatureDocument, variables, options);
|
|
229
|
+
},
|
|
230
|
+
enableEmailInstanceSignature(variables, options) {
|
|
231
|
+
return requester(exports.EnableEmailInstanceSignatureDocument, variables, options);
|
|
232
|
+
},
|
|
211
233
|
removeEmailInstance(variables, options) {
|
|
212
234
|
return requester(exports.RemoveEmailInstanceDocument, variables, options);
|
|
213
235
|
},
|
package/src/sdks/nucleus.d.ts
CHANGED
|
@@ -140,7 +140,9 @@ export type Agent = {
|
|
|
140
140
|
emailVerified: Scalars['Boolean']['output'];
|
|
141
141
|
groupMappings?: Maybe<Array<Scalars['String']['output']>>;
|
|
142
142
|
id: Scalars['ID']['output'];
|
|
143
|
+
jobTitle?: Maybe<Scalars['String']['output']>;
|
|
143
144
|
name: Scalars['String']['output'];
|
|
145
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
144
146
|
picture?: Maybe<Scalars['String']['output']>;
|
|
145
147
|
removed?: Maybe<Scalars['Boolean']['output']>;
|
|
146
148
|
roles?: Maybe<Scalars['Set']['output']>;
|
|
@@ -1172,7 +1174,9 @@ export type UpdateAgentInput = {
|
|
|
1172
1174
|
department?: InputMaybe<Scalars['String']['input']>;
|
|
1173
1175
|
email?: InputMaybe<Scalars['EmailAddress']['input']>;
|
|
1174
1176
|
id: Scalars['ID']['input'];
|
|
1177
|
+
jobTitle?: InputMaybe<Scalars['String']['input']>;
|
|
1175
1178
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
1179
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
1176
1180
|
picture?: InputMaybe<Scalars['String']['input']>;
|
|
1177
1181
|
};
|
|
1178
1182
|
export type UpdateCredentialsInput = {
|
|
@@ -1202,7 +1206,9 @@ export type UpdateMyProfileInput = {
|
|
|
1202
1206
|
bio?: InputMaybe<Scalars['String']['input']>;
|
|
1203
1207
|
department?: InputMaybe<Scalars['String']['input']>;
|
|
1204
1208
|
email?: InputMaybe<Scalars['EmailAddress']['input']>;
|
|
1209
|
+
jobTitle?: InputMaybe<Scalars['String']['input']>;
|
|
1205
1210
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
1211
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
1206
1212
|
picture?: InputMaybe<Scalars['String']['input']>;
|
|
1207
1213
|
};
|
|
1208
1214
|
export type UpdateSettingsInput = {
|
|
@@ -1230,7 +1236,7 @@ export type UpdateStateMachineConfigWithStateInput = {
|
|
|
1230
1236
|
on?: InputMaybe<Array<StateMachineConfigStatesOnInput>>;
|
|
1231
1237
|
stateId: Scalars['ID']['input'];
|
|
1232
1238
|
};
|
|
1233
|
-
export type AgentFragment = Pick<Agent, 'id' | 'name' | 'email' | 'emailVerified' | 'picture' | 'bio' | 'department' | 'apps' | 'roles' | 'status' | 'cognitoUserStatus' | 'systemAgent' | 'removed' | 'groupMappings' | 'createdAt' | 'updatedAt'>;
|
|
1239
|
+
export type AgentFragment = Pick<Agent, 'id' | 'name' | 'email' | 'emailVerified' | 'picture' | 'bio' | 'department' | 'apps' | 'roles' | 'status' | 'cognitoUserStatus' | 'systemAgent' | 'removed' | 'groupMappings' | 'jobTitle' | 'phone' | 'createdAt' | 'updatedAt'>;
|
|
1234
1240
|
export type ApiKeyFragment = (Pick<ApiKeyAgent, 'email' | 'password' | 'token'> & {
|
|
1235
1241
|
user: AgentFragment;
|
|
1236
1242
|
});
|
|
@@ -1854,7 +1860,7 @@ export type CreatePresignedUploadUrlMutationVariables = Exact<{
|
|
|
1854
1860
|
export type CreatePresignedUploadUrlMutation = {
|
|
1855
1861
|
createPresignedUploadUrl: Pick<CreatePresignedUploadUrl, 'method' | 'url' | 'fields' | 'cdnUrl'>;
|
|
1856
1862
|
};
|
|
1857
|
-
export declare const AgentFragmentDoc = "\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1863
|
+
export declare const AgentFragmentDoc = "\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1858
1864
|
export declare const ApiKeyFragmentDoc = "\n fragment apiKey on ApiKeyAgent {\n email\n password\n token\n user {\n ...agent\n }\n}\n ";
|
|
1859
1865
|
export declare const AppFragmentDoc = "\n fragment app on App {\n id\n type\n name\n description\n color\n channels {\n id\n sources\n main\n readonly\n hidden\n }\n}\n ";
|
|
1860
1866
|
export declare const AppInstanceFragmentDoc = "\n fragment appInstance on AppInstance {\n appId\n appType\n drn\n instanceId\n name\n transitions\n createdAt\n updatedAt\n}\n ";
|
|
@@ -1874,24 +1880,24 @@ export declare const StateMachineConfigStateFragmentDoc = "\n fragment stateM
|
|
|
1874
1880
|
export declare const StateMachineConfigFragmentDoc = "\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 ";
|
|
1875
1881
|
export declare const StateMachineConfigConnectionFragmentDoc = "\n fragment stateMachineConfigConnection on StateMachineConfigConnection {\n nodes {\n ...stateMachineConfig\n }\n pageInfo {\n hasNext\n next\n }\n}\n ";
|
|
1876
1882
|
export declare const StorageFragmentDoc = "\n fragment storage on Storage {\n key\n versionId\n name\n contentType\n size\n eTag\n cdnUrl\n createdAt\n updatedAt\n}\n ";
|
|
1877
|
-
export declare const GetMeDocument = "\n query getMe {\n getMe {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1878
|
-
export declare const GetAgentDocument = "\n query getAgent($id: ID!) {\n getAgent(id: $id) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1879
|
-
export declare const GetAgentByEmailDocument = "\n query getAgentByEmail($email: EmailAddress!) {\n getAgentByEmail(email: $email) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1880
|
-
export declare const GetAgentsDocument = "\n query getAgents($ids: [ID!]!) {\n getAgents(ids: $ids) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1881
|
-
export declare const ListAgentsDocument = "\n query listAgents($next: Base64) {\n listAgents(next: $next) {\n nodes {\n ...agent\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1882
|
-
export declare const ListApiKeyAgentsDocument = "\n query listApiKeyAgents($next: Base64) {\n listApiKeyAgents(next: $next) {\n nodes {\n ...agent\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1883
|
-
export declare const SearchAgentsDocument = "\n query searchAgents($query: String, $page: Number) {\n searchAgents(query: $query, page: $page) {\n nodes {\n ...agent\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1884
|
-
export declare const UpdateMyProfileDocument = "\n mutation updateMyProfile($input: UpdateMyProfileInput!) {\n updateMyProfile(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1885
|
-
export declare const ChangeAgentStatusDocument = "\n mutation changeAgentStatus($input: ChangeAgentStatusInput!) {\n changeAgentStatus(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1886
|
-
export declare const CreateAgentDocument = "\n mutation createAgent($input: CreateAgentInput!) {\n createAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1887
|
-
export declare const CreateApiKeyAgentDocument = "\n mutation createApiKeyAgent($input: CreateApiKeyAgentInput!) {\n createApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\n token\n user {\n ...agent\n }\n}\n \n\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1888
|
-
export declare const CreateSystemApiKeyAgentDocument = "\n mutation createSystemApiKeyAgent($input: CreateApiKeyAgentInput!) {\n createSystemApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\n token\n user {\n ...agent\n }\n}\n \n\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1889
|
-
export declare const UpdateAgentDocument = "\n mutation updateAgent($input: UpdateAgentInput!) {\n updateAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1890
|
-
export declare const RemoveAgentDocument = "\n mutation removeAgent($input: RemoveAgentInput!) {\n removeAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1891
|
-
export declare const RemoveSystemApiKeyAgentDocument = "\n mutation removeSystemApiKeyAgent($input: RemoveAgentInput!) {\n removeSystemApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\n token\n user {\n ...agent\n }\n}\n \n\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1892
|
-
export declare const AddRoleToAgentDocument = "\n mutation addRoleToAgent($input: AddRoleToAgentInput!) {\n addRoleToAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1893
|
-
export declare const RemoveRoleFromAgentDocument = "\n mutation removeRoleFromAgent($input: RemoveRoleFromAgentInput!) {\n removeRoleFromAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1894
|
-
export declare const ChangeAgentRoleDocument = "\n mutation changeAgentRole($input: ChangeAgentRoleInput!) {\n changeAgentRole(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n createdAt\n updatedAt\n}\n ";
|
|
1883
|
+
export declare const GetMeDocument = "\n query getMe {\n getMe {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1884
|
+
export declare const GetAgentDocument = "\n query getAgent($id: ID!) {\n getAgent(id: $id) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1885
|
+
export declare const GetAgentByEmailDocument = "\n query getAgentByEmail($email: EmailAddress!) {\n getAgentByEmail(email: $email) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1886
|
+
export declare const GetAgentsDocument = "\n query getAgents($ids: [ID!]!) {\n getAgents(ids: $ids) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1887
|
+
export declare const ListAgentsDocument = "\n query listAgents($next: Base64) {\n listAgents(next: $next) {\n nodes {\n ...agent\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1888
|
+
export declare const ListApiKeyAgentsDocument = "\n query listApiKeyAgents($next: Base64) {\n listApiKeyAgents(next: $next) {\n nodes {\n ...agent\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1889
|
+
export declare const SearchAgentsDocument = "\n query searchAgents($query: String, $page: Number) {\n searchAgents(query: $query, page: $page) {\n nodes {\n ...agent\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1890
|
+
export declare const UpdateMyProfileDocument = "\n mutation updateMyProfile($input: UpdateMyProfileInput!) {\n updateMyProfile(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1891
|
+
export declare const ChangeAgentStatusDocument = "\n mutation changeAgentStatus($input: ChangeAgentStatusInput!) {\n changeAgentStatus(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1892
|
+
export declare const CreateAgentDocument = "\n mutation createAgent($input: CreateAgentInput!) {\n createAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1893
|
+
export declare const CreateApiKeyAgentDocument = "\n mutation createApiKeyAgent($input: CreateApiKeyAgentInput!) {\n createApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\n token\n user {\n ...agent\n }\n}\n \n\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1894
|
+
export declare const CreateSystemApiKeyAgentDocument = "\n mutation createSystemApiKeyAgent($input: CreateApiKeyAgentInput!) {\n createSystemApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\n token\n user {\n ...agent\n }\n}\n \n\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1895
|
+
export declare const UpdateAgentDocument = "\n mutation updateAgent($input: UpdateAgentInput!) {\n updateAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1896
|
+
export declare const RemoveAgentDocument = "\n mutation removeAgent($input: RemoveAgentInput!) {\n removeAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1897
|
+
export declare const RemoveSystemApiKeyAgentDocument = "\n mutation removeSystemApiKeyAgent($input: RemoveAgentInput!) {\n removeSystemApiKeyAgent(input: $input) {\n ...apiKey\n }\n}\n \n fragment apiKey on ApiKeyAgent {\n email\n password\n token\n user {\n ...agent\n }\n}\n \n\n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1898
|
+
export declare const AddRoleToAgentDocument = "\n mutation addRoleToAgent($input: AddRoleToAgentInput!) {\n addRoleToAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1899
|
+
export declare const RemoveRoleFromAgentDocument = "\n mutation removeRoleFromAgent($input: RemoveRoleFromAgentInput!) {\n removeRoleFromAgent(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1900
|
+
export declare const ChangeAgentRoleDocument = "\n mutation changeAgentRole($input: ChangeAgentRoleInput!) {\n changeAgentRole(input: $input) {\n ...agent\n }\n}\n \n fragment agent on Agent {\n id\n name\n email\n emailVerified\n picture\n bio\n department\n apps\n roles\n status\n cognitoUserStatus\n systemAgent\n removed\n groupMappings\n jobTitle\n phone\n createdAt\n updatedAt\n}\n ";
|
|
1895
1901
|
export declare const JoinAsSuperAdminDocument = "\n mutation joinAsSuperAdmin($input: JoinAsSuperAdminInput!) {\n joinAsSuperAdmin(input: $input)\n}\n ";
|
|
1896
1902
|
export declare const LeaveOrganizationDocument = "\n mutation leaveOrganization($input: LeaveOrganizationInput!) {\n leaveOrganization(input: $input)\n}\n ";
|
|
1897
1903
|
export declare const ResendConfirmationEmailDocument = "\n mutation resendConfirmationEmail($input: ResendConfirmationEmailInput!) {\n resendConfirmationEmail(input: $input)\n}\n ";
|