@verdocs/js-sdk 2.0.7 → 2.0.8
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.
|
@@ -18,7 +18,7 @@ import { VerdocsEndpoint } from '../VerdocsEndpoint';
|
|
|
18
18
|
* const groups = await Groups.getGroups(ORGID);
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
|
-
export declare const getGroups: (endpoint: VerdocsEndpoint, organizationId: string) => Promise<IGroup[]>;
|
|
21
|
+
export declare const getGroups: (endpoint: VerdocsEndpoint, organizationId: string, name?: string) => Promise<IGroup[]>;
|
|
22
22
|
/**
|
|
23
23
|
* Get the details for a group.
|
|
24
24
|
*
|
package/Organizations/Groups.js
CHANGED
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
* const groups = await Groups.getGroups(ORGID);
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
export var getGroups = function (endpoint, organizationId) {
|
|
19
|
+
export var getGroups = function (endpoint, organizationId, name) {
|
|
20
20
|
return endpoint.api //
|
|
21
|
-
.get("/organizations/".concat(organizationId, "/groups"))
|
|
21
|
+
.get("/organizations/".concat(organizationId, "/groups"), { params: { name: name } })
|
|
22
22
|
.then(function (r) { return r.data; });
|
|
23
23
|
};
|
|
24
24
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdocs/js-sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"homepage": "https://github.com/Verdocs/js-sdk",
|
|
6
6
|
"description": "Verdocs JS SDK",
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@jest/globals": "^28.1.2",
|
|
55
55
|
"@types/jest": "^28.1.4",
|
|
56
|
-
"axios-mock-adapter": "^1.21.
|
|
56
|
+
"axios-mock-adapter": "^1.21.2",
|
|
57
57
|
"jest": "^28.1.2",
|
|
58
58
|
"prettier": "^2.7.1",
|
|
59
|
-
"ts-jest": "^28.0.
|
|
59
|
+
"ts-jest": "^28.0.8",
|
|
60
60
|
"tslint": "^6.1.3",
|
|
61
61
|
"tslint-config-prettier": "^1.18.0",
|
|
62
|
-
"typedoc": "^0.23.
|
|
62
|
+
"typedoc": "^0.23.11",
|
|
63
63
|
"typedoc-plugin-markdown": "^3.13.4",
|
|
64
64
|
"typescript": "^4.7.4"
|
|
65
65
|
}
|