@shapediver/sdk.geometry-api-sdk-v2 3.5.0 → 3.6.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/api.d.ts +1 -35
- package/dist/client/api.d.ts.map +1 -1
- package/dist/client/api.js.map +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
- package/src/client/api.ts +12 -130
- package/src/client/base.ts +1 -1
- package/src/client/common.ts +1 -1
- package/src/client/configuration.ts +1 -1
- package/src/client/index.ts +1 -1
- package/src/configuration.ts +1 -1
package/dist/configuration.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface ConfigurationParameters extends Pick<ClientConfigParams, 'acces
|
|
|
6
6
|
maxRetries?: number;
|
|
7
7
|
}
|
|
8
8
|
export declare class Configuration extends ClientConfig {
|
|
9
|
-
protected readonly sdkVersion = "3.
|
|
9
|
+
protected readonly sdkVersion = "3.6.0";
|
|
10
10
|
readonly useCustomAxios: boolean;
|
|
11
11
|
readonly maxRetries: number;
|
|
12
12
|
constructor(param?: ConfigurationParameters);
|
package/dist/configuration.js
CHANGED
|
@@ -6,7 +6,7 @@ class Configuration extends configuration_1.Configuration {
|
|
|
6
6
|
constructor(param = {}) {
|
|
7
7
|
var _a, _b, _c, _d;
|
|
8
8
|
super(param);
|
|
9
|
-
this.sdkVersion = '3.
|
|
9
|
+
this.sdkVersion = '3.6.0';
|
|
10
10
|
this.useCustomAxios = (_a = param.useCustomAxios) !== null && _a !== void 0 ? _a : true;
|
|
11
11
|
this.maxRetries = (_b = param.maxRetries) !== null && _b !== void 0 ? _b : 5;
|
|
12
12
|
this.baseOptions = (_c = this.baseOptions) !== null && _c !== void 0 ? _c : {};
|
package/package.json
CHANGED
package/src/client/api.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.5.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -973,7 +973,6 @@ export interface ResAllowedWorkerPlugin {
|
|
|
973
973
|
* Analytics components.
|
|
974
974
|
*/
|
|
975
975
|
export interface ResAnalytics {
|
|
976
|
-
'models': Array<ResModelStatistic>;
|
|
977
976
|
'creditMetrics': Array<ResAnyCreditMetric>;
|
|
978
977
|
}
|
|
979
978
|
/**
|
|
@@ -1046,7 +1045,7 @@ export interface ResBase {
|
|
|
1046
1045
|
*/
|
|
1047
1046
|
'actions'?: Array<ResAction>;
|
|
1048
1047
|
/**
|
|
1049
|
-
*
|
|
1048
|
+
* Analytics information.
|
|
1050
1049
|
*/
|
|
1051
1050
|
'analytics'?: ResAnalytics;
|
|
1052
1051
|
/**
|
|
@@ -2203,7 +2202,7 @@ export interface ResGetCleanupStatus {
|
|
|
2203
2202
|
}
|
|
2204
2203
|
export interface ResGetCreditMetrics {
|
|
2205
2204
|
/**
|
|
2206
|
-
*
|
|
2205
|
+
* Analytics information.
|
|
2207
2206
|
*/
|
|
2208
2207
|
'analytics': ResAnalytics;
|
|
2209
2208
|
/**
|
|
@@ -2291,7 +2290,7 @@ export interface ResGetModelConfig {
|
|
|
2291
2290
|
}
|
|
2292
2291
|
export interface ResGetModelOrganizationCreditMetrics {
|
|
2293
2292
|
/**
|
|
2294
|
-
*
|
|
2293
|
+
* Analytics information.
|
|
2295
2294
|
*/
|
|
2296
2295
|
'analytics': ResAnalytics;
|
|
2297
2296
|
/**
|
|
@@ -2321,7 +2320,7 @@ export interface ResGetModelStateData {
|
|
|
2321
2320
|
}
|
|
2322
2321
|
export interface ResGetModelUserCreditMetrics {
|
|
2323
2322
|
/**
|
|
2324
|
-
*
|
|
2323
|
+
* Analytics information.
|
|
2325
2324
|
*/
|
|
2326
2325
|
'analytics': ResAnalytics;
|
|
2327
2326
|
/**
|
|
@@ -2331,7 +2330,7 @@ export interface ResGetModelUserCreditMetrics {
|
|
|
2331
2330
|
}
|
|
2332
2331
|
export interface ResGetOrganizationCreditMetrics {
|
|
2333
2332
|
/**
|
|
2334
|
-
*
|
|
2333
|
+
* Analytics information.
|
|
2335
2334
|
*/
|
|
2336
2335
|
'analytics': ResAnalytics;
|
|
2337
2336
|
/**
|
|
@@ -2398,7 +2397,7 @@ export interface ResGetSessionDefaults {
|
|
|
2398
2397
|
}
|
|
2399
2398
|
export interface ResGetUserCreditMetrics {
|
|
2400
2399
|
/**
|
|
2401
|
-
*
|
|
2400
|
+
* Analytics information.
|
|
2402
2401
|
*/
|
|
2403
2402
|
'analytics': ResAnalytics;
|
|
2404
2403
|
/**
|
|
@@ -3210,59 +3209,6 @@ export interface ResModelStateList {
|
|
|
3210
3209
|
*/
|
|
3211
3210
|
export type ResModelStateOrData = ResModelState | ResModelStateData;
|
|
3212
3211
|
|
|
3213
|
-
/**
|
|
3214
|
-
* Aggregated model session statistics.
|
|
3215
|
-
*/
|
|
3216
|
-
export interface ResModelStatistic {
|
|
3217
|
-
/**
|
|
3218
|
-
* Requested model ID.
|
|
3219
|
-
*/
|
|
3220
|
-
'modelid': string;
|
|
3221
|
-
/**
|
|
3222
|
-
* Either an extended date-time or a \'merged\'-specifier.
|
|
3223
|
-
*/
|
|
3224
|
-
'timestamp': string;
|
|
3225
|
-
/**
|
|
3226
|
-
* Aggregation for this timestamp has finished.
|
|
3227
|
-
*/
|
|
3228
|
-
'isCompilationDone': boolean;
|
|
3229
|
-
/**
|
|
3230
|
-
* Number of (technical) sessions for the given model and timestamp. A technical session may last up to two hours, after which it will get cancelled by the backend. CAUTION: Not to be confused with credits!
|
|
3231
|
-
*/
|
|
3232
|
-
'count': number;
|
|
3233
|
-
/**
|
|
3234
|
-
* Billable duration-based credit count, based on maximum duration of 10 minutes per credit.
|
|
3235
|
-
*/
|
|
3236
|
-
'billableCount': number;
|
|
3237
|
-
/**
|
|
3238
|
-
* Statistics on the duration of all sessions.
|
|
3239
|
-
*/
|
|
3240
|
-
'duration': ResOnDurationStatistic;
|
|
3241
|
-
/**
|
|
3242
|
-
* Statistics on the duration of app sessions.
|
|
3243
|
-
*/
|
|
3244
|
-
'app': ResOnDurationStatistic;
|
|
3245
|
-
/**
|
|
3246
|
-
* Statistics on the duration of backend sessions.
|
|
3247
|
-
*/
|
|
3248
|
-
'backend': ResOnDurationStatistic;
|
|
3249
|
-
/**
|
|
3250
|
-
* Statistics on the duration of embedded sessions.
|
|
3251
|
-
*/
|
|
3252
|
-
'embedded': ResOnDurationStatistic;
|
|
3253
|
-
/**
|
|
3254
|
-
* Statistics on the duration of desktop sessions.
|
|
3255
|
-
*/
|
|
3256
|
-
'desktop': ResOnDurationStatistic;
|
|
3257
|
-
/**
|
|
3258
|
-
* Statistics on customization requests per session.
|
|
3259
|
-
*/
|
|
3260
|
-
'customize': ResOnActionStatistic;
|
|
3261
|
-
/**
|
|
3262
|
-
* Statistics on export requests per session.
|
|
3263
|
-
*/
|
|
3264
|
-
'export': ResOnActionStatistic;
|
|
3265
|
-
}
|
|
3266
3212
|
/**
|
|
3267
3213
|
* Status of the model.
|
|
3268
3214
|
*/
|
|
@@ -3305,74 +3251,6 @@ export interface ResModelUserCreditMetric {
|
|
|
3305
3251
|
*/
|
|
3306
3252
|
'userId': string;
|
|
3307
3253
|
}
|
|
3308
|
-
export interface ResOnActionStatistic {
|
|
3309
|
-
/**
|
|
3310
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Number of (technical) sessions from all sources (duration) or from one specific source (app, embedded, backend, desktop), for the given model and timestamp. * `export`, `customize`: Number of sessions which have export requests.
|
|
3311
|
-
*/
|
|
3312
|
-
'count': number;
|
|
3313
|
-
/**
|
|
3314
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Billable duration-based credit count for all sessions, based on maximum duration of 10 minutes per credit. * `export`, `customize`: Billable duration-based credit count for sessions which have export requests, based on maximum duration of 10 minutes per credit.
|
|
3315
|
-
*/
|
|
3316
|
-
'billableCount': number;
|
|
3317
|
-
/**
|
|
3318
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Cumulative distribution function of the duration, for all sessions for the given model and timestamp. * `export`, `customize`: Cumulative distribution function of the number of export requests per session, for sessions which have export requests.
|
|
3319
|
-
*/
|
|
3320
|
-
'min': number;
|
|
3321
|
-
/**
|
|
3322
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Cumulative distribution function of the duration, for all sessions for the given model and timestamp. * `export`, `customize`: Cumulative distribution function of the number of export requests per session, for sessions which have export requests.
|
|
3323
|
-
*/
|
|
3324
|
-
'max': number;
|
|
3325
|
-
/**
|
|
3326
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Average duration of all sessions for the given model and timestamp. * `export`, `customize`: Average number of export requests per session, for sessions which have export requests.
|
|
3327
|
-
*/
|
|
3328
|
-
'avg': number;
|
|
3329
|
-
/**
|
|
3330
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Total duration of all sessions for the given model and timestamp. * `export`, `customize`: Total number of export requests for all sessions which have export requests.
|
|
3331
|
-
*/
|
|
3332
|
-
'sum': number;
|
|
3333
|
-
/**
|
|
3334
|
-
* `customize`: Total number of actions, for ShapeDiver Platform sessions for which the type of action happened. Note: New property - will contain `0` for entries before November 2019.
|
|
3335
|
-
*/
|
|
3336
|
-
'sumApp': number;
|
|
3337
|
-
/**
|
|
3338
|
-
* `customize`: Total number of customization requests for backend sessions which have customization requests. `export`: Total number of export requests for backend sessions which have export requests. Note: New property - will contain `0` for entries before November 2019.
|
|
3339
|
-
*/
|
|
3340
|
-
'sumBackend': number;
|
|
3341
|
-
/**
|
|
3342
|
-
* `customize`: Total number of customization requests for embedded sessions which have customization requests. `export`: Total number of export requests for embedded sessions which have export requests. Note: New property - will contain `0` for entries before November 2019.
|
|
3343
|
-
*/
|
|
3344
|
-
'sumEmbedded': number;
|
|
3345
|
-
/**
|
|
3346
|
-
* `customize`: Total number of actions, for desktop client sessions for which the type of action happened. Note: New property - will contain `0` for entries before January 2021.
|
|
3347
|
-
*/
|
|
3348
|
-
'sumDesktop': number;
|
|
3349
|
-
}
|
|
3350
|
-
export interface ResOnDurationStatistic {
|
|
3351
|
-
/**
|
|
3352
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Number of (technical) sessions from all sources (duration) or from one specific source (app, embedded, backend, desktop), for the given model and timestamp. * `export`, `customize`: Number of sessions which have export requests.
|
|
3353
|
-
*/
|
|
3354
|
-
'count': number;
|
|
3355
|
-
/**
|
|
3356
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Billable duration-based credit count for all sessions, based on maximum duration of 10 minutes per credit. * `export`, `customize`: Billable duration-based credit count for sessions which have export requests, based on maximum duration of 10 minutes per credit.
|
|
3357
|
-
*/
|
|
3358
|
-
'billableCount': number;
|
|
3359
|
-
/**
|
|
3360
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Cumulative distribution function of the duration, for all sessions for the given model and timestamp. * `export`, `customize`: Cumulative distribution function of the number of export requests per session, for sessions which have export requests.
|
|
3361
|
-
*/
|
|
3362
|
-
'min': number;
|
|
3363
|
-
/**
|
|
3364
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Cumulative distribution function of the duration, for all sessions for the given model and timestamp. * `export`, `customize`: Cumulative distribution function of the number of export requests per session, for sessions which have export requests.
|
|
3365
|
-
*/
|
|
3366
|
-
'max': number;
|
|
3367
|
-
/**
|
|
3368
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Average duration of all sessions for the given model and timestamp. * `export`, `customize`: Average number of export requests per session, for sessions which have export requests.
|
|
3369
|
-
*/
|
|
3370
|
-
'avg': number;
|
|
3371
|
-
/**
|
|
3372
|
-
* * `duration`, `app`, `embedded`, `backend`, `desktop`: Total duration of all sessions for the given model and timestamp. * `export`, `customize`: Total number of export requests for all sessions which have export requests.
|
|
3373
|
-
*/
|
|
3374
|
-
'sum': number;
|
|
3375
|
-
}
|
|
3376
3254
|
/**
|
|
3377
3255
|
* Aggregated credit metrics for a organization.
|
|
3378
3256
|
*/
|
|
@@ -3828,7 +3706,7 @@ export interface ResPartActions {
|
|
|
3828
3706
|
}
|
|
3829
3707
|
export interface ResPartAnalytics {
|
|
3830
3708
|
/**
|
|
3831
|
-
*
|
|
3709
|
+
* Analytics information.
|
|
3832
3710
|
*/
|
|
3833
3711
|
'analytics'?: ResAnalytics;
|
|
3834
3712
|
}
|
|
@@ -4605,6 +4483,10 @@ export interface ResWorkerPluginComponent {
|
|
|
4605
4483
|
* Name of the plugin component.
|
|
4606
4484
|
*/
|
|
4607
4485
|
'name': string;
|
|
4486
|
+
/**
|
|
4487
|
+
* Indicates whether the component is a script component.
|
|
4488
|
+
*/
|
|
4489
|
+
'isScriptComponent'?: boolean;
|
|
4608
4490
|
}
|
|
4609
4491
|
/**
|
|
4610
4492
|
* Holds information of all installed and allowed Grasshopper plugins.
|
package/src/client/base.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.5.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/client/common.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.5.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Geometry Backend API v2
|
|
4
4
|
* 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.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 2.
|
|
6
|
+
* The version of the OpenAPI document: 2.5.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/client/index.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.5.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/configuration.ts
CHANGED
|
@@ -34,7 +34,7 @@ export interface ConfigurationParameters
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
export class Configuration extends ClientConfig {
|
|
37
|
-
protected readonly sdkVersion = '3.
|
|
37
|
+
protected readonly sdkVersion = '3.6.0'; // WARNING: This value is updated automatically!
|
|
38
38
|
|
|
39
39
|
public readonly useCustomAxios: boolean;
|
|
40
40
|
public readonly maxRetries: number;
|