@shapediver/sdk.platform-api-sdk-v1 2.29.10 → 2.29.12
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.
|
@@ -2,14 +2,14 @@ import { ResourcesApi } from "./commons/ResourcesApi";
|
|
|
2
2
|
import { SdPlatformResponseModelToken, SdPlatformRequestModelTokenCreate } from "@shapediver/api.platform-api-dto-v1";
|
|
3
3
|
import { SdPlatformPostResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
4
|
/**
|
|
5
|
-
* Operations for creating tokens for models on Geometry Backend Systems
|
|
5
|
+
* Operations for creating tokens for models, users, or organizations on Geometry Backend Systems
|
|
6
6
|
*/
|
|
7
7
|
export declare class SdPlatformModelTokenApi extends ResourcesApi {
|
|
8
8
|
protected get __resourcePath(): string;
|
|
9
9
|
/**
|
|
10
|
-
* Get a token for interacting with a model on
|
|
10
|
+
* Get a token for interacting with a model, user, or organization on a geometry backend system.
|
|
11
11
|
* @param body {@link SdPlatformRequestModelTokenCreate} body of a request.
|
|
12
|
-
* @returns token for accessing
|
|
12
|
+
* @returns token for accessing models, users, or organizations on a ShapeDiver Geometry Backend system
|
|
13
13
|
*/
|
|
14
14
|
create(body: SdPlatformRequestModelTokenCreate): Promise<SdPlatformPostResponse<SdPlatformResponseModelToken>>;
|
|
15
15
|
}
|
|
@@ -4,16 +4,16 @@ exports.SdPlatformModelTokenApi = void 0;
|
|
|
4
4
|
const SdPlatformRequestId_1 = require("../api/SdPlatformRequestId");
|
|
5
5
|
const ResourcesApi_1 = require("./commons/ResourcesApi");
|
|
6
6
|
/**
|
|
7
|
-
* Operations for creating tokens for models on Geometry Backend Systems
|
|
7
|
+
* Operations for creating tokens for models, users, or organizations on Geometry Backend Systems
|
|
8
8
|
*/
|
|
9
9
|
class SdPlatformModelTokenApi extends ResourcesApi_1.ResourcesApi {
|
|
10
10
|
get __resourcePath() {
|
|
11
11
|
return "tokens";
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
* Get a token for interacting with a model on
|
|
14
|
+
* Get a token for interacting with a model, user, or organization on a geometry backend system.
|
|
15
15
|
* @param body {@link SdPlatformRequestModelTokenCreate} body of a request.
|
|
16
|
-
* @returns token for accessing
|
|
16
|
+
* @returns token for accessing models, users, or organizations on a ShapeDiver Geometry Backend system
|
|
17
17
|
*/
|
|
18
18
|
create(body) {
|
|
19
19
|
return super.__post(SdPlatformRequestId_1.RequestId.TokenCreate, body);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapediver/sdk.platform-api-sdk-v1",
|
|
3
|
-
"version": "2.29.
|
|
3
|
+
"version": "2.29.12",
|
|
4
4
|
"description": "SDK to communicate with the Platform API version 1",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shapediver",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"post-publish": "bash ../../scripts/post-publish.sh"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@shapediver/api.platform-api-dto-v1": "2.29.
|
|
42
|
-
"@shapediver/sdk.geometry-api-sdk-v2": "3.4.
|
|
43
|
-
"axios": "1.15.
|
|
41
|
+
"@shapediver/api.platform-api-dto-v1": "2.29.12",
|
|
42
|
+
"@shapediver/sdk.geometry-api-sdk-v2": "3.4.1",
|
|
43
|
+
"axios": "1.15.2",
|
|
44
44
|
"jwt-decode": "3.1.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
@@ -51,10 +51,5 @@
|
|
|
51
51
|
"ts-node": "10.9.2",
|
|
52
52
|
"typescript": "4.9.5"
|
|
53
53
|
},
|
|
54
|
-
"pnpm": {
|
|
55
|
-
"overrides": {
|
|
56
|
-
"axios": "1.15.2"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
54
|
"gitHead": "bbc446830cacb0aae7847fcc4438e0fbcc04865e"
|
|
60
55
|
}
|