@shapediver/sdk.geometry-api-sdk-v2 2.4.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 +25 -24
- 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 +278 -224
- 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).
|
|
@@ -783,11 +783,17 @@ 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}
|
|
@@ -7576,7 +7582,7 @@ export interface ResWorkerSystem {
|
|
|
7576
7582
|
export const AnalyticsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
7577
7583
|
return {
|
|
7578
7584
|
/**
|
|
7579
|
-
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions:
|
|
7585
|
+
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions: * `analytics.model.get.*` - __required__.
|
|
7580
7586
|
* @summary Get credit metrics.
|
|
7581
7587
|
* @param {ReqCreditMetrics} reqCreditMetrics
|
|
7582
7588
|
* @param {*} [options] Override http request option.
|
|
@@ -7616,7 +7622,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7616
7622
|
};
|
|
7617
7623
|
},
|
|
7618
7624
|
/**
|
|
7619
|
-
* Permissions:
|
|
7625
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7620
7626
|
* @summary Get model credit metrics of the organization at timestamp.
|
|
7621
7627
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7622
7628
|
* @param {string} orgId ID of the organization.
|
|
@@ -7658,7 +7664,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7658
7664
|
};
|
|
7659
7665
|
},
|
|
7660
7666
|
/**
|
|
7661
|
-
* Permissions:
|
|
7667
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7662
7668
|
* @summary Get model session analytics.
|
|
7663
7669
|
* @param {ReqModelStatistics} reqModelStatistics
|
|
7664
7670
|
* @param {*} [options] Override http request option.
|
|
@@ -7698,7 +7704,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7698
7704
|
};
|
|
7699
7705
|
},
|
|
7700
7706
|
/**
|
|
7701
|
-
* Permissions:
|
|
7707
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7702
7708
|
* @summary Get model credit metrics of the user at timestamp.
|
|
7703
7709
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7704
7710
|
* @param {string} userId ID of the user.
|
|
@@ -7740,7 +7746,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7740
7746
|
};
|
|
7741
7747
|
},
|
|
7742
7748
|
/**
|
|
7743
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
7749
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
7744
7750
|
* @summary Get credit metrics of all organizations with users active at timestamp.
|
|
7745
7751
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7746
7752
|
* @param {*} [options] Override http request option.
|
|
@@ -7778,7 +7784,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7778
7784
|
};
|
|
7779
7785
|
},
|
|
7780
7786
|
/**
|
|
7781
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
7787
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
7782
7788
|
* @summary Get credit metrics of all users active at timestamp.
|
|
7783
7789
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7784
7790
|
* @param {*} [options] Override http request option.
|
|
@@ -7826,7 +7832,7 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
7826
7832
|
const localVarAxiosParamCreator = AnalyticsApiAxiosParamCreator(configuration)
|
|
7827
7833
|
return {
|
|
7828
7834
|
/**
|
|
7829
|
-
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions:
|
|
7835
|
+
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions: * `analytics.model.get.*` - __required__.
|
|
7830
7836
|
* @summary Get credit metrics.
|
|
7831
7837
|
* @param {ReqCreditMetrics} reqCreditMetrics
|
|
7832
7838
|
* @param {*} [options] Override http request option.
|
|
@@ -7839,7 +7845,7 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
7839
7845
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7840
7846
|
},
|
|
7841
7847
|
/**
|
|
7842
|
-
* Permissions:
|
|
7848
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7843
7849
|
* @summary Get model credit metrics of the organization at timestamp.
|
|
7844
7850
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7845
7851
|
* @param {string} orgId ID of the organization.
|
|
@@ -7853,7 +7859,7 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
7853
7859
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7854
7860
|
},
|
|
7855
7861
|
/**
|
|
7856
|
-
* Permissions:
|
|
7862
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7857
7863
|
* @summary Get model session analytics.
|
|
7858
7864
|
* @param {ReqModelStatistics} reqModelStatistics
|
|
7859
7865
|
* @param {*} [options] Override http request option.
|
|
@@ -7866,7 +7872,7 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
7866
7872
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7867
7873
|
},
|
|
7868
7874
|
/**
|
|
7869
|
-
* Permissions:
|
|
7875
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7870
7876
|
* @summary Get model credit metrics of the user at timestamp.
|
|
7871
7877
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7872
7878
|
* @param {string} userId ID of the user.
|
|
@@ -7880,7 +7886,7 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
7880
7886
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7881
7887
|
},
|
|
7882
7888
|
/**
|
|
7883
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
7889
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
7884
7890
|
* @summary Get credit metrics of all organizations with users active at timestamp.
|
|
7885
7891
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7886
7892
|
* @param {*} [options] Override http request option.
|
|
@@ -7893,7 +7899,7 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
|
|
|
7893
7899
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7894
7900
|
},
|
|
7895
7901
|
/**
|
|
7896
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
7902
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
7897
7903
|
* @summary Get credit metrics of all users active at timestamp.
|
|
7898
7904
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7899
7905
|
* @param {*} [options] Override http request option.
|
|
@@ -7916,7 +7922,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
7916
7922
|
const localVarFp = AnalyticsApiFp(configuration)
|
|
7917
7923
|
return {
|
|
7918
7924
|
/**
|
|
7919
|
-
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions:
|
|
7925
|
+
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions: * `analytics.model.get.*` - __required__.
|
|
7920
7926
|
* @summary Get credit metrics.
|
|
7921
7927
|
* @param {ReqCreditMetrics} reqCreditMetrics
|
|
7922
7928
|
* @param {*} [options] Override http request option.
|
|
@@ -7926,7 +7932,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
7926
7932
|
return localVarFp.getCreditMetrics(reqCreditMetrics, options).then((request) => request(axios, basePath));
|
|
7927
7933
|
},
|
|
7928
7934
|
/**
|
|
7929
|
-
* Permissions:
|
|
7935
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7930
7936
|
* @summary Get model credit metrics of the organization at timestamp.
|
|
7931
7937
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7932
7938
|
* @param {string} orgId ID of the organization.
|
|
@@ -7937,7 +7943,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
7937
7943
|
return localVarFp.getModelOrganizationCreditMetrics(timestamp, orgId, options).then((request) => request(axios, basePath));
|
|
7938
7944
|
},
|
|
7939
7945
|
/**
|
|
7940
|
-
* Permissions:
|
|
7946
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7941
7947
|
* @summary Get model session analytics.
|
|
7942
7948
|
* @param {ReqModelStatistics} reqModelStatistics
|
|
7943
7949
|
* @param {*} [options] Override http request option.
|
|
@@ -7947,7 +7953,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
7947
7953
|
return localVarFp.getModelStatistics(reqModelStatistics, options).then((request) => request(axios, basePath));
|
|
7948
7954
|
},
|
|
7949
7955
|
/**
|
|
7950
|
-
* Permissions:
|
|
7956
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
7951
7957
|
* @summary Get model credit metrics of the user at timestamp.
|
|
7952
7958
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7953
7959
|
* @param {string} userId ID of the user.
|
|
@@ -7958,7 +7964,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
7958
7964
|
return localVarFp.getModelUserCreditMetrics(timestamp, userId, options).then((request) => request(axios, basePath));
|
|
7959
7965
|
},
|
|
7960
7966
|
/**
|
|
7961
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
7967
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
7962
7968
|
* @summary Get credit metrics of all organizations with users active at timestamp.
|
|
7963
7969
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7964
7970
|
* @param {*} [options] Override http request option.
|
|
@@ -7968,7 +7974,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
7968
7974
|
return localVarFp.getOrganizationCreditMetrics(timestamp, options).then((request) => request(axios, basePath));
|
|
7969
7975
|
},
|
|
7970
7976
|
/**
|
|
7971
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
7977
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
7972
7978
|
* @summary Get credit metrics of all users active at timestamp.
|
|
7973
7979
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
7974
7980
|
* @param {*} [options] Override http request option.
|
|
@@ -7988,7 +7994,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
7988
7994
|
*/
|
|
7989
7995
|
export class AnalyticsApi extends BaseAPI {
|
|
7990
7996
|
/**
|
|
7991
|
-
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions:
|
|
7997
|
+
* Subject-Restriction: __backend__ - ONLY for _system-metrics_. Permissions: * `analytics.model.get.*` - __required__.
|
|
7992
7998
|
* @summary Get credit metrics.
|
|
7993
7999
|
* @param {ReqCreditMetrics} reqCreditMetrics
|
|
7994
8000
|
* @param {*} [options] Override http request option.
|
|
@@ -8000,7 +8006,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
8000
8006
|
}
|
|
8001
8007
|
|
|
8002
8008
|
/**
|
|
8003
|
-
* Permissions:
|
|
8009
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
8004
8010
|
* @summary Get model credit metrics of the organization at timestamp.
|
|
8005
8011
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
8006
8012
|
* @param {string} orgId ID of the organization.
|
|
@@ -8013,7 +8019,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
8013
8019
|
}
|
|
8014
8020
|
|
|
8015
8021
|
/**
|
|
8016
|
-
* Permissions:
|
|
8022
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
8017
8023
|
* @summary Get model session analytics.
|
|
8018
8024
|
* @param {ReqModelStatistics} reqModelStatistics
|
|
8019
8025
|
* @param {*} [options] Override http request option.
|
|
@@ -8025,7 +8031,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
8025
8031
|
}
|
|
8026
8032
|
|
|
8027
8033
|
/**
|
|
8028
|
-
* Permissions:
|
|
8034
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
8029
8035
|
* @summary Get model credit metrics of the user at timestamp.
|
|
8030
8036
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
8031
8037
|
* @param {string} userId ID of the user.
|
|
@@ -8038,7 +8044,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
8038
8044
|
}
|
|
8039
8045
|
|
|
8040
8046
|
/**
|
|
8041
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
8047
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
8042
8048
|
* @summary Get credit metrics of all organizations with users active at timestamp.
|
|
8043
8049
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
8044
8050
|
* @param {*} [options] Override http request option.
|
|
@@ -8050,7 +8056,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
8050
8056
|
}
|
|
8051
8057
|
|
|
8052
8058
|
/**
|
|
8053
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
8059
|
+
* Subject-Restriction: __backend__. Permissions: * `analytics.model.get.*` - __required__.
|
|
8054
8060
|
* @summary Get credit metrics of all users active at timestamp.
|
|
8055
8061
|
* @param {string} timestamp Timestamp of activity in format YYYY, YYYYMM, YYYYMMDD, or YYYYMMDDHH.
|
|
8056
8062
|
* @param {*} [options] Override http request option.
|
|
@@ -9009,7 +9015,7 @@ export class AuthApi extends BaseAPI {
|
|
|
9009
9015
|
export const AuthGroupApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9010
9016
|
return {
|
|
9011
9017
|
/**
|
|
9012
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
9018
|
+
* Subject-Restriction: __backend__. Permissions: * `auth_group.create` - __required__.
|
|
9013
9019
|
* @summary Create new authorization group.
|
|
9014
9020
|
* @param {ReqAuthorizationGroup} reqAuthorizationGroup
|
|
9015
9021
|
* @param {*} [options] Override http request option.
|
|
@@ -9059,7 +9065,7 @@ export const AuthGroupApiFp = function(configuration?: Configuration) {
|
|
|
9059
9065
|
const localVarAxiosParamCreator = AuthGroupApiAxiosParamCreator(configuration)
|
|
9060
9066
|
return {
|
|
9061
9067
|
/**
|
|
9062
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
9068
|
+
* Subject-Restriction: __backend__. Permissions: * `auth_group.create` - __required__.
|
|
9063
9069
|
* @summary Create new authorization group.
|
|
9064
9070
|
* @param {ReqAuthorizationGroup} reqAuthorizationGroup
|
|
9065
9071
|
* @param {*} [options] Override http request option.
|
|
@@ -9082,7 +9088,7 @@ export const AuthGroupApiFactory = function (configuration?: Configuration, base
|
|
|
9082
9088
|
const localVarFp = AuthGroupApiFp(configuration)
|
|
9083
9089
|
return {
|
|
9084
9090
|
/**
|
|
9085
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
9091
|
+
* Subject-Restriction: __backend__. Permissions: * `auth_group.create` - __required__.
|
|
9086
9092
|
* @summary Create new authorization group.
|
|
9087
9093
|
* @param {ReqAuthorizationGroup} reqAuthorizationGroup
|
|
9088
9094
|
* @param {*} [options] Override http request option.
|
|
@@ -9102,7 +9108,7 @@ export const AuthGroupApiFactory = function (configuration?: Configuration, base
|
|
|
9102
9108
|
*/
|
|
9103
9109
|
export class AuthGroupApi extends BaseAPI {
|
|
9104
9110
|
/**
|
|
9105
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
9111
|
+
* Subject-Restriction: __backend__. Permissions: * `auth_group.create` - __required__.
|
|
9106
9112
|
* @summary Create new authorization group.
|
|
9107
9113
|
* @param {ReqAuthorizationGroup} reqAuthorizationGroup
|
|
9108
9114
|
* @param {*} [options] Override http request option.
|
|
@@ -9123,14 +9129,15 @@ export class AuthGroupApi extends BaseAPI {
|
|
|
9123
9129
|
export const ExportApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9124
9130
|
return {
|
|
9125
9131
|
/**
|
|
9126
|
-
* Permissions:
|
|
9132
|
+
* Permissions: * `compute.export.*` - __required__. * `compute.output.*` - __required__ when _outputs_ are requested.
|
|
9127
9133
|
* @summary Compute a Grasshopper exports for given parameter values.
|
|
9128
9134
|
* @param {string} sessionId Session ID.
|
|
9129
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`.
|
|
9130
9137
|
* @param {*} [options] Override http request option.
|
|
9131
9138
|
* @throws {RequiredError}
|
|
9132
9139
|
*/
|
|
9133
|
-
computeExports: async (sessionId: string, reqExport: ReqExport, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9140
|
+
computeExports: async (sessionId: string, reqExport: ReqExport, ignoreUnknownParams?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9134
9141
|
// verify required parameter 'sessionId' is not null or undefined
|
|
9135
9142
|
assertParamExists('computeExports', 'sessionId', sessionId)
|
|
9136
9143
|
// verify required parameter 'reqExport' is not null or undefined
|
|
@@ -9152,6 +9159,10 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9152
9159
|
// http bearer authentication required
|
|
9153
9160
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9154
9161
|
|
|
9162
|
+
if (ignoreUnknownParams !== undefined) {
|
|
9163
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
9164
|
+
}
|
|
9165
|
+
|
|
9155
9166
|
|
|
9156
9167
|
|
|
9157
9168
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -9167,7 +9178,7 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9167
9178
|
};
|
|
9168
9179
|
},
|
|
9169
9180
|
/**
|
|
9170
|
-
* Permissions:
|
|
9181
|
+
* Permissions: * `cache.export.get.*` - __required__. * `cache.output.get.*` - __required__ when _outputs_ are requested.
|
|
9171
9182
|
* @summary Get Export from cache / check if computation is done.
|
|
9172
9183
|
* @param {string} sessionId Session ID.
|
|
9173
9184
|
* @param {ReqExportOrCache} reqExportOrCache
|
|
@@ -9211,7 +9222,7 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9211
9222
|
};
|
|
9212
9223
|
},
|
|
9213
9224
|
/**
|
|
9214
|
-
* Permissions:
|
|
9225
|
+
* Permissions: * `cache.export.list.*` - __required__.
|
|
9215
9226
|
* @summary List export versions.
|
|
9216
9227
|
* @param {string} sessionId Session ID.
|
|
9217
9228
|
* @param {string} exportId Export ID.
|
|
@@ -9268,7 +9279,7 @@ export const ExportApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9268
9279
|
};
|
|
9269
9280
|
},
|
|
9270
9281
|
/**
|
|
9271
|
-
* Permissions:
|
|
9282
|
+
* Permissions: * `set.export.ui` - __required__.
|
|
9272
9283
|
* @summary Update definition of exports.
|
|
9273
9284
|
* @param {string} modelId Model ID.
|
|
9274
9285
|
* @param {ReqExportDefinitions} reqExportDefinitions
|
|
@@ -9322,21 +9333,22 @@ export const ExportApiFp = function(configuration?: Configuration) {
|
|
|
9322
9333
|
const localVarAxiosParamCreator = ExportApiAxiosParamCreator(configuration)
|
|
9323
9334
|
return {
|
|
9324
9335
|
/**
|
|
9325
|
-
* Permissions:
|
|
9336
|
+
* Permissions: * `compute.export.*` - __required__. * `compute.output.*` - __required__ when _outputs_ are requested.
|
|
9326
9337
|
* @summary Compute a Grasshopper exports for given parameter values.
|
|
9327
9338
|
* @param {string} sessionId Session ID.
|
|
9328
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`.
|
|
9329
9341
|
* @param {*} [options] Override http request option.
|
|
9330
9342
|
* @throws {RequiredError}
|
|
9331
9343
|
*/
|
|
9332
|
-
async computeExports(sessionId: string, reqExport: ReqExport, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResComputeExports>> {
|
|
9333
|
-
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);
|
|
9334
9346
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9335
9347
|
const localVarOperationServerBasePath = operationServerMap['ExportApi.computeExports']?.[localVarOperationServerIndex]?.url;
|
|
9336
9348
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9337
9349
|
},
|
|
9338
9350
|
/**
|
|
9339
|
-
* Permissions:
|
|
9351
|
+
* Permissions: * `cache.export.get.*` - __required__. * `cache.output.get.*` - __required__ when _outputs_ are requested.
|
|
9340
9352
|
* @summary Get Export from cache / check if computation is done.
|
|
9341
9353
|
* @param {string} sessionId Session ID.
|
|
9342
9354
|
* @param {ReqExportOrCache} reqExportOrCache
|
|
@@ -9350,7 +9362,7 @@ export const ExportApiFp = function(configuration?: Configuration) {
|
|
|
9350
9362
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9351
9363
|
},
|
|
9352
9364
|
/**
|
|
9353
|
-
* Permissions:
|
|
9365
|
+
* Permissions: * `cache.export.list.*` - __required__.
|
|
9354
9366
|
* @summary List export versions.
|
|
9355
9367
|
* @param {string} sessionId Session ID.
|
|
9356
9368
|
* @param {string} exportId Export ID.
|
|
@@ -9367,7 +9379,7 @@ export const ExportApiFp = function(configuration?: Configuration) {
|
|
|
9367
9379
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9368
9380
|
},
|
|
9369
9381
|
/**
|
|
9370
|
-
* Permissions:
|
|
9382
|
+
* Permissions: * `set.export.ui` - __required__.
|
|
9371
9383
|
* @summary Update definition of exports.
|
|
9372
9384
|
* @param {string} modelId Model ID.
|
|
9373
9385
|
* @param {ReqExportDefinitions} reqExportDefinitions
|
|
@@ -9391,18 +9403,19 @@ export const ExportApiFactory = function (configuration?: Configuration, basePat
|
|
|
9391
9403
|
const localVarFp = ExportApiFp(configuration)
|
|
9392
9404
|
return {
|
|
9393
9405
|
/**
|
|
9394
|
-
* Permissions:
|
|
9406
|
+
* Permissions: * `compute.export.*` - __required__. * `compute.output.*` - __required__ when _outputs_ are requested.
|
|
9395
9407
|
* @summary Compute a Grasshopper exports for given parameter values.
|
|
9396
9408
|
* @param {string} sessionId Session ID.
|
|
9397
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`.
|
|
9398
9411
|
* @param {*} [options] Override http request option.
|
|
9399
9412
|
* @throws {RequiredError}
|
|
9400
9413
|
*/
|
|
9401
|
-
computeExports(sessionId: string, reqExport: ReqExport, options?: RawAxiosRequestConfig): AxiosPromise<ResComputeExports> {
|
|
9402
|
-
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));
|
|
9403
9416
|
},
|
|
9404
9417
|
/**
|
|
9405
|
-
* Permissions:
|
|
9418
|
+
* Permissions: * `cache.export.get.*` - __required__. * `cache.output.get.*` - __required__ when _outputs_ are requested.
|
|
9406
9419
|
* @summary Get Export from cache / check if computation is done.
|
|
9407
9420
|
* @param {string} sessionId Session ID.
|
|
9408
9421
|
* @param {ReqExportOrCache} reqExportOrCache
|
|
@@ -9413,7 +9426,7 @@ export const ExportApiFactory = function (configuration?: Configuration, basePat
|
|
|
9413
9426
|
return localVarFp.getCachedExports(sessionId, reqExportOrCache, options).then((request) => request(axios, basePath));
|
|
9414
9427
|
},
|
|
9415
9428
|
/**
|
|
9416
|
-
* Permissions:
|
|
9429
|
+
* Permissions: * `cache.export.list.*` - __required__.
|
|
9417
9430
|
* @summary List export versions.
|
|
9418
9431
|
* @param {string} sessionId Session ID.
|
|
9419
9432
|
* @param {string} exportId Export ID.
|
|
@@ -9427,7 +9440,7 @@ export const ExportApiFactory = function (configuration?: Configuration, basePat
|
|
|
9427
9440
|
return localVarFp.listExportVersions(sessionId, exportId, statusComputation, statusCollect, offset, options).then((request) => request(axios, basePath));
|
|
9428
9441
|
},
|
|
9429
9442
|
/**
|
|
9430
|
-
* Permissions:
|
|
9443
|
+
* Permissions: * `set.export.ui` - __required__.
|
|
9431
9444
|
* @summary Update definition of exports.
|
|
9432
9445
|
* @param {string} modelId Model ID.
|
|
9433
9446
|
* @param {ReqExportDefinitions} reqExportDefinitions
|
|
@@ -9448,20 +9461,21 @@ export const ExportApiFactory = function (configuration?: Configuration, basePat
|
|
|
9448
9461
|
*/
|
|
9449
9462
|
export class ExportApi extends BaseAPI {
|
|
9450
9463
|
/**
|
|
9451
|
-
* Permissions:
|
|
9464
|
+
* Permissions: * `compute.export.*` - __required__. * `compute.output.*` - __required__ when _outputs_ are requested.
|
|
9452
9465
|
* @summary Compute a Grasshopper exports for given parameter values.
|
|
9453
9466
|
* @param {string} sessionId Session ID.
|
|
9454
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`.
|
|
9455
9469
|
* @param {*} [options] Override http request option.
|
|
9456
9470
|
* @throws {RequiredError}
|
|
9457
9471
|
* @memberof ExportApi
|
|
9458
9472
|
*/
|
|
9459
|
-
public computeExports(sessionId: string, reqExport: ReqExport, options?: RawAxiosRequestConfig) {
|
|
9460
|
-
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));
|
|
9461
9475
|
}
|
|
9462
9476
|
|
|
9463
9477
|
/**
|
|
9464
|
-
* Permissions:
|
|
9478
|
+
* Permissions: * `cache.export.get.*` - __required__. * `cache.output.get.*` - __required__ when _outputs_ are requested.
|
|
9465
9479
|
* @summary Get Export from cache / check if computation is done.
|
|
9466
9480
|
* @param {string} sessionId Session ID.
|
|
9467
9481
|
* @param {ReqExportOrCache} reqExportOrCache
|
|
@@ -9474,7 +9488,7 @@ export class ExportApi extends BaseAPI {
|
|
|
9474
9488
|
}
|
|
9475
9489
|
|
|
9476
9490
|
/**
|
|
9477
|
-
* Permissions:
|
|
9491
|
+
* Permissions: * `cache.export.list.*` - __required__.
|
|
9478
9492
|
* @summary List export versions.
|
|
9479
9493
|
* @param {string} sessionId Session ID.
|
|
9480
9494
|
* @param {string} exportId Export ID.
|
|
@@ -9490,7 +9504,7 @@ export class ExportApi extends BaseAPI {
|
|
|
9490
9504
|
}
|
|
9491
9505
|
|
|
9492
9506
|
/**
|
|
9493
|
-
* Permissions:
|
|
9507
|
+
* Permissions: * `set.export.ui` - __required__.
|
|
9494
9508
|
* @summary Update definition of exports.
|
|
9495
9509
|
* @param {string} modelId Model ID.
|
|
9496
9510
|
* @param {ReqExportDefinitions} reqExportDefinitions
|
|
@@ -9512,7 +9526,7 @@ export class ExportApi extends BaseAPI {
|
|
|
9512
9526
|
export const FileApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9513
9527
|
return {
|
|
9514
9528
|
/**
|
|
9515
|
-
* Permissions:
|
|
9529
|
+
* Permissions: * `asset.file.delete.*` - __required__.
|
|
9516
9530
|
* @summary Delete a file-asset.
|
|
9517
9531
|
* @param {string} sessionId Session ID.
|
|
9518
9532
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9558,7 +9572,7 @@ export const FileApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9558
9572
|
};
|
|
9559
9573
|
},
|
|
9560
9574
|
/**
|
|
9561
|
-
* Permissions:
|
|
9575
|
+
* Permissions: * `asset.file.get.*` - __required__.
|
|
9562
9576
|
* @summary Download a file-asset.
|
|
9563
9577
|
* @param {string} sessionId Session ID.
|
|
9564
9578
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9650,7 +9664,7 @@ export const FileApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9650
9664
|
};
|
|
9651
9665
|
},
|
|
9652
9666
|
/**
|
|
9653
|
-
* Permissions:
|
|
9667
|
+
* Permissions: * `asset.file.list.*` - __required__.
|
|
9654
9668
|
* @summary List all file-assets of a parameter.
|
|
9655
9669
|
* @param {string} sessionId Session ID.
|
|
9656
9670
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9697,7 +9711,7 @@ export const FileApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9697
9711
|
};
|
|
9698
9712
|
},
|
|
9699
9713
|
/**
|
|
9700
|
-
* Permissions:
|
|
9714
|
+
* Permissions: * `asset.file.create.*` - __required__.
|
|
9701
9715
|
* @summary Request upload URL for a file-asset.
|
|
9702
9716
|
* @param {string} sessionId Session ID.
|
|
9703
9717
|
* @param {ReqFileUpload} reqFileUpload
|
|
@@ -9751,7 +9765,7 @@ export const FileApiFp = function(configuration?: Configuration) {
|
|
|
9751
9765
|
const localVarAxiosParamCreator = FileApiAxiosParamCreator(configuration)
|
|
9752
9766
|
return {
|
|
9753
9767
|
/**
|
|
9754
|
-
* Permissions:
|
|
9768
|
+
* Permissions: * `asset.file.delete.*` - __required__.
|
|
9755
9769
|
* @summary Delete a file-asset.
|
|
9756
9770
|
* @param {string} sessionId Session ID.
|
|
9757
9771
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9766,7 +9780,7 @@ export const FileApiFp = function(configuration?: Configuration) {
|
|
|
9766
9780
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9767
9781
|
},
|
|
9768
9782
|
/**
|
|
9769
|
-
* Permissions:
|
|
9783
|
+
* Permissions: * `asset.file.get.*` - __required__.
|
|
9770
9784
|
* @summary Download a file-asset.
|
|
9771
9785
|
* @param {string} sessionId Session ID.
|
|
9772
9786
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9796,7 +9810,7 @@ export const FileApiFp = function(configuration?: Configuration) {
|
|
|
9796
9810
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9797
9811
|
},
|
|
9798
9812
|
/**
|
|
9799
|
-
* Permissions:
|
|
9813
|
+
* Permissions: * `asset.file.list.*` - __required__.
|
|
9800
9814
|
* @summary List all file-assets of a parameter.
|
|
9801
9815
|
* @param {string} sessionId Session ID.
|
|
9802
9816
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9811,7 +9825,7 @@ export const FileApiFp = function(configuration?: Configuration) {
|
|
|
9811
9825
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9812
9826
|
},
|
|
9813
9827
|
/**
|
|
9814
|
-
* Permissions:
|
|
9828
|
+
* Permissions: * `asset.file.create.*` - __required__.
|
|
9815
9829
|
* @summary Request upload URL for a file-asset.
|
|
9816
9830
|
* @param {string} sessionId Session ID.
|
|
9817
9831
|
* @param {ReqFileUpload} reqFileUpload
|
|
@@ -9835,7 +9849,7 @@ export const FileApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9835
9849
|
const localVarFp = FileApiFp(configuration)
|
|
9836
9850
|
return {
|
|
9837
9851
|
/**
|
|
9838
|
-
* Permissions:
|
|
9852
|
+
* Permissions: * `asset.file.delete.*` - __required__.
|
|
9839
9853
|
* @summary Delete a file-asset.
|
|
9840
9854
|
* @param {string} sessionId Session ID.
|
|
9841
9855
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9847,7 +9861,7 @@ export const FileApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9847
9861
|
return localVarFp.deleteFile(sessionId, paramId, fileId, options).then((request) => request(axios, basePath));
|
|
9848
9862
|
},
|
|
9849
9863
|
/**
|
|
9850
|
-
* Permissions:
|
|
9864
|
+
* Permissions: * `asset.file.get.*` - __required__.
|
|
9851
9865
|
* @summary Download a file-asset.
|
|
9852
9866
|
* @param {string} sessionId Session ID.
|
|
9853
9867
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9871,7 +9885,7 @@ export const FileApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9871
9885
|
return localVarFp.getFileMetadata(sessionId, paramId, fileId, options).then((request) => request(axios, basePath));
|
|
9872
9886
|
},
|
|
9873
9887
|
/**
|
|
9874
|
-
* Permissions:
|
|
9888
|
+
* Permissions: * `asset.file.list.*` - __required__.
|
|
9875
9889
|
* @summary List all file-assets of a parameter.
|
|
9876
9890
|
* @param {string} sessionId Session ID.
|
|
9877
9891
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9883,7 +9897,7 @@ export const FileApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9883
9897
|
return localVarFp.listFiles(sessionId, paramId, offset, options).then((request) => request(axios, basePath));
|
|
9884
9898
|
},
|
|
9885
9899
|
/**
|
|
9886
|
-
* Permissions:
|
|
9900
|
+
* Permissions: * `asset.file.create.*` - __required__.
|
|
9887
9901
|
* @summary Request upload URL for a file-asset.
|
|
9888
9902
|
* @param {string} sessionId Session ID.
|
|
9889
9903
|
* @param {ReqFileUpload} reqFileUpload
|
|
@@ -9904,7 +9918,7 @@ export const FileApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9904
9918
|
*/
|
|
9905
9919
|
export class FileApi extends BaseAPI {
|
|
9906
9920
|
/**
|
|
9907
|
-
* Permissions:
|
|
9921
|
+
* Permissions: * `asset.file.delete.*` - __required__.
|
|
9908
9922
|
* @summary Delete a file-asset.
|
|
9909
9923
|
* @param {string} sessionId Session ID.
|
|
9910
9924
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9918,7 +9932,7 @@ export class FileApi extends BaseAPI {
|
|
|
9918
9932
|
}
|
|
9919
9933
|
|
|
9920
9934
|
/**
|
|
9921
|
-
* Permissions:
|
|
9935
|
+
* Permissions: * `asset.file.get.*` - __required__.
|
|
9922
9936
|
* @summary Download a file-asset.
|
|
9923
9937
|
* @param {string} sessionId Session ID.
|
|
9924
9938
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9946,7 +9960,7 @@ export class FileApi extends BaseAPI {
|
|
|
9946
9960
|
}
|
|
9947
9961
|
|
|
9948
9962
|
/**
|
|
9949
|
-
* Permissions:
|
|
9963
|
+
* Permissions: * `asset.file.list.*` - __required__.
|
|
9950
9964
|
* @summary List all file-assets of a parameter.
|
|
9951
9965
|
* @param {string} sessionId Session ID.
|
|
9952
9966
|
* @param {string} paramId Parameter ID of the file asset.
|
|
@@ -9960,7 +9974,7 @@ export class FileApi extends BaseAPI {
|
|
|
9960
9974
|
}
|
|
9961
9975
|
|
|
9962
9976
|
/**
|
|
9963
|
-
* Permissions:
|
|
9977
|
+
* Permissions: * `asset.file.create.*` - __required__.
|
|
9964
9978
|
* @summary Request upload URL for a file-asset.
|
|
9965
9979
|
* @param {string} sessionId Session ID.
|
|
9966
9980
|
* @param {ReqFileUpload} reqFileUpload
|
|
@@ -10232,7 +10246,7 @@ export class LogApi extends BaseAPI {
|
|
|
10232
10246
|
export const ModelApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
10233
10247
|
return {
|
|
10234
10248
|
/**
|
|
10235
|
-
* Permissions:
|
|
10249
|
+
* Permissions: * `cache.export.delete.*` - __required__.
|
|
10236
10250
|
* @summary Delete old export components.
|
|
10237
10251
|
* @param {string} modelId Model ID.
|
|
10238
10252
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -10277,7 +10291,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10277
10291
|
};
|
|
10278
10292
|
},
|
|
10279
10293
|
/**
|
|
10280
|
-
* Permissions:
|
|
10294
|
+
* Permissions: * `cache.output.delete.*` - __required__.
|
|
10281
10295
|
* @summary Delete old output components.
|
|
10282
10296
|
* @param {string} modelId Model ID.
|
|
10283
10297
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -10322,7 +10336,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10322
10336
|
};
|
|
10323
10337
|
},
|
|
10324
10338
|
/**
|
|
10325
|
-
* Permissions:
|
|
10339
|
+
* Permissions: * `cache.texture.delete.*` - __required__.
|
|
10326
10340
|
* @summary Delete old texture components.
|
|
10327
10341
|
* @param {string} modelId Model ID.
|
|
10328
10342
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -10407,7 +10421,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10407
10421
|
};
|
|
10408
10422
|
},
|
|
10409
10423
|
/**
|
|
10410
|
-
* Permissions:
|
|
10424
|
+
* Permissions: * `setting.viewer.set.*` - __required__.
|
|
10411
10425
|
* @summary Create model config.
|
|
10412
10426
|
* @param {string} modelId Model ID.
|
|
10413
10427
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -10451,7 +10465,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10451
10465
|
};
|
|
10452
10466
|
},
|
|
10453
10467
|
/**
|
|
10454
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
10468
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.soft` - __required__.
|
|
10455
10469
|
* @summary Delete model.
|
|
10456
10470
|
* @param {string} modelId Model ID.
|
|
10457
10471
|
* @param {*} [options] Override http request option.
|
|
@@ -10489,7 +10503,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10489
10503
|
};
|
|
10490
10504
|
},
|
|
10491
10505
|
/**
|
|
10492
|
-
* Permissions:
|
|
10506
|
+
* Permissions: * `file.download` - __required__.
|
|
10493
10507
|
* @summary Download Grasshopper file.
|
|
10494
10508
|
* @param {string} modelId Model ID.
|
|
10495
10509
|
* @param {*} [options] Override http request option.
|
|
@@ -10565,7 +10579,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10565
10579
|
};
|
|
10566
10580
|
},
|
|
10567
10581
|
/**
|
|
10568
|
-
* 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_.
|
|
10569
10583
|
* @summary Get model.
|
|
10570
10584
|
* @param {string} modelId Model ID.
|
|
10571
10585
|
* @param {*} [options] Override http request option.
|
|
@@ -10603,7 +10617,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10603
10617
|
};
|
|
10604
10618
|
},
|
|
10605
10619
|
/**
|
|
10606
|
-
* Permissions:
|
|
10620
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
10607
10621
|
* @summary Get model computation statistics.
|
|
10608
10622
|
* @param {string} modelId Model ID.
|
|
10609
10623
|
* @param {QueryOrder} [order] Order in which to query computation stats items. _Default:_ `desc`
|
|
@@ -10681,7 +10695,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10681
10695
|
};
|
|
10682
10696
|
},
|
|
10683
10697
|
/**
|
|
10684
|
-
* Permissions:
|
|
10698
|
+
* Permissions: * `setting.viewer.get.*` - __required__.
|
|
10685
10699
|
* @summary Get model config.
|
|
10686
10700
|
* @param {string} modelId Model ID.
|
|
10687
10701
|
* @param {*} [options] Override http request option.
|
|
@@ -10801,7 +10815,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10801
10815
|
};
|
|
10802
10816
|
},
|
|
10803
10817
|
/**
|
|
10804
|
-
* 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.
|
|
10805
10819
|
* @summary Update model.
|
|
10806
10820
|
* @param {string} modelId Model ID.
|
|
10807
10821
|
* @param {ReqModel} reqModel
|
|
@@ -10845,7 +10859,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10845
10859
|
};
|
|
10846
10860
|
},
|
|
10847
10861
|
/**
|
|
10848
|
-
* Updating the model configuration requires _model authoring privilege_. Permissions:
|
|
10862
|
+
* Updating the model configuration requires _model authoring privilege_. Permissions: * `setting.viewer.set.*` - __required__.
|
|
10849
10863
|
* @summary Update model config.
|
|
10850
10864
|
* @param {string} modelId Model ID.
|
|
10851
10865
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -10889,14 +10903,15 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10889
10903
|
};
|
|
10890
10904
|
},
|
|
10891
10905
|
/**
|
|
10892
|
-
* Updating default parameter values requires model authoring privilege. Permissions:
|
|
10906
|
+
* Updating default parameter values requires model authoring privilege. Permissions: * `set.parameter.defval` - __required__.
|
|
10893
10907
|
* @summary Update default value of parameters.
|
|
10894
10908
|
* @param {string} modelId Model ID.
|
|
10895
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`.
|
|
10896
10911
|
* @param {*} [options] Override http request option.
|
|
10897
10912
|
* @throws {RequiredError}
|
|
10898
10913
|
*/
|
|
10899
|
-
updateParameterDefaultValues: async (modelId: string, reqCustomization: ReqCustomization, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10914
|
+
updateParameterDefaultValues: async (modelId: string, reqCustomization: ReqCustomization, ignoreUnknownParams?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10900
10915
|
// verify required parameter 'modelId' is not null or undefined
|
|
10901
10916
|
assertParamExists('updateParameterDefaultValues', 'modelId', modelId)
|
|
10902
10917
|
// verify required parameter 'reqCustomization' is not null or undefined
|
|
@@ -10918,6 +10933,10 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10918
10933
|
// http bearer authentication required
|
|
10919
10934
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10920
10935
|
|
|
10936
|
+
if (ignoreUnknownParams !== undefined) {
|
|
10937
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
10938
|
+
}
|
|
10939
|
+
|
|
10921
10940
|
|
|
10922
10941
|
|
|
10923
10942
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -10933,7 +10952,7 @@ export const ModelApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10933
10952
|
};
|
|
10934
10953
|
},
|
|
10935
10954
|
/**
|
|
10936
|
-
* Permissions:
|
|
10955
|
+
* Permissions: * `set.parameter.ui` - __required__.
|
|
10937
10956
|
* @summary Update definition of parameters.
|
|
10938
10957
|
* @param {string} modelId Model ID.
|
|
10939
10958
|
* @param {ReqParameterDefinitions} reqParameterDefinitions
|
|
@@ -10987,7 +11006,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
10987
11006
|
const localVarAxiosParamCreator = ModelApiAxiosParamCreator(configuration)
|
|
10988
11007
|
return {
|
|
10989
11008
|
/**
|
|
10990
|
-
* Permissions:
|
|
11009
|
+
* Permissions: * `cache.export.delete.*` - __required__.
|
|
10991
11010
|
* @summary Delete old export components.
|
|
10992
11011
|
* @param {string} modelId Model ID.
|
|
10993
11012
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11001,7 +11020,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11001
11020
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11002
11021
|
},
|
|
11003
11022
|
/**
|
|
11004
|
-
* Permissions:
|
|
11023
|
+
* Permissions: * `cache.output.delete.*` - __required__.
|
|
11005
11024
|
* @summary Delete old output components.
|
|
11006
11025
|
* @param {string} modelId Model ID.
|
|
11007
11026
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11015,7 +11034,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11015
11034
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11016
11035
|
},
|
|
11017
11036
|
/**
|
|
11018
|
-
* Permissions:
|
|
11037
|
+
* Permissions: * `cache.texture.delete.*` - __required__.
|
|
11019
11038
|
* @summary Delete old texture components.
|
|
11020
11039
|
* @param {string} modelId Model ID.
|
|
11021
11040
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11042,7 +11061,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11042
11061
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11043
11062
|
},
|
|
11044
11063
|
/**
|
|
11045
|
-
* Permissions:
|
|
11064
|
+
* Permissions: * `setting.viewer.set.*` - __required__.
|
|
11046
11065
|
* @summary Create model config.
|
|
11047
11066
|
* @param {string} modelId Model ID.
|
|
11048
11067
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -11056,7 +11075,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11056
11075
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11057
11076
|
},
|
|
11058
11077
|
/**
|
|
11059
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
11078
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.soft` - __required__.
|
|
11060
11079
|
* @summary Delete model.
|
|
11061
11080
|
* @param {string} modelId Model ID.
|
|
11062
11081
|
* @param {*} [options] Override http request option.
|
|
@@ -11069,7 +11088,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11069
11088
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11070
11089
|
},
|
|
11071
11090
|
/**
|
|
11072
|
-
* Permissions:
|
|
11091
|
+
* Permissions: * `file.download` - __required__.
|
|
11073
11092
|
* @summary Download Grasshopper file.
|
|
11074
11093
|
* @param {string} modelId Model ID.
|
|
11075
11094
|
* @param {*} [options] Override http request option.
|
|
@@ -11095,7 +11114,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11095
11114
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11096
11115
|
},
|
|
11097
11116
|
/**
|
|
11098
|
-
* 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_.
|
|
11099
11118
|
* @summary Get model.
|
|
11100
11119
|
* @param {string} modelId Model ID.
|
|
11101
11120
|
* @param {*} [options] Override http request option.
|
|
@@ -11108,7 +11127,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11108
11127
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11109
11128
|
},
|
|
11110
11129
|
/**
|
|
11111
|
-
* Permissions:
|
|
11130
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
11112
11131
|
* @summary Get model computation statistics.
|
|
11113
11132
|
* @param {string} modelId Model ID.
|
|
11114
11133
|
* @param {QueryOrder} [order] Order in which to query computation stats items. _Default:_ `desc`
|
|
@@ -11129,7 +11148,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11129
11148
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11130
11149
|
},
|
|
11131
11150
|
/**
|
|
11132
|
-
* Permissions:
|
|
11151
|
+
* Permissions: * `setting.viewer.get.*` - __required__.
|
|
11133
11152
|
* @summary Get model config.
|
|
11134
11153
|
* @param {string} modelId Model ID.
|
|
11135
11154
|
* @param {*} [options] Override http request option.
|
|
@@ -11169,7 +11188,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11169
11188
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11170
11189
|
},
|
|
11171
11190
|
/**
|
|
11172
|
-
* 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.
|
|
11173
11192
|
* @summary Update model.
|
|
11174
11193
|
* @param {string} modelId Model ID.
|
|
11175
11194
|
* @param {ReqModel} reqModel
|
|
@@ -11183,7 +11202,7 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11183
11202
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11184
11203
|
},
|
|
11185
11204
|
/**
|
|
11186
|
-
* Updating the model configuration requires _model authoring privilege_. Permissions:
|
|
11205
|
+
* Updating the model configuration requires _model authoring privilege_. Permissions: * `setting.viewer.set.*` - __required__.
|
|
11187
11206
|
* @summary Update model config.
|
|
11188
11207
|
* @param {string} modelId Model ID.
|
|
11189
11208
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -11197,21 +11216,22 @@ export const ModelApiFp = function(configuration?: Configuration) {
|
|
|
11197
11216
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11198
11217
|
},
|
|
11199
11218
|
/**
|
|
11200
|
-
* Updating default parameter values requires model authoring privilege. Permissions:
|
|
11219
|
+
* Updating default parameter values requires model authoring privilege. Permissions: * `set.parameter.defval` - __required__.
|
|
11201
11220
|
* @summary Update default value of parameters.
|
|
11202
11221
|
* @param {string} modelId Model ID.
|
|
11203
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`.
|
|
11204
11224
|
* @param {*} [options] Override http request option.
|
|
11205
11225
|
* @throws {RequiredError}
|
|
11206
11226
|
*/
|
|
11207
|
-
async updateParameterDefaultValues(modelId: string, reqCustomization: ReqCustomization, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResUpdateParameterDefaultValues>> {
|
|
11208
|
-
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);
|
|
11209
11229
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11210
11230
|
const localVarOperationServerBasePath = operationServerMap['ModelApi.updateParameterDefaultValues']?.[localVarOperationServerIndex]?.url;
|
|
11211
11231
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11212
11232
|
},
|
|
11213
11233
|
/**
|
|
11214
|
-
* Permissions:
|
|
11234
|
+
* Permissions: * `set.parameter.ui` - __required__.
|
|
11215
11235
|
* @summary Update definition of parameters.
|
|
11216
11236
|
* @param {string} modelId Model ID.
|
|
11217
11237
|
* @param {ReqParameterDefinitions} reqParameterDefinitions
|
|
@@ -11235,7 +11255,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11235
11255
|
const localVarFp = ModelApiFp(configuration)
|
|
11236
11256
|
return {
|
|
11237
11257
|
/**
|
|
11238
|
-
* Permissions:
|
|
11258
|
+
* Permissions: * `cache.export.delete.*` - __required__.
|
|
11239
11259
|
* @summary Delete old export components.
|
|
11240
11260
|
* @param {string} modelId Model ID.
|
|
11241
11261
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11246,7 +11266,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11246
11266
|
return localVarFp.cleanupExports(modelId, untilLastSeen, options).then((request) => request(axios, basePath));
|
|
11247
11267
|
},
|
|
11248
11268
|
/**
|
|
11249
|
-
* Permissions:
|
|
11269
|
+
* Permissions: * `cache.output.delete.*` - __required__.
|
|
11250
11270
|
* @summary Delete old output components.
|
|
11251
11271
|
* @param {string} modelId Model ID.
|
|
11252
11272
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11257,7 +11277,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11257
11277
|
return localVarFp.cleanupOutputs(modelId, untilLastSeen, options).then((request) => request(axios, basePath));
|
|
11258
11278
|
},
|
|
11259
11279
|
/**
|
|
11260
|
-
* Permissions:
|
|
11280
|
+
* Permissions: * `cache.texture.delete.*` - __required__.
|
|
11261
11281
|
* @summary Delete old texture components.
|
|
11262
11282
|
* @param {string} modelId Model ID.
|
|
11263
11283
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11278,7 +11298,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11278
11298
|
return localVarFp.createModel(reqModel, options).then((request) => request(axios, basePath));
|
|
11279
11299
|
},
|
|
11280
11300
|
/**
|
|
11281
|
-
* Permissions:
|
|
11301
|
+
* Permissions: * `setting.viewer.set.*` - __required__.
|
|
11282
11302
|
* @summary Create model config.
|
|
11283
11303
|
* @param {string} modelId Model ID.
|
|
11284
11304
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -11289,7 +11309,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11289
11309
|
return localVarFp.createModelConfig(modelId, reqConfigure, options).then((request) => request(axios, basePath));
|
|
11290
11310
|
},
|
|
11291
11311
|
/**
|
|
11292
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
11312
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.soft` - __required__.
|
|
11293
11313
|
* @summary Delete model.
|
|
11294
11314
|
* @param {string} modelId Model ID.
|
|
11295
11315
|
* @param {*} [options] Override http request option.
|
|
@@ -11299,7 +11319,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11299
11319
|
return localVarFp.deleteModel(modelId, options).then((request) => request(axios, basePath));
|
|
11300
11320
|
},
|
|
11301
11321
|
/**
|
|
11302
|
-
* Permissions:
|
|
11322
|
+
* Permissions: * `file.download` - __required__.
|
|
11303
11323
|
* @summary Download Grasshopper file.
|
|
11304
11324
|
* @param {string} modelId Model ID.
|
|
11305
11325
|
* @param {*} [options] Override http request option.
|
|
@@ -11319,7 +11339,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11319
11339
|
return localVarFp.getCleanupStatus(modelId, options).then((request) => request(axios, basePath));
|
|
11320
11340
|
},
|
|
11321
11341
|
/**
|
|
11322
|
-
* 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_.
|
|
11323
11343
|
* @summary Get model.
|
|
11324
11344
|
* @param {string} modelId Model ID.
|
|
11325
11345
|
* @param {*} [options] Override http request option.
|
|
@@ -11329,7 +11349,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11329
11349
|
return localVarFp.getModel(modelId, options).then((request) => request(axios, basePath));
|
|
11330
11350
|
},
|
|
11331
11351
|
/**
|
|
11332
|
-
* Permissions:
|
|
11352
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
11333
11353
|
* @summary Get model computation statistics.
|
|
11334
11354
|
* @param {string} modelId Model ID.
|
|
11335
11355
|
* @param {QueryOrder} [order] Order in which to query computation stats items. _Default:_ `desc`
|
|
@@ -11347,7 +11367,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11347
11367
|
return localVarFp.getModelComputations(modelId, order, timestampFrom, timestampTo, status, type, limit, strictLimit, offset, options).then((request) => request(axios, basePath));
|
|
11348
11368
|
},
|
|
11349
11369
|
/**
|
|
11350
|
-
* Permissions:
|
|
11370
|
+
* Permissions: * `setting.viewer.get.*` - __required__.
|
|
11351
11371
|
* @summary Get model config.
|
|
11352
11372
|
* @param {string} modelId Model ID.
|
|
11353
11373
|
* @param {*} [options] Override http request option.
|
|
@@ -11378,7 +11398,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11378
11398
|
return localVarFp.restoreModel(modelId, options).then((request) => request(axios, basePath));
|
|
11379
11399
|
},
|
|
11380
11400
|
/**
|
|
11381
|
-
* 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.
|
|
11382
11402
|
* @summary Update model.
|
|
11383
11403
|
* @param {string} modelId Model ID.
|
|
11384
11404
|
* @param {ReqModel} reqModel
|
|
@@ -11389,7 +11409,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11389
11409
|
return localVarFp.updateModel(modelId, reqModel, options).then((request) => request(axios, basePath));
|
|
11390
11410
|
},
|
|
11391
11411
|
/**
|
|
11392
|
-
* Updating the model configuration requires _model authoring privilege_. Permissions:
|
|
11412
|
+
* Updating the model configuration requires _model authoring privilege_. Permissions: * `setting.viewer.set.*` - __required__.
|
|
11393
11413
|
* @summary Update model config.
|
|
11394
11414
|
* @param {string} modelId Model ID.
|
|
11395
11415
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -11400,18 +11420,19 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11400
11420
|
return localVarFp.updateModelConfig(modelId, reqConfigure, options).then((request) => request(axios, basePath));
|
|
11401
11421
|
},
|
|
11402
11422
|
/**
|
|
11403
|
-
* Updating default parameter values requires model authoring privilege. Permissions:
|
|
11423
|
+
* Updating default parameter values requires model authoring privilege. Permissions: * `set.parameter.defval` - __required__.
|
|
11404
11424
|
* @summary Update default value of parameters.
|
|
11405
11425
|
* @param {string} modelId Model ID.
|
|
11406
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`.
|
|
11407
11428
|
* @param {*} [options] Override http request option.
|
|
11408
11429
|
* @throws {RequiredError}
|
|
11409
11430
|
*/
|
|
11410
|
-
updateParameterDefaultValues(modelId: string, reqCustomization: ReqCustomization, options?: RawAxiosRequestConfig): AxiosPromise<ResUpdateParameterDefaultValues> {
|
|
11411
|
-
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));
|
|
11412
11433
|
},
|
|
11413
11434
|
/**
|
|
11414
|
-
* Permissions:
|
|
11435
|
+
* Permissions: * `set.parameter.ui` - __required__.
|
|
11415
11436
|
* @summary Update definition of parameters.
|
|
11416
11437
|
* @param {string} modelId Model ID.
|
|
11417
11438
|
* @param {ReqParameterDefinitions} reqParameterDefinitions
|
|
@@ -11432,7 +11453,7 @@ export const ModelApiFactory = function (configuration?: Configuration, basePath
|
|
|
11432
11453
|
*/
|
|
11433
11454
|
export class ModelApi extends BaseAPI {
|
|
11434
11455
|
/**
|
|
11435
|
-
* Permissions:
|
|
11456
|
+
* Permissions: * `cache.export.delete.*` - __required__.
|
|
11436
11457
|
* @summary Delete old export components.
|
|
11437
11458
|
* @param {string} modelId Model ID.
|
|
11438
11459
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11445,7 +11466,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11445
11466
|
}
|
|
11446
11467
|
|
|
11447
11468
|
/**
|
|
11448
|
-
* Permissions:
|
|
11469
|
+
* Permissions: * `cache.output.delete.*` - __required__.
|
|
11449
11470
|
* @summary Delete old output components.
|
|
11450
11471
|
* @param {string} modelId Model ID.
|
|
11451
11472
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11458,7 +11479,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11458
11479
|
}
|
|
11459
11480
|
|
|
11460
11481
|
/**
|
|
11461
|
-
* Permissions:
|
|
11482
|
+
* Permissions: * `cache.texture.delete.*` - __required__.
|
|
11462
11483
|
* @summary Delete old texture components.
|
|
11463
11484
|
* @param {string} modelId Model ID.
|
|
11464
11485
|
* @param {string} untilLastSeen Delete all components that have been used last at or before this timestamp.
|
|
@@ -11483,7 +11504,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11483
11504
|
}
|
|
11484
11505
|
|
|
11485
11506
|
/**
|
|
11486
|
-
* Permissions:
|
|
11507
|
+
* Permissions: * `setting.viewer.set.*` - __required__.
|
|
11487
11508
|
* @summary Create model config.
|
|
11488
11509
|
* @param {string} modelId Model ID.
|
|
11489
11510
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -11496,7 +11517,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11496
11517
|
}
|
|
11497
11518
|
|
|
11498
11519
|
/**
|
|
11499
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
11520
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.soft` - __required__.
|
|
11500
11521
|
* @summary Delete model.
|
|
11501
11522
|
* @param {string} modelId Model ID.
|
|
11502
11523
|
* @param {*} [options] Override http request option.
|
|
@@ -11508,7 +11529,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11508
11529
|
}
|
|
11509
11530
|
|
|
11510
11531
|
/**
|
|
11511
|
-
* Permissions:
|
|
11532
|
+
* Permissions: * `file.download` - __required__.
|
|
11512
11533
|
* @summary Download Grasshopper file.
|
|
11513
11534
|
* @param {string} modelId Model ID.
|
|
11514
11535
|
* @param {*} [options] Override http request option.
|
|
@@ -11532,7 +11553,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11532
11553
|
}
|
|
11533
11554
|
|
|
11534
11555
|
/**
|
|
11535
|
-
* 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_.
|
|
11536
11557
|
* @summary Get model.
|
|
11537
11558
|
* @param {string} modelId Model ID.
|
|
11538
11559
|
* @param {*} [options] Override http request option.
|
|
@@ -11544,7 +11565,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11544
11565
|
}
|
|
11545
11566
|
|
|
11546
11567
|
/**
|
|
11547
|
-
* Permissions:
|
|
11568
|
+
* Permissions: * `analytics.model.get.*` - __required__.
|
|
11548
11569
|
* @summary Get model computation statistics.
|
|
11549
11570
|
* @param {string} modelId Model ID.
|
|
11550
11571
|
* @param {QueryOrder} [order] Order in which to query computation stats items. _Default:_ `desc`
|
|
@@ -11564,7 +11585,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11564
11585
|
}
|
|
11565
11586
|
|
|
11566
11587
|
/**
|
|
11567
|
-
* Permissions:
|
|
11588
|
+
* Permissions: * `setting.viewer.get.*` - __required__.
|
|
11568
11589
|
* @summary Get model config.
|
|
11569
11590
|
* @param {string} modelId Model ID.
|
|
11570
11591
|
* @param {*} [options] Override http request option.
|
|
@@ -11601,7 +11622,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11601
11622
|
}
|
|
11602
11623
|
|
|
11603
11624
|
/**
|
|
11604
|
-
* 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.
|
|
11605
11626
|
* @summary Update model.
|
|
11606
11627
|
* @param {string} modelId Model ID.
|
|
11607
11628
|
* @param {ReqModel} reqModel
|
|
@@ -11614,7 +11635,7 @@ export class ModelApi extends BaseAPI {
|
|
|
11614
11635
|
}
|
|
11615
11636
|
|
|
11616
11637
|
/**
|
|
11617
|
-
* Updating the model configuration requires _model authoring privilege_. Permissions:
|
|
11638
|
+
* Updating the model configuration requires _model authoring privilege_. Permissions: * `setting.viewer.set.*` - __required__.
|
|
11618
11639
|
* @summary Update model config.
|
|
11619
11640
|
* @param {string} modelId Model ID.
|
|
11620
11641
|
* @param {ReqConfigure} reqConfigure
|
|
@@ -11627,20 +11648,21 @@ export class ModelApi extends BaseAPI {
|
|
|
11627
11648
|
}
|
|
11628
11649
|
|
|
11629
11650
|
/**
|
|
11630
|
-
* Updating default parameter values requires model authoring privilege. Permissions:
|
|
11651
|
+
* Updating default parameter values requires model authoring privilege. Permissions: * `set.parameter.defval` - __required__.
|
|
11631
11652
|
* @summary Update default value of parameters.
|
|
11632
11653
|
* @param {string} modelId Model ID.
|
|
11633
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`.
|
|
11634
11656
|
* @param {*} [options] Override http request option.
|
|
11635
11657
|
* @throws {RequiredError}
|
|
11636
11658
|
* @memberof ModelApi
|
|
11637
11659
|
*/
|
|
11638
|
-
public updateParameterDefaultValues(modelId: string, reqCustomization: ReqCustomization, options?: RawAxiosRequestConfig) {
|
|
11639
|
-
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));
|
|
11640
11662
|
}
|
|
11641
11663
|
|
|
11642
11664
|
/**
|
|
11643
|
-
* Permissions:
|
|
11665
|
+
* Permissions: * `set.parameter.ui` - __required__.
|
|
11644
11666
|
* @summary Update definition of parameters.
|
|
11645
11667
|
* @param {string} modelId Model ID.
|
|
11646
11668
|
* @param {ReqParameterDefinitions} reqParameterDefinitions
|
|
@@ -11666,10 +11688,11 @@ export const ModelStateApiAxiosParamCreator = function (configuration?: Configur
|
|
|
11666
11688
|
* @summary Create new Model-State.
|
|
11667
11689
|
* @param {string} sessionId Session ID.
|
|
11668
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`.
|
|
11669
11692
|
* @param {*} [options] Override http request option.
|
|
11670
11693
|
* @throws {RequiredError}
|
|
11671
11694
|
*/
|
|
11672
|
-
createModelState: async (sessionId: string, reqModelState: ReqModelState, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11695
|
+
createModelState: async (sessionId: string, reqModelState: ReqModelState, ignoreUnknownParams?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11673
11696
|
// verify required parameter 'sessionId' is not null or undefined
|
|
11674
11697
|
assertParamExists('createModelState', 'sessionId', sessionId)
|
|
11675
11698
|
// verify required parameter 'reqModelState' is not null or undefined
|
|
@@ -11691,6 +11714,10 @@ export const ModelStateApiAxiosParamCreator = function (configuration?: Configur
|
|
|
11691
11714
|
// http bearer authentication required
|
|
11692
11715
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11693
11716
|
|
|
11717
|
+
if (ignoreUnknownParams !== undefined) {
|
|
11718
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
11719
|
+
}
|
|
11720
|
+
|
|
11694
11721
|
|
|
11695
11722
|
|
|
11696
11723
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -11975,11 +12002,12 @@ export const ModelStateApiFp = function(configuration?: Configuration) {
|
|
|
11975
12002
|
* @summary Create new Model-State.
|
|
11976
12003
|
* @param {string} sessionId Session ID.
|
|
11977
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`.
|
|
11978
12006
|
* @param {*} [options] Override http request option.
|
|
11979
12007
|
* @throws {RequiredError}
|
|
11980
12008
|
*/
|
|
11981
|
-
async createModelState(sessionId: string, reqModelState: ReqModelState, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResCreateModelState>> {
|
|
11982
|
-
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);
|
|
11983
12011
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11984
12012
|
const localVarOperationServerBasePath = operationServerMap['ModelStateApi.createModelState']?.[localVarOperationServerIndex]?.url;
|
|
11985
12013
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12091,11 +12119,12 @@ export const ModelStateApiFactory = function (configuration?: Configuration, bas
|
|
|
12091
12119
|
* @summary Create new Model-State.
|
|
12092
12120
|
* @param {string} sessionId Session ID.
|
|
12093
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`.
|
|
12094
12123
|
* @param {*} [options] Override http request option.
|
|
12095
12124
|
* @throws {RequiredError}
|
|
12096
12125
|
*/
|
|
12097
|
-
createModelState(sessionId: string, reqModelState: ReqModelState, options?: RawAxiosRequestConfig): AxiosPromise<ResCreateModelState> {
|
|
12098
|
-
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));
|
|
12099
12128
|
},
|
|
12100
12129
|
/**
|
|
12101
12130
|
* Subject-Restriction: __backend__.
|
|
@@ -12183,12 +12212,13 @@ export class ModelStateApi extends BaseAPI {
|
|
|
12183
12212
|
* @summary Create new Model-State.
|
|
12184
12213
|
* @param {string} sessionId Session ID.
|
|
12185
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`.
|
|
12186
12216
|
* @param {*} [options] Override http request option.
|
|
12187
12217
|
* @throws {RequiredError}
|
|
12188
12218
|
* @memberof ModelStateApi
|
|
12189
12219
|
*/
|
|
12190
|
-
public createModelState(sessionId: string, reqModelState: ReqModelState, options?: RawAxiosRequestConfig) {
|
|
12191
|
-
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));
|
|
12192
12222
|
}
|
|
12193
12223
|
|
|
12194
12224
|
/**
|
|
@@ -12286,14 +12316,15 @@ export class ModelStateApi extends BaseAPI {
|
|
|
12286
12316
|
export const OutputApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12287
12317
|
return {
|
|
12288
12318
|
/**
|
|
12289
|
-
* Permissions:
|
|
12319
|
+
* Permissions: * `compute.output.*` - __required__.
|
|
12290
12320
|
* @summary Compute all outputs for given parameter values.
|
|
12291
12321
|
* @param {string} sessionId Session ID.
|
|
12292
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`.
|
|
12293
12324
|
* @param {*} [options] Override http request option.
|
|
12294
12325
|
* @throws {RequiredError}
|
|
12295
12326
|
*/
|
|
12296
|
-
computeOutputs: async (sessionId: string, reqCustomization: ReqCustomization, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12327
|
+
computeOutputs: async (sessionId: string, reqCustomization: ReqCustomization, ignoreUnknownParams?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12297
12328
|
// verify required parameter 'sessionId' is not null or undefined
|
|
12298
12329
|
assertParamExists('computeOutputs', 'sessionId', sessionId)
|
|
12299
12330
|
// verify required parameter 'reqCustomization' is not null or undefined
|
|
@@ -12315,6 +12346,10 @@ export const OutputApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12315
12346
|
// http bearer authentication required
|
|
12316
12347
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12317
12348
|
|
|
12349
|
+
if (ignoreUnknownParams !== undefined) {
|
|
12350
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
12351
|
+
}
|
|
12352
|
+
|
|
12318
12353
|
|
|
12319
12354
|
|
|
12320
12355
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -12330,7 +12365,7 @@ export const OutputApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12330
12365
|
};
|
|
12331
12366
|
},
|
|
12332
12367
|
/**
|
|
12333
|
-
* Permissions:
|
|
12368
|
+
* Permissions: * `cache.output.get.*` - __required__.
|
|
12334
12369
|
* @summary Get output from cache / check if computation is done.
|
|
12335
12370
|
* @param {string} sessionId Session ID.
|
|
12336
12371
|
* @param {ReqCache | ReqCustomization} reqCacheReqCustomization
|
|
@@ -12374,7 +12409,7 @@ export const OutputApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12374
12409
|
};
|
|
12375
12410
|
},
|
|
12376
12411
|
/**
|
|
12377
|
-
* Permissions:
|
|
12412
|
+
* Permissions: * `cache.output.list.*` - __required__.
|
|
12378
12413
|
* @summary List output versions.
|
|
12379
12414
|
* @param {string} sessionId Session ID.
|
|
12380
12415
|
* @param {string} outputId Output ID.
|
|
@@ -12431,7 +12466,7 @@ export const OutputApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12431
12466
|
};
|
|
12432
12467
|
},
|
|
12433
12468
|
/**
|
|
12434
|
-
* Permissions:
|
|
12469
|
+
* Permissions: * `set.output.ui` - __required__.
|
|
12435
12470
|
* @summary Update definition of outputs.
|
|
12436
12471
|
* @param {string} modelId Model ID.
|
|
12437
12472
|
* @param {ReqOutputDefinitions} reqOutputDefinitions
|
|
@@ -12485,21 +12520,22 @@ export const OutputApiFp = function(configuration?: Configuration) {
|
|
|
12485
12520
|
const localVarAxiosParamCreator = OutputApiAxiosParamCreator(configuration)
|
|
12486
12521
|
return {
|
|
12487
12522
|
/**
|
|
12488
|
-
* Permissions:
|
|
12523
|
+
* Permissions: * `compute.output.*` - __required__.
|
|
12489
12524
|
* @summary Compute all outputs for given parameter values.
|
|
12490
12525
|
* @param {string} sessionId Session ID.
|
|
12491
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`.
|
|
12492
12528
|
* @param {*} [options] Override http request option.
|
|
12493
12529
|
* @throws {RequiredError}
|
|
12494
12530
|
*/
|
|
12495
|
-
async computeOutputs(sessionId: string, reqCustomization: ReqCustomization, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResComputeOutputs>> {
|
|
12496
|
-
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);
|
|
12497
12533
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12498
12534
|
const localVarOperationServerBasePath = operationServerMap['OutputApi.computeOutputs']?.[localVarOperationServerIndex]?.url;
|
|
12499
12535
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12500
12536
|
},
|
|
12501
12537
|
/**
|
|
12502
|
-
* Permissions:
|
|
12538
|
+
* Permissions: * `cache.output.get.*` - __required__.
|
|
12503
12539
|
* @summary Get output from cache / check if computation is done.
|
|
12504
12540
|
* @param {string} sessionId Session ID.
|
|
12505
12541
|
* @param {ReqCache | ReqCustomization} reqCacheReqCustomization
|
|
@@ -12513,7 +12549,7 @@ export const OutputApiFp = function(configuration?: Configuration) {
|
|
|
12513
12549
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12514
12550
|
},
|
|
12515
12551
|
/**
|
|
12516
|
-
* Permissions:
|
|
12552
|
+
* Permissions: * `cache.output.list.*` - __required__.
|
|
12517
12553
|
* @summary List output versions.
|
|
12518
12554
|
* @param {string} sessionId Session ID.
|
|
12519
12555
|
* @param {string} outputId Output ID.
|
|
@@ -12530,7 +12566,7 @@ export const OutputApiFp = function(configuration?: Configuration) {
|
|
|
12530
12566
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12531
12567
|
},
|
|
12532
12568
|
/**
|
|
12533
|
-
* Permissions:
|
|
12569
|
+
* Permissions: * `set.output.ui` - __required__.
|
|
12534
12570
|
* @summary Update definition of outputs.
|
|
12535
12571
|
* @param {string} modelId Model ID.
|
|
12536
12572
|
* @param {ReqOutputDefinitions} reqOutputDefinitions
|
|
@@ -12554,18 +12590,19 @@ export const OutputApiFactory = function (configuration?: Configuration, basePat
|
|
|
12554
12590
|
const localVarFp = OutputApiFp(configuration)
|
|
12555
12591
|
return {
|
|
12556
12592
|
/**
|
|
12557
|
-
* Permissions:
|
|
12593
|
+
* Permissions: * `compute.output.*` - __required__.
|
|
12558
12594
|
* @summary Compute all outputs for given parameter values.
|
|
12559
12595
|
* @param {string} sessionId Session ID.
|
|
12560
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`.
|
|
12561
12598
|
* @param {*} [options] Override http request option.
|
|
12562
12599
|
* @throws {RequiredError}
|
|
12563
12600
|
*/
|
|
12564
|
-
computeOutputs(sessionId: string, reqCustomization: ReqCustomization, options?: RawAxiosRequestConfig): AxiosPromise<ResComputeOutputs> {
|
|
12565
|
-
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));
|
|
12566
12603
|
},
|
|
12567
12604
|
/**
|
|
12568
|
-
* Permissions:
|
|
12605
|
+
* Permissions: * `cache.output.get.*` - __required__.
|
|
12569
12606
|
* @summary Get output from cache / check if computation is done.
|
|
12570
12607
|
* @param {string} sessionId Session ID.
|
|
12571
12608
|
* @param {ReqCache | ReqCustomization} reqCacheReqCustomization
|
|
@@ -12576,7 +12613,7 @@ export const OutputApiFactory = function (configuration?: Configuration, basePat
|
|
|
12576
12613
|
return localVarFp.getCachedOutputs(sessionId, reqCacheReqCustomization, options).then((request) => request(axios, basePath));
|
|
12577
12614
|
},
|
|
12578
12615
|
/**
|
|
12579
|
-
* Permissions:
|
|
12616
|
+
* Permissions: * `cache.output.list.*` - __required__.
|
|
12580
12617
|
* @summary List output versions.
|
|
12581
12618
|
* @param {string} sessionId Session ID.
|
|
12582
12619
|
* @param {string} outputId Output ID.
|
|
@@ -12590,7 +12627,7 @@ export const OutputApiFactory = function (configuration?: Configuration, basePat
|
|
|
12590
12627
|
return localVarFp.listOutputVersions(sessionId, outputId, statusComputation, statusCollect, offset, options).then((request) => request(axios, basePath));
|
|
12591
12628
|
},
|
|
12592
12629
|
/**
|
|
12593
|
-
* Permissions:
|
|
12630
|
+
* Permissions: * `set.output.ui` - __required__.
|
|
12594
12631
|
* @summary Update definition of outputs.
|
|
12595
12632
|
* @param {string} modelId Model ID.
|
|
12596
12633
|
* @param {ReqOutputDefinitions} reqOutputDefinitions
|
|
@@ -12611,20 +12648,21 @@ export const OutputApiFactory = function (configuration?: Configuration, basePat
|
|
|
12611
12648
|
*/
|
|
12612
12649
|
export class OutputApi extends BaseAPI {
|
|
12613
12650
|
/**
|
|
12614
|
-
* Permissions:
|
|
12651
|
+
* Permissions: * `compute.output.*` - __required__.
|
|
12615
12652
|
* @summary Compute all outputs for given parameter values.
|
|
12616
12653
|
* @param {string} sessionId Session ID.
|
|
12617
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`.
|
|
12618
12656
|
* @param {*} [options] Override http request option.
|
|
12619
12657
|
* @throws {RequiredError}
|
|
12620
12658
|
* @memberof OutputApi
|
|
12621
12659
|
*/
|
|
12622
|
-
public computeOutputs(sessionId: string, reqCustomization: ReqCustomization, options?: RawAxiosRequestConfig) {
|
|
12623
|
-
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));
|
|
12624
12662
|
}
|
|
12625
12663
|
|
|
12626
12664
|
/**
|
|
12627
|
-
* Permissions:
|
|
12665
|
+
* Permissions: * `cache.output.get.*` - __required__.
|
|
12628
12666
|
* @summary Get output from cache / check if computation is done.
|
|
12629
12667
|
* @param {string} sessionId Session ID.
|
|
12630
12668
|
* @param {ReqCache | ReqCustomization} reqCacheReqCustomization
|
|
@@ -12637,7 +12675,7 @@ export class OutputApi extends BaseAPI {
|
|
|
12637
12675
|
}
|
|
12638
12676
|
|
|
12639
12677
|
/**
|
|
12640
|
-
* Permissions:
|
|
12678
|
+
* Permissions: * `cache.output.list.*` - __required__.
|
|
12641
12679
|
* @summary List output versions.
|
|
12642
12680
|
* @param {string} sessionId Session ID.
|
|
12643
12681
|
* @param {string} outputId Output ID.
|
|
@@ -12653,7 +12691,7 @@ export class OutputApi extends BaseAPI {
|
|
|
12653
12691
|
}
|
|
12654
12692
|
|
|
12655
12693
|
/**
|
|
12656
|
-
* Permissions:
|
|
12694
|
+
* Permissions: * `set.output.ui` - __required__.
|
|
12657
12695
|
* @summary Update definition of outputs.
|
|
12658
12696
|
* @param {string} modelId Model ID.
|
|
12659
12697
|
* @param {ReqOutputDefinitions} reqOutputDefinitions
|
|
@@ -12675,7 +12713,7 @@ export class OutputApi extends BaseAPI {
|
|
|
12675
12713
|
export const ScriptApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12676
12714
|
return {
|
|
12677
12715
|
/**
|
|
12678
|
-
* Permissions:
|
|
12716
|
+
* Permissions: * `script.confirm.*` - __required__.
|
|
12679
12717
|
* @summary Confirm script.
|
|
12680
12718
|
* @param {string} scriptId Script ID.
|
|
12681
12719
|
* @param {*} [options] Override http request option.
|
|
@@ -12713,7 +12751,7 @@ export const ScriptApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12713
12751
|
};
|
|
12714
12752
|
},
|
|
12715
12753
|
/**
|
|
12716
|
-
* Permissions:
|
|
12754
|
+
* Permissions: * `script.deny.*` - __required__.
|
|
12717
12755
|
* @summary Deny script.
|
|
12718
12756
|
* @param {string} scriptId Script ID.
|
|
12719
12757
|
* @param {*} [options] Override http request option.
|
|
@@ -12761,7 +12799,7 @@ export const ScriptApiFp = function(configuration?: Configuration) {
|
|
|
12761
12799
|
const localVarAxiosParamCreator = ScriptApiAxiosParamCreator(configuration)
|
|
12762
12800
|
return {
|
|
12763
12801
|
/**
|
|
12764
|
-
* Permissions:
|
|
12802
|
+
* Permissions: * `script.confirm.*` - __required__.
|
|
12765
12803
|
* @summary Confirm script.
|
|
12766
12804
|
* @param {string} scriptId Script ID.
|
|
12767
12805
|
* @param {*} [options] Override http request option.
|
|
@@ -12774,7 +12812,7 @@ export const ScriptApiFp = function(configuration?: Configuration) {
|
|
|
12774
12812
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12775
12813
|
},
|
|
12776
12814
|
/**
|
|
12777
|
-
* Permissions:
|
|
12815
|
+
* Permissions: * `script.deny.*` - __required__.
|
|
12778
12816
|
* @summary Deny script.
|
|
12779
12817
|
* @param {string} scriptId Script ID.
|
|
12780
12818
|
* @param {*} [options] Override http request option.
|
|
@@ -12797,7 +12835,7 @@ export const ScriptApiFactory = function (configuration?: Configuration, basePat
|
|
|
12797
12835
|
const localVarFp = ScriptApiFp(configuration)
|
|
12798
12836
|
return {
|
|
12799
12837
|
/**
|
|
12800
|
-
* Permissions:
|
|
12838
|
+
* Permissions: * `script.confirm.*` - __required__.
|
|
12801
12839
|
* @summary Confirm script.
|
|
12802
12840
|
* @param {string} scriptId Script ID.
|
|
12803
12841
|
* @param {*} [options] Override http request option.
|
|
@@ -12807,7 +12845,7 @@ export const ScriptApiFactory = function (configuration?: Configuration, basePat
|
|
|
12807
12845
|
return localVarFp.confirmScript(scriptId, options).then((request) => request(axios, basePath));
|
|
12808
12846
|
},
|
|
12809
12847
|
/**
|
|
12810
|
-
* Permissions:
|
|
12848
|
+
* Permissions: * `script.deny.*` - __required__.
|
|
12811
12849
|
* @summary Deny script.
|
|
12812
12850
|
* @param {string} scriptId Script ID.
|
|
12813
12851
|
* @param {*} [options] Override http request option.
|
|
@@ -12827,7 +12865,7 @@ export const ScriptApiFactory = function (configuration?: Configuration, basePat
|
|
|
12827
12865
|
*/
|
|
12828
12866
|
export class ScriptApi extends BaseAPI {
|
|
12829
12867
|
/**
|
|
12830
|
-
* Permissions:
|
|
12868
|
+
* Permissions: * `script.confirm.*` - __required__.
|
|
12831
12869
|
* @summary Confirm script.
|
|
12832
12870
|
* @param {string} scriptId Script ID.
|
|
12833
12871
|
* @param {*} [options] Override http request option.
|
|
@@ -12839,7 +12877,7 @@ export class ScriptApi extends BaseAPI {
|
|
|
12839
12877
|
}
|
|
12840
12878
|
|
|
12841
12879
|
/**
|
|
12842
|
-
* Permissions:
|
|
12880
|
+
* Permissions: * `script.deny.*` - __required__.
|
|
12843
12881
|
* @summary Deny script.
|
|
12844
12882
|
* @param {string} scriptId Script ID.
|
|
12845
12883
|
* @param {*} [options] Override http request option.
|
|
@@ -12860,7 +12898,7 @@ export class ScriptApi extends BaseAPI {
|
|
|
12860
12898
|
export const SdtfApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12861
12899
|
return {
|
|
12862
12900
|
/**
|
|
12863
|
-
* Permissions:
|
|
12901
|
+
* Permissions: * `asset.sdtf.delete.*` - __required__.
|
|
12864
12902
|
* @summary Delete a sdTF-assets.
|
|
12865
12903
|
* @param {string} sessionId Session ID.
|
|
12866
12904
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -12906,7 +12944,7 @@ export const SdtfApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
12906
12944
|
};
|
|
12907
12945
|
},
|
|
12908
12946
|
/**
|
|
12909
|
-
* Permissions:
|
|
12947
|
+
* Permissions: * `asset.sdtf.get.*` - __required__.
|
|
12910
12948
|
* @summary Download a sdTF-asset.
|
|
12911
12949
|
* @param {string} sessionId Session ID.
|
|
12912
12950
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -12952,7 +12990,7 @@ export const SdtfApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
12952
12990
|
};
|
|
12953
12991
|
},
|
|
12954
12992
|
/**
|
|
12955
|
-
* Permissions:
|
|
12993
|
+
* Permissions: * `asset.sdtf.list.*` - __required__.
|
|
12956
12994
|
* @summary List all sdTF-assets of a namespace.
|
|
12957
12995
|
* @param {string} sessionId Session ID.
|
|
12958
12996
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -12999,7 +13037,7 @@ export const SdtfApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
12999
13037
|
};
|
|
13000
13038
|
},
|
|
13001
13039
|
/**
|
|
13002
|
-
* Permissions:
|
|
13040
|
+
* Permissions: * `asset.sdtf.create.*` - __required__.
|
|
13003
13041
|
* @summary Request upload URL for a sdTF-asset.
|
|
13004
13042
|
* @param {string} sessionId Session ID.
|
|
13005
13043
|
* @param {Array<ReqSdtfDefinition>} reqSdtfDefinition
|
|
@@ -13053,7 +13091,7 @@ export const SdtfApiFp = function(configuration?: Configuration) {
|
|
|
13053
13091
|
const localVarAxiosParamCreator = SdtfApiAxiosParamCreator(configuration)
|
|
13054
13092
|
return {
|
|
13055
13093
|
/**
|
|
13056
|
-
* Permissions:
|
|
13094
|
+
* Permissions: * `asset.sdtf.delete.*` - __required__.
|
|
13057
13095
|
* @summary Delete a sdTF-assets.
|
|
13058
13096
|
* @param {string} sessionId Session ID.
|
|
13059
13097
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13068,7 +13106,7 @@ export const SdtfApiFp = function(configuration?: Configuration) {
|
|
|
13068
13106
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13069
13107
|
},
|
|
13070
13108
|
/**
|
|
13071
|
-
* Permissions:
|
|
13109
|
+
* Permissions: * `asset.sdtf.get.*` - __required__.
|
|
13072
13110
|
* @summary Download a sdTF-asset.
|
|
13073
13111
|
* @param {string} sessionId Session ID.
|
|
13074
13112
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13083,7 +13121,7 @@ export const SdtfApiFp = function(configuration?: Configuration) {
|
|
|
13083
13121
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13084
13122
|
},
|
|
13085
13123
|
/**
|
|
13086
|
-
* Permissions:
|
|
13124
|
+
* Permissions: * `asset.sdtf.list.*` - __required__.
|
|
13087
13125
|
* @summary List all sdTF-assets of a namespace.
|
|
13088
13126
|
* @param {string} sessionId Session ID.
|
|
13089
13127
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13098,7 +13136,7 @@ export const SdtfApiFp = function(configuration?: Configuration) {
|
|
|
13098
13136
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13099
13137
|
},
|
|
13100
13138
|
/**
|
|
13101
|
-
* Permissions:
|
|
13139
|
+
* Permissions: * `asset.sdtf.create.*` - __required__.
|
|
13102
13140
|
* @summary Request upload URL for a sdTF-asset.
|
|
13103
13141
|
* @param {string} sessionId Session ID.
|
|
13104
13142
|
* @param {Array<ReqSdtfDefinition>} reqSdtfDefinition
|
|
@@ -13122,7 +13160,7 @@ export const SdtfApiFactory = function (configuration?: Configuration, basePath?
|
|
|
13122
13160
|
const localVarFp = SdtfApiFp(configuration)
|
|
13123
13161
|
return {
|
|
13124
13162
|
/**
|
|
13125
|
-
* Permissions:
|
|
13163
|
+
* Permissions: * `asset.sdtf.delete.*` - __required__.
|
|
13126
13164
|
* @summary Delete a sdTF-assets.
|
|
13127
13165
|
* @param {string} sessionId Session ID.
|
|
13128
13166
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13134,7 +13172,7 @@ export const SdtfApiFactory = function (configuration?: Configuration, basePath?
|
|
|
13134
13172
|
return localVarFp.deleteSdtf(sessionId, namespace, sdtfId, options).then((request) => request(axios, basePath));
|
|
13135
13173
|
},
|
|
13136
13174
|
/**
|
|
13137
|
-
* Permissions:
|
|
13175
|
+
* Permissions: * `asset.sdtf.get.*` - __required__.
|
|
13138
13176
|
* @summary Download a sdTF-asset.
|
|
13139
13177
|
* @param {string} sessionId Session ID.
|
|
13140
13178
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13146,7 +13184,7 @@ export const SdtfApiFactory = function (configuration?: Configuration, basePath?
|
|
|
13146
13184
|
return localVarFp.downloadSdtf(sessionId, namespace, sdtfId, options).then((request) => request(axios, basePath));
|
|
13147
13185
|
},
|
|
13148
13186
|
/**
|
|
13149
|
-
* Permissions:
|
|
13187
|
+
* Permissions: * `asset.sdtf.list.*` - __required__.
|
|
13150
13188
|
* @summary List all sdTF-assets of a namespace.
|
|
13151
13189
|
* @param {string} sessionId Session ID.
|
|
13152
13190
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13158,7 +13196,7 @@ export const SdtfApiFactory = function (configuration?: Configuration, basePath?
|
|
|
13158
13196
|
return localVarFp.listSdtfs(sessionId, namespace, offset, options).then((request) => request(axios, basePath));
|
|
13159
13197
|
},
|
|
13160
13198
|
/**
|
|
13161
|
-
* Permissions:
|
|
13199
|
+
* Permissions: * `asset.sdtf.create.*` - __required__.
|
|
13162
13200
|
* @summary Request upload URL for a sdTF-asset.
|
|
13163
13201
|
* @param {string} sessionId Session ID.
|
|
13164
13202
|
* @param {Array<ReqSdtfDefinition>} reqSdtfDefinition
|
|
@@ -13179,7 +13217,7 @@ export const SdtfApiFactory = function (configuration?: Configuration, basePath?
|
|
|
13179
13217
|
*/
|
|
13180
13218
|
export class SdtfApi extends BaseAPI {
|
|
13181
13219
|
/**
|
|
13182
|
-
* Permissions:
|
|
13220
|
+
* Permissions: * `asset.sdtf.delete.*` - __required__.
|
|
13183
13221
|
* @summary Delete a sdTF-assets.
|
|
13184
13222
|
* @param {string} sessionId Session ID.
|
|
13185
13223
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13193,7 +13231,7 @@ export class SdtfApi extends BaseAPI {
|
|
|
13193
13231
|
}
|
|
13194
13232
|
|
|
13195
13233
|
/**
|
|
13196
|
-
* Permissions:
|
|
13234
|
+
* Permissions: * `asset.sdtf.get.*` - __required__.
|
|
13197
13235
|
* @summary Download a sdTF-asset.
|
|
13198
13236
|
* @param {string} sessionId Session ID.
|
|
13199
13237
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13207,7 +13245,7 @@ export class SdtfApi extends BaseAPI {
|
|
|
13207
13245
|
}
|
|
13208
13246
|
|
|
13209
13247
|
/**
|
|
13210
|
-
* Permissions:
|
|
13248
|
+
* Permissions: * `asset.sdtf.list.*` - __required__.
|
|
13211
13249
|
* @summary List all sdTF-assets of a namespace.
|
|
13212
13250
|
* @param {string} sessionId Session ID.
|
|
13213
13251
|
* @param {string} namespace Namespace of the sdTF asset.
|
|
@@ -13221,7 +13259,7 @@ export class SdtfApi extends BaseAPI {
|
|
|
13221
13259
|
}
|
|
13222
13260
|
|
|
13223
13261
|
/**
|
|
13224
|
-
* Permissions:
|
|
13262
|
+
* Permissions: * `asset.sdtf.create.*` - __required__.
|
|
13225
13263
|
* @summary Request upload URL for a sdTF-asset.
|
|
13226
13264
|
* @param {string} sessionId Session ID.
|
|
13227
13265
|
* @param {Array<ReqSdtfDefinition>} reqSdtfDefinition
|
|
@@ -13281,16 +13319,17 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13281
13319
|
};
|
|
13282
13320
|
},
|
|
13283
13321
|
/**
|
|
13284
|
-
* 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.
|
|
13285
13323
|
* @summary Initialize new session by model ID.
|
|
13286
13324
|
* @param {string} modelId Model ID.
|
|
13287
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`.
|
|
13288
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`.
|
|
13289
13328
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13290
13329
|
* @param {*} [options] Override http request option.
|
|
13291
13330
|
* @throws {RequiredError}
|
|
13292
13331
|
*/
|
|
13293
|
-
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> => {
|
|
13294
13333
|
// verify required parameter 'modelId' is not null or undefined
|
|
13295
13334
|
assertParamExists('createSessionByModel', 'modelId', modelId)
|
|
13296
13335
|
const localVarPath = `/api/v2/model/{modelId}/session`
|
|
@@ -13314,6 +13353,10 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13314
13353
|
localVarQueryParameter['modelStateId'] = modelStateId;
|
|
13315
13354
|
}
|
|
13316
13355
|
|
|
13356
|
+
if (ignoreUnknownParams !== undefined) {
|
|
13357
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
13358
|
+
}
|
|
13359
|
+
|
|
13317
13360
|
if (strictValidation !== undefined) {
|
|
13318
13361
|
localVarQueryParameter['strictValidation'] = strictValidation;
|
|
13319
13362
|
}
|
|
@@ -13333,16 +13376,17 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13333
13376
|
};
|
|
13334
13377
|
},
|
|
13335
13378
|
/**
|
|
13336
|
-
* 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.
|
|
13337
13380
|
* @summary Initialize new session by ticket.
|
|
13338
13381
|
* @param {string} ticketId Encrypted ticket.
|
|
13339
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`.
|
|
13340
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`.
|
|
13341
13385
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13342
13386
|
* @param {*} [options] Override http request option.
|
|
13343
13387
|
* @throws {RequiredError}
|
|
13344
13388
|
*/
|
|
13345
|
-
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> => {
|
|
13346
13390
|
// verify required parameter 'ticketId' is not null or undefined
|
|
13347
13391
|
assertParamExists('createSessionByTicket', 'ticketId', ticketId)
|
|
13348
13392
|
const localVarPath = `/api/v2/ticket/{ticketId}`
|
|
@@ -13362,6 +13406,10 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13362
13406
|
localVarQueryParameter['modelStateId'] = modelStateId;
|
|
13363
13407
|
}
|
|
13364
13408
|
|
|
13409
|
+
if (ignoreUnknownParams !== undefined) {
|
|
13410
|
+
localVarQueryParameter['ignoreUnknownParams'] = ignoreUnknownParams;
|
|
13411
|
+
}
|
|
13412
|
+
|
|
13365
13413
|
if (strictValidation !== undefined) {
|
|
13366
13414
|
localVarQueryParameter['strictValidation'] = strictValidation;
|
|
13367
13415
|
}
|
|
@@ -13381,7 +13429,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13381
13429
|
};
|
|
13382
13430
|
},
|
|
13383
13431
|
/**
|
|
13384
|
-
* 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.
|
|
13385
13433
|
* @summary Create a new ticket that allows to initialize a new session.
|
|
13386
13434
|
* @param {string} modelId Model ID.
|
|
13387
13435
|
* @param {ReqTicket} reqTicket
|
|
@@ -13425,7 +13473,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13425
13473
|
};
|
|
13426
13474
|
},
|
|
13427
13475
|
/**
|
|
13428
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
13476
|
+
* Subject-Restriction: __backend__. Permissions: * `setting.auth.ticket.decrypt.*` - __required__.
|
|
13429
13477
|
* @summary Decrypt the given ticket and return its details.
|
|
13430
13478
|
* @param {string} ticketEncrypted Encrypted ShapeDiver ticket.
|
|
13431
13479
|
* @param {*} [options] Override http request option.
|
|
@@ -13463,7 +13511,7 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13463
13511
|
};
|
|
13464
13512
|
},
|
|
13465
13513
|
/**
|
|
13466
|
-
* 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.
|
|
13467
13515
|
* @summary Get session defaults (corresponds to the content of the session initialization request).
|
|
13468
13516
|
* @param {string} sessionId Session ID.
|
|
13469
13517
|
* @param {*} [options] Override http request option.
|
|
@@ -13524,39 +13572,41 @@ export const SessionApiFp = function(configuration?: Configuration) {
|
|
|
13524
13572
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13525
13573
|
},
|
|
13526
13574
|
/**
|
|
13527
|
-
* 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.
|
|
13528
13576
|
* @summary Initialize new session by model ID.
|
|
13529
13577
|
* @param {string} modelId Model ID.
|
|
13530
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`.
|
|
13531
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`.
|
|
13532
13581
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13533
13582
|
* @param {*} [options] Override http request option.
|
|
13534
13583
|
* @throws {RequiredError}
|
|
13535
13584
|
*/
|
|
13536
|
-
async createSessionByModel(modelId: string, modelStateId?: string, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResCreateSessionByModel>> {
|
|
13537
|
-
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);
|
|
13538
13587
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13539
13588
|
const localVarOperationServerBasePath = operationServerMap['SessionApi.createSessionByModel']?.[localVarOperationServerIndex]?.url;
|
|
13540
13589
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13541
13590
|
},
|
|
13542
13591
|
/**
|
|
13543
|
-
* 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.
|
|
13544
13593
|
* @summary Initialize new session by ticket.
|
|
13545
13594
|
* @param {string} ticketId Encrypted ticket.
|
|
13546
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`.
|
|
13547
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`.
|
|
13548
13598
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13549
13599
|
* @param {*} [options] Override http request option.
|
|
13550
13600
|
* @throws {RequiredError}
|
|
13551
13601
|
*/
|
|
13552
|
-
async createSessionByTicket(ticketId: string, modelStateId?: string, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResCreateSessionByTicket>> {
|
|
13553
|
-
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);
|
|
13554
13604
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13555
13605
|
const localVarOperationServerBasePath = operationServerMap['SessionApi.createSessionByTicket']?.[localVarOperationServerIndex]?.url;
|
|
13556
13606
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13557
13607
|
},
|
|
13558
13608
|
/**
|
|
13559
|
-
* 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.
|
|
13560
13610
|
* @summary Create a new ticket that allows to initialize a new session.
|
|
13561
13611
|
* @param {string} modelId Model ID.
|
|
13562
13612
|
* @param {ReqTicket} reqTicket
|
|
@@ -13570,7 +13620,7 @@ export const SessionApiFp = function(configuration?: Configuration) {
|
|
|
13570
13620
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13571
13621
|
},
|
|
13572
13622
|
/**
|
|
13573
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
13623
|
+
* Subject-Restriction: __backend__. Permissions: * `setting.auth.ticket.decrypt.*` - __required__.
|
|
13574
13624
|
* @summary Decrypt the given ticket and return its details.
|
|
13575
13625
|
* @param {string} ticketEncrypted Encrypted ShapeDiver ticket.
|
|
13576
13626
|
* @param {*} [options] Override http request option.
|
|
@@ -13583,7 +13633,7 @@ export const SessionApiFp = function(configuration?: Configuration) {
|
|
|
13583
13633
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13584
13634
|
},
|
|
13585
13635
|
/**
|
|
13586
|
-
* 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.
|
|
13587
13637
|
* @summary Get session defaults (corresponds to the content of the session initialization request).
|
|
13588
13638
|
* @param {string} sessionId Session ID.
|
|
13589
13639
|
* @param {*} [options] Override http request option.
|
|
@@ -13616,33 +13666,35 @@ export const SessionApiFactory = function (configuration?: Configuration, basePa
|
|
|
13616
13666
|
return localVarFp.closeSession(sessionId, options).then((request) => request(axios, basePath));
|
|
13617
13667
|
},
|
|
13618
13668
|
/**
|
|
13619
|
-
* 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.
|
|
13620
13670
|
* @summary Initialize new session by model ID.
|
|
13621
13671
|
* @param {string} modelId Model ID.
|
|
13622
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`.
|
|
13623
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`.
|
|
13624
13675
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13625
13676
|
* @param {*} [options] Override http request option.
|
|
13626
13677
|
* @throws {RequiredError}
|
|
13627
13678
|
*/
|
|
13628
|
-
createSessionByModel(modelId: string, modelStateId?: string, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig): AxiosPromise<ResCreateSessionByModel> {
|
|
13629
|
-
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));
|
|
13630
13681
|
},
|
|
13631
13682
|
/**
|
|
13632
|
-
* 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.
|
|
13633
13684
|
* @summary Initialize new session by ticket.
|
|
13634
13685
|
* @param {string} ticketId Encrypted ticket.
|
|
13635
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`.
|
|
13636
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`.
|
|
13637
13689
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13638
13690
|
* @param {*} [options] Override http request option.
|
|
13639
13691
|
* @throws {RequiredError}
|
|
13640
13692
|
*/
|
|
13641
|
-
createSessionByTicket(ticketId: string, modelStateId?: string, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig): AxiosPromise<ResCreateSessionByTicket> {
|
|
13642
|
-
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));
|
|
13643
13695
|
},
|
|
13644
13696
|
/**
|
|
13645
|
-
* 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.
|
|
13646
13698
|
* @summary Create a new ticket that allows to initialize a new session.
|
|
13647
13699
|
* @param {string} modelId Model ID.
|
|
13648
13700
|
* @param {ReqTicket} reqTicket
|
|
@@ -13653,7 +13705,7 @@ export const SessionApiFactory = function (configuration?: Configuration, basePa
|
|
|
13653
13705
|
return localVarFp.createTicket(modelId, reqTicket, options).then((request) => request(axios, basePath));
|
|
13654
13706
|
},
|
|
13655
13707
|
/**
|
|
13656
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
13708
|
+
* Subject-Restriction: __backend__. Permissions: * `setting.auth.ticket.decrypt.*` - __required__.
|
|
13657
13709
|
* @summary Decrypt the given ticket and return its details.
|
|
13658
13710
|
* @param {string} ticketEncrypted Encrypted ShapeDiver ticket.
|
|
13659
13711
|
* @param {*} [options] Override http request option.
|
|
@@ -13663,7 +13715,7 @@ export const SessionApiFactory = function (configuration?: Configuration, basePa
|
|
|
13663
13715
|
return localVarFp.decryptTicket(ticketEncrypted, options).then((request) => request(axios, basePath));
|
|
13664
13716
|
},
|
|
13665
13717
|
/**
|
|
13666
|
-
* 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.
|
|
13667
13719
|
* @summary Get session defaults (corresponds to the content of the session initialization request).
|
|
13668
13720
|
* @param {string} sessionId Session ID.
|
|
13669
13721
|
* @param {*} [options] Override http request option.
|
|
@@ -13695,37 +13747,39 @@ export class SessionApi extends BaseAPI {
|
|
|
13695
13747
|
}
|
|
13696
13748
|
|
|
13697
13749
|
/**
|
|
13698
|
-
* 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.
|
|
13699
13751
|
* @summary Initialize new session by model ID.
|
|
13700
13752
|
* @param {string} modelId Model ID.
|
|
13701
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`.
|
|
13702
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`.
|
|
13703
13756
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13704
13757
|
* @param {*} [options] Override http request option.
|
|
13705
13758
|
* @throws {RequiredError}
|
|
13706
13759
|
* @memberof SessionApi
|
|
13707
13760
|
*/
|
|
13708
|
-
public createSessionByModel(modelId: string, modelStateId?: string, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig) {
|
|
13709
|
-
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));
|
|
13710
13763
|
}
|
|
13711
13764
|
|
|
13712
13765
|
/**
|
|
13713
|
-
* 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.
|
|
13714
13767
|
* @summary Initialize new session by ticket.
|
|
13715
13768
|
* @param {string} ticketId Encrypted ticket.
|
|
13716
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`.
|
|
13717
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`.
|
|
13718
13772
|
* @param {ReqCustomizationOrExport} [reqCustomizationOrExport]
|
|
13719
13773
|
* @param {*} [options] Override http request option.
|
|
13720
13774
|
* @throws {RequiredError}
|
|
13721
13775
|
* @memberof SessionApi
|
|
13722
13776
|
*/
|
|
13723
|
-
public createSessionByTicket(ticketId: string, modelStateId?: string, strictValidation?: boolean, reqCustomizationOrExport?: ReqCustomizationOrExport, options?: RawAxiosRequestConfig) {
|
|
13724
|
-
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));
|
|
13725
13779
|
}
|
|
13726
13780
|
|
|
13727
13781
|
/**
|
|
13728
|
-
* 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.
|
|
13729
13783
|
* @summary Create a new ticket that allows to initialize a new session.
|
|
13730
13784
|
* @param {string} modelId Model ID.
|
|
13731
13785
|
* @param {ReqTicket} reqTicket
|
|
@@ -13738,7 +13792,7 @@ export class SessionApi extends BaseAPI {
|
|
|
13738
13792
|
}
|
|
13739
13793
|
|
|
13740
13794
|
/**
|
|
13741
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
13795
|
+
* Subject-Restriction: __backend__. Permissions: * `setting.auth.ticket.decrypt.*` - __required__.
|
|
13742
13796
|
* @summary Decrypt the given ticket and return its details.
|
|
13743
13797
|
* @param {string} ticketEncrypted Encrypted ShapeDiver ticket.
|
|
13744
13798
|
* @param {*} [options] Override http request option.
|
|
@@ -13750,7 +13804,7 @@ export class SessionApi extends BaseAPI {
|
|
|
13750
13804
|
}
|
|
13751
13805
|
|
|
13752
13806
|
/**
|
|
13753
|
-
* 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.
|
|
13754
13808
|
* @summary Get session defaults (corresponds to the content of the session initialization request).
|
|
13755
13809
|
* @param {string} sessionId Session ID.
|
|
13756
13810
|
* @param {*} [options] Override http request option.
|
|
@@ -13813,7 +13867,7 @@ export const SystemApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13813
13867
|
};
|
|
13814
13868
|
},
|
|
13815
13869
|
/**
|
|
13816
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
13870
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.hard` - __required__.
|
|
13817
13871
|
* @summary Delete model permanently.
|
|
13818
13872
|
* @param {string} modelId Model ID.
|
|
13819
13873
|
* @param {*} [options] Override http request option.
|
|
@@ -13951,7 +14005,7 @@ export const SystemApiFp = function(configuration?: Configuration) {
|
|
|
13951
14005
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13952
14006
|
},
|
|
13953
14007
|
/**
|
|
13954
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
14008
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.hard` - __required__.
|
|
13955
14009
|
* @summary Delete model permanently.
|
|
13956
14010
|
* @param {string} modelId Model ID.
|
|
13957
14011
|
* @param {*} [options] Override http request option.
|
|
@@ -14009,7 +14063,7 @@ export const SystemApiFactory = function (configuration?: Configuration, basePat
|
|
|
14009
14063
|
return localVarFp.createSignedUrl(endpoint, encodedUri, options).then((request) => request(axios, basePath));
|
|
14010
14064
|
},
|
|
14011
14065
|
/**
|
|
14012
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
14066
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.hard` - __required__.
|
|
14013
14067
|
* @summary Delete model permanently.
|
|
14014
14068
|
* @param {string} modelId Model ID.
|
|
14015
14069
|
* @param {*} [options] Override http request option.
|
|
@@ -14060,7 +14114,7 @@ export class SystemApi extends BaseAPI {
|
|
|
14060
14114
|
}
|
|
14061
14115
|
|
|
14062
14116
|
/**
|
|
14063
|
-
* Subject-Restriction: __backend__. Permissions:
|
|
14117
|
+
* Subject-Restriction: __backend__. Permissions: * `delete.hard` - __required__.
|
|
14064
14118
|
* @summary Delete model permanently.
|
|
14065
14119
|
* @param {string} modelId Model ID.
|
|
14066
14120
|
* @param {*} [options] Override http request option.
|
|
@@ -14103,7 +14157,7 @@ export class SystemApi extends BaseAPI {
|
|
|
14103
14157
|
export const TextureApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
14104
14158
|
return {
|
|
14105
14159
|
/**
|
|
14106
|
-
* Permissions:
|
|
14160
|
+
* Permissions: * `cache.texture.list.*` - __required__.
|
|
14107
14161
|
* @summary List model textures.
|
|
14108
14162
|
* @param {string} sessionId Session ID.
|
|
14109
14163
|
* @param {string} [offset] Continuation token for pagination.
|
|
@@ -14156,7 +14210,7 @@ export const TextureApiFp = function(configuration?: Configuration) {
|
|
|
14156
14210
|
const localVarAxiosParamCreator = TextureApiAxiosParamCreator(configuration)
|
|
14157
14211
|
return {
|
|
14158
14212
|
/**
|
|
14159
|
-
* Permissions:
|
|
14213
|
+
* Permissions: * `cache.texture.list.*` - __required__.
|
|
14160
14214
|
* @summary List model textures.
|
|
14161
14215
|
* @param {string} sessionId Session ID.
|
|
14162
14216
|
* @param {string} [offset] Continuation token for pagination.
|
|
@@ -14180,7 +14234,7 @@ export const TextureApiFactory = function (configuration?: Configuration, basePa
|
|
|
14180
14234
|
const localVarFp = TextureApiFp(configuration)
|
|
14181
14235
|
return {
|
|
14182
14236
|
/**
|
|
14183
|
-
* Permissions:
|
|
14237
|
+
* Permissions: * `cache.texture.list.*` - __required__.
|
|
14184
14238
|
* @summary List model textures.
|
|
14185
14239
|
* @param {string} sessionId Session ID.
|
|
14186
14240
|
* @param {string} [offset] Continuation token for pagination.
|
|
@@ -14201,7 +14255,7 @@ export const TextureApiFactory = function (configuration?: Configuration, basePa
|
|
|
14201
14255
|
*/
|
|
14202
14256
|
export class TextureApi extends BaseAPI {
|
|
14203
14257
|
/**
|
|
14204
|
-
* Permissions:
|
|
14258
|
+
* Permissions: * `cache.texture.list.*` - __required__.
|
|
14205
14259
|
* @summary List model textures.
|
|
14206
14260
|
* @param {string} sessionId Session ID.
|
|
14207
14261
|
* @param {string} [offset] Continuation token for pagination.
|