@zimbra/api-client 87.0.0 → 88.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 {
@@ -1165,11 +1173,43 @@ type DlAttrs {
1165
1173
  lastName: String
1166
1174
  }
1167
1175
 
1176
+ type Dlm {
1177
+ _content: String
1178
+ }
1179
+
1168
1180
  type DlGroupMember {
1169
1181
  name: String
1170
1182
  attributes: DlAttrs
1171
1183
  }
1172
1184
 
1185
+ type DLSAttrs {
1186
+ zimbraDistributionListSubscriptionPolicy: String
1187
+ zimbraDistributionListUnsubscriptionPolicy: String
1188
+ zimbraHideInGal: String
1189
+ }
1190
+
1191
+ type DLS {
1192
+ d: String
1193
+ dynamic: Boolean
1194
+ id: String
1195
+ isMember: Boolean
1196
+ isOwner: Boolean
1197
+ name: String
1198
+ ref: String
1199
+ _attrs: DLSAttrs
1200
+ }
1201
+
1202
+ type DLSDetails {
1203
+ dls: [DLS]
1204
+ }
1205
+
1206
+ type DLDetails {
1207
+ dlm: [Dlm]
1208
+ dlGroupMember: [DlGroupMember]
1209
+ more: Boolean,
1210
+ total: Int
1211
+ }
1212
+
1173
1213
  type HabGroup {
1174
1214
  name: String
1175
1215
  id: String
@@ -1401,6 +1441,7 @@ type AccountInfoAttrs {
1401
1441
  zimbraFeatureImportFolderEnabled: Boolean
1402
1442
  zimbraFeatureExportFolderEnabled: Boolean
1403
1443
  zimbraFeatureGroupCalendarEnabled: Boolean
1444
+ zimbraFeatureDistributionListExpandMembersEnabled: Boolean
1404
1445
  }
1405
1446
 
1406
1447
  type AccountCos {
@@ -1511,6 +1552,7 @@ type Preferences {
1511
1552
  zimbraPrefDeleteInviteOnReply: Boolean
1512
1553
  zimbraPrefDelegatedSendSaveTarget: PrefDelegatedSendSaveTarget
1513
1554
  zimbraPrefDisplayExternalImages: Boolean
1555
+ zimbraPrefExternalSendersType: ExternalSendersType
1514
1556
  zimbraPrefGroupMailBy: String
1515
1557
  zimbraPrefMailPollingInterval: String
1516
1558
  zimbraPrefMailRequestReadReceipts: Boolean
@@ -2279,6 +2321,7 @@ input CalendarItemAttendeesInput {
2279
2321
  address: String!
2280
2322
  name: String
2281
2323
  calendarUserType: String
2324
+ isGroup: Boolean
2282
2325
  }
2283
2326
 
2284
2327
  type CalendarItemAlarmTriggerRelative {
@@ -2556,6 +2599,7 @@ input PreferencesInput {
2556
2599
  zimbraPrefCalendarAlwaysShowMiniCal: Boolean
2557
2600
  zimbraPrefComposeDirection: String
2558
2601
  zimbraPrefComposeFormat: Mode
2602
+ zimbraPrefExternalSendersType: ExternalSendersType
2559
2603
  zimbraPrefHtmlEditorDefaultFontColor: String
2560
2604
  zimbraPrefHtmlEditorDefaultFontFamily: String
2561
2605
  zimbraPrefHtmlEditorDefaultFontSize: String
@@ -3336,11 +3380,15 @@ type Query {
3336
3380
  local: Boolean
3337
3381
  ): Folder
3338
3382
  getHAB(habRootGroupId: ID): HabGroup
3383
+ getAccountDistributionLists(
3384
+ attrs: String
3385
+ ownerOf: Int
3386
+ ): DLSDetails
3339
3387
  getDistributionListMembers(
3340
3388
  limit: Int
3341
3389
  offset: Int
3342
3390
  dl: String
3343
- ): [DlGroupMember]
3391
+ ): DLDetails
3344
3392
  getCustomMetadata(id: ID!, section: String): CustomMetadata
3345
3393
  getMailboxMetadata(section: String): MailboxMetadata
3346
3394
  getMessage(
@@ -3639,4 +3687,4 @@ type Mutation {
3639
3687
  schema {
3640
3688
  query: Query
3641
3689
  mutation: Mutation
3642
- }
3690
+ }
@@ -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;
@@ -96,6 +96,7 @@ export type AccountInfoAttrs = {
96
96
  zimbraFeatureChangePasswordEnabled?: Maybe<Scalars['Boolean']>;
97
97
  zimbraFeatureConversationsEnabled?: Maybe<Scalars['Boolean']>;
98
98
  zimbraFeatureDiscardInFiltersEnabled?: Maybe<Scalars['Boolean']>;
99
+ zimbraFeatureDistributionListExpandMembersEnabled?: Maybe<Scalars['Boolean']>;
99
100
  zimbraFeatureDocumentEditingEnabled?: Maybe<Scalars['Boolean']>;
100
101
  zimbraFeatureExportFolderEnabled?: Maybe<Scalars['Boolean']>;
101
102
  zimbraFeatureFiltersEnabled?: Maybe<Scalars['Boolean']>;
@@ -541,6 +542,7 @@ export type CalendarItemAttendee = {
541
542
  export type CalendarItemAttendeesInput = {
542
543
  address: Scalars['String'];
543
544
  calendarUserType?: InputMaybe<Scalars['String']>;
545
+ isGroup?: InputMaybe<Scalars['Boolean']>;
544
546
  name?: InputMaybe<Scalars['String']>;
545
547
  participationStatus?: InputMaybe<ParticipationStatus>;
546
548
  role?: InputMaybe<ParticipationRole>;
@@ -1080,6 +1082,34 @@ export type CustomMetadataMeta = {
1080
1082
  _attrs?: Maybe<Array<Maybe<CustomMetadataAttrs>>>;
1081
1083
  section?: Maybe<Scalars['String']>;
1082
1084
  };
1085
+ export type DlDetails = {
1086
+ __typename?: 'DLDetails';
1087
+ dlGroupMember?: Maybe<Array<Maybe<DlGroupMember>>>;
1088
+ dlm?: Maybe<Array<Maybe<Dlm>>>;
1089
+ more?: Maybe<Scalars['Boolean']>;
1090
+ total?: Maybe<Scalars['Int']>;
1091
+ };
1092
+ export type Dls = {
1093
+ __typename?: 'DLS';
1094
+ _attrs?: Maybe<DlsAttrs>;
1095
+ d?: Maybe<Scalars['String']>;
1096
+ dynamic?: Maybe<Scalars['Boolean']>;
1097
+ id?: Maybe<Scalars['String']>;
1098
+ isMember?: Maybe<Scalars['Boolean']>;
1099
+ isOwner?: Maybe<Scalars['Boolean']>;
1100
+ name?: Maybe<Scalars['String']>;
1101
+ ref?: Maybe<Scalars['String']>;
1102
+ };
1103
+ export type DlsAttrs = {
1104
+ __typename?: 'DLSAttrs';
1105
+ zimbraDistributionListSubscriptionPolicy?: Maybe<Scalars['String']>;
1106
+ zimbraDistributionListUnsubscriptionPolicy?: Maybe<Scalars['String']>;
1107
+ zimbraHideInGal?: Maybe<Scalars['String']>;
1108
+ };
1109
+ export type DlsDetails = {
1110
+ __typename?: 'DLSDetails';
1111
+ dls?: Maybe<Array<Maybe<Dls>>>;
1112
+ };
1083
1113
  export type DataSource = {
1084
1114
  __typename?: 'DataSource';
1085
1115
  connectionType?: Maybe<Scalars['String']>;
@@ -1170,6 +1200,10 @@ export type DlGroupMember = {
1170
1200
  attributes?: Maybe<DlAttrs>;
1171
1201
  name?: Maybe<Scalars['String']>;
1172
1202
  };
1203
+ export type Dlm = {
1204
+ __typename?: 'Dlm';
1205
+ _content?: Maybe<Scalars['String']>;
1206
+ };
1173
1207
  export type Document = {
1174
1208
  __typename?: 'Document';
1175
1209
  acl?: Maybe<Acl>;
@@ -1221,6 +1255,7 @@ export type EmailAddress = {
1221
1255
  __typename?: 'EmailAddress';
1222
1256
  address?: Maybe<Scalars['String']>;
1223
1257
  displayName?: Maybe<Scalars['String']>;
1258
+ isGroup?: Maybe<Scalars['Boolean']>;
1224
1259
  name?: Maybe<Scalars['String']>;
1225
1260
  type?: Maybe<Scalars['String']>;
1226
1261
  };
@@ -1330,6 +1365,12 @@ export type ExternalAccountTestResponse = {
1330
1365
  error?: Maybe<Scalars['String']>;
1331
1366
  success: Scalars['Boolean'];
1332
1367
  };
1368
+ export declare enum ExternalSendersType {
1369
+ All = "ALL",
1370
+ Allnotinab = "ALLNOTINAB",
1371
+ Inab = "INAB",
1372
+ Insd = "INSD"
1373
+ }
1333
1374
  export type FileIntoAction = {
1334
1375
  __typename?: 'FileIntoAction';
1335
1376
  copy?: Maybe<Scalars['Boolean']>;
@@ -2785,6 +2826,7 @@ export type Preferences = {
2785
2826
  zimbraPrefDeleteInviteOnReply?: Maybe<Scalars['Boolean']>;
2786
2827
  zimbraPrefDisplayExternalImages?: Maybe<Scalars['Boolean']>;
2787
2828
  zimbraPrefDisplayTimeInMailList?: Maybe<Scalars['Boolean']>;
2829
+ zimbraPrefExternalSendersType?: Maybe<ExternalSendersType>;
2788
2830
  zimbraPrefGroupMailBy?: Maybe<Scalars['String']>;
2789
2831
  zimbraPrefHtmlEditorDefaultFontColor?: Maybe<Scalars['String']>;
2790
2832
  zimbraPrefHtmlEditorDefaultFontFamily?: Maybe<Scalars['String']>;
@@ -2845,6 +2887,7 @@ export type PreferencesInput = {
2845
2887
  zimbraPrefDelegatedSendSaveTarget?: InputMaybe<PrefDelegatedSendSaveTarget>;
2846
2888
  zimbraPrefDisplayExternalImages?: InputMaybe<Scalars['Boolean']>;
2847
2889
  zimbraPrefDisplayTimeInMailList?: InputMaybe<Scalars['Boolean']>;
2890
+ zimbraPrefExternalSendersType?: InputMaybe<ExternalSendersType>;
2848
2891
  zimbraPrefGroupMailBy?: InputMaybe<Scalars['String']>;
2849
2892
  zimbraPrefHtmlEditorDefaultFontColor?: InputMaybe<Scalars['String']>;
2850
2893
  zimbraPrefHtmlEditorDefaultFontFamily?: InputMaybe<Scalars['String']>;
@@ -2917,6 +2960,7 @@ export type Query = {
2917
2960
  downloadDocument?: Maybe<Attachment>;
2918
2961
  downloadMessage?: Maybe<SMimeMessage>;
2919
2962
  freeBusy?: Maybe<Array<Maybe<FreeBusy>>>;
2963
+ getAccountDistributionLists?: Maybe<DlsDetails>;
2920
2964
  getAppSpecificPasswords?: Maybe<AppSpecificPasswordsResponse>;
2921
2965
  getAppointment?: Maybe<GetAppointmentResponse>;
2922
2966
  getAppointments?: Maybe<SearchResponse>;
@@ -2927,7 +2971,7 @@ export type Query = {
2927
2971
  getCustomMetadata?: Maybe<CustomMetadata>;
2928
2972
  getDataSources: DataSources;
2929
2973
  getDeviceStatus?: Maybe<Array<Maybe<Device>>>;
2930
- getDistributionListMembers?: Maybe<Array<Maybe<DlGroupMember>>>;
2974
+ getDistributionListMembers?: Maybe<DlDetails>;
2931
2975
  getDocumentShareURL?: Maybe<GetDocumentShareUrlResponse>;
2932
2976
  getFilterRules?: Maybe<Array<Maybe<Filter>>>;
2933
2977
  getFolder?: Maybe<Folder>;
@@ -2998,6 +3042,10 @@ export type QueryFreeBusyArgs = {
2998
3042
  names: Array<Scalars['String']>;
2999
3043
  start?: InputMaybe<Scalars['Float']>;
3000
3044
  };
3045
+ export type QueryGetAccountDistributionListsArgs = {
3046
+ attrs?: InputMaybe<Scalars['String']>;
3047
+ ownerOf?: InputMaybe<Scalars['Int']>;
3048
+ };
3001
3049
  export type QueryGetAppointmentArgs = {
3002
3050
  id: Scalars['ID'];
3003
3051
  };