@zimbra/api-client 73.0.0 → 76.0.0
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/dist/schema.graphql +77 -7
- package/dist/src/batch-client/index.d.ts +6 -4
- package/dist/src/batch-client/types.d.ts +6 -0
- package/dist/src/normalize/entities.d.ts +1 -0
- package/dist/src/request/types.d.ts +2 -0
- package/dist/src/schema/generated-schema-types.d.ts +83 -5
- package/dist/src/utils/normalize-otherAttribute-contact.d.ts +1 -1
- package/dist/zm-api-js-client.esm.js +249 -178
- package/dist/zm-api-js-client.esm.js.map +1 -1
- package/dist/zm-api-js-client.js +1 -1
- package/dist/zm-api-js-client.js.map +1 -1
- package/dist/zm-api-js-client.umd.js +1 -1
- package/dist/zm-api-js-client.umd.js.map +1 -1
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/batch-client/index.ts +44 -20
- package/src/batch-client/types.ts +7 -0
- package/src/normalize/entities.ts +42 -5
- package/src/request/types.ts +2 -0
- package/src/schema/generated-schema-types.ts +99 -5
- package/src/schema/schema.graphql +77 -7
- package/src/schema/schema.ts +10 -3
- package/src/utils/normalize-otherAttribute-contact.ts +2 -4
package/dist/schema.graphql
CHANGED
|
@@ -513,6 +513,8 @@ type MessageInfo implements MailItem {
|
|
|
513
513
|
modifiedSequence: Float # ms
|
|
514
514
|
invitations: [InviteInfo] # inv
|
|
515
515
|
sortField: String # sf, Sort field used for cursor-based pagination
|
|
516
|
+
decryptionErrorCode: String
|
|
517
|
+
certificate: [SmimeCert]
|
|
516
518
|
mimeParts: [MimePart]
|
|
517
519
|
to: [EmailAddress]
|
|
518
520
|
from: [EmailAddress]
|
|
@@ -527,6 +529,8 @@ type MessageInfo implements MailItem {
|
|
|
527
529
|
share: [ShareNotification] # shr
|
|
528
530
|
replyType: String #rt
|
|
529
531
|
attributes: MessageAttributes
|
|
532
|
+
isEncrypted: Boolean
|
|
533
|
+
isSigned: Boolean
|
|
530
534
|
autoSendTime: Float
|
|
531
535
|
local: Boolean
|
|
532
536
|
part: String
|
|
@@ -1340,6 +1344,7 @@ type AccountInfoAttrs {
|
|
|
1340
1344
|
zimbraFeatureDocumentEditingEnabled: Boolean
|
|
1341
1345
|
zimbraTwoFactorAuthEnabled: Boolean
|
|
1342
1346
|
zimbraFeatureTrustedDevicesEnabled: Boolean
|
|
1347
|
+
zimbraFeatureAntispamEnabled: Boolean
|
|
1343
1348
|
zimbraFeatureAppSpecificPasswordsEnabled: Boolean
|
|
1344
1349
|
zimbraFeatureMailPriorityEnabled: Boolean
|
|
1345
1350
|
zimbraFileUploadMaxSize: Float
|
|
@@ -1357,6 +1362,7 @@ type AccountInfoAttrs {
|
|
|
1357
1362
|
zimbraFeaturePop3DataSourceEnabled: Boolean
|
|
1358
1363
|
zimbraSignupAffiliate: String
|
|
1359
1364
|
zimbraSignupRecoveryEmail: String
|
|
1365
|
+
zimbraFeatureTasksEnabled: Boolean
|
|
1360
1366
|
zimbraTrialExpirationDate: String
|
|
1361
1367
|
zimbraTrialConvertAtExpiration: Boolean
|
|
1362
1368
|
zimbraHierarchicalAddressBookRoot: String
|
|
@@ -1640,6 +1646,7 @@ type Contact {
|
|
|
1640
1646
|
tagNames: String # tn
|
|
1641
1647
|
attributes: ContactAttributes
|
|
1642
1648
|
members: [ContactListMember]
|
|
1649
|
+
certificate: [SmimeCert]
|
|
1643
1650
|
}
|
|
1644
1651
|
|
|
1645
1652
|
type OtherContactAttribute {
|
|
@@ -1663,8 +1670,6 @@ type ContactAttributes {
|
|
|
1663
1670
|
workEmail2: String
|
|
1664
1671
|
homeEmail: String
|
|
1665
1672
|
homeEmail2: String
|
|
1666
|
-
phone: String
|
|
1667
|
-
phone2: String
|
|
1668
1673
|
companyPhone: String
|
|
1669
1674
|
companyPhone2: String
|
|
1670
1675
|
otherPhone: String
|
|
@@ -1769,8 +1774,6 @@ input ContactAttrsInput {
|
|
|
1769
1774
|
workEmail2: String
|
|
1770
1775
|
homeEmail: String
|
|
1771
1776
|
homeEmail2: String
|
|
1772
|
-
phone: String
|
|
1773
|
-
phone2: String
|
|
1774
1777
|
companyPhone: String
|
|
1775
1778
|
companyPhone2: String
|
|
1776
1779
|
otherPhone: String
|
|
@@ -1976,6 +1979,7 @@ type MimePart {
|
|
|
1976
1979
|
url: String
|
|
1977
1980
|
messageId: ID
|
|
1978
1981
|
base64: String
|
|
1982
|
+
truncated: Boolean
|
|
1979
1983
|
}
|
|
1980
1984
|
|
|
1981
1985
|
type ActionData {
|
|
@@ -2002,7 +2006,8 @@ input MimePartInput {
|
|
|
2002
2006
|
url: String
|
|
2003
2007
|
messageId: ID
|
|
2004
2008
|
attachments: [AttachmentInput]
|
|
2005
|
-
base64: String
|
|
2009
|
+
base64: String,
|
|
2010
|
+
truncated: Boolean
|
|
2006
2011
|
}
|
|
2007
2012
|
|
|
2008
2013
|
input ExistingAttachmentInput {
|
|
@@ -2112,6 +2117,10 @@ input SendMessageInput {
|
|
|
2112
2117
|
inlineAttachments: [MimePartInput] #attach
|
|
2113
2118
|
}
|
|
2114
2119
|
|
|
2120
|
+
input SaveSMimeCertInputUpload {
|
|
2121
|
+
id: String
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2115
2124
|
input CalendarItemInviteInput {
|
|
2116
2125
|
components: [CalendarItemInviteComponentInput]!
|
|
2117
2126
|
}
|
|
@@ -2850,7 +2859,7 @@ input GetDocumentShareURLItemInput {
|
|
|
2850
2859
|
|
|
2851
2860
|
input Cursor {
|
|
2852
2861
|
id: ID
|
|
2853
|
-
|
|
2862
|
+
sortVal: String
|
|
2854
2863
|
endSortVal: String
|
|
2855
2864
|
includeOffset: Boolean
|
|
2856
2865
|
}
|
|
@@ -2988,6 +2997,59 @@ type SMimePublicCertsResponse {
|
|
|
2988
2997
|
certs: [SMimePublicCerts]
|
|
2989
2998
|
}
|
|
2990
2999
|
|
|
3000
|
+
type SmimeCertIssuedBy {
|
|
3001
|
+
country: String
|
|
3002
|
+
commonName: String
|
|
3003
|
+
emailAddress: String
|
|
3004
|
+
locality: String
|
|
3005
|
+
organizationName: String
|
|
3006
|
+
state: String
|
|
3007
|
+
}
|
|
3008
|
+
|
|
3009
|
+
type SmimeCertIssuedTo {
|
|
3010
|
+
country: String
|
|
3011
|
+
commonName: String
|
|
3012
|
+
emailAddress: String
|
|
3013
|
+
organizationName: String
|
|
3014
|
+
organizationUnit: String
|
|
3015
|
+
state: String
|
|
3016
|
+
}
|
|
3017
|
+
|
|
3018
|
+
type SmimeCertSignature {
|
|
3019
|
+
algorithm: String
|
|
3020
|
+
serialNo: String
|
|
3021
|
+
}
|
|
3022
|
+
|
|
3023
|
+
type SmimeCertSubjectRfc822Name {
|
|
3024
|
+
content: String
|
|
3025
|
+
}
|
|
3026
|
+
|
|
3027
|
+
type SmimeCertSubjectAltName {
|
|
3028
|
+
rfc822Name: [SmimeCertSubjectRfc822Name]
|
|
3029
|
+
}
|
|
3030
|
+
|
|
3031
|
+
type SmimeCertValidity {
|
|
3032
|
+
endDate: Float
|
|
3033
|
+
startDate: Float
|
|
3034
|
+
}
|
|
3035
|
+
|
|
3036
|
+
type SmimeCert {
|
|
3037
|
+
default: Boolean
|
|
3038
|
+
emailAddress: String
|
|
3039
|
+
issuedBy: SmimeCertIssuedBy
|
|
3040
|
+
issuedTo: SmimeCertIssuedTo
|
|
3041
|
+
publicCertificateId: String
|
|
3042
|
+
privateKeyId: String
|
|
3043
|
+
signature: SmimeCertSignature
|
|
3044
|
+
subjectAltName: SmimeCertSubjectAltName
|
|
3045
|
+
validity: SmimeCertValidity
|
|
3046
|
+
errorCode: String
|
|
3047
|
+
}
|
|
3048
|
+
|
|
3049
|
+
type SmimeCertInfoResponse {
|
|
3050
|
+
certificates: [SmimeCert]
|
|
3051
|
+
}
|
|
3052
|
+
|
|
2991
3053
|
type SMimeMessage {
|
|
2992
3054
|
id: ID
|
|
2993
3055
|
content: String
|
|
@@ -3095,6 +3157,10 @@ input SearchConditionsInput {
|
|
|
3095
3157
|
conds: ConditionsInput
|
|
3096
3158
|
}
|
|
3097
3159
|
|
|
3160
|
+
input DiscoverRightInput {
|
|
3161
|
+
_content: String
|
|
3162
|
+
}
|
|
3163
|
+
|
|
3098
3164
|
# Zimbra GraphQL Queries
|
|
3099
3165
|
# - [[SOAP API Reference]](https://files.zimbra.com/docs/soap_api/8.7.11/api-reference/index.html)
|
|
3100
3166
|
# - [[SOAP Documentation]](https://github.com/Zimbra/zm-mailbox/blob/develop/store/docs/soap.txt)
|
|
@@ -3118,7 +3184,7 @@ type Query {
|
|
|
3118
3184
|
downloadMessage(id: ID!, isSecure: Boolean, isLocal: Boolean): SMimeMessage
|
|
3119
3185
|
downloadAttachment(id: ID!, part: ID!): Attachment
|
|
3120
3186
|
downloadDocument(id: ID!, url: String!): Attachment
|
|
3121
|
-
discoverRights: DiscoverRights
|
|
3187
|
+
discoverRights(right: [DiscoverRightInput!]!): DiscoverRights
|
|
3122
3188
|
freeBusy(names: [String!]!, start: Float, end: Float): [FreeBusy]
|
|
3123
3189
|
getContact(
|
|
3124
3190
|
id: ID
|
|
@@ -3205,6 +3271,7 @@ type Query {
|
|
|
3205
3271
|
contactAddr: String!
|
|
3206
3272
|
store: String!
|
|
3207
3273
|
): SMimePublicCertsResponse
|
|
3274
|
+
getSMimeCertInfo(certId: String): SmimeCertInfoResponse
|
|
3208
3275
|
getScratchCodes(username: String!): ScratchCodes
|
|
3209
3276
|
getSearchFolder: Folder
|
|
3210
3277
|
getTrustedDevices: GetTrustedDevicesResponse
|
|
@@ -3443,7 +3510,10 @@ type Mutation {
|
|
|
3443
3510
|
sendMessage(
|
|
3444
3511
|
message: SendMessageInput!
|
|
3445
3512
|
accountName: String
|
|
3513
|
+
sign: Boolean
|
|
3514
|
+
encrypt: Boolean
|
|
3446
3515
|
): SendMessageResponse
|
|
3516
|
+
saveSMimeCert(upload: SaveSMimeCertInputUpload!, password: String): SmimeCertInfoResponse
|
|
3447
3517
|
sendDeliveryReport(messageId: ID!): Boolean
|
|
3448
3518
|
sendInviteReply(inviteReply: InviteReplyInput!): InviteReplyResponse
|
|
3449
3519
|
sendShareNotification(shareNotification: ShareNotificationInput!): Boolean
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JsonRequestOptions } from '../request/types';
|
|
2
|
-
import { AddMsgInput, CalendarItemInput, CounterAppointmentInput, CreateContactInput, CreateIdentityInput, CreateMountpointInput, CreateTagInput, DeleteAppointmentInput, DeleteIdentityInput, EnableTwoFactorAuthInput, ExternalAccountAddInput, ExternalAccountImportInput, ExternalAccountTestInput, FilterInput, FolderActionChangeColorInput, FolderActionCheckCalendarInput, ForwardAppointmentInput, ForwardAppointmentInviteInput, GetRightsInput, GrantRightsInput, InviteReplyInput, ModifyContactInput, ModifyIdentityInput, PreferencesInput, RevokeRightsInput, SearchFolderInput, SendMessageInput, ShareNotificationInput, SignatureInput, WhiteBlackListInput, ZimletPreferenceInput } from '../schema/generated-schema-types';
|
|
3
|
-
import { ActionOptions, ActionType, ApplyFilterRulesOptions, AppointmentOptions, AutoCompleteGALOptions, AutoCompleteOptions, ChangePasswordOptions, CreateFolderOptions, CreateSearchFolderOptions, ExternalAccountDeleteInput, ExternalAccountModifyInput, FreeBusyOptions, GetContactFrequencyOptions, GetContactOptions, GetConversationOptions, GetCustomMetadataOptions, GetDocumentShareURLOptions, GetFolderOptions, GetMailboxMetadataOptions, GetMessageOptions, GetSMimePublicCertsOptions, LoginOptions, ModifyProfileImageOptions, NoOpOptions, RecoverAccountOptions, RelatedContactsOptions, ResetPasswordOptions, SaveDocumentInput, SearchCalendarResourcesOptions, SearchOptions, SetRecoveryAccountOptions, ShareInfoOptions, WorkingHoursOptions, ZimbraClientOptions } from './types';
|
|
2
|
+
import { AddMsgInput, CalendarItemInput, CounterAppointmentInput, CreateContactInput, CreateIdentityInput, CreateMountpointInput, CreateTagInput, DeleteAppointmentInput, DeleteIdentityInput, EnableTwoFactorAuthInput, ExternalAccountAddInput, ExternalAccountImportInput, ExternalAccountTestInput, FilterInput, FolderActionChangeColorInput, FolderActionCheckCalendarInput, ForwardAppointmentInput, ForwardAppointmentInviteInput, GetRightsInput, GrantRightsInput, InviteReplyInput, ModifyContactInput, ModifyIdentityInput, PreferencesInput, RevokeRightsInput, SaveSMimeCertInputUpload, SearchFolderInput, SendMessageInput, ShareNotificationInput, SignatureInput, WhiteBlackListInput, ZimletPreferenceInput } from '../schema/generated-schema-types';
|
|
3
|
+
import { ActionOptions, ActionType, ApplyFilterRulesOptions, AppointmentOptions, AutoCompleteGALOptions, AutoCompleteOptions, ChangePasswordOptions, CreateFolderOptions, CreateSearchFolderOptions, DiscoverRightOptions, ExternalAccountDeleteInput, ExternalAccountModifyInput, FreeBusyOptions, GetContactFrequencyOptions, GetContactOptions, GetConversationOptions, GetCustomMetadataOptions, GetDocumentShareURLOptions, GetFolderOptions, GetMailboxMetadataOptions, GetMessageOptions, GetSMimePublicCertsOptions, LoginOptions, ModifyProfileImageOptions, NoOpOptions, RecoverAccountOptions, RelatedContactsOptions, ResetPasswordOptions, SaveDocumentInput, SearchCalendarResourcesOptions, SearchOptions, SetRecoveryAccountOptions, ShareInfoOptions, WorkingHoursOptions, ZimbraClientOptions } from './types';
|
|
4
4
|
import { Notifier } from './notifier';
|
|
5
5
|
export declare class ZimbraBatchClient {
|
|
6
6
|
localStoreClient: any;
|
|
@@ -57,7 +57,7 @@ export declare class ZimbraBatchClient {
|
|
|
57
57
|
deleteIdentity: (identity: DeleteIdentityInput) => Promise<boolean>;
|
|
58
58
|
deleteSignature: (options: SignatureInput) => Promise<boolean>;
|
|
59
59
|
disableTwoFactorAuth: () => Promise<boolean>;
|
|
60
|
-
discoverRights: () => Promise<any>;
|
|
60
|
+
discoverRights: ({ right }: DiscoverRightOptions) => Promise<any>;
|
|
61
61
|
dismissCalendarItem: (appointment: any, task: any) => Promise<boolean>;
|
|
62
62
|
documentAction: (options: ActionOptions) => Promise<any>;
|
|
63
63
|
documentActionResponse: (type: ActionType, options: ActionOptions) => Promise<any>;
|
|
@@ -113,6 +113,7 @@ export declare class ZimbraBatchClient {
|
|
|
113
113
|
folders?: undefined;
|
|
114
114
|
}>;
|
|
115
115
|
getSignatures: () => Promise<{}>;
|
|
116
|
+
getSMimeCertInfo: () => Promise<any>;
|
|
116
117
|
getSMimePublicCerts: (options: GetSMimePublicCertsOptions) => Promise<any>;
|
|
117
118
|
getTag: () => Promise<any>;
|
|
118
119
|
getTasks: (options: SearchOptions) => Promise<any>;
|
|
@@ -157,12 +158,13 @@ export declare class ZimbraBatchClient {
|
|
|
157
158
|
saveDraft: (message: SendMessageInput, accountName: string) => Promise<{
|
|
158
159
|
message: any;
|
|
159
160
|
}>;
|
|
161
|
+
saveSMimeCert: (upload: SaveSMimeCertInputUpload, password: string) => Promise<any>;
|
|
160
162
|
search: (options: SearchOptions) => Promise<any>;
|
|
161
163
|
searchCalendarResources: (options: SearchCalendarResourcesOptions) => Promise<any>;
|
|
162
164
|
searchGal: (options: SearchOptions) => Promise<any>;
|
|
163
165
|
sendDeliveryReport: (messageId: string) => Promise<boolean>;
|
|
164
166
|
sendInviteReply: (requestOptions: InviteReplyInput) => Promise<any>;
|
|
165
|
-
sendMessage: (message: SendMessageInput, accountName: string) => Promise<any>;
|
|
167
|
+
sendMessage: (message: SendMessageInput, accountName: string, sign: Boolean, encrypt: Boolean) => Promise<any>;
|
|
166
168
|
sendShareNotification: (body: ShareNotificationInput) => Promise<boolean>;
|
|
167
169
|
setCsrfToken: (csrfToken: string) => void;
|
|
168
170
|
setCustomMetadata: (variables: any) => Promise<boolean>;
|
|
@@ -17,12 +17,14 @@ export interface BaseRequestOptions {
|
|
|
17
17
|
authToken?: string;
|
|
18
18
|
credentials?: RequestCredentials;
|
|
19
19
|
csrfToken?: string | null;
|
|
20
|
+
encrypt?: Boolean;
|
|
20
21
|
fetchOptions?: any;
|
|
21
22
|
headers?: any;
|
|
22
23
|
jwtToken?: string | null;
|
|
23
24
|
origin?: string;
|
|
24
25
|
sessionId?: SessionId;
|
|
25
26
|
sessionSeq?: SessionSeq;
|
|
27
|
+
sign?: Boolean;
|
|
26
28
|
singleRequest?: boolean;
|
|
27
29
|
soapPathname?: string;
|
|
28
30
|
userAgent?: UserAgent;
|
|
@@ -83,6 +83,7 @@ export declare type AccountInfoAttrs = {
|
|
|
83
83
|
zimbraDomainTrialExpirationDate?: Maybe<Scalars['String']>;
|
|
84
84
|
zimbraDumpsterEnabled?: Maybe<Scalars['Boolean']>;
|
|
85
85
|
zimbraExternalSharingEnabled?: Maybe<Scalars['Boolean']>;
|
|
86
|
+
zimbraFeatureAntispamEnabled?: Maybe<Scalars['Boolean']>;
|
|
86
87
|
zimbraFeatureAppSpecificPasswordsEnabled?: Maybe<Scalars['Boolean']>;
|
|
87
88
|
zimbraFeatureBriefcasesEnabled?: Maybe<Scalars['Boolean']>;
|
|
88
89
|
zimbraFeatureCalendarEnabled?: Maybe<Scalars['Boolean']>;
|
|
@@ -108,6 +109,7 @@ export declare type AccountInfoAttrs = {
|
|
|
108
109
|
zimbraFeatureResetPasswordStatus?: Maybe<ResetPasswordStatus>;
|
|
109
110
|
zimbraFeatureSharingEnabled?: Maybe<Scalars['Boolean']>;
|
|
110
111
|
zimbraFeatureTaggingEnabled?: Maybe<Scalars['Boolean']>;
|
|
112
|
+
zimbraFeatureTasksEnabled?: Maybe<Scalars['Boolean']>;
|
|
111
113
|
zimbraFeatureTrustedDevicesEnabled?: Maybe<Scalars['Boolean']>;
|
|
112
114
|
zimbraFeatureTwoFactorAuthAvailable?: Maybe<Scalars['Boolean']>;
|
|
113
115
|
zimbraFeatureTwoFactorAuthRequired?: Maybe<Scalars['Boolean']>;
|
|
@@ -729,6 +731,7 @@ export declare enum ConnectionType {
|
|
|
729
731
|
export declare type Contact = {
|
|
730
732
|
__typename?: 'Contact';
|
|
731
733
|
attributes?: Maybe<ContactAttributes>;
|
|
734
|
+
certificate?: Maybe<Array<Maybe<SmimeCert>>>;
|
|
732
735
|
date?: Maybe<Scalars['Float']>;
|
|
733
736
|
fileAsStr?: Maybe<Scalars['String']>;
|
|
734
737
|
folderId?: Maybe<Scalars['ID']>;
|
|
@@ -797,8 +800,6 @@ export declare type ContactAttributes = {
|
|
|
797
800
|
otherURL?: Maybe<Scalars['String']>;
|
|
798
801
|
pager?: Maybe<Scalars['String']>;
|
|
799
802
|
pager2?: Maybe<Scalars['String']>;
|
|
800
|
-
phone?: Maybe<Scalars['String']>;
|
|
801
|
-
phone2?: Maybe<Scalars['String']>;
|
|
802
803
|
phoneticFirstName?: Maybe<Scalars['String']>;
|
|
803
804
|
phoneticLastName?: Maybe<Scalars['String']>;
|
|
804
805
|
thumbnailPhoto?: Maybe<Scalars['String']>;
|
|
@@ -875,8 +876,6 @@ export declare type ContactAttrsInput = {
|
|
|
875
876
|
otherURL?: Maybe<Scalars['String']>;
|
|
876
877
|
pager?: Maybe<Scalars['String']>;
|
|
877
878
|
pager2?: Maybe<Scalars['String']>;
|
|
878
|
-
phone?: Maybe<Scalars['String']>;
|
|
879
|
-
phone2?: Maybe<Scalars['String']>;
|
|
880
879
|
phoneticFirstName?: Maybe<Scalars['String']>;
|
|
881
880
|
phoneticLastName?: Maybe<Scalars['String']>;
|
|
882
881
|
type?: Maybe<Scalars['String']>;
|
|
@@ -1018,7 +1017,7 @@ export declare type Cursor = {
|
|
|
1018
1017
|
endSortVal?: Maybe<Scalars['String']>;
|
|
1019
1018
|
id?: Maybe<Scalars['ID']>;
|
|
1020
1019
|
includeOffset?: Maybe<Scalars['Boolean']>;
|
|
1021
|
-
|
|
1020
|
+
sortVal?: Maybe<Scalars['String']>;
|
|
1022
1021
|
};
|
|
1023
1022
|
export declare type CustomMetadata = {
|
|
1024
1023
|
__typename?: 'CustomMetadata';
|
|
@@ -1111,6 +1110,9 @@ export declare type Device = {
|
|
|
1111
1110
|
type?: Maybe<Scalars['String']>;
|
|
1112
1111
|
ua?: Maybe<Scalars['String']>;
|
|
1113
1112
|
};
|
|
1113
|
+
export declare type DiscoverRightInput = {
|
|
1114
|
+
_content?: Maybe<Scalars['String']>;
|
|
1115
|
+
};
|
|
1114
1116
|
export declare type DiscoverRights = {
|
|
1115
1117
|
__typename?: 'DiscoverRights';
|
|
1116
1118
|
targets?: Maybe<Array<Maybe<Targets>>>;
|
|
@@ -1994,9 +1996,11 @@ export declare type MessageInfo = MailItem & {
|
|
|
1994
1996
|
autoSendTime?: Maybe<Scalars['Float']>;
|
|
1995
1997
|
bcc?: Maybe<Array<Maybe<EmailAddress>>>;
|
|
1996
1998
|
cc?: Maybe<Array<Maybe<EmailAddress>>>;
|
|
1999
|
+
certificate?: Maybe<Array<Maybe<SmimeCert>>>;
|
|
1997
2000
|
changeDate?: Maybe<Scalars['Float']>;
|
|
1998
2001
|
conversationId?: Maybe<Scalars['ID']>;
|
|
1999
2002
|
date?: Maybe<Scalars['Float']>;
|
|
2003
|
+
decryptionErrorCode?: Maybe<Scalars['String']>;
|
|
2000
2004
|
emailAddresses?: Maybe<Array<Maybe<EmailAddress>>>;
|
|
2001
2005
|
excerpt?: Maybe<Scalars['String']>;
|
|
2002
2006
|
flags?: Maybe<Scalars['String']>;
|
|
@@ -2006,6 +2010,8 @@ export declare type MessageInfo = MailItem & {
|
|
|
2006
2010
|
id?: Maybe<Scalars['ID']>;
|
|
2007
2011
|
inlineAttachments?: Maybe<Array<Maybe<MimePart>>>;
|
|
2008
2012
|
invitations?: Maybe<Array<Maybe<InviteInfo>>>;
|
|
2013
|
+
isEncrypted?: Maybe<Scalars['Boolean']>;
|
|
2014
|
+
isSigned?: Maybe<Scalars['Boolean']>;
|
|
2009
2015
|
local?: Maybe<Scalars['Boolean']>;
|
|
2010
2016
|
mimeParts?: Maybe<Array<Maybe<MimePart>>>;
|
|
2011
2017
|
modifiedSequence?: Maybe<Scalars['Float']>;
|
|
@@ -2056,6 +2062,7 @@ export declare type MimePart = {
|
|
|
2056
2062
|
mimeParts?: Maybe<Array<Maybe<MimePart>>>;
|
|
2057
2063
|
part?: Maybe<Scalars['ID']>;
|
|
2058
2064
|
size?: Maybe<Scalars['Float']>;
|
|
2065
|
+
truncated?: Maybe<Scalars['Boolean']>;
|
|
2059
2066
|
url?: Maybe<Scalars['String']>;
|
|
2060
2067
|
};
|
|
2061
2068
|
export declare type MimePartInput = {
|
|
@@ -2071,6 +2078,7 @@ export declare type MimePartInput = {
|
|
|
2071
2078
|
mimeParts?: Maybe<Array<Maybe<MimePartInput>>>;
|
|
2072
2079
|
part?: Maybe<Scalars['ID']>;
|
|
2073
2080
|
size?: Maybe<Scalars['Float']>;
|
|
2081
|
+
truncated?: Maybe<Scalars['Boolean']>;
|
|
2074
2082
|
url?: Maybe<Scalars['String']>;
|
|
2075
2083
|
};
|
|
2076
2084
|
export declare enum Mode {
|
|
@@ -2210,6 +2218,7 @@ export declare type Mutation = {
|
|
|
2210
2218
|
revokeTrustedDevice?: Maybe<Scalars['Boolean']>;
|
|
2211
2219
|
saveDocument?: Maybe<SaveDocumentResponse>;
|
|
2212
2220
|
saveDraft?: Maybe<SaveDraftResponse>;
|
|
2221
|
+
saveSMimeCert?: Maybe<SmimeCertInfoResponse>;
|
|
2213
2222
|
sendDeliveryReport?: Maybe<Scalars['Boolean']>;
|
|
2214
2223
|
sendInviteReply?: Maybe<InviteReplyResponse>;
|
|
2215
2224
|
sendMessage?: Maybe<SendMessageResponse>;
|
|
@@ -2516,6 +2525,10 @@ export declare type MutationSaveDraftArgs = {
|
|
|
2516
2525
|
accountName?: Maybe<Scalars['String']>;
|
|
2517
2526
|
message: SendMessageInput;
|
|
2518
2527
|
};
|
|
2528
|
+
export declare type MutationSaveSMimeCertArgs = {
|
|
2529
|
+
password?: Maybe<Scalars['String']>;
|
|
2530
|
+
upload: SaveSMimeCertInputUpload;
|
|
2531
|
+
};
|
|
2519
2532
|
export declare type MutationSendDeliveryReportArgs = {
|
|
2520
2533
|
messageId: Scalars['ID'];
|
|
2521
2534
|
};
|
|
@@ -2524,7 +2537,9 @@ export declare type MutationSendInviteReplyArgs = {
|
|
|
2524
2537
|
};
|
|
2525
2538
|
export declare type MutationSendMessageArgs = {
|
|
2526
2539
|
accountName?: Maybe<Scalars['String']>;
|
|
2540
|
+
encrypt?: Maybe<Scalars['Boolean']>;
|
|
2527
2541
|
message: SendMessageInput;
|
|
2542
|
+
sign?: Maybe<Scalars['Boolean']>;
|
|
2528
2543
|
};
|
|
2529
2544
|
export declare type MutationSendShareNotificationArgs = {
|
|
2530
2545
|
shareNotification: ShareNotificationInput;
|
|
@@ -2843,6 +2858,7 @@ export declare type Query = {
|
|
|
2843
2858
|
getPreferences?: Maybe<Preferences>;
|
|
2844
2859
|
getReminders?: Maybe<RemindersResponse>;
|
|
2845
2860
|
getRights?: Maybe<RightsResponse>;
|
|
2861
|
+
getSMimeCertInfo?: Maybe<SmimeCertInfoResponse>;
|
|
2846
2862
|
getSMimePublicCerts?: Maybe<SMimePublicCertsResponse>;
|
|
2847
2863
|
getScratchCodes?: Maybe<ScratchCodes>;
|
|
2848
2864
|
getSearchFolder?: Maybe<Folder>;
|
|
@@ -2878,6 +2894,9 @@ export declare type QueryClientInfoArgs = {
|
|
|
2878
2894
|
by?: Maybe<Scalars['String']>;
|
|
2879
2895
|
domain?: Maybe<Scalars['String']>;
|
|
2880
2896
|
};
|
|
2897
|
+
export declare type QueryDiscoverRightsArgs = {
|
|
2898
|
+
right: Array<DiscoverRightInput>;
|
|
2899
|
+
};
|
|
2881
2900
|
export declare type QueryDownloadAttachmentArgs = {
|
|
2882
2901
|
id: Scalars['ID'];
|
|
2883
2902
|
part: Scalars['ID'];
|
|
@@ -2982,6 +3001,9 @@ export declare type QueryGetRemindersArgs = {
|
|
|
2982
3001
|
export declare type QueryGetRightsArgs = {
|
|
2983
3002
|
input: GetRightsInput;
|
|
2984
3003
|
};
|
|
3004
|
+
export declare type QueryGetSMimeCertInfoArgs = {
|
|
3005
|
+
certId?: Maybe<Scalars['String']>;
|
|
3006
|
+
};
|
|
2985
3007
|
export declare type QueryGetSMimePublicCertsArgs = {
|
|
2986
3008
|
contactAddr: Scalars['String'];
|
|
2987
3009
|
store: Scalars['String'];
|
|
@@ -3231,6 +3253,9 @@ export declare type SaveMessageDataInput = {
|
|
|
3231
3253
|
id: Scalars['ID'];
|
|
3232
3254
|
meta: Scalars['String'];
|
|
3233
3255
|
};
|
|
3256
|
+
export declare type SaveSMimeCertInputUpload = {
|
|
3257
|
+
id?: Maybe<Scalars['String']>;
|
|
3258
|
+
};
|
|
3234
3259
|
export declare type ScratchCode = {
|
|
3235
3260
|
__typename?: 'ScratchCode';
|
|
3236
3261
|
scratchCode?: Maybe<Array<Maybe<ScratchCodeType>>>;
|
|
@@ -3419,6 +3444,59 @@ export declare type Skin = {
|
|
|
3419
3444
|
__typename?: 'Skin';
|
|
3420
3445
|
_content?: Maybe<Scalars['String']>;
|
|
3421
3446
|
};
|
|
3447
|
+
export declare type SmimeCert = {
|
|
3448
|
+
__typename?: 'SmimeCert';
|
|
3449
|
+
default?: Maybe<Scalars['Boolean']>;
|
|
3450
|
+
emailAddress?: Maybe<Scalars['String']>;
|
|
3451
|
+
errorCode?: Maybe<Scalars['String']>;
|
|
3452
|
+
issuedBy?: Maybe<SmimeCertIssuedBy>;
|
|
3453
|
+
issuedTo?: Maybe<SmimeCertIssuedTo>;
|
|
3454
|
+
privateKeyId?: Maybe<Scalars['String']>;
|
|
3455
|
+
publicCertificateId?: Maybe<Scalars['String']>;
|
|
3456
|
+
signature?: Maybe<SmimeCertSignature>;
|
|
3457
|
+
subjectAltName?: Maybe<SmimeCertSubjectAltName>;
|
|
3458
|
+
validity?: Maybe<SmimeCertValidity>;
|
|
3459
|
+
};
|
|
3460
|
+
export declare type SmimeCertInfoResponse = {
|
|
3461
|
+
__typename?: 'SmimeCertInfoResponse';
|
|
3462
|
+
certificates?: Maybe<Array<Maybe<SmimeCert>>>;
|
|
3463
|
+
};
|
|
3464
|
+
export declare type SmimeCertIssuedBy = {
|
|
3465
|
+
__typename?: 'SmimeCertIssuedBy';
|
|
3466
|
+
commonName?: Maybe<Scalars['String']>;
|
|
3467
|
+
country?: Maybe<Scalars['String']>;
|
|
3468
|
+
emailAddress?: Maybe<Scalars['String']>;
|
|
3469
|
+
locality?: Maybe<Scalars['String']>;
|
|
3470
|
+
organizationName?: Maybe<Scalars['String']>;
|
|
3471
|
+
state?: Maybe<Scalars['String']>;
|
|
3472
|
+
};
|
|
3473
|
+
export declare type SmimeCertIssuedTo = {
|
|
3474
|
+
__typename?: 'SmimeCertIssuedTo';
|
|
3475
|
+
commonName?: Maybe<Scalars['String']>;
|
|
3476
|
+
country?: Maybe<Scalars['String']>;
|
|
3477
|
+
emailAddress?: Maybe<Scalars['String']>;
|
|
3478
|
+
organizationName?: Maybe<Scalars['String']>;
|
|
3479
|
+
organizationUnit?: Maybe<Scalars['String']>;
|
|
3480
|
+
state?: Maybe<Scalars['String']>;
|
|
3481
|
+
};
|
|
3482
|
+
export declare type SmimeCertSignature = {
|
|
3483
|
+
__typename?: 'SmimeCertSignature';
|
|
3484
|
+
algorithm?: Maybe<Scalars['String']>;
|
|
3485
|
+
serialNo?: Maybe<Scalars['String']>;
|
|
3486
|
+
};
|
|
3487
|
+
export declare type SmimeCertSubjectAltName = {
|
|
3488
|
+
__typename?: 'SmimeCertSubjectAltName';
|
|
3489
|
+
rfc822Name?: Maybe<Array<Maybe<SmimeCertSubjectRfc822Name>>>;
|
|
3490
|
+
};
|
|
3491
|
+
export declare type SmimeCertSubjectRfc822Name = {
|
|
3492
|
+
__typename?: 'SmimeCertSubjectRfc822Name';
|
|
3493
|
+
content?: Maybe<Scalars['String']>;
|
|
3494
|
+
};
|
|
3495
|
+
export declare type SmimeCertValidity = {
|
|
3496
|
+
__typename?: 'SmimeCertValidity';
|
|
3497
|
+
endDate?: Maybe<Scalars['Float']>;
|
|
3498
|
+
startDate?: Maybe<Scalars['Float']>;
|
|
3499
|
+
};
|
|
3422
3500
|
export declare type SnoozeInput = {
|
|
3423
3501
|
id: Scalars['ID'];
|
|
3424
3502
|
until: Scalars['Float'];
|