@zimbra/api-client 83.1.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 +41 -1
- package/dist/src/schema/generated-schema-types.d.ts +37 -0
- package/dist/zm-api-js-client.esm.js +8 -3
- 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/batch-client/index.ts +5 -1
- package/src/schema/generated-schema-types.ts +43 -0
- package/src/schema/schema.graphql +41 -1
package/dist/schema.graphql
CHANGED
|
@@ -1140,6 +1140,22 @@ type Folder {
|
|
|
1140
1140
|
broken: Boolean #shared folder link is broken or not
|
|
1141
1141
|
deletable: Boolean
|
|
1142
1142
|
unreadDescendent: Boolean
|
|
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
|
|
1143
1159
|
}
|
|
1144
1160
|
|
|
1145
1161
|
type DlAttrs {
|
|
@@ -1313,6 +1329,7 @@ type AccountInfoAttrs {
|
|
|
1313
1329
|
zimbraFeatureBriefcasesEnabled: Boolean
|
|
1314
1330
|
zimbraFeatureMobileSyncEnabled: Boolean
|
|
1315
1331
|
zimbraFeatureRelatedContactsEnabled: Boolean
|
|
1332
|
+
zimbraFeatureMailForwardingEnabled: Boolean
|
|
1316
1333
|
zimbraFeatureMailForwardingInFiltersEnabled: Boolean
|
|
1317
1334
|
zimbraPasswordAllowUsername: Boolean
|
|
1318
1335
|
zimbraPasswordBlockCommonEnabled: Boolean
|
|
@@ -1333,6 +1350,7 @@ type AccountInfoAttrs {
|
|
|
1333
1350
|
zimbraFeatureResetPasswordStatus: ResetPasswordStatus
|
|
1334
1351
|
zimbraFeatureWebClientOfflineAccessEnabled: Boolean
|
|
1335
1352
|
zimbraMailBlacklistMaxNumEntries: Int
|
|
1353
|
+
zimbraMailWhitelistMaxNumEntries: Int
|
|
1336
1354
|
zimbraMailQuota: String
|
|
1337
1355
|
zimbraPublicSharingEnabled: Boolean
|
|
1338
1356
|
zimbraExternalSharingEnabled: Boolean
|
|
@@ -1378,6 +1396,9 @@ type AccountInfoAttrs {
|
|
|
1378
1396
|
zimbraFeatureDiscardInFiltersEnabled: Boolean
|
|
1379
1397
|
zimbraFeatureAdminMailEnabled: Boolean
|
|
1380
1398
|
zimbraFeatureAdminPreferencesEnabled: Boolean
|
|
1399
|
+
zimbraFeatureImportFolderEnabled: Boolean
|
|
1400
|
+
zimbraFeatureExportFolderEnabled: Boolean
|
|
1401
|
+
zimbraFeatureGroupCalendarEnabled: Boolean
|
|
1381
1402
|
}
|
|
1382
1403
|
|
|
1383
1404
|
type AccountCos {
|
|
@@ -1482,6 +1503,7 @@ type Preferences {
|
|
|
1482
1503
|
zimbraPrefHtmlEditorDefaultFontFamily: String
|
|
1483
1504
|
zimbraPrefHtmlEditorDefaultFontSize: String
|
|
1484
1505
|
zimbraPrefMailToasterEnabled: Boolean
|
|
1506
|
+
zimbraPrefSharedAddrBookAutoCompleteEnabled: Boolean
|
|
1485
1507
|
zimbraPrefShowAllNewMailNotifications: Boolean
|
|
1486
1508
|
zimbraPrefDefaultCalendarId: ID
|
|
1487
1509
|
zimbraPrefDeleteInviteOnReply: Boolean
|
|
@@ -1565,6 +1587,7 @@ type Document {
|
|
|
1565
1587
|
flags: String #f
|
|
1566
1588
|
permission: String #perm
|
|
1567
1589
|
docs: [Document]
|
|
1590
|
+
sfid: ID
|
|
1568
1591
|
}
|
|
1569
1592
|
|
|
1570
1593
|
type SearchResponse {
|
|
@@ -1766,6 +1789,7 @@ type Tag {
|
|
|
1766
1789
|
name: String
|
|
1767
1790
|
color: Int
|
|
1768
1791
|
unread: Float
|
|
1792
|
+
rgb: String
|
|
1769
1793
|
}
|
|
1770
1794
|
|
|
1771
1795
|
input OtherContactAttributeInput {
|
|
@@ -2395,7 +2419,22 @@ input FolderActionInput {
|
|
|
2395
2419
|
name: String
|
|
2396
2420
|
folderId: ID
|
|
2397
2421
|
zimbraId: ID
|
|
2398
|
-
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
|
|
2399
2438
|
}
|
|
2400
2439
|
|
|
2401
2440
|
input CreateTagInput {
|
|
@@ -2495,6 +2534,7 @@ input PreferencesInput {
|
|
|
2495
2534
|
zimbraPrefHtmlEditorDefaultFontFamily: String
|
|
2496
2535
|
zimbraPrefHtmlEditorDefaultFontSize: String
|
|
2497
2536
|
zimbraPrefMailToasterEnabled: Boolean
|
|
2537
|
+
zimbraPrefSharedAddrBookAutoCompleteEnabled: Boolean
|
|
2498
2538
|
zimbraPrefShowAllNewMailNotifications: Boolean
|
|
2499
2539
|
zimbraPrefDelegatedSendSaveTarget: PrefDelegatedSendSaveTarget
|
|
2500
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,9 +1458,11 @@ 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']>;
|
|
1465
|
+
types?: Maybe<Scalars['String']>;
|
|
1458
1466
|
unread?: Maybe<Scalars['Float']>;
|
|
1459
1467
|
unreadDescendent?: Maybe<Scalars['Boolean']>;
|
|
1460
1468
|
url?: Maybe<Scalars['String']>;
|
|
@@ -1477,6 +1485,7 @@ export declare type FolderActionInput = {
|
|
|
1477
1485
|
id: Scalars['ID'];
|
|
1478
1486
|
name?: InputMaybe<Scalars['String']>;
|
|
1479
1487
|
op: Scalars['String'];
|
|
1488
|
+
retentionPolicy?: InputMaybe<Array<InputMaybe<RetentionPolicyInput>>>;
|
|
1480
1489
|
zimbraId?: InputMaybe<Scalars['ID']>;
|
|
1481
1490
|
};
|
|
1482
1491
|
export declare type FolderQueryInput = {
|
|
@@ -2683,6 +2692,22 @@ export declare enum PasswordRecoveryAddressStatus {
|
|
|
2683
2692
|
Pending = "pending",
|
|
2684
2693
|
Verified = "verified"
|
|
2685
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
|
+
};
|
|
2686
2711
|
export declare enum PrefCalendarInitialView {
|
|
2687
2712
|
Day = "day",
|
|
2688
2713
|
List = "list",
|
|
@@ -2765,6 +2790,7 @@ export declare type Preferences = {
|
|
|
2765
2790
|
zimbraPrefReadingPaneEnabled?: Maybe<Scalars['Boolean']>;
|
|
2766
2791
|
zimbraPrefReadingPaneLocation?: Maybe<ReadingPaneLocation>;
|
|
2767
2792
|
zimbraPrefSaveToSent?: Maybe<Scalars['Boolean']>;
|
|
2793
|
+
zimbraPrefSharedAddrBookAutoCompleteEnabled?: Maybe<Scalars['Boolean']>;
|
|
2768
2794
|
zimbraPrefShowAllNewMailNotifications?: Maybe<Scalars['Boolean']>;
|
|
2769
2795
|
zimbraPrefShowFragments?: Maybe<Scalars['Boolean']>;
|
|
2770
2796
|
zimbraPrefSlackCalendarReminderEnabled?: Maybe<Scalars['Boolean']>;
|
|
@@ -2822,6 +2848,7 @@ export declare type PreferencesInput = {
|
|
|
2822
2848
|
zimbraPrefReadingPaneEnabled?: InputMaybe<Scalars['Boolean']>;
|
|
2823
2849
|
zimbraPrefReadingPaneLocation?: InputMaybe<ReadingPaneLocation>;
|
|
2824
2850
|
zimbraPrefSaveToSent?: InputMaybe<Scalars['Boolean']>;
|
|
2851
|
+
zimbraPrefSharedAddrBookAutoCompleteEnabled?: InputMaybe<Scalars['Boolean']>;
|
|
2825
2852
|
zimbraPrefShowAllNewMailNotifications?: InputMaybe<Scalars['Boolean']>;
|
|
2826
2853
|
zimbraPrefShowFragments?: InputMaybe<Scalars['Boolean']>;
|
|
2827
2854
|
zimbraPrefSlackCalendarReminderEnabled?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -3220,6 +3247,15 @@ export declare enum ResetPasswordStatus {
|
|
|
3220
3247
|
Enabled = "enabled",
|
|
3221
3248
|
Suspended = "suspended"
|
|
3222
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
|
+
};
|
|
3223
3259
|
export declare type RevokeRightsInput = {
|
|
3224
3260
|
access?: InputMaybe<Array<InputMaybe<AccountAceInfoInput>>>;
|
|
3225
3261
|
};
|
|
@@ -3569,6 +3605,7 @@ export declare type Tag = {
|
|
|
3569
3605
|
color?: Maybe<Scalars['Int']>;
|
|
3570
3606
|
id?: Maybe<Scalars['ID']>;
|
|
3571
3607
|
name?: Maybe<Scalars['String']>;
|
|
3608
|
+
rgb?: Maybe<Scalars['String']>;
|
|
3572
3609
|
unread?: Maybe<Scalars['Float']>;
|
|
3573
3610
|
};
|
|
3574
3611
|
export declare type TagAction = {
|