@zimbra/api-client 77.0.0 → 79.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/.husky/pre-commit +0 -1
- package/dist/schema.graphql +2 -0
- package/dist/src/apollo/local-batch-link.d.ts +1 -1
- package/dist/src/apollo/offline-queue-link/index.d.ts +1 -1
- package/dist/src/apollo/offline-queue-link/types.d.ts +1 -2
- package/dist/src/apollo/offline-queue-link/util.d.ts +1 -1
- package/dist/src/apollo/zimbra-in-memory-cache.d.ts +1 -1
- package/dist/src/batch-client/index.d.ts +2 -1
- package/dist/src/schema/generated-schema-types.d.ts +716 -713
- package/dist/zm-api-js-client.esm.js +6035 -1387
- package/dist/zm-api-js-client.esm.js.map +1 -1
- package/dist/zm-api-js-client.js +1 -1
- package/dist/zm-api-js-client.js.map +1 -1
- package/dist/zm-api-js-client.umd.js +1 -1
- package/dist/zm-api-js-client.umd.js.map +1 -1
- package/package-lock.json +1889 -2793
- package/package.json +29 -31
- package/src/apollo/local-batch-link.ts +1 -1
- package/src/apollo/offline-queue-link/index.ts +8 -1
- package/src/apollo/offline-queue-link/types.ts +1 -2
- package/src/apollo/offline-queue-link/util.ts +1 -1
- package/src/apollo/zimbra-in-memory-cache.ts +1 -1
- package/src/batch-client/index.ts +38 -4
- package/src/schema/generated-schema-types.ts +716 -713
- package/src/schema/schema.graphql +2 -0
- package/src/schema/session-handler.ts +1 -1
- package/.tmp/introspected-schema.json +0 -31072
package/.husky/pre-commit
CHANGED
package/dist/schema.graphql
CHANGED
|
@@ -485,6 +485,7 @@ interface MailItem {
|
|
|
485
485
|
type ClientInfoAttributes {
|
|
486
486
|
zimbraWebClientLoginURL: String
|
|
487
487
|
zimbraWebClientLogoutURL: String
|
|
488
|
+
zimbraWebClientSkipLogoff: Boolean
|
|
488
489
|
zimbraFeatureResetPasswordStatus: ResetPasswordStatus
|
|
489
490
|
}
|
|
490
491
|
|
|
@@ -1309,6 +1310,7 @@ type AccountInfoAttrs {
|
|
|
1309
1310
|
zimbraFeatureMobileSyncEnabled: Boolean
|
|
1310
1311
|
zimbraFeatureRelatedContactsEnabled: Boolean
|
|
1311
1312
|
zimbraFeatureMailForwardingInFiltersEnabled: Boolean
|
|
1313
|
+
zimbraPasswordAllowUsername: Boolean
|
|
1312
1314
|
zimbraPasswordBlockCommonEnabled: Boolean
|
|
1313
1315
|
zimbraPasswordMinAlphaChars: Int
|
|
1314
1316
|
zimbraPasswordMinNumericChars: Int
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="zen-observable" />
|
|
2
|
-
import { ApolloLink, FetchResult, Observable, Operation } from '@apollo/client';
|
|
2
|
+
import { ApolloLink, FetchResult, Observable, Operation } from '@apollo/client/core';
|
|
3
3
|
import { LocalBatchLinkOptions } from './types';
|
|
4
4
|
export declare class LocalBatchLink extends ApolloLink {
|
|
5
5
|
off: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="zen-observable" />
|
|
2
|
-
import { ApolloLink, FetchResult, NextLink, Observable, Operation } from '@apollo/client';
|
|
2
|
+
import { ApolloLink, FetchResult, NextLink, Observable, Operation } from '@apollo/client/core';
|
|
3
3
|
import { OfflineQueueLinkOptions, OperationEntry, StorageProvider } from './types';
|
|
4
4
|
export declare class OfflineQueueLink extends ApolloLink {
|
|
5
5
|
isOpen: boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { FetchResult, NextLink, Operation } from '@apollo/client';
|
|
2
|
-
import { Observer } from '@apollo/client';
|
|
1
|
+
import { FetchResult, NextLink, Observer, Operation } from '@apollo/client/core';
|
|
3
2
|
export interface OfflineQueueLinkOptions {
|
|
4
3
|
isOpen?: boolean;
|
|
5
4
|
storage: StorageProvider;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Operation } from '@apollo/client';
|
|
1
|
+
import { Operation } from '@apollo/client/core';
|
|
2
2
|
import { OfflineOperationEntry, OperationEntry } from './types';
|
|
3
3
|
export declare function hasSensitiveVariables(operation: Operation): boolean;
|
|
4
4
|
export declare function isMutationOperation({ query }: Operation): boolean;
|
|
@@ -75,6 +75,7 @@ export declare class ZimbraBatchClient {
|
|
|
75
75
|
isSecure: any;
|
|
76
76
|
}>;
|
|
77
77
|
enableTwoFactorAuth: ({ name, password, authToken, twoFactorCode, csrfTokenSecured, ignoreSameSite }: EnableTwoFactorAuthInput) => Promise<any>;
|
|
78
|
+
endSessionBeaconRequest: (options: JsonRequestOptions) => void;
|
|
78
79
|
folderAction: (options: ActionOptions) => Promise<boolean>;
|
|
79
80
|
forwardAppointment: (body: ForwardAppointmentInput) => Promise<boolean>;
|
|
80
81
|
forwardAppointmentInvite: (body: ForwardAppointmentInviteInput) => Promise<boolean>;
|
|
@@ -146,7 +147,7 @@ export declare class ZimbraBatchClient {
|
|
|
146
147
|
relatedContacts: ({ email }: RelatedContactsOptions) => Promise<any>;
|
|
147
148
|
remoteWipeSync: (deviceId: String) => Promise<any>;
|
|
148
149
|
removeDeviceSync: (deviceId: String) => Promise<any>;
|
|
149
|
-
resetPassword: ({ password, dryRun, getPasswordRules, cancelResetPassword }: ResetPasswordOptions) => Promise<
|
|
150
|
+
resetPassword: ({ password, dryRun, getPasswordRules, cancelResetPassword }: ResetPasswordOptions) => Promise<{}>;
|
|
150
151
|
resolve: (path: string) => string;
|
|
151
152
|
revokeAppSpecificPassword: (appName: string) => Promise<boolean>;
|
|
152
153
|
revokeOtherTrustedDevices: () => Promise<boolean>;
|