@shapediver/sdk.geometry-api-sdk-v2
Advanced tools
Comparing version 1.0.14 to 1.0.15
@@ -28,3 +28,3 @@ "use strict"; | ||
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () { | ||
return this.api.get(`${this.buildSessionUri(sessionId)}/export/${assetData}`, undefined, sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA); | ||
return this.api.get(`${this.buildSessionUri(sessionId)}/export/${assetData}`, { contentType: "application/json", responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }); | ||
})); | ||
@@ -42,3 +42,3 @@ }); | ||
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () { | ||
return this.api.get(`${this.buildSessionUri(sessionId)}/output/${assetData}`, undefined, sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA); | ||
return this.api.get(`${this.buildSessionUri(sessionId)}/output/${assetData}`, { contentType: "application/json", responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }); | ||
})); | ||
@@ -56,3 +56,3 @@ }); | ||
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () { | ||
return this.api.get(`${this.buildSessionUri(sessionId)}/texture/${assetData}`, undefined, sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA); | ||
return this.api.get(`${this.buildSessionUri(sessionId)}/texture/${assetData}`, { contentType: "application/json", responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }); | ||
})); | ||
@@ -70,3 +70,3 @@ }); | ||
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () { | ||
return this.api.get(`${this.buildSessionUri(sessionId)}/gltf/${assetData}`, undefined, sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA); | ||
return this.api.get(`${this.buildSessionUri(sessionId)}/gltf/${assetData}`, { contentType: "application/json", responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }); | ||
})); | ||
@@ -84,3 +84,3 @@ }); | ||
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () { | ||
return this.api.get(`${this.buildSessionUri(sessionId)}/usdz/${assetData}`, undefined, sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA); | ||
return this.api.get(`${this.buildSessionUri(sessionId)}/usdz/${assetData}`, { contentType: "application/json", responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }); | ||
})); | ||
@@ -87,0 +87,0 @@ }); |
@@ -40,3 +40,3 @@ "use strict"; | ||
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () { | ||
return this.api.get(`${this.buildSessionUri(sessionId)}/file/${paramId}/${fileId}`, undefined, sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA); | ||
return this.api.get(`${this.buildSessionUri(sessionId)}/file/${paramId}/${fileId}`, { contentType: "application/json", responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }); | ||
})); | ||
@@ -43,0 +43,0 @@ }); |
@@ -31,3 +31,3 @@ "use strict"; | ||
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () { | ||
return this.api.post(`${this.buildSessionUri(sessionId)}/gltf?conversion=${queryConvert}`, body, { contentType: type }); | ||
return this.api.post(`${this.buildSessionUri(sessionId)}/gltf?conversion=${queryConvert}`, body, { contentType: type, responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.JSON }); | ||
})); | ||
@@ -34,0 +34,0 @@ }); |
@@ -100,3 +100,3 @@ "use strict"; | ||
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () { | ||
return this.api.get(this.buildModelUri(modelId) + "/file/download", undefined, sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA); | ||
return this.api.get(this.buildModelUri(modelId) + "/file/download", { contentType: "application/json", responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }); | ||
})); | ||
@@ -103,0 +103,0 @@ }); |
@@ -39,3 +39,3 @@ "use strict"; | ||
return yield (0, utils_1.sendRequest)(() => __awaiter(this, void 0, void 0, function* () { | ||
return this.api.get(`${this.buildSessionUri(sessionId)}/sdtf/${sdtfId}`, undefined, sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA); | ||
return this.api.get(`${this.buildSessionUri(sessionId)}/sdtf/${sdtfId}`, { contentType: "application/json", responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.DATA }); | ||
})); | ||
@@ -42,0 +42,0 @@ }); |
@@ -31,3 +31,5 @@ "use strict"; | ||
contentType: type, | ||
authorization: "disabled", | ||
responseType: sdk_geometry_api_sdk_core_1.ShapeDiverSdkApiResponseType.JSON, | ||
disableAuthorization: true, | ||
disableCustomHeaders: true, | ||
}); | ||
@@ -34,0 +36,0 @@ })); |
{ | ||
"name": "@shapediver/sdk.geometry-api-sdk-v2", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "SDK to communicate with the Geometry View API version 2", | ||
@@ -55,5 +55,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@shapediver/sdk.geometry-api-sdk-core": "^1.0.6", | ||
"@shapediver/sdk.geometry-api-sdk-core": "^1.0.7", | ||
"@shapediver/api.geometry-api-dto-v2": "^1.1.5" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
104238
1492