Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@testmo/testmo-api

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testmo/testmo-api - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0-beta.0

dist/ApiClientEx.js

106

dist/api/AutomationRunsApi.js

@@ -7,31 +7,16 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
var _AppendToAutomationRun = _interopRequireDefault(require("../model/AppendToAutomationRun"));
var _AppendToAutomationRunThread = _interopRequireDefault(require("../model/AppendToAutomationRunThread"));
var _CompleteAutomationRun = _interopRequireDefault(require("../model/CompleteAutomationRun"));
var _CompleteAutomationRunThread = _interopRequireDefault(require("../model/CompleteAutomationRunThread"));
var _CreateAutomationRun = _interopRequireDefault(require("../model/CreateAutomationRun"));
var _CreateAutomationRunThread = _interopRequireDefault(require("../model/CreateAutomationRunThread"));
var _CreatedAutomationRun = _interopRequireDefault(require("../model/CreatedAutomationRun"));
var _CreatedAutomationRunThread = _interopRequireDefault(require("../model/CreatedAutomationRunThread"));
var _ErrorCollection = _interopRequireDefault(require("../model/ErrorCollection"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -41,4 +26,3 @@ * AutomationRuns service.

* @version 1.0.0
*/
var AutomationRunsApi = /*#__PURE__*/function () {
*/var AutomationRunsApi = /*#__PURE__*/function () {
/**

@@ -53,5 +37,5 @@ * Constructs a new AutomationRunsApi.

_classCallCheck(this, AutomationRunsApi);
this.apiClient = apiClient || _ApiClient["default"].instance;
}
/**

@@ -64,18 +48,14 @@ * Append resources to an automation run

*/
_createClass(AutomationRunsApi, [{
key: "appendToWithHttpInfo",
value: function appendToWithHttpInfo(automationRunId, appendToAutomationRun) {
var postBody = appendToAutomationRun; // verify the required parameter 'automationRunId' is set
var postBody = appendToAutomationRun;
// verify the required parameter 'automationRunId' is set
if (automationRunId === undefined || automationRunId === null) {
throw new Error("Missing the required parameter 'automationRunId' when calling appendTo");
} // verify the required parameter 'appendToAutomationRun' is set
}
// verify the required parameter 'appendToAutomationRun' is set
if (appendToAutomationRun === undefined || appendToAutomationRun === null) {
throw new Error("Missing the required parameter 'appendToAutomationRun' when calling appendTo");
}
var pathParams = {

@@ -93,2 +73,3 @@ 'automation_run_id': automationRunId

}
/**

@@ -101,3 +82,2 @@ * Append resources to an automation run

*/
}, {

@@ -110,2 +90,3 @@ key: "appendTo",

}
/**

@@ -118,17 +99,14 @@ * Append resources and test results to a thread

*/
}, {
key: "appendToThreadWithHttpInfo",
value: function appendToThreadWithHttpInfo(automationRunThreadId, appendToAutomationRunThread) {
var postBody = appendToAutomationRunThread; // verify the required parameter 'automationRunThreadId' is set
var postBody = appendToAutomationRunThread;
// verify the required parameter 'automationRunThreadId' is set
if (automationRunThreadId === undefined || automationRunThreadId === null) {
throw new Error("Missing the required parameter 'automationRunThreadId' when calling appendToThread");
} // verify the required parameter 'appendToAutomationRunThread' is set
}
// verify the required parameter 'appendToAutomationRunThread' is set
if (appendToAutomationRunThread === undefined || appendToAutomationRunThread === null) {
throw new Error("Missing the required parameter 'appendToAutomationRunThread' when calling appendToThread");
}
var pathParams = {

@@ -146,2 +124,3 @@ 'automation_run_thread_id': automationRunThreadId

}
/**

@@ -154,3 +133,2 @@ * Append resources and test results to a thread

*/
}, {

@@ -163,2 +141,3 @@ key: "appendToThread",

}
/**

@@ -171,17 +150,14 @@ * Complete an automation run

*/
}, {
key: "completeWithHttpInfo",
value: function completeWithHttpInfo(automationRunId, completeAutomationRun) {
var postBody = completeAutomationRun; // verify the required parameter 'automationRunId' is set
var postBody = completeAutomationRun;
// verify the required parameter 'automationRunId' is set
if (automationRunId === undefined || automationRunId === null) {
throw new Error("Missing the required parameter 'automationRunId' when calling complete");
} // verify the required parameter 'completeAutomationRun' is set
}
// verify the required parameter 'completeAutomationRun' is set
if (completeAutomationRun === undefined || completeAutomationRun === null) {
throw new Error("Missing the required parameter 'completeAutomationRun' when calling complete");
}
var pathParams = {

@@ -199,2 +175,3 @@ 'automation_run_id': automationRunId

}
/**

@@ -207,3 +184,2 @@ * Complete an automation run

*/
}, {

@@ -216,2 +192,3 @@ key: "complete",

}
/**

@@ -224,17 +201,14 @@ * Complete a thread in an automation run

*/
}, {
key: "completeThreadWithHttpInfo",
value: function completeThreadWithHttpInfo(automationRunThreadId, completeAutomationRunThread) {
var postBody = completeAutomationRunThread; // verify the required parameter 'automationRunThreadId' is set
var postBody = completeAutomationRunThread;
// verify the required parameter 'automationRunThreadId' is set
if (automationRunThreadId === undefined || automationRunThreadId === null) {
throw new Error("Missing the required parameter 'automationRunThreadId' when calling completeThread");
} // verify the required parameter 'completeAutomationRunThread' is set
}
// verify the required parameter 'completeAutomationRunThread' is set
if (completeAutomationRunThread === undefined || completeAutomationRunThread === null) {
throw new Error("Missing the required parameter 'completeAutomationRunThread' when calling completeThread");
}
var pathParams = {

@@ -252,2 +226,3 @@ 'automation_run_thread_id': automationRunThreadId

}
/**

@@ -260,3 +235,2 @@ * Complete a thread in an automation run

*/
}, {

@@ -269,2 +243,3 @@ key: "completeThread",

}
/**

@@ -277,17 +252,14 @@ * Create a new automation run

*/
}, {
key: "createWithHttpInfo",
value: function createWithHttpInfo(projectId, createAutomationRun) {
var postBody = createAutomationRun; // verify the required parameter 'projectId' is set
var postBody = createAutomationRun;
// verify the required parameter 'projectId' is set
if (projectId === undefined || projectId === null) {
throw new Error("Missing the required parameter 'projectId' when calling create");
} // verify the required parameter 'createAutomationRun' is set
}
// verify the required parameter 'createAutomationRun' is set
if (createAutomationRun === undefined || createAutomationRun === null) {
throw new Error("Missing the required parameter 'createAutomationRun' when calling create");
}
var pathParams = {

@@ -305,2 +277,3 @@ 'project_id': projectId

}
/**

@@ -313,3 +286,2 @@ * Create a new automation run

*/
}, {

@@ -322,2 +294,3 @@ key: "create",

}
/**

@@ -330,17 +303,14 @@ * Create a new automation run thread

*/
}, {
key: "createThreadWithHttpInfo",
value: function createThreadWithHttpInfo(automationRunId, createAutomationRunThread) {
var postBody = createAutomationRunThread; // verify the required parameter 'automationRunId' is set
var postBody = createAutomationRunThread;
// verify the required parameter 'automationRunId' is set
if (automationRunId === undefined || automationRunId === null) {
throw new Error("Missing the required parameter 'automationRunId' when calling createThread");
} // verify the required parameter 'createAutomationRunThread' is set
}
// verify the required parameter 'createAutomationRunThread' is set
if (createAutomationRunThread === undefined || createAutomationRunThread === null) {
throw new Error("Missing the required parameter 'createAutomationRunThread' when calling createThread");
}
var pathParams = {

@@ -358,2 +328,3 @@ 'automation_run_id': automationRunId

}
/**

@@ -366,3 +337,2 @@ * Create a new automation run thread

*/
}, {

@@ -376,6 +346,4 @@ key: "createThread",

}]);
return AutomationRunsApi;
}();
exports["default"] = AutomationRunsApi;

@@ -7,15 +7,8 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
var _User = _interopRequireDefault(require("../model/User"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -25,4 +18,3 @@ * User service.

* @version 1.0.0
*/
var UserApi = /*#__PURE__*/function () {
*/var UserApi = /*#__PURE__*/function () {
/**

@@ -37,5 +29,5 @@ * Constructs a new UserApi.

_classCallCheck(this, UserApi);
this.apiClient = apiClient || _ApiClient["default"].instance;
}
/**

@@ -46,4 +38,2 @@ * Get the current user

*/
_createClass(UserApi, [{

@@ -63,2 +53,3 @@ key: "getWithHttpInfo",

}
/**

@@ -69,3 +60,2 @@ * Get the current user

*/
}, {

@@ -79,6 +69,4 @@ key: "get",

}]);
return UserApi;
}();
exports["default"] = UserApi;

@@ -7,17 +7,9 @@ "use strict";

exports["default"] = void 0;
var _superagent = _interopRequireDefault(require("superagent"));
var _querystring = _interopRequireDefault(require("querystring"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -27,3 +19,2 @@ * @module ApiClient

*/
/**

@@ -39,3 +30,2 @@ * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an

_classCallCheck(this, ApiClient);
/**

@@ -47,2 +37,3 @@ * The base URL against which to resolve every API call's (relative) path.

this.basePath = 'http://localhost'.replace(/\/+$/, '');
/**

@@ -52,3 +43,2 @@ * The authentication methods to be included for all API calls.

*/
this.authentications = {

@@ -59,2 +49,3 @@ 'bearerAuth': {

};
/**

@@ -65,6 +56,6 @@ * The default HTTP headers to be included for all API calls.

*/
this.defaultHeaders = {
'User-Agent': 'OpenAPI-Generator/1.0.0/Javascript'
};
/**

@@ -75,4 +66,4 @@ * The default HTTP timeout for all API calls.

*/
this.timeout = 60000;
this.timeout = 60000;
/**

@@ -84,4 +75,4 @@ * If set to false an additional timestamp parameter is added to all API GET calls to

*/
this.cache = true;
this.cache = true;
/**

@@ -92,4 +83,4 @@ * If set to true, the client will save the cookies from each server

*/
this.enableCookies = false;
this.enableCookies = false;
/*

@@ -99,18 +90,17 @@ * Used to save and return cookies in a node.js (non-browser) setting,

*/
if (typeof window === 'undefined') {
this.agent = new _superagent["default"].agent();
}
/*
* Allow user to override superagent agent
*/
this.requestAgent = null;
this.requestAgent = null;
/*
* Allow user to add superagent plugins
*/
this.plugins = null;
}
/**

@@ -121,4 +111,2 @@ * Returns a string representation for an actual parameter.

*/
_createClass(ApiClient, [{

@@ -130,13 +118,11 @@ key: "paramToString",

}
if (param instanceof Date) {
return param.toJSON();
}
if (ApiClient.canBeJsonified(param)) {
return JSON.stringify(param);
}
return param.toString();
}
/**

@@ -147,3 +133,2 @@ * Returns a boolean indicating if the parameter could be JSON.stringified

*/
}, {

@@ -162,16 +147,13 @@ key: "buildUrl",

var _this = this;
if (!path.match(/^\//)) {
path = '/' + path;
}
var url = this.basePath + path;
var url = this.basePath + path; // use API (operation, path) base path if defined
// use API (operation, path) base path if defined
if (apiBasePath !== null && apiBasePath !== undefined) {
url = apiBasePath + path;
}
url = url.replace(/\{([\w-\.]+)\}/g, function (fullMatch, key) {
var value;
if (pathParams.hasOwnProperty(key)) {

@@ -182,3 +164,2 @@ value = _this.paramToString(pathParams[key]);

}
return encodeURIComponent(value);

@@ -188,2 +169,3 @@ });

}
/**

@@ -200,3 +182,2 @@ * Checks whether the given content type represents JSON.<br>

*/
}, {

@@ -207,2 +188,3 @@ key: "isJsonMime",

}
/**

@@ -213,3 +195,2 @@ * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.

*/
}, {

@@ -223,5 +204,5 @@ key: "jsonPreferredMime",

}
return contentTypes[0];
}
/**

@@ -232,3 +213,2 @@ * Checks whether the given parameter value represents file-like content.

*/
}, {

@@ -240,29 +220,27 @@ key: "isFileParam",

var fs;
try {
fs = require('fs');
} catch (err) {}
if (fs && fs.ReadStream && param instanceof fs.ReadStream) {
return true;
}
} // Buffer in Node.js
}
// Buffer in Node.js
if (typeof Buffer === 'function' && param instanceof Buffer) {
return true;
} // Blob in browser
}
// Blob in browser
if (typeof Blob === 'function' && param instanceof Blob) {
return true;
} // File in browser (it seems File object is also instance of Blob, but keep this for safe)
}
// File in browser (it seems File object is also instance of Blob, but keep this for safe)
if (typeof File === 'function' && param instanceof File) {
return true;
}
return false;
}
/**

@@ -278,3 +256,2 @@ * Normalizes parameter values:

*/
}, {

@@ -284,7 +261,5 @@ key: "normalizeParams",

var newParams = {};
for (var key in params) {
if (params.hasOwnProperty(key) && params[key] != undefined && params[key] != null) {
var value = params[key];
if (this.isFileParam(value) || Array.isArray(value)) {

@@ -297,5 +272,5 @@ newParams[key] = value;

}
return newParams;
}
/**

@@ -308,3 +283,2 @@ * Builds a string representation of an array-type actual parameter, according to the given collection format.

*/
}, {

@@ -316,23 +290,16 @@ key: "buildCollectionParam",

}
switch (collectionFormat) {
case 'csv':
return param.map(this.paramToString, this).join(',');
case 'ssv':
return param.map(this.paramToString, this).join(' ');
case 'tsv':
return param.map(this.paramToString, this).join('\t');
case 'pipes':
return param.map(this.paramToString, this).join('|');
case 'multi':
//return the array directly as SuperAgent will handle it as expected
return param.map(this.paramToString, this);
case 'passthrough':
return param;
default:

@@ -342,2 +309,3 @@ throw new Error('Unknown collection format: ' + collectionFormat);

}
/**

@@ -348,3 +316,2 @@ * Applies authentication headers to the request.

*/
}, {

@@ -354,6 +321,4 @@ key: "applyAuthToRequest",

var _this2 = this;
authNames.forEach(function (authName) {
var auth = _this2.authentications[authName];
switch (auth.type) {

@@ -364,5 +329,3 @@ case 'basic':

}
break;
case 'bearer':

@@ -375,9 +338,6 @@ if (auth.accessToken) {

}
break;
case 'apiKey':
if (auth.apiKey) {
var data = {};
if (auth.apiKeyPrefix) {

@@ -388,3 +348,2 @@ data[auth.name] = auth.apiKeyPrefix + ' ' + auth.apiKey;

}
if (auth['in'] === 'header') {

@@ -396,5 +355,3 @@ request.set(data);

}
break;
case 'oauth2':

@@ -406,5 +363,3 @@ if (auth.accessToken) {

}
break;
default:

@@ -415,2 +370,3 @@ throw new Error('Unknown authentication type: ' + auth.type);

}
/**

@@ -425,3 +381,2 @@ * Deserializes an HTTP response body into a value of the specified type.

*/
}, {

@@ -432,8 +387,7 @@ key: "deserialize",

return null;
} // Rely on SuperAgent for parsing response body.
}
// Rely on SuperAgent for parsing response body.
// See http://visionmedia.github.io/superagent/#parsing-response-bodies
var data = response.body;
if (data == null || _typeof(data) === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length) {

@@ -443,5 +397,5 @@ // SuperAgent does not always produce a body; use the unparsed response as a fallback

}
return ApiClient.convertToType(data, returnType);
}
/**

@@ -464,3 +418,2 @@ * Invokes the REST service using the supplied settings and parameters.

*/
}, {

@@ -470,6 +423,4 @@ key: "callApi",

var _this3 = this;
var url = this.buildUrl(path, pathParams, apiBasePath);
var request = (0, _superagent["default"])(httpMethod, url);
if (this.plugins !== null) {

@@ -481,23 +432,24 @@ for (var index in this.plugins) {

}
} // apply authentications
}
// apply authentications
this.applyAuthToRequest(request, authNames);
this.applyAuthToRequest(request, authNames); // set query parameters
// set query parameters
if (httpMethod.toUpperCase() === 'GET' && this.cache === false) {
queryParams['_'] = new Date().getTime();
}
request.query(this.normalizeParams(queryParams));
request.query(this.normalizeParams(queryParams)); // set header parameters
// set header parameters
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams)); // set requestAgent if it is set by user
// set requestAgent if it is set by user
if (this.requestAgent) {
request.agent(this.requestAgent);
} // set request timeout
}
// set request timeout
request.timeout(this.timeout);
var contentType = this.jsonPreferredMime(contentTypes);
if (contentType) {

@@ -509,3 +461,2 @@ // Issue with superagent and multipart/form-data (https://github.com/visionmedia/superagent/issues/746)

}
if (contentType === 'application/x-www-form-urlencoded') {

@@ -515,7 +466,5 @@ request.send(_querystring["default"].stringify(this.normalizeParams(formParams)));

var _formParams = this.normalizeParams(formParams);
for (var key in _formParams) {
if (_formParams.hasOwnProperty(key)) {
var _formParamsValue = _formParams[key];
if (this.isFileParam(_formParamsValue)) {

@@ -538,12 +487,8 @@ // file field

}
request.send(bodyParam);
}
var accept = this.jsonPreferredMime(accepts);
if (accept) {
request.accept(accept);
}
if (returnType === 'Blob') {

@@ -553,5 +498,5 @@ request.responseType('blob');

request.responseType('string');
} // Attach previously saved cookies, if enabled
}
// Attach previously saved cookies, if enabled
if (this.enableCookies) {

@@ -564,3 +509,2 @@ if (typeof window === 'undefined') {

}
return new Promise(function (resolve, reject) {

@@ -570,3 +514,2 @@ request.end(function (error, response) {

var err = {};
if (response) {

@@ -578,3 +521,2 @@ err.status = response.status;

}
err.error = error;

@@ -585,7 +527,5 @@ reject(err);

var data = _this3.deserialize(response, returnType);
if (_this3.enableCookies && typeof window === 'undefined') {
_this3.agent._saveCookies(response);
}
resolve({

@@ -602,2 +542,3 @@ data: data,

}
/**

@@ -608,3 +549,2 @@ * Parses an ISO-8601 string representation or epoch representation of a date value.

*/
}, {

@@ -627,15 +567,15 @@ key: "hostSettings",

var variables = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var servers = this.hostSettings(); // check array index out of bound
var servers = this.hostSettings();
// check array index out of bound
if (index < 0 || index >= servers.length) {
throw new Error("Invalid index " + index + " when selecting the host settings. Must be less than " + servers.length);
}
var server = servers[index];
var url = server['url']; // go through variable and assign a value
var url = server['url'];
// go through variable and assign a value
for (var variable_name in server['variables']) {
if (variable_name in variables) {
var variable = server['variables'][variable_name];
if (!('enum_values' in variable) || variable['enum_values'].includes(variables[variable_name])) {

@@ -651,5 +591,5 @@ url = url.replace("{" + variable_name + "}", variables[variable_name]);

}
return url;
}
/**

@@ -660,3 +600,2 @@ * Constructs a new map or array model from REST data.

*/
}], [{

@@ -666,3 +605,2 @@ key: "canBeJsonified",

if (typeof str !== 'string' && _typeof(str) !== 'object') return false;
try {

@@ -681,5 +619,5 @@ var type = str.toString();

}
return new Date(+str);
}
/**

@@ -694,3 +632,2 @@ * Converts a value to the specified type.

*/
}, {

@@ -700,22 +637,15 @@ key: "convertToType",

if (data === null || data === undefined) return data;
switch (type) {
case 'Boolean':
return Boolean(data);
case 'Integer':
return parseInt(data, 10);
case 'Number':
return parseFloat(data);
case 'String':
return String(data);
case 'Date':
return ApiClient.parseDate(String(data));
case 'Blob':
return data;
default:

@@ -737,3 +667,2 @@ if (type === Object) {

var keyType, valueType;
for (var k in type) {

@@ -746,5 +675,3 @@ if (type.hasOwnProperty(k)) {

}
var result = {};
for (var k in data) {

@@ -757,3 +684,2 @@ if (data.hasOwnProperty(k)) {

}
return result;

@@ -764,3 +690,2 @@ } else {

}
}

@@ -782,12 +707,8 @@ }

}]);
return ApiClient;
}();
/**
* Enumeration of collection format separator strategies.
* @enum {String}
* @readonly
*/
}(); /**
* Enumeration of collection format separator strategies.
* @enum {String}
* @readonly
*/
ApiClient.CollectionFormatEnum = {

@@ -799,3 +720,2 @@ /**

CSV: ',',
/**

@@ -806,3 +726,2 @@ * Space-separated values. Value: <code>ssv</code>

SSV: ' ',
/**

@@ -813,3 +732,2 @@ * Tab-separated values. Value: <code>tsv</code>

TSV: '\t',
/**

@@ -820,3 +738,2 @@ * Pipe(|)-separated values. Value: <code>pipes</code>

PIPES: '|',
/**

@@ -828,2 +745,3 @@ * Native array. Value: <code>multi</code>

};
/**

@@ -833,5 +751,4 @@ * The default API client implementation.

*/
ApiClient.instance = new ApiClient();
var _default = ApiClient;
exports["default"] = _default;

@@ -12,2 +12,8 @@ "use strict";

});
Object.defineProperty(exports, "ApiClientEx", {
enumerable: true,
get: function get() {
return _ApiClientEx["default"];
}
});
Object.defineProperty(exports, "AppendToAutomationRun", {

@@ -109,37 +115,20 @@ enumerable: true,

});
var _ApiClient = _interopRequireDefault(require("./ApiClient"));
var _ApiClientEx = _interopRequireDefault(require("./ApiClientEx"));
var _AppendToAutomationRun = _interopRequireDefault(require("./model/AppendToAutomationRun"));
var _AppendToAutomationRunThread = _interopRequireDefault(require("./model/AppendToAutomationRunThread"));
var _CompleteAutomationRun = _interopRequireDefault(require("./model/CompleteAutomationRun"));
var _CompleteAutomationRunThread = _interopRequireDefault(require("./model/CompleteAutomationRunThread"));
var _CreateAutomationArtifact = _interopRequireDefault(require("./model/CreateAutomationArtifact"));
var _CreateAutomationField = _interopRequireDefault(require("./model/CreateAutomationField"));
var _CreateAutomationLink = _interopRequireDefault(require("./model/CreateAutomationLink"));
var _CreateAutomationRun = _interopRequireDefault(require("./model/CreateAutomationRun"));
var _CreateAutomationRunThread = _interopRequireDefault(require("./model/CreateAutomationRunThread"));
var _CreateAutomationTest = _interopRequireDefault(require("./model/CreateAutomationTest"));
var _CreatedAutomationRun = _interopRequireDefault(require("./model/CreatedAutomationRun"));
var _CreatedAutomationRunThread = _interopRequireDefault(require("./model/CreatedAutomationRunThread"));
var _ErrorCollection = _interopRequireDefault(require("./model/ErrorCollection"));
var _User = _interopRequireDefault(require("./model/User"));
var _AutomationRunsApi = _interopRequireDefault(require("./api/AutomationRunsApi"));
var _UserApi = _interopRequireDefault(require("./api/UserApi"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -7,19 +7,10 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
var _CreateAutomationArtifact = _interopRequireDefault(require("./CreateAutomationArtifact"));
var _CreateAutomationField = _interopRequireDefault(require("./CreateAutomationField"));
var _CreateAutomationLink = _interopRequireDefault(require("./CreateAutomationLink"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -29,4 +20,3 @@ * The AppendToAutomationRun model module.

* @version 1.0.0
*/
var AppendToAutomationRun = /*#__PURE__*/function () {
*/var AppendToAutomationRun = /*#__PURE__*/function () {
/**

@@ -38,5 +28,5 @@ * Constructs a new <code>AppendToAutomationRun</code>.

_classCallCheck(this, AppendToAutomationRun);
AppendToAutomationRun.initialize(this);
}
/**

@@ -47,7 +37,6 @@ * Initializes the fields of this object.

*/
_createClass(AppendToAutomationRun, null, [{
key: "initialize",
value: function initialize(obj) {}
/**

@@ -60,3 +49,2 @@ * Constructs a <code>AppendToAutomationRun</code> from a plain JavaScript object, optionally creating a new instance.

*/
}, {

@@ -67,11 +55,8 @@ key: "constructFromObject",

obj = obj || new AppendToAutomationRun();
if (data.hasOwnProperty('artifacts')) {
obj['artifacts'] = _ApiClient["default"].convertToType(data['artifacts'], [_CreateAutomationArtifact["default"]]);
}
if (data.hasOwnProperty('fields')) {
obj['fields'] = _ApiClient["default"].convertToType(data['fields'], [_CreateAutomationField["default"]]);
}
if (data.hasOwnProperty('links')) {

@@ -81,16 +66,12 @@ obj['links'] = _ApiClient["default"].convertToType(data['links'], [_CreateAutomationLink["default"]]);

}
return obj;
}
}]);
return AppendToAutomationRun;
}();
/**
* List of externally stored test artifacts to link to the automation run (such as log files, screenshots or test data).
* @member {Array.<module:model/CreateAutomationArtifact>} artifacts
*/
}(); /**
* List of externally stored test artifacts to link to the automation run (such as log files, screenshots or test data).
* @member {Array.<module:model/CreateAutomationArtifact>} artifacts
*/
AppendToAutomationRun.prototype['artifacts'] = undefined;
AppendToAutomationRun.prototype['artifacts'] = undefined;
/**

@@ -100,4 +81,4 @@ * List of fields to attach to the automation run (such as environment variables, errors or terminal output).

*/
AppendToAutomationRun.prototype['fields'] = undefined;
AppendToAutomationRun.prototype['fields'] = undefined;
/**

@@ -107,5 +88,4 @@ * List of links to attach to the automation run (such as a link back to the build in the CI tool that triggered the tests).

*/
AppendToAutomationRun.prototype['links'] = undefined;
var _default = AppendToAutomationRun;
exports["default"] = _default;

@@ -7,19 +7,10 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
var _CreateAutomationArtifact = _interopRequireDefault(require("./CreateAutomationArtifact"));
var _CreateAutomationField = _interopRequireDefault(require("./CreateAutomationField"));
var _CreateAutomationTest = _interopRequireDefault(require("./CreateAutomationTest"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -29,4 +20,3 @@ * The AppendToAutomationRunThread model module.

* @version 1.0.0
*/
var AppendToAutomationRunThread = /*#__PURE__*/function () {
*/var AppendToAutomationRunThread = /*#__PURE__*/function () {
/**

@@ -38,5 +28,5 @@ * Constructs a new <code>AppendToAutomationRunThread</code>.

_classCallCheck(this, AppendToAutomationRunThread);
AppendToAutomationRunThread.initialize(this);
}
/**

@@ -47,7 +37,6 @@ * Initializes the fields of this object.

*/
_createClass(AppendToAutomationRunThread, null, [{
key: "initialize",
value: function initialize(obj) {}
/**

@@ -60,3 +49,2 @@ * Constructs a <code>AppendToAutomationRunThread</code> from a plain JavaScript object, optionally creating a new instance.

*/
}, {

@@ -67,19 +55,14 @@ key: "constructFromObject",

obj = obj || new AppendToAutomationRunThread();
if (data.hasOwnProperty('elapsed_observed')) {
obj['elapsed_observed'] = _ApiClient["default"].convertToType(data['elapsed_observed'], 'Number');
}
if (data.hasOwnProperty('elapsed_computed')) {
obj['elapsed_computed'] = _ApiClient["default"].convertToType(data['elapsed_computed'], 'Number');
}
if (data.hasOwnProperty('artifacts')) {
obj['artifacts'] = _ApiClient["default"].convertToType(data['artifacts'], [_CreateAutomationArtifact["default"]]);
}
if (data.hasOwnProperty('fields')) {
obj['fields'] = _ApiClient["default"].convertToType(data['fields'], [_CreateAutomationField["default"]]);
}
if (data.hasOwnProperty('tests')) {

@@ -89,16 +72,12 @@ obj['tests'] = _ApiClient["default"].convertToType(data['tests'], [_CreateAutomationTest["default"]]);

}
return obj;
}
}]);
return AppendToAutomationRunThread;
}();
/**
* Partial observed elapsed (execution time) in microseconds to add to the overall observed time of the thread.
* @member {Number} elapsed_observed
*/
}(); /**
* Partial observed elapsed (execution time) in microseconds to add to the overall observed time of the thread.
* @member {Number} elapsed_observed
*/
AppendToAutomationRunThread.prototype['elapsed_observed'] = undefined;
AppendToAutomationRunThread.prototype['elapsed_observed'] = undefined;
/**

@@ -108,4 +87,4 @@ * Partial computed elapsed (execution time) in microseconds to add to the overall computed time of the thread. The _observed_ elapsed is usually derived from measuring the execution time of tests whereas the _computed_ elapsed is calculated from result log files.

*/
AppendToAutomationRunThread.prototype['elapsed_computed'] = undefined;
AppendToAutomationRunThread.prototype['elapsed_computed'] = undefined;
/**

@@ -115,4 +94,4 @@ * List of externally stored test artifacts to link to the thread (such as log files, screenshots or test data).

*/
AppendToAutomationRunThread.prototype['artifacts'] = undefined;
AppendToAutomationRunThread.prototype['artifacts'] = undefined;
/**

@@ -122,4 +101,4 @@ * List of fields to attach to the thread (such as environment variables, errors or terminal output).

*/
AppendToAutomationRunThread.prototype['fields'] = undefined;
AppendToAutomationRunThread.prototype['fields'] = undefined;
/**

@@ -129,5 +108,4 @@ * List of tests to add to the thread.

*/
AppendToAutomationRunThread.prototype['tests'] = undefined;
var _default = AppendToAutomationRunThread;
exports["default"] = _default;

@@ -7,13 +7,7 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -23,4 +17,3 @@ * The CompleteAutomationRun model module.

* @version 1.0.0
*/
var CompleteAutomationRun = /*#__PURE__*/function () {
*/var CompleteAutomationRun = /*#__PURE__*/function () {
/**

@@ -32,5 +25,5 @@ * Constructs a new <code>CompleteAutomationRun</code>.

_classCallCheck(this, CompleteAutomationRun);
CompleteAutomationRun.initialize(this);
}
/**

@@ -41,7 +34,6 @@ * Initializes the fields of this object.

*/
_createClass(CompleteAutomationRun, null, [{
key: "initialize",
value: function initialize(obj) {}
/**

@@ -54,3 +46,2 @@ * Constructs a <code>CompleteAutomationRun</code> from a plain JavaScript object, optionally creating a new instance.

*/
}, {

@@ -61,3 +52,2 @@ key: "constructFromObject",

obj = obj || new CompleteAutomationRun();
if (data.hasOwnProperty('measure_elapsed')) {

@@ -67,17 +57,12 @@ obj['measure_elapsed'] = _ApiClient["default"].convertToType(data['measure_elapsed'], 'Boolean');

}
return obj;
}
}]);
return CompleteAutomationRun;
}();
/**
* Defines if the execution time of the automation run should automatically be set to the elapsed time between the creation and completion date of the run. This is useful in scenarios where the overall execution time of the run is independent from the execution times of its threads.
* @member {Boolean} measure_elapsed
*/
}(); /**
* Defines if the execution time of the automation run should automatically be set to the elapsed time between the creation and completion date of the run. This is useful in scenarios where the overall execution time of the run is independent from the execution times of its threads.
* @member {Boolean} measure_elapsed
*/
CompleteAutomationRun.prototype['measure_elapsed'] = undefined;
var _default = CompleteAutomationRun;
exports["default"] = _default;

@@ -7,13 +7,7 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -23,4 +17,3 @@ * The CompleteAutomationRunThread model module.

* @version 1.0.0
*/
var CompleteAutomationRunThread = /*#__PURE__*/function () {
*/var CompleteAutomationRunThread = /*#__PURE__*/function () {
/**

@@ -32,5 +25,5 @@ * Constructs a new <code>CompleteAutomationRunThread</code>.

_classCallCheck(this, CompleteAutomationRunThread);
CompleteAutomationRunThread.initialize(this);
}
/**

@@ -41,7 +34,6 @@ * Initializes the fields of this object.

*/
_createClass(CompleteAutomationRunThread, null, [{
key: "initialize",
value: function initialize(obj) {}
/**

@@ -54,3 +46,2 @@ * Constructs a <code>CompleteAutomationRunThread</code> from a plain JavaScript object, optionally creating a new instance.

*/
}, {

@@ -61,7 +52,5 @@ key: "constructFromObject",

obj = obj || new CompleteAutomationRunThread();
if (data.hasOwnProperty('elapsed_observed')) {
obj['elapsed_observed'] = _ApiClient["default"].convertToType(data['elapsed_observed'], 'Number');
}
if (data.hasOwnProperty('elapsed_computed')) {

@@ -71,16 +60,12 @@ obj['elapsed_computed'] = _ApiClient["default"].convertToType(data['elapsed_computed'], 'Number');

}
return obj;
}
}]);
return CompleteAutomationRunThread;
}();
/**
* Observed overall elapsed (execution time) of the thread in microseconds.
* @member {Number} elapsed_observed
*/
}(); /**
* Observed overall elapsed (execution time) of the thread in microseconds.
* @member {Number} elapsed_observed
*/
CompleteAutomationRunThread.prototype['elapsed_observed'] = undefined;
CompleteAutomationRunThread.prototype['elapsed_observed'] = undefined;
/**

@@ -90,5 +75,4 @@ * Computed overall elapsed (execution time) of the thread in microseconds. The _observed_ elapsed is usually derived from measuring the execution time of tests whereas the _computed_ elapsed is calculated from result log files.

*/
CompleteAutomationRunThread.prototype['elapsed_computed'] = undefined;
var _default = CompleteAutomationRunThread;
exports["default"] = _default;

@@ -7,13 +7,7 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -23,4 +17,3 @@ * The CreateAutomationArtifact model module.

* @version 1.0.0
*/
var CreateAutomationArtifact = /*#__PURE__*/function () {
*/var CreateAutomationArtifact = /*#__PURE__*/function () {
/**

@@ -34,5 +27,5 @@ * Constructs a new <code>CreateAutomationArtifact</code>.

_classCallCheck(this, CreateAutomationArtifact);
CreateAutomationArtifact.initialize(this, name, url);
}
/**

@@ -43,4 +36,2 @@ * Initializes the fields of this object.

*/
_createClass(CreateAutomationArtifact, null, [{

@@ -52,2 +43,3 @@ key: "initialize",

}
/**

@@ -60,3 +52,2 @@ * Constructs a <code>CreateAutomationArtifact</code> from a plain JavaScript object, optionally creating a new instance.

*/
}, {

@@ -67,19 +58,14 @@ key: "constructFromObject",

obj = obj || new CreateAutomationArtifact();
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('note')) {
obj['note'] = _ApiClient["default"].convertToType(data['note'], 'String');
}
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
if (data.hasOwnProperty('mime_type')) {
obj['mime_type'] = _ApiClient["default"].convertToType(data['mime_type'], 'String');
}
if (data.hasOwnProperty('size')) {

@@ -89,16 +75,12 @@ obj['size'] = _ApiClient["default"].convertToType(data['size'], 'Number');

}
return obj;
}
}]);
return CreateAutomationArtifact;
}();
/**
* Name or file name of the test artifact.
* @member {String} name
*/
}(); /**
* Name or file name of the test artifact.
* @member {String} name
*/
CreateAutomationArtifact.prototype['name'] = undefined;
CreateAutomationArtifact.prototype['name'] = undefined;
/**

@@ -108,4 +90,4 @@ * Short note or summary of the test artifact with a maximum of 80 characters.

*/
CreateAutomationArtifact.prototype['note'] = undefined;
CreateAutomationArtifact.prototype['note'] = undefined;
/**

@@ -115,4 +97,4 @@ * Link to an external resource to download the test artifact.

*/
CreateAutomationArtifact.prototype['url'] = undefined;
CreateAutomationArtifact.prototype['url'] = undefined;
/**

@@ -122,4 +104,4 @@ * MIME type of the test artifact (for example, `image/png`, `text/plain` or `application/octet-stream`).

*/
CreateAutomationArtifact.prototype['mime_type'] = undefined;
CreateAutomationArtifact.prototype['mime_type'] = undefined;
/**

@@ -129,5 +111,4 @@ * File size of the test artifact in bytes.

*/
CreateAutomationArtifact.prototype['size'] = undefined;
var _default = CreateAutomationArtifact;
exports["default"] = _default;

@@ -7,13 +7,7 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -23,4 +17,3 @@ * The CreateAutomationField model module.

* @version 1.0.0
*/
var CreateAutomationField = /*#__PURE__*/function () {
*/var CreateAutomationField = /*#__PURE__*/function () {
/**

@@ -34,5 +27,5 @@ * Constructs a new <code>CreateAutomationField</code>.

_classCallCheck(this, CreateAutomationField);
CreateAutomationField.initialize(this, type, name);
}
/**

@@ -43,4 +36,2 @@ * Initializes the fields of this object.

*/
_createClass(CreateAutomationField, null, [{

@@ -52,2 +43,3 @@ key: "initialize",

}
/**

@@ -60,3 +52,2 @@ * Constructs a <code>CreateAutomationField</code> from a plain JavaScript object, optionally creating a new instance.

*/
}, {

@@ -67,15 +58,11 @@ key: "constructFromObject",

obj = obj || new CreateAutomationField();
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'Number');
}
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('value')) {
obj['value'] = _ApiClient["default"].convertToType(data['value'], 'String');
}
if (data.hasOwnProperty('meta')) {

@@ -86,3 +73,2 @@ obj['meta'] = _ApiClient["default"].convertToType(data['meta'], {

}
if (data.hasOwnProperty('is_highlight')) {

@@ -92,16 +78,12 @@ obj['is_highlight'] = _ApiClient["default"].convertToType(data['is_highlight'], 'Boolean');

}
return obj;
}
}]);
return CreateAutomationField;
}();
/**
* Type of the field. Use: `1` for regular strings `2` for plain text `3` for HTML text `4` for text to display in a terminal/console frame (with a monospaced font) `5` for URLs
* @member {module:model/CreateAutomationField.TypeEnum} type
*/
}(); /**
* Type of the field. Use: `1` for regular strings `2` for plain text `3` for HTML text `4` for text to display in a terminal/console frame (with a monospaced font) `5` for URLs
* @member {module:model/CreateAutomationField.TypeEnum} type
*/
CreateAutomationField.prototype['type'] = undefined;
CreateAutomationField.prototype['type'] = undefined;
/**

@@ -111,4 +93,4 @@ * Name of the field.

*/
CreateAutomationField.prototype['name'] = undefined;
CreateAutomationField.prototype['name'] = undefined;
/**

@@ -118,4 +100,4 @@ * Value of the field (interpreted as defined by `type`).

*/
CreateAutomationField.prototype['value'] = undefined;
CreateAutomationField.prototype['value'] = undefined;
/**

@@ -125,4 +107,4 @@ * Meta fields to attach to the field (to store extra information with a field).

*/
CreateAutomationField.prototype['meta'] = undefined;
CreateAutomationField.prototype['meta'] = undefined;
/**

@@ -132,4 +114,4 @@ * Defines if the field (or related meta fields) are highlighted in the user interface.

*/
CreateAutomationField.prototype['is_highlight'] = undefined;
CreateAutomationField.prototype['is_highlight'] = undefined;
/**

@@ -140,3 +122,2 @@ * Allowed values for the <code>type</code> property.

*/
CreateAutomationField['TypeEnum'] = {

@@ -148,3 +129,2 @@ /**

"1": 1,
/**

@@ -155,3 +135,2 @@ * value: 2

"2": 2,
/**

@@ -162,3 +141,2 @@ * value: 3

"3": 3,
/**

@@ -169,3 +147,2 @@ * value: 4

"4": 4,
/**

@@ -172,0 +149,0 @@ * value: 5

@@ -7,13 +7,7 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -23,4 +17,3 @@ * The CreateAutomationLink model module.

* @version 1.0.0
*/
var CreateAutomationLink = /*#__PURE__*/function () {
*/var CreateAutomationLink = /*#__PURE__*/function () {
/**

@@ -34,5 +27,5 @@ * Constructs a new <code>CreateAutomationLink</code>.

_classCallCheck(this, CreateAutomationLink);
CreateAutomationLink.initialize(this, name, url);
}
/**

@@ -43,4 +36,2 @@ * Initializes the fields of this object.

*/
_createClass(CreateAutomationLink, null, [{

@@ -52,2 +43,3 @@ key: "initialize",

}
/**

@@ -60,3 +52,2 @@ * Constructs a <code>CreateAutomationLink</code> from a plain JavaScript object, optionally creating a new instance.

*/
}, {

@@ -67,11 +58,8 @@ key: "constructFromObject",

obj = obj || new CreateAutomationLink();
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('note')) {
obj['note'] = _ApiClient["default"].convertToType(data['note'], 'String');
}
if (data.hasOwnProperty('url')) {

@@ -81,16 +69,12 @@ obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');

}
return obj;
}
}]);
return CreateAutomationLink;
}();
/**
* Name or file name of the link.
* @member {String} name
*/
}(); /**
* Name or file name of the link.
* @member {String} name
*/
CreateAutomationLink.prototype['name'] = undefined;
CreateAutomationLink.prototype['name'] = undefined;
/**

@@ -100,4 +84,4 @@ * Short note or summary of the link with a maximum of 80 characters.

*/
CreateAutomationLink.prototype['note'] = undefined;
CreateAutomationLink.prototype['note'] = undefined;
/**

@@ -107,5 +91,4 @@ * Link to an external resource or website.

*/
CreateAutomationLink.prototype['url'] = undefined;
var _default = CreateAutomationLink;
exports["default"] = _default;

@@ -7,19 +7,10 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
var _CreateAutomationArtifact = _interopRequireDefault(require("./CreateAutomationArtifact"));
var _CreateAutomationField = _interopRequireDefault(require("./CreateAutomationField"));
var _CreateAutomationLink = _interopRequireDefault(require("./CreateAutomationLink"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -29,4 +20,3 @@ * The CreateAutomationRun model module.

* @version 1.0.0
*/
var CreateAutomationRun = /*#__PURE__*/function () {
*/var CreateAutomationRun = /*#__PURE__*/function () {
/**

@@ -40,5 +30,5 @@ * Constructs a new <code>CreateAutomationRun</code>.

_classCallCheck(this, CreateAutomationRun);
CreateAutomationRun.initialize(this, name, source);
}
/**

@@ -49,4 +39,2 @@ * Initializes the fields of this object.

*/
_createClass(CreateAutomationRun, null, [{

@@ -58,2 +46,3 @@ key: "initialize",

}
/**

@@ -66,3 +55,2 @@ * Constructs a <code>CreateAutomationRun</code> from a plain JavaScript object, optionally creating a new instance.

*/
}, {

@@ -73,39 +61,29 @@ key: "constructFromObject",

obj = obj || new CreateAutomationRun();
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('source')) {
obj['source'] = _ApiClient["default"].convertToType(data['source'], 'String');
}
if (data.hasOwnProperty('config')) {
obj['config'] = _ApiClient["default"].convertToType(data['config'], 'String');
}
if (data.hasOwnProperty('config_id')) {
obj['config_id'] = _ApiClient["default"].convertToType(data['config_id'], 'Number');
}
if (data.hasOwnProperty('milestone')) {
obj['milestone'] = _ApiClient["default"].convertToType(data['milestone'], 'String');
}
if (data.hasOwnProperty('milestone_id')) {
obj['milestone_id'] = _ApiClient["default"].convertToType(data['milestone_id'], 'Number');
}
if (data.hasOwnProperty('tags')) {
obj['tags'] = _ApiClient["default"].convertToType(data['tags'], ['String']);
}
if (data.hasOwnProperty('artifacts')) {
obj['artifacts'] = _ApiClient["default"].convertToType(data['artifacts'], [_CreateAutomationArtifact["default"]]);
}
if (data.hasOwnProperty('fields')) {
obj['fields'] = _ApiClient["default"].convertToType(data['fields'], [_CreateAutomationField["default"]]);
}
if (data.hasOwnProperty('links')) {

@@ -115,16 +93,12 @@ obj['links'] = _ApiClient["default"].convertToType(data['links'], [_CreateAutomationLink["default"]]);

}
return obj;
}
}]);
return CreateAutomationRun;
}();
/**
* Name of the new automation run.
* @member {String} name
*/
}(); /**
* Name of the new automation run.
* @member {String} name
*/
CreateAutomationRun.prototype['name'] = undefined;
CreateAutomationRun.prototype['name'] = undefined;
/**

@@ -134,4 +108,4 @@ * Name of the source for the new automation run. If this source does not already exist in the target project, Testmo automatically creates a new one. It is recommended to keep source names short. Good examples are `backend`, `frontend` or `mobile-iphone`.

*/
CreateAutomationRun.prototype['source'] = undefined;
CreateAutomationRun.prototype['source'] = undefined;
/**

@@ -141,4 +115,4 @@ * Name of the configuration for the new automation run.

*/
CreateAutomationRun.prototype['config'] = undefined;
CreateAutomationRun.prototype['config'] = undefined;
/**

@@ -148,4 +122,4 @@ * ID of the configuration for the new automation run. If both `config` and `config_id` are specified, `config_id` is given precedence.

*/
CreateAutomationRun.prototype['config_id'] = undefined;
CreateAutomationRun.prototype['config_id'] = undefined;
/**

@@ -155,4 +129,4 @@ * Name of the milestone for the new automation run.

*/
CreateAutomationRun.prototype['milestone'] = undefined;
CreateAutomationRun.prototype['milestone'] = undefined;
/**

@@ -162,4 +136,4 @@ * ID of the milestone for the new automation run. If both `milestone` and `milestone_id` are specified, `milestone_id` is given precedence.

*/
CreateAutomationRun.prototype['milestone_id'] = undefined;
CreateAutomationRun.prototype['milestone_id'] = undefined;
/**

@@ -169,4 +143,4 @@ * List of tags for the new automation run. If a milestone in the same project has one or more matching automation tags, the new automation run is automatically linked to that milestone (unless `milestone` or `milestone_id` is also specified).

*/
CreateAutomationRun.prototype['tags'] = undefined;
CreateAutomationRun.prototype['tags'] = undefined;
/**

@@ -176,4 +150,4 @@ * List of externally stored test artifacts to link to the new automation run (such as log files, screenshots or test data).

*/
CreateAutomationRun.prototype['artifacts'] = undefined;
CreateAutomationRun.prototype['artifacts'] = undefined;
/**

@@ -183,4 +157,4 @@ * List of fields to attach to the new automation run (such as environment variables, errors or terminal output).

*/
CreateAutomationRun.prototype['fields'] = undefined;
CreateAutomationRun.prototype['fields'] = undefined;
/**

@@ -190,5 +164,4 @@ * List of links to attach to the new automation run (such as a link back to the build in the CI tool that triggered the tests).

*/
CreateAutomationRun.prototype['links'] = undefined;
var _default = CreateAutomationRun;
exports["default"] = _default;

@@ -7,17 +7,9 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
var _CreateAutomationArtifact = _interopRequireDefault(require("./CreateAutomationArtifact"));
var _CreateAutomationField = _interopRequireDefault(require("./CreateAutomationField"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -27,4 +19,3 @@ * The CreateAutomationRunThread model module.

* @version 1.0.0
*/
var CreateAutomationRunThread = /*#__PURE__*/function () {
*/var CreateAutomationRunThread = /*#__PURE__*/function () {
/**

@@ -36,5 +27,5 @@ * Constructs a new <code>CreateAutomationRunThread</code>.

_classCallCheck(this, CreateAutomationRunThread);
CreateAutomationRunThread.initialize(this);
}
/**

@@ -45,7 +36,6 @@ * Initializes the fields of this object.

*/
_createClass(CreateAutomationRunThread, null, [{
key: "initialize",
value: function initialize(obj) {}
/**

@@ -58,3 +48,2 @@ * Constructs a <code>CreateAutomationRunThread</code> from a plain JavaScript object, optionally creating a new instance.

*/
}, {

@@ -65,15 +54,11 @@ key: "constructFromObject",

obj = obj || new CreateAutomationRunThread();
if (data.hasOwnProperty('elapsed_observed')) {
obj['elapsed_observed'] = _ApiClient["default"].convertToType(data['elapsed_observed'], 'Number');
}
if (data.hasOwnProperty('elapsed_computed')) {
obj['elapsed_computed'] = _ApiClient["default"].convertToType(data['elapsed_computed'], 'Number');
}
if (data.hasOwnProperty('artifacts')) {
obj['artifacts'] = _ApiClient["default"].convertToType(data['artifacts'], [_CreateAutomationArtifact["default"]]);
}
if (data.hasOwnProperty('fields')) {

@@ -83,16 +68,12 @@ obj['fields'] = _ApiClient["default"].convertToType(data['fields'], [_CreateAutomationField["default"]]);

}
return obj;
}
}]);
return CreateAutomationRunThread;
}();
/**
* Observed overall elapsed (execution time) of the thread in microseconds.
* @member {Number} elapsed_observed
*/
}(); /**
* Observed overall elapsed (execution time) of the thread in microseconds.
* @member {Number} elapsed_observed
*/
CreateAutomationRunThread.prototype['elapsed_observed'] = undefined;
CreateAutomationRunThread.prototype['elapsed_observed'] = undefined;
/**

@@ -102,4 +83,4 @@ * Computed overall elapsed (execution time) of the thread in microseconds. The _observed_ elapsed is usually derived from measuring the execution time of tests whereas the _computed_ elapsed is calculated from result log files.

*/
CreateAutomationRunThread.prototype['elapsed_computed'] = undefined;
CreateAutomationRunThread.prototype['elapsed_computed'] = undefined;
/**

@@ -109,4 +90,4 @@ * List of externally stored test artifacts to link to the new thread (such as log files, screenshots or test data).

*/
CreateAutomationRunThread.prototype['artifacts'] = undefined;
CreateAutomationRunThread.prototype['artifacts'] = undefined;
/**

@@ -116,5 +97,4 @@ * List of fields to attach to the new thread (such as environment variables, errors or terminal output).

*/
CreateAutomationRunThread.prototype['fields'] = undefined;
var _default = CreateAutomationRunThread;
exports["default"] = _default;

@@ -7,17 +7,9 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
var _CreateAutomationArtifact = _interopRequireDefault(require("./CreateAutomationArtifact"));
var _CreateAutomationField = _interopRequireDefault(require("./CreateAutomationField"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -27,4 +19,3 @@ * The CreateAutomationTest model module.

* @version 1.0.0
*/
var CreateAutomationTest = /*#__PURE__*/function () {
*/var CreateAutomationTest = /*#__PURE__*/function () {
/**

@@ -40,5 +31,5 @@ * Constructs a new <code>CreateAutomationTest</code>.

_classCallCheck(this, CreateAutomationTest);
CreateAutomationTest.initialize(this, key, name, status, folder);
}
/**

@@ -49,4 +40,2 @@ * Initializes the fields of this object.

*/
_createClass(CreateAutomationTest, null, [{

@@ -60,2 +49,3 @@ key: "initialize",

}
/**

@@ -68,3 +58,2 @@ * Constructs a <code>CreateAutomationTest</code> from a plain JavaScript object, optionally creating a new instance.

*/
}, {

@@ -75,39 +64,29 @@ key: "constructFromObject",

obj = obj || new CreateAutomationTest();
if (data.hasOwnProperty('key')) {
obj['key'] = _ApiClient["default"].convertToType(data['key'], 'String');
}
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
if (data.hasOwnProperty('folder')) {
obj['folder'] = _ApiClient["default"].convertToType(data['folder'], 'String');
}
if (data.hasOwnProperty('elapsed')) {
obj['elapsed'] = _ApiClient["default"].convertToType(data['elapsed'], 'Number');
}
if (data.hasOwnProperty('file')) {
obj['file'] = _ApiClient["default"].convertToType(data['file'], 'String');
}
if (data.hasOwnProperty('line')) {
obj['line'] = _ApiClient["default"].convertToType(data['line'], 'Number');
}
if (data.hasOwnProperty('assertions')) {
obj['assertions'] = _ApiClient["default"].convertToType(data['assertions'], 'Number');
}
if (data.hasOwnProperty('artifacts')) {
obj['artifacts'] = _ApiClient["default"].convertToType(data['artifacts'], [_CreateAutomationArtifact["default"]]);
}
if (data.hasOwnProperty('fields')) {

@@ -117,16 +96,12 @@ obj['fields'] = _ApiClient["default"].convertToType(data['fields'], [_CreateAutomationField["default"]]);

}
return obj;
}
}]);
return CreateAutomationTest;
}();
/**
* Key used to identify tests across multiple automation runs (in the context of the same source). Limited to a maximum of 64 lowercase alphanumeric (a-z, 0-9) characters.
* @member {String} key
*/
}(); /**
* Key used to identify tests across multiple automation runs (in the context of the same source). Limited to a maximum of 64 lowercase alphanumeric (a-z, 0-9) characters.
* @member {String} key
*/
CreateAutomationTest.prototype['key'] = undefined;
CreateAutomationTest.prototype['key'] = undefined;
/**

@@ -136,4 +111,4 @@ * Name of the test.

*/
CreateAutomationTest.prototype['name'] = undefined;
CreateAutomationTest.prototype['name'] = undefined;
/**

@@ -143,4 +118,4 @@ * Alias of the status for the result of the test (for example, `\"failed\"` or `\"passed\"`). The status aliases can be configured in Testmo's administration area.

*/
CreateAutomationTest.prototype['status'] = undefined;
CreateAutomationTest.prototype['status'] = undefined;
/**

@@ -150,4 +125,4 @@ * Fully qualified name of the target folder of the test. Folders can be used to group related tests and usually map to class or type names as defined in the test automation suite. Folders are created (and displayed in Testmo) in the order as submitted.

*/
CreateAutomationTest.prototype['folder'] = undefined;
CreateAutomationTest.prototype['folder'] = undefined;
/**

@@ -157,4 +132,4 @@ * Overall execution time (observed or computed) of the test in microseconds.

*/
CreateAutomationTest.prototype['elapsed'] = undefined;
CreateAutomationTest.prototype['elapsed'] = undefined;
/**

@@ -164,4 +139,4 @@ * Name of the file (with or without full path) the test is located in.

*/
CreateAutomationTest.prototype['file'] = undefined;
CreateAutomationTest.prototype['file'] = undefined;
/**

@@ -171,4 +146,4 @@ * Line number of the test in the given `file`.

*/
CreateAutomationTest.prototype['line'] = undefined;
CreateAutomationTest.prototype['line'] = undefined;
/**

@@ -178,4 +153,4 @@ * Number of assertions in the test.

*/
CreateAutomationTest.prototype['assertions'] = undefined;
CreateAutomationTest.prototype['assertions'] = undefined;
/**

@@ -185,4 +160,4 @@ * List of externally stored test artifacts to link to the test (such as log files, screenshots or test data).

*/
CreateAutomationTest.prototype['artifacts'] = undefined;
CreateAutomationTest.prototype['artifacts'] = undefined;
/**

@@ -192,5 +167,4 @@ * List of fields to attach to the test (such as environment variables, errors or terminal output).

*/
CreateAutomationTest.prototype['fields'] = undefined;
var _default = CreateAutomationTest;
exports["default"] = _default;

@@ -7,13 +7,7 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -23,4 +17,3 @@ * The CreatedAutomationRun model module.

* @version 1.0.0
*/
var CreatedAutomationRun = /*#__PURE__*/function () {
*/var CreatedAutomationRun = /*#__PURE__*/function () {
/**

@@ -32,5 +25,5 @@ * Constructs a new <code>CreatedAutomationRun</code>.

_classCallCheck(this, CreatedAutomationRun);
CreatedAutomationRun.initialize(this);
}
/**

@@ -41,7 +34,6 @@ * Initializes the fields of this object.

*/
_createClass(CreatedAutomationRun, null, [{
key: "initialize",
value: function initialize(obj) {}
/**

@@ -54,3 +46,2 @@ * Constructs a <code>CreatedAutomationRun</code> from a plain JavaScript object, optionally creating a new instance.

*/
}, {

@@ -61,3 +52,2 @@ key: "constructFromObject",

obj = obj || new CreatedAutomationRun();
if (data.hasOwnProperty('id')) {

@@ -67,17 +57,12 @@ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');

}
return obj;
}
}]);
return CreatedAutomationRun;
}();
/**
* ID of the created automation run.
* @member {Number} id
*/
}(); /**
* ID of the created automation run.
* @member {Number} id
*/
CreatedAutomationRun.prototype['id'] = undefined;
var _default = CreatedAutomationRun;
exports["default"] = _default;

@@ -7,13 +7,7 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -23,4 +17,3 @@ * The CreatedAutomationRunThread model module.

* @version 1.0.0
*/
var CreatedAutomationRunThread = /*#__PURE__*/function () {
*/var CreatedAutomationRunThread = /*#__PURE__*/function () {
/**

@@ -32,5 +25,5 @@ * Constructs a new <code>CreatedAutomationRunThread</code>.

_classCallCheck(this, CreatedAutomationRunThread);
CreatedAutomationRunThread.initialize(this);
}
/**

@@ -41,7 +34,6 @@ * Initializes the fields of this object.

*/
_createClass(CreatedAutomationRunThread, null, [{
key: "initialize",
value: function initialize(obj) {}
/**

@@ -54,3 +46,2 @@ * Constructs a <code>CreatedAutomationRunThread</code> from a plain JavaScript object, optionally creating a new instance.

*/
}, {

@@ -61,3 +52,2 @@ key: "constructFromObject",

obj = obj || new CreatedAutomationRunThread();
if (data.hasOwnProperty('id')) {

@@ -67,17 +57,12 @@ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');

}
return obj;
}
}]);
return CreatedAutomationRunThread;
}();
/**
* ID of the created automation run thread.
* @member {Number} id
*/
}(); /**
* ID of the created automation run thread.
* @member {Number} id
*/
CreatedAutomationRunThread.prototype['id'] = undefined;
var _default = CreatedAutomationRunThread;
exports["default"] = _default;

@@ -7,13 +7,7 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -23,4 +17,3 @@ * The ErrorCollection model module.

* @version 1.0.0
*/
var ErrorCollection = /*#__PURE__*/function () {
*/var ErrorCollection = /*#__PURE__*/function () {
/**

@@ -32,5 +25,5 @@ * Constructs a new <code>ErrorCollection</code>.

_classCallCheck(this, ErrorCollection);
ErrorCollection.initialize(this);
}
/**

@@ -41,7 +34,6 @@ * Initializes the fields of this object.

*/
_createClass(ErrorCollection, null, [{
key: "initialize",
value: function initialize(obj) {}
/**

@@ -54,3 +46,2 @@ * Constructs a <code>ErrorCollection</code> from a plain JavaScript object, optionally creating a new instance.

*/
}, {

@@ -61,7 +52,5 @@ key: "constructFromObject",

obj = obj || new ErrorCollection();
if (data.hasOwnProperty('message')) {
obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
}
if (data.hasOwnProperty('errors')) {

@@ -73,16 +62,12 @@ obj['errors'] = _ApiClient["default"].convertToType(data['errors'], {

}
return obj;
}
}]);
return ErrorCollection;
}();
/**
* Description of error returned by this operation.
* @member {String} message
*/
}(); /**
* Description of error returned by this operation.
* @member {String} message
*/
ErrorCollection.prototype['message'] = undefined;
ErrorCollection.prototype['message'] = undefined;
/**

@@ -92,5 +77,4 @@ * List of input parameter related errors returned by this operation.

*/
ErrorCollection.prototype['errors'] = undefined;
var _default = ErrorCollection;
exports["default"] = _default;

@@ -7,13 +7,7 @@ "use strict";

exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
/**

@@ -23,4 +17,3 @@ * The User model module.

* @version 1.0.0
*/
var User = /*#__PURE__*/function () {
*/var User = /*#__PURE__*/function () {
/**

@@ -34,5 +27,5 @@ * Constructs a new <code>User</code>.

_classCallCheck(this, User);
User.initialize(this, id, name);
}
/**

@@ -43,4 +36,2 @@ * Initializes the fields of this object.

*/
_createClass(User, null, [{

@@ -52,2 +43,3 @@ key: "initialize",

}
/**

@@ -60,3 +52,2 @@ * Constructs a <code>User</code> from a plain JavaScript object, optionally creating a new instance.

*/
}, {

@@ -67,19 +58,14 @@ key: "constructFromObject",

obj = obj || new User();
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
}
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('timezone')) {
obj['timezone'] = _ApiClient["default"].convertToType(data['timezone'], 'String');
}
if (data.hasOwnProperty('date_format')) {
obj['date_format'] = _ApiClient["default"].convertToType(data['date_format'], 'String');
}
if (data.hasOwnProperty('time_format')) {

@@ -89,36 +75,31 @@ obj['time_format'] = _ApiClient["default"].convertToType(data['time_format'], 'String');

}
return obj;
}
}]);
return User;
}();
/**
* @member {Number} id
*/
}(); /**
* @member {Number} id
*/
User.prototype['id'] = undefined;
User.prototype['id'] = undefined;
/**
* @member {String} name
*/
User.prototype['name'] = undefined;
User.prototype['name'] = undefined;
/**
* @member {String} timezone
*/
User.prototype['timezone'] = undefined;
User.prototype['timezone'] = undefined;
/**
* @member {String} date_format
*/
User.prototype['date_format'] = undefined;
User.prototype['date_format'] = undefined;
/**
* @member {String} time_format
*/
User.prototype['time_format'] = undefined;
var _default = User;
exports["default"] = _default;
{
"name": "@testmo/testmo-api",
"version": "1.0.4",
"version": "1.1.0-beta.0",
"description": "Testmo REST API JavaScript binding",

@@ -9,3 +9,3 @@ "author": "Testmo GmbH",

"scripts": {
"build": "babel src -d dist",
"build": "cp -a ext/* src/ && babel src -d dist",
"prepack": "npm run clean && npm run build",

@@ -15,3 +15,4 @@ "clean": "rm -rf dist/ && rm -f testmo*.tgz"

"dependencies": {
"superagent": "^6.1.0"
"superagent": "^7.1.5",
"superagent-proxy": "^3.0.0"
},

@@ -18,0 +19,0 @@ "devDependencies": {

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