@zimbra/api-client 92.0.0 → 93.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 +12 -2
- package/dist/src/schema/generated-schema-types.d.ts +13 -3
- package/dist/zm-api-js-client.esm.js +10 -5
- package/dist/zm-api-js-client.esm.js.map +1 -1
- package/dist/zm-api-js-client.js +4 -4
- 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 +7 -7
- package/package.json +1 -1
- package/src/apollo/zimbra-in-memory-cache.ts +4 -2
- package/src/normalize/entities.ts +1 -1
- package/src/schema/generated-schema-types.ts +13 -3
- package/src/schema/schema.graphql +12 -2
package/package-lock.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zimbra/api-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "93.0.0",
|
|
4
4
|
"lockfileVersion": 1,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"dependencies": {
|
|
@@ -5742,9 +5742,9 @@
|
|
|
5742
5742
|
"dev": true
|
|
5743
5743
|
},
|
|
5744
5744
|
"dset": {
|
|
5745
|
-
"version": "3.1.
|
|
5746
|
-
"resolved": "https://registry.npmjs.org/dset/-/dset-3.1.
|
|
5747
|
-
"integrity": "sha512-
|
|
5745
|
+
"version": "3.1.4",
|
|
5746
|
+
"resolved": "https://registry.npmjs.org/dset/-/dset-3.1.4.tgz",
|
|
5747
|
+
"integrity": "sha512-2QF/g9/zTaPDc3BjNcVTGoBbXBgYfMTTceLaYcFJ/W9kggFUkhxD/hMEeuLKbugyef9SqAx8cpgwlIP/jinUTA=="
|
|
5748
5748
|
},
|
|
5749
5749
|
"eastasianwidth": {
|
|
5750
5750
|
"version": "0.2.0",
|
|
@@ -8859,9 +8859,9 @@
|
|
|
8859
8859
|
}
|
|
8860
8860
|
},
|
|
8861
8861
|
"rollup": {
|
|
8862
|
-
"version": "2.79.
|
|
8863
|
-
"resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.
|
|
8864
|
-
"integrity": "sha512-
|
|
8862
|
+
"version": "2.79.2",
|
|
8863
|
+
"resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.2.tgz",
|
|
8864
|
+
"integrity": "sha512-fS6iqSPZDs3dr/y7Od6y5nha8dW1YnbgtsyotCVvoFGKbERG++CVRFv1meyGDE1SNItQA8BrnCw7ScdAhRJ3XQ==",
|
|
8865
8865
|
"dev": true,
|
|
8866
8866
|
"requires": {
|
|
8867
8867
|
"fsevents": "~2.3.2"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zimbra/api-client",
|
|
3
3
|
"amdName": "zmApiJsClient",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "93.0.0",
|
|
5
5
|
"description": "Zimbra JS API Client and GraphQL client for making requests against the Zimbra SOAP API.",
|
|
6
6
|
"main": "dist/zm-api-js-client.js",
|
|
7
7
|
"source": "index.ts",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defaultDataIdFromObject, InMemoryCache, InMemoryCacheConfig } from '@apollo/client/core';
|
|
2
2
|
import get from 'lodash/get';
|
|
3
|
-
import isEqual from 'lodash/isEqual';
|
|
4
3
|
import uniqWith from 'lodash/uniqWith';
|
|
5
4
|
import { EmailAddress } from './types';
|
|
6
5
|
|
|
@@ -97,7 +96,10 @@ const typePolicies = {
|
|
|
97
96
|
fields: {
|
|
98
97
|
emailAddresses: {
|
|
99
98
|
merge(existing: EmailAddress[], incoming: EmailAddress[]) {
|
|
100
|
-
return uniqWith(
|
|
99
|
+
return uniqWith(
|
|
100
|
+
[...(existing || []), ...(incoming || [])],
|
|
101
|
+
(a, b) => a.address === b.address && a.type === b.type
|
|
102
|
+
);
|
|
101
103
|
}
|
|
102
104
|
}
|
|
103
105
|
}
|
|
@@ -819,7 +819,7 @@ export type CalendarItemRecurrenceRuleInput = {
|
|
|
819
819
|
|
|
820
820
|
export type CalendarItemReply = {
|
|
821
821
|
__typename?: 'CalendarItemReply';
|
|
822
|
-
|
|
822
|
+
address?: Maybe<Scalars['String']['output']>;
|
|
823
823
|
participationStatus?: Maybe<ParticipationStatus>;
|
|
824
824
|
};
|
|
825
825
|
|
|
@@ -1136,7 +1136,7 @@ export type ConversationConditionInput = {
|
|
|
1136
1136
|
|
|
1137
1137
|
export type CounterAppointmentInput = {
|
|
1138
1138
|
componentNum?: InputMaybe<Scalars['Int']['input']>;
|
|
1139
|
-
id
|
|
1139
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1140
1140
|
message: CounterAppointmentMessageInput;
|
|
1141
1141
|
modifiedSequence?: InputMaybe<Scalars['Float']['input']>;
|
|
1142
1142
|
revision?: InputMaybe<Scalars['Float']['input']>;
|
|
@@ -2329,11 +2329,17 @@ export enum LicenseStatus {
|
|
|
2329
2329
|
ActivationGracePeriod = 'ACTIVATION_GRACE_PERIOD',
|
|
2330
2330
|
Expired = 'EXPIRED',
|
|
2331
2331
|
Invalid = 'INVALID',
|
|
2332
|
+
InvalidLicense = 'INVALID_LICENSE',
|
|
2333
|
+
InvalidLicenseUsageLimit = 'INVALID_LICENSE_USAGE_LIMIT',
|
|
2332
2334
|
InFuture = 'IN_FUTURE',
|
|
2335
|
+
LicenseActivationRestricted = 'LICENSE_ACTIVATION_RESTRICTED',
|
|
2333
2336
|
LicenseGracePeriod = 'LICENSE_GRACE_PERIOD',
|
|
2337
|
+
LicenseInvalidSupportEndDate = 'LICENSE_INVALID_SUPPORT_END_DATE',
|
|
2334
2338
|
NotActivated = 'NOT_ACTIVATED',
|
|
2335
2339
|
NotInstalled = 'NOT_INSTALLED',
|
|
2336
|
-
|
|
2340
|
+
NumberOfActivationsExceed = 'NUMBER_OF_ACTIVATIONS_EXCEED',
|
|
2341
|
+
Ok = 'OK',
|
|
2342
|
+
TrialHasExpired = 'TRIAL_HAS_EXPIRED'
|
|
2337
2343
|
}
|
|
2338
2344
|
|
|
2339
2345
|
export type Locale = {
|
|
@@ -2386,6 +2392,7 @@ export type MailboxMetadataAttrs = {
|
|
|
2386
2392
|
archivedFolder?: Maybe<Scalars['String']['output']>;
|
|
2387
2393
|
privacyOverlayPrefs_showOverlay?: Maybe<Scalars['Boolean']['output']>;
|
|
2388
2394
|
privacyOverlayPrefs_timeOut?: Maybe<Scalars['Int']['output']>;
|
|
2395
|
+
zimbraPrefColorMode?: Maybe<Scalars['String']['output']>;
|
|
2389
2396
|
zimbraPrefContactSourceFolderID?: Maybe<Scalars['String']['output']>;
|
|
2390
2397
|
zimbraPrefCustomFolderTreeOpen?: Maybe<Scalars['Boolean']['output']>;
|
|
2391
2398
|
zimbraPrefDateFormat?: Maybe<Scalars['String']['output']>;
|
|
@@ -2393,6 +2400,7 @@ export type MailboxMetadataAttrs = {
|
|
|
2393
2400
|
zimbraPrefFoldersExpanded?: Maybe<Scalars['String']['output']>;
|
|
2394
2401
|
zimbraPrefGenerateLinkPreviews?: Maybe<Scalars['Boolean']['output']>;
|
|
2395
2402
|
zimbraPrefGroupByList?: Maybe<Scalars['String']['output']>;
|
|
2403
|
+
zimbraPrefHideMuteConvModal?: Maybe<Scalars['Boolean']['output']>;
|
|
2396
2404
|
zimbraPrefMessageListDensity?: Maybe<Scalars['String']['output']>;
|
|
2397
2405
|
zimbraPrefMultitasking?: Maybe<Scalars['String']['output']>;
|
|
2398
2406
|
zimbraPrefReadingPaneSashHorizontal?: Maybe<Scalars['Int']['output']>;
|
|
@@ -2416,6 +2424,7 @@ export type MailboxMetadataSectionAttrsInput = {
|
|
|
2416
2424
|
archivedFolder?: InputMaybe<Scalars['String']['input']>;
|
|
2417
2425
|
privacyOverlayPrefs_showOverlay?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2418
2426
|
privacyOverlayPrefs_timeOut?: InputMaybe<Scalars['Int']['input']>;
|
|
2427
|
+
zimbraPrefColorMode?: InputMaybe<Scalars['String']['input']>;
|
|
2419
2428
|
zimbraPrefContactSourceFolderID?: InputMaybe<Scalars['String']['input']>;
|
|
2420
2429
|
zimbraPrefCustomFolderTreeOpen?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2421
2430
|
zimbraPrefDateFormat?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2423,6 +2432,7 @@ export type MailboxMetadataSectionAttrsInput = {
|
|
|
2423
2432
|
zimbraPrefFoldersExpanded?: InputMaybe<Scalars['String']['input']>;
|
|
2424
2433
|
zimbraPrefGenerateLinkPreviews?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2425
2434
|
zimbraPrefGroupByList?: InputMaybe<Scalars['String']['input']>;
|
|
2435
|
+
zimbraPrefHideMuteConvModal?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2426
2436
|
zimbraPrefMessageListDensity?: InputMaybe<Scalars['String']['input']>;
|
|
2427
2437
|
zimbraPrefMultitasking?: InputMaybe<Scalars['String']['input']>;
|
|
2428
2438
|
zimbraPrefReadingPaneSashHorizontal?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -274,6 +274,12 @@ enum LicenseStatus {
|
|
|
274
274
|
INVALID
|
|
275
275
|
LICENSE_GRACE_PERIOD
|
|
276
276
|
ACTIVATION_GRACE_PERIOD
|
|
277
|
+
INVALID_LICENSE
|
|
278
|
+
TRIAL_HAS_EXPIRED
|
|
279
|
+
INVALID_LICENSE_USAGE_LIMIT
|
|
280
|
+
NUMBER_OF_ACTIVATIONS_EXCEED
|
|
281
|
+
LICENSE_ACTIVATION_RESTRICTED
|
|
282
|
+
LICENSE_INVALID_SUPPORT_END_DATE
|
|
277
283
|
}
|
|
278
284
|
|
|
279
285
|
enum SetRecoveryAccountOp {
|
|
@@ -2110,6 +2116,8 @@ type MailboxMetadataAttrs {
|
|
|
2110
2116
|
zimbraPrefSMIMEDefaultSetting: String
|
|
2111
2117
|
zimbraPrefSMIMELastOperation: String
|
|
2112
2118
|
zimbraPrefContactSourceFolderID: String
|
|
2119
|
+
zimbraPrefHideMuteConvModal: Boolean
|
|
2120
|
+
zimbraPrefColorMode: String
|
|
2113
2121
|
}
|
|
2114
2122
|
|
|
2115
2123
|
type MailboxMetadataMeta {
|
|
@@ -2143,6 +2151,8 @@ input MailboxMetadataSectionAttrsInput {
|
|
|
2143
2151
|
zimbraPrefSMIMEDefaultSetting: String
|
|
2144
2152
|
zimbraPrefSMIMELastOperation: String
|
|
2145
2153
|
zimbraPrefContactSourceFolderID: String
|
|
2154
|
+
zimbraPrefHideMuteConvModal: Boolean
|
|
2155
|
+
zimbraPrefColorMode: String
|
|
2146
2156
|
}
|
|
2147
2157
|
|
|
2148
2158
|
type MimePart {
|
|
@@ -2284,7 +2294,7 @@ input CalendarItemMessageInput {
|
|
|
2284
2294
|
}
|
|
2285
2295
|
|
|
2286
2296
|
input CounterAppointmentInput {
|
|
2287
|
-
id: ID
|
|
2297
|
+
id: ID
|
|
2288
2298
|
modifiedSequence: Float
|
|
2289
2299
|
revision: Float
|
|
2290
2300
|
componentNum: Int # comp
|
|
@@ -2413,7 +2423,7 @@ type CalendarItemAttendee {
|
|
|
2413
2423
|
|
|
2414
2424
|
type CalendarItemReply {
|
|
2415
2425
|
participationStatus: ParticipationStatus
|
|
2416
|
-
|
|
2426
|
+
address: String
|
|
2417
2427
|
}
|
|
2418
2428
|
|
|
2419
2429
|
input CalendarItemAttendeesInput {
|