@zimbra/api-client 98.0.0 → 99.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 +27 -1
- package/dist/src/batch-client/types.d.ts +1 -0
- package/dist/src/schema/generated-schema-types.d.ts +25 -0
- package/dist/zm-api-js-client.esm.js +503 -246
- package/dist/zm-api-js-client.esm.js.map +1 -1
- package/dist/zm-api-js-client.js +5 -5
- package/dist/zm-api-js-client.js.map +1 -1
- package/dist/zm-api-js-client.umd.js +4 -4
- package/dist/zm-api-js-client.umd.js.map +1 -1
- package/package-lock.json +613 -1341
- package/package.json +4 -4
- package/src/apollo/zimbra-in-memory-cache.ts +35 -5
- package/src/batch-client/index.ts +2 -2
- package/src/batch-client/types.ts +1 -0
- package/src/normalize/entities.ts +4 -2
- package/src/schema/generated-schema-types.ts +26 -0
- package/src/schema/schema.graphql +27 -1
package/dist/schema.graphql
CHANGED
|
@@ -203,6 +203,7 @@ enum SearchType {
|
|
|
203
203
|
wiki
|
|
204
204
|
document
|
|
205
205
|
unknown
|
|
206
|
+
briefcase
|
|
206
207
|
}
|
|
207
208
|
|
|
208
209
|
enum ContactType {
|
|
@@ -322,6 +323,13 @@ enum PrefClientType {
|
|
|
322
323
|
standard
|
|
323
324
|
}
|
|
324
325
|
|
|
326
|
+
enum Pop3DeleteOption {
|
|
327
|
+
keep
|
|
328
|
+
read
|
|
329
|
+
trash
|
|
330
|
+
delete
|
|
331
|
+
}
|
|
332
|
+
|
|
325
333
|
enum Mode {
|
|
326
334
|
text
|
|
327
335
|
html
|
|
@@ -1551,6 +1559,8 @@ type AccountInfoAttrs {
|
|
|
1551
1559
|
zimbraFeatureAdvancedChatEnabled: Boolean
|
|
1552
1560
|
zimbraMailIdleSessionTimeout: String
|
|
1553
1561
|
zimbraFeatureDeliveryStatusNotificationEnabled: Boolean
|
|
1562
|
+
zimbraPop3Enabled: Boolean
|
|
1563
|
+
zimbraFeatureOptionsEnabled: Boolean
|
|
1554
1564
|
}
|
|
1555
1565
|
|
|
1556
1566
|
type AccountCos {
|
|
@@ -1702,6 +1712,11 @@ type Preferences {
|
|
|
1702
1712
|
zimbraPrefDisplayTimeInMailList: Boolean
|
|
1703
1713
|
zimbraPrefPrimaryTwoFactorAuthMethod: String
|
|
1704
1714
|
zimbraPrefMailDeliveryStatusNotification: Boolean
|
|
1715
|
+
zimbraPrefImapEnabled: Boolean
|
|
1716
|
+
zimbraPrefPop3Enabled: Boolean
|
|
1717
|
+
zimbraPrefPop3DownloadSince: String
|
|
1718
|
+
zimbraPrefPop3IncludeSpam: Boolean
|
|
1719
|
+
zimbraPrefPop3DeleteOption: Pop3DeleteOption
|
|
1705
1720
|
}
|
|
1706
1721
|
|
|
1707
1722
|
type GetAppointmentResponse {
|
|
@@ -2429,7 +2444,8 @@ input CalendarItemInviteComponentCounterInput {
|
|
|
2429
2444
|
status: InviteCompletionStatus
|
|
2430
2445
|
noBlob: Boolean
|
|
2431
2446
|
description: [CalendarItemInviteComponentDescriptionInput]
|
|
2432
|
-
draft: Boolean
|
|
2447
|
+
draft: Boolean,
|
|
2448
|
+
seq: Int
|
|
2433
2449
|
}
|
|
2434
2450
|
|
|
2435
2451
|
type CalendarItemAttendee {
|
|
@@ -2439,11 +2455,13 @@ type CalendarItemAttendee {
|
|
|
2439
2455
|
address: String
|
|
2440
2456
|
name: String
|
|
2441
2457
|
calendarUserType: String
|
|
2458
|
+
isGroup: Boolean
|
|
2442
2459
|
}
|
|
2443
2460
|
|
|
2444
2461
|
type CalendarItemReply {
|
|
2445
2462
|
participationStatus: ParticipationStatus
|
|
2446
2463
|
address: String
|
|
2464
|
+
isGroup: Boolean
|
|
2447
2465
|
}
|
|
2448
2466
|
|
|
2449
2467
|
input CalendarItemAttendeesInput {
|
|
@@ -2779,6 +2797,11 @@ input PreferencesInput {
|
|
|
2779
2797
|
zimbraPrefPrimaryTwoFactorAuthMethod: String
|
|
2780
2798
|
zimbraPrefDeleteInviteOnReply: Boolean
|
|
2781
2799
|
zimbraPrefMailDeliveryStatusNotification: Boolean
|
|
2800
|
+
zimbraPrefImapEnabled: Boolean
|
|
2801
|
+
zimbraPrefPop3Enabled: Boolean
|
|
2802
|
+
zimbraPrefPop3DownloadSince: String
|
|
2803
|
+
zimbraPrefPop3IncludeSpam: Boolean
|
|
2804
|
+
zimbraPrefPop3DeleteOption: Pop3DeleteOption
|
|
2782
2805
|
}
|
|
2783
2806
|
|
|
2784
2807
|
input ModifyIdentityInput {
|
|
@@ -3694,6 +3717,7 @@ type Mutation {
|
|
|
3694
3717
|
tagNames: String
|
|
3695
3718
|
name: String
|
|
3696
3719
|
isLocal: Boolean
|
|
3720
|
+
isBatchOperation: Boolean
|
|
3697
3721
|
recursive: Boolean
|
|
3698
3722
|
destFolderLocal: Boolean
|
|
3699
3723
|
): Boolean
|
|
@@ -3725,6 +3749,7 @@ type Mutation {
|
|
|
3725
3749
|
folderId: ID
|
|
3726
3750
|
op: String!
|
|
3727
3751
|
tagNames: String
|
|
3752
|
+
isBatchOperation: Boolean
|
|
3728
3753
|
): ActionOpResponse
|
|
3729
3754
|
conversationAction(ids: [ID!]!, op: String!): Boolean
|
|
3730
3755
|
counterAppointment(
|
|
@@ -3787,6 +3812,7 @@ type Mutation {
|
|
|
3787
3812
|
op: String!
|
|
3788
3813
|
tagNames: String
|
|
3789
3814
|
name: String
|
|
3815
|
+
isBatchOperation: Boolean
|
|
3790
3816
|
): Boolean
|
|
3791
3817
|
importExternalAccount(externalAccount: ExternalAccountImportInput!): Boolean
|
|
3792
3818
|
logout: Boolean
|
|
@@ -146,6 +146,7 @@ export type AccountInfoAttrs = {
|
|
|
146
146
|
zimbraFeatureMailSendLaterEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
147
147
|
zimbraFeatureManageZimlets?: Maybe<Scalars['Boolean']['output']>;
|
|
148
148
|
zimbraFeatureMobileSyncEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
149
|
+
zimbraFeatureOptionsEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
149
150
|
zimbraFeatureOutOfOfficeReplyEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
150
151
|
zimbraFeaturePop3DataSourceEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
151
152
|
zimbraFeaturePowerPasteEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -192,6 +193,7 @@ export type AccountInfoAttrs = {
|
|
|
192
193
|
zimbraPasswordMinNumericChars?: Maybe<Scalars['Int']['output']>;
|
|
193
194
|
zimbraPasswordMinPunctuationChars?: Maybe<Scalars['Int']['output']>;
|
|
194
195
|
zimbraPasswordMinUpperCaseChars?: Maybe<Scalars['Int']['output']>;
|
|
196
|
+
zimbraPop3Enabled?: Maybe<Scalars['Boolean']['output']>;
|
|
195
197
|
zimbraPublicSharingEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
196
198
|
zimbraSignupAffiliate?: Maybe<Scalars['String']['output']>;
|
|
197
199
|
zimbraSignupRecoveryEmail?: Maybe<Scalars['String']['output']>;
|
|
@@ -576,6 +578,7 @@ export type CalendarItemAttendee = {
|
|
|
576
578
|
__typename?: 'CalendarItemAttendee';
|
|
577
579
|
address?: Maybe<Scalars['String']['output']>;
|
|
578
580
|
calendarUserType?: Maybe<Scalars['String']['output']>;
|
|
581
|
+
isGroup?: Maybe<Scalars['Boolean']['output']>;
|
|
579
582
|
name?: Maybe<Scalars['String']['output']>;
|
|
580
583
|
participationStatus?: Maybe<ParticipationStatus>;
|
|
581
584
|
role?: Maybe<ParticipationRole>;
|
|
@@ -666,6 +669,7 @@ export type CalendarItemInviteComponentCounterInput = {
|
|
|
666
669
|
percentComplete?: InputMaybe<Scalars['String']['input']>;
|
|
667
670
|
priority?: InputMaybe<Scalars['String']['input']>;
|
|
668
671
|
recurrence?: InputMaybe<CalendarItemRecurrenceInput>;
|
|
672
|
+
seq?: InputMaybe<Scalars['Int']['input']>;
|
|
669
673
|
start: CalendarItemDateTimeInput;
|
|
670
674
|
status?: InputMaybe<InviteCompletionStatus>;
|
|
671
675
|
uid?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -768,6 +772,7 @@ export type CalendarItemRecurrenceRuleInput = {
|
|
|
768
772
|
export type CalendarItemReply = {
|
|
769
773
|
__typename?: 'CalendarItemReply';
|
|
770
774
|
address?: Maybe<Scalars['String']['output']>;
|
|
775
|
+
isGroup?: Maybe<Scalars['Boolean']['output']>;
|
|
771
776
|
participationStatus?: Maybe<ParticipationStatus>;
|
|
772
777
|
};
|
|
773
778
|
export type CalendarOptionalItemDateTimeInput = {
|
|
@@ -2507,6 +2512,7 @@ export type MutationActionArgs = {
|
|
|
2507
2512
|
folderId?: InputMaybe<Scalars['ID']['input']>;
|
|
2508
2513
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
2509
2514
|
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2515
|
+
isBatchOperation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2510
2516
|
isLocal?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2511
2517
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
2512
2518
|
op: Scalars['String']['input'];
|
|
@@ -2560,6 +2566,7 @@ export type MutationContactActionArgs = {
|
|
|
2560
2566
|
folderId?: InputMaybe<Scalars['ID']['input']>;
|
|
2561
2567
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
2562
2568
|
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2569
|
+
isBatchOperation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2563
2570
|
op: Scalars['String']['input'];
|
|
2564
2571
|
tagNames?: InputMaybe<Scalars['String']['input']>;
|
|
2565
2572
|
};
|
|
@@ -2682,6 +2689,7 @@ export type MutationItemActionArgs = {
|
|
|
2682
2689
|
folderId?: InputMaybe<Scalars['ID']['input']>;
|
|
2683
2690
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
2684
2691
|
ids?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
2692
|
+
isBatchOperation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2685
2693
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
2686
2694
|
op: Scalars['String']['input'];
|
|
2687
2695
|
tagNames?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2960,6 +2968,12 @@ export type PolicyAttrsInput = {
|
|
|
2960
2968
|
export type PolicyInput = {
|
|
2961
2969
|
policy?: InputMaybe<Array<InputMaybe<PolicyAttrsInput>>>;
|
|
2962
2970
|
};
|
|
2971
|
+
export declare enum Pop3DeleteOption {
|
|
2972
|
+
Delete = "delete",
|
|
2973
|
+
Keep = "keep",
|
|
2974
|
+
Read = "read",
|
|
2975
|
+
Trash = "trash"
|
|
2976
|
+
}
|
|
2963
2977
|
export declare enum PrefCalendarInitialView {
|
|
2964
2978
|
Day = "day",
|
|
2965
2979
|
List = "list",
|
|
@@ -3019,6 +3033,7 @@ export type Preferences = {
|
|
|
3019
3033
|
zimbraPrefHtmlEditorDefaultFontColor?: Maybe<Scalars['String']['output']>;
|
|
3020
3034
|
zimbraPrefHtmlEditorDefaultFontFamily?: Maybe<Scalars['String']['output']>;
|
|
3021
3035
|
zimbraPrefHtmlEditorDefaultFontSize?: Maybe<Scalars['String']['output']>;
|
|
3036
|
+
zimbraPrefImapEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
3022
3037
|
zimbraPrefLocale?: Maybe<Scalars['String']['output']>;
|
|
3023
3038
|
zimbraPrefMailDeliveryStatusNotification?: Maybe<Scalars['Boolean']['output']>;
|
|
3024
3039
|
zimbraPrefMailForwardingAddress?: Maybe<Scalars['String']['output']>;
|
|
@@ -3041,6 +3056,10 @@ export type Preferences = {
|
|
|
3041
3056
|
zimbraPrefOutOfOfficeUntilDate?: Maybe<Scalars['String']['output']>;
|
|
3042
3057
|
zimbraPrefPasswordRecoveryAddress?: Maybe<Scalars['String']['output']>;
|
|
3043
3058
|
zimbraPrefPasswordRecoveryAddressStatus?: Maybe<PasswordRecoveryAddressStatus>;
|
|
3059
|
+
zimbraPrefPop3DeleteOption?: Maybe<Pop3DeleteOption>;
|
|
3060
|
+
zimbraPrefPop3DownloadSince?: Maybe<Scalars['String']['output']>;
|
|
3061
|
+
zimbraPrefPop3Enabled?: Maybe<Scalars['Boolean']['output']>;
|
|
3062
|
+
zimbraPrefPop3IncludeSpam?: Maybe<Scalars['Boolean']['output']>;
|
|
3044
3063
|
zimbraPrefPowerPasteEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
3045
3064
|
zimbraPrefPrimaryTwoFactorAuthMethod?: Maybe<Scalars['String']['output']>;
|
|
3046
3065
|
zimbraPrefReadingPaneEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -3084,6 +3103,7 @@ export type PreferencesInput = {
|
|
|
3084
3103
|
zimbraPrefHtmlEditorDefaultFontColor?: InputMaybe<Scalars['String']['input']>;
|
|
3085
3104
|
zimbraPrefHtmlEditorDefaultFontFamily?: InputMaybe<Scalars['String']['input']>;
|
|
3086
3105
|
zimbraPrefHtmlEditorDefaultFontSize?: InputMaybe<Scalars['String']['input']>;
|
|
3106
|
+
zimbraPrefImapEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3087
3107
|
zimbraPrefLocale?: InputMaybe<Scalars['String']['input']>;
|
|
3088
3108
|
zimbraPrefMailDeliveryStatusNotification?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3089
3109
|
zimbraPrefMailForwardingAddress?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3104,6 +3124,10 @@ export type PreferencesInput = {
|
|
|
3104
3124
|
zimbraPrefOutOfOfficeStatusAlertOnLogin?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3105
3125
|
zimbraPrefOutOfOfficeSuppressExternalReply?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3106
3126
|
zimbraPrefOutOfOfficeUntilDate?: InputMaybe<Scalars['String']['input']>;
|
|
3127
|
+
zimbraPrefPop3DeleteOption?: InputMaybe<Pop3DeleteOption>;
|
|
3128
|
+
zimbraPrefPop3DownloadSince?: InputMaybe<Scalars['String']['input']>;
|
|
3129
|
+
zimbraPrefPop3Enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3130
|
+
zimbraPrefPop3IncludeSpam?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3107
3131
|
zimbraPrefPowerPasteEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3108
3132
|
zimbraPrefPrimaryTwoFactorAuthMethod?: InputMaybe<Scalars['String']['input']>;
|
|
3109
3133
|
zimbraPrefReadingPaneEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -3654,6 +3678,7 @@ export type SearchResponse = {
|
|
|
3654
3678
|
};
|
|
3655
3679
|
export declare enum SearchType {
|
|
3656
3680
|
Appointment = "appointment",
|
|
3681
|
+
Briefcase = "briefcase",
|
|
3657
3682
|
Contact = "contact",
|
|
3658
3683
|
Conversation = "conversation",
|
|
3659
3684
|
Document = "document",
|