diff --git a/api/actuators.service.ts b/api/actuators.service.ts index eaa167a..ee7a5dc 100644 --- a/api/actuators.service.ts +++ b/api/actuators.service.ts @@ -94,17 +94,17 @@ export class ActuatorsService { } /** - * Actuator + * Actuators * @param prototypeId * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ - public actuator(prototypeId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>; - public actuator(prototypeId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>>; - public actuator(prototypeId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>>; - public actuator(prototypeId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable { + public actuators(prototypeId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>; + public actuators(prototypeId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>>; + public actuators(prototypeId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>>; + public actuators(prototypeId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable { if (prototypeId === null || prototypeId === undefined) { - throw new Error('Required parameter prototypeId was null or undefined when calling actuator.'); + throw new Error('Required parameter prototypeId was null or undefined when calling actuators.'); } let localVarHeaders = this.defaultHeaders; @@ -152,17 +152,17 @@ export class ActuatorsService { } /** - * Actuators + * Put Actuators * @param actuator * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ - public actuators(actuator: Array, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable; - public actuators(actuator: Array, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>; - public actuators(actuator: Array, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>; - public actuators(actuator: Array, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable { + public putActuators(actuator: Array, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable; + public putActuators(actuator: Array, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>; + public putActuators(actuator: Array, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>; + public putActuators(actuator: Array, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable { if (actuator === null || actuator === undefined) { - throw new Error('Required parameter actuator was null or undefined when calling actuators.'); + throw new Error('Required parameter actuator was null or undefined when calling putActuators.'); } let localVarHeaders = this.defaultHeaders; diff --git a/api/measurements.service.ts b/api/measurements.service.ts index 072d1c3..b499f2c 100644 --- a/api/measurements.service.ts +++ b/api/measurements.service.ts @@ -96,21 +96,21 @@ export class MeasurementsService { } /** - * Measurement + * Measurements * @param prototypeId * @param sensorType * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ - public measurement(prototypeId: number, sensorType: SensorType, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>; - public measurement(prototypeId: number, sensorType: SensorType, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>>; - public measurement(prototypeId: number, sensorType: SensorType, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>>; - public measurement(prototypeId: number, sensorType: SensorType, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable { + public measurements(prototypeId: number, sensorType: SensorType, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>; + public measurements(prototypeId: number, sensorType: SensorType, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>>; + public measurements(prototypeId: number, sensorType: SensorType, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable>>; + public measurements(prototypeId: number, sensorType: SensorType, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable { if (prototypeId === null || prototypeId === undefined) { - throw new Error('Required parameter prototypeId was null or undefined when calling measurement.'); + throw new Error('Required parameter prototypeId was null or undefined when calling measurements.'); } if (sensorType === null || sensorType === undefined) { - throw new Error('Required parameter sensorType was null or undefined when calling measurement.'); + throw new Error('Required parameter sensorType was null or undefined when calling measurements.'); } let localVarHeaders = this.defaultHeaders; diff --git a/build.sh b/build.sh index f0b319c..f280fa7 100755 --- a/build.sh +++ b/build.sh @@ -1 +1 @@ -java -jar ~/Downloads/openapi-generator-cli-7.3.0-20231222.090957-1.jar generate -g typescript-angular -i http://127.0.0.1:8000/openapi.json -o /home/ptrstr/Documents/Projects/aquapoly/Aquadash-backend-client/ -p npmRepository=https://git.aquapoly.ca/kylebouchard/Aquadash-backend-client -p ngVersion=17.1.0 -p npmName=aquadash-backend +java -jar ~/Downloads/openapi-generator-cli-7.3.0-20231222.090957-1.jar generate -g typescript-angular -i http://127.0.0.1:8000/openapi.json -o . -p npmRepository=https://git.aquapoly.ca/kylebouchard/Aquadash-backend-client -p ngVersion=17.1.0 -p npmName=aquadash-backend