@zimbra/api-client 90.0.0 → 91.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 +19 -1
- package/dist/src/apollo/types.d.ts +8 -0
- package/dist/src/schema/generated-schema-types.d.ts +17 -0
- package/dist/src/utils/normalize-attrs-custommetadata.d.ts +1 -0
- package/dist/zm-api-js-client.esm.js +18 -3
- package/dist/zm-api-js-client.esm.js.map +1 -1
- package/dist/zm-api-js-client.js +2 -2
- package/dist/zm-api-js-client.js.map +1 -1
- package/dist/zm-api-js-client.umd.js +2 -2
- package/dist/zm-api-js-client.umd.js.map +1 -1
- package/package-lock.json +4 -4
- package/package.json +1 -1
- package/src/apollo/types.ts +9 -0
- package/src/apollo/zimbra-in-memory-cache.ts +6 -4
- package/src/batch-client/index.ts +4 -0
- package/src/schema/generated-schema-types.ts +19 -0
- package/src/schema/schema.graphql +19 -1
- package/src/utils/normalize-attrs-custommetadata.ts +9 -0
package/dist/schema.graphql
CHANGED
|
@@ -510,6 +510,7 @@ type ClientInfoAttributes {
|
|
|
510
510
|
zimbraWebClientSkipLogoff: Boolean
|
|
511
511
|
zimbraFeatureResetPasswordStatus: ResetPasswordStatus
|
|
512
512
|
zimbraHelpModernURL: String
|
|
513
|
+
zimbraClassicWebClientDisabled: Boolean
|
|
513
514
|
}
|
|
514
515
|
|
|
515
516
|
type ClientInfoType {
|
|
@@ -560,6 +561,7 @@ type MessageInfo implements MailItem {
|
|
|
560
561
|
local: Boolean
|
|
561
562
|
part: String
|
|
562
563
|
meta: [CustomMetadataMeta]
|
|
564
|
+
_attrs: [CustomHeader]
|
|
563
565
|
}
|
|
564
566
|
|
|
565
567
|
type Conversation implements MailItem {
|
|
@@ -588,6 +590,7 @@ type Conversation implements MailItem {
|
|
|
588
590
|
subscribe: [DLSubscribe] # dlSub
|
|
589
591
|
replyType: String #rt
|
|
590
592
|
meta: [CustomMetadataMeta]
|
|
593
|
+
_attrs: [CustomHeader]
|
|
591
594
|
}
|
|
592
595
|
|
|
593
596
|
type MsgWithGroupInfo implements MailItem {
|
|
@@ -604,6 +607,7 @@ type MsgWithGroupInfo implements MailItem {
|
|
|
604
607
|
folderId: ID # l
|
|
605
608
|
subject: String # su
|
|
606
609
|
emailAddresses: [EmailAddress]
|
|
610
|
+
_attrs: [CustomHeader]
|
|
607
611
|
excerpt: String # fr
|
|
608
612
|
conversationId: ID # cid
|
|
609
613
|
flags: String # f
|
|
@@ -1478,6 +1482,7 @@ type AccountInfoAttrs {
|
|
|
1478
1482
|
zimbraFeatureFiltersEnabled: Boolean
|
|
1479
1483
|
zimbraFeatureReadReceiptsEnabled: Boolean
|
|
1480
1484
|
zimbraFeatureSharingEnabled: Boolean
|
|
1485
|
+
zimbraFeatureSharedFolderMobileSyncEnabled: Boolean
|
|
1481
1486
|
zimbraFeatureManageZimlets: Boolean
|
|
1482
1487
|
zimbraFeatureTwoFactorAuthAvailable: Boolean
|
|
1483
1488
|
zimbraFeatureTwoFactorAuthRequired: Boolean
|
|
@@ -1782,6 +1787,11 @@ type SaveDraftResponse {
|
|
|
1782
1787
|
message: [MessageInfo]
|
|
1783
1788
|
}
|
|
1784
1789
|
|
|
1790
|
+
type CustomHeader {
|
|
1791
|
+
key: String
|
|
1792
|
+
value: String
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1785
1795
|
type CustomMetadataAttrs {
|
|
1786
1796
|
key: String
|
|
1787
1797
|
value: String
|
|
@@ -2072,6 +2082,7 @@ type ShareInfo {
|
|
|
2072
2082
|
rights: String
|
|
2073
2083
|
view: FolderView
|
|
2074
2084
|
mid: ID
|
|
2085
|
+
activeSyncDisabled: Boolean
|
|
2075
2086
|
}
|
|
2076
2087
|
|
|
2077
2088
|
type MailboxMetadataAttrs {
|
|
@@ -2305,6 +2316,12 @@ input SendMessageInput {
|
|
|
2305
2316
|
emailAddresses: [MailItemEmailAddressInput] #e
|
|
2306
2317
|
attachments: [AttachmentInput] #attach
|
|
2307
2318
|
inlineAttachments: [MimePartInput] #attach
|
|
2319
|
+
header: [HeaderInput] #header
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2322
|
+
input HeaderInput {
|
|
2323
|
+
name: String #name
|
|
2324
|
+
_content: String #value
|
|
2308
2325
|
}
|
|
2309
2326
|
|
|
2310
2327
|
input SaveSMimeCertInputUpload {
|
|
@@ -3594,7 +3611,8 @@ type Query {
|
|
|
3594
3611
|
sortBy: SortBy
|
|
3595
3612
|
types: SearchType
|
|
3596
3613
|
resultMode: String
|
|
3597
|
-
inDumpster: Boolean
|
|
3614
|
+
inDumpster: Boolean,
|
|
3615
|
+
header: [MailItemHeaderInput]
|
|
3598
3616
|
): SearchResponse
|
|
3599
3617
|
|
|
3600
3618
|
searchCalendarResources(
|
|
@@ -4,3 +4,11 @@ export interface LocalBatchLinkOptions extends BatchLink.Options {
|
|
|
4
4
|
context?: any;
|
|
5
5
|
schema: GraphQLSchema;
|
|
6
6
|
}
|
|
7
|
+
export interface EmailAddress {
|
|
8
|
+
__typename?: 'EmailAddress';
|
|
9
|
+
address?: string;
|
|
10
|
+
displayName?: string;
|
|
11
|
+
isGroup?: boolean | null;
|
|
12
|
+
name?: string;
|
|
13
|
+
type?: string;
|
|
14
|
+
}
|
|
@@ -145,6 +145,7 @@ export type AccountInfoAttrs = {
|
|
|
145
145
|
zimbraFeatureRelatedContactsEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
146
146
|
zimbraFeatureResetPasswordStatus?: Maybe<ResetPasswordStatus>;
|
|
147
147
|
zimbraFeatureRetentionPolicyEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
148
|
+
zimbraFeatureSharedFolderMobileSyncEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
148
149
|
zimbraFeatureSharingEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
149
150
|
zimbraFeatureTaggingEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
150
151
|
zimbraFeatureTasksEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -771,6 +772,7 @@ export type CancelRuleInfo = {
|
|
|
771
772
|
};
|
|
772
773
|
export type ClientInfoAttributes = {
|
|
773
774
|
__typename?: 'ClientInfoAttributes';
|
|
775
|
+
zimbraClassicWebClientDisabled?: Maybe<Scalars['Boolean']['output']>;
|
|
774
776
|
zimbraFeatureResetPasswordStatus?: Maybe<ResetPasswordStatus>;
|
|
775
777
|
zimbraHelpModernURL?: Maybe<Scalars['String']['output']>;
|
|
776
778
|
zimbraWebClientLoginURL?: Maybe<Scalars['String']['output']>;
|
|
@@ -1007,6 +1009,7 @@ export declare enum ContactType {
|
|
|
1007
1009
|
}
|
|
1008
1010
|
export type Conversation = MailItem & {
|
|
1009
1011
|
__typename?: 'Conversation';
|
|
1012
|
+
_attrs?: Maybe<Array<Maybe<CustomHeader>>>;
|
|
1010
1013
|
changeDate?: Maybe<Scalars['Float']['output']>;
|
|
1011
1014
|
conversationId?: Maybe<Scalars['ID']['output']>;
|
|
1012
1015
|
date?: Maybe<Scalars['Float']['output']>;
|
|
@@ -1091,6 +1094,11 @@ export type Cursor = {
|
|
|
1091
1094
|
includeOffset?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1092
1095
|
sortVal?: InputMaybe<Scalars['String']['input']>;
|
|
1093
1096
|
};
|
|
1097
|
+
export type CustomHeader = {
|
|
1098
|
+
__typename?: 'CustomHeader';
|
|
1099
|
+
key?: Maybe<Scalars['String']['output']>;
|
|
1100
|
+
value?: Maybe<Scalars['String']['output']>;
|
|
1101
|
+
};
|
|
1094
1102
|
export type CustomMetadata = {
|
|
1095
1103
|
__typename?: 'CustomMetadata';
|
|
1096
1104
|
meta?: Maybe<Array<Maybe<CustomMetadataMeta>>>;
|
|
@@ -1848,6 +1856,10 @@ export type HeaderConditionInput = {
|
|
|
1848
1856
|
value?: InputMaybe<Scalars['String']['input']>;
|
|
1849
1857
|
valueComparison?: InputMaybe<Scalars['String']['input']>;
|
|
1850
1858
|
};
|
|
1859
|
+
export type HeaderInput = {
|
|
1860
|
+
_content?: InputMaybe<Scalars['String']['input']>;
|
|
1861
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
1862
|
+
};
|
|
1851
1863
|
export type Hit = {
|
|
1852
1864
|
__typename?: 'Hit';
|
|
1853
1865
|
id?: Maybe<Scalars['String']['output']>;
|
|
@@ -2200,6 +2212,7 @@ export type MessageAttributes = {
|
|
|
2200
2212
|
};
|
|
2201
2213
|
export type MessageInfo = MailItem & {
|
|
2202
2214
|
__typename?: 'MessageInfo';
|
|
2215
|
+
_attrs?: Maybe<Array<Maybe<CustomHeader>>>;
|
|
2203
2216
|
attachments?: Maybe<Array<Maybe<MimePart>>>;
|
|
2204
2217
|
attributes?: Maybe<MessageAttributes>;
|
|
2205
2218
|
autoSendTime?: Maybe<Scalars['Float']['output']>;
|
|
@@ -2330,6 +2343,7 @@ export type ModifyZimletPrefsResponse = {
|
|
|
2330
2343
|
};
|
|
2331
2344
|
export type MsgWithGroupInfo = MailItem & {
|
|
2332
2345
|
__typename?: 'MsgWithGroupInfo';
|
|
2346
|
+
_attrs?: Maybe<Array<Maybe<CustomHeader>>>;
|
|
2333
2347
|
autoSendTime?: Maybe<Scalars['Float']['output']>;
|
|
2334
2348
|
changeDate?: Maybe<Scalars['Float']['output']>;
|
|
2335
2349
|
cif?: Maybe<Scalars['String']['output']>;
|
|
@@ -3332,6 +3346,7 @@ export type QuerySearchArgs = {
|
|
|
3332
3346
|
cursor?: InputMaybe<Cursor>;
|
|
3333
3347
|
fetch?: InputMaybe<Scalars['String']['input']>;
|
|
3334
3348
|
fullConversation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3349
|
+
header?: InputMaybe<Array<InputMaybe<MailItemHeaderInput>>>;
|
|
3335
3350
|
inDumpster?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3336
3351
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
3337
3352
|
memberOf?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -3624,6 +3639,7 @@ export type SendMessageInput = {
|
|
|
3624
3639
|
entityId?: InputMaybe<Scalars['String']['input']>;
|
|
3625
3640
|
flags?: InputMaybe<Scalars['String']['input']>;
|
|
3626
3641
|
folderId?: InputMaybe<Scalars['ID']['input']>;
|
|
3642
|
+
header?: InputMaybe<Array<InputMaybe<HeaderInput>>>;
|
|
3627
3643
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
3628
3644
|
inReplyTo?: InputMaybe<Scalars['String']['input']>;
|
|
3629
3645
|
inlineAttachments?: InputMaybe<Array<InputMaybe<MimePartInput>>>;
|
|
@@ -3660,6 +3676,7 @@ export declare enum SetRecoveryAccountOp {
|
|
|
3660
3676
|
}
|
|
3661
3677
|
export type ShareInfo = {
|
|
3662
3678
|
__typename?: 'ShareInfo';
|
|
3679
|
+
activeSyncDisabled?: Maybe<Scalars['Boolean']['output']>;
|
|
3663
3680
|
folderId: Scalars['ID']['output'];
|
|
3664
3681
|
folderPath?: Maybe<Scalars['String']['output']>;
|
|
3665
3682
|
folderUuid?: Maybe<Scalars['String']['output']>;
|