@shapediver/sdk.geometry-api-sdk-v2 2.3.0 → 2.5.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/LICENSE +1 -1
- package/dist/UtilsApi.d.ts +2 -2
- package/dist/UtilsApi.d.ts.map +1 -1
- package/dist/UtilsApi.js +4 -4
- package/dist/UtilsApi.js.map +1 -1
- package/dist/client/api.d.ts +28 -26
- package/dist/client/api.d.ts.map +1 -1
- package/dist/client/api.js +60 -42
- package/dist/client/api.js.map +1 -1
- package/dist/client/configuration.d.ts.map +1 -1
- package/dist/client/configuration.js +2 -1
- package/dist/client/configuration.js.map +1 -1
- package/package.json +1 -1
- package/src/UtilsApi.ts +20 -2
- package/src/client/api.ts +293 -233
- package/src/client/base.ts +1 -1
- package/src/client/common.ts +1 -1
- package/src/client/configuration.ts +7 -2
- package/src/client/index.ts +1 -1
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: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.10.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,7 +21,7 @@ import globalAxios from 'axios';
|
|
|
21
21
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
22
22
|
import type { RequestArgs } from './base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
-
import { BASE_PATH, COLLECTION_FORMATS,
|
|
24
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequiredError, operationServerMap } from './base';
|
|
25
25
|
import { BaseAPI } from '../base';
|
|
26
26
|
|
|
27
27
|
/**
|
|
@@ -596,7 +596,7 @@ export interface ReqFileUpload {
|
|
|
596
596
|
|
|
597
597
|
}
|
|
598
598
|
/**
|
|
599
|
-
* Group
|
|
599
|
+
* Group of a parameter, export or output.
|
|
600
600
|
* @export
|
|
601
601
|
* @interface ReqGroup
|
|
602
602
|
*/
|
|
@@ -783,17 +783,23 @@ export interface ReqModel {
|
|
|
783
783
|
*/
|
|
784
784
|
'org_id'?: string;
|
|
785
785
|
/**
|
|
786
|
-
* Model ID of this model
|
|
786
|
+
* The Model ID of the previous version of this model. This property is applicable only when creating a new model and cannot be used in conjunction with `prev_id`.
|
|
787
787
|
* @type {string}
|
|
788
788
|
* @memberof ReqModel
|
|
789
789
|
*/
|
|
790
790
|
'prev_id'?: string;
|
|
791
|
+
/**
|
|
792
|
+
* If set to `true`, a new repository will be created for the model. This property is applicable only when creating a new model and cannot be used in conjunction with `prev_id`.
|
|
793
|
+
* @type {boolean}
|
|
794
|
+
* @memberof ReqModel
|
|
795
|
+
*/
|
|
796
|
+
'with_repo'?: boolean;
|
|
791
797
|
/**
|
|
792
798
|
* Allows public access (ignore `accessdomains`).
|
|
793
799
|
* @type {boolean}
|
|
794
800
|
* @memberof ReqModel
|
|
795
801
|
*/
|
|
796
|
-
'pub'
|
|
802
|
+
'pub'?: boolean;
|
|
797
803
|
/**
|
|
798
804
|
* Enforces iframe embedding instead of direct embedding.
|
|
799
805
|
* @type {boolean}
|
|
@@ -4429,12 +4435,6 @@ export interface ResModel {
|
|
|
4429
4435
|
* @memberof ResModel
|
|
4430
4436
|
*/
|
|
4431
4437
|
'backlinkurl'?: string;
|
|
4432
|
-
/**
|
|
4433
|
-
*
|
|
4434
|
-
* @type {ResModelBlockingReasons}
|
|
4435
|
-
* @memberof ResModel
|
|
4436
|
-
*/
|
|
4437
|
-
'blockingReasons'?: ResModelBlockingReasons;
|
|
4438
4438
|
/**
|
|
4439
4439
|
* Link to continue the checking process of the model on the ShapeDiver Platform.
|
|
4440
4440
|
* @type {string}
|
|
@@ -4686,6 +4686,12 @@ export interface ResModelComputation {
|
|
|
4686
4686
|
* @memberof ResModelComputation
|
|
4687
4687
|
*/
|
|
4688
4688
|
'limit'?: ResComputationLimits;
|
|
4689
|
+
/**
|
|
4690
|
+
* The number of credits that are charged for this computation.
|
|
4691
|
+
* @type {number}
|
|
4692
|
+
* @memberof ResModelComputation
|
|
4693
|
+
*/
|
|
4694
|
+
'credits'?: number;
|
|
4689
4695
|
}
|
|
4690
4696
|
|
|
4691
4697
|
|
|
@@ -5037,6 +5043,12 @@ export interface ResModelSettings {
|
|
|
5037
5043
|
* @memberof ResModelSettings
|
|
5038
5044
|
*/
|
|
5039
5045
|
'cdn_supported'?: boolean;
|
|
5046
|
+
/**
|
|
5047
|
+
*
|
|
5048
|
+
* @type {ResModelBlockingReasons}
|
|
5049
|
+
* @memberof ResModelSettings
|
|
5050
|
+
*/
|
|
5051
|
+
'blockingReasons'?: ResModelBlockingReasons;
|
|
5040
5052
|
}
|
|
5041
5053
|
/**
|
|
5042
5054
|
* Definition of a Model-State.
|
|
@@ -7570,7 +7582,7 @@ export interface ResWorkerSystem {
|
|
|
7570
7582
|
export const AnalyticsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
7571
7583
|
return {
|
|
7572
7584
|
/**
|
|
7573
|
-
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions:
|
|
7585
|
+
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions: * `analytics.model.get.*` - __required__.
|
|
7574
7586
|
* @summary Get credit metrics.
|
|
7575
7587
|
* @param {ReqCreditMetrics} reqCreditMetrics
|
|
7576
7588
|
* @param {*} [options] Override http request option.
|
|
@@ -7610,7 +7622,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7610
7622
|
};
|
|
7611
7623
|
},
|
|
7612
7624
|
/**
|
|
7613
|
-
* Permissions:
|
|
7625
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7614
7626
|
* @summary Get model credit metrics of the organization at timestamp.
|
|
7615
7627
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7616
7628
|
* @param {string} orgId ID of the organization.
|
|
@@ -7652,7 +7664,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7652
7664
|
};
|
|
7653
7665
|
},
|
|
7654
7666
|
/**
|
|
7655
|
-
* Permissions:
|
|
7667
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7656
7668
|
* @summary Get model session analytics.
|
|
7657
7669
|
* @param {ReqModelStatistics} reqModelStatistics
|
|
7658
7670
|
* @param {*} [options] Override http request option.
|
|
@@ -7692,7 +7704,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7692
7704
|
};
|
|
7693
7705
|
},
|
|
7694
7706
|
/**
|
|
7695
|
-
* Permissions:
|
|
7707
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7696
7708
|
* @summary Get model credit metrics of the user at timestamp.
|
|
7697
7709
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7698
7710
|
* @param {string} userId ID of the user.
|
|
@@ -7734,7 +7746,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7734
7746
|
};
|
|
7735
7747
|
},
|
|
7736
7748
|
/**
|
|
7737
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
7749
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
7738
7750
|
* @summary Get credit metrics of all organizations with users active at timestamp.
|
|
7739
7751
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7740
7752
|
* @param {*} [options] Override http request option.
|
|
@@ -7772,7 +7784,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7772
7784
|
};
|
|
7773
7785
|
},
|
|
7774
7786
|
/**
|
|
7775
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
7787
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
7776
7788
|
* @summary Get credit metrics of all users active at timestamp.
|
|
7777
7789
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7778
7790
|
* @param {*} [options] Override http request option.
|
|
@@ -7820,7 +7832,7 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
7820
7832
|
const localVarAxiosParamCreator = AnalyticsApiAxiosParamCreator(configuration)
|
|
7821
7833
|
return {
|
|
7822
7834
|
/**
|
|
7823
|
-
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions:
|
|
7835
|
+
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions: * `analytics.model.get.*` - __required__.
|
|
7824
7836
|
* @summary Get credit metrics.
|
|
7825
7837
|
* @param {ReqCreditMetrics} reqCreditMetrics
|
|
7826
7838
|
* @param {*} [options] Override http request option.
|
|
@@ -7833,7 +7845,7 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
7833
7845
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7834
7846
|
},
|
|
7835
7847
|
/**
|
|
7836
|
-
* Permissions:
|
|
7848
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7837
7849
|
* @summary Get model credit metrics of the organization at timestamp.
|
|
7838
7850
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7839
7851
|
* @param {string} orgId ID of the organization.
|
|
@@ -7847,7 +7859,7 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
7847
7859
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7848
7860
|
},
|
|
7849
7861
|
/**
|
|
7850
|
-
* Permissions:
|
|
7862
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7851
7863
|
* @summary Get model session analytics.
|
|
7852
7864
|
* @param {ReqModelStatistics} reqModelStatistics
|
|
7853
7865
|
* @param {*} [options] Override http request option.
|
|
@@ -7860,7 +7872,7 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
7860
7872
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7861
7873
|
},
|
|
7862
7874
|
/**
|
|
7863
|
-
* Permissions:
|
|
7875
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7864
7876
|
* @summary Get model credit metrics of the user at timestamp.
|
|
7865
7877
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7866
7878
|
* @param {string} userId ID of the user.
|
|
@@ -7874,7 +7886,7 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
7874
7886
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7875
7887
|
},
|
|
7876
7888
|
/**
|
|
7877
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
7889
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
7878
7890
|
* @summary Get credit metrics of all organizations with users active at timestamp.
|
|
7879
7891
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7880
7892
|
* @param {*} [options] Override http request option.
|
|
@@ -7887,7 +7899,7 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
7887
7899
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7888
7900
|
},
|
|
7889
7901
|
/**
|
|
7890
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
7902
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
7891
7903
|
* @summary Get credit metrics of all users active at timestamp.
|
|
7892
7904
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7893
7905
|
* @param {*} [options] Override http request option.
|
|
@@ -7910,7 +7922,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
7910
7922
|
const localVarFp = AnalyticsApiFp(configuration)
|
|
7911
7923
|
return {
|
|
7912
7924
|
/**
|
|
7913
|
-
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions:
|
|
7925
|
+
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions: * `analytics.model.get.*` - __required__.
|
|
7914
7926
|
* @summary Get credit metrics.
|
|
7915
7927
|
* @param {ReqCreditMetrics} reqCreditMetrics
|
|
7916
7928
|
* @param {*} [options] Override http request option.
|
|
@@ -7920,7 +7932,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
7920
7932
|
return localVarFp.getCreditMetrics(reqCreditMetrics, options).then((request) => request(axios, basePath));
|
|
7921
7933
|
},
|
|
7922
7934
|
/**
|
|
7923
|
-
* Permissions:
|
|
7935
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7924
7936
|
* @summary Get model credit metrics of the organization at timestamp.
|
|
7925
7937
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7926
7938
|
* @param {string} orgId ID of the organization.
|
|
@@ -7931,7 +7943,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
7931
7943
|
return localVarFp.getModelOrganizationCreditMetrics(timestamp, orgId, options).then((request) => request(axios, basePath));
|
|
7932
7944
|
},
|
|
7933
7945
|
/**
|
|
7934
|
-
* Permissions:
|
|
7946
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7935
7947
|
* @summary Get model session analytics.
|
|
7936
7948
|
* @param {ReqModelStatistics} reqModelStatistics
|
|
7937
7949
|
* @param {*} [options] Override http request option.
|
|
@@ -7941,7 +7953,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
7941
7953
|
return localVarFp.getModelStatistics(reqModelStatistics, options).then((request) => request(axios, basePath));
|
|
7942
7954
|
},
|
|
7943
7955
|
/**
|
|
7944
|
-
* Permissions:
|
|
7956
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7945
7957
|
* @summary Get model credit metrics of the user at timestamp.
|
|
7946
7958
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7947
7959
|
* @param {string} userId ID of the user.
|
|
@@ -7952,7 +7964,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
7952
7964
|
return localVarFp.getModelUserCreditMetrics(timestamp, userId, options).then((request) => request(axios, basePath));
|
|
7953
7965
|
},
|
|
7954
7966
|
/**
|
|
7955
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
7967
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
7956
7968
|
* @summary Get credit metrics of all organizations with users active at timestamp.
|
|
7957
7969
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7958
7970
|
* @param {*} [options] Override http request option.
|
|
@@ -7962,7 +7974,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
7962
7974
|
return localVarFp.getOrganizationCreditMetrics(timestamp, options).then((request) => request(axios, basePath));
|
|
7963
7975
|
},
|
|
7964
7976
|
/**
|
|
7965
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
7977
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
7966
7978
|
* @summary Get credit metrics of all users active at timestamp.
|
|
7967
7979
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7968
7980
|
* @param {*} [options] Override http request option.
|
|
@@ -7982,7 +7994,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
7982
7994
|
*/
|
|
7983
7995
|
export class AnalyticsApi extends BaseAPI {
|
|
7984
7996
|
/**
|
|
7985
|
-
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions:
|
|
7997
|
+
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions: * `analytics.model.get.*` - __required__.
|
|
7986
7998
|
* @summary Get credit metrics.
|
|
7987
7999
|
* @param {ReqCreditMetrics} reqCreditMetrics
|
|
7988
8000
|
* @param {*} [options] Override http request option.
|
|
@@ -7994,7 +8006,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
7994
8006
|
}
|
|
7995
8007
|
|
|
7996
8008
|
/**
|
|
7997
|
-
* Permissions:
|
|
8009
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7998
8010
|
* @summary Get model credit metrics of the organization at timestamp.
|
|
7999
8011
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
8000
8012
|
* @param {string} orgId ID of the organization.
|
|
@@ -8007,7 +8019,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
8007
8019
|
}
|
|
8008
8020
|
|
|
8009
8021
|
/**
|
|
8010
|
-
* Permissions:
|
|
8022
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
8011
8023
|
* @summary Get model session analytics.
|
|
8012
8024
|
* @param {ReqModelStatistics} reqModelStatistics
|
|
8013
8025
|
* @param {*} [options] Override http request option.
|
|
@@ -8019,7 +8031,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
8019
8031
|
}
|
|
8020
8032
|
|
|
8021
8033
|
/**
|
|
8022
|
-
* Permissions:
|
|
8034
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
8023
8035
|
* @summary Get model credit metrics of the user at timestamp.
|
|
8024
8036
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
8025
8037
|
* @param {string} userId ID of the user.
|
|
@@ -8032,7 +8044,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
8032
8044
|
}
|
|
8033
8045
|
|
|
8034
8046
|
/**
|
|
8035
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
8047
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
8036
8048
|
* @summary Get credit metrics of all organizations with users active at timestamp.
|
|
8037
8049
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
8038
8050
|
* @param {*} [options] Override http request option.
|
|
@@ -8044,7 +8056,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
8044
8056
|
}
|
|
8045
8057
|
|
|
8046
8058
|
/**
|
|
8047
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
8059
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
8048
8060
|
* @summary Get credit metrics of all users active at timestamp.
|
|
8049
8061
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
8050
8062
|
* @param {*} [options] Override http request option.
|
|
@@ -9003,7 +9015,7 @@ export class AuthApi extends BaseAPI {
|
|
|
9003
9015
|
export const AuthGroupApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9004
9016
|
return {
|
|
9005
9017
|
/**
|
|
9006
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
9018
|
+
* Subject-Restriction: __backend__. Permissions: * `auth_group.create` - __required__.
|
|
9007
9019
|
* @summary Create new authorization group.
|
|
9008
9020
|
* @param {ReqAuthorizationGroup} reqAuthorizationGroup
|
|
9009
9021
|
* @param {*} [options] Override http request option.
|
|
@@ -9053,7 +9065,7 @@ export const AuthGroupApiFp = function(configuration?: Configuration) {
|
|
|
9053
9065
|
const localVarAxiosParamCreator = AuthGroupApiAxiosParamCreator(configuration)
|
|
9054
9066
|
return {
|
|
9055
9067
|
/**
|
|
9056
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
9068
|
+
* Subject-Restriction: __backend__. Permissions: * `auth_group.create` - __required__.
|
|
9057
9069
|
* @summary Create new authorization group.
|
|
9058
9070
|
* @param {ReqAuthorizationGroup} reqAuthorizationGroup
|
|
9059
9071
|
* @param {*} [options] Override http request option.
|
|
@@ -9076,7 +9088,7 @@ export const AuthGroupApiFactory = function (configuration?: Configuration, base
|
|
|
9076
9088
|
const localVarFp = AuthGroupApiFp(configuration)
|
|
9077
9089
|
return {
|
|
9078
9090
|
/**
|
|
9079
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
9091
|
+
* Subject-Restriction: __backend__. Permissions: * `auth_group.create` - __required__.
|
|
9080
9092
|
* @summary Create new authorization group.
|
|
9081
9093
|
* @param {ReqAuthorizationGroup} reqAuthorizationGroup
|
|
9082
9094
|
* @param {*} [options] Override http request option.
|
|
@@ -9096,7 +9108,7 @@ export const AuthGroupApiFactory = function (configuration?: Configuration, base
|
|
|
9096
9108
|
*/
|
|
9097
9109
|
export class AuthGroupApi extends BaseAPI {
|
|
9098
9110
|
/**
|
|
9099
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
9111
|
+
* Subject-Restriction: __backend__. Permissions: * `auth_group.create` - __required__.
|
|
9100
9112
|
* @summary Create new authorization group.
|
|
9101
9113
|
* @param {ReqAuthorizationGroup} reqAuthorizationGroup
|
|
9102
9114
|
* @param {*} [options] Override http request option.
|
|
@@ -9117,14 +9129,15 @@ export class AuthGroupApi extends BaseAPI {
|
|
|
9117
9129
|
export const ExportApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9118
9130
|
return {
|
|
9119
9131
|
/**
|
|
9120
|
-
* Permissions:
|
|
9132
|
+
* Permissions: * `compute.export.*` - __required__. * `compute.output.*` - __required__ when _outputs_ are requested.
|
|
9121
9133
|
* @summary Compute a Grasshopper exports for given parameter values.
|
|
9122
9134
|
* @param {string} sessionId Session ID.
|
|
9123
9135
|
* @param {ReqExport} reqExport
|
|
9136
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
9124
9137
|
* @param {*} [options] Override http request option.
|
|
9125
9138
|
* @throws {RequiredError}
|
|
9126
9139
|
*/
|
|
9127
|
-
computeExports: async (sessionId: string, reqExport: ReqExport, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9140
|
+
computeExports: async (sessionId: string, reqExport: ReqExport, ignoreUnknownParams?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9128
9141
|
// verify required parameter 'sessionId' is not null or undefined
|
|
9129
9142
|
assertParamExists('computeExports', 'sessionId', sessionId)
|
|
9130
9143
|
// verify required parameter 'reqExport' is not null or undefined
|
|
@@ -9146,6 +9159,10 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9146
9159
|
// http bearer authentication required
|
|
9147
9160
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9148
9161
|
|
|
9162
|
+
if (ignoreUnknownParams !== undefined) {
|
|
9163
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
9164
|
+
}
|
|
9165
|
+
|
|
9149
9166
|
|
|
9150
9167
|
|
|
9151
9168
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -9161,7 +9178,7 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9161
9178
|
};
|
|
9162
9179
|
},
|
|
9163
9180
|
/**
|
|
9164
|
-
* Permissions:
|
|
9181
|
+
* Permissions: * `cache.export.get.*` - __required__. * `cache.output.get.*` - __required__ when _outputs_ are requested.
|
|
9165
9182
|
* @summary Get Export from cache / check if computation is done.
|
|
9166
9183
|
* @param {string} sessionId Session ID.
|
|
9167
9184
|
* @param {ReqExportOrCache} reqExportOrCache
|
|
@@ -9205,7 +9222,7 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9205
9222
|
};
|
|
9206
9223
|
},
|
|
9207
9224
|
/**
|
|
9208
|
-
* Permissions:
|
|
9225
|
+
* Permissions: * `cache.export.list.*` - __required__.
|
|
9209
9226
|
* @summary List export versions.
|
|
9210
9227
|
* @param {string} sessionId Session ID.
|
|
9211
9228
|
* @param {string} exportId Export ID.
|
|
@@ -9262,7 +9279,7 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9262
9279
|
};
|
|
9263
9280
|
},
|
|
9264
9281
|
/**
|
|
9265
|
-
* Permissions:
|
|
9282
|
+
* Permissions: * `set.export.ui` - __required__.
|
|
9266
9283
|
* @summary Update definition of exports.
|
|
9267
9284
|
* @param {string} modelId Model ID.
|
|
9268
9285
|
* @param {ReqExportDefinitions} reqExportDefinitions
|
|
@@ -9316,21 +9333,22 @@ export const ExportApiFp = function(configuration?: Configuration) {
|
|
|
9316
9333
|
const localVarAxiosParamCreator = ExportApiAxiosParamCreator(configuration)
|
|
9317
9334
|
return {
|
|
9318
9335
|
/**
|
|
9319
|
-
* Permissions:
|
|
9336
|
+
* Permissions: * `compute.export.*` - __required__. * `compute.output.*` - __required__ when _outputs_ are requested.
|
|
9320
9337
|
* @summary Compute a Grasshopper exports for given parameter values.
|
|
9321
9338
|
* @param {string} sessionId Session ID.
|
|
9322
9339
|
* @param {ReqExport} reqExport
|
|
9340
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
9323
9341
|
* @param {*} [options] Override http request option.
|
|
9324
9342
|
* @throws {RequiredError}
|
|
9325
9343
|
*/
|
|
9326
|
-
async computeExports(sessionId: string, reqExport: ReqExport, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResComputeExports>> {
|
|
9327
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.computeExports(sessionId, reqExport, options);
|
|
9344
|
+
async computeExports(sessionId: string, reqExport: ReqExport, ignoreUnknownParams?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResComputeExports>> {
|
|
9345
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.computeExports(sessionId, reqExport, ignoreUnknownParams, options);
|
|
9328
9346
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9329
9347
|
const localVarOperationServerBasePath = operationServerMap['ExportApi.computeExports']?.[localVarOperationServerIndex]?.url;
|
|
9330
9348
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9331
9349
|
},
|
|
9332
9350
|
/**
|
|
9333
|
-
* Permissions:
|
|
9351
|
+
* Permissions: * `cache.export.get.*` - __required__. * `cache.output.get.*` - __required__ when _outputs_ are requested.
|
|
9334
9352
|
* @summary Get Export from cache / check if computation is done.
|
|
9335
9353
|
* @param {string} sessionId Session ID.
|
|
9336
9354
|
* @param {ReqExportOrCache} reqExportOrCache
|
|
@@ -9344,7 +9362,7 @@ export const ExportApiFp = function(configuration?: Configuration) {
|
|
|
9344
9362
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9345
9363
|
},
|
|
9346
9364
|
/**
|
|
9347
|
-
* Permissions:
|
|
9365
|
+
* Permissions: * `cache.export.list.*` - __required__.
|
|
9348
9366
|
* @summary List export versions.
|
|
9349
9367
|
* @param {string} sessionId Session ID.
|
|
9350
9368
|
* @param {string} exportId Export ID.
|
|
@@ -9361,7 +9379,7 @@ export const ExportApiFp = function(configuration?: Configuration) {
|
|
|
9361
9379
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9362
9380
|
},
|
|
9363
9381
|
/**
|
|
9364
|
-
* Permissions:
|
|
9382
|
+
* Permissions: * `set.export.ui` - __required__.
|
|
9365
9383
|
* @summary Update definition of exports.
|
|
9366
9384
|
* @param {string} modelId Model ID.
|
|
9367
9385
|
* @param {ReqExportDefinitions} reqExportDefinitions
|
|
@@ -9385,18 +9403,19 @@ export const ExportApiFactory = function (configuration?: Configuration, basePat
|
|
|
9385
9403
|
const localVarFp = ExportApiFp(configuration)
|
|
9386
9404
|
return {
|
|
9387
9405
|
/**
|
|
9388
|
-
* Permissions:
|
|
9406
|
+
* Permissions: * `compute.export.*` - __required__. * `compute.output.*` - __required__ when _outputs_ are requested.
|
|
9389
9407
|
* @summary Compute a Grasshopper exports for given parameter values.
|
|
9390
9408
|
* @param {string} sessionId Session ID.
|
|
9391
9409
|
* @param {ReqExport} reqExport
|
|
9410
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
9392
9411
|
* @param {*} [options] Override http request option.
|
|
9393
9412
|
* @throws {RequiredError}
|
|
9394
9413
|
*/
|
|
9395
|
-
computeExports(sessionId: string, reqExport: ReqExport, options?: RawAxiosRequestConfig): AxiosPromise<ResComputeExports> {
|
|
9396
|
-
return localVarFp.computeExports(sessionId, reqExport, options).then((request) => request(axios, basePath));
|
|
9414
|
+
computeExports(sessionId: string, reqExport: ReqExport, ignoreUnknownParams?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ResComputeExports> {
|
|
9415
|
+
return localVarFp.computeExports(sessionId, reqExport, ignoreUnknownParams, options).then((request) => request(axios, basePath));
|
|
9397
9416
|
},
|
|
9398
9417
|
/**
|
|
9399
|
-
* Permissions:
|
|
9418
|
+
* Permissions: * `cache.export.get.*` - __required__. * `cache.output.get.*` - __required__ when _outputs_ are requested.
|
|
9400
9419
|
* @summary Get Export from cache / check if computation is done.
|
|
9401
9420
|
* @param {string} sessionId Session ID.
|
|
9402
9421
|
* @param {ReqExportOrCache} reqExportOrCache
|
|
@@ -9407,7 +9426,7 @@ export const ExportApiFactory = function (configuration?: Configuration, basePat
|
|
|
9407
9426
|
return localVarFp.getCachedExports(sessionId, reqExportOrCache, options).then((request) => request(axios, basePath));
|
|
9408
9427
|
},
|
|
9409
9428
|
/**
|
|
9410
|
-
* Permissions:
|
|
9429
|
+
* Permissions: * `cache.export.list.*` - __required__.
|
|
9411
9430
|
* @summary List export versions.
|
|
9412
9431
|
* @param {string} sessionId Session ID.
|
|
9413
9432
|
* @param {string} exportId Export ID.
|
|
@@ -9421,7 +9440,7 @@ export const ExportApiFactory = function (configuration?: Configuration, basePat
|
|
|
9421
9440
|
return localVarFp.listExportVersions(sessionId, exportId, statusComputation, statusCollect, offset, options).then((request) => request(axios, basePath));
|
|
9422
9441
|
},
|
|
9423
9442
|
/**
|
|
9424
|
-
* Permissions:
|
|
9443
|
+
* Permissions: * `set.export.ui` - __required__.
|
|
9425
9444
|
* @summary Update definition of exports.
|
|
9426
9445
|
* @param {string} modelId Model ID.
|
|
9427
9446
|
* @param {ReqExportDefinitions} reqExportDefinitions
|
|
@@ -9442,20 +9461,21 @@ export const ExportApiFactory = function (configuration?: Configuration, basePat
|
|
|
9442
9461
|
*/
|
|
9443
9462
|
export class ExportApi extends BaseAPI {
|
|
9444
9463
|
/**
|
|
9445
|
-
* Permissions:
|
|
9464
|
+
* Permissions: * `compute.export.*` - __required__. * `compute.output.*` - __required__ when _outputs_ are requested.
|
|
9446
9465
|
* @summary Compute a Grasshopper exports for given parameter values.
|
|
9447
9466
|
* @param {string} sessionId Session ID.
|
|
9448
9467
|
* @param {ReqExport} reqExport
|
|
9468
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
9449
9469
|
* @param {*} [options] Override http request option.
|
|
9450
9470
|
* @throws {RequiredError}
|
|
9451
9471
|
* @memberof ExportApi
|
|
9452
9472
|
*/
|
|
9453
|
-
public computeExports(sessionId: string, reqExport: ReqExport, options?: RawAxiosRequestConfig) {
|
|
9454
|
-
return ExportApiFp(this.configuration).computeExports(sessionId, reqExport, options).then((request) => request(this.axios, this.basePath));
|
|
9473
|
+
public computeExports(sessionId: string, reqExport: ReqExport, ignoreUnknownParams?: boolean, options?: RawAxiosRequestConfig) {
|
|
9474
|
+
return ExportApiFp(this.configuration).computeExports(sessionId, reqExport, ignoreUnknownParams, options).then((request) => request(this.axios, this.basePath));
|
|
9455
9475
|
}
|
|
9456
9476
|
|
|
9457
9477
|
/**
|
|
9458
|
-
* Permissions:
|
|
9478
|
+
* Permissions: * `cache.export.get.*` - __required__. * `cache.output.get.*` - __required__ when _outputs_ are requested.
|
|
9459
9479
|
* @summary Get Export from cache / check if computation is done.
|
|
9460
9480
|
* @param {string} sessionId Session ID.
|
|
9461
9481
|
* @param {ReqExportOrCache} reqExportOrCache
|
|
@@ -9468,7 +9488,7 @@ export class ExportApi extends BaseAPI {
|
|
|
9468
9488
|
}
|
|
9469
9489
|
|
|
9470
9490
|
/**
|
|
9471
|
-
* Permissions:
|
|
9491
|
+
* Permissions: * `cache.export.list.*` - __required__.
|
|
9472
9492
|
* @summary List export versions.
|
|
9473
9493
|
* @param {string} sessionId Session ID.
|
|
9474
9494
|
* @param {string} exportId Export ID.
|
|
@@ -9484,7 +9504,7 @@ export class ExportApi extends BaseAPI {
|
|
|
9484
9504
|
}
|
|
9485
9505
|
|
|
9486
9506
|
/**
|
|
9487
|
-
* Permissions:
|
|
9507
|
+
* Permissions: * `set.export.ui` - __required__.
|
|
9488
9508
|
* @summary Update definition of exports.
|
|
9489
9509
|
* @param {string} modelId Model ID.
|
|
9490
9510
|
* @param {ReqExportDefinitions} reqExportDefinitions
|
|
@@ -9506,7 +9526,7 @@ export class ExportApi extends BaseAPI {
|
|
|
9506
9526
|
export const FileApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9507
9527
|
return {
|
|
9508
9528
|
/**
|
|
9509
|
-
* Permissions:
|
|
9529
|
+
* Permissions: * `asset.file.delete.*` - __required__.
|
|
9510
9530
|
* @summary Delete a file-asset.
|
|
9511
9531
|
* @param {string} sessionId Session ID.
|
|
9512
9532
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9552,7 +9572,7 @@ export const FileApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9552
9572
|
};
|
|
9553
9573
|
},
|
|
9554
9574
|
/**
|
|
9555
|
-
* Permissions:
|
|
9575
|
+
* Permissions: * `asset.file.get.*` - __required__.
|
|
9556
9576
|
* @summary Download a file-asset.
|
|
9557
9577
|
* @param {string} sessionId Session ID.
|
|
9558
9578
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9644,7 +9664,7 @@ export const FileApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9644
9664
|
};
|
|
9645
9665
|
},
|
|
9646
9666
|
/**
|
|
9647
|
-
* Permissions:
|
|
9667
|
+
* Permissions: * `asset.file.list.*` - __required__.
|
|
9648
9668
|
* @summary List all file-assets of a parameter.
|
|
9649
9669
|
* @param {string} sessionId Session ID.
|
|
9650
9670
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9691,7 +9711,7 @@ export const FileApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9691
9711
|
};
|
|
9692
9712
|
},
|
|
9693
9713
|
/**
|
|
9694
|
-
* Permissions:
|
|
9714
|
+
* Permissions: * `asset.file.create.*` - __required__.
|
|
9695
9715
|
* @summary Request upload URL for a file-asset.
|
|
9696
9716
|
* @param {string} sessionId Session ID.
|
|
9697
9717
|
* @param {ReqFileUpload} reqFileUpload
|
|
@@ -9745,7 +9765,7 @@ export const FileApiFp = function(configuration?: Configuration) {
|
|
|
9745
9765
|
const localVarAxiosParamCreator = FileApiAxiosParamCreator(configuration)
|
|
9746
9766
|
return {
|
|
9747
9767
|
/**
|
|
9748
|
-
* Permissions:
|
|
9768
|
+
* Permissions: * `asset.file.delete.*` - __required__.
|
|
9749
9769
|
* @summary Delete a file-asset.
|
|
9750
9770
|
* @param {string} sessionId Session ID.
|
|
9751
9771
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9760,7 +9780,7 @@ export const FileApiFp = function(configuration?: Configuration) {
|
|
|
9760
9780
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9761
9781
|
},
|
|
9762
9782
|
/**
|
|
9763
|
-
* Permissions:
|
|
9783
|
+
* Permissions: * `asset.file.get.*` - __required__.
|
|
9764
9784
|
* @summary Download a file-asset.
|
|
9765
9785
|
* @param {string} sessionId Session ID.
|
|
9766
9786
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9790,7 +9810,7 @@ export const FileApiFp = function(configuration?: Configuration) {
|
|
|
9790
9810
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9791
9811
|
},
|
|
9792
9812
|
/**
|
|
9793
|
-
* Permissions:
|
|
9813
|
+
* Permissions: * `asset.file.list.*` - __required__.
|
|
9794
9814
|
* @summary List all file-assets of a parameter.
|
|
9795
9815
|
* @param {string} sessionId Session ID.
|
|
9796
9816
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9805,7 +9825,7 @@ export const FileApiFp = function(configuration?: Configuration) {
|
|
|
9805
9825
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9806
9826
|
},
|
|
9807
9827
|
/**
|
|
9808
|
-
* Permissions:
|
|
9828
|
+
* Permissions: * `asset.file.create.*` - __required__.
|
|
9809
9829
|
* @summary Request upload URL for a file-asset.
|
|
9810
9830
|
* @param {string} sessionId Session ID.
|
|
9811
9831
|
* @param {ReqFileUpload} reqFileUpload
|
|
@@ -9829,7 +9849,7 @@ export const FileApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9829
9849
|
const localVarFp = FileApiFp(configuration)
|
|
9830
9850
|
return {
|
|
9831
9851
|
/**
|
|
9832
|
-
* Permissions:
|
|
9852
|
+
* Permissions: * `asset.file.delete.*` - __required__.
|
|
9833
9853
|
* @summary Delete a file-asset.
|
|
9834
9854
|
* @param {string} sessionId Session ID.
|
|
9835
9855
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9841,7 +9861,7 @@ export const FileApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9841
9861
|
return localVarFp.deleteFile(sessionId, paramId, fileId, options).then((request) => request(axios, basePath));
|
|
9842
9862
|
},
|
|
9843
9863
|
/**
|
|
9844
|
-
* Permissions:
|
|
9864
|
+
* Permissions: * `asset.file.get.*` - __required__.
|
|
9845
9865
|
* @summary Download a file-asset.
|
|
9846
9866
|
* @param {string} sessionId Session ID.
|
|
9847
9867
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9865,7 +9885,7 @@ export const FileApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9865
9885
|
return localVarFp.getFileMetadata(sessionId, paramId, fileId, options).then((request) => request(axios, basePath));
|
|
9866
9886
|
},
|
|
9867
9887
|
/**
|
|
9868
|
-
* Permissions:
|
|
9888
|
+
* Permissions: * `asset.file.list.*` - __required__.
|
|
9869
9889
|
* @summary List all file-assets of a parameter.
|
|
9870
9890
|
* @param {string} sessionId Session ID.
|
|
9871
9891
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9877,7 +9897,7 @@ export const FileApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9877
9897
|
return localVarFp.listFiles(sessionId, paramId, offset, options).then((request) => request(axios, basePath));
|
|
9878
9898
|
},
|
|
9879
9899
|
/**
|
|
9880
|
-
* Permissions:
|
|
9900
|
+
* Permissions: * `asset.file.create.*` - __required__.
|
|
9881
9901
|
* @summary Request upload URL for a file-asset.
|
|
9882
9902
|
* @param {string} sessionId Session ID.
|
|
9883
9903
|
* @param {ReqFileUpload} reqFileUpload
|
|
@@ -9898,7 +9918,7 @@ export const FileApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9898
9918
|
*/
|
|
9899
9919
|
export class FileApi extends BaseAPI {
|
|
9900
9920
|
/**
|
|
9901
|
-
* Permissions:
|
|
9921
|
+
* Permissions: * `asset.file.delete.*` - __required__.
|
|
9902
9922
|
* @summary Delete a file-asset.
|
|
9903
9923
|
* @param {string} sessionId Session ID.
|
|
9904
9924
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9912,7 +9932,7 @@ export class FileApi extends BaseAPI {
|
|
|
9912
9932
|
}
|
|
9913
9933
|
|
|
9914
9934
|
/**
|
|
9915
|
-
* Permissions:
|
|
9935
|
+
* Permissions: * `asset.file.get.*` - __required__.
|
|
9916
9936
|
* @summary Download a file-asset.
|
|
9917
9937
|
* @param {string} sessionId Session ID.
|
|
9918
9938
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9940,7 +9960,7 @@ export class FileApi extends BaseAPI {
|
|
|
9940
9960
|
}
|
|
9941
9961
|
|
|
9942
9962
|
/**
|
|
9943
|
-
* Permissions:
|
|
9963
|
+
* Permissions: * `asset.file.list.*` - __required__.
|
|
9944
9964
|
* @summary List all file-assets of a parameter.
|
|
9945
9965
|
* @param {string} sessionId Session ID.
|
|
9946
9966
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9954,7 +9974,7 @@ export class FileApi extends BaseAPI {
|
|
|
9954
9974
|
}
|
|
9955
9975
|
|
|
9956
9976
|
/**
|
|
9957
|
-
* Permissions:
|
|
9977
|
+
* Permissions: * `asset.file.create.*` - __required__.
|
|
9958
9978
|
* @summary Request upload URL for a file-asset.
|
|
9959
9979
|
* @param {string} sessionId Session ID.
|
|
9960
9980
|
* @param {ReqFileUpload} reqFileUpload
|
|
@@ -10226,7 +10246,7 @@ export class LogApi extends BaseAPI {
|
|
|
10226
10246
|
export const ModelApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
10227
10247
|
return {
|
|
10228
10248
|
/**
|
|
10229
|
-
* Permissions:
|
|
10249
|
+
* Permissions: * `cache.export.delete.*` - __required__.
|
|
10230
10250
|
* @summary Delete old export components.
|
|
10231
10251
|
* @param {string} modelId Model ID.
|
|
10232
10252
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -10271,7 +10291,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10271
10291
|
};
|
|
10272
10292
|
},
|
|
10273
10293
|
/**
|
|
10274
|
-
* Permissions:
|
|
10294
|
+
* Permissions: * `cache.output.delete.*` - __required__.
|
|
10275
10295
|
* @summary Delete old output components.
|
|
10276
10296
|
* @param {string} modelId Model ID.
|
|
10277
10297
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -10316,7 +10336,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10316
10336
|
};
|
|
10317
10337
|
},
|
|
10318
10338
|
/**
|
|
10319
|
-
* Permissions:
|
|
10339
|
+
* Permissions: * `cache.texture.delete.*` - __required__.
|
|
10320
10340
|
* @summary Delete old texture components.
|
|
10321
10341
|
* @param {string} modelId Model ID.
|
|
10322
10342
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -10401,7 +10421,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10401
10421
|
};
|
|
10402
10422
|
},
|
|
10403
10423
|
/**
|
|
10404
|
-
* Permissions:
|
|
10424
|
+
* Permissions: * `setting.viewer.set.*` - __required__.
|
|
10405
10425
|
* @summary Create model config.
|
|
10406
10426
|
* @param {string} modelId Model ID.
|
|
10407
10427
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -10445,7 +10465,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10445
10465
|
};
|
|
10446
10466
|
},
|
|
10447
10467
|
/**
|
|
10448
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
10468
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.soft` - __required__.
|
|
10449
10469
|
* @summary Delete model.
|
|
10450
10470
|
* @param {string} modelId Model ID.
|
|
10451
10471
|
* @param {*} [options] Override http request option.
|
|
@@ -10483,7 +10503,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10483
10503
|
};
|
|
10484
10504
|
},
|
|
10485
10505
|
/**
|
|
10486
|
-
* Permissions:
|
|
10506
|
+
* Permissions: * `file.download` - __required__.
|
|
10487
10507
|
* @summary Download Grasshopper file.
|
|
10488
10508
|
* @param {string} modelId Model ID.
|
|
10489
10509
|
* @param {*} [options] Override http request option.
|
|
@@ -10559,7 +10579,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10559
10579
|
};
|
|
10560
10580
|
},
|
|
10561
10581
|
/**
|
|
10562
|
-
* Permissions:
|
|
10582
|
+
* Permissions: * `setting.auth.ticket.get.*` - optional: adds _settings.auth.ticket_. * `setting.auth.token.get.*` - optional: adds _settings.auth.token_. * `setting.compute.get.*` - optional: adds _settings.compute_. * `file.upload` - optional: adds _file.upload_. * `file.download` - optional: adds _file.download_. * `get.statistic.*` - optional: adds _statistic_. * `setting.viewer.get.*` - optional: adds _viewer_. * `get.parameter.*` - optional: adds _parameters_. * `get.output*` - optional: adds _output definitions_. * `get.export*` - optional: adds _export definitions_.
|
|
10563
10583
|
* @summary Get model.
|
|
10564
10584
|
* @param {string} modelId Model ID.
|
|
10565
10585
|
* @param {*} [options] Override http request option.
|
|
@@ -10597,7 +10617,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10597
10617
|
};
|
|
10598
10618
|
},
|
|
10599
10619
|
/**
|
|
10600
|
-
* Permissions:
|
|
10620
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
10601
10621
|
* @summary Get model computation statistics.
|
|
10602
10622
|
* @param {string} modelId Model ID.
|
|
10603
10623
|
* @param {QueryOrder} [order] Order in which to query computation stats items. _Default:_ `desc`
|
|
@@ -10675,7 +10695,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10675
10695
|
};
|
|
10676
10696
|
},
|
|
10677
10697
|
/**
|
|
10678
|
-
* Permissions:
|
|
10698
|
+
* Permissions: * `setting.viewer.get.*` - __required__.
|
|
10679
10699
|
* @summary Get model config.
|
|
10680
10700
|
* @param {string} modelId Model ID.
|
|
10681
10701
|
* @param {*} [options] Override http request option.
|
|
@@ -10795,7 +10815,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10795
10815
|
};
|
|
10796
10816
|
},
|
|
10797
10817
|
/**
|
|
10798
|
-
* Permissions:
|
|
10818
|
+
* Permissions: * `setting.auth.ticket.get.*` - optional: adds _settings.auth.ticket_ to response. * `setting.auth.token.get.*` - optional: adds _settings.auth.token_ to response. * `setting.compute.get.*` - optional: adds _settings.compute_ to response. * `file.upload` - optional: adds _file.upload_ to response. * `file.download` - optional: adds _file.download_ to response. * `get.statistic.*` - optional: adds _statistic_ to response.
|
|
10799
10819
|
* @summary Update model.
|
|
10800
10820
|
* @param {string} modelId Model ID.
|
|
10801
10821
|
* @param {ReqModel} reqModel
|
|
@@ -10839,7 +10859,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10839
10859
|
};
|
|
10840
10860
|
},
|
|
10841
10861
|
/**
|
|
10842
|
-
* Updating the model configuration requires _model authoring privilege_. Permissions:
|
|
10862
|
+
* Updating the model configuration requires _model authoring privilege_. Permissions: * `setting.viewer.set.*` - __required__.
|
|
10843
10863
|
* @summary Update model config.
|
|
10844
10864
|
* @param {string} modelId Model ID.
|
|
10845
10865
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -10883,14 +10903,15 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10883
10903
|
};
|
|
10884
10904
|
},
|
|
10885
10905
|
/**
|
|
10886
|
-
* Updating default parameter values requires model authoring privilege. Permissions:
|
|
10906
|
+
* Updating default parameter values requires model authoring privilege. Permissions: * `set.parameter.defval` - __required__.
|
|
10887
10907
|
* @summary Update default value of parameters.
|
|
10888
10908
|
* @param {string} modelId Model ID.
|
|
10889
10909
|
* @param {ReqCustomization} reqCustomization
|
|
10910
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
10890
10911
|
* @param {*} [options] Override http request option.
|
|
10891
10912
|
* @throws {RequiredError}
|
|
10892
10913
|
*/
|
|
10893
|
-
updateParameterDefaultValues: async (modelId: string, reqCustomization: ReqCustomization, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10914
|
+
updateParameterDefaultValues: async (modelId: string, reqCustomization: ReqCustomization, ignoreUnknownParams?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10894
10915
|
// verify required parameter 'modelId' is not null or undefined
|
|
10895
10916
|
assertParamExists('updateParameterDefaultValues', 'modelId', modelId)
|
|
10896
10917
|
// verify required parameter 'reqCustomization' is not null or undefined
|
|
@@ -10912,6 +10933,10 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10912
10933
|
// http bearer authentication required
|
|
10913
10934
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10914
10935
|
|
|
10936
|
+
if (ignoreUnknownParams !== undefined) {
|
|
10937
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
10938
|
+
}
|
|
10939
|
+
|
|
10915
10940
|
|
|
10916
10941
|
|
|
10917
10942
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -10927,7 +10952,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10927
10952
|
};
|
|
10928
10953
|
},
|
|
10929
10954
|
/**
|
|
10930
|
-
* Permissions:
|
|
10955
|
+
* Permissions: * `set.parameter.ui` - __required__.
|
|
10931
10956
|
* @summary Update definition of parameters.
|
|
10932
10957
|
* @param {string} modelId Model ID.
|
|
10933
10958
|
* @param {ReqParameterDefinitions} reqParameterDefinitions
|
|
@@ -10981,7 +11006,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
10981
11006
|
const localVarAxiosParamCreator = ModelApiAxiosParamCreator(configuration)
|
|
10982
11007
|
return {
|
|
10983
11008
|
/**
|
|
10984
|
-
* Permissions:
|
|
11009
|
+
* Permissions: * `cache.export.delete.*` - __required__.
|
|
10985
11010
|
* @summary Delete old export components.
|
|
10986
11011
|
* @param {string} modelId Model ID.
|
|
10987
11012
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -10995,7 +11020,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
10995
11020
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10996
11021
|
},
|
|
10997
11022
|
/**
|
|
10998
|
-
* Permissions:
|
|
11023
|
+
* Permissions: * `cache.output.delete.*` - __required__.
|
|
10999
11024
|
* @summary Delete old output components.
|
|
11000
11025
|
* @param {string} modelId Model ID.
|
|
11001
11026
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11009,7 +11034,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11009
11034
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11010
11035
|
},
|
|
11011
11036
|
/**
|
|
11012
|
-
* Permissions:
|
|
11037
|
+
* Permissions: * `cache.texture.delete.*` - __required__.
|
|
11013
11038
|
* @summary Delete old texture components.
|
|
11014
11039
|
* @param {string} modelId Model ID.
|
|
11015
11040
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11036,7 +11061,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11036
11061
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11037
11062
|
},
|
|
11038
11063
|
/**
|
|
11039
|
-
* Permissions:
|
|
11064
|
+
* Permissions: * `setting.viewer.set.*` - __required__.
|
|
11040
11065
|
* @summary Create model config.
|
|
11041
11066
|
* @param {string} modelId Model ID.
|
|
11042
11067
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -11050,7 +11075,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11050
11075
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11051
11076
|
},
|
|
11052
11077
|
/**
|
|
11053
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
11078
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.soft` - __required__.
|
|
11054
11079
|
* @summary Delete model.
|
|
11055
11080
|
* @param {string} modelId Model ID.
|
|
11056
11081
|
* @param {*} [options] Override http request option.
|
|
@@ -11063,7 +11088,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11063
11088
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11064
11089
|
},
|
|
11065
11090
|
/**
|
|
11066
|
-
* Permissions:
|
|
11091
|
+
* Permissions: * `file.download` - __required__.
|
|
11067
11092
|
* @summary Download Grasshopper file.
|
|
11068
11093
|
* @param {string} modelId Model ID.
|
|
11069
11094
|
* @param {*} [options] Override http request option.
|
|
@@ -11089,7 +11114,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11089
11114
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11090
11115
|
},
|
|
11091
11116
|
/**
|
|
11092
|
-
* Permissions:
|
|
11117
|
+
* Permissions: * `setting.auth.ticket.get.*` - optional: adds _settings.auth.ticket_. * `setting.auth.token.get.*` - optional: adds _settings.auth.token_. * `setting.compute.get.*` - optional: adds _settings.compute_. * `file.upload` - optional: adds _file.upload_. * `file.download` - optional: adds _file.download_. * `get.statistic.*` - optional: adds _statistic_. * `setting.viewer.get.*` - optional: adds _viewer_. * `get.parameter.*` - optional: adds _parameters_. * `get.output*` - optional: adds _output definitions_. * `get.export*` - optional: adds _export definitions_.
|
|
11093
11118
|
* @summary Get model.
|
|
11094
11119
|
* @param {string} modelId Model ID.
|
|
11095
11120
|
* @param {*} [options] Override http request option.
|
|
@@ -11102,7 +11127,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11102
11127
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11103
11128
|
},
|
|
11104
11129
|
/**
|
|
11105
|
-
* Permissions:
|
|
11130
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
11106
11131
|
* @summary Get model computation statistics.
|
|
11107
11132
|
* @param {string} modelId Model ID.
|
|
11108
11133
|
* @param {QueryOrder} [order] Order in which to query computation stats items. _Default:_ `desc`
|
|
@@ -11123,7 +11148,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11123
11148
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11124
11149
|
},
|
|
11125
11150
|
/**
|
|
11126
|
-
* Permissions:
|
|
11151
|
+
* Permissions: * `setting.viewer.get.*` - __required__.
|
|
11127
11152
|
* @summary Get model config.
|
|
11128
11153
|
* @param {string} modelId Model ID.
|
|
11129
11154
|
* @param {*} [options] Override http request option.
|
|
@@ -11163,7 +11188,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11163
11188
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11164
11189
|
},
|
|
11165
11190
|
/**
|
|
11166
|
-
* Permissions:
|
|
11191
|
+
* Permissions: * `setting.auth.ticket.get.*` - optional: adds _settings.auth.ticket_ to response. * `setting.auth.token.get.*` - optional: adds _settings.auth.token_ to response. * `setting.compute.get.*` - optional: adds _settings.compute_ to response. * `file.upload` - optional: adds _file.upload_ to response. * `file.download` - optional: adds _file.download_ to response. * `get.statistic.*` - optional: adds _statistic_ to response.
|
|
11167
11192
|
* @summary Update model.
|
|
11168
11193
|
* @param {string} modelId Model ID.
|
|
11169
11194
|
* @param {ReqModel} reqModel
|
|
@@ -11177,7 +11202,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11177
11202
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11178
11203
|
},
|
|
11179
11204
|
/**
|
|
11180
|
-
* Updating the model configuration requires _model authoring privilege_. Permissions:
|
|
11205
|
+
* Updating the model configuration requires _model authoring privilege_. Permissions: * `setting.viewer.set.*` - __required__.
|
|
11181
11206
|
* @summary Update model config.
|
|
11182
11207
|
* @param {string} modelId Model ID.
|
|
11183
11208
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -11191,21 +11216,22 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11191
11216
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11192
11217
|
},
|
|
11193
11218
|
/**
|
|
11194
|
-
* Updating default parameter values requires model authoring privilege. Permissions:
|
|
11219
|
+
* Updating default parameter values requires model authoring privilege. Permissions: * `set.parameter.defval` - __required__.
|
|
11195
11220
|
* @summary Update default value of parameters.
|
|
11196
11221
|
* @param {string} modelId Model ID.
|
|
11197
11222
|
* @param {ReqCustomization} reqCustomization
|
|
11223
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
11198
11224
|
* @param {*} [options] Override http request option.
|
|
11199
11225
|
* @throws {RequiredError}
|
|
11200
11226
|
*/
|
|
11201
|
-
async updateParameterDefaultValues(modelId: string, reqCustomization: ReqCustomization, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResUpdateParameterDefaultValues>> {
|
|
11202
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateParameterDefaultValues(modelId, reqCustomization, options);
|
|
11227
|
+
async updateParameterDefaultValues(modelId: string, reqCustomization: ReqCustomization, ignoreUnknownParams?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResUpdateParameterDefaultValues>> {
|
|
11228
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateParameterDefaultValues(modelId, reqCustomization, ignoreUnknownParams, options);
|
|
11203
11229
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11204
11230
|
const localVarOperationServerBasePath = operationServerMap['ModelApi.updateParameterDefaultValues']?.[localVarOperationServerIndex]?.url;
|
|
11205
11231
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11206
11232
|
},
|
|
11207
11233
|
/**
|
|
11208
|
-
* Permissions:
|
|
11234
|
+
* Permissions: * `set.parameter.ui` - __required__.
|
|
11209
11235
|
* @summary Update definition of parameters.
|
|
11210
11236
|
* @param {string} modelId Model ID.
|
|
11211
11237
|
* @param {ReqParameterDefinitions} reqParameterDefinitions
|
|
@@ -11229,7 +11255,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11229
11255
|
const localVarFp = ModelApiFp(configuration)
|
|
11230
11256
|
return {
|
|
11231
11257
|
/**
|
|
11232
|
-
* Permissions:
|
|
11258
|
+
* Permissions: * `cache.export.delete.*` - __required__.
|
|
11233
11259
|
* @summary Delete old export components.
|
|
11234
11260
|
* @param {string} modelId Model ID.
|
|
11235
11261
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11240,7 +11266,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11240
11266
|
return localVarFp.cleanupExports(modelId, untilLastSeen, options).then((request) => request(axios, basePath));
|
|
11241
11267
|
},
|
|
11242
11268
|
/**
|
|
11243
|
-
* Permissions:
|
|
11269
|
+
* Permissions: * `cache.output.delete.*` - __required__.
|
|
11244
11270
|
* @summary Delete old output components.
|
|
11245
11271
|
* @param {string} modelId Model ID.
|
|
11246
11272
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11251,7 +11277,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11251
11277
|
return localVarFp.cleanupOutputs(modelId, untilLastSeen, options).then((request) => request(axios, basePath));
|
|
11252
11278
|
},
|
|
11253
11279
|
/**
|
|
11254
|
-
* Permissions:
|
|
11280
|
+
* Permissions: * `cache.texture.delete.*` - __required__.
|
|
11255
11281
|
* @summary Delete old texture components.
|
|
11256
11282
|
* @param {string} modelId Model ID.
|
|
11257
11283
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11272,7 +11298,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11272
11298
|
return localVarFp.createModel(reqModel, options).then((request) => request(axios, basePath));
|
|
11273
11299
|
},
|
|
11274
11300
|
/**
|
|
11275
|
-
* Permissions:
|
|
11301
|
+
* Permissions: * `setting.viewer.set.*` - __required__.
|
|
11276
11302
|
* @summary Create model config.
|
|
11277
11303
|
* @param {string} modelId Model ID.
|
|
11278
11304
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -11283,7 +11309,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11283
11309
|
return localVarFp.createModelConfig(modelId, reqConfigure, options).then((request) => request(axios, basePath));
|
|
11284
11310
|
},
|
|
11285
11311
|
/**
|
|
11286
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
11312
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.soft` - __required__.
|
|
11287
11313
|
* @summary Delete model.
|
|
11288
11314
|
* @param {string} modelId Model ID.
|
|
11289
11315
|
* @param {*} [options] Override http request option.
|
|
@@ -11293,7 +11319,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11293
11319
|
return localVarFp.deleteModel(modelId, options).then((request) => request(axios, basePath));
|
|
11294
11320
|
},
|
|
11295
11321
|
/**
|
|
11296
|
-
* Permissions:
|
|
11322
|
+
* Permissions: * `file.download` - __required__.
|
|
11297
11323
|
* @summary Download Grasshopper file.
|
|
11298
11324
|
* @param {string} modelId Model ID.
|
|
11299
11325
|
* @param {*} [options] Override http request option.
|
|
@@ -11313,7 +11339,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11313
11339
|
return localVarFp.getCleanupStatus(modelId, options).then((request) => request(axios, basePath));
|
|
11314
11340
|
},
|
|
11315
11341
|
/**
|
|
11316
|
-
* Permissions:
|
|
11342
|
+
* Permissions: * `setting.auth.ticket.get.*` - optional: adds _settings.auth.ticket_. * `setting.auth.token.get.*` - optional: adds _settings.auth.token_. * `setting.compute.get.*` - optional: adds _settings.compute_. * `file.upload` - optional: adds _file.upload_. * `file.download` - optional: adds _file.download_. * `get.statistic.*` - optional: adds _statistic_. * `setting.viewer.get.*` - optional: adds _viewer_. * `get.parameter.*` - optional: adds _parameters_. * `get.output*` - optional: adds _output definitions_. * `get.export*` - optional: adds _export definitions_.
|
|
11317
11343
|
* @summary Get model.
|
|
11318
11344
|
* @param {string} modelId Model ID.
|
|
11319
11345
|
* @param {*} [options] Override http request option.
|
|
@@ -11323,7 +11349,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11323
11349
|
return localVarFp.getModel(modelId, options).then((request) => request(axios, basePath));
|
|
11324
11350
|
},
|
|
11325
11351
|
/**
|
|
11326
|
-
* Permissions:
|
|
11352
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
11327
11353
|
* @summary Get model computation statistics.
|
|
11328
11354
|
* @param {string} modelId Model ID.
|
|
11329
11355
|
* @param {QueryOrder} [order] Order in which to query computation stats items. _Default:_ `desc`
|
|
@@ -11341,7 +11367,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11341
11367
|
return localVarFp.getModelComputations(modelId, order, timestampFrom, timestampTo, status, type, limit, strictLimit, offset, options).then((request) => request(axios, basePath));
|
|
11342
11368
|
},
|
|
11343
11369
|
/**
|
|
11344
|
-
* Permissions:
|
|
11370
|
+
* Permissions: * `setting.viewer.get.*` - __required__.
|
|
11345
11371
|
* @summary Get model config.
|
|
11346
11372
|
* @param {string} modelId Model ID.
|
|
11347
11373
|
* @param {*} [options] Override http request option.
|
|
@@ -11372,7 +11398,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11372
11398
|
return localVarFp.restoreModel(modelId, options).then((request) => request(axios, basePath));
|
|
11373
11399
|
},
|
|
11374
11400
|
/**
|
|
11375
|
-
* Permissions:
|
|
11401
|
+
* Permissions: * `setting.auth.ticket.get.*` - optional: adds _settings.auth.ticket_ to response. * `setting.auth.token.get.*` - optional: adds _settings.auth.token_ to response. * `setting.compute.get.*` - optional: adds _settings.compute_ to response. * `file.upload` - optional: adds _file.upload_ to response. * `file.download` - optional: adds _file.download_ to response. * `get.statistic.*` - optional: adds _statistic_ to response.
|
|
11376
11402
|
* @summary Update model.
|
|
11377
11403
|
* @param {string} modelId Model ID.
|
|
11378
11404
|
* @param {ReqModel} reqModel
|
|
@@ -11383,7 +11409,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11383
11409
|
return localVarFp.updateModel(modelId, reqModel, options).then((request) => request(axios, basePath));
|
|
11384
11410
|
},
|
|
11385
11411
|
/**
|
|
11386
|
-
* Updating the model configuration requires _model authoring privilege_. Permissions:
|
|
11412
|
+
* Updating the model configuration requires _model authoring privilege_. Permissions: * `setting.viewer.set.*` - __required__.
|
|
11387
11413
|
* @summary Update model config.
|
|
11388
11414
|
* @param {string} modelId Model ID.
|
|
11389
11415
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -11394,18 +11420,19 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11394
11420
|
return localVarFp.updateModelConfig(modelId, reqConfigure, options).then((request) => request(axios, basePath));
|
|
11395
11421
|
},
|
|
11396
11422
|
/**
|
|
11397
|
-
* Updating default parameter values requires model authoring privilege. Permissions:
|
|
11423
|
+
* Updating default parameter values requires model authoring privilege. Permissions: * `set.parameter.defval` - __required__.
|
|
11398
11424
|
* @summary Update default value of parameters.
|
|
11399
11425
|
* @param {string} modelId Model ID.
|
|
11400
11426
|
* @param {ReqCustomization} reqCustomization
|
|
11427
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
11401
11428
|
* @param {*} [options] Override http request option.
|
|
11402
11429
|
* @throws {RequiredError}
|
|
11403
11430
|
*/
|
|
11404
|
-
updateParameterDefaultValues(modelId: string, reqCustomization: ReqCustomization, options?: RawAxiosRequestConfig): AxiosPromise<ResUpdateParameterDefaultValues> {
|
|
11405
|
-
return localVarFp.updateParameterDefaultValues(modelId, reqCustomization, options).then((request) => request(axios, basePath));
|
|
11431
|
+
updateParameterDefaultValues(modelId: string, reqCustomization: ReqCustomization, ignoreUnknownParams?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ResUpdateParameterDefaultValues> {
|
|
11432
|
+
return localVarFp.updateParameterDefaultValues(modelId, reqCustomization, ignoreUnknownParams, options).then((request) => request(axios, basePath));
|
|
11406
11433
|
},
|
|
11407
11434
|
/**
|
|
11408
|
-
* Permissions:
|
|
11435
|
+
* Permissions: * `set.parameter.ui` - __required__.
|
|
11409
11436
|
* @summary Update definition of parameters.
|
|
11410
11437
|
* @param {string} modelId Model ID.
|
|
11411
11438
|
* @param {ReqParameterDefinitions} reqParameterDefinitions
|
|
@@ -11426,7 +11453,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11426
11453
|
*/
|
|
11427
11454
|
export class ModelApi extends BaseAPI {
|
|
11428
11455
|
/**
|
|
11429
|
-
* Permissions:
|
|
11456
|
+
* Permissions: * `cache.export.delete.*` - __required__.
|
|
11430
11457
|
* @summary Delete old export components.
|
|
11431
11458
|
* @param {string} modelId Model ID.
|
|
11432
11459
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11439,7 +11466,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11439
11466
|
}
|
|
11440
11467
|
|
|
11441
11468
|
/**
|
|
11442
|
-
* Permissions:
|
|
11469
|
+
* Permissions: * `cache.output.delete.*` - __required__.
|
|
11443
11470
|
* @summary Delete old output components.
|
|
11444
11471
|
* @param {string} modelId Model ID.
|
|
11445
11472
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11452,7 +11479,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11452
11479
|
}
|
|
11453
11480
|
|
|
11454
11481
|
/**
|
|
11455
|
-
* Permissions:
|
|
11482
|
+
* Permissions: * `cache.texture.delete.*` - __required__.
|
|
11456
11483
|
* @summary Delete old texture components.
|
|
11457
11484
|
* @param {string} modelId Model ID.
|
|
11458
11485
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11477,7 +11504,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11477
11504
|
}
|
|
11478
11505
|
|
|
11479
11506
|
/**
|
|
11480
|
-
* Permissions:
|
|
11507
|
+
* Permissions: * `setting.viewer.set.*` - __required__.
|
|
11481
11508
|
* @summary Create model config.
|
|
11482
11509
|
* @param {string} modelId Model ID.
|
|
11483
11510
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -11490,7 +11517,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11490
11517
|
}
|
|
11491
11518
|
|
|
11492
11519
|
/**
|
|
11493
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
11520
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.soft` - __required__.
|
|
11494
11521
|
* @summary Delete model.
|
|
11495
11522
|
* @param {string} modelId Model ID.
|
|
11496
11523
|
* @param {*} [options] Override http request option.
|
|
@@ -11502,7 +11529,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11502
11529
|
}
|
|
11503
11530
|
|
|
11504
11531
|
/**
|
|
11505
|
-
* Permissions:
|
|
11532
|
+
* Permissions: * `file.download` - __required__.
|
|
11506
11533
|
* @summary Download Grasshopper file.
|
|
11507
11534
|
* @param {string} modelId Model ID.
|
|
11508
11535
|
* @param {*} [options] Override http request option.
|
|
@@ -11526,7 +11553,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11526
11553
|
}
|
|
11527
11554
|
|
|
11528
11555
|
/**
|
|
11529
|
-
* Permissions:
|
|
11556
|
+
* Permissions: * `setting.auth.ticket.get.*` - optional: adds _settings.auth.ticket_. * `setting.auth.token.get.*` - optional: adds _settings.auth.token_. * `setting.compute.get.*` - optional: adds _settings.compute_. * `file.upload` - optional: adds _file.upload_. * `file.download` - optional: adds _file.download_. * `get.statistic.*` - optional: adds _statistic_. * `setting.viewer.get.*` - optional: adds _viewer_. * `get.parameter.*` - optional: adds _parameters_. * `get.output*` - optional: adds _output definitions_. * `get.export*` - optional: adds _export definitions_.
|
|
11530
11557
|
* @summary Get model.
|
|
11531
11558
|
* @param {string} modelId Model ID.
|
|
11532
11559
|
* @param {*} [options] Override http request option.
|
|
@@ -11538,7 +11565,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11538
11565
|
}
|
|
11539
11566
|
|
|
11540
11567
|
/**
|
|
11541
|
-
* Permissions:
|
|
11568
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
11542
11569
|
* @summary Get model computation statistics.
|
|
11543
11570
|
* @param {string} modelId Model ID.
|
|
11544
11571
|
* @param {QueryOrder} [order] Order in which to query computation stats items. _Default:_ `desc`
|
|
@@ -11558,7 +11585,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11558
11585
|
}
|
|
11559
11586
|
|
|
11560
11587
|
/**
|
|
11561
|
-
* Permissions:
|
|
11588
|
+
* Permissions: * `setting.viewer.get.*` - __required__.
|
|
11562
11589
|
* @summary Get model config.
|
|
11563
11590
|
* @param {string} modelId Model ID.
|
|
11564
11591
|
* @param {*} [options] Override http request option.
|
|
@@ -11595,7 +11622,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11595
11622
|
}
|
|
11596
11623
|
|
|
11597
11624
|
/**
|
|
11598
|
-
* Permissions:
|
|
11625
|
+
* Permissions: * `setting.auth.ticket.get.*` - optional: adds _settings.auth.ticket_ to response. * `setting.auth.token.get.*` - optional: adds _settings.auth.token_ to response. * `setting.compute.get.*` - optional: adds _settings.compute_ to response. * `file.upload` - optional: adds _file.upload_ to response. * `file.download` - optional: adds _file.download_ to response. * `get.statistic.*` - optional: adds _statistic_ to response.
|
|
11599
11626
|
* @summary Update model.
|
|
11600
11627
|
* @param {string} modelId Model ID.
|
|
11601
11628
|
* @param {ReqModel} reqModel
|
|
@@ -11608,7 +11635,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11608
11635
|
}
|
|
11609
11636
|
|
|
11610
11637
|
/**
|
|
11611
|
-
* Updating the model configuration requires _model authoring privilege_. Permissions:
|
|
11638
|
+
* Updating the model configuration requires _model authoring privilege_. Permissions: * `setting.viewer.set.*` - __required__.
|
|
11612
11639
|
* @summary Update model config.
|
|
11613
11640
|
* @param {string} modelId Model ID.
|
|
11614
11641
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -11621,20 +11648,21 @@ export class ModelApi extends BaseAPI {
|
|
|
11621
11648
|
}
|
|
11622
11649
|
|
|
11623
11650
|
/**
|
|
11624
|
-
* Updating default parameter values requires model authoring privilege. Permissions:
|
|
11651
|
+
* Updating default parameter values requires model authoring privilege. Permissions: * `set.parameter.defval` - __required__.
|
|
11625
11652
|
* @summary Update default value of parameters.
|
|
11626
11653
|
* @param {string} modelId Model ID.
|
|
11627
11654
|
* @param {ReqCustomization} reqCustomization
|
|
11655
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
11628
11656
|
* @param {*} [options] Override http request option.
|
|
11629
11657
|
* @throws {RequiredError}
|
|
11630
11658
|
* @memberof ModelApi
|
|
11631
11659
|
*/
|
|
11632
|
-
public updateParameterDefaultValues(modelId: string, reqCustomization: ReqCustomization, options?: RawAxiosRequestConfig) {
|
|
11633
|
-
return ModelApiFp(this.configuration).updateParameterDefaultValues(modelId, reqCustomization, options).then((request) => request(this.axios, this.basePath));
|
|
11660
|
+
public updateParameterDefaultValues(modelId: string, reqCustomization: ReqCustomization, ignoreUnknownParams?: boolean, options?: RawAxiosRequestConfig) {
|
|
11661
|
+
return ModelApiFp(this.configuration).updateParameterDefaultValues(modelId, reqCustomization, ignoreUnknownParams, options).then((request) => request(this.axios, this.basePath));
|
|
11634
11662
|
}
|
|
11635
11663
|
|
|
11636
11664
|
/**
|
|
11637
|
-
* Permissions:
|
|
11665
|
+
* Permissions: * `set.parameter.ui` - __required__.
|
|
11638
11666
|
* @summary Update definition of parameters.
|
|
11639
11667
|
* @param {string} modelId Model ID.
|
|
11640
11668
|
* @param {ReqParameterDefinitions} reqParameterDefinitions
|
|
@@ -11660,10 +11688,11 @@ export const ModelStateApiAxiosParamCreator = function (configuration?: Configur
|
|
|
11660
11688
|
* @summary Create new Model-State.
|
|
11661
11689
|
* @param {string} sessionId Session ID.
|
|
11662
11690
|
* @param {ReqModelState} reqModelState
|
|
11691
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
11663
11692
|
* @param {*} [options] Override http request option.
|
|
11664
11693
|
* @throws {RequiredError}
|
|
11665
11694
|
*/
|
|
11666
|
-
createModelState: async (sessionId: string, reqModelState: ReqModelState, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11695
|
+
createModelState: async (sessionId: string, reqModelState: ReqModelState, ignoreUnknownParams?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11667
11696
|
// verify required parameter 'sessionId' is not null or undefined
|
|
11668
11697
|
assertParamExists('createModelState', 'sessionId', sessionId)
|
|
11669
11698
|
// verify required parameter 'reqModelState' is not null or undefined
|
|
@@ -11685,6 +11714,10 @@ export const ModelStateApiAxiosParamCreator = function (configuration?: Configur
|
|
|
11685
11714
|
// http bearer authentication required
|
|
11686
11715
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11687
11716
|
|
|
11717
|
+
if (ignoreUnknownParams !== undefined) {
|
|
11718
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
11719
|
+
}
|
|
11720
|
+
|
|
11688
11721
|
|
|
11689
11722
|
|
|
11690
11723
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -11969,11 +12002,12 @@ export const ModelStateApiFp = function(configuration?: Configuration) {
|
|
|
11969
12002
|
* @summary Create new Model-State.
|
|
11970
12003
|
* @param {string} sessionId Session ID.
|
|
11971
12004
|
* @param {ReqModelState} reqModelState
|
|
12005
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
11972
12006
|
* @param {*} [options] Override http request option.
|
|
11973
12007
|
* @throws {RequiredError}
|
|
11974
12008
|
*/
|
|
11975
|
-
async createModelState(sessionId: string, reqModelState: ReqModelState, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResCreateModelState>> {
|
|
11976
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createModelState(sessionId, reqModelState, options);
|
|
12009
|
+
async createModelState(sessionId: string, reqModelState: ReqModelState, ignoreUnknownParams?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResCreateModelState>> {
|
|
12010
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createModelState(sessionId, reqModelState, ignoreUnknownParams, options);
|
|
11977
12011
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11978
12012
|
const localVarOperationServerBasePath = operationServerMap['ModelStateApi.createModelState']?.[localVarOperationServerIndex]?.url;
|
|
11979
12013
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12085,11 +12119,12 @@ export const ModelStateApiFactory = function (configuration?: Configuration, bas
|
|
|
12085
12119
|
* @summary Create new Model-State.
|
|
12086
12120
|
* @param {string} sessionId Session ID.
|
|
12087
12121
|
* @param {ReqModelState} reqModelState
|
|
12122
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
12088
12123
|
* @param {*} [options] Override http request option.
|
|
12089
12124
|
* @throws {RequiredError}
|
|
12090
12125
|
*/
|
|
12091
|
-
createModelState(sessionId: string, reqModelState: ReqModelState, options?: RawAxiosRequestConfig): AxiosPromise<ResCreateModelState> {
|
|
12092
|
-
return localVarFp.createModelState(sessionId, reqModelState, options).then((request) => request(axios, basePath));
|
|
12126
|
+
createModelState(sessionId: string, reqModelState: ReqModelState, ignoreUnknownParams?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ResCreateModelState> {
|
|
12127
|
+
return localVarFp.createModelState(sessionId, reqModelState, ignoreUnknownParams, options).then((request) => request(axios, basePath));
|
|
12093
12128
|
},
|
|
12094
12129
|
/**
|
|
12095
12130
|
* Subject-Restriction: __backend__.
|
|
@@ -12177,12 +12212,13 @@ export class ModelStateApi extends BaseAPI {
|
|
|
12177
12212
|
* @summary Create new Model-State.
|
|
12178
12213
|
* @param {string} sessionId Session ID.
|
|
12179
12214
|
* @param {ReqModelState} reqModelState
|
|
12215
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
12180
12216
|
* @param {*} [options] Override http request option.
|
|
12181
12217
|
* @throws {RequiredError}
|
|
12182
12218
|
* @memberof ModelStateApi
|
|
12183
12219
|
*/
|
|
12184
|
-
public createModelState(sessionId: string, reqModelState: ReqModelState, options?: RawAxiosRequestConfig) {
|
|
12185
|
-
return ModelStateApiFp(this.configuration).createModelState(sessionId, reqModelState, options).then((request) => request(this.axios, this.basePath));
|
|
12220
|
+
public createModelState(sessionId: string, reqModelState: ReqModelState, ignoreUnknownParams?: boolean, options?: RawAxiosRequestConfig) {
|
|
12221
|
+
return ModelStateApiFp(this.configuration).createModelState(sessionId, reqModelState, ignoreUnknownParams, options).then((request) => request(this.axios, this.basePath));
|
|
12186
12222
|
}
|
|
12187
12223
|
|
|
12188
12224
|
/**
|
|
@@ -12280,14 +12316,15 @@ export class ModelStateApi extends BaseAPI {
|
|
|
12280
12316
|
export const OutputApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12281
12317
|
return {
|
|
12282
12318
|
/**
|
|
12283
|
-
* Permissions:
|
|
12319
|
+
* Permissions: * `compute.output.*` - __required__.
|
|
12284
12320
|
* @summary Compute all outputs for given parameter values.
|
|
12285
12321
|
* @param {string} sessionId Session ID.
|
|
12286
12322
|
* @param {ReqCustomization} reqCustomization
|
|
12323
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
12287
12324
|
* @param {*} [options] Override http request option.
|
|
12288
12325
|
* @throws {RequiredError}
|
|
12289
12326
|
*/
|
|
12290
|
-
computeOutputs: async (sessionId: string, reqCustomization: ReqCustomization, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12327
|
+
computeOutputs: async (sessionId: string, reqCustomization: ReqCustomization, ignoreUnknownParams?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12291
12328
|
// verify required parameter 'sessionId' is not null or undefined
|
|
12292
12329
|
assertParamExists('computeOutputs', 'sessionId', sessionId)
|
|
12293
12330
|
// verify required parameter 'reqCustomization' is not null or undefined
|
|
@@ -12309,6 +12346,10 @@ export const OutputApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12309
12346
|
// http bearer authentication required
|
|
12310
12347
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12311
12348
|
|
|
12349
|
+
if (ignoreUnknownParams !== undefined) {
|
|
12350
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
12351
|
+
}
|
|
12352
|
+
|
|
12312
12353
|
|
|
12313
12354
|
|
|
12314
12355
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -12324,7 +12365,7 @@ export const OutputApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12324
12365
|
};
|
|
12325
12366
|
},
|
|
12326
12367
|
/**
|
|
12327
|
-
* Permissions:
|
|
12368
|
+
* Permissions: * `cache.output.get.*` - __required__.
|
|
12328
12369
|
* @summary Get output from cache / check if computation is done.
|
|
12329
12370
|
* @param {string} sessionId Session ID.
|
|
12330
12371
|
* @param {ReqCache | ReqCustomization} reqCacheReqCustomization
|
|
@@ -12368,7 +12409,7 @@ export const OutputApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12368
12409
|
};
|
|
12369
12410
|
},
|
|
12370
12411
|
/**
|
|
12371
|
-
* Permissions:
|
|
12412
|
+
* Permissions: * `cache.output.list.*` - __required__.
|
|
12372
12413
|
* @summary List output versions.
|
|
12373
12414
|
* @param {string} sessionId Session ID.
|
|
12374
12415
|
* @param {string} outputId Output ID.
|
|
@@ -12425,7 +12466,7 @@ export const OutputApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12425
12466
|
};
|
|
12426
12467
|
},
|
|
12427
12468
|
/**
|
|
12428
|
-
* Permissions:
|
|
12469
|
+
* Permissions: * `set.output.ui` - __required__.
|
|
12429
12470
|
* @summary Update definition of outputs.
|
|
12430
12471
|
* @param {string} modelId Model ID.
|
|
12431
12472
|
* @param {ReqOutputDefinitions} reqOutputDefinitions
|
|
@@ -12479,21 +12520,22 @@ export const OutputApiFp = function(configuration?: Configuration) {
|
|
|
12479
12520
|
const localVarAxiosParamCreator = OutputApiAxiosParamCreator(configuration)
|
|
12480
12521
|
return {
|
|
12481
12522
|
/**
|
|
12482
|
-
* Permissions:
|
|
12523
|
+
* Permissions: * `compute.output.*` - __required__.
|
|
12483
12524
|
* @summary Compute all outputs for given parameter values.
|
|
12484
12525
|
* @param {string} sessionId Session ID.
|
|
12485
12526
|
* @param {ReqCustomization} reqCustomization
|
|
12527
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
12486
12528
|
* @param {*} [options] Override http request option.
|
|
12487
12529
|
* @throws {RequiredError}
|
|
12488
12530
|
*/
|
|
12489
|
-
async computeOutputs(sessionId: string, reqCustomization: ReqCustomization, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResComputeOutputs>> {
|
|
12490
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.computeOutputs(sessionId, reqCustomization, options);
|
|
12531
|
+
async computeOutputs(sessionId: string, reqCustomization: ReqCustomization, ignoreUnknownParams?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResComputeOutputs>> {
|
|
12532
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.computeOutputs(sessionId, reqCustomization, ignoreUnknownParams, options);
|
|
12491
12533
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12492
12534
|
const localVarOperationServerBasePath = operationServerMap['OutputApi.computeOutputs']?.[localVarOperationServerIndex]?.url;
|
|
12493
12535
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12494
12536
|
},
|
|
12495
12537
|
/**
|
|
12496
|
-
* Permissions:
|
|
12538
|
+
* Permissions: * `cache.output.get.*` - __required__.
|
|
12497
12539
|
* @summary Get output from cache / check if computation is done.
|
|
12498
12540
|
* @param {string} sessionId Session ID.
|
|
12499
12541
|
* @param {ReqCache | ReqCustomization} reqCacheReqCustomization
|
|
@@ -12507,7 +12549,7 @@ export const OutputApiFp = function(configuration?: Configuration) {
|
|
|
12507
12549
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12508
12550
|
},
|
|
12509
12551
|
/**
|
|
12510
|
-
* Permissions:
|
|
12552
|
+
* Permissions: * `cache.output.list.*` - __required__.
|
|
12511
12553
|
* @summary List output versions.
|
|
12512
12554
|
* @param {string} sessionId Session ID.
|
|
12513
12555
|
* @param {string} outputId Output ID.
|
|
@@ -12524,7 +12566,7 @@ export const OutputApiFp = function(configuration?: Configuration) {
|
|
|
12524
12566
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12525
12567
|
},
|
|
12526
12568
|
/**
|
|
12527
|
-
* Permissions:
|
|
12569
|
+
* Permissions: * `set.output.ui` - __required__.
|
|
12528
12570
|
* @summary Update definition of outputs.
|
|
12529
12571
|
* @param {string} modelId Model ID.
|
|
12530
12572
|
* @param {ReqOutputDefinitions} reqOutputDefinitions
|
|
@@ -12548,18 +12590,19 @@ export const OutputApiFactory = function (configuration?: Configuration, basePat
|
|
|
12548
12590
|
const localVarFp = OutputApiFp(configuration)
|
|
12549
12591
|
return {
|
|
12550
12592
|
/**
|
|
12551
|
-
* Permissions:
|
|
12593
|
+
* Permissions: * `compute.output.*` - __required__.
|
|
12552
12594
|
* @summary Compute all outputs for given parameter values.
|
|
12553
12595
|
* @param {string} sessionId Session ID.
|
|
12554
12596
|
* @param {ReqCustomization} reqCustomization
|
|
12597
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
12555
12598
|
* @param {*} [options] Override http request option.
|
|
12556
12599
|
* @throws {RequiredError}
|
|
12557
12600
|
*/
|
|
12558
|
-
computeOutputs(sessionId: string, reqCustomization: ReqCustomization, options?: RawAxiosRequestConfig): AxiosPromise<ResComputeOutputs> {
|
|
12559
|
-
return localVarFp.computeOutputs(sessionId, reqCustomization, options).then((request) => request(axios, basePath));
|
|
12601
|
+
computeOutputs(sessionId: string, reqCustomization: ReqCustomization, ignoreUnknownParams?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ResComputeOutputs> {
|
|
12602
|
+
return localVarFp.computeOutputs(sessionId, reqCustomization, ignoreUnknownParams, options).then((request) => request(axios, basePath));
|
|
12560
12603
|
},
|
|
12561
12604
|
/**
|
|
12562
|
-
* Permissions:
|
|
12605
|
+
* Permissions: * `cache.output.get.*` - __required__.
|
|
12563
12606
|
* @summary Get output from cache / check if computation is done.
|
|
12564
12607
|
* @param {string} sessionId Session ID.
|
|
12565
12608
|
* @param {ReqCache | ReqCustomization} reqCacheReqCustomization
|
|
@@ -12570,7 +12613,7 @@ export const OutputApiFactory = function (configuration?: Configuration, basePat
|
|
|
12570
12613
|
return localVarFp.getCachedOutputs(sessionId, reqCacheReqCustomization, options).then((request) => request(axios, basePath));
|
|
12571
12614
|
},
|
|
12572
12615
|
/**
|
|
12573
|
-
* Permissions:
|
|
12616
|
+
* Permissions: * `cache.output.list.*` - __required__.
|
|
12574
12617
|
* @summary List output versions.
|
|
12575
12618
|
* @param {string} sessionId Session ID.
|
|
12576
12619
|
* @param {string} outputId Output ID.
|
|
@@ -12584,7 +12627,7 @@ export const OutputApiFactory = function (configuration?: Configuration, basePat
|
|
|
12584
12627
|
return localVarFp.listOutputVersions(sessionId, outputId, statusComputation, statusCollect, offset, options).then((request) => request(axios, basePath));
|
|
12585
12628
|
},
|
|
12586
12629
|
/**
|
|
12587
|
-
* Permissions:
|
|
12630
|
+
* Permissions: * `set.output.ui` - __required__.
|
|
12588
12631
|
* @summary Update definition of outputs.
|
|
12589
12632
|
* @param {string} modelId Model ID.
|
|
12590
12633
|
* @param {ReqOutputDefinitions} reqOutputDefinitions
|
|
@@ -12605,20 +12648,21 @@ export const OutputApiFactory = function (configuration?: Configuration, basePat
|
|
|
12605
12648
|
*/
|
|
12606
12649
|
export class OutputApi extends BaseAPI {
|
|
12607
12650
|
/**
|
|
12608
|
-
* Permissions:
|
|
12651
|
+
* Permissions: * `compute.output.*` - __required__.
|
|
12609
12652
|
* @summary Compute all outputs for given parameter values.
|
|
12610
12653
|
* @param {string} sessionId Session ID.
|
|
12611
12654
|
* @param {ReqCustomization} reqCustomization
|
|
12655
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
12612
12656
|
* @param {*} [options] Override http request option.
|
|
12613
12657
|
* @throws {RequiredError}
|
|
12614
12658
|
* @memberof OutputApi
|
|
12615
12659
|
*/
|
|
12616
|
-
public computeOutputs(sessionId: string, reqCustomization: ReqCustomization, options?: RawAxiosRequestConfig) {
|
|
12617
|
-
return OutputApiFp(this.configuration).computeOutputs(sessionId, reqCustomization, options).then((request) => request(this.axios, this.basePath));
|
|
12660
|
+
public computeOutputs(sessionId: string, reqCustomization: ReqCustomization, ignoreUnknownParams?: boolean, options?: RawAxiosRequestConfig) {
|
|
12661
|
+
return OutputApiFp(this.configuration).computeOutputs(sessionId, reqCustomization, ignoreUnknownParams, options).then((request) => request(this.axios, this.basePath));
|
|
12618
12662
|
}
|
|
12619
12663
|
|
|
12620
12664
|
/**
|
|
12621
|
-
* Permissions:
|
|
12665
|
+
* Permissions: * `cache.output.get.*` - __required__.
|
|
12622
12666
|
* @summary Get output from cache / check if computation is done.
|
|
12623
12667
|
* @param {string} sessionId Session ID.
|
|
12624
12668
|
* @param {ReqCache | ReqCustomization} reqCacheReqCustomization
|
|
@@ -12631,7 +12675,7 @@ export class OutputApi extends BaseAPI {
|
|
|
12631
12675
|
}
|
|
12632
12676
|
|
|
12633
12677
|
/**
|
|
12634
|
-
* Permissions:
|
|
12678
|
+
* Permissions: * `cache.output.list.*` - __required__.
|
|
12635
12679
|
* @summary List output versions.
|
|
12636
12680
|
* @param {string} sessionId Session ID.
|
|
12637
12681
|
* @param {string} outputId Output ID.
|
|
@@ -12647,7 +12691,7 @@ export class OutputApi extends BaseAPI {
|
|
|
12647
12691
|
}
|
|
12648
12692
|
|
|
12649
12693
|
/**
|
|
12650
|
-
* Permissions:
|
|
12694
|
+
* Permissions: * `set.output.ui` - __required__.
|
|
12651
12695
|
* @summary Update definition of outputs.
|
|
12652
12696
|
* @param {string} modelId Model ID.
|
|
12653
12697
|
* @param {ReqOutputDefinitions} reqOutputDefinitions
|
|
@@ -12669,7 +12713,7 @@ export class OutputApi extends BaseAPI {
|
|
|
12669
12713
|
export const ScriptApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12670
12714
|
return {
|
|
12671
12715
|
/**
|
|
12672
|
-
* Permissions:
|
|
12716
|
+
* Permissions: * `script.confirm.*` - __required__.
|
|
12673
12717
|
* @summary Confirm script.
|
|
12674
12718
|
* @param {string} scriptId Script ID.
|
|
12675
12719
|
* @param {*} [options] Override http request option.
|
|
@@ -12707,7 +12751,7 @@ export const ScriptApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12707
12751
|
};
|
|
12708
12752
|
},
|
|
12709
12753
|
/**
|
|
12710
|
-
* Permissions:
|
|
12754
|
+
* Permissions: * `script.deny.*` - __required__.
|
|
12711
12755
|
* @summary Deny script.
|
|
12712
12756
|
* @param {string} scriptId Script ID.
|
|
12713
12757
|
* @param {*} [options] Override http request option.
|
|
@@ -12755,7 +12799,7 @@ export const ScriptApiFp = function(configuration?: Configuration) {
|
|
|
12755
12799
|
const localVarAxiosParamCreator = ScriptApiAxiosParamCreator(configuration)
|
|
12756
12800
|
return {
|
|
12757
12801
|
/**
|
|
12758
|
-
* Permissions:
|
|
12802
|
+
* Permissions: * `script.confirm.*` - __required__.
|
|
12759
12803
|
* @summary Confirm script.
|
|
12760
12804
|
* @param {string} scriptId Script ID.
|
|
12761
12805
|
* @param {*} [options] Override http request option.
|
|
@@ -12768,7 +12812,7 @@ export const ScriptApiFp = function(configuration?: Configuration) {
|
|
|
12768
12812
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12769
12813
|
},
|
|
12770
12814
|
/**
|
|
12771
|
-
* Permissions:
|
|
12815
|
+
* Permissions: * `script.deny.*` - __required__.
|
|
12772
12816
|
* @summary Deny script.
|
|
12773
12817
|
* @param {string} scriptId Script ID.
|
|
12774
12818
|
* @param {*} [options] Override http request option.
|
|
@@ -12791,7 +12835,7 @@ export const ScriptApiFactory = function (configuration?: Configuration, basePat
|
|
|
12791
12835
|
const localVarFp = ScriptApiFp(configuration)
|
|
12792
12836
|
return {
|
|
12793
12837
|
/**
|
|
12794
|
-
* Permissions:
|
|
12838
|
+
* Permissions: * `script.confirm.*` - __required__.
|
|
12795
12839
|
* @summary Confirm script.
|
|
12796
12840
|
* @param {string} scriptId Script ID.
|
|
12797
12841
|
* @param {*} [options] Override http request option.
|
|
@@ -12801,7 +12845,7 @@ export const ScriptApiFactory = function (configuration?: Configuration, basePat
|
|
|
12801
12845
|
return localVarFp.confirmScript(scriptId, options).then((request) => request(axios, basePath));
|
|
12802
12846
|
},
|
|
12803
12847
|
/**
|
|
12804
|
-
* Permissions:
|
|
12848
|
+
* Permissions: * `script.deny.*` - __required__.
|
|
12805
12849
|
* @summary Deny script.
|
|
12806
12850
|
* @param {string} scriptId Script ID.
|
|
12807
12851
|
* @param {*} [options] Override http request option.
|
|
@@ -12821,7 +12865,7 @@ export const ScriptApiFactory = function (configuration?: Configuration, basePat
|
|
|
12821
12865
|
*/
|
|
12822
12866
|
export class ScriptApi extends BaseAPI {
|
|
12823
12867
|
/**
|
|
12824
|
-
* Permissions:
|
|
12868
|
+
* Permissions: * `script.confirm.*` - __required__.
|
|
12825
12869
|
* @summary Confirm script.
|
|
12826
12870
|
* @param {string} scriptId Script ID.
|
|
12827
12871
|
* @param {*} [options] Override http request option.
|
|
@@ -12833,7 +12877,7 @@ export class ScriptApi extends BaseAPI {
|
|
|
12833
12877
|
}
|
|
12834
12878
|
|
|
12835
12879
|
/**
|
|
12836
|
-
* Permissions:
|
|
12880
|
+
* Permissions: * `script.deny.*` - __required__.
|
|
12837
12881
|
* @summary Deny script.
|
|
12838
12882
|
* @param {string} scriptId Script ID.
|
|
12839
12883
|
* @param {*} [options] Override http request option.
|
|
@@ -12854,7 +12898,7 @@ export class ScriptApi extends BaseAPI {
|
|
|
12854
12898
|
export const SdtfApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12855
12899
|
return {
|
|
12856
12900
|
/**
|
|
12857
|
-
* Permissions:
|
|
12901
|
+
* Permissions: * `asset.sdtf.delete.*` - __required__.
|
|
12858
12902
|
* @summary Delete a sdTF-assets.
|
|
12859
12903
|
* @param {string} sessionId Session ID.
|
|
12860
12904
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -12900,7 +12944,7 @@ export const SdtfApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
12900
12944
|
};
|
|
12901
12945
|
},
|
|
12902
12946
|
/**
|
|
12903
|
-
* Permissions:
|
|
12947
|
+
* Permissions: * `asset.sdtf.get.*` - __required__.
|
|
12904
12948
|
* @summary Download a sdTF-asset.
|
|
12905
12949
|
* @param {string} sessionId Session ID.
|
|
12906
12950
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -12946,7 +12990,7 @@ export const SdtfApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
12946
12990
|
};
|
|
12947
12991
|
},
|
|
12948
12992
|
/**
|
|
12949
|
-
* Permissions:
|
|
12993
|
+
* Permissions: * `asset.sdtf.list.*` - __required__.
|
|
12950
12994
|
* @summary List all sdTF-assets of a namespace.
|
|
12951
12995
|
* @param {string} sessionId Session ID.
|
|
12952
12996
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -12993,7 +13037,7 @@ export const SdtfApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
12993
13037
|
};
|
|
12994
13038
|
},
|
|
12995
13039
|
/**
|
|
12996
|
-
* Permissions:
|
|
13040
|
+
* Permissions: * `asset.sdtf.create.*` - __required__.
|
|
12997
13041
|
* @summary Request upload URL for a sdTF-asset.
|
|
12998
13042
|
* @param {string} sessionId Session ID.
|
|
12999
13043
|
* @param {Array<ReqSdtfDefinition>} reqSdtfDefinition
|
|
@@ -13047,7 +13091,7 @@ export const SdtfApiFp = function(configuration?: Configuration) {
|
|
|
13047
13091
|
const localVarAxiosParamCreator = SdtfApiAxiosParamCreator(configuration)
|
|
13048
13092
|
return {
|
|
13049
13093
|
/**
|
|
13050
|
-
* Permissions:
|
|
13094
|
+
* Permissions: * `asset.sdtf.delete.*` - __required__.
|
|
13051
13095
|
* @summary Delete a sdTF-assets.
|
|
13052
13096
|
* @param {string} sessionId Session ID.
|
|
13053
13097
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13062,7 +13106,7 @@ export const SdtfApiFp = function(configuration?: Configuration) {
|
|
|
13062
13106
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13063
13107
|
},
|
|
13064
13108
|
/**
|
|
13065
|
-
* Permissions:
|
|
13109
|
+
* Permissions: * `asset.sdtf.get.*` - __required__.
|
|
13066
13110
|
* @summary Download a sdTF-asset.
|
|
13067
13111
|
* @param {string} sessionId Session ID.
|
|
13068
13112
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13077,7 +13121,7 @@ export const SdtfApiFp = function(configuration?: Configuration) {
|
|
|
13077
13121
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13078
13122
|
},
|
|
13079
13123
|
/**
|
|
13080
|
-
* Permissions:
|
|
13124
|
+
* Permissions: * `asset.sdtf.list.*` - __required__.
|
|
13081
13125
|
* @summary List all sdTF-assets of a namespace.
|
|
13082
13126
|
* @param {string} sessionId Session ID.
|
|
13083
13127
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13092,7 +13136,7 @@ export const SdtfApiFp = function(configuration?: Configuration) {
|
|
|
13092
13136
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13093
13137
|
},
|
|
13094
13138
|
/**
|
|
13095
|
-
* Permissions:
|
|
13139
|
+
* Permissions: * `asset.sdtf.create.*` - __required__.
|
|
13096
13140
|
* @summary Request upload URL for a sdTF-asset.
|
|
13097
13141
|
* @param {string} sessionId Session ID.
|
|
13098
13142
|
* @param {Array<ReqSdtfDefinition>} reqSdtfDefinition
|
|
@@ -13116,7 +13160,7 @@ export const SdtfApiFactory = function (configuration?: Configuration, basePath?
|
|
|
13116
13160
|
const localVarFp = SdtfApiFp(configuration)
|
|
13117
13161
|
return {
|
|
13118
13162
|
/**
|
|
13119
|
-
* Permissions:
|
|
13163
|
+
* Permissions: * `asset.sdtf.delete.*` - __required__.
|
|
13120
13164
|
* @summary Delete a sdTF-assets.
|
|
13121
13165
|
* @param {string} sessionId Session ID.
|
|
13122
13166
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13128,7 +13172,7 @@ export const SdtfApiFactory = function (configuration?: Configuration, basePath?
|
|
|
13128
13172
|
return localVarFp.deleteSdtf(sessionId, namespace, sdtfId, options).then((request) => request(axios, basePath));
|
|
13129
13173
|
},
|
|
13130
13174
|
/**
|
|
13131
|
-
* Permissions:
|
|
13175
|
+
* Permissions: * `asset.sdtf.get.*` - __required__.
|
|
13132
13176
|
* @summary Download a sdTF-asset.
|
|
13133
13177
|
* @param {string} sessionId Session ID.
|
|
13134
13178
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13140,7 +13184,7 @@ export const SdtfApiFactory = function (configuration?: Configuration, basePath?
|
|
|
13140
13184
|
return localVarFp.downloadSdtf(sessionId, namespace, sdtfId, options).then((request) => request(axios, basePath));
|
|
13141
13185
|
},
|
|
13142
13186
|
/**
|
|
13143
|
-
* Permissions:
|
|
13187
|
+
* Permissions: * `asset.sdtf.list.*` - __required__.
|
|
13144
13188
|
* @summary List all sdTF-assets of a namespace.
|
|
13145
13189
|
* @param {string} sessionId Session ID.
|
|
13146
13190
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13152,7 +13196,7 @@ export const SdtfApiFactory = function (configuration?: Configuration, basePath?
|
|
|
13152
13196
|
return localVarFp.listSdtfs(sessionId, namespace, offset, options).then((request) => request(axios, basePath));
|
|
13153
13197
|
},
|
|
13154
13198
|
/**
|
|
13155
|
-
* Permissions:
|
|
13199
|
+
* Permissions: * `asset.sdtf.create.*` - __required__.
|
|
13156
13200
|
* @summary Request upload URL for a sdTF-asset.
|
|
13157
13201
|
* @param {string} sessionId Session ID.
|
|
13158
13202
|
* @param {Array<ReqSdtfDefinition>} reqSdtfDefinition
|
|
@@ -13173,7 +13217,7 @@ export const SdtfApiFactory = function (configuration?: Configuration, basePath?
|
|
|
13173
13217
|
*/
|
|
13174
13218
|
export class SdtfApi extends BaseAPI {
|
|
13175
13219
|
/**
|
|
13176
|
-
* Permissions:
|
|
13220
|
+
* Permissions: * `asset.sdtf.delete.*` - __required__.
|
|
13177
13221
|
* @summary Delete a sdTF-assets.
|
|
13178
13222
|
* @param {string} sessionId Session ID.
|
|
13179
13223
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13187,7 +13231,7 @@ export class SdtfApi extends BaseAPI {
|
|
|
13187
13231
|
}
|
|
13188
13232
|
|
|
13189
13233
|
/**
|
|
13190
|
-
* Permissions:
|
|
13234
|
+
* Permissions: * `asset.sdtf.get.*` - __required__.
|
|
13191
13235
|
* @summary Download a sdTF-asset.
|
|
13192
13236
|
* @param {string} sessionId Session ID.
|
|
13193
13237
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13201,7 +13245,7 @@ export class SdtfApi extends BaseAPI {
|
|
|
13201
13245
|
}
|
|
13202
13246
|
|
|
13203
13247
|
/**
|
|
13204
|
-
* Permissions:
|
|
13248
|
+
* Permissions: * `asset.sdtf.list.*` - __required__.
|
|
13205
13249
|
* @summary List all sdTF-assets of a namespace.
|
|
13206
13250
|
* @param {string} sessionId Session ID.
|
|
13207
13251
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13215,7 +13259,7 @@ export class SdtfApi extends BaseAPI {
|
|
|
13215
13259
|
}
|
|
13216
13260
|
|
|
13217
13261
|
/**
|
|
13218
|
-
* Permissions:
|
|
13262
|
+
* Permissions: * `asset.sdtf.create.*` - __required__.
|
|
13219
13263
|
* @summary Request upload URL for a sdTF-asset.
|
|
13220
13264
|
* @param {string} sessionId Session ID.
|
|
13221
13265
|
* @param {Array<ReqSdtfDefinition>} reqSdtfDefinition
|
|
@@ -13275,16 +13319,17 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13275
13319
|
};
|
|
13276
13320
|
},
|
|
13277
13321
|
/**
|
|
13278
|
-
* Permissions:
|
|
13322
|
+
* Permissions: * `auth.session` - __required__. * `get.parameter.*` - optional: adds _parameters_ to response. * Output: * If body contains a computation request: `compute.output.*` - __required__. * If no computation request: `compute.output.*` - optional: adds _output for default parameter_ to response. * otherwise tries: `get.output.*` - optional: adds _output definitions_ to response. * Export: * Body contains an export request: `compute.export.*` - __required__. * No export request: `get.export.*` - optional: adds _export definitions_ to response.
|
|
13279
13323
|
* @summary Initialize new session by model ID.
|
|
13280
13324
|
* @param {string} modelId Model ID.
|
|
13281
13325
|
* @param {string} [modelStateId] ID of the Model-State to apply.
|
|
13326
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
13282
13327
|
* @param {boolean} [strictValidation] When `false`, any Model-State parameter that cannot be applied to the model is ignored. However, when set to `true`, any validation error will result in an error response. Defaults to `false`.
|
|
13283
13328
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13284
13329
|
* @param {*} [options] Override http request option.
|
|
13285
13330
|
* @throws {RequiredError}
|
|
13286
13331
|
*/
|
|
13287
|
-
createSessionByModel: async (modelId: string, modelStateId?: string, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13332
|
+
createSessionByModel: async (modelId: string, modelStateId?: string, ignoreUnknownParams?: boolean, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13288
13333
|
// verify required parameter 'modelId' is not null or undefined
|
|
13289
13334
|
assertParamExists('createSessionByModel', 'modelId', modelId)
|
|
13290
13335
|
const localVarPath = `/api/v2/model/{modelId}/session`
|
|
@@ -13308,6 +13353,10 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13308
13353
|
localVarQueryParameter['modelStateId'] = modelStateId;
|
|
13309
13354
|
}
|
|
13310
13355
|
|
|
13356
|
+
if (ignoreUnknownParams !== undefined) {
|
|
13357
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
13358
|
+
}
|
|
13359
|
+
|
|
13311
13360
|
if (strictValidation !== undefined) {
|
|
13312
13361
|
localVarQueryParameter['strictValidation'] = strictValidation;
|
|
13313
13362
|
}
|
|
@@ -13327,16 +13376,17 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13327
13376
|
};
|
|
13328
13377
|
},
|
|
13329
13378
|
/**
|
|
13330
|
-
* Permissions:
|
|
13379
|
+
* Permissions: * `get.parameter.*` - optional: adds _parameters_ to response. * Output: * If body contains a computation request: `compute.output.*` - __required__. * If no computation request: `compute.output.*` - optional: adds _output for default parameter_ to response. * otherwise tries: `get.output.*` - optional: adds _output definitions_ to response. * Export: * Body contains an export request: `compute.export.*` - __required__. * No export request: `get.export.*` - optional: adds _export definitions_ to response.
|
|
13331
13380
|
* @summary Initialize new session by ticket.
|
|
13332
13381
|
* @param {string} ticketId Encrypted ticket.
|
|
13333
13382
|
* @param {string} [modelStateId] ID of the Model-State to apply.
|
|
13383
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
13334
13384
|
* @param {boolean} [strictValidation] When `false`, any Model-State parameter that cannot be applied to the model is ignored. However, when set to `true`, any validation error will result in an error response. Defaults to `false`.
|
|
13335
13385
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13336
13386
|
* @param {*} [options] Override http request option.
|
|
13337
13387
|
* @throws {RequiredError}
|
|
13338
13388
|
*/
|
|
13339
|
-
createSessionByTicket: async (ticketId: string, modelStateId?: string, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13389
|
+
createSessionByTicket: async (ticketId: string, modelStateId?: string, ignoreUnknownParams?: boolean, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13340
13390
|
// verify required parameter 'ticketId' is not null or undefined
|
|
13341
13391
|
assertParamExists('createSessionByTicket', 'ticketId', ticketId)
|
|
13342
13392
|
const localVarPath = `/api/v2/ticket/{ticketId}`
|
|
@@ -13356,6 +13406,10 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13356
13406
|
localVarQueryParameter['modelStateId'] = modelStateId;
|
|
13357
13407
|
}
|
|
13358
13408
|
|
|
13409
|
+
if (ignoreUnknownParams !== undefined) {
|
|
13410
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
13411
|
+
}
|
|
13412
|
+
|
|
13359
13413
|
if (strictValidation !== undefined) {
|
|
13360
13414
|
localVarQueryParameter['strictValidation'] = strictValidation;
|
|
13361
13415
|
}
|
|
@@ -13375,7 +13429,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13375
13429
|
};
|
|
13376
13430
|
},
|
|
13377
13431
|
/**
|
|
13378
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
13432
|
+
* Subject-Restriction: __backend__. Permissions: * `setting.auth.ticket.create.*` - __required__. * `setting.auth.ticket.get.*` - optional: adds _settings.auth.ticket_ to response. * `setting.auth.token.get.*` - optional: adds _settings.auth.token_ to response. * `setting.compute.get.*` - optional: adds _settings.compute_ to response. * `file.upload` - optional: adds _file.upload_ to response. * `file.download` - optional: adds _file.download_ to response. * `get.statistic.*` - optional: adds _statistic_ to response.
|
|
13379
13433
|
* @summary Create a new ticket that allows to initialize a new session.
|
|
13380
13434
|
* @param {string} modelId Model ID.
|
|
13381
13435
|
* @param {ReqTicket} reqTicket
|
|
@@ -13419,7 +13473,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13419
13473
|
};
|
|
13420
13474
|
},
|
|
13421
13475
|
/**
|
|
13422
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
13476
|
+
* Subject-Restriction: __backend__. Permissions: * `setting.auth.ticket.decrypt.*` - __required__.
|
|
13423
13477
|
* @summary Decrypt the given ticket and return its details.
|
|
13424
13478
|
* @param {string} ticketEncrypted Encrypted ShapeDiver ticket.
|
|
13425
13479
|
* @param {*} [options] Override http request option.
|
|
@@ -13457,7 +13511,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13457
13511
|
};
|
|
13458
13512
|
},
|
|
13459
13513
|
/**
|
|
13460
|
-
* Permissions:
|
|
13514
|
+
* Permissions: * `get.parameter.*` - optional: adds _parameter defaults_ to response. * `get.export.*` - optional: adds _export definitions_ to response. * `compute.output.*` - optional: adds _outputs for default parameters_ to response. * `get.output.*` - optional: adds _output definitions_ to response.
|
|
13461
13515
|
* @summary Get session defaults (corresponds to the content of the session initialization request).
|
|
13462
13516
|
* @param {string} sessionId Session ID.
|
|
13463
13517
|
* @param {*} [options] Override http request option.
|
|
@@ -13518,39 +13572,41 @@ export const SessionApiFp = function(configuration?: Configuration) {
|
|
|
13518
13572
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13519
13573
|
},
|
|
13520
13574
|
/**
|
|
13521
|
-
* Permissions:
|
|
13575
|
+
* Permissions: * `auth.session` - __required__. * `get.parameter.*` - optional: adds _parameters_ to response. * Output: * If body contains a computation request: `compute.output.*` - __required__. * If no computation request: `compute.output.*` - optional: adds _output for default parameter_ to response. * otherwise tries: `get.output.*` - optional: adds _output definitions_ to response. * Export: * Body contains an export request: `compute.export.*` - __required__. * No export request: `get.export.*` - optional: adds _export definitions_ to response.
|
|
13522
13576
|
* @summary Initialize new session by model ID.
|
|
13523
13577
|
* @param {string} modelId Model ID.
|
|
13524
13578
|
* @param {string} [modelStateId] ID of the Model-State to apply.
|
|
13579
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
13525
13580
|
* @param {boolean} [strictValidation] When `false`, any Model-State parameter that cannot be applied to the model is ignored. However, when set to `true`, any validation error will result in an error response. Defaults to `false`.
|
|
13526
13581
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13527
13582
|
* @param {*} [options] Override http request option.
|
|
13528
13583
|
* @throws {RequiredError}
|
|
13529
13584
|
*/
|
|
13530
|
-
async createSessionByModel(modelId: string, modelStateId?: string, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResCreateSessionByModel>> {
|
|
13531
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createSessionByModel(modelId, modelStateId, strictValidation, reqCustomizationOrExport, options);
|
|
13585
|
+
async createSessionByModel(modelId: string, modelStateId?: string, ignoreUnknownParams?: boolean, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResCreateSessionByModel>> {
|
|
13586
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSessionByModel(modelId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options);
|
|
13532
13587
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13533
13588
|
const localVarOperationServerBasePath = operationServerMap['SessionApi.createSessionByModel']?.[localVarOperationServerIndex]?.url;
|
|
13534
13589
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13535
13590
|
},
|
|
13536
13591
|
/**
|
|
13537
|
-
* Permissions:
|
|
13592
|
+
* Permissions: * `get.parameter.*` - optional: adds _parameters_ to response. * Output: * If body contains a computation request: `compute.output.*` - __required__. * If no computation request: `compute.output.*` - optional: adds _output for default parameter_ to response. * otherwise tries: `get.output.*` - optional: adds _output definitions_ to response. * Export: * Body contains an export request: `compute.export.*` - __required__. * No export request: `get.export.*` - optional: adds _export definitions_ to response.
|
|
13538
13593
|
* @summary Initialize new session by ticket.
|
|
13539
13594
|
* @param {string} ticketId Encrypted ticket.
|
|
13540
13595
|
* @param {string} [modelStateId] ID of the Model-State to apply.
|
|
13596
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
13541
13597
|
* @param {boolean} [strictValidation] When `false`, any Model-State parameter that cannot be applied to the model is ignored. However, when set to `true`, any validation error will result in an error response. Defaults to `false`.
|
|
13542
13598
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13543
13599
|
* @param {*} [options] Override http request option.
|
|
13544
13600
|
* @throws {RequiredError}
|
|
13545
13601
|
*/
|
|
13546
|
-
async createSessionByTicket(ticketId: string, modelStateId?: string, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResCreateSessionByTicket>> {
|
|
13547
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createSessionByTicket(ticketId, modelStateId, strictValidation, reqCustomizationOrExport, options);
|
|
13602
|
+
async createSessionByTicket(ticketId: string, modelStateId?: string, ignoreUnknownParams?: boolean, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResCreateSessionByTicket>> {
|
|
13603
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSessionByTicket(ticketId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options);
|
|
13548
13604
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13549
13605
|
const localVarOperationServerBasePath = operationServerMap['SessionApi.createSessionByTicket']?.[localVarOperationServerIndex]?.url;
|
|
13550
13606
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13551
13607
|
},
|
|
13552
13608
|
/**
|
|
13553
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
13609
|
+
* Subject-Restriction: __backend__. Permissions: * `setting.auth.ticket.create.*` - __required__. * `setting.auth.ticket.get.*` - optional: adds _settings.auth.ticket_ to response. * `setting.auth.token.get.*` - optional: adds _settings.auth.token_ to response. * `setting.compute.get.*` - optional: adds _settings.compute_ to response. * `file.upload` - optional: adds _file.upload_ to response. * `file.download` - optional: adds _file.download_ to response. * `get.statistic.*` - optional: adds _statistic_ to response.
|
|
13554
13610
|
* @summary Create a new ticket that allows to initialize a new session.
|
|
13555
13611
|
* @param {string} modelId Model ID.
|
|
13556
13612
|
* @param {ReqTicket} reqTicket
|
|
@@ -13564,7 +13620,7 @@ export const SessionApiFp = function(configuration?: Configuration) {
|
|
|
13564
13620
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13565
13621
|
},
|
|
13566
13622
|
/**
|
|
13567
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
13623
|
+
* Subject-Restriction: __backend__. Permissions: * `setting.auth.ticket.decrypt.*` - __required__.
|
|
13568
13624
|
* @summary Decrypt the given ticket and return its details.
|
|
13569
13625
|
* @param {string} ticketEncrypted Encrypted ShapeDiver ticket.
|
|
13570
13626
|
* @param {*} [options] Override http request option.
|
|
@@ -13577,7 +13633,7 @@ export const SessionApiFp = function(configuration?: Configuration) {
|
|
|
13577
13633
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13578
13634
|
},
|
|
13579
13635
|
/**
|
|
13580
|
-
* Permissions:
|
|
13636
|
+
* Permissions: * `get.parameter.*` - optional: adds _parameter defaults_ to response. * `get.export.*` - optional: adds _export definitions_ to response. * `compute.output.*` - optional: adds _outputs for default parameters_ to response. * `get.output.*` - optional: adds _output definitions_ to response.
|
|
13581
13637
|
* @summary Get session defaults (corresponds to the content of the session initialization request).
|
|
13582
13638
|
* @param {string} sessionId Session ID.
|
|
13583
13639
|
* @param {*} [options] Override http request option.
|
|
@@ -13610,33 +13666,35 @@ export const SessionApiFactory = function (configuration?: Configuration, basePa
|
|
|
13610
13666
|
return localVarFp.closeSession(sessionId, options).then((request) => request(axios, basePath));
|
|
13611
13667
|
},
|
|
13612
13668
|
/**
|
|
13613
|
-
* Permissions:
|
|
13669
|
+
* Permissions: * `auth.session` - __required__. * `get.parameter.*` - optional: adds _parameters_ to response. * Output: * If body contains a computation request: `compute.output.*` - __required__. * If no computation request: `compute.output.*` - optional: adds _output for default parameter_ to response. * otherwise tries: `get.output.*` - optional: adds _output definitions_ to response. * Export: * Body contains an export request: `compute.export.*` - __required__. * No export request: `get.export.*` - optional: adds _export definitions_ to response.
|
|
13614
13670
|
* @summary Initialize new session by model ID.
|
|
13615
13671
|
* @param {string} modelId Model ID.
|
|
13616
13672
|
* @param {string} [modelStateId] ID of the Model-State to apply.
|
|
13673
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
13617
13674
|
* @param {boolean} [strictValidation] When `false`, any Model-State parameter that cannot be applied to the model is ignored. However, when set to `true`, any validation error will result in an error response. Defaults to `false`.
|
|
13618
13675
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13619
13676
|
* @param {*} [options] Override http request option.
|
|
13620
13677
|
* @throws {RequiredError}
|
|
13621
13678
|
*/
|
|
13622
|
-
createSessionByModel(modelId: string, modelStateId?: string, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig): AxiosPromise<ResCreateSessionByModel> {
|
|
13623
|
-
return localVarFp.createSessionByModel(modelId, modelStateId, strictValidation, reqCustomizationOrExport, options).then((request) => request(axios, basePath));
|
|
13679
|
+
createSessionByModel(modelId: string, modelStateId?: string, ignoreUnknownParams?: boolean, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig): AxiosPromise<ResCreateSessionByModel> {
|
|
13680
|
+
return localVarFp.createSessionByModel(modelId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options).then((request) => request(axios, basePath));
|
|
13624
13681
|
},
|
|
13625
13682
|
/**
|
|
13626
|
-
* Permissions:
|
|
13683
|
+
* Permissions: * `get.parameter.*` - optional: adds _parameters_ to response. * Output: * If body contains a computation request: `compute.output.*` - __required__. * If no computation request: `compute.output.*` - optional: adds _output for default parameter_ to response. * otherwise tries: `get.output.*` - optional: adds _output definitions_ to response. * Export: * Body contains an export request: `compute.export.*` - __required__. * No export request: `get.export.*` - optional: adds _export definitions_ to response.
|
|
13627
13684
|
* @summary Initialize new session by ticket.
|
|
13628
13685
|
* @param {string} ticketId Encrypted ticket.
|
|
13629
13686
|
* @param {string} [modelStateId] ID of the Model-State to apply.
|
|
13687
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
13630
13688
|
* @param {boolean} [strictValidation] When `false`, any Model-State parameter that cannot be applied to the model is ignored. However, when set to `true`, any validation error will result in an error response. Defaults to `false`.
|
|
13631
13689
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13632
13690
|
* @param {*} [options] Override http request option.
|
|
13633
13691
|
* @throws {RequiredError}
|
|
13634
13692
|
*/
|
|
13635
|
-
createSessionByTicket(ticketId: string, modelStateId?: string, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig): AxiosPromise<ResCreateSessionByTicket> {
|
|
13636
|
-
return localVarFp.createSessionByTicket(ticketId, modelStateId, strictValidation, reqCustomizationOrExport, options).then((request) => request(axios, basePath));
|
|
13693
|
+
createSessionByTicket(ticketId: string, modelStateId?: string, ignoreUnknownParams?: boolean, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig): AxiosPromise<ResCreateSessionByTicket> {
|
|
13694
|
+
return localVarFp.createSessionByTicket(ticketId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options).then((request) => request(axios, basePath));
|
|
13637
13695
|
},
|
|
13638
13696
|
/**
|
|
13639
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
13697
|
+
* Subject-Restriction: __backend__. Permissions: * `setting.auth.ticket.create.*` - __required__. * `setting.auth.ticket.get.*` - optional: adds _settings.auth.ticket_ to response. * `setting.auth.token.get.*` - optional: adds _settings.auth.token_ to response. * `setting.compute.get.*` - optional: adds _settings.compute_ to response. * `file.upload` - optional: adds _file.upload_ to response. * `file.download` - optional: adds _file.download_ to response. * `get.statistic.*` - optional: adds _statistic_ to response.
|
|
13640
13698
|
* @summary Create a new ticket that allows to initialize a new session.
|
|
13641
13699
|
* @param {string} modelId Model ID.
|
|
13642
13700
|
* @param {ReqTicket} reqTicket
|
|
@@ -13647,7 +13705,7 @@ export const SessionApiFactory = function (configuration?: Configuration, basePa
|
|
|
13647
13705
|
return localVarFp.createTicket(modelId, reqTicket, options).then((request) => request(axios, basePath));
|
|
13648
13706
|
},
|
|
13649
13707
|
/**
|
|
13650
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
13708
|
+
* Subject-Restriction: __backend__. Permissions: * `setting.auth.ticket.decrypt.*` - __required__.
|
|
13651
13709
|
* @summary Decrypt the given ticket and return its details.
|
|
13652
13710
|
* @param {string} ticketEncrypted Encrypted ShapeDiver ticket.
|
|
13653
13711
|
* @param {*} [options] Override http request option.
|
|
@@ -13657,7 +13715,7 @@ export const SessionApiFactory = function (configuration?: Configuration, basePa
|
|
|
13657
13715
|
return localVarFp.decryptTicket(ticketEncrypted, options).then((request) => request(axios, basePath));
|
|
13658
13716
|
},
|
|
13659
13717
|
/**
|
|
13660
|
-
* Permissions:
|
|
13718
|
+
* Permissions: * `get.parameter.*` - optional: adds _parameter defaults_ to response. * `get.export.*` - optional: adds _export definitions_ to response. * `compute.output.*` - optional: adds _outputs for default parameters_ to response. * `get.output.*` - optional: adds _output definitions_ to response.
|
|
13661
13719
|
* @summary Get session defaults (corresponds to the content of the session initialization request).
|
|
13662
13720
|
* @param {string} sessionId Session ID.
|
|
13663
13721
|
* @param {*} [options] Override http request option.
|
|
@@ -13689,37 +13747,39 @@ export class SessionApi extends BaseAPI {
|
|
|
13689
13747
|
}
|
|
13690
13748
|
|
|
13691
13749
|
/**
|
|
13692
|
-
* Permissions:
|
|
13750
|
+
* Permissions: * `auth.session` - __required__. * `get.parameter.*` - optional: adds _parameters_ to response. * Output: * If body contains a computation request: `compute.output.*` - __required__. * If no computation request: `compute.output.*` - optional: adds _output for default parameter_ to response. * otherwise tries: `get.output.*` - optional: adds _output definitions_ to response. * Export: * Body contains an export request: `compute.export.*` - __required__. * No export request: `get.export.*` - optional: adds _export definitions_ to response.
|
|
13693
13751
|
* @summary Initialize new session by model ID.
|
|
13694
13752
|
* @param {string} modelId Model ID.
|
|
13695
13753
|
* @param {string} [modelStateId] ID of the Model-State to apply.
|
|
13754
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
13696
13755
|
* @param {boolean} [strictValidation] When `false`, any Model-State parameter that cannot be applied to the model is ignored. However, when set to `true`, any validation error will result in an error response. Defaults to `false`.
|
|
13697
13756
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13698
13757
|
* @param {*} [options] Override http request option.
|
|
13699
13758
|
* @throws {RequiredError}
|
|
13700
13759
|
* @memberof SessionApi
|
|
13701
13760
|
*/
|
|
13702
|
-
public createSessionByModel(modelId: string, modelStateId?: string, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig) {
|
|
13703
|
-
return SessionApiFp(this.configuration).createSessionByModel(modelId, modelStateId, strictValidation, reqCustomizationOrExport, options).then((request) => request(this.axios, this.basePath));
|
|
13761
|
+
public createSessionByModel(modelId: string, modelStateId?: string, ignoreUnknownParams?: boolean, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig) {
|
|
13762
|
+
return SessionApiFp(this.configuration).createSessionByModel(modelId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options).then((request) => request(this.axios, this.basePath));
|
|
13704
13763
|
}
|
|
13705
13764
|
|
|
13706
13765
|
/**
|
|
13707
|
-
* Permissions:
|
|
13766
|
+
* Permissions: * `get.parameter.*` - optional: adds _parameters_ to response. * Output: * If body contains a computation request: `compute.output.*` - __required__. * If no computation request: `compute.output.*` - optional: adds _output for default parameter_ to response. * otherwise tries: `get.output.*` - optional: adds _output definitions_ to response. * Export: * Body contains an export request: `compute.export.*` - __required__. * No export request: `get.export.*` - optional: adds _export definitions_ to response.
|
|
13708
13767
|
* @summary Initialize new session by ticket.
|
|
13709
13768
|
* @param {string} ticketId Encrypted ticket.
|
|
13710
13769
|
* @param {string} [modelStateId] ID of the Model-State to apply.
|
|
13770
|
+
* @param {boolean} [ignoreUnknownParams] Allow relaxed validation of parameter identifiers. When set to `true`, unrecognized parameters will be ignored rather than causing an error. Defaults to `false`.
|
|
13711
13771
|
* @param {boolean} [strictValidation] When `false`, any Model-State parameter that cannot be applied to the model is ignored. However, when set to `true`, any validation error will result in an error response. Defaults to `false`.
|
|
13712
13772
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13713
13773
|
* @param {*} [options] Override http request option.
|
|
13714
13774
|
* @throws {RequiredError}
|
|
13715
13775
|
* @memberof SessionApi
|
|
13716
13776
|
*/
|
|
13717
|
-
public createSessionByTicket(ticketId: string, modelStateId?: string, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig) {
|
|
13718
|
-
return SessionApiFp(this.configuration).createSessionByTicket(ticketId, modelStateId, strictValidation, reqCustomizationOrExport, options).then((request) => request(this.axios, this.basePath));
|
|
13777
|
+
public createSessionByTicket(ticketId: string, modelStateId?: string, ignoreUnknownParams?: boolean, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig) {
|
|
13778
|
+
return SessionApiFp(this.configuration).createSessionByTicket(ticketId, modelStateId, ignoreUnknownParams, strictValidation, reqCustomizationOrExport, options).then((request) => request(this.axios, this.basePath));
|
|
13719
13779
|
}
|
|
13720
13780
|
|
|
13721
13781
|
/**
|
|
13722
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
13782
|
+
* Subject-Restriction: __backend__. Permissions: * `setting.auth.ticket.create.*` - __required__. * `setting.auth.ticket.get.*` - optional: adds _settings.auth.ticket_ to response. * `setting.auth.token.get.*` - optional: adds _settings.auth.token_ to response. * `setting.compute.get.*` - optional: adds _settings.compute_ to response. * `file.upload` - optional: adds _file.upload_ to response. * `file.download` - optional: adds _file.download_ to response. * `get.statistic.*` - optional: adds _statistic_ to response.
|
|
13723
13783
|
* @summary Create a new ticket that allows to initialize a new session.
|
|
13724
13784
|
* @param {string} modelId Model ID.
|
|
13725
13785
|
* @param {ReqTicket} reqTicket
|
|
@@ -13732,7 +13792,7 @@ export class SessionApi extends BaseAPI {
|
|
|
13732
13792
|
}
|
|
13733
13793
|
|
|
13734
13794
|
/**
|
|
13735
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
13795
|
+
* Subject-Restriction: __backend__. Permissions: * `setting.auth.ticket.decrypt.*` - __required__.
|
|
13736
13796
|
* @summary Decrypt the given ticket and return its details.
|
|
13737
13797
|
* @param {string} ticketEncrypted Encrypted ShapeDiver ticket.
|
|
13738
13798
|
* @param {*} [options] Override http request option.
|
|
@@ -13744,7 +13804,7 @@ export class SessionApi extends BaseAPI {
|
|
|
13744
13804
|
}
|
|
13745
13805
|
|
|
13746
13806
|
/**
|
|
13747
|
-
* Permissions:
|
|
13807
|
+
* Permissions: * `get.parameter.*` - optional: adds _parameter defaults_ to response. * `get.export.*` - optional: adds _export definitions_ to response. * `compute.output.*` - optional: adds _outputs for default parameters_ to response. * `get.output.*` - optional: adds _output definitions_ to response.
|
|
13748
13808
|
* @summary Get session defaults (corresponds to the content of the session initialization request).
|
|
13749
13809
|
* @param {string} sessionId Session ID.
|
|
13750
13810
|
* @param {*} [options] Override http request option.
|
|
@@ -13807,7 +13867,7 @@ export const SystemApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13807
13867
|
};
|
|
13808
13868
|
},
|
|
13809
13869
|
/**
|
|
13810
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
13870
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.hard` - __required__.
|
|
13811
13871
|
* @summary Delete model permanently.
|
|
13812
13872
|
* @param {string} modelId Model ID.
|
|
13813
13873
|
* @param {*} [options] Override http request option.
|
|
@@ -13945,7 +14005,7 @@ export const SystemApiFp = function(configuration?: Configuration) {
|
|
|
13945
14005
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13946
14006
|
},
|
|
13947
14007
|
/**
|
|
13948
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
14008
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.hard` - __required__.
|
|
13949
14009
|
* @summary Delete model permanently.
|
|
13950
14010
|
* @param {string} modelId Model ID.
|
|
13951
14011
|
* @param {*} [options] Override http request option.
|
|
@@ -14003,7 +14063,7 @@ export const SystemApiFactory = function (configuration?: Configuration, basePat
|
|
|
14003
14063
|
return localVarFp.createSignedUrl(endpoint, encodedUri, options).then((request) => request(axios, basePath));
|
|
14004
14064
|
},
|
|
14005
14065
|
/**
|
|
14006
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
14066
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.hard` - __required__.
|
|
14007
14067
|
* @summary Delete model permanently.
|
|
14008
14068
|
* @param {string} modelId Model ID.
|
|
14009
14069
|
* @param {*} [options] Override http request option.
|
|
@@ -14054,7 +14114,7 @@ export class SystemApi extends BaseAPI {
|
|
|
14054
14114
|
}
|
|
14055
14115
|
|
|
14056
14116
|
/**
|
|
14057
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
14117
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.hard` - __required__.
|
|
14058
14118
|
* @summary Delete model permanently.
|
|
14059
14119
|
* @param {string} modelId Model ID.
|
|
14060
14120
|
* @param {*} [options] Override http request option.
|
|
@@ -14097,7 +14157,7 @@ export class SystemApi extends BaseAPI {
|
|
|
14097
14157
|
export const TextureApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
14098
14158
|
return {
|
|
14099
14159
|
/**
|
|
14100
|
-
* Permissions:
|
|
14160
|
+
* Permissions: * `cache.texture.list.*` - __required__.
|
|
14101
14161
|
* @summary List model textures.
|
|
14102
14162
|
* @param {string} sessionId Session ID.
|
|
14103
14163
|
* @param {string} [offset] Continuation token for pagination.
|
|
@@ -14150,7 +14210,7 @@ export const TextureApiFp = function(configuration?: Configuration) {
|
|
|
14150
14210
|
const localVarAxiosParamCreator = TextureApiAxiosParamCreator(configuration)
|
|
14151
14211
|
return {
|
|
14152
14212
|
/**
|
|
14153
|
-
* Permissions:
|
|
14213
|
+
* Permissions: * `cache.texture.list.*` - __required__.
|
|
14154
14214
|
* @summary List model textures.
|
|
14155
14215
|
* @param {string} sessionId Session ID.
|
|
14156
14216
|
* @param {string} [offset] Continuation token for pagination.
|
|
@@ -14174,7 +14234,7 @@ export const TextureApiFactory = function (configuration?: Configuration, basePa
|
|
|
14174
14234
|
const localVarFp = TextureApiFp(configuration)
|
|
14175
14235
|
return {
|
|
14176
14236
|
/**
|
|
14177
|
-
* Permissions:
|
|
14237
|
+
* Permissions: * `cache.texture.list.*` - __required__.
|
|
14178
14238
|
* @summary List model textures.
|
|
14179
14239
|
* @param {string} sessionId Session ID.
|
|
14180
14240
|
* @param {string} [offset] Continuation token for pagination.
|
|
@@ -14195,7 +14255,7 @@ export const TextureApiFactory = function (configuration?: Configuration, basePa
|
|
|
14195
14255
|
*/
|
|
14196
14256
|
export class TextureApi extends BaseAPI {
|
|
14197
14257
|
/**
|
|
14198
|
-
* Permissions:
|
|
14258
|
+
* Permissions: * `cache.texture.list.*` - __required__.
|
|
14199
14259
|
* @summary List model textures.
|
|
14200
14260
|
* @param {string} sessionId Session ID.
|
|
14201
14261
|
* @param {string} [offset] Continuation token for pagination.
|