@zimbra/api-client 92.1.0 → 94.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.
@@ -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 {
@@ -337,6 +343,7 @@ type AuthResponse {
337
343
  session: Session
338
344
  skin: [Skin]
339
345
  csrfToken: CsrfToken
346
+ resetPassword: ResetPassword
340
347
  }
341
348
 
342
349
  type ScratchCodeType {
@@ -382,6 +389,10 @@ type TrustedDevicesEnabled {
382
389
  _content: Boolean
383
390
  }
384
391
 
392
+ type ResetPassword {
393
+ _content: Boolean
394
+ }
395
+
385
396
  type Session {
386
397
  id: ID
387
398
  _content: String
@@ -2110,6 +2121,8 @@ type MailboxMetadataAttrs {
2110
2121
  zimbraPrefSMIMEDefaultSetting: String
2111
2122
  zimbraPrefSMIMELastOperation: String
2112
2123
  zimbraPrefContactSourceFolderID: String
2124
+ zimbraPrefHideMuteConvModal: Boolean
2125
+ zimbraPrefColorMode: String
2113
2126
  }
2114
2127
 
2115
2128
  type MailboxMetadataMeta {
@@ -2143,6 +2156,8 @@ input MailboxMetadataSectionAttrsInput {
2143
2156
  zimbraPrefSMIMEDefaultSetting: String
2144
2157
  zimbraPrefSMIMELastOperation: String
2145
2158
  zimbraPrefContactSourceFolderID: String
2159
+ zimbraPrefHideMuteConvModal: Boolean
2160
+ zimbraPrefColorMode: String
2146
2161
  }
2147
2162
 
2148
2163
  type MimePart {
@@ -2284,7 +2299,7 @@ input CalendarItemMessageInput {
2284
2299
  }
2285
2300
 
2286
2301
  input CounterAppointmentInput {
2287
- id: ID!
2302
+ id: ID
2288
2303
  modifiedSequence: Float
2289
2304
  revision: Float
2290
2305
  componentNum: Int # comp
@@ -2413,7 +2428,7 @@ type CalendarItemAttendee {
2413
2428
 
2414
2429
  type CalendarItemReply {
2415
2430
  participationStatus: ParticipationStatus
2416
- attendee: String
2431
+ address: String
2417
2432
  }
2418
2433
 
2419
2434
  input CalendarItemAttendeesInput {
@@ -3079,7 +3094,6 @@ input EnableTwoFactorAuthInput {
3079
3094
  twoFactorCode: String
3080
3095
  authToken: String
3081
3096
  csrfTokenSecured: Boolean!
3082
- ignoreSameSite: Boolean
3083
3097
  }
3084
3098
 
3085
3099
  input SendTwoFactorAuthCodeInput {
@@ -3675,6 +3689,8 @@ type Mutation {
3675
3689
  loginNewPassword: String!
3676
3690
  password: String!
3677
3691
  username: String!
3692
+ authToken: String
3693
+ csrfToken: String
3678
3694
  ): AuthResponse
3679
3695
  modifyProfileImage(
3680
3696
  content: String
@@ -3761,7 +3777,6 @@ type Mutation {
3761
3777
  twoFactorCode: String
3762
3778
  deviceTrusted: Boolean
3763
3779
  csrfTokenSecured: Boolean!
3764
- ignoreSameSite: Boolean
3765
3780
  ): AuthResponse
3766
3781
  enableTwoFactorAuth(
3767
3782
  options: EnableTwoFactorAuthInput!
@@ -32,7 +32,7 @@ export declare class ZimbraBatchClient {
32
32
  cancelPendingRemoteWipeSync: (deviceId: String) => Promise<any>;
33
33
  cancelTask: ({ inviteId }: any) => Promise<boolean>;
34
34
  changeFolderColor: ({ id, color }: FolderActionChangeColorInput) => Promise<boolean>;
35
- changePassword: ({ loginNewPassword, password, username, dryRun }: ChangePasswordOptions) => Promise<any>;
35
+ changePassword: ({ loginNewPassword, password, username, dryRun, authToken, csrfToken }: ChangePasswordOptions) => Promise<any>;
36
36
  checkCalendar: ({ id, value }: FolderActionCheckCalendarInput) => Promise<boolean>;
37
37
  clientInfo: ({ by, domain }: any) => Promise<any>;
38
38
  contactAction: (options: ActionOptions) => Promise<boolean>;
@@ -73,7 +73,7 @@ export declare class ZimbraBatchClient {
73
73
  content: any;
74
74
  isSecure: any;
75
75
  }>;
76
- enableTwoFactorAuth: ({ name, email, method, password, authToken, twoFactorCode, csrfTokenSecured, ignoreSameSite }: EnableTwoFactorAuthInput) => Promise<any>;
76
+ enableTwoFactorAuth: ({ name, email, method, password, authToken, twoFactorCode, csrfTokenSecured }: EnableTwoFactorAuthInput) => Promise<any>;
77
77
  endSessionBeaconRequest: (options: JsonRequestOptions) => void;
78
78
  folderAction: (options: ActionOptions) => Promise<boolean>;
79
79
  forwardAppointment: (body: ForwardAppointmentInput) => Promise<boolean>;
@@ -129,7 +129,7 @@ export declare class ZimbraBatchClient {
129
129
  itemAction: (options: ActionOptions) => Promise<boolean>;
130
130
  jsonRequest: (options: JsonRequestOptions) => Promise<any>;
131
131
  listDocumentRevisions: ({ id, version, count }: any) => Promise<any>;
132
- login: ({ username, password, recoveryCode, tokenType, persistAuthTokenCookie, twoFactorCode, deviceTrusted, csrfTokenSecured, ignoreSameSite }: LoginOptions) => Promise<any>;
132
+ login: ({ username, password, recoveryCode, tokenType, persistAuthTokenCookie, twoFactorCode, deviceTrusted, csrfTokenSecured }: LoginOptions) => Promise<any>;
133
133
  logout: () => Promise<boolean>;
134
134
  messageAction: (options: ActionOptions) => Promise<boolean>;
135
135
  modifyAppointment: (accountName: string, appointment: CalendarItemInput) => Promise<any>;
@@ -191,6 +191,8 @@ export interface ShareInfoOptions {
191
191
  owner?: Owner;
192
192
  }
193
193
  export interface ChangePasswordOptions {
194
+ authToken: string;
195
+ csrfToken: string;
194
196
  dryRun: boolean;
195
197
  loginNewPassword: string;
196
198
  password: string;
@@ -203,7 +205,6 @@ export interface ModifyProfileImageOptions {
203
205
  export interface LoginOptions {
204
206
  csrfTokenSecured: boolean;
205
207
  deviceTrusted?: boolean;
206
- ignoreSameSite?: boolean;
207
208
  password: string;
208
209
  persistAuthTokenCookie?: boolean;
209
210
  recoveryCode?: string;
@@ -376,6 +376,7 @@ export type AuthResponse = {
376
376
  authToken?: Maybe<Array<Maybe<AuthToken>>>;
377
377
  csrfToken?: Maybe<CsrfToken>;
378
378
  lifetime?: Maybe<Scalars['Float']['output']>;
379
+ resetPassword?: Maybe<ResetPassword>;
379
380
  session?: Maybe<Session>;
380
381
  skin?: Maybe<Array<Maybe<Skin>>>;
381
382
  trustedDevicesEnabled?: Maybe<TrustedDevicesEnabled>;
@@ -756,7 +757,7 @@ export type CalendarItemRecurrenceRuleInput = {
756
757
  };
757
758
  export type CalendarItemReply = {
758
759
  __typename?: 'CalendarItemReply';
759
- attendee?: Maybe<Scalars['String']['output']>;
760
+ address?: Maybe<Scalars['String']['output']>;
760
761
  participationStatus?: Maybe<ParticipationStatus>;
761
762
  };
762
763
  export type CalendarOptionalItemDateTimeInput = {
@@ -1051,7 +1052,7 @@ export type ConversationConditionInput = {
1051
1052
  };
1052
1053
  export type CounterAppointmentInput = {
1053
1054
  componentNum?: InputMaybe<Scalars['Int']['input']>;
1054
- id: Scalars['ID']['input'];
1055
+ id?: InputMaybe<Scalars['ID']['input']>;
1055
1056
  message: CounterAppointmentMessageInput;
1056
1057
  modifiedSequence?: InputMaybe<Scalars['Float']['input']>;
1057
1058
  revision?: InputMaybe<Scalars['Float']['input']>;
@@ -1395,7 +1396,6 @@ export type EnableTwoFactorAuthInput = {
1395
1396
  authToken?: InputMaybe<Scalars['String']['input']>;
1396
1397
  csrfTokenSecured: Scalars['Boolean']['input'];
1397
1398
  email?: InputMaybe<Scalars['String']['input']>;
1398
- ignoreSameSite?: InputMaybe<Scalars['Boolean']['input']>;
1399
1399
  method: Scalars['String']['input'];
1400
1400
  name: Scalars['String']['input'];
1401
1401
  password?: InputMaybe<Scalars['String']['input']>;
@@ -2105,11 +2105,17 @@ export declare enum LicenseStatus {
2105
2105
  ActivationGracePeriod = "ACTIVATION_GRACE_PERIOD",
2106
2106
  Expired = "EXPIRED",
2107
2107
  Invalid = "INVALID",
2108
+ InvalidLicense = "INVALID_LICENSE",
2109
+ InvalidLicenseUsageLimit = "INVALID_LICENSE_USAGE_LIMIT",
2108
2110
  InFuture = "IN_FUTURE",
2111
+ LicenseActivationRestricted = "LICENSE_ACTIVATION_RESTRICTED",
2109
2112
  LicenseGracePeriod = "LICENSE_GRACE_PERIOD",
2113
+ LicenseInvalidSupportEndDate = "LICENSE_INVALID_SUPPORT_END_DATE",
2110
2114
  NotActivated = "NOT_ACTIVATED",
2111
2115
  NotInstalled = "NOT_INSTALLED",
2112
- Ok = "OK"
2116
+ NumberOfActivationsExceed = "NUMBER_OF_ACTIVATIONS_EXCEED",
2117
+ Ok = "OK",
2118
+ TrialHasExpired = "TRIAL_HAS_EXPIRED"
2113
2119
  }
2114
2120
  export type Locale = {
2115
2121
  __typename?: 'Locale';
@@ -2156,6 +2162,7 @@ export type MailboxMetadataAttrs = {
2156
2162
  archivedFolder?: Maybe<Scalars['String']['output']>;
2157
2163
  privacyOverlayPrefs_showOverlay?: Maybe<Scalars['Boolean']['output']>;
2158
2164
  privacyOverlayPrefs_timeOut?: Maybe<Scalars['Int']['output']>;
2165
+ zimbraPrefColorMode?: Maybe<Scalars['String']['output']>;
2159
2166
  zimbraPrefContactSourceFolderID?: Maybe<Scalars['String']['output']>;
2160
2167
  zimbraPrefCustomFolderTreeOpen?: Maybe<Scalars['Boolean']['output']>;
2161
2168
  zimbraPrefDateFormat?: Maybe<Scalars['String']['output']>;
@@ -2163,6 +2170,7 @@ export type MailboxMetadataAttrs = {
2163
2170
  zimbraPrefFoldersExpanded?: Maybe<Scalars['String']['output']>;
2164
2171
  zimbraPrefGenerateLinkPreviews?: Maybe<Scalars['Boolean']['output']>;
2165
2172
  zimbraPrefGroupByList?: Maybe<Scalars['String']['output']>;
2173
+ zimbraPrefHideMuteConvModal?: Maybe<Scalars['Boolean']['output']>;
2166
2174
  zimbraPrefMessageListDensity?: Maybe<Scalars['String']['output']>;
2167
2175
  zimbraPrefMultitasking?: Maybe<Scalars['String']['output']>;
2168
2176
  zimbraPrefReadingPaneSashHorizontal?: Maybe<Scalars['Int']['output']>;
@@ -2184,6 +2192,7 @@ export type MailboxMetadataSectionAttrsInput = {
2184
2192
  archivedFolder?: InputMaybe<Scalars['String']['input']>;
2185
2193
  privacyOverlayPrefs_showOverlay?: InputMaybe<Scalars['Boolean']['input']>;
2186
2194
  privacyOverlayPrefs_timeOut?: InputMaybe<Scalars['Int']['input']>;
2195
+ zimbraPrefColorMode?: InputMaybe<Scalars['String']['input']>;
2187
2196
  zimbraPrefContactSourceFolderID?: InputMaybe<Scalars['String']['input']>;
2188
2197
  zimbraPrefCustomFolderTreeOpen?: InputMaybe<Scalars['Boolean']['input']>;
2189
2198
  zimbraPrefDateFormat?: InputMaybe<Scalars['String']['input']>;
@@ -2191,6 +2200,7 @@ export type MailboxMetadataSectionAttrsInput = {
2191
2200
  zimbraPrefFoldersExpanded?: InputMaybe<Scalars['String']['input']>;
2192
2201
  zimbraPrefGenerateLinkPreviews?: InputMaybe<Scalars['Boolean']['input']>;
2193
2202
  zimbraPrefGroupByList?: InputMaybe<Scalars['String']['input']>;
2203
+ zimbraPrefHideMuteConvModal?: InputMaybe<Scalars['Boolean']['input']>;
2194
2204
  zimbraPrefMessageListDensity?: InputMaybe<Scalars['String']['input']>;
2195
2205
  zimbraPrefMultitasking?: InputMaybe<Scalars['String']['input']>;
2196
2206
  zimbraPrefReadingPaneSashHorizontal?: InputMaybe<Scalars['Int']['input']>;
@@ -2521,6 +2531,8 @@ export type MutationChangeFolderColorArgs = {
2521
2531
  id: Scalars['ID']['input'];
2522
2532
  };
2523
2533
  export type MutationChangePasswordArgs = {
2534
+ authToken?: InputMaybe<Scalars['String']['input']>;
2535
+ csrfToken?: InputMaybe<Scalars['String']['input']>;
2524
2536
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
2525
2537
  loginNewPassword: Scalars['String']['input'];
2526
2538
  password: Scalars['String']['input'];
@@ -2663,7 +2675,6 @@ export type MutationItemActionArgs = {
2663
2675
  export type MutationLoginArgs = {
2664
2676
  csrfTokenSecured: Scalars['Boolean']['input'];
2665
2677
  deviceTrusted?: InputMaybe<Scalars['Boolean']['input']>;
2666
- ignoreSameSite?: InputMaybe<Scalars['Boolean']['input']>;
2667
2678
  password?: InputMaybe<Scalars['String']['input']>;
2668
2679
  persistAuthTokenCookie?: InputMaybe<Scalars['Boolean']['input']>;
2669
2680
  recoveryCode?: InputMaybe<Scalars['String']['input']>;
@@ -3482,6 +3493,10 @@ export type ReplyActionInput = {
3482
3493
  content?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
3483
3494
  index?: InputMaybe<Scalars['Int']['input']>;
3484
3495
  };
3496
+ export type ResetPassword = {
3497
+ __typename?: 'ResetPassword';
3498
+ _content?: Maybe<Scalars['Boolean']['output']>;
3499
+ };
3485
3500
  export type ResetPasswordResponse = {
3486
3501
  __typename?: 'ResetPasswordResponse';
3487
3502
  attrs?: Maybe<ResetPasswordResponseAttributes>;