@verdocs/js-sdk 4.1.13 → 4.1.14
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/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1704,8 +1704,8 @@ const getGroups = (endpoint) => endpoint.api //
|
|
|
1704
1704
|
const getGroup = (endpoint, groupId) => endpoint.api //
|
|
1705
1705
|
.get(`/v2/organization-groups/${groupId}`)
|
|
1706
1706
|
.then((r) => r.data);
|
|
1707
|
-
const createGroup = (endpoint,
|
|
1708
|
-
.post('/v2/organization-groups',
|
|
1707
|
+
const createGroup = (endpoint, params) => endpoint.api //
|
|
1708
|
+
.post('/v2/organization-groups', params)
|
|
1709
1709
|
.then((r) => r.data);
|
|
1710
1710
|
const addGroupMember = (endpoint, groupId, profile_id) => endpoint.api //
|
|
1711
1711
|
.post(`/v2/organization-groups/${groupId}/members`, { profile_id })
|