@zimbra/api-client 103.0.1-PREAPPS-9724.27b2a1a.0 → 103.0.1-master.e2fc2e1.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 +0 -18
- package/dist/src/batch-client/index.d.ts +1 -6
- package/dist/src/batch-client/types.d.ts +0 -8
- package/dist/src/schema/generated-schema-types.d.ts +0 -21
- package/dist/zm-api-js-client.esm.js +4 -36
- 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.json +1 -1
- package/src/batch-client/index.ts +0 -25
- package/src/batch-client/types.ts +0 -10
- package/src/schema/generated-schema-types.ts +0 -27
- package/src/schema/schema.graphql +0 -18
- package/src/schema/schema.ts +2 -5
package/dist/schema.graphql
CHANGED
|
@@ -1670,7 +1670,6 @@ type Preferences {
|
|
|
1670
1670
|
zimbraPrefComposeDirection: String
|
|
1671
1671
|
zimbraPrefComposeFormat: Mode
|
|
1672
1672
|
zimbraPrefForwardReplyInOriginalFormat: Boolean
|
|
1673
|
-
zimbraPrefMandatorySpellCheckEnabled: Boolean
|
|
1674
1673
|
zimbraPrefHtmlEditorDefaultFontColor: String
|
|
1675
1674
|
zimbraPrefHtmlEditorDefaultFontFamily: String
|
|
1676
1675
|
zimbraPrefHtmlEditorDefaultFontSize: String
|
|
@@ -2765,7 +2764,6 @@ input PreferencesInput {
|
|
|
2765
2764
|
zimbraPrefComposeDirection: String
|
|
2766
2765
|
zimbraPrefComposeFormat: Mode
|
|
2767
2766
|
zimbraPrefForwardReplyInOriginalFormat: Boolean
|
|
2768
|
-
zimbraPrefMandatorySpellCheckEnabled: Boolean
|
|
2769
2767
|
zimbraPrefExternalSendersType: ExternalSendersType
|
|
2770
2768
|
zimbraPrefHtmlEditorDefaultFontColor: String
|
|
2771
2769
|
zimbraPrefHtmlEditorDefaultFontFamily: String
|
|
@@ -3533,16 +3531,6 @@ input DiscoverRightInput {
|
|
|
3533
3531
|
_content: String
|
|
3534
3532
|
}
|
|
3535
3533
|
|
|
3536
|
-
type Misspelling {
|
|
3537
|
-
word: String
|
|
3538
|
-
suggestions: [String]
|
|
3539
|
-
}
|
|
3540
|
-
|
|
3541
|
-
type CheckSpellingResponse {
|
|
3542
|
-
available: Boolean
|
|
3543
|
-
misspelled: [Misspelling]
|
|
3544
|
-
}
|
|
3545
|
-
|
|
3546
3534
|
# Zimbra GraphQL Queries
|
|
3547
3535
|
# - [[SOAP API Reference]](https://files.zimbra.com/docs/soap_api/8.7.11/api-reference/index.html)
|
|
3548
3536
|
# - [[SOAP Documentation]](https://github.com/Zimbra/zm-mailbox/blob/develop/store/docs/soap.txt)
|
|
@@ -3736,11 +3724,6 @@ type Query {
|
|
|
3736
3724
|
taskFolders: [Folder]
|
|
3737
3725
|
|
|
3738
3726
|
getTag: [Tag]
|
|
3739
|
-
|
|
3740
|
-
checkSpelling(
|
|
3741
|
-
text: String!
|
|
3742
|
-
ignore: [String]
|
|
3743
|
-
): CheckSpellingResponse
|
|
3744
3727
|
}
|
|
3745
3728
|
|
|
3746
3729
|
type Mutation {
|
|
@@ -3954,7 +3937,6 @@ type Mutation {
|
|
|
3954
3937
|
subscribeDistributionList(op: String!, by: String, dl: String!): String
|
|
3955
3938
|
distributionListAction(dlActions: DistributionListActionInput!): Boolean
|
|
3956
3939
|
bounceMessage(message: RedirectMessgeInput): Boolean
|
|
3957
|
-
addToSpellCheckDictionary(word: String): Boolean
|
|
3958
3940
|
}
|
|
3959
3941
|
|
|
3960
3942
|
schema {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JsonRequestOptions } from '../request/types';
|
|
2
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, RedirectMessgeInput, RevokeRightsInput, SaveSMimeCertInputUpload, SearchFolderInput, SendMessageInput, SendTwoFactorAuthCodeInput, ShareNotificationInput, SignatureInput, WhiteBlackListInput, ZimletPreferenceInput } from '../schema/generated-schema-types';
|
|
3
|
-
import { ActionOptions, ActionType, ApplyFilterRulesOptions, AppointmentOptions, AutoCompleteGALOptions, AutoCompleteOptions, ChangePasswordOptions,
|
|
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 {
|
|
6
6
|
localStoreClient: any;
|
|
@@ -188,11 +188,6 @@ export declare class ZimbraBatchClient {
|
|
|
188
188
|
taskFolders: () => Promise<any>;
|
|
189
189
|
testExternalAccount: ({ accountType, ...accountInfo }: ExternalAccountTestInput) => Promise<{}>;
|
|
190
190
|
uploadMessage: (message: string) => any;
|
|
191
|
-
checkSpelling: ({ text, ignore }: CheckSpellingOptions) => Promise<{
|
|
192
|
-
available: any;
|
|
193
|
-
misspelled: any;
|
|
194
|
-
}>;
|
|
195
|
-
addToSpellCheckDictionary: (word: string) => Promise<boolean>;
|
|
196
191
|
private batchDataHandler;
|
|
197
192
|
private checkAndUpdateSessionId;
|
|
198
193
|
private dataHandler;
|
|
@@ -317,11 +317,3 @@ export interface DiscoverRightInput {
|
|
|
317
317
|
export interface DiscoverRightOptions {
|
|
318
318
|
right: Array<DiscoverRightInput>;
|
|
319
319
|
}
|
|
320
|
-
export interface CheckSpellingOptions {
|
|
321
|
-
text: string;
|
|
322
|
-
ignore: Array<string>;
|
|
323
|
-
}
|
|
324
|
-
export interface Misspelled {
|
|
325
|
-
word: string;
|
|
326
|
-
suggestions: string;
|
|
327
|
-
}
|
|
@@ -788,11 +788,6 @@ export type CancelRuleInfo = {
|
|
|
788
788
|
ridZ?: Maybe<Scalars['String']['output']>;
|
|
789
789
|
tz?: Maybe<Scalars['String']['output']>;
|
|
790
790
|
};
|
|
791
|
-
export type CheckSpellingResponse = {
|
|
792
|
-
__typename?: 'CheckSpellingResponse';
|
|
793
|
-
available?: Maybe<Scalars['Boolean']['output']>;
|
|
794
|
-
misspelled?: Maybe<Array<Maybe<Misspelling>>>;
|
|
795
|
-
};
|
|
796
791
|
export type ClientInfoAttributes = {
|
|
797
792
|
__typename?: 'ClientInfoAttributes';
|
|
798
793
|
zimbraClassicWebClientDisabled?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -2361,11 +2356,6 @@ export type MimePartInput = {
|
|
|
2361
2356
|
truncated?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2362
2357
|
url?: InputMaybe<Scalars['String']['input']>;
|
|
2363
2358
|
};
|
|
2364
|
-
export type Misspelling = {
|
|
2365
|
-
__typename?: 'Misspelling';
|
|
2366
|
-
suggestions?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
2367
|
-
word?: Maybe<Scalars['String']['output']>;
|
|
2368
|
-
};
|
|
2369
2359
|
export declare enum Mode {
|
|
2370
2360
|
Html = "html",
|
|
2371
2361
|
Text = "text"
|
|
@@ -2429,7 +2419,6 @@ export type Mutation = {
|
|
|
2429
2419
|
action?: Maybe<Scalars['Boolean']['output']>;
|
|
2430
2420
|
addExternalAccount?: Maybe<Scalars['ID']['output']>;
|
|
2431
2421
|
addMessage?: Maybe<MessageInfo>;
|
|
2432
|
-
addToSpellCheckDictionary?: Maybe<Scalars['Boolean']['output']>;
|
|
2433
2422
|
allowDeviceSync?: Maybe<Device>;
|
|
2434
2423
|
applyFilterRules?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
2435
2424
|
blockDeviceSync?: Maybe<Device>;
|
|
@@ -2550,9 +2539,6 @@ export type MutationAddExternalAccountArgs = {
|
|
|
2550
2539
|
export type MutationAddMessageArgs = {
|
|
2551
2540
|
message: AddMsgInput;
|
|
2552
2541
|
};
|
|
2553
|
-
export type MutationAddToSpellCheckDictionaryArgs = {
|
|
2554
|
-
word?: InputMaybe<Scalars['String']['input']>;
|
|
2555
|
-
};
|
|
2556
2542
|
export type MutationAllowDeviceSyncArgs = {
|
|
2557
2543
|
deviceId?: InputMaybe<Scalars['String']['input']>;
|
|
2558
2544
|
};
|
|
@@ -3074,7 +3060,6 @@ export type Preferences = {
|
|
|
3074
3060
|
zimbraPrefMailSendReadReceipts?: Maybe<PrefMailSendReadReceipts>;
|
|
3075
3061
|
zimbraPrefMailToasterEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
3076
3062
|
zimbraPrefMailTrustedSenderList?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
3077
|
-
zimbraPrefMandatorySpellCheckEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
3078
3063
|
zimbraPrefMarkMsgRead?: Maybe<Scalars['Int']['output']>;
|
|
3079
3064
|
zimbraPrefMessageViewHtmlPreferred?: Maybe<Scalars['Boolean']['output']>;
|
|
3080
3065
|
zimbraPrefOutOfOfficeExternalReply?: Maybe<Scalars['String']['output']>;
|
|
@@ -3147,7 +3132,6 @@ export type PreferencesInput = {
|
|
|
3147
3132
|
zimbraPrefMailSendReadReceipts?: InputMaybe<PrefMailSendReadReceipts>;
|
|
3148
3133
|
zimbraPrefMailToasterEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3149
3134
|
zimbraPrefMailTrustedSenderList?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
3150
|
-
zimbraPrefMandatorySpellCheckEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3151
3135
|
zimbraPrefMarkMsgRead?: InputMaybe<Scalars['Int']['input']>;
|
|
3152
3136
|
zimbraPrefMessageViewHtmlPreferred?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3153
3137
|
zimbraPrefOutOfOfficeExternalReply?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3206,7 +3190,6 @@ export type Query = {
|
|
|
3206
3190
|
accountInfo?: Maybe<AccountInfo>;
|
|
3207
3191
|
autoComplete?: Maybe<AutoCompleteResponse>;
|
|
3208
3192
|
autoCompleteGAL?: Maybe<AutoCompleteGalResponse>;
|
|
3209
|
-
checkSpelling?: Maybe<CheckSpellingResponse>;
|
|
3210
3193
|
clientInfo?: Maybe<ClientInfoType>;
|
|
3211
3194
|
discoverRights?: Maybe<DiscoverRights>;
|
|
3212
3195
|
downloadAttachment?: Maybe<Attachment>;
|
|
@@ -3272,10 +3255,6 @@ export type QueryAutoCompleteGalArgs = {
|
|
|
3272
3255
|
needExp?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3273
3256
|
type?: InputMaybe<GalSearchType>;
|
|
3274
3257
|
};
|
|
3275
|
-
export type QueryCheckSpellingArgs = {
|
|
3276
|
-
ignore?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
3277
|
-
text: Scalars['String']['input'];
|
|
3278
|
-
};
|
|
3279
3258
|
export type QueryClientInfoArgs = {
|
|
3280
3259
|
by?: InputMaybe<Scalars['String']['input']>;
|
|
3281
3260
|
domain?: InputMaybe<Scalars['String']['input']>;
|