@zimbra/api-client 69.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.
- package/dist/schema.graphql +7 -0
- package/dist/src/batch-client/index.d.ts +1 -1
- package/dist/src/schema/generated-schema-types.d.ts +7 -0
- package/dist/zm-api-js-client.esm.js +37 -7
- 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/apollo/zimbra-in-memory-cache.ts +5 -0
- package/src/batch-client/index.ts +17 -2
- package/src/normalize/entities.ts +3 -1
- package/src/schema/generated-schema-types.ts +7 -0
- package/src/schema/schema.graphql +7 -0
- package/src/utils/normalize-email-addresses.ts +2 -1
- package/src/utils/normalize-mime-parts.ts +3 -3
package/dist/schema.graphql
CHANGED
|
@@ -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]
|
|
@@ -496,6 +497,7 @@ type MessageInfo implements MailItem {
|
|
|
496
497
|
id: ID
|
|
497
498
|
size: Float # s
|
|
498
499
|
date: Float # d
|
|
500
|
+
senderDate: Float # sd
|
|
499
501
|
folderId: ID # l
|
|
500
502
|
origId: ID #origid
|
|
501
503
|
subject: String # su
|
|
@@ -516,6 +518,7 @@ type MessageInfo implements MailItem {
|
|
|
516
518
|
cc: [EmailAddress]
|
|
517
519
|
bcc: [EmailAddress]
|
|
518
520
|
sender: [EmailAddress]
|
|
521
|
+
replyTo: [EmailAddress]
|
|
519
522
|
html: String
|
|
520
523
|
text: String
|
|
521
524
|
attachments: [MimePart]
|
|
@@ -525,12 +528,14 @@ type MessageInfo implements MailItem {
|
|
|
525
528
|
attributes: MessageAttributes
|
|
526
529
|
autoSendTime: Float
|
|
527
530
|
local: Boolean
|
|
531
|
+
part: String
|
|
528
532
|
}
|
|
529
533
|
|
|
530
534
|
type Conversation implements MailItem {
|
|
531
535
|
id: ID
|
|
532
536
|
size: Float # s
|
|
533
537
|
date: Float # d
|
|
538
|
+
senderDate: Float # sd
|
|
534
539
|
folderId: ID # l
|
|
535
540
|
subject: String # su
|
|
536
541
|
excerpt: String # fr
|
|
@@ -562,6 +567,7 @@ type MsgWithGroupInfo implements MailItem {
|
|
|
562
567
|
autoSendTime: Float
|
|
563
568
|
size: Float # s
|
|
564
569
|
date: Float # d
|
|
570
|
+
senderDate: Float # sd
|
|
565
571
|
folderId: ID # l
|
|
566
572
|
subject: String # su
|
|
567
573
|
emailAddresses: [EmailAddress]
|
|
@@ -1297,6 +1303,7 @@ type AccountInfoAttrs {
|
|
|
1297
1303
|
zimbraFeatureBriefcasesEnabled: Boolean
|
|
1298
1304
|
zimbraFeatureMobileSyncEnabled: Boolean
|
|
1299
1305
|
zimbraFeatureRelatedContactsEnabled: Boolean
|
|
1306
|
+
zimbraFeatureMailForwardingInFiltersEnabled: Boolean
|
|
1300
1307
|
zimbraPasswordBlockCommonEnabled: Boolean
|
|
1301
1308
|
zimbraPasswordMinAlphaChars: Int
|
|
1302
1309
|
zimbraPasswordMinNumericChars: Int
|
|
@@ -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>;
|
|
@@ -95,6 +95,7 @@ export declare type AccountInfoAttrs = {
|
|
|
95
95
|
zimbraFeatureIdentitiesEnabled?: Maybe<Scalars['Boolean']>;
|
|
96
96
|
zimbraFeatureImapDataSourceEnabled?: Maybe<Scalars['Boolean']>;
|
|
97
97
|
zimbraFeatureMailEnabled?: Maybe<Scalars['Boolean']>;
|
|
98
|
+
zimbraFeatureMailForwardingInFiltersEnabled?: Maybe<Scalars['Boolean']>;
|
|
98
99
|
zimbraFeatureMailPriorityEnabled?: Maybe<Scalars['Boolean']>;
|
|
99
100
|
zimbraFeatureMailSendLaterEnabled?: Maybe<Scalars['Boolean']>;
|
|
100
101
|
zimbraFeatureManageZimlets?: Maybe<Scalars['Boolean']>;
|
|
@@ -951,6 +952,7 @@ export declare type Conversation = MailItem & {
|
|
|
951
952
|
numMessages?: Maybe<Scalars['Float']>;
|
|
952
953
|
replyType?: Maybe<Scalars['String']>;
|
|
953
954
|
revision?: Maybe<Scalars['Float']>;
|
|
955
|
+
senderDate?: Maybe<Scalars['Float']>;
|
|
954
956
|
share?: Maybe<Array<Maybe<ShareNotification>>>;
|
|
955
957
|
size?: Maybe<Scalars['Float']>;
|
|
956
958
|
sortField?: Maybe<Scalars['String']>;
|
|
@@ -1900,6 +1902,7 @@ export declare type MailItem = {
|
|
|
1900
1902
|
modifiedSequence?: Maybe<Scalars['Float']>;
|
|
1901
1903
|
replyType?: Maybe<Scalars['String']>;
|
|
1902
1904
|
revision?: Maybe<Scalars['Float']>;
|
|
1905
|
+
senderDate?: Maybe<Scalars['Float']>;
|
|
1903
1906
|
share?: Maybe<Array<Maybe<ShareNotification>>>;
|
|
1904
1907
|
size?: Maybe<Scalars['Float']>;
|
|
1905
1908
|
sortField?: Maybe<Scalars['String']>;
|
|
@@ -2003,9 +2006,12 @@ export declare type MessageInfo = MailItem & {
|
|
|
2003
2006
|
mimeParts?: Maybe<Array<Maybe<MimePart>>>;
|
|
2004
2007
|
modifiedSequence?: Maybe<Scalars['Float']>;
|
|
2005
2008
|
origId?: Maybe<Scalars['ID']>;
|
|
2009
|
+
part?: Maybe<Scalars['String']>;
|
|
2010
|
+
replyTo?: Maybe<Array<Maybe<EmailAddress>>>;
|
|
2006
2011
|
replyType?: Maybe<Scalars['String']>;
|
|
2007
2012
|
revision?: Maybe<Scalars['Float']>;
|
|
2008
2013
|
sender?: Maybe<Array<Maybe<EmailAddress>>>;
|
|
2014
|
+
senderDate?: Maybe<Scalars['Float']>;
|
|
2009
2015
|
share?: Maybe<Array<Maybe<ShareNotification>>>;
|
|
2010
2016
|
size?: Maybe<Scalars['Float']>;
|
|
2011
2017
|
sortField?: Maybe<Scalars['String']>;
|
|
@@ -2110,6 +2116,7 @@ export declare type MsgWithGroupInfo = MailItem & {
|
|
|
2110
2116
|
origid?: Maybe<Scalars['String']>;
|
|
2111
2117
|
replyType?: Maybe<Scalars['String']>;
|
|
2112
2118
|
revision?: Maybe<Scalars['Float']>;
|
|
2119
|
+
senderDate?: Maybe<Scalars['Float']>;
|
|
2113
2120
|
share?: Maybe<Array<Maybe<ShareNotification>>>;
|
|
2114
2121
|
size?: Maybe<Scalars['Float']>;
|
|
2115
2122
|
sortField?: Maybe<Scalars['String']>;
|