@zimbra/api-client 66.0.0 → 70.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.
@@ -463,6 +463,7 @@ interface MailItem {
463
463
  id: ID
464
464
  size: Float # s
465
465
  date: Float # d
466
+ senderDate: Float #sd
466
467
  folderId: ID # l
467
468
  subject: String # su
468
469
  emailAddresses: [EmailAddress]
@@ -490,10 +491,13 @@ type ClientInfoType {
490
491
  attributes: ClientInfoAttributes
491
492
  }
492
493
 
494
+ # whenever change/remove key then update the object accordingly in zm-x-web/src/notifications/messages.js on emptyMessage object.
495
+ # otherwise notification will be failed.
493
496
  type MessageInfo implements MailItem {
494
497
  id: ID
495
498
  size: Float # s
496
499
  date: Float # d
500
+ senderDate: Float # sd
497
501
  folderId: ID # l
498
502
  origId: ID #origid
499
503
  subject: String # su
@@ -514,6 +518,7 @@ type MessageInfo implements MailItem {
514
518
  cc: [EmailAddress]
515
519
  bcc: [EmailAddress]
516
520
  sender: [EmailAddress]
521
+ replyTo: [EmailAddress]
517
522
  html: String
518
523
  text: String
519
524
  attachments: [MimePart]
@@ -523,12 +528,14 @@ type MessageInfo implements MailItem {
523
528
  attributes: MessageAttributes
524
529
  autoSendTime: Float
525
530
  local: Boolean
531
+ part: String
526
532
  }
527
533
 
528
534
  type Conversation implements MailItem {
529
535
  id: ID
530
536
  size: Float # s
531
537
  date: Float # d
538
+ senderDate: Float # sd
532
539
  folderId: ID # l
533
540
  subject: String # su
534
541
  excerpt: String # fr
@@ -560,6 +567,7 @@ type MsgWithGroupInfo implements MailItem {
560
567
  autoSendTime: Float
561
568
  size: Float # s
562
569
  date: Float # d
570
+ senderDate: Float # sd
563
571
  folderId: ID # l
564
572
  subject: String # su
565
573
  emailAddresses: [EmailAddress]
@@ -1295,6 +1303,7 @@ type AccountInfoAttrs {
1295
1303
  zimbraFeatureBriefcasesEnabled: Boolean
1296
1304
  zimbraFeatureMobileSyncEnabled: Boolean
1297
1305
  zimbraFeatureRelatedContactsEnabled: Boolean
1306
+ zimbraFeatureMailForwardingInFiltersEnabled: Boolean
1298
1307
  zimbraPasswordBlockCommonEnabled: Boolean
1299
1308
  zimbraPasswordMinAlphaChars: Int
1300
1309
  zimbraPasswordMinNumericChars: Int
@@ -3274,6 +3283,7 @@ type Mutation {
3274
3283
  name: String
3275
3284
  isLocal: Boolean
3276
3285
  recursive: Boolean
3286
+ destFolderLocal: Boolean
3277
3287
  ): Boolean
3278
3288
  applyFilterRules(ids: String!, filterRules: [FilterRuleInput]): [String]
3279
3289
  testExternalAccount(
@@ -14,13 +14,13 @@ export declare class OfflineQueueLink extends ApolloLink {
14
14
  handleCancelAndOfflineQueue: (entry: OperationEntry) => void;
15
15
  open: ({ apolloClient }?: {
16
16
  apolloClient?: any;
17
- }) => Promise<unknown> | undefined;
17
+ }) => Promise<void> | undefined;
18
18
  persist: () => Promise<any>;
19
19
  purge: () => Promise<any>;
20
20
  request(operation: Operation, forward: NextLink): Observable<FetchResult<{
21
21
  [key: string]: any;
22
22
  }, Record<string, any>, Record<string, any>>>;
23
- retry: () => Promise<unknown>;
23
+ retry: () => Promise<void>;
24
24
  sync: ({ apolloClient }: {
25
25
  apolloClient?: any;
26
26
  }) => Promise<void | undefined> | undefined;
@@ -98,7 +98,7 @@ export declare class ZimbraBatchClient {
98
98
  getIdentities: () => Promise<{}>;
99
99
  getImportStatus: () => Promise<any>;
100
100
  getMailboxMetadata: ({ section }: GetMailboxMetadataOptions) => Promise<{}>;
101
- getMessage: ({ id, html, raw, header, read, max, ridZ }: GetMessageOptions) => Promise<{
101
+ getMessage: ({ id, html, raw, header, read, max, ridZ, part }: GetMessageOptions) => Promise<{
102
102
  [key: string]: any;
103
103
  } | null>;
104
104
  getMessagesMetadata: ({ ids }: GetMessageOptions) => Promise<any>;
@@ -35,7 +35,7 @@ export interface RequestOptions {
35
35
  export interface JsonRequestOptions extends BaseRequestOptions, RequestOptions {
36
36
  }
37
37
  export interface BatchRequestOptions extends BaseRequestOptions {
38
- requests: Array<RequestOptions>;
38
+ requests: ReadonlyArray<RequestOptions>;
39
39
  }
40
40
  export interface RequestResponse {
41
41
  body?: any;