@shapediver/sdk.geometry-api-sdk-v2 4.2.1 → 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.
Files changed (68) hide show
  1. package/dist/UtilsApi.d.ts.map +1 -1
  2. package/dist/UtilsApi.js +0 -2
  3. package/dist/UtilsApi.js.map +1 -1
  4. package/dist/client/apis/AnalyticsApi.d.ts.map +1 -1
  5. package/dist/client/apis/AnalyticsApi.js.map +1 -1
  6. package/dist/client/apis/ArSceneApi.d.ts.map +1 -1
  7. package/dist/client/apis/ArSceneApi.js.map +1 -1
  8. package/dist/client/apis/AssetsApi.d.ts.map +1 -1
  9. package/dist/client/apis/AssetsApi.js.map +1 -1
  10. package/dist/client/apis/AuthGroupApi.d.ts.map +1 -1
  11. package/dist/client/apis/AuthGroupApi.js.map +1 -1
  12. package/dist/client/apis/ExportApi.d.ts.map +1 -1
  13. package/dist/client/apis/ExportApi.js.map +1 -1
  14. package/dist/client/apis/FileApi.d.ts.map +1 -1
  15. package/dist/client/apis/FileApi.js.map +1 -1
  16. package/dist/client/apis/GltfApi.d.ts.map +1 -1
  17. package/dist/client/apis/GltfApi.js.map +1 -1
  18. package/dist/client/apis/LogApi.d.ts.map +1 -1
  19. package/dist/client/apis/LogApi.js.map +1 -1
  20. package/dist/client/apis/ModelApi.d.ts +12 -1
  21. package/dist/client/apis/ModelApi.d.ts.map +1 -1
  22. package/dist/client/apis/ModelApi.js +52 -0
  23. package/dist/client/apis/ModelApi.js.map +1 -1
  24. package/dist/client/apis/ModelStateApi.d.ts.map +1 -1
  25. package/dist/client/apis/ModelStateApi.js.map +1 -1
  26. package/dist/client/apis/OutputApi.d.ts.map +1 -1
  27. package/dist/client/apis/OutputApi.js.map +1 -1
  28. package/dist/client/apis/ScriptApi.d.ts.map +1 -1
  29. package/dist/client/apis/ScriptApi.js.map +1 -1
  30. package/dist/client/apis/SdtfApi.d.ts.map +1 -1
  31. package/dist/client/apis/SdtfApi.js.map +1 -1
  32. package/dist/client/apis/SessionApi.d.ts.map +1 -1
  33. package/dist/client/apis/SessionApi.js.map +1 -1
  34. package/dist/client/apis/SystemApi.d.ts.map +1 -1
  35. package/dist/client/apis/SystemApi.js.map +1 -1
  36. package/dist/client/apis/TextureApi.d.ts.map +1 -1
  37. package/dist/client/apis/TextureApi.js.map +1 -1
  38. package/dist/client/models/index.d.ts +43 -0
  39. package/dist/client/models/index.d.ts.map +1 -1
  40. package/dist/client/models/index.js +29 -24
  41. package/dist/client/models/index.js.map +1 -1
  42. package/dist/client/runtime.d.ts +1 -0
  43. package/dist/client/runtime.d.ts.map +1 -1
  44. package/dist/client/runtime.js +5 -1
  45. package/dist/client/runtime.js.map +1 -1
  46. package/dist/configuration.js +1 -1
  47. package/package.json +1 -1
  48. package/src/UtilsApi.ts +0 -2
  49. package/src/client/apis/AnalyticsApi.ts +22 -1
  50. package/src/client/apis/ArSceneApi.ts +10 -1
  51. package/src/client/apis/AssetsApi.ts +40 -1
  52. package/src/client/apis/AuthApi.ts +1 -1
  53. package/src/client/apis/AuthGroupApi.ts +4 -1
  54. package/src/client/apis/ExportApi.ts +40 -1
  55. package/src/client/apis/FileApi.ts +43 -1
  56. package/src/client/apis/GltfApi.ts +10 -1
  57. package/src/client/apis/LogApi.ts +7 -1
  58. package/src/client/apis/ModelApi.ts +243 -1
  59. package/src/client/apis/ModelStateApi.ts +37 -1
  60. package/src/client/apis/OutputApi.ts +40 -1
  61. package/src/client/apis/ScriptApi.ts +7 -1
  62. package/src/client/apis/SdtfApi.ts +34 -1
  63. package/src/client/apis/SessionApi.ts +60 -1
  64. package/src/client/apis/SystemApi.ts +10 -1
  65. package/src/client/apis/TextureApi.ts +7 -1
  66. package/src/client/models/index.ts +179 -1777
  67. package/src/client/runtime.ts +14 -2
  68. package/src/configuration.ts +1 -1
@@ -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.5.0
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.toISOString())}`;
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) {
@@ -3,7 +3,7 @@ import {
3
3
  ConfigurationParameters as ClientConfigParams,
4
4
  } from './client/runtime';
5
5
 
6
- const SDK_VERSION = '4.2.1'; // WARNING: This value is updated automatically!
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'> {