@zimbra/api-client 101.0.1-master.99c534c.0 → 101.0.1-master.b403bf8.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.
@@ -1175,6 +1175,7 @@ type Folder {
1175
1175
  absFolderPath: String
1176
1176
  acl: ACL
1177
1177
  color: Int
1178
+ rgb: String
1178
1179
  flags: String
1179
1180
  id: ID
1180
1181
  uuid: ID
@@ -3047,6 +3048,11 @@ input ForwardMessageInput {
3047
3048
  emailAddresses: [MailItemEmailAddressInput] #e
3048
3049
  }
3049
3050
 
3051
+ input RedirectMessgeInput {
3052
+ id: ID!
3053
+ emailAddresses: [MailItemEmailAddressInput]
3054
+ }
3055
+
3050
3056
  input ShareNotificationInput {
3051
3057
  action: ShareInputAction
3052
3058
  item: ShareNotificationItemInput!
@@ -3643,7 +3649,7 @@ type Query {
3643
3649
  getMessagesMetadata(ids: [ID!]!, isLocal: Boolean): [MessageInfo]
3644
3650
  getRights(input: GetRightsInput!): RightsResponse
3645
3651
  getSMimePublicCerts(
3646
- contactAddr: String!
3652
+ contactAddr: [String]!
3647
3653
  store: String!
3648
3654
  ): SMimePublicCertsResponse
3649
3655
  getSMimeCertInfo(certId: String): SmimeCertInfoResponse
@@ -3786,6 +3792,7 @@ type Mutation {
3786
3792
  modifyContactList(contact: ModifyContactInput!): Contact
3787
3793
  createFolder(
3788
3794
  color: Int
3795
+ rgb: String
3789
3796
  fetchIfExists: Boolean
3790
3797
  flags: String
3791
3798
  name: String!
@@ -3928,9 +3935,10 @@ type Mutation {
3928
3935
  cancelPendingRemoteWipeSync(deviceId: String): Device
3929
3936
  subscribeDistributionList(op: String!, by: String, dl: String!): String
3930
3937
  distributionListAction(dlActions: DistributionListActionInput!): Boolean
3938
+ bounceMessage(message: RedirectMessgeInput): Boolean
3931
3939
  }
3932
3940
 
3933
3941
  schema {
3934
3942
  query: Query
3935
3943
  mutation: Mutation
3936
- }
3944
+ }
@@ -1,5 +1,5 @@
1
1
  import { JsonRequestOptions } from '../request/types';
2
- import { ActionOpResponse, AddMsgInput, CalendarItemInput, CounterAppointmentInput, CreateContactInput, CreateIdentityInput, CreateMountpointInput, CreateTagInput, DeleteAppointmentInput, DeleteIdentityInput, DistributionListActionInput, EnableTwoFactorAuthInput, ExternalAccountAddInput, ExternalAccountImportInput, ExternalAccountTestInput, FilterInput, FolderActionChangeColorInput, FolderActionCheckCalendarInput, ForwardAppointmentInput, ForwardAppointmentInviteInput, GetRightsInput, GrantRightsInput, InviteReplyInput, ModifyContactInput, ModifyIdentityInput, PreferencesInput, RevokeRightsInput, SaveSMimeCertInputUpload, SearchFolderInput, SendMessageInput, SendTwoFactorAuthCodeInput, ShareNotificationInput, SignatureInput, WhiteBlackListInput, ZimletPreferenceInput } from '../schema/generated-schema-types';
2
+ import { ActionOpResponse, AddMsgInput, CalendarItemInput, CounterAppointmentInput, CreateContactInput, CreateIdentityInput, CreateMountpointInput, CreateTagInput, DeleteAppointmentInput, DeleteIdentityInput, DistributionListActionInput, EnableTwoFactorAuthInput, ExternalAccountAddInput, ExternalAccountImportInput, ExternalAccountTestInput, FilterInput, FolderActionChangeColorInput, FolderActionCheckCalendarInput, ForwardAppointmentInput, ForwardAppointmentInviteInput, GetRightsInput, GrantRightsInput, InviteReplyInput, ModifyContactInput, ModifyIdentityInput, PreferencesInput, RedirectMessgeInput, RevokeRightsInput, SaveSMimeCertInputUpload, SearchFolderInput, SendMessageInput, SendTwoFactorAuthCodeInput, ShareNotificationInput, SignatureInput, WhiteBlackListInput, ZimletPreferenceInput } from '../schema/generated-schema-types';
3
3
  import { ActionOptions, ActionType, ApplyFilterRulesOptions, AppointmentOptions, AutoCompleteGALOptions, AutoCompleteOptions, ChangePasswordOptions, CreateFolderOptions, CreateSearchFolderOptions, DiscoverRightOptions, ExternalAccountDeleteInput, ExternalAccountModifyInput, FreeBusyOptions, GetContactFrequencyOptions, GetContactOptions, GetConversationOptions, GetCustomMetadataOptions, GetDocumentShareURLOptions, GetFolderOptions, GetMailboxMetadataOptions, GetMessageOptions, GetSMimePublicCertsOptions, LoginOptions, ModifyProfileImageOptions, NoOpOptions, RecoverAccountOptions, RelatedContactsOptions, ResetPasswordOptions, SaveDocumentInput, SearchCalendarResourcesOptions, SearchOptions, SetRecoveryAccountOptions, ShareInfoOptions, WorkingHoursOptions, ZimbraClientOptions } from './types';
4
4
  import { Notifier } from './notifier';
5
5
  export declare class ZimbraBatchClient {
@@ -28,6 +28,7 @@ export declare class ZimbraBatchClient {
28
28
  autoComplete: (options: AutoCompleteOptions) => Promise<any>;
29
29
  autoCompleteGAL: (options: AutoCompleteGALOptions) => Promise<any>;
30
30
  blockDeviceSync: (deviceId: string) => Promise<any>;
31
+ bounceMsg: (options: RedirectMessgeInput) => Promise<boolean>;
31
32
  cancelPendingAccountOnlyRemoteWipeSync: (deviceId: string) => Promise<any>;
32
33
  cancelPendingRemoteWipeSync: (deviceId: string) => Promise<any>;
33
34
  cancelTask: ({ inviteId }: any) => Promise<boolean>;
@@ -121,7 +122,7 @@ export declare class ZimbraBatchClient {
121
122
  }>;
122
123
  getSignatures: () => Promise<{}>;
123
124
  getSMimeCertInfo: () => Promise<any>;
124
- getSMimePublicCerts: (options: GetSMimePublicCertsOptions) => Promise<any>;
125
+ getSMimePublicCerts: ({ contactAddr, store }: GetSMimePublicCertsOptions) => Promise<any>;
125
126
  getTag: () => Promise<any>;
126
127
  getTasks: (options: SearchOptions) => Promise<any>;
127
128
  getTrustedDevices: () => Promise<any>;
@@ -259,7 +259,7 @@ export interface CreateSearchFolderOptions {
259
259
  view?: string;
260
260
  }
261
261
  export interface GetSMimePublicCertsOptions {
262
- contactAddr: string;
262
+ contactAddr: string | Array<string>;
263
263
  store: string;
264
264
  }
265
265
  export declare enum SetRecoveryAccountOpType {
@@ -40,6 +40,7 @@ export declare const CalResourceAttributes: Entity;
40
40
  export declare const CalResource: Entity;
41
41
  export declare const SearchCalendarResourcesResponse: Entity;
42
42
  export declare const GetAppointmentResponse: Entity;
43
+ export declare const RedirectMessage: Entity;
43
44
  export declare const Filter: Entity;
44
45
  export declare const InviteReply: Entity;
45
46
  export declare const CreateSignatureRequest: Entity;
@@ -1672,6 +1672,7 @@ export type Folder = {
1672
1672
  query?: Maybe<Scalars['String']['output']>;
1673
1673
  retentionPolicy?: Maybe<Array<Maybe<RetentionPolicy>>>;
1674
1674
  revision?: Maybe<Scalars['Float']['output']>;
1675
+ rgb?: Maybe<Scalars['String']['output']>;
1675
1676
  search?: Maybe<Array<Maybe<Folder>>>;
1676
1677
  sharedItemId?: Maybe<Scalars['ID']['output']>;
1677
1678
  types?: Maybe<Scalars['String']['output']>;
@@ -2420,6 +2421,7 @@ export type Mutation = {
2420
2421
  allowDeviceSync?: Maybe<Device>;
2421
2422
  applyFilterRules?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2422
2423
  blockDeviceSync?: Maybe<Device>;
2424
+ bounceMessage?: Maybe<Scalars['Boolean']['output']>;
2423
2425
  cancelPendingAccountOnlyRemoteWipeSync?: Maybe<Device>;
2424
2426
  cancelPendingRemoteWipeSync?: Maybe<Device>;
2425
2427
  cancelTask?: Maybe<Scalars['Boolean']['output']>;
@@ -2546,6 +2548,9 @@ export type MutationApplyFilterRulesArgs = {
2546
2548
  export type MutationBlockDeviceSyncArgs = {
2547
2549
  deviceId?: InputMaybe<Scalars['String']['input']>;
2548
2550
  };
2551
+ export type MutationBounceMessageArgs = {
2552
+ message?: InputMaybe<RedirectMessgeInput>;
2553
+ };
2549
2554
  export type MutationCancelPendingAccountOnlyRemoteWipeSyncArgs = {
2550
2555
  deviceId?: InputMaybe<Scalars['String']['input']>;
2551
2556
  };
@@ -2614,6 +2619,7 @@ export type MutationCreateFolderArgs = {
2614
2619
  isLocalFolder?: InputMaybe<Scalars['Boolean']['input']>;
2615
2620
  name: Scalars['String']['input'];
2616
2621
  parentFolderId?: InputMaybe<Scalars['ID']['input']>;
2622
+ rgb?: InputMaybe<Scalars['String']['input']>;
2617
2623
  url?: InputMaybe<Scalars['String']['input']>;
2618
2624
  view?: InputMaybe<FolderView>;
2619
2625
  };
@@ -3377,7 +3383,7 @@ export type QueryGetSMimeCertInfoArgs = {
3377
3383
  certId?: InputMaybe<Scalars['String']['input']>;
3378
3384
  };
3379
3385
  export type QueryGetSMimePublicCertsArgs = {
3380
- contactAddr: Scalars['String']['input'];
3386
+ contactAddr: Array<InputMaybe<Scalars['String']['input']>>;
3381
3387
  store: Scalars['String']['input'];
3382
3388
  };
3383
3389
  export type QueryGetScratchCodesArgs = {
@@ -3486,6 +3492,10 @@ export type RedirectActionInput = {
3486
3492
  copy?: InputMaybe<Scalars['Boolean']['input']>;
3487
3493
  index?: InputMaybe<Scalars['Int']['input']>;
3488
3494
  };
3495
+ export type RedirectMessgeInput = {
3496
+ emailAddresses?: InputMaybe<Array<InputMaybe<MailItemEmailAddressInput>>>;
3497
+ id: Scalars['ID']['input'];
3498
+ };
3489
3499
  export type RelatedContact = {
3490
3500
  __typename?: 'RelatedContact';
3491
3501
  email?: Maybe<Scalars['String']['output']>;