@zimbra/api-client 95.0.0 → 97.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 +13 -1
- package/dist/src/batch-client/types.d.ts +2 -1
- package/dist/src/schema/generated-schema-types.d.ts +11 -0
- package/dist/zm-api-js-client.esm.js +10 -4
- 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/batch-client/types.ts +2 -0
- package/src/schema/generated-schema-types.ts +12 -0
- package/src/schema/schema.graphql +13 -1
- package/src/utils/normalize-mime-parts.ts +13 -4
package/dist/schema.graphql
CHANGED
|
@@ -576,6 +576,7 @@ type MessageInfo implements MailItem {
|
|
|
576
576
|
part: String
|
|
577
577
|
meta: [CustomMetadataMeta]
|
|
578
578
|
_attrs: [CustomHeader]
|
|
579
|
+
deliveryReport: Boolean
|
|
579
580
|
}
|
|
580
581
|
|
|
581
582
|
type Conversation implements MailItem {
|
|
@@ -1460,6 +1461,7 @@ type AccountInfoAttrs {
|
|
|
1460
1461
|
zimbraDumpsterEnabled: Boolean
|
|
1461
1462
|
zimbraIsAdminAccount: Boolean
|
|
1462
1463
|
zimbraIsDelegatedAdminAccount: Boolean
|
|
1464
|
+
zimbraIsExternalVirtualAccount: Boolean
|
|
1463
1465
|
zimbraFeatureMailEnabled: Boolean
|
|
1464
1466
|
zimbraFeatureCalendarEnabled: Boolean
|
|
1465
1467
|
zimbraFeatureBriefcasesEnabled: Boolean
|
|
@@ -1545,6 +1547,8 @@ type AccountInfoAttrs {
|
|
|
1545
1547
|
zimbraFeatureDistributionListFolderEnabled: Boolean
|
|
1546
1548
|
zimbraFeatureBasicOneToOneChatEnabled: Boolean
|
|
1547
1549
|
zimbraFeatureAdvancedChatEnabled: Boolean
|
|
1550
|
+
zimbraMailIdleSessionTimeout: String
|
|
1551
|
+
zimbraFeatureDeliveryStatusNotificationEnabled: Boolean
|
|
1548
1552
|
}
|
|
1549
1553
|
|
|
1550
1554
|
type AccountCos {
|
|
@@ -1695,6 +1699,7 @@ type Preferences {
|
|
|
1695
1699
|
zimbraPrefPowerPasteEnabled: Boolean
|
|
1696
1700
|
zimbraPrefDisplayTimeInMailList: Boolean
|
|
1697
1701
|
zimbraPrefPrimaryTwoFactorAuthMethod: String
|
|
1702
|
+
zimbraPrefMailDeliveryStatusNotification: Boolean
|
|
1698
1703
|
}
|
|
1699
1704
|
|
|
1700
1705
|
type GetAppointmentResponse {
|
|
@@ -2342,6 +2347,7 @@ input SendMessageInput {
|
|
|
2342
2347
|
attachments: [AttachmentInput] #attach
|
|
2343
2348
|
inlineAttachments: [MimePartInput] #attach
|
|
2344
2349
|
header: [HeaderInput] #header
|
|
2350
|
+
deliveryReport: Boolean #deliveryReport
|
|
2345
2351
|
}
|
|
2346
2352
|
|
|
2347
2353
|
input HeaderInput {
|
|
@@ -2770,6 +2776,7 @@ input PreferencesInput {
|
|
|
2770
2776
|
zimbraPrefDisplayTimeInMailList: Boolean
|
|
2771
2777
|
zimbraPrefPrimaryTwoFactorAuthMethod: String
|
|
2772
2778
|
zimbraPrefDeleteInviteOnReply: Boolean
|
|
2779
|
+
zimbraPrefMailDeliveryStatusNotification: Boolean
|
|
2773
2780
|
}
|
|
2774
2781
|
|
|
2775
2782
|
input ModifyIdentityInput {
|
|
@@ -3222,6 +3229,10 @@ input uploadDocument {
|
|
|
3222
3229
|
id: ID! #id
|
|
3223
3230
|
}
|
|
3224
3231
|
|
|
3232
|
+
input Timezone {
|
|
3233
|
+
id: ID! #id
|
|
3234
|
+
}
|
|
3235
|
+
|
|
3225
3236
|
input messagePartForDocument {
|
|
3226
3237
|
messageId: ID! #id
|
|
3227
3238
|
attachmentPart: String! #part
|
|
@@ -3637,7 +3648,8 @@ type Query {
|
|
|
3637
3648
|
types: SearchType
|
|
3638
3649
|
resultMode: String
|
|
3639
3650
|
inDumpster: Boolean,
|
|
3640
|
-
header: [MailItemHeaderInput]
|
|
3651
|
+
header: [MailItemHeaderInput],
|
|
3652
|
+
tz: Timezone
|
|
3641
3653
|
): SearchResponse
|
|
3642
3654
|
|
|
3643
3655
|
searchCalendarResources(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccountType, Cursor, ExternalAccountModifyAttrsInput, FolderView, Grantee, Owner, SearchType, SortBy, UploadDocument } from '../schema/generated-schema-types';
|
|
1
|
+
import { AccountType, Cursor, ExternalAccountModifyAttrsInput, FolderView, Grantee, Owner, SearchType, SortBy, Timezone, UploadDocument } from '../schema/generated-schema-types';
|
|
2
2
|
export declare enum GalSearchType {
|
|
3
3
|
all = "all",
|
|
4
4
|
account = "account",
|
|
@@ -167,6 +167,7 @@ export interface SearchOptions {
|
|
|
167
167
|
sortBy?: SortBy;
|
|
168
168
|
type?: GalSearchType;
|
|
169
169
|
types?: SearchType;
|
|
170
|
+
tz?: Timezone;
|
|
170
171
|
}
|
|
171
172
|
export interface SearchCalendarResourcesCondition {
|
|
172
173
|
attr?: String;
|
|
@@ -121,6 +121,7 @@ export type AccountInfoAttrs = {
|
|
|
121
121
|
zimbraFeatureCalendarEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
122
122
|
zimbraFeatureChangePasswordEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
123
123
|
zimbraFeatureConversationsEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
124
|
+
zimbraFeatureDeliveryStatusNotificationEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
124
125
|
zimbraFeatureDiscardInFiltersEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
125
126
|
zimbraFeatureDistributionListExpandMembersEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
126
127
|
zimbraFeatureDistributionListFolderEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -166,9 +167,11 @@ export type AccountInfoAttrs = {
|
|
|
166
167
|
zimbraIdentityMaxNumEntries?: Maybe<Scalars['Int']['output']>;
|
|
167
168
|
zimbraIsAdminAccount?: Maybe<Scalars['Boolean']['output']>;
|
|
168
169
|
zimbraIsDelegatedAdminAccount?: Maybe<Scalars['Boolean']['output']>;
|
|
170
|
+
zimbraIsExternalVirtualAccount?: Maybe<Scalars['Boolean']['output']>;
|
|
169
171
|
zimbraMailAlias?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
170
172
|
zimbraMailAttachmentMaxSize?: Maybe<Scalars['Float']['output']>;
|
|
171
173
|
zimbraMailBlacklistMaxNumEntries?: Maybe<Scalars['Int']['output']>;
|
|
174
|
+
zimbraMailIdleSessionTimeout?: Maybe<Scalars['String']['output']>;
|
|
172
175
|
zimbraMailQuota?: Maybe<Scalars['String']['output']>;
|
|
173
176
|
zimbraMailSignatureMaxLength?: Maybe<Scalars['Float']['output']>;
|
|
174
177
|
zimbraMailWhitelistMaxNumEntries?: Maybe<Scalars['Int']['output']>;
|
|
@@ -2242,6 +2245,7 @@ export type MessageInfo = MailItem & {
|
|
|
2242
2245
|
conversationId?: Maybe<Scalars['ID']['output']>;
|
|
2243
2246
|
date?: Maybe<Scalars['Float']['output']>;
|
|
2244
2247
|
decryptionErrorCode?: Maybe<Scalars['String']['output']>;
|
|
2248
|
+
deliveryReport?: Maybe<Scalars['Boolean']['output']>;
|
|
2245
2249
|
emailAddresses?: Maybe<Array<Maybe<EmailAddress>>>;
|
|
2246
2250
|
excerpt?: Maybe<Scalars['String']['output']>;
|
|
2247
2251
|
flags?: Maybe<Scalars['String']['output']>;
|
|
@@ -3013,6 +3017,7 @@ export type Preferences = {
|
|
|
3013
3017
|
zimbraPrefHtmlEditorDefaultFontFamily?: Maybe<Scalars['String']['output']>;
|
|
3014
3018
|
zimbraPrefHtmlEditorDefaultFontSize?: Maybe<Scalars['String']['output']>;
|
|
3015
3019
|
zimbraPrefLocale?: Maybe<Scalars['String']['output']>;
|
|
3020
|
+
zimbraPrefMailDeliveryStatusNotification?: Maybe<Scalars['Boolean']['output']>;
|
|
3016
3021
|
zimbraPrefMailForwardingAddress?: Maybe<Scalars['String']['output']>;
|
|
3017
3022
|
zimbraPrefMailLocalDeliveryDisabled?: Maybe<Scalars['Boolean']['output']>;
|
|
3018
3023
|
zimbraPrefMailPollingInterval?: Maybe<Scalars['String']['output']>;
|
|
@@ -3077,6 +3082,7 @@ export type PreferencesInput = {
|
|
|
3077
3082
|
zimbraPrefHtmlEditorDefaultFontFamily?: InputMaybe<Scalars['String']['input']>;
|
|
3078
3083
|
zimbraPrefHtmlEditorDefaultFontSize?: InputMaybe<Scalars['String']['input']>;
|
|
3079
3084
|
zimbraPrefLocale?: InputMaybe<Scalars['String']['input']>;
|
|
3085
|
+
zimbraPrefMailDeliveryStatusNotification?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3080
3086
|
zimbraPrefMailForwardingAddress?: InputMaybe<Scalars['String']['input']>;
|
|
3081
3087
|
zimbraPrefMailLocalDeliveryDisabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3082
3088
|
zimbraPrefMailPollingInterval?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3379,6 +3385,7 @@ export type QuerySearchArgs = {
|
|
|
3379
3385
|
resultMode?: InputMaybe<Scalars['String']['input']>;
|
|
3380
3386
|
sortBy?: InputMaybe<SortBy>;
|
|
3381
3387
|
types?: InputMaybe<SearchType>;
|
|
3388
|
+
tz?: InputMaybe<Timezone>;
|
|
3382
3389
|
};
|
|
3383
3390
|
export type QuerySearchCalendarResourcesArgs = {
|
|
3384
3391
|
attrs?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3661,6 +3668,7 @@ export type SendMessageInput = {
|
|
|
3661
3668
|
attachmentId?: InputMaybe<Scalars['ID']['input']>;
|
|
3662
3669
|
attachments?: InputMaybe<Array<InputMaybe<AttachmentInput>>>;
|
|
3663
3670
|
autoSendTime?: InputMaybe<Scalars['Float']['input']>;
|
|
3671
|
+
deliveryReport?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3664
3672
|
draftId?: InputMaybe<Scalars['ID']['input']>;
|
|
3665
3673
|
emailAddresses?: InputMaybe<Array<InputMaybe<MailItemEmailAddressInput>>>;
|
|
3666
3674
|
entityId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3917,6 +3925,9 @@ export type Targets = {
|
|
|
3917
3925
|
right?: Maybe<Scalars['String']['output']>;
|
|
3918
3926
|
target?: Maybe<Array<Maybe<Target>>>;
|
|
3919
3927
|
};
|
|
3928
|
+
export type Timezone = {
|
|
3929
|
+
id: Scalars['ID']['input'];
|
|
3930
|
+
};
|
|
3920
3931
|
export type TrustedDevicesEnabled = {
|
|
3921
3932
|
__typename?: 'TrustedDevicesEnabled';
|
|
3922
3933
|
_content?: Maybe<Scalars['Boolean']['output']>;
|