@zimbra/api-client 93.0.0 → 95.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/package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zimbra/api-client",
3
- "version": "93.0.0",
3
+ "version": "95.0.0",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
@@ -3044,21 +3044,6 @@
3044
3044
  "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
3045
3045
  "dev": true
3046
3046
  },
3047
- "color-convert": {
3048
- "version": "2.0.1",
3049
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
3050
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
3051
- "dev": true,
3052
- "requires": {
3053
- "color-name": "~1.1.4"
3054
- }
3055
- },
3056
- "color-name": {
3057
- "version": "1.1.4",
3058
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
3059
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
3060
- "dev": true
3061
- },
3062
3047
  "emoji-regex": {
3063
3048
  "version": "9.2.2",
3064
3049
  "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
@@ -3076,40 +3061,6 @@
3076
3061
  "strip-ansi": "^7.0.1"
3077
3062
  }
3078
3063
  },
3079
- "string-width-cjs": {
3080
- "version": "npm:string-width@4.2.3",
3081
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
3082
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
3083
- "dev": true,
3084
- "requires": {
3085
- "emoji-regex": "^8.0.0",
3086
- "is-fullwidth-code-point": "^3.0.0",
3087
- "strip-ansi": "^6.0.1"
3088
- },
3089
- "dependencies": {
3090
- "ansi-regex": {
3091
- "version": "5.0.1",
3092
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
3093
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
3094
- "dev": true
3095
- },
3096
- "emoji-regex": {
3097
- "version": "8.0.0",
3098
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
3099
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
3100
- "dev": true
3101
- },
3102
- "strip-ansi": {
3103
- "version": "6.0.1",
3104
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
3105
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
3106
- "dev": true,
3107
- "requires": {
3108
- "ansi-regex": "^5.0.1"
3109
- }
3110
- }
3111
- }
3112
- },
3113
3064
  "strip-ansi": {
3114
3065
  "version": "7.1.0",
3115
3066
  "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
@@ -3119,23 +3070,6 @@
3119
3070
  "ansi-regex": "^6.0.1"
3120
3071
  }
3121
3072
  },
3122
- "strip-ansi-cjs": {
3123
- "version": "npm:strip-ansi@6.0.1",
3124
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
3125
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
3126
- "dev": true,
3127
- "requires": {
3128
- "ansi-regex": "^5.0.1"
3129
- },
3130
- "dependencies": {
3131
- "ansi-regex": {
3132
- "version": "5.0.1",
3133
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
3134
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
3135
- "dev": true
3136
- }
3137
- }
3138
- },
3139
3073
  "wrap-ansi": {
3140
3074
  "version": "8.1.0",
3141
3075
  "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
@@ -3146,60 +3080,6 @@
3146
3080
  "string-width": "^5.0.1",
3147
3081
  "strip-ansi": "^7.0.1"
3148
3082
  }
3149
- },
3150
- "wrap-ansi-cjs": {
3151
- "version": "npm:wrap-ansi@7.0.0",
3152
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
3153
- "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
3154
- "dev": true,
3155
- "requires": {
3156
- "ansi-styles": "^4.0.0",
3157
- "string-width": "^4.1.0",
3158
- "strip-ansi": "^6.0.0"
3159
- },
3160
- "dependencies": {
3161
- "ansi-regex": {
3162
- "version": "5.0.1",
3163
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
3164
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
3165
- "dev": true
3166
- },
3167
- "ansi-styles": {
3168
- "version": "4.3.0",
3169
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
3170
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
3171
- "dev": true,
3172
- "requires": {
3173
- "color-convert": "^2.0.1"
3174
- }
3175
- },
3176
- "emoji-regex": {
3177
- "version": "8.0.0",
3178
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
3179
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
3180
- "dev": true
3181
- },
3182
- "string-width": {
3183
- "version": "4.2.3",
3184
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
3185
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
3186
- "dev": true,
3187
- "requires": {
3188
- "emoji-regex": "^8.0.0",
3189
- "is-fullwidth-code-point": "^3.0.0",
3190
- "strip-ansi": "^6.0.1"
3191
- }
3192
- },
3193
- "strip-ansi": {
3194
- "version": "6.0.1",
3195
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
3196
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
3197
- "dev": true,
3198
- "requires": {
3199
- "ansi-regex": "^5.0.1"
3200
- }
3201
- }
3202
- }
3203
3083
  }
3204
3084
  }
3205
3085
  },
@@ -5217,12 +5097,6 @@
5217
5097
  "readdirp": "~3.6.0"
5218
5098
  }
5219
5099
  },
5220
- "ci-info": {
5221
- "version": "3.9.0",
5222
- "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz",
5223
- "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==",
5224
- "dev": true
5225
- },
5226
5100
  "clean-stack": {
5227
5101
  "version": "2.2.0",
5228
5102
  "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz",
@@ -6547,9 +6421,9 @@
6547
6421
  "dev": true
6548
6422
  },
6549
6423
  "husky": {
6550
- "version": "8.0.3",
6551
- "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz",
6552
- "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==",
6424
+ "version": "9.1.7",
6425
+ "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz",
6426
+ "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==",
6553
6427
  "dev": true
6554
6428
  },
6555
6429
  "iconv-lite": {
@@ -6789,15 +6663,6 @@
6789
6663
  "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
6790
6664
  "dev": true
6791
6665
  },
6792
- "is-ci": {
6793
- "version": "3.0.1",
6794
- "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-3.0.1.tgz",
6795
- "integrity": "sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==",
6796
- "dev": true,
6797
- "requires": {
6798
- "ci-info": "^3.2.0"
6799
- }
6800
- },
6801
6666
  "is-core-module": {
6802
6667
  "version": "2.13.1",
6803
6668
  "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
@@ -9231,6 +9096,17 @@
9231
9096
  "strip-ansi": "^6.0.1"
9232
9097
  }
9233
9098
  },
9099
+ "string-width-cjs": {
9100
+ "version": "npm:string-width@4.2.3",
9101
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
9102
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
9103
+ "dev": true,
9104
+ "requires": {
9105
+ "emoji-regex": "^8.0.0",
9106
+ "is-fullwidth-code-point": "^3.0.0",
9107
+ "strip-ansi": "^6.0.1"
9108
+ }
9109
+ },
9234
9110
  "string.prototype.padend": {
9235
9111
  "version": "3.1.5",
9236
9112
  "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.5.tgz",
@@ -9293,6 +9169,15 @@
9293
9169
  "ansi-regex": "^5.0.1"
9294
9170
  }
9295
9171
  },
9172
+ "strip-ansi-cjs": {
9173
+ "version": "npm:strip-ansi@6.0.1",
9174
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
9175
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
9176
+ "dev": true,
9177
+ "requires": {
9178
+ "ansi-regex": "^5.0.1"
9179
+ }
9180
+ },
9296
9181
  "strip-bom": {
9297
9182
  "version": "3.0.0",
9298
9183
  "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
@@ -9958,6 +9843,43 @@
9958
9843
  }
9959
9844
  }
9960
9845
  },
9846
+ "wrap-ansi-cjs": {
9847
+ "version": "npm:wrap-ansi@7.0.0",
9848
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
9849
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
9850
+ "dev": true,
9851
+ "requires": {
9852
+ "ansi-styles": "^4.0.0",
9853
+ "string-width": "^4.1.0",
9854
+ "strip-ansi": "^6.0.0"
9855
+ },
9856
+ "dependencies": {
9857
+ "ansi-styles": {
9858
+ "version": "4.3.0",
9859
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
9860
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
9861
+ "dev": true,
9862
+ "requires": {
9863
+ "color-convert": "^2.0.1"
9864
+ }
9865
+ },
9866
+ "color-convert": {
9867
+ "version": "2.0.1",
9868
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
9869
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
9870
+ "dev": true,
9871
+ "requires": {
9872
+ "color-name": "~1.1.4"
9873
+ }
9874
+ },
9875
+ "color-name": {
9876
+ "version": "1.1.4",
9877
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
9878
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
9879
+ "dev": true
9880
+ }
9881
+ }
9882
+ },
9961
9883
  "wrappy": {
9962
9884
  "version": "1.0.2",
9963
9885
  "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zimbra/api-client",
3
3
  "amdName": "zmApiJsClient",
4
- "version": "93.0.0",
4
+ "version": "95.0.0",
5
5
  "description": "Zimbra JS API Client and GraphQL client for making requests against the Zimbra SOAP API.",
6
6
  "main": "dist/zm-api-js-client.js",
7
7
  "source": "index.ts",
@@ -29,7 +29,7 @@
29
29
  "prepublishOnly": "npm test && npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags",
30
30
  "publish:beta": "npm publish --tag=beta",
31
31
  "security:audit": "npx audit-ci@^6 --moderate --report-type summary --pass-enoaudit --skip-dev",
32
- "prepare": "is-ci || husky install"
32
+ "prepare": "husky || true"
33
33
  },
34
34
  "keywords": [
35
35
  "zimbra",
@@ -76,8 +76,7 @@
76
76
  "chai": "^4.3.7",
77
77
  "copyfiles": "^2.4.1",
78
78
  "cross-var": "^1.1.0",
79
- "husky": "^8.0.3",
80
- "is-ci": "^3.0.1",
79
+ "husky": "^9.1.7",
81
80
  "lint-staged": "15.2.8",
82
81
  "mocha": "^10.2.0",
83
82
  "npm-run-all": "^4.1.5",
@@ -530,22 +530,44 @@ export class ZimbraBatchClient {
530
530
  loginNewPassword,
531
531
  password,
532
532
  username,
533
- dryRun = false
534
- }: ChangePasswordOptions) =>
535
- this.jsonRequest({
536
- name: 'ChangePassword',
537
- namespace: Namespace.Account,
538
- body: {
539
- account: {
540
- by: 'name',
541
- _content: username
533
+ dryRun = false,
534
+ authToken,
535
+ csrfToken
536
+ }: ChangePasswordOptions) => {
537
+ if (authToken) {
538
+ return this.jsonRequest({
539
+ name: 'ChangePassword',
540
+ namespace: Namespace.Account,
541
+ body: {
542
+ account: {
543
+ by: 'name',
544
+ _content: username
545
+ },
546
+ oldPassword: password,
547
+ password: loginNewPassword,
548
+ dryRun,
549
+ authToken: { _content: authToken },
550
+ csrfToken: { _content: csrfToken }
542
551
  },
543
- oldPassword: password,
544
- password: loginNewPassword,
545
- dryRun
546
- },
547
- singleRequest: true
548
- });
552
+ singleRequest: true
553
+ });
554
+ } else {
555
+ return this.jsonRequest({
556
+ name: 'ChangePassword',
557
+ namespace: Namespace.Account,
558
+ body: {
559
+ account: {
560
+ by: 'name',
561
+ _content: username
562
+ },
563
+ oldPassword: password,
564
+ password: loginNewPassword,
565
+ dryRun
566
+ },
567
+ singleRequest: true
568
+ });
569
+ }
570
+ };
549
571
 
550
572
  public checkCalendar = ({ id, value }: FolderActionCheckCalendarInput) =>
551
573
  this.action(ActionType.folder, {
@@ -860,8 +882,7 @@ export class ZimbraBatchClient {
860
882
  password,
861
883
  authToken,
862
884
  twoFactorCode,
863
- csrfTokenSecured,
864
- ignoreSameSite
885
+ csrfTokenSecured
865
886
  }: EnableTwoFactorAuthInput) =>
866
887
  this.jsonRequest({
867
888
  name: 'EnableTwoFactorAuth',
@@ -894,7 +915,6 @@ export class ZimbraBatchClient {
894
915
  _content: twoFactorCode
895
916
  }
896
917
  }),
897
- ...(ignoreSameSite && { ignoreSameSite }),
898
918
  csrfTokenSecured
899
919
  },
900
920
  namespace: Namespace.Account,
@@ -1462,14 +1482,10 @@ export class ZimbraBatchClient {
1462
1482
  const versionIds = data.documents.map((doc: any) => doc.version);
1463
1483
  const maxVersion = Math.max(...versionIds);
1464
1484
  const latestDocumentVersion = data.documents.find((doc: any) => doc.version === maxVersion);
1465
- const versionDocuments = data.documents.map((versionDoc: any) => ({
1466
- ...versionDoc,
1467
- name: latestDocumentVersion.name
1468
- }));
1469
1485
 
1470
1486
  return {
1471
1487
  ...latestDocumentVersion,
1472
- docs: versionDocuments
1488
+ docs: data.documents
1473
1489
  };
1474
1490
  });
1475
1491
 
@@ -1481,8 +1497,7 @@ export class ZimbraBatchClient {
1481
1497
  persistAuthTokenCookie,
1482
1498
  twoFactorCode,
1483
1499
  deviceTrusted,
1484
- csrfTokenSecured,
1485
- ignoreSameSite
1500
+ csrfTokenSecured
1486
1501
  }: LoginOptions) =>
1487
1502
  this.jsonRequest({
1488
1503
  name: 'Auth',
@@ -1495,7 +1510,6 @@ export class ZimbraBatchClient {
1495
1510
  by: 'name',
1496
1511
  _content: username
1497
1512
  },
1498
- ...(ignoreSameSite && { ignoreSameSite }),
1499
1513
  ...(password && { password }),
1500
1514
  ...(recoveryCode && {
1501
1515
  recoveryCode: {
@@ -231,6 +231,8 @@ export interface ShareInfoOptions {
231
231
  }
232
232
 
233
233
  export interface ChangePasswordOptions {
234
+ authToken: string;
235
+ csrfToken: string;
234
236
  dryRun: boolean;
235
237
  loginNewPassword: string;
236
238
  password: string;
@@ -245,7 +247,6 @@ export interface ModifyProfileImageOptions {
245
247
  export interface LoginOptions {
246
248
  csrfTokenSecured: boolean;
247
249
  deviceTrusted?: boolean;
248
- ignoreSameSite?: boolean;
249
250
  password: string;
250
251
  persistAuthTokenCookie?: boolean;
251
252
  recoveryCode?: string;
@@ -84,15 +84,18 @@ export type AccountInfoAttrs = {
84
84
  displayName?: Maybe<Scalars['String']['output']>;
85
85
  zimbraBlockEmailSendFromImapPop?: Maybe<Scalars['Boolean']['output']>;
86
86
  zimbraBrandingFolderName?: Maybe<Scalars['String']['output']>;
87
+ zimbraDataSourceMaxNumEntries?: Maybe<Scalars['Int']['output']>;
87
88
  zimbraDomainTrialConvertAtExpiration?: Maybe<Scalars['Boolean']['output']>;
88
89
  zimbraDomainTrialExpirationDate?: Maybe<Scalars['String']['output']>;
89
90
  zimbraDumpsterEnabled?: Maybe<Scalars['Boolean']['output']>;
90
91
  zimbraExternalSharingEnabled?: Maybe<Scalars['Boolean']['output']>;
91
92
  zimbraFeatureAdminMailEnabled?: Maybe<Scalars['Boolean']['output']>;
92
93
  zimbraFeatureAdminPreferencesEnabled?: Maybe<Scalars['Boolean']['output']>;
94
+ zimbraFeatureAdvancedChatEnabled?: Maybe<Scalars['Boolean']['output']>;
93
95
  zimbraFeatureAllowUsernameInPassword?: Maybe<Scalars['Boolean']['output']>;
94
96
  zimbraFeatureAntispamEnabled?: Maybe<Scalars['Boolean']['output']>;
95
97
  zimbraFeatureAppSpecificPasswordsEnabled?: Maybe<Scalars['Boolean']['output']>;
98
+ zimbraFeatureBasicOneToOneChatEnabled?: Maybe<Scalars['Boolean']['output']>;
96
99
  zimbraFeatureBriefcasesEnabled?: Maybe<Scalars['Boolean']['output']>;
97
100
  zimbraFeatureCalendarEnabled?: Maybe<Scalars['Boolean']['output']>;
98
101
  zimbraFeatureChangePasswordEnabled?: Maybe<Scalars['Boolean']['output']>;
@@ -114,6 +117,8 @@ export type AccountInfoAttrs = {
114
117
  zimbraFeatureMailForwardingEnabled?: Maybe<Scalars['Boolean']['output']>;
115
118
  zimbraFeatureMailForwardingInFiltersEnabled?: Maybe<Scalars['Boolean']['output']>;
116
119
  zimbraFeatureMailPriorityEnabled?: Maybe<Scalars['Boolean']['output']>;
120
+ zimbraFeatureMailRecallEnabled?: Maybe<Scalars['Boolean']['output']>;
121
+ zimbraFeatureMailRecallTime?: Maybe<Scalars['Int']['output']>;
117
122
  zimbraFeatureMailSendLaterEnabled?: Maybe<Scalars['Boolean']['output']>;
118
123
  zimbraFeatureManageZimlets?: Maybe<Scalars['Boolean']['output']>;
119
124
  zimbraFeatureMobileSyncEnabled?: Maybe<Scalars['Boolean']['output']>;
@@ -384,6 +389,7 @@ export type AuthResponse = {
384
389
  authToken?: Maybe<Array<Maybe<AuthToken>>>;
385
390
  csrfToken?: Maybe<CsrfToken>;
386
391
  lifetime?: Maybe<Scalars['Float']['output']>;
392
+ resetPassword?: Maybe<ResetPassword>;
387
393
  session?: Maybe<Session>;
388
394
  skin?: Maybe<Array<Maybe<Skin>>>;
389
395
  trustedDevicesEnabled?: Maybe<TrustedDevicesEnabled>;
@@ -1534,7 +1540,6 @@ export type EnableTwoFactorAuthInput = {
1534
1540
  authToken?: InputMaybe<Scalars['String']['input']>;
1535
1541
  csrfTokenSecured: Scalars['Boolean']['input'];
1536
1542
  email?: InputMaybe<Scalars['String']['input']>;
1537
- ignoreSameSite?: InputMaybe<Scalars['Boolean']['input']>;
1538
1543
  method: Scalars['String']['input'];
1539
1544
  name: Scalars['String']['input'];
1540
1545
  password?: InputMaybe<Scalars['String']['input']>;
@@ -2392,6 +2397,7 @@ export type MailboxMetadataAttrs = {
2392
2397
  archivedFolder?: Maybe<Scalars['String']['output']>;
2393
2398
  privacyOverlayPrefs_showOverlay?: Maybe<Scalars['Boolean']['output']>;
2394
2399
  privacyOverlayPrefs_timeOut?: Maybe<Scalars['Int']['output']>;
2400
+ showSendAndArchive?: Maybe<Scalars['String']['output']>;
2395
2401
  zimbraPrefColorMode?: Maybe<Scalars['String']['output']>;
2396
2402
  zimbraPrefContactSourceFolderID?: Maybe<Scalars['String']['output']>;
2397
2403
  zimbraPrefCustomFolderTreeOpen?: Maybe<Scalars['Boolean']['output']>;
@@ -2424,6 +2430,7 @@ export type MailboxMetadataSectionAttrsInput = {
2424
2430
  archivedFolder?: InputMaybe<Scalars['String']['input']>;
2425
2431
  privacyOverlayPrefs_showOverlay?: InputMaybe<Scalars['Boolean']['input']>;
2426
2432
  privacyOverlayPrefs_timeOut?: InputMaybe<Scalars['Int']['input']>;
2433
+ showSendAndArchive?: InputMaybe<Scalars['String']['input']>;
2427
2434
  zimbraPrefColorMode?: InputMaybe<Scalars['String']['input']>;
2428
2435
  zimbraPrefContactSourceFolderID?: InputMaybe<Scalars['String']['input']>;
2429
2436
  zimbraPrefCustomFolderTreeOpen?: InputMaybe<Scalars['Boolean']['input']>;
@@ -2803,6 +2810,8 @@ export type MutationChangeFolderColorArgs = {
2803
2810
 
2804
2811
 
2805
2812
  export type MutationChangePasswordArgs = {
2813
+ authToken?: InputMaybe<Scalars['String']['input']>;
2814
+ csrfToken?: InputMaybe<Scalars['String']['input']>;
2806
2815
  dryRun?: InputMaybe<Scalars['Boolean']['input']>;
2807
2816
  loginNewPassword: Scalars['String']['input'];
2808
2817
  password: Scalars['String']['input'];
@@ -3017,7 +3026,6 @@ export type MutationItemActionArgs = {
3017
3026
  export type MutationLoginArgs = {
3018
3027
  csrfTokenSecured: Scalars['Boolean']['input'];
3019
3028
  deviceTrusted?: InputMaybe<Scalars['Boolean']['input']>;
3020
- ignoreSameSite?: InputMaybe<Scalars['Boolean']['input']>;
3021
3029
  password?: InputMaybe<Scalars['String']['input']>;
3022
3030
  persistAuthTokenCookie?: InputMaybe<Scalars['Boolean']['input']>;
3023
3031
  recoveryCode?: InputMaybe<Scalars['String']['input']>;
@@ -4046,6 +4054,11 @@ export type ReplyActionInput = {
4046
4054
  index?: InputMaybe<Scalars['Int']['input']>;
4047
4055
  };
4048
4056
 
4057
+ export type ResetPassword = {
4058
+ __typename?: 'ResetPassword';
4059
+ _content?: Maybe<Scalars['Boolean']['output']>;
4060
+ };
4061
+
4049
4062
  export type ResetPasswordResponse = {
4050
4063
  __typename?: 'ResetPasswordResponse';
4051
4064
  attrs?: Maybe<ResetPasswordResponseAttributes>;
@@ -343,6 +343,7 @@ type AuthResponse {
343
343
  session: Session
344
344
  skin: [Skin]
345
345
  csrfToken: CsrfToken
346
+ resetPassword: ResetPassword
346
347
  }
347
348
 
348
349
  type ScratchCodeType {
@@ -388,6 +389,10 @@ type TrustedDevicesEnabled {
388
389
  _content: Boolean
389
390
  }
390
391
 
392
+ type ResetPassword {
393
+ _content: Boolean
394
+ }
395
+
391
396
  type Session {
392
397
  id: ID
393
398
  _content: String
@@ -1449,6 +1454,7 @@ type AccountZimletConfigInfo {
1449
1454
  type AccountInfoAttrs {
1450
1455
  displayName: String
1451
1456
  zimbraBrandingFolderName: String
1457
+ zimbraDataSourceMaxNumEntries: Int
1452
1458
  zimbraDomainTrialConvertAtExpiration: Boolean
1453
1459
  zimbraDomainTrialExpirationDate: String
1454
1460
  zimbraDumpsterEnabled: Boolean
@@ -1534,7 +1540,11 @@ type AccountInfoAttrs {
1534
1540
  zimbraFeatureExportFolderEnabled: Boolean
1535
1541
  zimbraFeatureGroupCalendarEnabled: Boolean
1536
1542
  zimbraFeatureDistributionListExpandMembersEnabled: Boolean
1543
+ zimbraFeatureMailRecallEnabled: Boolean
1544
+ zimbraFeatureMailRecallTime: Int
1537
1545
  zimbraFeatureDistributionListFolderEnabled: Boolean
1546
+ zimbraFeatureBasicOneToOneChatEnabled: Boolean
1547
+ zimbraFeatureAdvancedChatEnabled: Boolean
1538
1548
  }
1539
1549
 
1540
1550
  type AccountCos {
@@ -2111,6 +2121,7 @@ type MailboxMetadataAttrs {
2111
2121
  zimbraPrefUndoSendEnabled: Boolean
2112
2122
  zimbraPrefUndoSendTimeout: Int
2113
2123
  archivedFolder: String
2124
+ showSendAndArchive: String
2114
2125
  privacyOverlayPrefs_showOverlay: Boolean
2115
2126
  privacyOverlayPrefs_timeOut: Int
2116
2127
  zimbraPrefSMIMEDefaultSetting: String
@@ -2146,6 +2157,7 @@ input MailboxMetadataSectionAttrsInput {
2146
2157
  zimbraPrefUndoSendEnabled: Boolean
2147
2158
  zimbraPrefUndoSendTimeout: Int
2148
2159
  archivedFolder: String
2160
+ showSendAndArchive: String
2149
2161
  privacyOverlayPrefs_showOverlay: Boolean
2150
2162
  privacyOverlayPrefs_timeOut: Int
2151
2163
  zimbraPrefSMIMEDefaultSetting: String
@@ -3089,7 +3101,6 @@ input EnableTwoFactorAuthInput {
3089
3101
  twoFactorCode: String
3090
3102
  authToken: String
3091
3103
  csrfTokenSecured: Boolean!
3092
- ignoreSameSite: Boolean
3093
3104
  }
3094
3105
 
3095
3106
  input SendTwoFactorAuthCodeInput {
@@ -3685,6 +3696,8 @@ type Mutation {
3685
3696
  loginNewPassword: String!
3686
3697
  password: String!
3687
3698
  username: String!
3699
+ authToken: String
3700
+ csrfToken: String
3688
3701
  ): AuthResponse
3689
3702
  modifyProfileImage(
3690
3703
  content: String
@@ -3771,7 +3784,6 @@ type Mutation {
3771
3784
  twoFactorCode: String
3772
3785
  deviceTrusted: Boolean
3773
3786
  csrfTokenSecured: Boolean!
3774
- ignoreSameSite: Boolean
3775
3787
  ): AuthResponse
3776
3788
  enableTwoFactorAuth(
3777
3789
  options: EnableTwoFactorAuthInput!