@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 CHANGED
@@ -1,5 +1,4 @@
1
1
  #!/bin/sh
2
2
  . "$(dirname "$0")/_/husky.sh"
3
3
 
4
- npm run test:no-synacor-npm-refs
5
4
  npx lint-staged
@@ -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;
@@ -1,4 +1,4 @@
1
- import { InMemoryCache, InMemoryCacheConfig } from '@apollo/client';
1
+ import { InMemoryCache, InMemoryCacheConfig } from '@apollo/client/core';
2
2
  export declare class ZimbraInMemoryCache extends InMemoryCache {
3
3
  constructor(config?: InMemoryCacheConfig);
4
4
  }
@@ -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<any>;
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>;