@zimbra/api-client 96.0.0 → 98.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 +10 -2
- package/dist/src/batch-client/index.d.ts +2 -2
- package/dist/src/schema/generated-schema-types.d.ts +9 -1
- package/dist/zm-api-js-client.esm.js +757 -550
- package/dist/zm-api-js-client.esm.js.map +1 -1
- package/dist/zm-api-js-client.js +8 -8
- package/dist/zm-api-js-client.js.map +1 -1
- package/dist/zm-api-js-client.umd.js +7 -7
- package/dist/zm-api-js-client.umd.js.map +1 -1
- package/package-lock.json +1683 -1079
- package/package.json +7 -7
- package/src/batch-client/index.ts +15 -4
- package/src/schema/generated-schema-types.ts +9 -1
- package/src/schema/schema.graphql +10 -2
- package/src/schema/schema.ts +2 -1
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 {
|
|
@@ -1453,6 +1454,8 @@ type AccountZimletConfigInfo {
|
|
|
1453
1454
|
|
|
1454
1455
|
type AccountInfoAttrs {
|
|
1455
1456
|
displayName: String
|
|
1457
|
+
zimbraAttachmentsBlocked: Boolean
|
|
1458
|
+
zimbraAttachmentsViewInHtmlOnly: Boolean
|
|
1456
1459
|
zimbraBrandingFolderName: String
|
|
1457
1460
|
zimbraDataSourceMaxNumEntries: Int
|
|
1458
1461
|
zimbraDomainTrialConvertAtExpiration: Boolean
|
|
@@ -1547,6 +1550,7 @@ type AccountInfoAttrs {
|
|
|
1547
1550
|
zimbraFeatureBasicOneToOneChatEnabled: Boolean
|
|
1548
1551
|
zimbraFeatureAdvancedChatEnabled: Boolean
|
|
1549
1552
|
zimbraMailIdleSessionTimeout: String
|
|
1553
|
+
zimbraFeatureDeliveryStatusNotificationEnabled: Boolean
|
|
1550
1554
|
}
|
|
1551
1555
|
|
|
1552
1556
|
type AccountCos {
|
|
@@ -1697,6 +1701,7 @@ type Preferences {
|
|
|
1697
1701
|
zimbraPrefPowerPasteEnabled: Boolean
|
|
1698
1702
|
zimbraPrefDisplayTimeInMailList: Boolean
|
|
1699
1703
|
zimbraPrefPrimaryTwoFactorAuthMethod: String
|
|
1704
|
+
zimbraPrefMailDeliveryStatusNotification: Boolean
|
|
1700
1705
|
}
|
|
1701
1706
|
|
|
1702
1707
|
type GetAppointmentResponse {
|
|
@@ -2344,6 +2349,7 @@ input SendMessageInput {
|
|
|
2344
2349
|
attachments: [AttachmentInput] #attach
|
|
2345
2350
|
inlineAttachments: [MimePartInput] #attach
|
|
2346
2351
|
header: [HeaderInput] #header
|
|
2352
|
+
deliveryReport: Boolean #deliveryReport
|
|
2347
2353
|
}
|
|
2348
2354
|
|
|
2349
2355
|
input HeaderInput {
|
|
@@ -2772,6 +2778,7 @@ input PreferencesInput {
|
|
|
2772
2778
|
zimbraPrefDisplayTimeInMailList: Boolean
|
|
2773
2779
|
zimbraPrefPrimaryTwoFactorAuthMethod: String
|
|
2774
2780
|
zimbraPrefDeleteInviteOnReply: Boolean
|
|
2781
|
+
zimbraPrefMailDeliveryStatusNotification: Boolean
|
|
2775
2782
|
}
|
|
2776
2783
|
|
|
2777
2784
|
input ModifyIdentityInput {
|
|
@@ -3145,7 +3152,8 @@ input NameIdInput {
|
|
|
3145
3152
|
name: String
|
|
3146
3153
|
}
|
|
3147
3154
|
input InstanceDate {
|
|
3148
|
-
date: String
|
|
3155
|
+
date: String,
|
|
3156
|
+
timezone: String
|
|
3149
3157
|
}
|
|
3150
3158
|
input DeleteAppointmentInput {
|
|
3151
3159
|
instanceDate: InstanceDate
|
|
@@ -3710,7 +3718,7 @@ type Mutation {
|
|
|
3710
3718
|
content: String
|
|
3711
3719
|
contentType: String
|
|
3712
3720
|
): ProfileImageChangeResponse
|
|
3713
|
-
checkCalendar(id: ID!, value: Boolean!):
|
|
3721
|
+
checkCalendar(id: ID!, value: Boolean!): ActionOpResponse
|
|
3714
3722
|
contactAction(
|
|
3715
3723
|
id: ID
|
|
3716
3724
|
ids: [ID!]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JsonRequestOptions } from '../request/types';
|
|
2
|
-
import { AddMsgInput, CalendarItemInput, CounterAppointmentInput, CreateContactInput, CreateIdentityInput, CreateMountpointInput, CreateTagInput, DeleteAppointmentInput, DeleteIdentityInput, DistributionListActionInput, EnableTwoFactorAuthInput, ExternalAccountAddInput, ExternalAccountImportInput, ExternalAccountTestInput, FilterInput, FolderActionChangeColorInput, FolderActionCheckCalendarInput, ForwardAppointmentInput, ForwardAppointmentInviteInput, GetRightsInput, GrantRightsInput, InviteReplyInput, ModifyContactInput, ModifyIdentityInput, PreferencesInput, RevokeRightsInput, SaveSMimeCertInputUpload, SearchFolderInput, SendMessageInput, SendTwoFactorAuthCodeInput, ShareNotificationInput, SignatureInput, WhiteBlackListInput, ZimletPreferenceInput } from '../schema/generated-schema-types';
|
|
2
|
+
import { ActionOpResponse, AddMsgInput, CalendarItemInput, CounterAppointmentInput, CreateContactInput, CreateIdentityInput, CreateMountpointInput, CreateTagInput, DeleteAppointmentInput, DeleteIdentityInput, DistributionListActionInput, EnableTwoFactorAuthInput, ExternalAccountAddInput, ExternalAccountImportInput, ExternalAccountTestInput, FilterInput, FolderActionChangeColorInput, FolderActionCheckCalendarInput, ForwardAppointmentInput, ForwardAppointmentInviteInput, GetRightsInput, GrantRightsInput, InviteReplyInput, ModifyContactInput, ModifyIdentityInput, PreferencesInput, RevokeRightsInput, SaveSMimeCertInputUpload, SearchFolderInput, SendMessageInput, SendTwoFactorAuthCodeInput, ShareNotificationInput, SignatureInput, WhiteBlackListInput, ZimletPreferenceInput } from '../schema/generated-schema-types';
|
|
3
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 {
|
|
@@ -33,7 +33,7 @@ export declare class ZimbraBatchClient {
|
|
|
33
33
|
cancelTask: ({ inviteId }: any) => Promise<boolean>;
|
|
34
34
|
changeFolderColor: ({ id, color }: FolderActionChangeColorInput) => Promise<boolean>;
|
|
35
35
|
changePassword: ({ loginNewPassword, password, username, dryRun, authToken, csrfToken }: ChangePasswordOptions) => Promise<any>;
|
|
36
|
-
checkCalendar: ({ id, value }: FolderActionCheckCalendarInput) => Promise<
|
|
36
|
+
checkCalendar: ({ id, value }: FolderActionCheckCalendarInput) => Promise<ActionOpResponse>;
|
|
37
37
|
clientInfo: ({ by, domain }: any) => Promise<any>;
|
|
38
38
|
contactAction: (options: ActionOptions) => Promise<boolean>;
|
|
39
39
|
conversationAction: (options: ActionOptions) => Promise<boolean>;
|
|
@@ -103,6 +103,8 @@ export type AccountInfo = {
|
|
|
103
103
|
export type AccountInfoAttrs = {
|
|
104
104
|
__typename?: 'AccountInfoAttrs';
|
|
105
105
|
displayName?: Maybe<Scalars['String']['output']>;
|
|
106
|
+
zimbraAttachmentsBlocked?: Maybe<Scalars['Boolean']['output']>;
|
|
107
|
+
zimbraAttachmentsViewInHtmlOnly?: Maybe<Scalars['Boolean']['output']>;
|
|
106
108
|
zimbraBlockEmailSendFromImapPop?: Maybe<Scalars['Boolean']['output']>;
|
|
107
109
|
zimbraBrandingFolderName?: Maybe<Scalars['String']['output']>;
|
|
108
110
|
zimbraDataSourceMaxNumEntries?: Maybe<Scalars['Int']['output']>;
|
|
@@ -121,6 +123,7 @@ export type AccountInfoAttrs = {
|
|
|
121
123
|
zimbraFeatureCalendarEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
122
124
|
zimbraFeatureChangePasswordEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
123
125
|
zimbraFeatureConversationsEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
126
|
+
zimbraFeatureDeliveryStatusNotificationEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
124
127
|
zimbraFeatureDiscardInFiltersEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
125
128
|
zimbraFeatureDistributionListExpandMembersEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
126
129
|
zimbraFeatureDistributionListFolderEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -1985,6 +1988,7 @@ export type Instance = {
|
|
|
1985
1988
|
};
|
|
1986
1989
|
export type InstanceDate = {
|
|
1987
1990
|
date?: InputMaybe<Scalars['String']['input']>;
|
|
1991
|
+
timezone?: InputMaybe<Scalars['String']['input']>;
|
|
1988
1992
|
};
|
|
1989
1993
|
export type IntervalRule = {
|
|
1990
1994
|
__typename?: 'IntervalRule';
|
|
@@ -2244,6 +2248,7 @@ export type MessageInfo = MailItem & {
|
|
|
2244
2248
|
conversationId?: Maybe<Scalars['ID']['output']>;
|
|
2245
2249
|
date?: Maybe<Scalars['Float']['output']>;
|
|
2246
2250
|
decryptionErrorCode?: Maybe<Scalars['String']['output']>;
|
|
2251
|
+
deliveryReport?: Maybe<Scalars['Boolean']['output']>;
|
|
2247
2252
|
emailAddresses?: Maybe<Array<Maybe<EmailAddress>>>;
|
|
2248
2253
|
excerpt?: Maybe<Scalars['String']['output']>;
|
|
2249
2254
|
flags?: Maybe<Scalars['String']['output']>;
|
|
@@ -2406,7 +2411,7 @@ export type Mutation = {
|
|
|
2406
2411
|
cancelTask?: Maybe<Scalars['Boolean']['output']>;
|
|
2407
2412
|
changeFolderColor?: Maybe<Scalars['Boolean']['output']>;
|
|
2408
2413
|
changePassword?: Maybe<AuthResponse>;
|
|
2409
|
-
checkCalendar?: Maybe<
|
|
2414
|
+
checkCalendar?: Maybe<ActionOpResponse>;
|
|
2410
2415
|
contactAction?: Maybe<ActionOpResponse>;
|
|
2411
2416
|
conversationAction?: Maybe<Scalars['Boolean']['output']>;
|
|
2412
2417
|
counterAppointment?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -3015,6 +3020,7 @@ export type Preferences = {
|
|
|
3015
3020
|
zimbraPrefHtmlEditorDefaultFontFamily?: Maybe<Scalars['String']['output']>;
|
|
3016
3021
|
zimbraPrefHtmlEditorDefaultFontSize?: Maybe<Scalars['String']['output']>;
|
|
3017
3022
|
zimbraPrefLocale?: Maybe<Scalars['String']['output']>;
|
|
3023
|
+
zimbraPrefMailDeliveryStatusNotification?: Maybe<Scalars['Boolean']['output']>;
|
|
3018
3024
|
zimbraPrefMailForwardingAddress?: Maybe<Scalars['String']['output']>;
|
|
3019
3025
|
zimbraPrefMailLocalDeliveryDisabled?: Maybe<Scalars['Boolean']['output']>;
|
|
3020
3026
|
zimbraPrefMailPollingInterval?: Maybe<Scalars['String']['output']>;
|
|
@@ -3079,6 +3085,7 @@ export type PreferencesInput = {
|
|
|
3079
3085
|
zimbraPrefHtmlEditorDefaultFontFamily?: InputMaybe<Scalars['String']['input']>;
|
|
3080
3086
|
zimbraPrefHtmlEditorDefaultFontSize?: InputMaybe<Scalars['String']['input']>;
|
|
3081
3087
|
zimbraPrefLocale?: InputMaybe<Scalars['String']['input']>;
|
|
3088
|
+
zimbraPrefMailDeliveryStatusNotification?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3082
3089
|
zimbraPrefMailForwardingAddress?: InputMaybe<Scalars['String']['input']>;
|
|
3083
3090
|
zimbraPrefMailLocalDeliveryDisabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3084
3091
|
zimbraPrefMailPollingInterval?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3664,6 +3671,7 @@ export type SendMessageInput = {
|
|
|
3664
3671
|
attachmentId?: InputMaybe<Scalars['ID']['input']>;
|
|
3665
3672
|
attachments?: InputMaybe<Array<InputMaybe<AttachmentInput>>>;
|
|
3666
3673
|
autoSendTime?: InputMaybe<Scalars['Float']['input']>;
|
|
3674
|
+
deliveryReport?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3667
3675
|
draftId?: InputMaybe<Scalars['ID']['input']>;
|
|
3668
3676
|
emailAddresses?: InputMaybe<Array<InputMaybe<MailItemEmailAddressInput>>>;
|
|
3669
3677
|
entityId?: InputMaybe<Scalars['String']['input']>;
|