@zimbra/api-client 79.0.0 → 80.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.
@@ -1354,6 +1354,7 @@ type AccountInfoAttrs {
1354
1354
  zimbraMailAttachmentMaxSize: Float
1355
1355
  zimbraMtaMaxMessageSize: Float
1356
1356
  zimbraMailAlias: [String]
1357
+ zimbraMailSignatureMaxLength: Float
1357
1358
  zimbraFeatureTaggingEnabled: Boolean
1358
1359
  zimbraIdentityMaxNumEntries: Int
1359
1360
  zimbraFeatureIdentitiesEnabled: Boolean
@@ -1553,6 +1554,7 @@ type Document {
1553
1554
  revisedCreationDate: Float #cd
1554
1555
  lockOwnerId: ID #loid
1555
1556
  flags: String #f
1557
+ docs: [Document]
1556
1558
  }
1557
1559
 
1558
1560
  type SearchResponse {
@@ -2453,6 +2455,12 @@ input InviteReplyInput {
2453
2455
  exceptId: InstanceDate
2454
2456
  }
2455
2457
 
2458
+ input PurgetRevisionInput {
2459
+ id: ID!
2460
+ ver: Int!
2461
+ includeOlderRevisions: Int
2462
+ }
2463
+
2456
2464
  input PropertiesInput {
2457
2465
  zimlet: String!
2458
2466
  name: String!
@@ -2973,6 +2981,7 @@ input SaveDocumentInput {
2973
2981
  descriptionEnabled: Boolean #descEnabled
2974
2982
  action: SaveDocumentAction
2975
2983
  type: SaveDocumentType
2984
+ document: SaveDocumentInput
2976
2985
  }
2977
2986
 
2978
2987
  type SaveDocument {
@@ -3189,6 +3198,7 @@ type Query {
3189
3198
  downloadMessage(id: ID!, isSecure: Boolean, isLocal: Boolean): SMimeMessage
3190
3199
  downloadAttachment(id: ID!, part: ID!): Attachment
3191
3200
  downloadDocument(id: ID!, url: String!): Attachment
3201
+ listDocumentRevisions(id: ID!, version: Int!, count: Int!): Document
3192
3202
  discoverRights(right: [DiscoverRightInput!]!): DiscoverRights
3193
3203
  freeBusy(names: [String!]!, start: Float, end: Float): [FreeBusy]
3194
3204
  getContact(
@@ -3492,6 +3502,7 @@ type Mutation {
3492
3502
  modifyTask(task: CalendarItemInput!): Boolean
3493
3503
  modifyWhiteBlackList(whiteBlackList: WhiteBlackListInput!): Boolean
3494
3504
  moveTask(inviteId: ID!, destFolderId: ID!): String
3505
+ purgeRevision(id: ID!, ver: Int!, includeOlderRevisions: Int): Boolean
3495
3506
  prefEnableOutOfOfficeAlertOnLogin(value: Boolean!): Boolean
3496
3507
  prefEnableOutOfOfficeReply(value: Boolean!): Boolean
3497
3508
  prefOutOfOfficeFromDate(value: String!): String
@@ -125,6 +125,7 @@ export declare class ZimbraBatchClient {
125
125
  importExternalAccount: ({ accountType, id }: ExternalAccountImportInput) => Promise<boolean>;
126
126
  itemAction: (options: ActionOptions) => Promise<boolean>;
127
127
  jsonRequest: (options: JsonRequestOptions) => Promise<any>;
128
+ listDocumentRevisions: ({ id, version, count }: any) => Promise<any>;
128
129
  login: ({ username, password, recoveryCode, tokenType, persistAuthTokenCookie, twoFactorCode, deviceTrusted, csrfTokenSecured, ignoreSameSite }: LoginOptions) => Promise<{}>;
129
130
  logout: () => Promise<boolean>;
130
131
  messageAction: (options: ActionOptions) => Promise<boolean>;
@@ -142,6 +143,7 @@ export declare class ZimbraBatchClient {
142
143
  modifyWhiteBlackList: (whiteBlackList: WhiteBlackListInput) => Promise<boolean>;
143
144
  modifyZimletPrefs: (zimlet: Array<ZimletPreferenceInput>) => Promise<any>;
144
145
  noop: ({ wait, limitToOneBlocked }: NoOpOptions, fetchOptions: any) => Promise<any>;
146
+ purgeRevision: ({ id, ver, includeOlderRevisions }: any) => Promise<boolean>;
145
147
  quarantineDeviceSync: (deviceId: String) => Promise<any>;
146
148
  recoverAccount: ({ channel, email, op }: RecoverAccountOptions) => Promise<any>;
147
149
  relatedContacts: ({ email }: RelatedContactsOptions) => Promise<any>;
@@ -31,6 +31,7 @@ export declare const Contact: Entity;
31
31
  export declare const AutoCompleteGALResponse: Entity;
32
32
  export declare const Appointment: Entity;
33
33
  export declare const Document: Entity;
34
+ export declare const ListDocumentRevisions: Entity;
34
35
  export declare const MessagePartInputForDocuments: Entity;
35
36
  export declare const SaveDocument: Entity;
36
37
  export declare const SearchResponse: Entity;
@@ -127,6 +127,7 @@ export declare type AccountInfoAttrs = {
127
127
  zimbraMailAttachmentMaxSize?: Maybe<Scalars['Float']>;
128
128
  zimbraMailBlacklistMaxNumEntries?: Maybe<Scalars['Int']>;
129
129
  zimbraMailQuota?: Maybe<Scalars['String']>;
130
+ zimbraMailSignatureMaxLength?: Maybe<Scalars['Float']>;
130
131
  zimbraMtaMaxMessageSize?: Maybe<Scalars['Float']>;
131
132
  zimbraPasswordAllowUsername?: Maybe<Scalars['Boolean']>;
132
133
  zimbraPasswordAllowedChars?: Maybe<Scalars['String']>;
@@ -1144,6 +1145,7 @@ export declare type Document = {
1144
1145
  contentType?: Maybe<Scalars['String']>;
1145
1146
  date?: Maybe<Scalars['Float']>;
1146
1147
  descriptionEnabled?: Maybe<Scalars['Boolean']>;
1148
+ docs?: Maybe<Array<Maybe<Document>>>;
1147
1149
  flags?: Maybe<Scalars['String']>;
1148
1150
  folderId?: Maybe<Scalars['ID']>;
1149
1151
  folderUuid?: Maybe<Scalars['String']>;
@@ -2213,6 +2215,7 @@ export declare type Mutation = {
2213
2215
  prefOutOfOfficeFromDate?: Maybe<Scalars['String']>;
2214
2216
  prefOutOfOfficeReply?: Maybe<Scalars['String']>;
2215
2217
  prefOutOfOfficeUntilDate?: Maybe<Scalars['String']>;
2218
+ purgeRevision?: Maybe<Scalars['Boolean']>;
2216
2219
  quarantineDeviceSync?: Maybe<Device>;
2217
2220
  recoverAccount?: Maybe<RecoverAccount>;
2218
2221
  remoteWipeSync?: Maybe<Device>;
@@ -2499,6 +2502,11 @@ export declare type MutationPrefOutOfOfficeReplyArgs = {
2499
2502
  export declare type MutationPrefOutOfOfficeUntilDateArgs = {
2500
2503
  value: Scalars['String'];
2501
2504
  };
2505
+ export declare type MutationPurgeRevisionArgs = {
2506
+ id: Scalars['ID'];
2507
+ includeOlderRevisions?: InputMaybe<Scalars['Int']>;
2508
+ ver: Scalars['Int'];
2509
+ };
2502
2510
  export declare type MutationQuarantineDeviceSyncArgs = {
2503
2511
  deviceId?: InputMaybe<Scalars['String']>;
2504
2512
  };
@@ -2831,6 +2839,11 @@ export declare type PropertiesInput = {
2831
2839
  name: Scalars['String'];
2832
2840
  zimlet: Scalars['String'];
2833
2841
  };
2842
+ export declare type PurgetRevisionInput = {
2843
+ id: Scalars['ID'];
2844
+ includeOlderRevisions?: InputMaybe<Scalars['Int']>;
2845
+ ver: Scalars['Int'];
2846
+ };
2834
2847
  export declare type Query = {
2835
2848
  __typename?: 'Query';
2836
2849
  accountInfo?: Maybe<AccountInfo>;
@@ -2875,6 +2888,7 @@ export declare type Query = {
2875
2888
  getTrustedDevices?: Maybe<GetTrustedDevicesResponse>;
2876
2889
  getWhiteBlackList?: Maybe<WhiteBlackList>;
2877
2890
  getWorkingHours?: Maybe<Array<Maybe<WorkingHours>>>;
2891
+ listDocumentRevisions?: Maybe<Document>;
2878
2892
  noop?: Maybe<NoOpResponse>;
2879
2893
  recoverAccount?: Maybe<RecoverAccount>;
2880
2894
  relatedContacts?: Maybe<Array<Maybe<RelatedContact>>>;
@@ -3029,6 +3043,11 @@ export declare type QueryGetWorkingHoursArgs = {
3029
3043
  names: Array<Scalars['String']>;
3030
3044
  start?: InputMaybe<Scalars['Float']>;
3031
3045
  };
3046
+ export declare type QueryListDocumentRevisionsArgs = {
3047
+ count: Scalars['Int'];
3048
+ id: Scalars['ID'];
3049
+ version: Scalars['Int'];
3050
+ };
3032
3051
  export declare type QueryNoopArgs = {
3033
3052
  limitToOneBlocked?: InputMaybe<Scalars['Int']>;
3034
3053
  wait?: InputMaybe<Scalars['Int']>;
@@ -3234,6 +3253,7 @@ export declare type SaveDocumentInput = {
3234
3253
  action?: InputMaybe<SaveDocumentAction>;
3235
3254
  contentType?: InputMaybe<Scalars['String']>;
3236
3255
  descriptionEnabled?: InputMaybe<Scalars['Boolean']>;
3256
+ document?: InputMaybe<SaveDocumentInput>;
3237
3257
  folderId?: InputMaybe<Scalars['ID']>;
3238
3258
  id?: InputMaybe<Scalars['ID']>;
3239
3259
  messageData?: InputMaybe<Array<InputMaybe<MessagePartForDocument>>>;