@zimbra/api-client 73.0.0 → 74.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 +74 -2
- 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 +80 -0
- package/dist/src/utils/normalize-otherAttribute-contact.d.ts +1 -1
- package/dist/zm-api-js-client.esm.js +248 -177
- 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 +96 -0
- package/src/schema/schema.graphql +74 -2
- package/src/schema/schema.ts +10 -3
- package/src/utils/normalize-otherAttribute-contact.ts +2 -2
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
|
|
@@ -1640,6 +1644,7 @@ type Contact {
|
|
|
1640
1644
|
tagNames: String # tn
|
|
1641
1645
|
attributes: ContactAttributes
|
|
1642
1646
|
members: [ContactListMember]
|
|
1647
|
+
certificate: [SmimeCert]
|
|
1643
1648
|
}
|
|
1644
1649
|
|
|
1645
1650
|
type OtherContactAttribute {
|
|
@@ -1976,6 +1981,7 @@ type MimePart {
|
|
|
1976
1981
|
url: String
|
|
1977
1982
|
messageId: ID
|
|
1978
1983
|
base64: String
|
|
1984
|
+
truncated: Boolean
|
|
1979
1985
|
}
|
|
1980
1986
|
|
|
1981
1987
|
type ActionData {
|
|
@@ -2002,7 +2008,8 @@ input MimePartInput {
|
|
|
2002
2008
|
url: String
|
|
2003
2009
|
messageId: ID
|
|
2004
2010
|
attachments: [AttachmentInput]
|
|
2005
|
-
base64: String
|
|
2011
|
+
base64: String,
|
|
2012
|
+
truncated: Boolean
|
|
2006
2013
|
}
|
|
2007
2014
|
|
|
2008
2015
|
input ExistingAttachmentInput {
|
|
@@ -2112,6 +2119,10 @@ input SendMessageInput {
|
|
|
2112
2119
|
inlineAttachments: [MimePartInput] #attach
|
|
2113
2120
|
}
|
|
2114
2121
|
|
|
2122
|
+
input SaveSMimeCertInputUpload {
|
|
2123
|
+
id: String
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2115
2126
|
input CalendarItemInviteInput {
|
|
2116
2127
|
components: [CalendarItemInviteComponentInput]!
|
|
2117
2128
|
}
|
|
@@ -2988,6 +2999,59 @@ type SMimePublicCertsResponse {
|
|
|
2988
2999
|
certs: [SMimePublicCerts]
|
|
2989
3000
|
}
|
|
2990
3001
|
|
|
3002
|
+
type SmimeCertIssuedBy {
|
|
3003
|
+
country: String
|
|
3004
|
+
commonName: String
|
|
3005
|
+
emailAddress: String
|
|
3006
|
+
locality: String
|
|
3007
|
+
organizationName: String
|
|
3008
|
+
state: String
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
type SmimeCertIssuedTo {
|
|
3012
|
+
country: String
|
|
3013
|
+
commonName: String
|
|
3014
|
+
emailAddress: String
|
|
3015
|
+
organizationName: String
|
|
3016
|
+
organizationUnit: String
|
|
3017
|
+
state: String
|
|
3018
|
+
}
|
|
3019
|
+
|
|
3020
|
+
type SmimeCertSignature {
|
|
3021
|
+
algorithm: String
|
|
3022
|
+
serialNo: String
|
|
3023
|
+
}
|
|
3024
|
+
|
|
3025
|
+
type SmimeCertSubjectRfc822Name {
|
|
3026
|
+
content: String
|
|
3027
|
+
}
|
|
3028
|
+
|
|
3029
|
+
type SmimeCertSubjectAltName {
|
|
3030
|
+
rfc822Name: [SmimeCertSubjectRfc822Name]
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3033
|
+
type SmimeCertValidity {
|
|
3034
|
+
endDate: Float
|
|
3035
|
+
startDate: Float
|
|
3036
|
+
}
|
|
3037
|
+
|
|
3038
|
+
type SmimeCert {
|
|
3039
|
+
default: Boolean
|
|
3040
|
+
emailAddress: String
|
|
3041
|
+
issuedBy: SmimeCertIssuedBy
|
|
3042
|
+
issuedTo: SmimeCertIssuedTo
|
|
3043
|
+
publicCertificateId: String
|
|
3044
|
+
privateKeyId: String
|
|
3045
|
+
signature: SmimeCertSignature
|
|
3046
|
+
subjectAltName: SmimeCertSubjectAltName
|
|
3047
|
+
validity: SmimeCertValidity
|
|
3048
|
+
errorCode: String
|
|
3049
|
+
}
|
|
3050
|
+
|
|
3051
|
+
type SmimeCertInfoResponse {
|
|
3052
|
+
certificates: [SmimeCert]
|
|
3053
|
+
}
|
|
3054
|
+
|
|
2991
3055
|
type SMimeMessage {
|
|
2992
3056
|
id: ID
|
|
2993
3057
|
content: String
|
|
@@ -3095,6 +3159,10 @@ input SearchConditionsInput {
|
|
|
3095
3159
|
conds: ConditionsInput
|
|
3096
3160
|
}
|
|
3097
3161
|
|
|
3162
|
+
input DiscoverRightInput {
|
|
3163
|
+
_content: String
|
|
3164
|
+
}
|
|
3165
|
+
|
|
3098
3166
|
# Zimbra GraphQL Queries
|
|
3099
3167
|
# - [[SOAP API Reference]](https://files.zimbra.com/docs/soap_api/8.7.11/api-reference/index.html)
|
|
3100
3168
|
# - [[SOAP Documentation]](https://github.com/Zimbra/zm-mailbox/blob/develop/store/docs/soap.txt)
|
|
@@ -3118,7 +3186,7 @@ type Query {
|
|
|
3118
3186
|
downloadMessage(id: ID!, isSecure: Boolean, isLocal: Boolean): SMimeMessage
|
|
3119
3187
|
downloadAttachment(id: ID!, part: ID!): Attachment
|
|
3120
3188
|
downloadDocument(id: ID!, url: String!): Attachment
|
|
3121
|
-
discoverRights: DiscoverRights
|
|
3189
|
+
discoverRights(right: [DiscoverRightInput!]!): DiscoverRights
|
|
3122
3190
|
freeBusy(names: [String!]!, start: Float, end: Float): [FreeBusy]
|
|
3123
3191
|
getContact(
|
|
3124
3192
|
id: ID
|
|
@@ -3205,6 +3273,7 @@ type Query {
|
|
|
3205
3273
|
contactAddr: String!
|
|
3206
3274
|
store: String!
|
|
3207
3275
|
): SMimePublicCertsResponse
|
|
3276
|
+
getSMimeCertInfo(certId: String): SmimeCertInfoResponse
|
|
3208
3277
|
getScratchCodes(username: String!): ScratchCodes
|
|
3209
3278
|
getSearchFolder: Folder
|
|
3210
3279
|
getTrustedDevices: GetTrustedDevicesResponse
|
|
@@ -3443,7 +3512,10 @@ type Mutation {
|
|
|
3443
3512
|
sendMessage(
|
|
3444
3513
|
message: SendMessageInput!
|
|
3445
3514
|
accountName: String
|
|
3515
|
+
sign: Boolean
|
|
3516
|
+
encrypt: Boolean
|
|
3446
3517
|
): SendMessageResponse
|
|
3518
|
+
saveSMimeCert(upload: SaveSMimeCertInputUpload!, password: String): SmimeCertInfoResponse
|
|
3447
3519
|
sendDeliveryReport(messageId: ID!): Boolean
|
|
3448
3520
|
sendInviteReply(inviteReply: InviteReplyInput!): InviteReplyResponse
|
|
3449
3521
|
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;
|
|
@@ -729,6 +729,7 @@ export declare enum ConnectionType {
|
|
|
729
729
|
export declare type Contact = {
|
|
730
730
|
__typename?: 'Contact';
|
|
731
731
|
attributes?: Maybe<ContactAttributes>;
|
|
732
|
+
certificate?: Maybe<Array<Maybe<SmimeCert>>>;
|
|
732
733
|
date?: Maybe<Scalars['Float']>;
|
|
733
734
|
fileAsStr?: Maybe<Scalars['String']>;
|
|
734
735
|
folderId?: Maybe<Scalars['ID']>;
|
|
@@ -1111,6 +1112,9 @@ export declare type Device = {
|
|
|
1111
1112
|
type?: Maybe<Scalars['String']>;
|
|
1112
1113
|
ua?: Maybe<Scalars['String']>;
|
|
1113
1114
|
};
|
|
1115
|
+
export declare type DiscoverRightInput = {
|
|
1116
|
+
_content?: Maybe<Scalars['String']>;
|
|
1117
|
+
};
|
|
1114
1118
|
export declare type DiscoverRights = {
|
|
1115
1119
|
__typename?: 'DiscoverRights';
|
|
1116
1120
|
targets?: Maybe<Array<Maybe<Targets>>>;
|
|
@@ -1994,9 +1998,11 @@ export declare type MessageInfo = MailItem & {
|
|
|
1994
1998
|
autoSendTime?: Maybe<Scalars['Float']>;
|
|
1995
1999
|
bcc?: Maybe<Array<Maybe<EmailAddress>>>;
|
|
1996
2000
|
cc?: Maybe<Array<Maybe<EmailAddress>>>;
|
|
2001
|
+
certificate?: Maybe<Array<Maybe<SmimeCert>>>;
|
|
1997
2002
|
changeDate?: Maybe<Scalars['Float']>;
|
|
1998
2003
|
conversationId?: Maybe<Scalars['ID']>;
|
|
1999
2004
|
date?: Maybe<Scalars['Float']>;
|
|
2005
|
+
decryptionErrorCode?: Maybe<Scalars['String']>;
|
|
2000
2006
|
emailAddresses?: Maybe<Array<Maybe<EmailAddress>>>;
|
|
2001
2007
|
excerpt?: Maybe<Scalars['String']>;
|
|
2002
2008
|
flags?: Maybe<Scalars['String']>;
|
|
@@ -2006,6 +2012,8 @@ export declare type MessageInfo = MailItem & {
|
|
|
2006
2012
|
id?: Maybe<Scalars['ID']>;
|
|
2007
2013
|
inlineAttachments?: Maybe<Array<Maybe<MimePart>>>;
|
|
2008
2014
|
invitations?: Maybe<Array<Maybe<InviteInfo>>>;
|
|
2015
|
+
isEncrypted?: Maybe<Scalars['Boolean']>;
|
|
2016
|
+
isSigned?: Maybe<Scalars['Boolean']>;
|
|
2009
2017
|
local?: Maybe<Scalars['Boolean']>;
|
|
2010
2018
|
mimeParts?: Maybe<Array<Maybe<MimePart>>>;
|
|
2011
2019
|
modifiedSequence?: Maybe<Scalars['Float']>;
|
|
@@ -2056,6 +2064,7 @@ export declare type MimePart = {
|
|
|
2056
2064
|
mimeParts?: Maybe<Array<Maybe<MimePart>>>;
|
|
2057
2065
|
part?: Maybe<Scalars['ID']>;
|
|
2058
2066
|
size?: Maybe<Scalars['Float']>;
|
|
2067
|
+
truncated?: Maybe<Scalars['Boolean']>;
|
|
2059
2068
|
url?: Maybe<Scalars['String']>;
|
|
2060
2069
|
};
|
|
2061
2070
|
export declare type MimePartInput = {
|
|
@@ -2071,6 +2080,7 @@ export declare type MimePartInput = {
|
|
|
2071
2080
|
mimeParts?: Maybe<Array<Maybe<MimePartInput>>>;
|
|
2072
2081
|
part?: Maybe<Scalars['ID']>;
|
|
2073
2082
|
size?: Maybe<Scalars['Float']>;
|
|
2083
|
+
truncated?: Maybe<Scalars['Boolean']>;
|
|
2074
2084
|
url?: Maybe<Scalars['String']>;
|
|
2075
2085
|
};
|
|
2076
2086
|
export declare enum Mode {
|
|
@@ -2210,6 +2220,7 @@ export declare type Mutation = {
|
|
|
2210
2220
|
revokeTrustedDevice?: Maybe<Scalars['Boolean']>;
|
|
2211
2221
|
saveDocument?: Maybe<SaveDocumentResponse>;
|
|
2212
2222
|
saveDraft?: Maybe<SaveDraftResponse>;
|
|
2223
|
+
saveSMimeCert?: Maybe<SmimeCertInfoResponse>;
|
|
2213
2224
|
sendDeliveryReport?: Maybe<Scalars['Boolean']>;
|
|
2214
2225
|
sendInviteReply?: Maybe<InviteReplyResponse>;
|
|
2215
2226
|
sendMessage?: Maybe<SendMessageResponse>;
|
|
@@ -2516,6 +2527,10 @@ export declare type MutationSaveDraftArgs = {
|
|
|
2516
2527
|
accountName?: Maybe<Scalars['String']>;
|
|
2517
2528
|
message: SendMessageInput;
|
|
2518
2529
|
};
|
|
2530
|
+
export declare type MutationSaveSMimeCertArgs = {
|
|
2531
|
+
password?: Maybe<Scalars['String']>;
|
|
2532
|
+
upload: SaveSMimeCertInputUpload;
|
|
2533
|
+
};
|
|
2519
2534
|
export declare type MutationSendDeliveryReportArgs = {
|
|
2520
2535
|
messageId: Scalars['ID'];
|
|
2521
2536
|
};
|
|
@@ -2524,7 +2539,9 @@ export declare type MutationSendInviteReplyArgs = {
|
|
|
2524
2539
|
};
|
|
2525
2540
|
export declare type MutationSendMessageArgs = {
|
|
2526
2541
|
accountName?: Maybe<Scalars['String']>;
|
|
2542
|
+
encrypt?: Maybe<Scalars['Boolean']>;
|
|
2527
2543
|
message: SendMessageInput;
|
|
2544
|
+
sign?: Maybe<Scalars['Boolean']>;
|
|
2528
2545
|
};
|
|
2529
2546
|
export declare type MutationSendShareNotificationArgs = {
|
|
2530
2547
|
shareNotification: ShareNotificationInput;
|
|
@@ -2843,6 +2860,7 @@ export declare type Query = {
|
|
|
2843
2860
|
getPreferences?: Maybe<Preferences>;
|
|
2844
2861
|
getReminders?: Maybe<RemindersResponse>;
|
|
2845
2862
|
getRights?: Maybe<RightsResponse>;
|
|
2863
|
+
getSMimeCertInfo?: Maybe<SmimeCertInfoResponse>;
|
|
2846
2864
|
getSMimePublicCerts?: Maybe<SMimePublicCertsResponse>;
|
|
2847
2865
|
getScratchCodes?: Maybe<ScratchCodes>;
|
|
2848
2866
|
getSearchFolder?: Maybe<Folder>;
|
|
@@ -2878,6 +2896,9 @@ export declare type QueryClientInfoArgs = {
|
|
|
2878
2896
|
by?: Maybe<Scalars['String']>;
|
|
2879
2897
|
domain?: Maybe<Scalars['String']>;
|
|
2880
2898
|
};
|
|
2899
|
+
export declare type QueryDiscoverRightsArgs = {
|
|
2900
|
+
right: Array<DiscoverRightInput>;
|
|
2901
|
+
};
|
|
2881
2902
|
export declare type QueryDownloadAttachmentArgs = {
|
|
2882
2903
|
id: Scalars['ID'];
|
|
2883
2904
|
part: Scalars['ID'];
|
|
@@ -2982,6 +3003,9 @@ export declare type QueryGetRemindersArgs = {
|
|
|
2982
3003
|
export declare type QueryGetRightsArgs = {
|
|
2983
3004
|
input: GetRightsInput;
|
|
2984
3005
|
};
|
|
3006
|
+
export declare type QueryGetSMimeCertInfoArgs = {
|
|
3007
|
+
certId?: Maybe<Scalars['String']>;
|
|
3008
|
+
};
|
|
2985
3009
|
export declare type QueryGetSMimePublicCertsArgs = {
|
|
2986
3010
|
contactAddr: Scalars['String'];
|
|
2987
3011
|
store: Scalars['String'];
|
|
@@ -3231,6 +3255,9 @@ export declare type SaveMessageDataInput = {
|
|
|
3231
3255
|
id: Scalars['ID'];
|
|
3232
3256
|
meta: Scalars['String'];
|
|
3233
3257
|
};
|
|
3258
|
+
export declare type SaveSMimeCertInputUpload = {
|
|
3259
|
+
id?: Maybe<Scalars['String']>;
|
|
3260
|
+
};
|
|
3234
3261
|
export declare type ScratchCode = {
|
|
3235
3262
|
__typename?: 'ScratchCode';
|
|
3236
3263
|
scratchCode?: Maybe<Array<Maybe<ScratchCodeType>>>;
|
|
@@ -3419,6 +3446,59 @@ export declare type Skin = {
|
|
|
3419
3446
|
__typename?: 'Skin';
|
|
3420
3447
|
_content?: Maybe<Scalars['String']>;
|
|
3421
3448
|
};
|
|
3449
|
+
export declare type SmimeCert = {
|
|
3450
|
+
__typename?: 'SmimeCert';
|
|
3451
|
+
default?: Maybe<Scalars['Boolean']>;
|
|
3452
|
+
emailAddress?: Maybe<Scalars['String']>;
|
|
3453
|
+
errorCode?: Maybe<Scalars['String']>;
|
|
3454
|
+
issuedBy?: Maybe<SmimeCertIssuedBy>;
|
|
3455
|
+
issuedTo?: Maybe<SmimeCertIssuedTo>;
|
|
3456
|
+
privateKeyId?: Maybe<Scalars['String']>;
|
|
3457
|
+
publicCertificateId?: Maybe<Scalars['String']>;
|
|
3458
|
+
signature?: Maybe<SmimeCertSignature>;
|
|
3459
|
+
subjectAltName?: Maybe<SmimeCertSubjectAltName>;
|
|
3460
|
+
validity?: Maybe<SmimeCertValidity>;
|
|
3461
|
+
};
|
|
3462
|
+
export declare type SmimeCertInfoResponse = {
|
|
3463
|
+
__typename?: 'SmimeCertInfoResponse';
|
|
3464
|
+
certificates?: Maybe<Array<Maybe<SmimeCert>>>;
|
|
3465
|
+
};
|
|
3466
|
+
export declare type SmimeCertIssuedBy = {
|
|
3467
|
+
__typename?: 'SmimeCertIssuedBy';
|
|
3468
|
+
commonName?: Maybe<Scalars['String']>;
|
|
3469
|
+
country?: Maybe<Scalars['String']>;
|
|
3470
|
+
emailAddress?: Maybe<Scalars['String']>;
|
|
3471
|
+
locality?: Maybe<Scalars['String']>;
|
|
3472
|
+
organizationName?: Maybe<Scalars['String']>;
|
|
3473
|
+
state?: Maybe<Scalars['String']>;
|
|
3474
|
+
};
|
|
3475
|
+
export declare type SmimeCertIssuedTo = {
|
|
3476
|
+
__typename?: 'SmimeCertIssuedTo';
|
|
3477
|
+
commonName?: Maybe<Scalars['String']>;
|
|
3478
|
+
country?: Maybe<Scalars['String']>;
|
|
3479
|
+
emailAddress?: Maybe<Scalars['String']>;
|
|
3480
|
+
organizationName?: Maybe<Scalars['String']>;
|
|
3481
|
+
organizationUnit?: Maybe<Scalars['String']>;
|
|
3482
|
+
state?: Maybe<Scalars['String']>;
|
|
3483
|
+
};
|
|
3484
|
+
export declare type SmimeCertSignature = {
|
|
3485
|
+
__typename?: 'SmimeCertSignature';
|
|
3486
|
+
algorithm?: Maybe<Scalars['String']>;
|
|
3487
|
+
serialNo?: Maybe<Scalars['String']>;
|
|
3488
|
+
};
|
|
3489
|
+
export declare type SmimeCertSubjectAltName = {
|
|
3490
|
+
__typename?: 'SmimeCertSubjectAltName';
|
|
3491
|
+
rfc822Name?: Maybe<Array<Maybe<SmimeCertSubjectRfc822Name>>>;
|
|
3492
|
+
};
|
|
3493
|
+
export declare type SmimeCertSubjectRfc822Name = {
|
|
3494
|
+
__typename?: 'SmimeCertSubjectRfc822Name';
|
|
3495
|
+
content?: Maybe<Scalars['String']>;
|
|
3496
|
+
};
|
|
3497
|
+
export declare type SmimeCertValidity = {
|
|
3498
|
+
__typename?: 'SmimeCertValidity';
|
|
3499
|
+
endDate?: Maybe<Scalars['Float']>;
|
|
3500
|
+
startDate?: Maybe<Scalars['Float']>;
|
|
3501
|
+
};
|
|
3422
3502
|
export declare type SnoozeInput = {
|
|
3423
3503
|
id: Scalars['ID'];
|
|
3424
3504
|
until: Scalars['Float'];
|