@zimbra/api-client 71.0.0 → 75.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.
@@ -153,6 +153,7 @@ enum InviteCompletionStatus {
153
153
  enum ParticipationRole {
154
154
  REQ # required
155
155
  OPT # optional
156
+ CHA # chair
156
157
  NON # informational purposes only
157
158
  }
158
159
 
@@ -512,6 +513,8 @@ type MessageInfo implements MailItem {
512
513
  modifiedSequence: Float # ms
513
514
  invitations: [InviteInfo] # inv
514
515
  sortField: String # sf, Sort field used for cursor-based pagination
516
+ decryptionErrorCode: String
517
+ certificate: [SmimeCert]
515
518
  mimeParts: [MimePart]
516
519
  to: [EmailAddress]
517
520
  from: [EmailAddress]
@@ -526,6 +529,8 @@ type MessageInfo implements MailItem {
526
529
  share: [ShareNotification] # shr
527
530
  replyType: String #rt
528
531
  attributes: MessageAttributes
532
+ isEncrypted: Boolean
533
+ isSigned: Boolean
529
534
  autoSendTime: Float
530
535
  local: Boolean
531
536
  part: String
@@ -1639,6 +1644,7 @@ type Contact {
1639
1644
  tagNames: String # tn
1640
1645
  attributes: ContactAttributes
1641
1646
  members: [ContactListMember]
1647
+ certificate: [SmimeCert]
1642
1648
  }
1643
1649
 
1644
1650
  type OtherContactAttribute {
@@ -1662,8 +1668,6 @@ type ContactAttributes {
1662
1668
  workEmail2: String
1663
1669
  homeEmail: String
1664
1670
  homeEmail2: String
1665
- phone: String
1666
- phone2: String
1667
1671
  companyPhone: String
1668
1672
  companyPhone2: String
1669
1673
  otherPhone: String
@@ -1768,8 +1772,6 @@ input ContactAttrsInput {
1768
1772
  workEmail2: String
1769
1773
  homeEmail: String
1770
1774
  homeEmail2: String
1771
- phone: String
1772
- phone2: String
1773
1775
  companyPhone: String
1774
1776
  companyPhone2: String
1775
1777
  otherPhone: String
@@ -1975,6 +1977,7 @@ type MimePart {
1975
1977
  url: String
1976
1978
  messageId: ID
1977
1979
  base64: String
1980
+ truncated: Boolean
1978
1981
  }
1979
1982
 
1980
1983
  type ActionData {
@@ -2001,7 +2004,8 @@ input MimePartInput {
2001
2004
  url: String
2002
2005
  messageId: ID
2003
2006
  attachments: [AttachmentInput]
2004
- base64: String
2007
+ base64: String,
2008
+ truncated: Boolean
2005
2009
  }
2006
2010
 
2007
2011
  input ExistingAttachmentInput {
@@ -2111,6 +2115,10 @@ input SendMessageInput {
2111
2115
  inlineAttachments: [MimePartInput] #attach
2112
2116
  }
2113
2117
 
2118
+ input SaveSMimeCertInputUpload {
2119
+ id: String
2120
+ }
2121
+
2114
2122
  input CalendarItemInviteInput {
2115
2123
  components: [CalendarItemInviteComponentInput]!
2116
2124
  }
@@ -2987,9 +2995,63 @@ type SMimePublicCertsResponse {
2987
2995
  certs: [SMimePublicCerts]
2988
2996
  }
2989
2997
 
2998
+ type SmimeCertIssuedBy {
2999
+ country: String
3000
+ commonName: String
3001
+ emailAddress: String
3002
+ locality: String
3003
+ organizationName: String
3004
+ state: String
3005
+ }
3006
+
3007
+ type SmimeCertIssuedTo {
3008
+ country: String
3009
+ commonName: String
3010
+ emailAddress: String
3011
+ organizationName: String
3012
+ organizationUnit: String
3013
+ state: String
3014
+ }
3015
+
3016
+ type SmimeCertSignature {
3017
+ algorithm: String
3018
+ serialNo: String
3019
+ }
3020
+
3021
+ type SmimeCertSubjectRfc822Name {
3022
+ content: String
3023
+ }
3024
+
3025
+ type SmimeCertSubjectAltName {
3026
+ rfc822Name: [SmimeCertSubjectRfc822Name]
3027
+ }
3028
+
3029
+ type SmimeCertValidity {
3030
+ endDate: Float
3031
+ startDate: Float
3032
+ }
3033
+
3034
+ type SmimeCert {
3035
+ default: Boolean
3036
+ emailAddress: String
3037
+ issuedBy: SmimeCertIssuedBy
3038
+ issuedTo: SmimeCertIssuedTo
3039
+ publicCertificateId: String
3040
+ privateKeyId: String
3041
+ signature: SmimeCertSignature
3042
+ subjectAltName: SmimeCertSubjectAltName
3043
+ validity: SmimeCertValidity
3044
+ errorCode: String
3045
+ }
3046
+
3047
+ type SmimeCertInfoResponse {
3048
+ certificates: [SmimeCert]
3049
+ }
3050
+
2990
3051
  type SMimeMessage {
2991
3052
  id: ID
2992
3053
  content: String
3054
+ isSecure: Boolean
2993
3055
  }
2994
3056
 
2995
3057
  type Attachment {
@@ -3093,6 +3155,10 @@ input SearchConditionsInput {
3093
3155
  conds: ConditionsInput
3094
3156
  }
3095
3157
 
3158
+ input DiscoverRightInput {
3159
+ _content: String
3160
+ }
3161
+
3096
3162
  # Zimbra GraphQL Queries
3097
3163
  # - [[SOAP API Reference]](https://files.zimbra.com/docs/soap_api/8.7.11/api-reference/index.html)
3098
3164
  # - [[SOAP Documentation]](https://github.com/Zimbra/zm-mailbox/blob/develop/store/docs/soap.txt)
@@ -3116,7 +3182,7 @@ type Query {
3116
3182
  downloadMessage(id: ID!, isSecure: Boolean, isLocal: Boolean): SMimeMessage
3117
3183
  downloadAttachment(id: ID!, part: ID!): Attachment
3118
3184
  downloadDocument(id: ID!, url: String!): Attachment
3119
- discoverRights: DiscoverRights
3185
+ discoverRights(right: [DiscoverRightInput!]!): DiscoverRights
3120
3186
  freeBusy(names: [String!]!, start: Float, end: Float): [FreeBusy]
3121
3187
  getContact(
3122
3188
  id: ID
@@ -3203,6 +3269,7 @@ type Query {
3203
3269
  contactAddr: String!
3204
3270
  store: String!
3205
3271
  ): SMimePublicCertsResponse
3272
+ getSMimeCertInfo(certId: String): SmimeCertInfoResponse
3206
3273
  getScratchCodes(username: String!): ScratchCodes
3207
3274
  getSearchFolder: Folder
3208
3275
  getTrustedDevices: GetTrustedDevicesResponse
@@ -3441,7 +3508,10 @@ type Mutation {
3441
3508
  sendMessage(
3442
3509
  message: SendMessageInput!
3443
3510
  accountName: String
3511
+ sign: Boolean
3512
+ encrypt: Boolean
3444
3513
  ): SendMessageResponse
3514
+ saveSMimeCert(upload: SaveSMimeCertInputUpload!, password: String): SmimeCertInfoResponse
3445
3515
  sendDeliveryReport(messageId: ID!): Boolean
3446
3516
  sendInviteReply(inviteReply: InviteReplyInput!): InviteReplyResponse
3447
3517
  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>;
@@ -72,6 +72,7 @@ export declare class ZimbraBatchClient {
72
72
  downloadMessage: ({ id, isSecure }: any) => Promise<{
73
73
  id: any;
74
74
  content: any;
75
+ isSecure: any;
75
76
  }>;
76
77
  enableTwoFactorAuth: ({ name, password, authToken, twoFactorCode, csrfTokenSecured }: EnableTwoFactorAuthInput) => Promise<any>;
77
78
  folderAction: (options: ActionOptions) => Promise<boolean>;
@@ -112,6 +113,7 @@ export declare class ZimbraBatchClient {
112
113
  folders?: undefined;
113
114
  }>;
114
115
  getSignatures: () => Promise<{}>;
116
+ getSMimeCertInfo: () => Promise<any>;
115
117
  getSMimePublicCerts: (options: GetSMimePublicCertsOptions) => Promise<any>;
116
118
  getTag: () => Promise<any>;
117
119
  getTasks: (options: SearchOptions) => Promise<any>;
@@ -156,12 +158,13 @@ export declare class ZimbraBatchClient {
156
158
  saveDraft: (message: SendMessageInput, accountName: string) => Promise<{
157
159
  message: any;
158
160
  }>;
161
+ saveSMimeCert: (upload: SaveSMimeCertInputUpload, password: string) => Promise<any>;
159
162
  search: (options: SearchOptions) => Promise<any>;
160
163
  searchCalendarResources: (options: SearchCalendarResourcesOptions) => Promise<any>;
161
164
  searchGal: (options: SearchOptions) => Promise<any>;
162
165
  sendDeliveryReport: (messageId: string) => Promise<boolean>;
163
166
  sendInviteReply: (requestOptions: InviteReplyInput) => Promise<any>;
164
- sendMessage: (message: SendMessageInput, accountName: string) => Promise<any>;
167
+ sendMessage: (message: SendMessageInput, accountName: string, sign: Boolean, encrypt: Boolean) => Promise<any>;
165
168
  sendShareNotification: (body: ShareNotificationInput) => Promise<boolean>;
166
169
  setCsrfToken: (csrfToken: string) => void;
167
170
  setCustomMetadata: (variables: any) => Promise<boolean>;
@@ -306,3 +306,9 @@ export interface NoOpOptions {
306
306
  limitToOneBlocked: number;
307
307
  wait: number;
308
308
  }
309
+ export interface DiscoverRightInput {
310
+ _content: string;
311
+ }
312
+ export interface DiscoverRightOptions {
313
+ right: Array<DiscoverRightInput>;
314
+ }
@@ -1,4 +1,5 @@
1
1
  import { Entity } from '.';
2
+ export declare const SmimeCertInfoResponse: Entity;
2
3
  export declare const SendMessageInfo: Entity;
3
4
  export declare const MessageInfo: Entity;
4
5
  export declare const AppointmentInfo: Entity;
@@ -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']>;
@@ -797,8 +798,6 @@ export declare type ContactAttributes = {
797
798
  otherURL?: Maybe<Scalars['String']>;
798
799
  pager?: Maybe<Scalars['String']>;
799
800
  pager2?: Maybe<Scalars['String']>;
800
- phone?: Maybe<Scalars['String']>;
801
- phone2?: Maybe<Scalars['String']>;
802
801
  phoneticFirstName?: Maybe<Scalars['String']>;
803
802
  phoneticLastName?: Maybe<Scalars['String']>;
804
803
  thumbnailPhoto?: Maybe<Scalars['String']>;
@@ -875,8 +874,6 @@ export declare type ContactAttrsInput = {
875
874
  otherURL?: Maybe<Scalars['String']>;
876
875
  pager?: Maybe<Scalars['String']>;
877
876
  pager2?: Maybe<Scalars['String']>;
878
- phone?: Maybe<Scalars['String']>;
879
- phone2?: Maybe<Scalars['String']>;
880
877
  phoneticFirstName?: Maybe<Scalars['String']>;
881
878
  phoneticLastName?: Maybe<Scalars['String']>;
882
879
  type?: Maybe<Scalars['String']>;
@@ -1111,6 +1108,9 @@ export declare type Device = {
1111
1108
  type?: Maybe<Scalars['String']>;
1112
1109
  ua?: Maybe<Scalars['String']>;
1113
1110
  };
1111
+ export declare type DiscoverRightInput = {
1112
+ _content?: Maybe<Scalars['String']>;
1113
+ };
1114
1114
  export declare type DiscoverRights = {
1115
1115
  __typename?: 'DiscoverRights';
1116
1116
  targets?: Maybe<Array<Maybe<Targets>>>;
@@ -1994,9 +1994,11 @@ export declare type MessageInfo = MailItem & {
1994
1994
  autoSendTime?: Maybe<Scalars['Float']>;
1995
1995
  bcc?: Maybe<Array<Maybe<EmailAddress>>>;
1996
1996
  cc?: Maybe<Array<Maybe<EmailAddress>>>;
1997
+ certificate?: Maybe<Array<Maybe<SmimeCert>>>;
1997
1998
  changeDate?: Maybe<Scalars['Float']>;
1998
1999
  conversationId?: Maybe<Scalars['ID']>;
1999
2000
  date?: Maybe<Scalars['Float']>;
2001
+ decryptionErrorCode?: Maybe<Scalars['String']>;
2000
2002
  emailAddresses?: Maybe<Array<Maybe<EmailAddress>>>;
2001
2003
  excerpt?: Maybe<Scalars['String']>;
2002
2004
  flags?: Maybe<Scalars['String']>;
@@ -2006,6 +2008,8 @@ export declare type MessageInfo = MailItem & {
2006
2008
  id?: Maybe<Scalars['ID']>;
2007
2009
  inlineAttachments?: Maybe<Array<Maybe<MimePart>>>;
2008
2010
  invitations?: Maybe<Array<Maybe<InviteInfo>>>;
2011
+ isEncrypted?: Maybe<Scalars['Boolean']>;
2012
+ isSigned?: Maybe<Scalars['Boolean']>;
2009
2013
  local?: Maybe<Scalars['Boolean']>;
2010
2014
  mimeParts?: Maybe<Array<Maybe<MimePart>>>;
2011
2015
  modifiedSequence?: Maybe<Scalars['Float']>;
@@ -2056,6 +2060,7 @@ export declare type MimePart = {
2056
2060
  mimeParts?: Maybe<Array<Maybe<MimePart>>>;
2057
2061
  part?: Maybe<Scalars['ID']>;
2058
2062
  size?: Maybe<Scalars['Float']>;
2063
+ truncated?: Maybe<Scalars['Boolean']>;
2059
2064
  url?: Maybe<Scalars['String']>;
2060
2065
  };
2061
2066
  export declare type MimePartInput = {
@@ -2071,6 +2076,7 @@ export declare type MimePartInput = {
2071
2076
  mimeParts?: Maybe<Array<Maybe<MimePartInput>>>;
2072
2077
  part?: Maybe<Scalars['ID']>;
2073
2078
  size?: Maybe<Scalars['Float']>;
2079
+ truncated?: Maybe<Scalars['Boolean']>;
2074
2080
  url?: Maybe<Scalars['String']>;
2075
2081
  };
2076
2082
  export declare enum Mode {
@@ -2210,6 +2216,7 @@ export declare type Mutation = {
2210
2216
  revokeTrustedDevice?: Maybe<Scalars['Boolean']>;
2211
2217
  saveDocument?: Maybe<SaveDocumentResponse>;
2212
2218
  saveDraft?: Maybe<SaveDraftResponse>;
2219
+ saveSMimeCert?: Maybe<SmimeCertInfoResponse>;
2213
2220
  sendDeliveryReport?: Maybe<Scalars['Boolean']>;
2214
2221
  sendInviteReply?: Maybe<InviteReplyResponse>;
2215
2222
  sendMessage?: Maybe<SendMessageResponse>;
@@ -2516,6 +2523,10 @@ export declare type MutationSaveDraftArgs = {
2516
2523
  accountName?: Maybe<Scalars['String']>;
2517
2524
  message: SendMessageInput;
2518
2525
  };
2526
+ export declare type MutationSaveSMimeCertArgs = {
2527
+ password?: Maybe<Scalars['String']>;
2528
+ upload: SaveSMimeCertInputUpload;
2529
+ };
2519
2530
  export declare type MutationSendDeliveryReportArgs = {
2520
2531
  messageId: Scalars['ID'];
2521
2532
  };
@@ -2524,7 +2535,9 @@ export declare type MutationSendInviteReplyArgs = {
2524
2535
  };
2525
2536
  export declare type MutationSendMessageArgs = {
2526
2537
  accountName?: Maybe<Scalars['String']>;
2538
+ encrypt?: Maybe<Scalars['Boolean']>;
2527
2539
  message: SendMessageInput;
2540
+ sign?: Maybe<Scalars['Boolean']>;
2528
2541
  };
2529
2542
  export declare type MutationSendShareNotificationArgs = {
2530
2543
  shareNotification: ShareNotificationInput;
@@ -2622,6 +2635,7 @@ export declare type Owner = {
2622
2635
  by?: Maybe<Scalars['String']>;
2623
2636
  };
2624
2637
  export declare enum ParticipationRole {
2638
+ Cha = "CHA",
2625
2639
  Non = "NON",
2626
2640
  Opt = "OPT",
2627
2641
  Req = "REQ"
@@ -2842,6 +2856,7 @@ export declare type Query = {
2842
2856
  getPreferences?: Maybe<Preferences>;
2843
2857
  getReminders?: Maybe<RemindersResponse>;
2844
2858
  getRights?: Maybe<RightsResponse>;
2859
+ getSMimeCertInfo?: Maybe<SmimeCertInfoResponse>;
2845
2860
  getSMimePublicCerts?: Maybe<SMimePublicCertsResponse>;
2846
2861
  getScratchCodes?: Maybe<ScratchCodes>;
2847
2862
  getSearchFolder?: Maybe<Folder>;
@@ -2877,6 +2892,9 @@ export declare type QueryClientInfoArgs = {
2877
2892
  by?: Maybe<Scalars['String']>;
2878
2893
  domain?: Maybe<Scalars['String']>;
2879
2894
  };
2895
+ export declare type QueryDiscoverRightsArgs = {
2896
+ right: Array<DiscoverRightInput>;
2897
+ };
2880
2898
  export declare type QueryDownloadAttachmentArgs = {
2881
2899
  id: Scalars['ID'];
2882
2900
  part: Scalars['ID'];
@@ -2981,6 +2999,9 @@ export declare type QueryGetRemindersArgs = {
2981
2999
  export declare type QueryGetRightsArgs = {
2982
3000
  input: GetRightsInput;
2983
3001
  };
3002
+ export declare type QueryGetSMimeCertInfoArgs = {
3003
+ certId?: Maybe<Scalars['String']>;
3004
+ };
2984
3005
  export declare type QueryGetSMimePublicCertsArgs = {
2985
3006
  contactAddr: Scalars['String'];
2986
3007
  store: Scalars['String'];
@@ -3174,6 +3195,7 @@ export declare type SMimeMessage = {
3174
3195
  __typename?: 'SMimeMessage';
3175
3196
  content?: Maybe<Scalars['String']>;
3176
3197
  id?: Maybe<Scalars['ID']>;
3198
+ isSecure?: Maybe<Scalars['Boolean']>;
3177
3199
  };
3178
3200
  export declare type SMimePublicCert = {
3179
3201
  __typename?: 'SMimePublicCert';
@@ -3229,6 +3251,9 @@ export declare type SaveMessageDataInput = {
3229
3251
  id: Scalars['ID'];
3230
3252
  meta: Scalars['String'];
3231
3253
  };
3254
+ export declare type SaveSMimeCertInputUpload = {
3255
+ id?: Maybe<Scalars['String']>;
3256
+ };
3232
3257
  export declare type ScratchCode = {
3233
3258
  __typename?: 'ScratchCode';
3234
3259
  scratchCode?: Maybe<Array<Maybe<ScratchCodeType>>>;
@@ -3417,6 +3442,59 @@ export declare type Skin = {
3417
3442
  __typename?: 'Skin';
3418
3443
  _content?: Maybe<Scalars['String']>;
3419
3444
  };
3445
+ export declare type SmimeCert = {
3446
+ __typename?: 'SmimeCert';
3447
+ default?: Maybe<Scalars['Boolean']>;
3448
+ emailAddress?: Maybe<Scalars['String']>;
3449
+ errorCode?: Maybe<Scalars['String']>;
3450
+ issuedBy?: Maybe<SmimeCertIssuedBy>;
3451
+ issuedTo?: Maybe<SmimeCertIssuedTo>;
3452
+ privateKeyId?: Maybe<Scalars['String']>;
3453
+ publicCertificateId?: Maybe<Scalars['String']>;
3454
+ signature?: Maybe<SmimeCertSignature>;
3455
+ subjectAltName?: Maybe<SmimeCertSubjectAltName>;
3456
+ validity?: Maybe<SmimeCertValidity>;
3457
+ };
3458
+ export declare type SmimeCertInfoResponse = {
3459
+ __typename?: 'SmimeCertInfoResponse';
3460
+ certificates?: Maybe<Array<Maybe<SmimeCert>>>;
3461
+ };
3462
+ export declare type SmimeCertIssuedBy = {
3463
+ __typename?: 'SmimeCertIssuedBy';
3464
+ commonName?: Maybe<Scalars['String']>;
3465
+ country?: Maybe<Scalars['String']>;
3466
+ emailAddress?: Maybe<Scalars['String']>;
3467
+ locality?: Maybe<Scalars['String']>;
3468
+ organizationName?: Maybe<Scalars['String']>;
3469
+ state?: Maybe<Scalars['String']>;
3470
+ };
3471
+ export declare type SmimeCertIssuedTo = {
3472
+ __typename?: 'SmimeCertIssuedTo';
3473
+ commonName?: Maybe<Scalars['String']>;
3474
+ country?: Maybe<Scalars['String']>;
3475
+ emailAddress?: Maybe<Scalars['String']>;
3476
+ organizationName?: Maybe<Scalars['String']>;
3477
+ organizationUnit?: Maybe<Scalars['String']>;
3478
+ state?: Maybe<Scalars['String']>;
3479
+ };
3480
+ export declare type SmimeCertSignature = {
3481
+ __typename?: 'SmimeCertSignature';
3482
+ algorithm?: Maybe<Scalars['String']>;
3483
+ serialNo?: Maybe<Scalars['String']>;
3484
+ };
3485
+ export declare type SmimeCertSubjectAltName = {
3486
+ __typename?: 'SmimeCertSubjectAltName';
3487
+ rfc822Name?: Maybe<Array<Maybe<SmimeCertSubjectRfc822Name>>>;
3488
+ };
3489
+ export declare type SmimeCertSubjectRfc822Name = {
3490
+ __typename?: 'SmimeCertSubjectRfc822Name';
3491
+ content?: Maybe<Scalars['String']>;
3492
+ };
3493
+ export declare type SmimeCertValidity = {
3494
+ __typename?: 'SmimeCertValidity';
3495
+ endDate?: Maybe<Scalars['Float']>;
3496
+ startDate?: Maybe<Scalars['Float']>;
3497
+ };
3420
3498
  export declare type SnoozeInput = {
3421
3499
  id: Scalars['ID'];
3422
3500
  until: Scalars['Float'];
@@ -1,4 +1,4 @@
1
- export declare function createContactBody(data: any): {
1
+ export declare function createContactBody(data: any, isDesktop: Boolean): {
2
2
  cn: any;
3
3
  };
4
4
  export declare function normalizeOtherAttr(data: any): any;