@zimbra/api-client 85.0.3 → 86.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 +1 -0
- package/dist/src/apollo/offline-queue-link/types.d.ts +2 -2
- package/dist/src/batch-client/types.d.ts +5 -5
- package/dist/src/normalize/types.d.ts +3 -3
- package/dist/src/request/types.d.ts +3 -3
- package/dist/src/schema/generated-schema-types.d.ts +468 -467
- package/dist/types.d.ts +2 -2
- package/dist/zm-api-js-client.esm.js +2499 -3476
- package/dist/zm-api-js-client.esm.js.map +1 -1
- package/dist/zm-api-js-client.js +19 -1
- package/dist/zm-api-js-client.js.map +1 -1
- package/dist/zm-api-js-client.umd.js +19 -1
- package/dist/zm-api-js-client.umd.js.map +1 -1
- package/package-lock.json +12969 -10357
- package/package.json +17 -18
- package/rollup.config.js +2 -2
- package/src/schema/generated-schema-types.ts +1 -0
- package/src/schema/schema.graphql +1 -0
package/dist/schema.graphql
CHANGED
|
@@ -1331,6 +1331,7 @@ type AccountInfoAttrs {
|
|
|
1331
1331
|
zimbraFeatureRelatedContactsEnabled: Boolean
|
|
1332
1332
|
zimbraFeatureMailForwardingEnabled: Boolean
|
|
1333
1333
|
zimbraFeatureMailForwardingInFiltersEnabled: Boolean
|
|
1334
|
+
zimbraFeatureRetentionPolicyEnabled: Boolean
|
|
1334
1335
|
zimbraPasswordAllowUsername: Boolean
|
|
1335
1336
|
zimbraPasswordBlockCommonEnabled: Boolean
|
|
1336
1337
|
zimbraPasswordMinAlphaChars: Int
|
|
@@ -4,14 +4,14 @@ export interface OfflineQueueLinkOptions {
|
|
|
4
4
|
storage: StorageProvider;
|
|
5
5
|
storeKey?: string;
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type OperationEntry = {
|
|
8
8
|
cancelQuery?: string;
|
|
9
9
|
forward: NextLink;
|
|
10
10
|
observer: Observer<FetchResult>;
|
|
11
11
|
offlineQuery?: string;
|
|
12
12
|
operation: Operation;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type OfflineOperationEntry = {
|
|
15
15
|
variables: any;
|
|
16
16
|
[key: string]: any;
|
|
17
17
|
};
|
|
@@ -29,14 +29,14 @@ export interface Notification {
|
|
|
29
29
|
modified?: any;
|
|
30
30
|
seq?: number;
|
|
31
31
|
}
|
|
32
|
-
export
|
|
33
|
-
export
|
|
32
|
+
export type NotificationHandler = (notificaton: Notification) => void;
|
|
33
|
+
export type UserAgent = {
|
|
34
34
|
name: string;
|
|
35
35
|
version: string;
|
|
36
36
|
};
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
37
|
+
export type writeSessionId = (sessionId: string) => void;
|
|
38
|
+
export type readSessionId = () => string;
|
|
39
|
+
export type SessionHandler = {
|
|
40
40
|
readSessionId: readSessionId;
|
|
41
41
|
writeSessionId: writeSessionId;
|
|
42
42
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Entity } from '.';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type RenamedKey = string;
|
|
3
|
+
export type RenamedEntity = [string, Entity];
|
|
4
|
+
export type EntityMappingValue = RenamedKey | RenamedEntity | Entity | {};
|
|
5
5
|
export interface EntityMapping {
|
|
6
6
|
[key: string]: EntityMappingValue;
|
|
7
7
|
}
|
|
@@ -5,8 +5,8 @@ export declare enum Namespace {
|
|
|
5
5
|
All = "urn:zimbra",
|
|
6
6
|
Sync = "urn:zimbraSync"
|
|
7
7
|
}
|
|
8
|
-
export
|
|
9
|
-
export
|
|
8
|
+
export type SessionId = string;
|
|
9
|
+
export type SessionSeq = number;
|
|
10
10
|
export interface UserAgent {
|
|
11
11
|
name?: string;
|
|
12
12
|
version?: string;
|
|
@@ -50,7 +50,7 @@ export interface RequestError {
|
|
|
50
50
|
error: any;
|
|
51
51
|
originalResponse: Response;
|
|
52
52
|
}
|
|
53
|
-
export
|
|
53
|
+
export type RequestBody = any;
|
|
54
54
|
export interface SingleBatchRequestResponse {
|
|
55
55
|
body?: RequestBody;
|
|
56
56
|
errors?: any;
|