visualvault-api 2.0.0-beta.2 → 2.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/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  # visualvault-api
2
2
 
3
- ![Stability: Beta](https://img.shields.io/badge/stability-beta-yellow.svg)
4
-
5
3
  A Node.js client library that provides convenient access to the VisualVault REST API for server-side applications.
6
4
 
7
5
  ## Installation
@@ -26,7 +24,7 @@ import vvRestApi from 'visualvault-api';
26
24
  const vvRestApi = require('visualvault-api');
27
25
 
28
26
  // Initialize authentication
29
- const auth = new vvRestApi.authorize();
27
+ const auth = new vvRestApi.Authorize();
30
28
 
31
29
  // Get authenticated client
32
30
  auth.getVaultApi(
@@ -51,7 +49,7 @@ auth.getVaultApi(
51
49
  If you already have a JWT token:
52
50
 
53
51
  ```javascript
54
- const auth = new vvRestApi.authorize();
52
+ const auth = new vvRestApi.Authorize();
55
53
 
56
54
  auth.getVaultApiFromJwt(
57
55
  'your-jwt-token',
@@ -610,6 +610,12 @@ var DocumentManager = class {
610
610
  constructor(httpHelper) {
611
611
  this._httpHelper = httpHelper;
612
612
  }
613
+ async createDocument(data) {
614
+ const resourceUri = this._httpHelper._config.ResourceUri.DocApi.CreateDocument;
615
+ const url = this._httpHelper.getUrl(resourceUri);
616
+ const opts = { method: "POST" };
617
+ return this._httpHelper.doVvClientRequest(url, opts, null, data);
618
+ }
613
619
  async GetRevision(documentRevisionId) {
614
620
  let resourceUri = this._httpHelper._config.ResourceUri.DocApi.GetRevision;
615
621
  resourceUri = resourceUri.replace("{id}", documentRevisionId);
@@ -631,6 +637,13 @@ var DocumentManager = class {
631
637
  const opts = { method: "PUT" };
632
638
  return this._httpHelper.doVvClientRequest(url, opts, null, data);
633
639
  }
640
+ async updateDocument(documentId, data) {
641
+ let resourceUri = this._httpHelper._config.ResourceUri.DocApi.UpdateDocument;
642
+ resourceUri = resourceUri.replace("{id}", documentId);
643
+ const url = this._httpHelper.getUrl(resourceUri);
644
+ const opts = { method: "PUT" };
645
+ return this._httpHelper.doVvClientRequest(url, opts, null, data);
646
+ }
634
647
  async search(criteriaList, searchFolders, excludeFolders, sortBy, sortDirection = "desc", page = 0, take = 15, archiveType = 0, roleSecurity = false) {
635
648
  const url = this._httpHelper.getUrl(this._httpHelper._config.ResourceUri.DocApi.AdvancedSearch);
636
649
  const data = {
@@ -1529,6 +1542,30 @@ var GroupsManager = class {
1529
1542
  const opts = { method: "GET" };
1530
1543
  return this._httpHelper.doVvClientRequest(url, opts, params, null);
1531
1544
  }
1545
+ getGroupById(params, groupId) {
1546
+ const resourceUri = this._httpHelper._config.ResourceUri.GroupById.replace("{id}", groupId);
1547
+ const url = this._httpHelper.getUrl(resourceUri);
1548
+ const opts = { method: "GET" };
1549
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
1550
+ }
1551
+ addGroup(params, formData) {
1552
+ const resourceUri = this._httpHelper._config.ResourceUri.AddGroup;
1553
+ const url = this._httpHelper.getUrl(resourceUri);
1554
+ const opts = { method: "POST" };
1555
+ return this._httpHelper.doVvClientRequest(url, opts, params, formData);
1556
+ }
1557
+ updateGroup(params, groupId, formData) {
1558
+ const resourceUri = this._httpHelper._config.ResourceUri.UpdateGroup.replace("{id}", groupId);
1559
+ const url = this._httpHelper.getUrl(resourceUri);
1560
+ const opts = { method: "PUT" };
1561
+ return this._httpHelper.doVvClientRequest(url, opts, params, formData);
1562
+ }
1563
+ deleteGroup(params, groupId) {
1564
+ const resourceUri = this._httpHelper._config.ResourceUri.DeleteGroup.replace("{id}", groupId);
1565
+ const url = this._httpHelper.getUrl(resourceUri);
1566
+ const opts = { method: "DELETE" };
1567
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
1568
+ }
1532
1569
  getGroupsUsers(params, groupId) {
1533
1570
  const resourceUri = this._httpHelper._config.ResourceUri.GroupsUsers.replace("{id}", groupId);
1534
1571
  const url = this._httpHelper.getUrl(resourceUri);
@@ -1599,6 +1636,12 @@ var LibraryManager = class {
1599
1636
  const opts = { method: "GET" };
1600
1637
  return this._httpHelper.doVvClientRequest(url, opts, params, null);
1601
1638
  }
1639
+ getFolderByPath(params, folderPath) {
1640
+ const resourceUri = this._httpHelper._config.ResourceUri.Folders + "?folderpath=" + encodeURIComponent(folderPath);
1641
+ const url = this._httpHelper.getUrl(resourceUri);
1642
+ const opts = { method: "GET" };
1643
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
1644
+ }
1602
1645
  updateFolderIndexFieldOverrideSettings(folderId, fieldId, queryId, displayField, valueField, dropDownListId, required, defaultValue) {
1603
1646
  const data = {
1604
1647
  queryId,
@@ -1683,8 +1726,8 @@ var SitesManager = class {
1683
1726
  return this._httpHelper.doVvClientRequest(url, opts, params, data);
1684
1727
  }
1685
1728
  putSites(params, data, siteId) {
1686
- const resourceUri = this._httpHelper._config.ResourceUri.Sites;
1687
- const url = this._httpHelper.getUrl(resourceUri + "/" + siteId);
1729
+ const resourceUri = this._httpHelper._config.ResourceUri.SiteById.replace("{id}", siteId);
1730
+ const url = this._httpHelper.getUrl(resourceUri);
1688
1731
  const opts = { method: "PUT" };
1689
1732
  return this._httpHelper.doVvClientRequest(url, opts, params, data);
1690
1733
  }
@@ -1701,8 +1744,8 @@ var SitesManager = class {
1701
1744
  return this._httpHelper.doVvClientRequest(url, opts, params, data);
1702
1745
  }
1703
1746
  putGroups(params, data, siteId, grId) {
1704
- const resourceUri = this._httpHelper._config.ResourceUri.Groups.replace("{id}", siteId);
1705
- const url = this._httpHelper.getUrl(resourceUri + "/" + grId);
1747
+ const resourceUri = this._httpHelper._config.ResourceUri.SiteGroupById.replace("{siteId}", siteId).replace("{groupId}", grId);
1748
+ const url = this._httpHelper.getUrl(resourceUri);
1706
1749
  const opts = { method: "PUT" };
1707
1750
  return this._httpHelper.doVvClientRequest(url, opts, params, data);
1708
1751
  }
@@ -1716,6 +1759,28 @@ var SitesManager = class {
1716
1759
  };
1717
1760
  return this._httpHelper.doVvClientRequest(url, opts, null, data);
1718
1761
  }
1762
+ getSiteById(params, siteId) {
1763
+ const resourceUri = this._httpHelper._config.ResourceUri.SiteById.replace("{id}", siteId);
1764
+ const url = this._httpHelper.getUrl(resourceUri);
1765
+ const opts = { method: "GET" };
1766
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
1767
+ }
1768
+ deleteSite(params, siteId) {
1769
+ const resourceUri = this._httpHelper._config.ResourceUri.SiteById.replace("{id}", siteId);
1770
+ const url = this._httpHelper.getUrl(resourceUri);
1771
+ const opts = { method: "DELETE" };
1772
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
1773
+ }
1774
+ changeGroupSite(params, groupId, newSiteId) {
1775
+ const resourceUri = this._httpHelper._config.ResourceUri.ChangeGroupSite;
1776
+ const data = {
1777
+ groupId,
1778
+ newSiteId
1779
+ };
1780
+ const url = this._httpHelper.getUrl(resourceUri);
1781
+ const opts = { method: "PUT" };
1782
+ return this._httpHelper.doVvClientRequest(url, opts, params, data);
1783
+ }
1719
1784
  };
1720
1785
 
1721
1786
  // lib/vvRestApi/usersManager.js
@@ -2104,6 +2169,81 @@ var DocumentsManager = class {
2104
2169
  const opts = { method: "GET" };
2105
2170
  return this._httpHelper.doVvClientRequest(url, opts, null, null);
2106
2171
  }
2172
+ createDocumentZipFile(params, documentIds) {
2173
+ const resourceUri = this._httpHelper._config.ResourceUri.CreateDocumentZipFile;
2174
+ const url = this._httpHelper.getUrl(resourceUri);
2175
+ const opts = { method: "POST" };
2176
+ const data = { documentDhIds: documentIds };
2177
+ return this._httpHelper.doVvClientRequest(url, opts, params, data);
2178
+ }
2179
+ getDocumentZipFileStatus(params, downloadKey) {
2180
+ const resourceUri = this._httpHelper._config.ResourceUri.GetDocumentZipFileStatus + `?downloadKey=${encodeURIComponent(downloadKey)}`;
2181
+ const url = this._httpHelper.getUrl(resourceUri);
2182
+ const opts = { method: "GET" };
2183
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2184
+ }
2185
+ getDocumentIndexFields(params, documentId) {
2186
+ const resourceUri = this._httpHelper._config.ResourceUri.DocumentIndexFields.replace("{id}", documentId);
2187
+ const url = this._httpHelper.getUrl(resourceUri);
2188
+ const opts = { method: "GET" };
2189
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2190
+ }
2191
+ getDocumentTypes(params) {
2192
+ const resourceUri = this._httpHelper._config.ResourceUri.DocumentTypes;
2193
+ const url = this._httpHelper.getUrl(resourceUri);
2194
+ const opts = { method: "GET" };
2195
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2196
+ }
2197
+ createDocumentType(params, name) {
2198
+ const resourceUri = this._httpHelper._config.ResourceUri.DocumentTypes;
2199
+ const url = this._httpHelper.getUrl(resourceUri);
2200
+ const opts = { method: "POST" };
2201
+ const data = { documentTypeName: name };
2202
+ return this._httpHelper.doVvClientRequest(url, opts, params, data);
2203
+ }
2204
+ getSavedSearches(params) {
2205
+ const resourceUri = this._httpHelper._config.ResourceUri.SavedSearches;
2206
+ const url = this._httpHelper.getUrl(resourceUri);
2207
+ const opts = { method: "GET" };
2208
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2209
+ }
2210
+ getDocumentFields(params) {
2211
+ const resourceUri = this._httpHelper._config.ResourceUri.DocumentFields;
2212
+ const url = this._httpHelper.getUrl(resourceUri);
2213
+ const opts = { method: "GET" };
2214
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2215
+ }
2216
+ getSavedSearchIndexFields(params, savedSearchId) {
2217
+ const resourceUri = this._httpHelper._config.ResourceUri.SavedSearchIndexFields;
2218
+ const url = this._httpHelper.getUrl(resourceUri);
2219
+ const opts = { method: "GET" };
2220
+ const mergedParams = { ...params, savedSearchId };
2221
+ return this._httpHelper.doVvClientRequest(url, opts, mergedParams, null);
2222
+ }
2223
+ getLastDocuments(params) {
2224
+ const resourceUri = this._httpHelper._config.ResourceUri.LastDocuments;
2225
+ const url = this._httpHelper.getUrl(resourceUri);
2226
+ const opts = { method: "GET" };
2227
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2228
+ }
2229
+ getFrequentDocuments(params) {
2230
+ const resourceUri = this._httpHelper._config.ResourceUri.FrequentDocuments;
2231
+ const url = this._httpHelper.getUrl(resourceUri);
2232
+ const opts = { method: "GET" };
2233
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2234
+ }
2235
+ getSavedSearchDocuments(params, savedSearchId) {
2236
+ const resourceUri = this._httpHelper._config.ResourceUri.SavedSearchDocuments.replace("{savedSearchId}", savedSearchId);
2237
+ const url = this._httpHelper.getUrl(resourceUri);
2238
+ const opts = { method: "GET" };
2239
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2240
+ }
2241
+ getDocumentDefaultLink(params, documentId) {
2242
+ const resourceUri = this._httpHelper._config.ResourceUri.DocumentDefaultAction.replace("{documentId}", documentId);
2243
+ const url = this._httpHelper.getUrl(resourceUri);
2244
+ const opts = { method: "GET" };
2245
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2246
+ }
2107
2247
  };
2108
2248
 
2109
2249
  // lib/vvRestApi/projectsManager.js
@@ -2144,6 +2284,70 @@ var IndexFieldsManager = class {
2144
2284
  const opts = { method: "GET" };
2145
2285
  return this._httpHelper.doVvClientRequest(url, opts, params, null);
2146
2286
  }
2287
+ getIndexField(params, id) {
2288
+ const resourceUri = this._httpHelper._config.ResourceUri.IndexFields + "/" + id;
2289
+ const url = this._httpHelper.getUrl(resourceUri);
2290
+ const opts = { method: "GET" };
2291
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2292
+ }
2293
+ /**
2294
+ * Payload for creating/updating index fields.
2295
+ * @typedef {Object} IndexFieldData
2296
+ * @property {string} fieldType
2297
+ * @property {string} label
2298
+ * @property {string} [description]
2299
+ * @property {boolean} [required]
2300
+ * @property {?string} [connectionId]
2301
+ * @property {?string} [queryId]
2302
+ * @property {?string} [queryDisplayField]
2303
+ * @property {?string} [queryValueField]
2304
+ * @property {?string} [dropDownListId]
2305
+ * @property {?string} [defaultValue]
2306
+ */
2307
+ /**
2308
+ * Create an index field
2309
+ * @param {Object} params - Query parameters
2310
+ * @param {IndexFieldData} data - Request body
2311
+ * @returns {Promise<string>}
2312
+ */
2313
+ createIndexField(params, data) {
2314
+ const resourceUri = this._httpHelper._config.ResourceUri.IndexFields;
2315
+ const url = this._httpHelper.getUrl(resourceUri);
2316
+ const opts = { method: "POST" };
2317
+ return this._httpHelper.doVvClientRequest(url, opts, params, data);
2318
+ }
2319
+ /**
2320
+ * Update an index field
2321
+ * @param {Object} params - Query parameters
2322
+ * @param {string} id - Index field id
2323
+ * @param {IndexFieldData} data - Request body
2324
+ * @returns {Promise<string>}
2325
+ */
2326
+ updateIndexField(params, id, data) {
2327
+ const resourceUri = this._httpHelper._config.ResourceUri.IndexFields + "/" + id;
2328
+ const url = this._httpHelper.getUrl(resourceUri);
2329
+ const opts = { method: "PUT" };
2330
+ return this._httpHelper.doVvClientRequest(url, opts, params, data);
2331
+ }
2332
+ deleteIndexField(params, id) {
2333
+ const resourceUri = this._httpHelper._config.ResourceUri.IndexFields + "/" + id;
2334
+ const url = this._httpHelper.getUrl(resourceUri);
2335
+ const opts = { method: "DELETE" };
2336
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2337
+ }
2338
+ moveIndexFieldAfter(params, sourceFieldId, destinationFieldId) {
2339
+ const resourceUri = this._httpHelper._config.ResourceUri.IndexFields + "/MoveIndexFieldAfter";
2340
+ const url = this._httpHelper.getUrl(resourceUri);
2341
+ const opts = { method: "POST" };
2342
+ const data = { sourceFieldId, destinationFieldId };
2343
+ return this._httpHelper.doVvClientRequest(url, opts, params, data);
2344
+ }
2345
+ addIndexFieldToFolder(indexFieldId, folderId) {
2346
+ const resourceUri = this._httpHelper._config.ResourceUri.IndexFieldsFolder.replace("{id}", indexFieldId).replace("{folderId}", folderId);
2347
+ const url = this._httpHelper.getUrl(resourceUri);
2348
+ const opts = { method: "PUT" };
2349
+ return this._httpHelper.doVvClientRequest(url, opts, null, null);
2350
+ }
2147
2351
  };
2148
2352
 
2149
2353
  // lib/vvRestApi/outsideProcessesManager.js
@@ -2230,6 +2434,12 @@ var ReportsManager = class {
2230
2434
  constructor(httpHelper) {
2231
2435
  this._httpHelper = httpHelper;
2232
2436
  }
2437
+ getReports(params) {
2438
+ const resourceUri = this._httpHelper._config.ResourceUri.Reports;
2439
+ const url = this._httpHelper.getUrl(resourceUri);
2440
+ const opts = { method: "GET" };
2441
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2442
+ }
2233
2443
  getReportPDF(reportId, params) {
2234
2444
  const resourceUri = this._httpHelper._config.ResourceUri.ReportServerPDF.replace("{id}", reportId);
2235
2445
  const url = this._httpHelper.getUrl(resourceUri);
@@ -2238,6 +2448,102 @@ var ReportsManager = class {
2238
2448
  }
2239
2449
  };
2240
2450
 
2451
+ // lib/vvRestApi/languageResourcesManager.js
2452
+ init_cjs_shims();
2453
+ var LanguageResourcesManager = class {
2454
+ constructor(httpHelper, baseUrl) {
2455
+ this._httpHelper = httpHelper;
2456
+ this._baseUrl = baseUrl;
2457
+ this._apiUrl = httpHelper._config.BaseApiUri;
2458
+ }
2459
+ getLanguageAreas(params) {
2460
+ const resourceUri = this._httpHelper._config.ResourceUri.LanguageAreas;
2461
+ const url = this._baseUrl + this._apiUrl + resourceUri;
2462
+ const opts = { method: "GET" };
2463
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2464
+ }
2465
+ getLanguages(params) {
2466
+ const resourceUri = this._httpHelper._config.ResourceUri.Languages;
2467
+ const url = this._baseUrl + this._apiUrl + resourceUri;
2468
+ const opts = { method: "GET" };
2469
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2470
+ }
2471
+ exportLanguages(params) {
2472
+ const resourceUri = this._httpHelper._config.ResourceUri.ExportLanguages;
2473
+ const url = this._httpHelper.getUrl(resourceUri);
2474
+ const opts = { method: "GETSTREAM" };
2475
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2476
+ }
2477
+ importLanguages(params, fileData, fileName) {
2478
+ const resourceUri = this._httpHelper._config.ResourceUri.ImportLanguages;
2479
+ const url = this._httpHelper.getUrl(resourceUri) + `?area=${params.area}&lang=${params.lang}`;
2480
+ const opts = { method: "POSTSTREAM" };
2481
+ const data = { fileName };
2482
+ return this._httpHelper.doVvClientRequest(url, opts, null, data, fileData);
2483
+ }
2484
+ };
2485
+
2486
+ // lib/vvRestApi/dropdownListsManager.js
2487
+ init_cjs_shims();
2488
+ var DropdownListsManager = class {
2489
+ constructor(httpHelper) {
2490
+ this._httpHelper = httpHelper;
2491
+ }
2492
+ getDropDownLists(params) {
2493
+ const resourceUri = this._httpHelper._config.ResourceUri.DropDownLists;
2494
+ const url = this._httpHelper.getUrl(resourceUri);
2495
+ const opts = { method: "GET" };
2496
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2497
+ }
2498
+ getDropDownListById(params, listId) {
2499
+ const resourceUri = this._httpHelper._config.ResourceUri.DropDownListsId.replace("{id}", listId);
2500
+ const url = this._httpHelper.getUrl(resourceUri);
2501
+ const opts = { method: "GET" };
2502
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2503
+ }
2504
+ getDropDownListItemsById(params, listId) {
2505
+ const resourceUri = this._httpHelper._config.ResourceUri.DropDownListsIdItems.replace("{id}", listId);
2506
+ const url = this._httpHelper.getUrl(resourceUri);
2507
+ const opts = { method: "GET" };
2508
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2509
+ }
2510
+ addDropDownList(params, ddName, ddDescription, ddItems) {
2511
+ const resourceUri = this._httpHelper._config.ResourceUri.DropDownLists;
2512
+ const url = this._httpHelper.getUrl(resourceUri);
2513
+ const opts = { method: "POST" };
2514
+ const data = {
2515
+ Name: ddName,
2516
+ Description: ddDescription,
2517
+ Items: ddItems
2518
+ };
2519
+ return this._httpHelper.doVvClientRequest(url, opts, params, data);
2520
+ }
2521
+ deleteDropDownList(params, listId) {
2522
+ const resourceUri = this._httpHelper._config.ResourceUri.DropDownListsId.replace("{id}", listId);
2523
+ const url = this._httpHelper.getUrl(resourceUri);
2524
+ const opts = { method: "DELETE" };
2525
+ return this._httpHelper.doVvClientRequest(url, opts, params, null);
2526
+ }
2527
+ updateDropDownList(params, listId, ddName, ddDescription, items) {
2528
+ const resourceUri = this._httpHelper._config.ResourceUri.DropDownListsId.replace("{id}", listId);
2529
+ const url = this._httpHelper.getUrl(resourceUri);
2530
+ const opts = { method: "PUT" };
2531
+ const data = {
2532
+ Name: ddName,
2533
+ Description: ddDescription,
2534
+ Items: items
2535
+ };
2536
+ return this._httpHelper.doVvClientRequest(url, opts, params, data);
2537
+ }
2538
+ deleteDropDownListItem(params, listId, itemIds) {
2539
+ const resourceUri = this._httpHelper._config.ResourceUri.DropDownListsIdItems.replace("{id}", listId);
2540
+ const url = this._httpHelper.getUrl(resourceUri);
2541
+ const opts = { method: "DELETE" };
2542
+ const mergedParams = { ...params, itemIds };
2543
+ return this._httpHelper.doVvClientRequest(url, opts, mergedParams, null);
2544
+ }
2545
+ };
2546
+
2241
2547
  // lib/VVRestApi.js
2242
2548
  var debug5 = (0, import_debug5.default)("visualvault:api");
2243
2549
  var __filename7 = (0, import_url6.fileURLToPath)(importMetaUrl);
@@ -2285,6 +2591,10 @@ var VVClient = class {
2285
2591
  layouts;
2286
2592
  /** @type {*} */
2287
2593
  reports;
2594
+ /** @type {*} */
2595
+ languageResources;
2596
+ /** @type {*} */
2597
+ dropdownLists;
2288
2598
  /**
2289
2599
  * @param {*} sessionToken - Session token from authentication
2290
2600
  */
@@ -2313,6 +2623,8 @@ var VVClient = class {
2313
2623
  this.securityMembers = new SecurityMembersManager(this._httpHelper);
2314
2624
  this.layouts = new LayoutsManager(this._httpHelper);
2315
2625
  this.reports = new ReportsManager(this._httpHelper);
2626
+ this.languageResources = new LanguageResourcesManager(this._httpHelper, sessionToken.baseUrl);
2627
+ this.dropdownLists = new DropdownListsManager(this._httpHelper);
2316
2628
  this.docApi = null;
2317
2629
  this.formsApi = null;
2318
2630
  this.objectsApi = null;