Socket
Socket
Sign inDemoInstall

@singletonar/intellidrone-api-client-js

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@singletonar/intellidrone-api-client-js - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

.gitlab-ci.yml

7

package.json
{
"name": "@singletonar/intellidrone-api-client-js",
"version": "1.0.1",
"version": "1.0.2",
"description": "This Intellidrone API client javascript library designed by [Singleton](http://singleton.com.ar). You can find out more about Swagger at [Singleton Web Page](http://singleton.com.ar) or on [Intellidrone Web Page](http://robotagro.com).",

@@ -8,3 +8,5 @@ "license": "SEE LICENSE IN LICENSE file",

"scripts": {
"test": "./node_modules/mocha/bin/mocha --recursive"
"test": "nyc ./node_modules/mocha/bin/mocha --recursive",
"vuln-test": "npm audit",
"postversion": "git push --follow-tags"
},

@@ -34,4 +36,5 @@ "browser": {

"mocha": "5.2.0",
"nyc": "13.1.0",
"sinon": "1.17.3"
}
}

@@ -41,3 +41,3 @@ /**

/**
* Constructs a new ActividadesApi.
* Constructs a new ActividadesApi.
* @alias module:/api/ActividadesApi

@@ -52,7 +52,6 @@ * @class

/**
* Add one Actividad.
* Add one Actividad.
* @param {module:models/Actividades} actividad
* @param {module:models/Actividades} actividad
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:models/Vacas} and HTTP response

@@ -90,3 +89,3 @@ */

);
}
};

@@ -96,3 +95,3 @@ /**

* Add one Actividad.
* @param {module:models/Actividades} actividad
* @param {module:models/Actividades} actividad
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:models/Vacas}

@@ -105,3 +104,3 @@ */

});
}
};

@@ -125,3 +124,3 @@

var queryParams = {
'userId': opts['userId'],
userId: opts['userId'],
};

@@ -133,3 +132,3 @@ var collectionQueryParams = {

var formParams = {
'upfile': opts['upfile']
upfile: opts['upfile'],
};

@@ -147,3 +146,3 @@

);
}
};

@@ -163,3 +162,3 @@ /**

});
}
};

@@ -183,3 +182,3 @@

var pathParams = {
'id': id
id: id,
};

@@ -205,3 +204,3 @@ var queryParams = {

);
}
};

@@ -219,3 +218,3 @@ /**

});
}
};

@@ -226,3 +225,3 @@

* Edit one Actividad
* @param {module:models/Vacas} lote
* @param {module:models/Vacas} lote
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:models/Actividades} and HTTP response

@@ -260,3 +259,3 @@ */

);
}
};

@@ -266,3 +265,3 @@ /**

* Edit one Actividad
* @param {module:models/Vacas} lote
* @param {module:models/Vacas} lote
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:models/Actividades}

@@ -275,3 +274,3 @@ */

});
}
};

@@ -298,6 +297,6 @@

var pathParams = {
'id': id
id: id,
};
var queryParams = {
'userId': opts['userId'],
userId: opts['userId'],
};

@@ -321,3 +320,3 @@ var collectionQueryParams = {

);
}
};

@@ -337,3 +336,3 @@ /**

});
}
};

@@ -370,7 +369,7 @@

var queryParams = {
'skip': skip,
'limit': limit,
'orderBy': opts['orderBy'],
'filter': opts['filter'],
'userId': opts['userId'],
skip: skip,
limit: limit,
orderBy: opts['orderBy'],
filter: opts['filter'],
userId: opts['userId'],
};

@@ -394,3 +393,3 @@ var collectionQueryParams = {

);
}
};

@@ -413,3 +412,3 @@ /**

});
}
};
};

@@ -416,0 +415,0 @@

@@ -41,3 +41,3 @@ /**

/**
* Constructs a new LotesApi.
* Constructs a new LotesApi.
* @alias module:/api/LotesApi

@@ -52,7 +52,6 @@ * @class

/**
* Add one lote.
* Add one lote.
* @param {module:models/Lotes} lote
* @param {module:models/Lotes} lote
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:models/Lotes} and HTTP response

@@ -90,3 +89,3 @@ */

);
}
};

@@ -96,3 +95,3 @@ /**

* Add one lote.
* @param {module:models/Lotes} lote
* @param {module:models/Lotes} lote
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:models/Lotes}

@@ -105,3 +104,3 @@ */

});
}
};

@@ -125,3 +124,3 @@

var pathParams = {
'id': id
id: id,
};

@@ -147,3 +146,3 @@ var queryParams = {

);
}
};

@@ -161,3 +160,3 @@ /**

});
}
};

@@ -168,3 +167,3 @@

* Edit one lote.
* @param {module:models/Lotes} lote
* @param {module:models/Lotes} lote
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:models/Lotes} and HTTP response

@@ -202,3 +201,3 @@ */

);
}
};

@@ -208,3 +207,3 @@ /**

* Edit one lote.
* @param {module:models/Lotes} lote
* @param {module:models/Lotes} lote
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:models/Lotes}

@@ -217,3 +216,3 @@ */

});
}
};

@@ -240,6 +239,6 @@

var pathParams = {
'id': id
id: id,
};
var queryParams = {
'userId': opts['userId'],
userId: opts['userId'],
};

@@ -263,3 +262,3 @@ var collectionQueryParams = {

);
}
};

@@ -279,3 +278,3 @@ /**

});
}
};

@@ -312,7 +311,7 @@

var queryParams = {
'skip': skip,
'limit': limit,
'orderBy': opts['orderBy'],
'filter': opts['filter'],
'userId': opts['userId'],
skip: skip,
limit: limit,
orderBy: opts['orderBy'],
filter: opts['filter'],
userId: opts['userId'],
};

@@ -336,3 +335,3 @@ var collectionQueryParams = {

);
}
};

@@ -355,3 +354,3 @@ /**

});
}
};
};

@@ -358,0 +357,0 @@

@@ -41,3 +41,3 @@ /**

/**
* Constructs a new UsersApi.
* Constructs a new UsersApi.
* @alias module:/api/UsersApi

@@ -52,7 +52,6 @@ * @class

/**
* Add one User.
* Add one User.
* @param {module:models/Users} user
* @param {module:models/Users} user
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:models/Users} and HTTP response

@@ -90,3 +89,3 @@ */

);
}
};

@@ -96,3 +95,3 @@ /**

* Add one User.
* @param {module:models/Users} user
* @param {module:models/Users} user
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:models/Users}

@@ -105,3 +104,3 @@ */

});
}
};

@@ -125,3 +124,3 @@

var pathParams = {
'id': id
id: id,
};

@@ -147,3 +146,3 @@ var queryParams = {

);
}
};

@@ -161,3 +160,3 @@ /**

});
}
};

@@ -168,3 +167,3 @@

* Edit one User.
* @param {module:models/Users} user
* @param {module:models/Users} user
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:models/Users} and HTTP response

@@ -202,3 +201,3 @@ */

);
}
};

@@ -208,3 +207,3 @@ /**

* Edit one User.
* @param {module:models/Users} user
* @param {module:models/Users} user
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:models/Users}

@@ -217,3 +216,3 @@ */

});
}
};

@@ -237,3 +236,3 @@

var pathParams = {
'id': id
id: id,
};

@@ -259,3 +258,3 @@ var queryParams = {

);
}
};

@@ -273,3 +272,3 @@ /**

});
}
};

@@ -305,6 +304,6 @@

var queryParams = {
'skip': skip,
'limit': limit,
'orderBy': opts['orderBy'],
'filter': opts['filter'],
skip: skip,
limit: limit,
orderBy: opts['orderBy'],
filter: opts['filter'],
};

@@ -328,3 +327,3 @@ var collectionQueryParams = {

);
}
};

@@ -346,3 +345,3 @@ /**

});
}
};

@@ -373,4 +372,4 @@

var queryParams = {
'user': user,
'password': password,
user: user,
password: password,
};

@@ -394,3 +393,3 @@ var collectionQueryParams = {

);
}
};

@@ -408,3 +407,3 @@ /**

});
}
};

@@ -441,3 +440,3 @@

);
}
};

@@ -453,3 +452,3 @@ /**

});
}
};
};

@@ -456,0 +455,0 @@

@@ -41,3 +41,3 @@ /**

/**
* Constructs a new VacasApi.
* Constructs a new VacasApi.
* @alias module:/api/VacasApi

@@ -52,7 +52,6 @@ * @class

/**
* Add one vaca.
* Add one vaca.
* @param {module:models/Vacas} vaca
* @param {module:models/Vacas} vaca
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:models/Vacas} and HTTP response

@@ -90,3 +89,3 @@ */

);
}
};

@@ -96,3 +95,3 @@ /**

* Add one vaca.
* @param {module:models/Vacas} vaca
* @param {module:models/Vacas} vaca
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:models/Vacas}

@@ -105,3 +104,3 @@ */

});
}
};

@@ -125,3 +124,3 @@

var pathParams = {
'id': id
id: id,
};

@@ -147,3 +146,3 @@ var queryParams = {

);
}
};

@@ -161,3 +160,3 @@ /**

});
}
};

@@ -168,3 +167,3 @@

* Edit one vaca
* @param {module:models/Vacas} vaca
* @param {module:models/Vacas} vaca
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:models/Vacas} and HTTP response

@@ -202,3 +201,3 @@ */

);
}
};

@@ -208,3 +207,3 @@ /**

* Edit one vaca
* @param {module:models/Vacas} vaca
* @param {module:models/Vacas} vaca
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:models/Vacas}

@@ -217,3 +216,3 @@ */

});
}
};

@@ -250,7 +249,7 @@

var queryParams = {
'skip': skip,
'limit': limit,
'orderBy': opts['orderBy'],
'filter': opts['filter'],
'userId': opts['userId'],
skip: skip,
limit: limit,
orderBy: opts['orderBy'],
filter: opts['filter'],
userId: opts['userId'],
};

@@ -274,3 +273,3 @@ var collectionQueryParams = {

);
}
};

@@ -293,3 +292,3 @@ /**

});
}
};

@@ -316,6 +315,6 @@

var pathParams = {
'id': id
id: id,
};
var queryParams = {
'userId': opts['userId'],
userId: opts['userId'],
};

@@ -339,3 +338,3 @@ var collectionQueryParams = {

);
}
};

@@ -355,3 +354,3 @@ /**

});
}
};
};

@@ -358,0 +357,0 @@

@@ -59,4 +59,4 @@ /**

this.authentications = {
'appToken': {type: 'apiKey', 'in': 'header', name: 'x_app_id'},
'userToken': {type: 'apiKey', 'in': 'header', name: 'x_user_key'}
appToken: {type: 'apiKey', in: 'header', name: 'x_app_id'},
userToken: {type: 'apiKey', in: 'header', name: 'x_user_key'},
};

@@ -261,3 +261,3 @@ /**

*/
MULTI: 'multi'
MULTI: 'multi',
};

@@ -325,3 +325,3 @@

if (auth.accessToken) {
request.set({'Authorization': 'Bearer ' + auth.accessToken});
request.set({Authorization: 'Bearer ' + auth.accessToken});
}

@@ -376,4 +376,4 @@ break;

exports.prototype.callApi = function callApi(path, httpMethod, pathParams,
queryParams, collectionQueryParams, headerParams, formParams, bodyParam, authNames, contentTypes, accepts,
returnType) {
queryParams, collectionQueryParams, headerParams, formParams, bodyParam, authNames, contentTypes, accepts,
returnType) {

@@ -397,3 +397,3 @@ var _this = this;

var value = param.value.map(this.paramToString).map(encodeURIComponent).join(',');
request.query(encodeURIComponent(key) + "=" + value);
request.query(encodeURIComponent(key) + '=' + value);
}

@@ -409,3 +409,3 @@ } else {

if (httpMethod.toUpperCase() === 'GET' && this.cache === false) {
queryParams['_'] = new Date().getTime();
queryParams['_'] = new Date().getTime();
}

@@ -429,3 +429,3 @@ request.query(this.normalizeParams(queryParams));

// Issue with superagent and multipart/form-data (https://github.com/visionmedia/superagent/issues/746)
if(contentType != 'multipart/form-data') {
if (contentType != 'multipart/form-data') {
request.type(contentType);

@@ -470,4 +470,3 @@ }

this.agent.attachCookies(request);
}
else {
} else {
request.withCredentials();

@@ -516,3 +515,3 @@ }

if (data === null || data === undefined)
return data
return data;

@@ -519,0 +518,0 @@ switch (type) {

@@ -124,3 +124,3 @@ /**

*/
VacasApi: VacasApi
VacasApi: VacasApi,
};

@@ -127,0 +127,0 @@

@@ -35,4 +35,2 @@ /**

/**

@@ -53,15 +51,2 @@ * The Actividades model module.

};

@@ -124,3 +109,3 @@

return obj;
}
};

@@ -185,3 +170,2 @@ /**

return exports;

@@ -188,0 +172,0 @@ }));

@@ -35,4 +35,2 @@ /**

/**

@@ -71,3 +69,3 @@ * The DeletedResponse model module.

return obj;
}
};

@@ -80,3 +78,2 @@ /**

return exports;

@@ -83,0 +80,0 @@ }));

@@ -35,4 +35,2 @@ /**

/**

@@ -48,3 +46,3 @@ * The Error model module.

* @class
* @param message {String}
* @param message {String}
*/

@@ -81,3 +79,3 @@ var exports = function(message) {

return obj;
}
};

@@ -98,3 +96,2 @@ /**

return exports;

@@ -101,0 +98,0 @@ }));

@@ -35,4 +35,2 @@ /**

/**

@@ -53,3 +51,2 @@ * The Linea model module.

};

@@ -76,3 +73,3 @@

return obj;
}
};

@@ -89,3 +86,2 @@ /**

return exports;

@@ -92,0 +88,0 @@ }));

@@ -35,4 +35,2 @@ /**

/**

@@ -53,7 +51,2 @@ * The Lotes model module.

};

@@ -92,3 +85,3 @@

return obj;
}
};

@@ -121,3 +114,2 @@ /**

return exports;

@@ -124,0 +116,0 @@ }));

@@ -35,4 +35,2 @@ /**

/**

@@ -53,4 +51,2 @@ * The UploadResponse model module.

};

@@ -80,3 +76,3 @@

return obj;
}
};

@@ -97,3 +93,2 @@ /**

return exports;

@@ -100,0 +95,0 @@ }));

@@ -35,4 +35,2 @@ /**

/**

@@ -53,7 +51,2 @@ * The Users model module.

};

@@ -92,3 +85,3 @@

return obj;
}
};

@@ -131,3 +124,3 @@ /**

*/
"COMMON": "COMMON",
COMMON: 'COMMON',
/**

@@ -137,3 +130,3 @@ * value: "SUPERVISOR"

*/
"SUPERVISOR": "SUPERVISOR",
SUPERVISOR: 'SUPERVISOR',
/**

@@ -143,3 +136,3 @@ * value: "ADMIN"

*/
"ADMIN": "ADMIN" };
ADMIN: 'ADMIN' };

@@ -146,0 +139,0 @@

@@ -35,4 +35,2 @@ /**

/**

@@ -53,9 +51,2 @@ * The Vacas model module.

};

@@ -100,3 +91,3 @@

return obj;
}
};

@@ -147,3 +138,3 @@ /**

*/
"Hembra": "Hembra",
Hembra: 'Hembra',
/**

@@ -153,3 +144,3 @@ * value: "Macho"

*/
"Macho": "Macho" };
Macho: 'Macho' };

@@ -156,0 +147,0 @@

@@ -43,3 +43,3 @@ /**

return object[property];
}
};

@@ -52,3 +52,3 @@ var setProperty = function(object, setter, property, value) {

object[property] = value;
}
};

@@ -58,7 +58,7 @@ describe('ActividadesApi', function() {

it('should call addActividad successfully', function(done) {
//uncomment below and update the code to test addActividad
//instance.addActividad(function(error) {
// uncomment below and update the code to test addActividad
// instance.addActividad(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -69,7 +69,7 @@ });

it('should call addActividades successfully', function(done) {
//uncomment below and update the code to test addActividades
//instance.addActividades(function(error) {
// uncomment below and update the code to test addActividades
// instance.addActividades(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -80,7 +80,7 @@ });

it('should call deleteActividad successfully', function(done) {
//uncomment below and update the code to test deleteActividad
//instance.deleteActividad(function(error) {
// uncomment below and update the code to test deleteActividad
// instance.deleteActividad(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -91,7 +91,7 @@ });

it('should call editActividad successfully', function(done) {
//uncomment below and update the code to test editActividad
//instance.editActividad(function(error) {
// uncomment below and update the code to test editActividad
// instance.editActividad(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -102,7 +102,7 @@ });

it('should call getActividadById successfully', function(done) {
//uncomment below and update the code to test getActividadById
//instance.getActividadById(function(error) {
// uncomment below and update the code to test getActividadById
// instance.getActividadById(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -113,7 +113,7 @@ });

it('should call getActividades successfully', function(done) {
//uncomment below and update the code to test getActividades
//instance.getActividades(function(error) {
// uncomment below and update the code to test getActividades
// instance.getActividades(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -120,0 +120,0 @@ });

@@ -43,3 +43,3 @@ /**

return object[property];
}
};

@@ -52,3 +52,3 @@ var setProperty = function(object, setter, property, value) {

object[property] = value;
}
};

@@ -58,7 +58,7 @@ describe('LotesApi', function() {

it('should call addLote successfully', function(done) {
//uncomment below and update the code to test addLote
//instance.addLote(function(error) {
// uncomment below and update the code to test addLote
// instance.addLote(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -69,7 +69,7 @@ });

it('should call deleteLote successfully', function(done) {
//uncomment below and update the code to test deleteLote
//instance.deleteLote(function(error) {
// uncomment below and update the code to test deleteLote
// instance.deleteLote(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -80,7 +80,7 @@ });

it('should call editLote successfully', function(done) {
//uncomment below and update the code to test editLote
//instance.editLote(function(error) {
// uncomment below and update the code to test editLote
// instance.editLote(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -91,7 +91,7 @@ });

it('should call getLoteById successfully', function(done) {
//uncomment below and update the code to test getLoteById
//instance.getLoteById(function(error) {
// uncomment below and update the code to test getLoteById
// instance.getLoteById(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -102,7 +102,7 @@ });

it('should call getLotes successfully', function(done) {
//uncomment below and update the code to test getLotes
//instance.getLotes(function(error) {
// uncomment below and update the code to test getLotes
// instance.getLotes(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -109,0 +109,0 @@ });

@@ -43,3 +43,3 @@ /**

return object[property];
}
};

@@ -52,3 +52,3 @@ var setProperty = function(object, setter, property, value) {

object[property] = value;
}
};

@@ -58,7 +58,7 @@ describe('UsersApi', function() {

it('should call addUser successfully', function(done) {
//uncomment below and update the code to test addUser
//instance.addUser(function(error) {
// uncomment below and update the code to test addUser
// instance.addUser(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -69,7 +69,7 @@ });

it('should call deleteUsers successfully', function(done) {
//uncomment below and update the code to test deleteUsers
//instance.deleteUsers(function(error) {
// uncomment below and update the code to test deleteUsers
// instance.deleteUsers(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -80,7 +80,7 @@ });

it('should call editUser successfully', function(done) {
//uncomment below and update the code to test editUser
//instance.editUser(function(error) {
// uncomment below and update the code to test editUser
// instance.editUser(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -91,7 +91,7 @@ });

it('should call getUserById successfully', function(done) {
//uncomment below and update the code to test getUserById
//instance.getUserById(function(error) {
// uncomment below and update the code to test getUserById
// instance.getUserById(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -102,7 +102,7 @@ });

it('should call getUsers successfully', function(done) {
//uncomment below and update the code to test getUsers
//instance.getUsers(function(error) {
// uncomment below and update the code to test getUsers
// instance.getUsers(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -113,7 +113,7 @@ });

it('should call login successfully', function(done) {
//uncomment below and update the code to test login
//instance.login(function(error) {
// uncomment below and update the code to test login
// instance.login(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -124,7 +124,7 @@ });

it('should call logout successfully', function(done) {
//uncomment below and update the code to test logout
//instance.logout(function(error) {
// uncomment below and update the code to test logout
// instance.logout(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -131,0 +131,0 @@ });

@@ -43,3 +43,3 @@ /**

return object[property];
}
};

@@ -52,3 +52,3 @@ var setProperty = function(object, setter, property, value) {

object[property] = value;
}
};

@@ -58,7 +58,7 @@ describe('VacasApi', function() {

it('should call addVaca successfully', function(done) {
//uncomment below and update the code to test addVaca
//instance.addVaca(function(error) {
// uncomment below and update the code to test addVaca
// instance.addVaca(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -69,7 +69,7 @@ });

it('should call deleteVaca successfully', function(done) {
//uncomment below and update the code to test deleteVaca
//instance.deleteVaca(function(error) {
// uncomment below and update the code to test deleteVaca
// instance.deleteVaca(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -80,7 +80,7 @@ });

it('should call editVaca successfully', function(done) {
//uncomment below and update the code to test editVaca
//instance.editVaca(function(error) {
// uncomment below and update the code to test editVaca
// instance.editVaca(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -91,7 +91,7 @@ });

it('should call getVacas successfully', function(done) {
//uncomment below and update the code to test getVacas
//instance.getVacas(function(error) {
// uncomment below and update the code to test getVacas
// instance.getVacas(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -102,7 +102,7 @@ });

it('should call getVacasById successfully', function(done) {
//uncomment below and update the code to test getVacasById
//instance.getVacasById(function(error) {
// uncomment below and update the code to test getVacasById
// instance.getVacasById(function(error) {
// if (error) throw error;
//expect().to.be();
//});
// expect().to.be();
// });
done();

@@ -109,0 +109,0 @@ });

@@ -43,3 +43,3 @@ /**

return object[property];
}
};

@@ -52,3 +52,3 @@ var setProperty = function(object, setter, property, value) {

object[property] = value;
}
};

@@ -58,4 +58,4 @@ describe('Actividades', function() {

// uncomment below and update the code to test Actividades
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be.a(intellidrone_api_client_js.Actividades);
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be.a(intellidrone_api_client_js.Actividades);
});

@@ -65,4 +65,4 @@

// uncomment below and update the code to test the property id
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be();
});

@@ -72,4 +72,4 @@

// uncomment below and update the code to test the property sampleDate
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be();
});

@@ -79,4 +79,4 @@

// uncomment below and update the code to test the property latitude
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be();
});

@@ -86,4 +86,4 @@

// uncomment below and update the code to test the property longitude
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be();
});

@@ -93,4 +93,4 @@

// uncomment below and update the code to test the property vacaId
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be();
});

@@ -100,4 +100,4 @@

// uncomment below and update the code to test the property vaca
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be();
});

@@ -107,4 +107,4 @@

// uncomment below and update the code to test the property insertDate
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be();
});

@@ -114,4 +114,4 @@

// uncomment below and update the code to test the property colectionDate
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be();
});

@@ -121,4 +121,4 @@

// uncomment below and update the code to test the property hdop
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be();
});

@@ -128,4 +128,4 @@

// uncomment below and update the code to test the property satellites
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be();
});

@@ -135,4 +135,4 @@

// uncomment below and update the code to test the property signal
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be();
});

@@ -142,4 +142,4 @@

// uncomment below and update the code to test the property voltage
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be();
});

@@ -149,4 +149,4 @@

// uncomment below and update the code to test the property tag
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be();
});

@@ -156,4 +156,4 @@

// uncomment below and update the code to test the property connectionsAttempts
//var instance = new intellidrone_api_client_js.Actividades();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Actividades();
// expect(instance).to.be();
});

@@ -160,0 +160,0 @@

@@ -43,3 +43,3 @@ /**

return object[property];
}
};

@@ -52,3 +52,3 @@ var setProperty = function(object, setter, property, value) {

object[property] = value;
}
};

@@ -58,4 +58,4 @@ describe('DeletedResponse', function() {

// uncomment below and update the code to test DeletedResponse
//var instance = new intellidrone_api_client_js.DeletedResponse();
//expect(instance).to.be.a(intellidrone_api_client_js.DeletedResponse);
// var instance = new intellidrone_api_client_js.DeletedResponse();
// expect(instance).to.be.a(intellidrone_api_client_js.DeletedResponse);
});

@@ -65,4 +65,4 @@

// uncomment below and update the code to test the property id
//var instance = new intellidrone_api_client_js.DeletedResponse();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.DeletedResponse();
// expect(instance).to.be();
});

@@ -69,0 +69,0 @@

@@ -43,3 +43,3 @@ /**

return object[property];
}
};

@@ -52,3 +52,3 @@ var setProperty = function(object, setter, property, value) {

object[property] = value;
}
};

@@ -58,4 +58,4 @@ describe('Error', function() {

// uncomment below and update the code to test Error
//var instance = new intellidrone_api_client_js.Error();
//expect(instance).to.be.a(intellidrone_api_client_js.Error);
// var instance = new intellidrone_api_client_js.Error();
// expect(instance).to.be.a(intellidrone_api_client_js.Error);
});

@@ -65,4 +65,4 @@

// uncomment below and update the code to test the property code
//var instance = new intellidrone_api_client_js.Error();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Error();
// expect(instance).to.be();
});

@@ -72,4 +72,4 @@

// uncomment below and update the code to test the property message
//var instance = new intellidrone_api_client_js.Error();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Error();
// expect(instance).to.be();
});

@@ -79,4 +79,4 @@

// uncomment below and update the code to test the property data
//var instance = new intellidrone_api_client_js.Error();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Error();
// expect(instance).to.be();
});

@@ -83,0 +83,0 @@

@@ -43,3 +43,3 @@ /**

return object[property];
}
};

@@ -52,3 +52,3 @@ var setProperty = function(object, setter, property, value) {

object[property] = value;
}
};

@@ -58,4 +58,4 @@ describe('Linea', function() {

// uncomment below and update the code to test Linea
//var instance = new intellidrone_api_client_js.Linea();
//expect(instance).to.be.a(intellidrone_api_client_js.Linea);
// var instance = new intellidrone_api_client_js.Linea();
// expect(instance).to.be.a(intellidrone_api_client_js.Linea);
});

@@ -65,4 +65,4 @@

// uncomment below and update the code to test the property lineaNumber
//var instance = new intellidrone_api_client_js.Linea();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Linea();
// expect(instance).to.be();
});

@@ -72,4 +72,4 @@

// uncomment below and update the code to test the property linea
//var instance = new intellidrone_api_client_js.Linea();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Linea();
// expect(instance).to.be();
});

@@ -76,0 +76,0 @@

@@ -43,3 +43,3 @@ /**

return object[property];
}
};

@@ -52,3 +52,3 @@ var setProperty = function(object, setter, property, value) {

object[property] = value;
}
};

@@ -58,4 +58,4 @@ describe('Lotes', function() {

// uncomment below and update the code to test Lotes
//var instance = new intellidrone_api_client_js.Lotes();
//expect(instance).to.be.a(intellidrone_api_client_js.Lotes);
// var instance = new intellidrone_api_client_js.Lotes();
// expect(instance).to.be.a(intellidrone_api_client_js.Lotes);
});

@@ -65,4 +65,4 @@

// uncomment below and update the code to test the property id
//var instance = new intellidrone_api_client_js.Lotes();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Lotes();
// expect(instance).to.be();
});

@@ -72,4 +72,4 @@

// uncomment below and update the code to test the property name
//var instance = new intellidrone_api_client_js.Lotes();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Lotes();
// expect(instance).to.be();
});

@@ -79,4 +79,4 @@

// uncomment below and update the code to test the property latitude
//var instance = new intellidrone_api_client_js.Lotes();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Lotes();
// expect(instance).to.be();
});

@@ -86,4 +86,4 @@

// uncomment below and update the code to test the property longitude
//var instance = new intellidrone_api_client_js.Lotes();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Lotes();
// expect(instance).to.be();
});

@@ -93,4 +93,4 @@

// uncomment below and update the code to test the property ownerId
//var instance = new intellidrone_api_client_js.Lotes();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Lotes();
// expect(instance).to.be();
});

@@ -100,4 +100,4 @@

// uncomment below and update the code to test the property owner
//var instance = new intellidrone_api_client_js.Lotes();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Lotes();
// expect(instance).to.be();
});

@@ -104,0 +104,0 @@

@@ -43,3 +43,3 @@ /**

return object[property];
}
};

@@ -52,3 +52,3 @@ var setProperty = function(object, setter, property, value) {

object[property] = value;
}
};

@@ -58,4 +58,4 @@ describe('UploadResponse', function() {

// uncomment below and update the code to test UploadResponse
//var instance = new intellidrone_api_client_js.UploadResponse();
//expect(instance).to.be.a(intellidrone_api_client_js.UploadResponse);
// var instance = new intellidrone_api_client_js.UploadResponse();
// expect(instance).to.be.a(intellidrone_api_client_js.UploadResponse);
});

@@ -65,4 +65,4 @@

// uncomment below and update the code to test the property actividadesInsertadas
//var instance = new intellidrone_api_client_js.UploadResponse();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.UploadResponse();
// expect(instance).to.be();
});

@@ -72,4 +72,4 @@

// uncomment below and update the code to test the property nuevasVacas
//var instance = new intellidrone_api_client_js.UploadResponse();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.UploadResponse();
// expect(instance).to.be();
});

@@ -79,4 +79,4 @@

// uncomment below and update the code to test the property lineasConError
//var instance = new intellidrone_api_client_js.UploadResponse();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.UploadResponse();
// expect(instance).to.be();
});

@@ -83,0 +83,0 @@

@@ -43,3 +43,3 @@ /**

return object[property];
}
};

@@ -52,3 +52,3 @@ var setProperty = function(object, setter, property, value) {

object[property] = value;
}
};

@@ -58,4 +58,4 @@ describe('Users', function() {

// uncomment below and update the code to test Users
//var instance = new intellidrone_api_client_js.Users();
//expect(instance).to.be.a(intellidrone_api_client_js.Users);
// var instance = new intellidrone_api_client_js.Users();
// expect(instance).to.be.a(intellidrone_api_client_js.Users);
});

@@ -65,4 +65,4 @@

// uncomment below and update the code to test the property id
//var instance = new intellidrone_api_client_js.Users();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Users();
// expect(instance).to.be();
});

@@ -72,4 +72,4 @@

// uncomment below and update the code to test the property user
//var instance = new intellidrone_api_client_js.Users();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Users();
// expect(instance).to.be();
});

@@ -79,4 +79,4 @@

// uncomment below and update the code to test the property email
//var instance = new intellidrone_api_client_js.Users();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Users();
// expect(instance).to.be();
});

@@ -86,4 +86,4 @@

// uncomment below and update the code to test the property password
//var instance = new intellidrone_api_client_js.Users();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Users();
// expect(instance).to.be();
});

@@ -93,4 +93,4 @@

// uncomment below and update the code to test the property lotes
//var instance = new intellidrone_api_client_js.Users();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Users();
// expect(instance).to.be();
});

@@ -100,4 +100,4 @@

// uncomment below and update the code to test the property type
//var instance = new intellidrone_api_client_js.Users();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Users();
// expect(instance).to.be();
});

@@ -104,0 +104,0 @@

@@ -43,3 +43,3 @@ /**

return object[property];
}
};

@@ -52,3 +52,3 @@ var setProperty = function(object, setter, property, value) {

object[property] = value;
}
};

@@ -58,4 +58,4 @@ describe('Vacas', function() {

// uncomment below and update the code to test Vacas
//var instance = new intellidrone_api_client_js.Vacas();
//expect(instance).to.be.a(intellidrone_api_client_js.Vacas);
// var instance = new intellidrone_api_client_js.Vacas();
// expect(instance).to.be.a(intellidrone_api_client_js.Vacas);
});

@@ -65,4 +65,4 @@

// uncomment below and update the code to test the property id
//var instance = new intellidrone_api_client_js.Vacas();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Vacas();
// expect(instance).to.be();
});

@@ -72,4 +72,4 @@

// uncomment below and update the code to test the property name
//var instance = new intellidrone_api_client_js.Vacas();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Vacas();
// expect(instance).to.be();
});

@@ -79,4 +79,4 @@

// uncomment below and update the code to test the property sex
//var instance = new intellidrone_api_client_js.Vacas();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Vacas();
// expect(instance).to.be();
});

@@ -86,4 +86,4 @@

// uncomment below and update the code to test the property months
//var instance = new intellidrone_api_client_js.Vacas();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Vacas();
// expect(instance).to.be();
});

@@ -93,4 +93,4 @@

// uncomment below and update the code to test the property weight
//var instance = new intellidrone_api_client_js.Vacas();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Vacas();
// expect(instance).to.be();
});

@@ -100,4 +100,4 @@

// uncomment below and update the code to test the property locationId
//var instance = new intellidrone_api_client_js.Vacas();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Vacas();
// expect(instance).to.be();
});

@@ -107,4 +107,4 @@

// uncomment below and update the code to test the property location
//var instance = new intellidrone_api_client_js.Vacas();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Vacas();
// expect(instance).to.be();
});

@@ -114,4 +114,4 @@

// uncomment below and update the code to test the property actividades
//var instance = new intellidrone_api_client_js.Vacas();
//expect(instance).to.be();
// var instance = new intellidrone_api_client_js.Vacas();
// expect(instance).to.be();
});

@@ -118,0 +118,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc