@zimbra/api-client 97.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 +5 -2
- package/dist/src/batch-client/index.d.ts +2 -2
- package/dist/src/schema/generated-schema-types.d.ts +4 -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 +4 -1
- package/src/schema/schema.graphql +5 -2
- package/src/schema/schema.ts +2 -1
package/dist/schema.graphql
CHANGED
|
@@ -1454,6 +1454,8 @@ type AccountZimletConfigInfo {
|
|
|
1454
1454
|
|
|
1455
1455
|
type AccountInfoAttrs {
|
|
1456
1456
|
displayName: String
|
|
1457
|
+
zimbraAttachmentsBlocked: Boolean
|
|
1458
|
+
zimbraAttachmentsViewInHtmlOnly: Boolean
|
|
1457
1459
|
zimbraBrandingFolderName: String
|
|
1458
1460
|
zimbraDataSourceMaxNumEntries: Int
|
|
1459
1461
|
zimbraDomainTrialConvertAtExpiration: Boolean
|
|
@@ -3150,7 +3152,8 @@ input NameIdInput {
|
|
|
3150
3152
|
name: String
|
|
3151
3153
|
}
|
|
3152
3154
|
input InstanceDate {
|
|
3153
|
-
date: String
|
|
3155
|
+
date: String,
|
|
3156
|
+
timezone: String
|
|
3154
3157
|
}
|
|
3155
3158
|
input DeleteAppointmentInput {
|
|
3156
3159
|
instanceDate: InstanceDate
|
|
@@ -3715,7 +3718,7 @@ type Mutation {
|
|
|
3715
3718
|
content: String
|
|
3716
3719
|
contentType: String
|
|
3717
3720
|
): ProfileImageChangeResponse
|
|
3718
|
-
checkCalendar(id: ID!, value: Boolean!):
|
|
3721
|
+
checkCalendar(id: ID!, value: Boolean!): ActionOpResponse
|
|
3719
3722
|
contactAction(
|
|
3720
3723
|
id: ID
|
|
3721
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']>;
|
|
@@ -1986,6 +1988,7 @@ export type Instance = {
|
|
|
1986
1988
|
};
|
|
1987
1989
|
export type InstanceDate = {
|
|
1988
1990
|
date?: InputMaybe<Scalars['String']['input']>;
|
|
1991
|
+
timezone?: InputMaybe<Scalars['String']['input']>;
|
|
1989
1992
|
};
|
|
1990
1993
|
export type IntervalRule = {
|
|
1991
1994
|
__typename?: 'IntervalRule';
|
|
@@ -2408,7 +2411,7 @@ export type Mutation = {
|
|
|
2408
2411
|
cancelTask?: Maybe<Scalars['Boolean']['output']>;
|
|
2409
2412
|
changeFolderColor?: Maybe<Scalars['Boolean']['output']>;
|
|
2410
2413
|
changePassword?: Maybe<AuthResponse>;
|
|
2411
|
-
checkCalendar?: Maybe<
|
|
2414
|
+
checkCalendar?: Maybe<ActionOpResponse>;
|
|
2412
2415
|
contactAction?: Maybe<ActionOpResponse>;
|
|
2413
2416
|
conversationAction?: Maybe<Scalars['Boolean']['output']>;
|
|
2414
2417
|
counterAppointment?: Maybe<Scalars['Boolean']['output']>;
|