@zimbra/api-client 87.1.0 → 89.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.
@@ -20,6 +20,13 @@ enum SortBy {
20
20
  sizeDesc
21
21
  }
22
22
 
23
+ enum ExternalSendersType {
24
+ ALL
25
+ ALLNOTINAB
26
+ INAB
27
+ INSD
28
+ }
29
+
23
30
  enum ShareInputAction {
24
31
  edit
25
32
  revoke
@@ -448,7 +455,8 @@ type EmailAddress {
448
455
  address: String
449
456
  name: String
450
457
  type: String
451
- displayName: String
458
+ displayName: String,
459
+ isGroup: Boolean
452
460
  }
453
461
 
454
462
  type ShareNotification {
@@ -1000,8 +1008,12 @@ type ImportanceCondition {
1000
1008
  negative: Boolean
1001
1009
  }
1002
1010
 
1011
+ type MethodCondition {
1012
+ _content: String
1013
+ }
1014
+
1003
1015
  type InviteCondition {
1004
- methods: [String]
1016
+ method: [MethodCondition]
1005
1017
  index: Int
1006
1018
  negative: Boolean
1007
1019
  }
@@ -1165,11 +1177,43 @@ type DlAttrs {
1165
1177
  lastName: String
1166
1178
  }
1167
1179
 
1180
+ type Dlm {
1181
+ _content: String
1182
+ }
1183
+
1168
1184
  type DlGroupMember {
1169
1185
  name: String
1170
1186
  attributes: DlAttrs
1171
1187
  }
1172
1188
 
1189
+ type DLSAttrs {
1190
+ zimbraDistributionListSubscriptionPolicy: String
1191
+ zimbraDistributionListUnsubscriptionPolicy: String
1192
+ zimbraHideInGal: String
1193
+ }
1194
+
1195
+ type DLS {
1196
+ d: String
1197
+ dynamic: Boolean
1198
+ id: String
1199
+ isMember: Boolean
1200
+ isOwner: Boolean
1201
+ name: String
1202
+ ref: String
1203
+ _attrs: DLSAttrs
1204
+ }
1205
+
1206
+ type DLSDetails {
1207
+ dls: [DLS]
1208
+ }
1209
+
1210
+ type DLDetails {
1211
+ dlm: [Dlm]
1212
+ dlGroupMember: [DlGroupMember]
1213
+ more: Boolean,
1214
+ total: Int
1215
+ }
1216
+
1173
1217
  type HabGroup {
1174
1218
  name: String
1175
1219
  id: String
@@ -1401,6 +1445,8 @@ type AccountInfoAttrs {
1401
1445
  zimbraFeatureImportFolderEnabled: Boolean
1402
1446
  zimbraFeatureExportFolderEnabled: Boolean
1403
1447
  zimbraFeatureGroupCalendarEnabled: Boolean
1448
+ zimbraFeatureDistributionListExpandMembersEnabled: Boolean
1449
+ zimbraFeatureDistributionListFolderEnabled: Boolean
1404
1450
  }
1405
1451
 
1406
1452
  type AccountCos {
@@ -1511,6 +1557,7 @@ type Preferences {
1511
1557
  zimbraPrefDeleteInviteOnReply: Boolean
1512
1558
  zimbraPrefDelegatedSendSaveTarget: PrefDelegatedSendSaveTarget
1513
1559
  zimbraPrefDisplayExternalImages: Boolean
1560
+ zimbraPrefExternalSendersType: ExternalSendersType
1514
1561
  zimbraPrefGroupMailBy: String
1515
1562
  zimbraPrefMailPollingInterval: String
1516
1563
  zimbraPrefMailRequestReadReceipts: Boolean
@@ -2279,6 +2326,7 @@ input CalendarItemAttendeesInput {
2279
2326
  address: String!
2280
2327
  name: String
2281
2328
  calendarUserType: String
2329
+ isGroup: Boolean
2282
2330
  }
2283
2331
 
2284
2332
  type CalendarItemAlarmTriggerRelative {
@@ -2556,6 +2604,7 @@ input PreferencesInput {
2556
2604
  zimbraPrefCalendarAlwaysShowMiniCal: Boolean
2557
2605
  zimbraPrefComposeDirection: String
2558
2606
  zimbraPrefComposeFormat: Mode
2607
+ zimbraPrefExternalSendersType: ExternalSendersType
2559
2608
  zimbraPrefHtmlEditorDefaultFontColor: String
2560
2609
  zimbraPrefHtmlEditorDefaultFontFamily: String
2561
2610
  zimbraPrefHtmlEditorDefaultFontSize: String
@@ -2690,9 +2739,13 @@ input ImportanceConditionInput {
2690
2739
  }
2691
2740
 
2692
2741
  input InviteConditionInput {
2693
- methods: [String]
2694
- index: Int
2695
- negative: Boolean
2742
+ method: [MethodInput]
2743
+ index: Int
2744
+ negative: Boolean
2745
+ }
2746
+
2747
+ input MethodInput {
2748
+ _content: String
2696
2749
  }
2697
2750
 
2698
2751
  input MimeHeaderConditionInput {
@@ -3336,11 +3389,15 @@ type Query {
3336
3389
  local: Boolean
3337
3390
  ): Folder
3338
3391
  getHAB(habRootGroupId: ID): HabGroup
3392
+ getAccountDistributionLists(
3393
+ attrs: String
3394
+ ownerOf: Int
3395
+ ): DLSDetails
3339
3396
  getDistributionListMembers(
3340
3397
  limit: Int
3341
3398
  offset: Int
3342
3399
  dl: String
3343
- ): [DlGroupMember]
3400
+ ): DLDetails
3344
3401
  getCustomMetadata(id: ID!, section: String): CustomMetadata
3345
3402
  getMailboxMetadata(section: String): MailboxMetadata
3346
3403
  getMessage(
@@ -3639,4 +3696,4 @@ type Mutation {
3639
3696
  schema {
3640
3697
  query: Query
3641
3698
  mutation: Mutation
3642
- }
3699
+ }
@@ -21,7 +21,7 @@ export declare class ZimbraBatchClient {
21
21
  accountOnlyRemoteWipeSync: (deviceId: String) => Promise<any>;
22
22
  action: (type: ActionType, options: ActionOptions) => Promise<boolean>;
23
23
  addExternalAccount: ({ accountType, ...accountInfo }: ExternalAccountAddInput) => Promise<any>;
24
- addMessage: (options: AddMsgInput) => Promise<any>;
24
+ addMessage: (message: AddMsgInput) => Promise<any>;
25
25
  allowDeviceSync: (deviceId: String) => Promise<any>;
26
26
  applyFilterRules: ({ ids, filterRules }: ApplyFilterRulesOptions) => Promise<any>;
27
27
  attach: (files: any, message: any) => any;
@@ -43,9 +43,7 @@ export declare class ZimbraBatchClient {
43
43
  createAppSpecificPassword: (appName: string) => Promise<any>;
44
44
  createContact: (data: CreateContactInput) => Promise<any>;
45
45
  createFolder: (_options: CreateFolderOptions) => Promise<any>;
46
- createIdentity: ({ attrs, ...rest }: CreateIdentityInput) => Promise<{
47
- identity: any[];
48
- }>;
46
+ createIdentity: ({ attrs, ...rest }: CreateIdentityInput) => Promise<any>;
49
47
  createMountpoint: (_options: CreateMountpointInput) => Promise<boolean>;
50
48
  createSearchFolder: (_options: CreateSearchFolderOptions) => Promise<any>;
51
49
  createSignature: (options: SignatureInput) => Promise<any>;
@@ -81,6 +79,9 @@ export declare class ZimbraBatchClient {
81
79
  forwardAppointmentInvite: (body: ForwardAppointmentInviteInput) => Promise<boolean>;
82
80
  freeBusy: ({ start, end, names }: FreeBusyOptions) => Promise<any>;
83
81
  generateScratchCodes: (username: String) => Promise<any>;
82
+ getAccountDistributionLists: (attrs: String, ownerOf: number) => Promise<{
83
+ dls: any;
84
+ }>;
84
85
  getAppointment: (options: AppointmentOptions) => Promise<any>;
85
86
  getAppSpecificPasswords: () => Promise<any>;
86
87
  getAttachmentUrl: (attachment: any) => string;