@zimbra/api-client 84.0.0 → 85.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.
- package/dist/schema.graphql +40 -1
- package/dist/src/schema/generated-schema-types.d.ts +36 -0
- package/dist/zm-api-js-client.esm.js +2 -2
- package/dist/zm-api-js-client.esm.js.map +1 -1
- package/dist/zm-api-js-client.js +1 -1
- package/dist/zm-api-js-client.js.map +1 -1
- package/dist/zm-api-js-client.umd.js +1 -1
- package/dist/zm-api-js-client.umd.js.map +1 -1
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/schema/generated-schema-types.ts +42 -0
- package/src/schema/schema.graphql +40 -1
package/dist/schema.graphql
CHANGED
|
@@ -1141,6 +1141,21 @@ type Folder {
|
|
|
1141
1141
|
deletable: Boolean
|
|
1142
1142
|
unreadDescendent: Boolean
|
|
1143
1143
|
types: String
|
|
1144
|
+
retentionPolicy: [RetentionPolicy]
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
type RetentionPolicy {
|
|
1148
|
+
keep: [Policy]
|
|
1149
|
+
purge: [Policy]
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
type Policy {
|
|
1153
|
+
policy: [PolicyAttrs]
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
type PolicyAttrs {
|
|
1157
|
+
lifetime: String
|
|
1158
|
+
type: String
|
|
1144
1159
|
}
|
|
1145
1160
|
|
|
1146
1161
|
type DlAttrs {
|
|
@@ -1314,6 +1329,7 @@ type AccountInfoAttrs {
|
|
|
1314
1329
|
zimbraFeatureBriefcasesEnabled: Boolean
|
|
1315
1330
|
zimbraFeatureMobileSyncEnabled: Boolean
|
|
1316
1331
|
zimbraFeatureRelatedContactsEnabled: Boolean
|
|
1332
|
+
zimbraFeatureMailForwardingEnabled: Boolean
|
|
1317
1333
|
zimbraFeatureMailForwardingInFiltersEnabled: Boolean
|
|
1318
1334
|
zimbraPasswordAllowUsername: Boolean
|
|
1319
1335
|
zimbraPasswordBlockCommonEnabled: Boolean
|
|
@@ -1334,6 +1350,7 @@ type AccountInfoAttrs {
|
|
|
1334
1350
|
zimbraFeatureResetPasswordStatus: ResetPasswordStatus
|
|
1335
1351
|
zimbraFeatureWebClientOfflineAccessEnabled: Boolean
|
|
1336
1352
|
zimbraMailBlacklistMaxNumEntries: Int
|
|
1353
|
+
zimbraMailWhitelistMaxNumEntries: Int
|
|
1337
1354
|
zimbraMailQuota: String
|
|
1338
1355
|
zimbraPublicSharingEnabled: Boolean
|
|
1339
1356
|
zimbraExternalSharingEnabled: Boolean
|
|
@@ -1379,6 +1396,9 @@ type AccountInfoAttrs {
|
|
|
1379
1396
|
zimbraFeatureDiscardInFiltersEnabled: Boolean
|
|
1380
1397
|
zimbraFeatureAdminMailEnabled: Boolean
|
|
1381
1398
|
zimbraFeatureAdminPreferencesEnabled: Boolean
|
|
1399
|
+
zimbraFeatureImportFolderEnabled: Boolean
|
|
1400
|
+
zimbraFeatureExportFolderEnabled: Boolean
|
|
1401
|
+
zimbraFeatureGroupCalendarEnabled: Boolean
|
|
1382
1402
|
}
|
|
1383
1403
|
|
|
1384
1404
|
type AccountCos {
|
|
@@ -1483,6 +1503,7 @@ type Preferences {
|
|
|
1483
1503
|
zimbraPrefHtmlEditorDefaultFontFamily: String
|
|
1484
1504
|
zimbraPrefHtmlEditorDefaultFontSize: String
|
|
1485
1505
|
zimbraPrefMailToasterEnabled: Boolean
|
|
1506
|
+
zimbraPrefSharedAddrBookAutoCompleteEnabled: Boolean
|
|
1486
1507
|
zimbraPrefShowAllNewMailNotifications: Boolean
|
|
1487
1508
|
zimbraPrefDefaultCalendarId: ID
|
|
1488
1509
|
zimbraPrefDeleteInviteOnReply: Boolean
|
|
@@ -1566,6 +1587,7 @@ type Document {
|
|
|
1566
1587
|
flags: String #f
|
|
1567
1588
|
permission: String #perm
|
|
1568
1589
|
docs: [Document]
|
|
1590
|
+
sfid: ID
|
|
1569
1591
|
}
|
|
1570
1592
|
|
|
1571
1593
|
type SearchResponse {
|
|
@@ -1767,6 +1789,7 @@ type Tag {
|
|
|
1767
1789
|
name: String
|
|
1768
1790
|
color: Int
|
|
1769
1791
|
unread: Float
|
|
1792
|
+
rgb: String
|
|
1770
1793
|
}
|
|
1771
1794
|
|
|
1772
1795
|
input OtherContactAttributeInput {
|
|
@@ -2396,7 +2419,22 @@ input FolderActionInput {
|
|
|
2396
2419
|
name: String
|
|
2397
2420
|
folderId: ID
|
|
2398
2421
|
zimbraId: ID
|
|
2399
|
-
color: Int
|
|
2422
|
+
color: Int,
|
|
2423
|
+
retentionPolicy: [RetentionPolicyInput]
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
input RetentionPolicyInput {
|
|
2427
|
+
keep: [PolicyInput]
|
|
2428
|
+
purge: [PolicyInput]
|
|
2429
|
+
}
|
|
2430
|
+
|
|
2431
|
+
input PolicyInput {
|
|
2432
|
+
policy: [PolicyAttrsInput]
|
|
2433
|
+
}
|
|
2434
|
+
|
|
2435
|
+
input PolicyAttrsInput {
|
|
2436
|
+
lifetime: String
|
|
2437
|
+
type: String
|
|
2400
2438
|
}
|
|
2401
2439
|
|
|
2402
2440
|
input CreateTagInput {
|
|
@@ -2496,6 +2534,7 @@ input PreferencesInput {
|
|
|
2496
2534
|
zimbraPrefHtmlEditorDefaultFontFamily: String
|
|
2497
2535
|
zimbraPrefHtmlEditorDefaultFontSize: String
|
|
2498
2536
|
zimbraPrefMailToasterEnabled: Boolean
|
|
2537
|
+
zimbraPrefSharedAddrBookAutoCompleteEnabled: Boolean
|
|
2499
2538
|
zimbraPrefShowAllNewMailNotifications: Boolean
|
|
2500
2539
|
zimbraPrefDelegatedSendSaveTarget: PrefDelegatedSendSaveTarget
|
|
2501
2540
|
zimbraPrefDisplayExternalImages: Boolean
|
|
@@ -96,13 +96,17 @@ export declare type AccountInfoAttrs = {
|
|
|
96
96
|
zimbraFeatureConversationsEnabled?: Maybe<Scalars['Boolean']>;
|
|
97
97
|
zimbraFeatureDiscardInFiltersEnabled?: Maybe<Scalars['Boolean']>;
|
|
98
98
|
zimbraFeatureDocumentEditingEnabled?: Maybe<Scalars['Boolean']>;
|
|
99
|
+
zimbraFeatureExportFolderEnabled?: Maybe<Scalars['Boolean']>;
|
|
99
100
|
zimbraFeatureFiltersEnabled?: Maybe<Scalars['Boolean']>;
|
|
100
101
|
zimbraFeatureGalAutoCompleteEnabled?: Maybe<Scalars['Boolean']>;
|
|
101
102
|
zimbraFeatureGalEnabled?: Maybe<Scalars['Boolean']>;
|
|
103
|
+
zimbraFeatureGroupCalendarEnabled?: Maybe<Scalars['Boolean']>;
|
|
102
104
|
zimbraFeatureIdentitiesEnabled?: Maybe<Scalars['Boolean']>;
|
|
103
105
|
zimbraFeatureImapDataSourceEnabled?: Maybe<Scalars['Boolean']>;
|
|
106
|
+
zimbraFeatureImportFolderEnabled?: Maybe<Scalars['Boolean']>;
|
|
104
107
|
zimbraFeatureInstantNotify?: Maybe<Scalars['Boolean']>;
|
|
105
108
|
zimbraFeatureMailEnabled?: Maybe<Scalars['Boolean']>;
|
|
109
|
+
zimbraFeatureMailForwardingEnabled?: Maybe<Scalars['Boolean']>;
|
|
106
110
|
zimbraFeatureMailForwardingInFiltersEnabled?: Maybe<Scalars['Boolean']>;
|
|
107
111
|
zimbraFeatureMailPriorityEnabled?: Maybe<Scalars['Boolean']>;
|
|
108
112
|
zimbraFeatureMailSendLaterEnabled?: Maybe<Scalars['Boolean']>;
|
|
@@ -134,6 +138,7 @@ export declare type AccountInfoAttrs = {
|
|
|
134
138
|
zimbraMailBlacklistMaxNumEntries?: Maybe<Scalars['Int']>;
|
|
135
139
|
zimbraMailQuota?: Maybe<Scalars['String']>;
|
|
136
140
|
zimbraMailSignatureMaxLength?: Maybe<Scalars['Float']>;
|
|
141
|
+
zimbraMailWhitelistMaxNumEntries?: Maybe<Scalars['Int']>;
|
|
137
142
|
zimbraMtaMaxMessageSize?: Maybe<Scalars['Float']>;
|
|
138
143
|
zimbraPasswordAllowUsername?: Maybe<Scalars['Boolean']>;
|
|
139
144
|
zimbraPasswordAllowedChars?: Maybe<Scalars['String']>;
|
|
@@ -1167,6 +1172,7 @@ export declare type Document = {
|
|
|
1167
1172
|
revisedCreationDate?: Maybe<Scalars['Float']>;
|
|
1168
1173
|
revision?: Maybe<Scalars['Float']>;
|
|
1169
1174
|
revisonCreator?: Maybe<Scalars['String']>;
|
|
1175
|
+
sfid?: Maybe<Scalars['ID']>;
|
|
1170
1176
|
size?: Maybe<Scalars['Float']>;
|
|
1171
1177
|
sortField?: Maybe<Scalars['String']>;
|
|
1172
1178
|
tagNames?: Maybe<Scalars['String']>;
|
|
@@ -1452,6 +1458,7 @@ export declare type Folder = {
|
|
|
1452
1458
|
parentFolderId?: Maybe<Scalars['ID']>;
|
|
1453
1459
|
permissions?: Maybe<Scalars['String']>;
|
|
1454
1460
|
query?: Maybe<Scalars['String']>;
|
|
1461
|
+
retentionPolicy?: Maybe<Array<Maybe<RetentionPolicy>>>;
|
|
1455
1462
|
revision?: Maybe<Scalars['Float']>;
|
|
1456
1463
|
search?: Maybe<Array<Maybe<Folder>>>;
|
|
1457
1464
|
sharedItemId?: Maybe<Scalars['ID']>;
|
|
@@ -1478,6 +1485,7 @@ export declare type FolderActionInput = {
|
|
|
1478
1485
|
id: Scalars['ID'];
|
|
1479
1486
|
name?: InputMaybe<Scalars['String']>;
|
|
1480
1487
|
op: Scalars['String'];
|
|
1488
|
+
retentionPolicy?: InputMaybe<Array<InputMaybe<RetentionPolicyInput>>>;
|
|
1481
1489
|
zimbraId?: InputMaybe<Scalars['ID']>;
|
|
1482
1490
|
};
|
|
1483
1491
|
export declare type FolderQueryInput = {
|
|
@@ -2684,6 +2692,22 @@ export declare enum PasswordRecoveryAddressStatus {
|
|
|
2684
2692
|
Pending = "pending",
|
|
2685
2693
|
Verified = "verified"
|
|
2686
2694
|
}
|
|
2695
|
+
export declare type Policy = {
|
|
2696
|
+
__typename?: 'Policy';
|
|
2697
|
+
policy?: Maybe<Array<Maybe<PolicyAttrs>>>;
|
|
2698
|
+
};
|
|
2699
|
+
export declare type PolicyAttrs = {
|
|
2700
|
+
__typename?: 'PolicyAttrs';
|
|
2701
|
+
lifetime?: Maybe<Scalars['String']>;
|
|
2702
|
+
type?: Maybe<Scalars['String']>;
|
|
2703
|
+
};
|
|
2704
|
+
export declare type PolicyAttrsInput = {
|
|
2705
|
+
lifetime?: InputMaybe<Scalars['String']>;
|
|
2706
|
+
type?: InputMaybe<Scalars['String']>;
|
|
2707
|
+
};
|
|
2708
|
+
export declare type PolicyInput = {
|
|
2709
|
+
policy?: InputMaybe<Array<InputMaybe<PolicyAttrsInput>>>;
|
|
2710
|
+
};
|
|
2687
2711
|
export declare enum PrefCalendarInitialView {
|
|
2688
2712
|
Day = "day",
|
|
2689
2713
|
List = "list",
|
|
@@ -2766,6 +2790,7 @@ export declare type Preferences = {
|
|
|
2766
2790
|
zimbraPrefReadingPaneEnabled?: Maybe<Scalars['Boolean']>;
|
|
2767
2791
|
zimbraPrefReadingPaneLocation?: Maybe<ReadingPaneLocation>;
|
|
2768
2792
|
zimbraPrefSaveToSent?: Maybe<Scalars['Boolean']>;
|
|
2793
|
+
zimbraPrefSharedAddrBookAutoCompleteEnabled?: Maybe<Scalars['Boolean']>;
|
|
2769
2794
|
zimbraPrefShowAllNewMailNotifications?: Maybe<Scalars['Boolean']>;
|
|
2770
2795
|
zimbraPrefShowFragments?: Maybe<Scalars['Boolean']>;
|
|
2771
2796
|
zimbraPrefSlackCalendarReminderEnabled?: Maybe<Scalars['Boolean']>;
|
|
@@ -2823,6 +2848,7 @@ export declare type PreferencesInput = {
|
|
|
2823
2848
|
zimbraPrefReadingPaneEnabled?: InputMaybe<Scalars['Boolean']>;
|
|
2824
2849
|
zimbraPrefReadingPaneLocation?: InputMaybe<ReadingPaneLocation>;
|
|
2825
2850
|
zimbraPrefSaveToSent?: InputMaybe<Scalars['Boolean']>;
|
|
2851
|
+
zimbraPrefSharedAddrBookAutoCompleteEnabled?: InputMaybe<Scalars['Boolean']>;
|
|
2826
2852
|
zimbraPrefShowAllNewMailNotifications?: InputMaybe<Scalars['Boolean']>;
|
|
2827
2853
|
zimbraPrefShowFragments?: InputMaybe<Scalars['Boolean']>;
|
|
2828
2854
|
zimbraPrefSlackCalendarReminderEnabled?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -3221,6 +3247,15 @@ export declare enum ResetPasswordStatus {
|
|
|
3221
3247
|
Enabled = "enabled",
|
|
3222
3248
|
Suspended = "suspended"
|
|
3223
3249
|
}
|
|
3250
|
+
export declare type RetentionPolicy = {
|
|
3251
|
+
__typename?: 'RetentionPolicy';
|
|
3252
|
+
keep?: Maybe<Array<Maybe<Policy>>>;
|
|
3253
|
+
purge?: Maybe<Array<Maybe<Policy>>>;
|
|
3254
|
+
};
|
|
3255
|
+
export declare type RetentionPolicyInput = {
|
|
3256
|
+
keep?: InputMaybe<Array<InputMaybe<PolicyInput>>>;
|
|
3257
|
+
purge?: InputMaybe<Array<InputMaybe<PolicyInput>>>;
|
|
3258
|
+
};
|
|
3224
3259
|
export declare type RevokeRightsInput = {
|
|
3225
3260
|
access?: InputMaybe<Array<InputMaybe<AccountAceInfoInput>>>;
|
|
3226
3261
|
};
|
|
@@ -3570,6 +3605,7 @@ export declare type Tag = {
|
|
|
3570
3605
|
color?: Maybe<Scalars['Int']>;
|
|
3571
3606
|
id?: Maybe<Scalars['ID']>;
|
|
3572
3607
|
name?: Maybe<Scalars['String']>;
|
|
3608
|
+
rgb?: Maybe<Scalars['String']>;
|
|
3573
3609
|
unread?: Maybe<Scalars['Float']>;
|
|
3574
3610
|
};
|
|
3575
3611
|
export declare type TagAction = {
|