@hubs101/js-api-skd-client 1.0.10642 → 1.0.10643

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.
@@ -113,7 +113,7 @@ const _inviteFinanceManager = (basePath, token, accountId, data) => __awaiter(vo
113
113
  exports._inviteFinanceManager = _inviteFinanceManager;
114
114
  const _inviteSalesManager = (basePath, token, accountId, data) => __awaiter(void 0, void 0, void 0, function* () {
115
115
  const base = (0, base_1.getBasePath)(basePath);
116
- const response = yield (0, api_1.postRequestWE)(`${base.ACCOUNTS}/${accountId}/managers/sales`, data, token);
116
+ const response = yield (0, api_1.postRequestWE)(`${base.ACCOUNTS}/${accountId}/managers/sales-managers`, data, token);
117
117
  return response;
118
118
  });
119
119
  exports._inviteSalesManager = _inviteSalesManager;
@@ -125,7 +125,7 @@ const _deleteFinanceManager = (basePath, token, accountId, profileId) => __await
125
125
  exports._deleteFinanceManager = _deleteFinanceManager;
126
126
  const _deleteSalesManager = (basePath, token, accountId, profileId) => __awaiter(void 0, void 0, void 0, function* () {
127
127
  const base = (0, base_1.getBasePath)(basePath);
128
- const response = yield (0, api_1.deleteRequestWE)(`${base.ACCOUNTS}/${accountId}/managers/sales/${profileId}`, token);
128
+ const response = yield (0, api_1.deleteRequestWE)(`${base.ACCOUNTS}/${accountId}/managers/sales-managers/${profileId}`, token);
129
129
  return response;
130
130
  });
131
131
  exports._deleteSalesManager = _deleteSalesManager;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubs101/js-api-skd-client",
3
- "version": "1.0.10642",
3
+ "version": "1.0.10643",
4
4
  "author": "Liveware",
5
5
  "scripts": {
6
6
  "test": "jest --config jestconfig.json",