@shapediver/sdk.geometry-api-sdk-v2 4.2.2 → 4.3.0
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/client/apis/AnalyticsApi.d.ts.map +1 -1
- package/dist/client/apis/AnalyticsApi.js.map +1 -1
- package/dist/client/apis/ArSceneApi.d.ts.map +1 -1
- package/dist/client/apis/ArSceneApi.js.map +1 -1
- package/dist/client/apis/AssetsApi.d.ts.map +1 -1
- package/dist/client/apis/AssetsApi.js.map +1 -1
- package/dist/client/apis/AuthGroupApi.d.ts.map +1 -1
- package/dist/client/apis/AuthGroupApi.js.map +1 -1
- package/dist/client/apis/ExportApi.d.ts.map +1 -1
- package/dist/client/apis/ExportApi.js.map +1 -1
- package/dist/client/apis/FileApi.d.ts.map +1 -1
- package/dist/client/apis/FileApi.js.map +1 -1
- package/dist/client/apis/GltfApi.d.ts.map +1 -1
- package/dist/client/apis/GltfApi.js.map +1 -1
- package/dist/client/apis/LogApi.d.ts.map +1 -1
- package/dist/client/apis/LogApi.js.map +1 -1
- package/dist/client/apis/ModelApi.d.ts +12 -1
- package/dist/client/apis/ModelApi.d.ts.map +1 -1
- package/dist/client/apis/ModelApi.js +52 -0
- package/dist/client/apis/ModelApi.js.map +1 -1
- package/dist/client/apis/ModelStateApi.d.ts.map +1 -1
- package/dist/client/apis/ModelStateApi.js.map +1 -1
- package/dist/client/apis/OutputApi.d.ts.map +1 -1
- package/dist/client/apis/OutputApi.js.map +1 -1
- package/dist/client/apis/ScriptApi.d.ts.map +1 -1
- package/dist/client/apis/ScriptApi.js.map +1 -1
- package/dist/client/apis/SdtfApi.d.ts.map +1 -1
- package/dist/client/apis/SdtfApi.js.map +1 -1
- package/dist/client/apis/SessionApi.d.ts.map +1 -1
- package/dist/client/apis/SessionApi.js.map +1 -1
- package/dist/client/apis/SystemApi.d.ts.map +1 -1
- package/dist/client/apis/SystemApi.js.map +1 -1
- package/dist/client/apis/TextureApi.d.ts.map +1 -1
- package/dist/client/apis/TextureApi.js.map +1 -1
- package/dist/client/models/index.d.ts +43 -0
- package/dist/client/models/index.d.ts.map +1 -1
- package/dist/client/models/index.js +29 -24
- package/dist/client/models/index.js.map +1 -1
- package/dist/client/runtime.d.ts +1 -0
- package/dist/client/runtime.d.ts.map +1 -1
- package/dist/client/runtime.js +5 -1
- package/dist/client/runtime.js.map +1 -1
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
- package/src/client/apis/AnalyticsApi.ts +22 -1
- package/src/client/apis/ArSceneApi.ts +10 -1
- package/src/client/apis/AssetsApi.ts +40 -1
- package/src/client/apis/AuthApi.ts +1 -1
- package/src/client/apis/AuthGroupApi.ts +4 -1
- package/src/client/apis/ExportApi.ts +40 -1
- package/src/client/apis/FileApi.ts +43 -1
- package/src/client/apis/GltfApi.ts +10 -1
- package/src/client/apis/LogApi.ts +7 -1
- package/src/client/apis/ModelApi.ts +243 -1
- package/src/client/apis/ModelStateApi.ts +37 -1
- package/src/client/apis/OutputApi.ts +40 -1
- package/src/client/apis/ScriptApi.ts +7 -1
- package/src/client/apis/SdtfApi.ts +34 -1
- package/src/client/apis/SessionApi.ts +60 -1
- package/src/client/apis/SystemApi.ts +10 -1
- package/src/client/apis/TextureApi.ts +7 -1
- package/src/client/models/index.ts +179 -1777
- package/src/client/runtime.ts +14 -2
- package/src/configuration.ts +1 -1
package/src/client/runtime.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Geometry Backend API v2
|
|
5
5
|
* The ShapeDiver Geometry Backend system is used to: * host Grasshopper models in a secure, reliable, scalable, and performant way, * run computations of Grasshopper models, * and cache and output the results of computations and exports.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.
|
|
7
|
+
* The version of the OpenAPI document: 2.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -346,7 +346,7 @@ function querystringSingleKey(key: string, value: string | number | null | undef
|
|
|
346
346
|
return querystringSingleKey(key, valueAsArray, keyPrefix);
|
|
347
347
|
}
|
|
348
348
|
if (value instanceof Date) {
|
|
349
|
-
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value
|
|
349
|
+
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(serializeDateTime(value))}`;
|
|
350
350
|
}
|
|
351
351
|
if (value instanceof Object) {
|
|
352
352
|
return querystring(value as HTTPQuery, fullKey);
|
|
@@ -359,6 +359,18 @@ export function exists(json: any, key: string) {
|
|
|
359
359
|
return value !== null && value !== undefined;
|
|
360
360
|
}
|
|
361
361
|
|
|
362
|
+
/**
|
|
363
|
+
* Every generated date call site routes through these.
|
|
364
|
+
*
|
|
365
|
+
* `format: date` is a calendar date, with no time and no offset, so it is converted
|
|
366
|
+
* against the local calendar on both ends: they have to agree or the date shifts by
|
|
367
|
+
* a day. `format: date-time` is an instant and uses UTC.
|
|
368
|
+
*/
|
|
369
|
+
export function serializeDateTime(value: Date): string {
|
|
370
|
+
return value.toISOString();
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
|
|
362
374
|
|
|
363
375
|
export function canConsumeForm(consumes: Consume[]): boolean {
|
|
364
376
|
for (const consume of consumes) {
|
package/src/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ConfigurationParameters as ClientConfigParams,
|
|
4
4
|
} from './client/runtime';
|
|
5
5
|
|
|
6
|
-
const SDK_VERSION = '4.
|
|
6
|
+
const SDK_VERSION = '4.3.0'; // WARNING: This value is updated automatically!
|
|
7
7
|
|
|
8
8
|
export interface ConfigurationParameters
|
|
9
9
|
extends Pick<ClientConfigParams, 'accessToken' | 'basePath' | 'fetchApi' | 'headers' | 'middleware' | 'queryParamsStringify'> {
|