@zimbra/api-client 83.1.0 → 84.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": "83.1.0",
3
+ "version": "84.0.0",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zimbra/api-client",
3
3
  "amdName": "zmApiJsClient",
4
- "version": "83.1.0",
4
+ "version": "84.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",
@@ -1096,7 +1096,8 @@ export class ZimbraBatchClient {
1096
1096
  folder.view === FolderView.Contact ||
1097
1097
  folder.view === FolderView.Document
1098
1098
  ) {
1099
- const { absFolderPath, oname, folders, ownerZimbraId, sharedItemId } = folder;
1099
+ const { absFolderPath, oname, folders, ownerZimbraId, sharedItemId, linkedFolders } =
1100
+ folder;
1100
1101
 
1101
1102
  /** changed the id to zimbraId:sharedItemId, which is required while moving contact to shared folder and
1102
1103
  * server also returns this id in notfications. The original id is stored in userId.
@@ -1108,6 +1109,9 @@ export class ZimbraBatchClient {
1108
1109
  if (oname && folders) {
1109
1110
  folder.folders = updateAbsoluteFolderPath(oname, absFolderPath, folders);
1110
1111
  }
1112
+ if (linkedFolders) {
1113
+ folder.linkedFolders = updateAbsoluteFolderPath(oname, absFolderPath, linkedFolders);
1114
+ }
1111
1115
  }
1112
1116
 
1113
1117
  return folder;
@@ -1615,6 +1615,7 @@ export type Folder = {
1615
1615
  revision?: Maybe<Scalars['Float']>;
1616
1616
  search?: Maybe<Array<Maybe<Folder>>>;
1617
1617
  sharedItemId?: Maybe<Scalars['ID']>;
1618
+ types?: Maybe<Scalars['String']>;
1618
1619
  unread?: Maybe<Scalars['Float']>;
1619
1620
  unreadDescendent?: Maybe<Scalars['Boolean']>;
1620
1621
  url?: Maybe<Scalars['String']>;
@@ -1140,6 +1140,7 @@ type Folder {
1140
1140
  broken: Boolean #shared folder link is broken or not
1141
1141
  deletable: Boolean
1142
1142
  unreadDescendent: Boolean
1143
+ types: String
1143
1144
  }
1144
1145
 
1145
1146
  type DlAttrs {