@zimbra/api-client 70.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.
@@ -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 {
@@ -1975,6 +1981,7 @@ type MimePart {
1975
1981
  url: String
1976
1982
  messageId: ID
1977
1983
  base64: String
1984
+ truncated: Boolean
1978
1985
  }
1979
1986
 
1980
1987
  type ActionData {
@@ -2001,7 +2008,8 @@ input MimePartInput {
2001
2008
  url: String
2002
2009
  messageId: ID
2003
2010
  attachments: [AttachmentInput]
2004
- base64: String
2011
+ base64: String,
2012
+ truncated: Boolean
2005
2013
  }
2006
2014
 
2007
2015
  input ExistingAttachmentInput {
@@ -2013,9 +2021,14 @@ input DocumentInput {
2013
2021
  id: ID
2014
2022
  }
2015
2023
 
2024
+ input EMLInput {
2025
+ id: ID
2026
+ }
2027
+
2016
2028
  input AttachmentInput {
2017
2029
  attachmentId: String
2018
2030
  documents: [DocumentInput]
2031
+ messages: [EMLInput]
2019
2032
  existingAttachments: [ExistingAttachmentInput]
2020
2033
  }
2021
2034
 
@@ -2106,6 +2119,10 @@ input SendMessageInput {
2106
2119
  inlineAttachments: [MimePartInput] #attach
2107
2120
  }
2108
2121
 
2122
+ input SaveSMimeCertInputUpload {
2123
+ id: String
2124
+ }
2125
+
2109
2126
  input CalendarItemInviteInput {
2110
2127
  components: [CalendarItemInviteComponentInput]!
2111
2128
  }
@@ -2982,9 +2999,63 @@ type SMimePublicCertsResponse {
2982
2999
  certs: [SMimePublicCerts]
2983
3000
  }
2984
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
+
2985
3055
  type SMimeMessage {
2986
3056
  id: ID
2987
3057
  content: String
3058
+ isSecure: Boolean
2988
3059
  }
2989
3060
 
2990
3061
  type Attachment {
@@ -3088,6 +3159,10 @@ input SearchConditionsInput {
3088
3159
  conds: ConditionsInput
3089
3160
  }
3090
3161
 
3162
+ input DiscoverRightInput {
3163
+ _content: String
3164
+ }
3165
+
3091
3166
  # Zimbra GraphQL Queries
3092
3167
  # - [[SOAP API Reference]](https://files.zimbra.com/docs/soap_api/8.7.11/api-reference/index.html)
3093
3168
  # - [[SOAP Documentation]](https://github.com/Zimbra/zm-mailbox/blob/develop/store/docs/soap.txt)
@@ -3111,7 +3186,7 @@ type Query {
3111
3186
  downloadMessage(id: ID!, isSecure: Boolean, isLocal: Boolean): SMimeMessage
3112
3187
  downloadAttachment(id: ID!, part: ID!): Attachment
3113
3188
  downloadDocument(id: ID!, url: String!): Attachment
3114
- discoverRights: DiscoverRights
3189
+ discoverRights(right: [DiscoverRightInput!]!): DiscoverRights
3115
3190
  freeBusy(names: [String!]!, start: Float, end: Float): [FreeBusy]
3116
3191
  getContact(
3117
3192
  id: ID
@@ -3198,6 +3273,7 @@ type Query {
3198
3273
  contactAddr: String!
3199
3274
  store: String!
3200
3275
  ): SMimePublicCertsResponse
3276
+ getSMimeCertInfo(certId: String): SmimeCertInfoResponse
3201
3277
  getScratchCodes(username: String!): ScratchCodes
3202
3278
  getSearchFolder: Folder
3203
3279
  getTrustedDevices: GetTrustedDevicesResponse
@@ -3436,7 +3512,10 @@ type Mutation {
3436
3512
  sendMessage(
3437
3513
  message: SendMessageInput!
3438
3514
  accountName: String
3515
+ sign: Boolean
3516
+ encrypt: Boolean
3439
3517
  ): SendMessageResponse
3518
+ saveSMimeCert(upload: SaveSMimeCertInputUpload!, password: String): SmimeCertInfoResponse
3440
3519
  sendDeliveryReport(messageId: ID!): Boolean
3441
3520
  sendInviteReply(inviteReply: InviteReplyInput!): InviteReplyResponse
3442
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>;
@@ -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;
@@ -306,6 +306,7 @@ export declare type AttachmentInput = {
306
306
  attachmentId?: Maybe<Scalars['String']>;
307
307
  documents?: Maybe<Array<Maybe<DocumentInput>>>;
308
308
  existingAttachments?: Maybe<Array<Maybe<ExistingAttachmentInput>>>;
309
+ messages?: Maybe<Array<Maybe<EmlInput>>>;
309
310
  };
310
311
  export declare type AuthResponse = {
311
312
  __typename?: 'AuthResponse';
@@ -728,6 +729,7 @@ export declare enum ConnectionType {
728
729
  export declare type Contact = {
729
730
  __typename?: 'Contact';
730
731
  attributes?: Maybe<ContactAttributes>;
732
+ certificate?: Maybe<Array<Maybe<SmimeCert>>>;
731
733
  date?: Maybe<Scalars['Float']>;
732
734
  fileAsStr?: Maybe<Scalars['String']>;
733
735
  folderId?: Maybe<Scalars['ID']>;
@@ -1110,6 +1112,9 @@ export declare type Device = {
1110
1112
  type?: Maybe<Scalars['String']>;
1111
1113
  ua?: Maybe<Scalars['String']>;
1112
1114
  };
1115
+ export declare type DiscoverRightInput = {
1116
+ _content?: Maybe<Scalars['String']>;
1117
+ };
1113
1118
  export declare type DiscoverRights = {
1114
1119
  __typename?: 'DiscoverRights';
1115
1120
  targets?: Maybe<Array<Maybe<Targets>>>;
@@ -1168,6 +1173,9 @@ export declare type DtTimeInfo = {
1168
1173
  timezone?: Maybe<Scalars['String']>;
1169
1174
  utc?: Maybe<Scalars['Float']>;
1170
1175
  };
1176
+ export declare type EmlInput = {
1177
+ id?: Maybe<Scalars['ID']>;
1178
+ };
1171
1179
  export declare type EmailAddress = {
1172
1180
  __typename?: 'EmailAddress';
1173
1181
  address?: Maybe<Scalars['String']>;
@@ -1990,9 +1998,11 @@ export declare type MessageInfo = MailItem & {
1990
1998
  autoSendTime?: Maybe<Scalars['Float']>;
1991
1999
  bcc?: Maybe<Array<Maybe<EmailAddress>>>;
1992
2000
  cc?: Maybe<Array<Maybe<EmailAddress>>>;
2001
+ certificate?: Maybe<Array<Maybe<SmimeCert>>>;
1993
2002
  changeDate?: Maybe<Scalars['Float']>;
1994
2003
  conversationId?: Maybe<Scalars['ID']>;
1995
2004
  date?: Maybe<Scalars['Float']>;
2005
+ decryptionErrorCode?: Maybe<Scalars['String']>;
1996
2006
  emailAddresses?: Maybe<Array<Maybe<EmailAddress>>>;
1997
2007
  excerpt?: Maybe<Scalars['String']>;
1998
2008
  flags?: Maybe<Scalars['String']>;
@@ -2002,6 +2012,8 @@ export declare type MessageInfo = MailItem & {
2002
2012
  id?: Maybe<Scalars['ID']>;
2003
2013
  inlineAttachments?: Maybe<Array<Maybe<MimePart>>>;
2004
2014
  invitations?: Maybe<Array<Maybe<InviteInfo>>>;
2015
+ isEncrypted?: Maybe<Scalars['Boolean']>;
2016
+ isSigned?: Maybe<Scalars['Boolean']>;
2005
2017
  local?: Maybe<Scalars['Boolean']>;
2006
2018
  mimeParts?: Maybe<Array<Maybe<MimePart>>>;
2007
2019
  modifiedSequence?: Maybe<Scalars['Float']>;
@@ -2052,6 +2064,7 @@ export declare type MimePart = {
2052
2064
  mimeParts?: Maybe<Array<Maybe<MimePart>>>;
2053
2065
  part?: Maybe<Scalars['ID']>;
2054
2066
  size?: Maybe<Scalars['Float']>;
2067
+ truncated?: Maybe<Scalars['Boolean']>;
2055
2068
  url?: Maybe<Scalars['String']>;
2056
2069
  };
2057
2070
  export declare type MimePartInput = {
@@ -2067,6 +2080,7 @@ export declare type MimePartInput = {
2067
2080
  mimeParts?: Maybe<Array<Maybe<MimePartInput>>>;
2068
2081
  part?: Maybe<Scalars['ID']>;
2069
2082
  size?: Maybe<Scalars['Float']>;
2083
+ truncated?: Maybe<Scalars['Boolean']>;
2070
2084
  url?: Maybe<Scalars['String']>;
2071
2085
  };
2072
2086
  export declare enum Mode {
@@ -2206,6 +2220,7 @@ export declare type Mutation = {
2206
2220
  revokeTrustedDevice?: Maybe<Scalars['Boolean']>;
2207
2221
  saveDocument?: Maybe<SaveDocumentResponse>;
2208
2222
  saveDraft?: Maybe<SaveDraftResponse>;
2223
+ saveSMimeCert?: Maybe<SmimeCertInfoResponse>;
2209
2224
  sendDeliveryReport?: Maybe<Scalars['Boolean']>;
2210
2225
  sendInviteReply?: Maybe<InviteReplyResponse>;
2211
2226
  sendMessage?: Maybe<SendMessageResponse>;
@@ -2512,6 +2527,10 @@ export declare type MutationSaveDraftArgs = {
2512
2527
  accountName?: Maybe<Scalars['String']>;
2513
2528
  message: SendMessageInput;
2514
2529
  };
2530
+ export declare type MutationSaveSMimeCertArgs = {
2531
+ password?: Maybe<Scalars['String']>;
2532
+ upload: SaveSMimeCertInputUpload;
2533
+ };
2515
2534
  export declare type MutationSendDeliveryReportArgs = {
2516
2535
  messageId: Scalars['ID'];
2517
2536
  };
@@ -2520,7 +2539,9 @@ export declare type MutationSendInviteReplyArgs = {
2520
2539
  };
2521
2540
  export declare type MutationSendMessageArgs = {
2522
2541
  accountName?: Maybe<Scalars['String']>;
2542
+ encrypt?: Maybe<Scalars['Boolean']>;
2523
2543
  message: SendMessageInput;
2544
+ sign?: Maybe<Scalars['Boolean']>;
2524
2545
  };
2525
2546
  export declare type MutationSendShareNotificationArgs = {
2526
2547
  shareNotification: ShareNotificationInput;
@@ -2618,6 +2639,7 @@ export declare type Owner = {
2618
2639
  by?: Maybe<Scalars['String']>;
2619
2640
  };
2620
2641
  export declare enum ParticipationRole {
2642
+ Cha = "CHA",
2621
2643
  Non = "NON",
2622
2644
  Opt = "OPT",
2623
2645
  Req = "REQ"
@@ -2838,6 +2860,7 @@ export declare type Query = {
2838
2860
  getPreferences?: Maybe<Preferences>;
2839
2861
  getReminders?: Maybe<RemindersResponse>;
2840
2862
  getRights?: Maybe<RightsResponse>;
2863
+ getSMimeCertInfo?: Maybe<SmimeCertInfoResponse>;
2841
2864
  getSMimePublicCerts?: Maybe<SMimePublicCertsResponse>;
2842
2865
  getScratchCodes?: Maybe<ScratchCodes>;
2843
2866
  getSearchFolder?: Maybe<Folder>;
@@ -2873,6 +2896,9 @@ export declare type QueryClientInfoArgs = {
2873
2896
  by?: Maybe<Scalars['String']>;
2874
2897
  domain?: Maybe<Scalars['String']>;
2875
2898
  };
2899
+ export declare type QueryDiscoverRightsArgs = {
2900
+ right: Array<DiscoverRightInput>;
2901
+ };
2876
2902
  export declare type QueryDownloadAttachmentArgs = {
2877
2903
  id: Scalars['ID'];
2878
2904
  part: Scalars['ID'];
@@ -2977,6 +3003,9 @@ export declare type QueryGetRemindersArgs = {
2977
3003
  export declare type QueryGetRightsArgs = {
2978
3004
  input: GetRightsInput;
2979
3005
  };
3006
+ export declare type QueryGetSMimeCertInfoArgs = {
3007
+ certId?: Maybe<Scalars['String']>;
3008
+ };
2980
3009
  export declare type QueryGetSMimePublicCertsArgs = {
2981
3010
  contactAddr: Scalars['String'];
2982
3011
  store: Scalars['String'];
@@ -3170,6 +3199,7 @@ export declare type SMimeMessage = {
3170
3199
  __typename?: 'SMimeMessage';
3171
3200
  content?: Maybe<Scalars['String']>;
3172
3201
  id?: Maybe<Scalars['ID']>;
3202
+ isSecure?: Maybe<Scalars['Boolean']>;
3173
3203
  };
3174
3204
  export declare type SMimePublicCert = {
3175
3205
  __typename?: 'SMimePublicCert';
@@ -3225,6 +3255,9 @@ export declare type SaveMessageDataInput = {
3225
3255
  id: Scalars['ID'];
3226
3256
  meta: Scalars['String'];
3227
3257
  };
3258
+ export declare type SaveSMimeCertInputUpload = {
3259
+ id?: Maybe<Scalars['String']>;
3260
+ };
3228
3261
  export declare type ScratchCode = {
3229
3262
  __typename?: 'ScratchCode';
3230
3263
  scratchCode?: Maybe<Array<Maybe<ScratchCodeType>>>;
@@ -3413,6 +3446,59 @@ export declare type Skin = {
3413
3446
  __typename?: 'Skin';
3414
3447
  _content?: Maybe<Scalars['String']>;
3415
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
+ };
3416
3502
  export declare type SnoozeInput = {
3417
3503
  id: Scalars['ID'];
3418
3504
  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;