1515import ApiClient from "../ApiClient" ;
1616import Classification from '../model/Classification' ;
1717import Element from '../model/Element' ;
18- import ElementClassificationRelation from '../model/ElementClassificationRelation' ;
19- import ElementPropertySetRelation from '../model/ElementPropertySetRelation' ;
2018import Ifc from '../model/Ifc' ;
2119import IfcAccessToken from '../model/IfcAccessToken' ;
2220import IfcErrors from '../model/IfcErrors' ;
@@ -916,15 +914,14 @@ export default class IfcApi {
916914
917915 /**
918916 * Create association between existing classification and existing element
919- * Create association between existing classification and existing element Required scopes: ifc:write
917+ * Required scopes: ifc:write
920918 * @param {String } cloudPk
921919 * @param {String } ifcPk
922920 * @param {String } projectPk
923- * @param {Array.<module:model/ElementClassificationRelation> } data
924921 * @return {Promise } a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
925922 */
926- createClassificationElementRelationsWithHttpInfo ( cloudPk , ifcPk , projectPk , data ) {
927- let postBody = data ;
923+ createClassificationElementRelationsWithHttpInfo ( cloudPk , ifcPk , projectPk ) {
924+ let postBody = null ;
928925 // verify the required parameter 'cloudPk' is set
929926 if ( cloudPk === undefined || cloudPk === null ) {
930927 throw new Error ( "Missing the required parameter 'cloudPk' when calling createClassificationElementRelations" ) ;
@@ -937,10 +934,6 @@ export default class IfcApi {
937934 if ( projectPk === undefined || projectPk === null ) {
938935 throw new Error ( "Missing the required parameter 'projectPk' when calling createClassificationElementRelations" ) ;
939936 }
940- // verify the required parameter 'data' is set
941- if ( data === undefined || data === null ) {
942- throw new Error ( "Missing the required parameter 'data' when calling createClassificationElementRelations" ) ;
943- }
944937
945938 let pathParams = {
946939 'cloud_pk' : cloudPk ,
@@ -955,7 +948,7 @@ export default class IfcApi {
955948 } ;
956949
957950 let authNames = [ 'Bearer' , 'bimdata_connect' , 'client_credentials' ] ;
958- let contentTypes = [ 'application/json' ] ;
951+ let contentTypes = [ ] ;
959952 let accepts = [ ] ;
960953 let returnType = null ;
961954 return this . apiClient . callApi (
@@ -967,15 +960,14 @@ export default class IfcApi {
967960
968961 /**
969962 * Create association between existing classification and existing element
970- * Create association between existing classification and existing element Required scopes: ifc:write
963+ * Required scopes: ifc:write
971964 * @param {String } cloudPk
972965 * @param {String } ifcPk
973966 * @param {String } projectPk
974- * @param {Array.<module:model/ElementClassificationRelation> } data
975967 * @return {Promise } a {@link https://www.promisejs.org/|Promise}
976968 */
977- createClassificationElementRelations ( cloudPk , ifcPk , projectPk , data ) {
978- return this . createClassificationElementRelationsWithHttpInfo ( cloudPk , ifcPk , projectPk , data )
969+ createClassificationElementRelations ( cloudPk , ifcPk , projectPk ) {
970+ return this . createClassificationElementRelationsWithHttpInfo ( cloudPk , ifcPk , projectPk )
979971 . then ( function ( response_and_data ) {
980972 return response_and_data . data ;
981973 } ) ;
@@ -1741,15 +1733,14 @@ export default class IfcApi {
17411733
17421734 /**
17431735 * Create association between PropertySet and element
1744- * Create association between existing PropertySet and existing element Required scopes: ifc:write
1736+ * Required scopes: ifc:write
17451737 * @param {String } cloudPk
17461738 * @param {String } ifcPk
17471739 * @param {String } projectPk
1748- * @param {Array.<module:model/ElementPropertySetRelation> } data
17491740 * @return {Promise } a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
17501741 */
1751- createPropertySetElementRelationsWithHttpInfo ( cloudPk , ifcPk , projectPk , data ) {
1752- let postBody = data ;
1742+ createPropertySetElementRelationsWithHttpInfo ( cloudPk , ifcPk , projectPk ) {
1743+ let postBody = null ;
17531744 // verify the required parameter 'cloudPk' is set
17541745 if ( cloudPk === undefined || cloudPk === null ) {
17551746 throw new Error ( "Missing the required parameter 'cloudPk' when calling createPropertySetElementRelations" ) ;
@@ -1762,10 +1753,6 @@ export default class IfcApi {
17621753 if ( projectPk === undefined || projectPk === null ) {
17631754 throw new Error ( "Missing the required parameter 'projectPk' when calling createPropertySetElementRelations" ) ;
17641755 }
1765- // verify the required parameter 'data' is set
1766- if ( data === undefined || data === null ) {
1767- throw new Error ( "Missing the required parameter 'data' when calling createPropertySetElementRelations" ) ;
1768- }
17691756
17701757 let pathParams = {
17711758 'cloud_pk' : cloudPk ,
@@ -1780,7 +1767,7 @@ export default class IfcApi {
17801767 } ;
17811768
17821769 let authNames = [ 'Bearer' , 'bimdata_connect' , 'client_credentials' ] ;
1783- let contentTypes = [ 'application/json' ] ;
1770+ let contentTypes = [ ] ;
17841771 let accepts = [ ] ;
17851772 let returnType = null ;
17861773 return this . apiClient . callApi (
@@ -1792,15 +1779,14 @@ export default class IfcApi {
17921779
17931780 /**
17941781 * Create association between PropertySet and element
1795- * Create association between existing PropertySet and existing element Required scopes: ifc:write
1782+ * Required scopes: ifc:write
17961783 * @param {String } cloudPk
17971784 * @param {String } ifcPk
17981785 * @param {String } projectPk
1799- * @param {Array.<module:model/ElementPropertySetRelation> } data
18001786 * @return {Promise } a {@link https://www.promisejs.org/|Promise}
18011787 */
1802- createPropertySetElementRelations ( cloudPk , ifcPk , projectPk , data ) {
1803- return this . createPropertySetElementRelationsWithHttpInfo ( cloudPk , ifcPk , projectPk , data )
1788+ createPropertySetElementRelations ( cloudPk , ifcPk , projectPk ) {
1789+ return this . createPropertySetElementRelationsWithHttpInfo ( cloudPk , ifcPk , projectPk )
18041790 . then ( function ( response_and_data ) {
18051791 return response_and_data . data ;
18061792 } ) ;
@@ -7513,11 +7499,11 @@ export default class IfcApi {
75137499
75147500 /**
75157501 * List all associations between classifications and elements
7516- * List all associations between classifications and elements Required scopes: ifc:read
7502+ * Required scopes: ifc:read
75177503 * @param {String } cloudPk
75187504 * @param {String } ifcPk
75197505 * @param {String } projectPk
7520- * @return {Promise } a {@link https://www.promisejs.org/|Promise}, with an object containing data of type { @link Array.<module:model/ElementClassificationRelation>} and HTTP response
7506+ * @return {Promise } a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
75217507 */
75227508 listClassificationElementRelationsWithHttpInfo ( cloudPk , ifcPk , projectPk ) {
75237509 let postBody = null ;
@@ -7548,8 +7534,8 @@ export default class IfcApi {
75487534
75497535 let authNames = [ 'Bearer' , 'bimdata_connect' , 'client_credentials' ] ;
75507536 let contentTypes = [ ] ;
7551- let accepts = [ 'application/json' ] ;
7552- let returnType = [ ElementClassificationRelation ] ;
7537+ let accepts = [ ] ;
7538+ let returnType = null ;
75537539 return this . apiClient . callApi (
75547540 '/cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/classification-element' , 'GET' ,
75557541 pathParams , queryParams , headerParams , formParams , postBody ,
@@ -7559,11 +7545,11 @@ export default class IfcApi {
75597545
75607546 /**
75617547 * List all associations between classifications and elements
7562- * List all associations between classifications and elements Required scopes: ifc:read
7548+ * Required scopes: ifc:read
75637549 * @param {String } cloudPk
75647550 * @param {String } ifcPk
75657551 * @param {String } projectPk
7566- * @return {Promise } a {@link https://www.promisejs.org/|Promise}, with data of type { @link Array.<module:model/ElementClassificationRelation>}
7552+ * @return {Promise } a {@link https://www.promisejs.org/|Promise}
75677553 */
75687554 listClassificationElementRelations ( cloudPk , ifcPk , projectPk ) {
75697555 return this . listClassificationElementRelationsWithHttpInfo ( cloudPk , ifcPk , projectPk )
0 commit comments