@corellium/corellium-cli 1.3.4 → 1.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. package/coverage/cobertura-coverage.xml +1 -1
  2. package/coverage/lcov-report/index.html +1 -1
  3. package/node_modules/@corellium/client-api/README.md +177 -14
  4. package/node_modules/@corellium/client-api/dist/ApiClient.js +67 -138
  5. package/node_modules/@corellium/client-api/dist/api/CorelliumApi.js +4668 -905
  6. package/node_modules/@corellium/client-api/dist/index.js +469 -37
  7. package/node_modules/@corellium/client-api/dist/model/Address.js +158 -0
  8. package/node_modules/@corellium/client-api/dist/model/AgentApp.js +159 -0
  9. package/node_modules/@corellium/client-api/dist/model/AgentAppReadyResponse.js +112 -0
  10. package/node_modules/@corellium/client-api/dist/model/AgentAppStatus.js +102 -0
  11. package/node_modules/@corellium/client-api/dist/model/AgentAppsList.js +127 -0
  12. package/node_modules/@corellium/client-api/dist/model/AgentAppsStatusList.js +127 -0
  13. package/node_modules/@corellium/client-api/dist/model/AgentError.js +153 -0
  14. package/node_modules/@corellium/client-api/dist/model/AgentIcons.js +89 -0
  15. package/node_modules/@corellium/client-api/dist/model/AgentInstallBody.js +93 -0
  16. package/node_modules/@corellium/client-api/dist/model/AgentProfilesReturn.js +116 -0
  17. package/node_modules/@corellium/client-api/dist/model/AgentSystemAdbAuth.js +89 -0
  18. package/node_modules/@corellium/client-api/dist/model/AgentSystemGetPropBody.js +116 -0
  19. package/node_modules/@corellium/client-api/dist/model/AgentValueReturn.js +93 -0
  20. package/node_modules/@corellium/client-api/dist/model/AgreedAck.js +89 -0
  21. package/node_modules/@corellium/client-api/dist/model/ApiConflictError.js +61 -22
  22. package/node_modules/@corellium/client-api/dist/model/ApiError.js +64 -21
  23. package/node_modules/@corellium/client-api/dist/model/ApiInternalConsistencyError.js +144 -0
  24. package/node_modules/@corellium/client-api/dist/model/ApiNotFoundError.js +65 -23
  25. package/node_modules/@corellium/client-api/dist/model/ApiToken.js +55 -17
  26. package/node_modules/@corellium/client-api/dist/model/Bit.js +24 -14
  27. package/node_modules/@corellium/client-api/dist/model/BtraceEnableOptions.js +93 -0
  28. package/node_modules/@corellium/client-api/dist/model/Button.js +90 -0
  29. package/node_modules/@corellium/client-api/dist/model/CouponOptions.js +161 -0
  30. package/node_modules/@corellium/client-api/dist/model/CreateTeam.js +116 -0
  31. package/node_modules/@corellium/client-api/dist/model/CreatedBy.js +128 -0
  32. package/node_modules/@corellium/client-api/dist/model/Credentials.js +59 -19
  33. package/node_modules/@corellium/client-api/dist/model/DomainOptions.js +103 -0
  34. package/node_modules/@corellium/client-api/dist/model/Extension.js +167 -0
  35. package/node_modules/@corellium/client-api/dist/model/Features.js +260 -0
  36. package/node_modules/@corellium/client-api/dist/model/FileChanges.js +120 -0
  37. package/node_modules/@corellium/client-api/dist/model/Firmware.js +97 -46
  38. package/node_modules/@corellium/client-api/dist/model/GpioStateDefinition.js +55 -20
  39. package/node_modules/@corellium/client-api/dist/model/GpiosState.js +120 -0
  40. package/node_modules/@corellium/client-api/dist/model/GrantTrialRequestResponse.js +93 -0
  41. package/node_modules/@corellium/client-api/dist/model/Hook.js +211 -0
  42. package/node_modules/@corellium/client-api/dist/model/Image.js +99 -49
  43. package/node_modules/@corellium/client-api/dist/model/Instance.js +201 -71
  44. package/node_modules/@corellium/client-api/dist/model/InstanceAgentState.js +106 -0
  45. package/node_modules/@corellium/client-api/dist/model/InstanceBootOptions.js +72 -29
  46. package/node_modules/@corellium/client-api/dist/model/InstanceBootOptionsAdditionalTag.js +90 -0
  47. package/node_modules/@corellium/client-api/dist/model/InstanceConsoleEndpoint.js +34 -17
  48. package/node_modules/@corellium/client-api/dist/model/InstanceCreateOptions.js +126 -49
  49. package/node_modules/@corellium/client-api/dist/model/InstanceInput.js +181 -0
  50. package/node_modules/@corellium/client-api/dist/model/InstanceNetdumpState.js +115 -0
  51. package/node_modules/@corellium/client-api/dist/model/InstanceNetmonState.js +56 -16
  52. package/node_modules/@corellium/client-api/dist/model/InstanceReturn.js +55 -20
  53. package/node_modules/@corellium/client-api/dist/model/InstanceServices.js +35 -18
  54. package/node_modules/@corellium/client-api/dist/model/InstanceStartOptions.js +39 -17
  55. package/node_modules/@corellium/client-api/dist/model/InstanceState.js +52 -21
  56. package/node_modules/@corellium/client-api/dist/model/InstanceStopOptions.js +30 -17
  57. package/node_modules/@corellium/client-api/dist/model/InstanceUpgradeBody.js +129 -0
  58. package/node_modules/@corellium/client-api/dist/model/Invitation.js +115 -0
  59. package/node_modules/@corellium/client-api/dist/model/InviteRevokeParams.js +94 -0
  60. package/node_modules/@corellium/client-api/dist/model/InviteRevokeParamsIds.js +150 -0
  61. package/node_modules/@corellium/client-api/dist/model/Kcrange.js +106 -0
  62. package/node_modules/@corellium/client-api/dist/model/KernelTask.js +149 -0
  63. package/node_modules/@corellium/client-api/dist/model/KernelThread.js +115 -0
  64. package/node_modules/@corellium/client-api/dist/model/MediaPlayBody.js +106 -0
  65. package/node_modules/@corellium/client-api/dist/model/Model.js +97 -35
  66. package/node_modules/@corellium/client-api/dist/model/ModelSoftware.js +77 -28
  67. package/node_modules/@corellium/client-api/dist/model/NetdumpFilter.js +158 -0
  68. package/node_modules/@corellium/client-api/dist/model/PasswordChangeBody.js +146 -0
  69. package/node_modules/@corellium/client-api/dist/model/PasswordResetBody.js +146 -0
  70. package/node_modules/@corellium/client-api/dist/model/PatchInstanceOptions.js +182 -0
  71. package/node_modules/@corellium/client-api/dist/model/PeripheralsData.js +63 -33
  72. package/node_modules/@corellium/client-api/dist/model/Plan.js +106 -0
  73. package/node_modules/@corellium/client-api/dist/model/Project.js +77 -28
  74. package/node_modules/@corellium/client-api/dist/model/ProjectKey.js +206 -0
  75. package/node_modules/@corellium/client-api/dist/model/ProjectQuota.js +35 -21
  76. package/node_modules/@corellium/client-api/dist/model/ProjectSettings.js +35 -21
  77. package/node_modules/@corellium/client-api/dist/model/ProjectUsage.js +37 -23
  78. package/node_modules/@corellium/client-api/dist/model/ProxyConfig.js +116 -0
  79. package/node_modules/@corellium/client-api/dist/model/RateInfo.js +98 -0
  80. package/node_modules/@corellium/client-api/dist/model/ResetLinkBody.js +116 -0
  81. package/node_modules/@corellium/client-api/dist/model/Role.js +164 -0
  82. package/node_modules/@corellium/client-api/dist/model/RotateBody.js +140 -0
  83. package/node_modules/@corellium/client-api/dist/model/Snapshot.js +56 -32
  84. package/node_modules/@corellium/client-api/dist/model/SnapshotCreationOptions.js +54 -17
  85. package/node_modules/@corellium/client-api/dist/model/SnapshotStatus.js +37 -19
  86. package/node_modules/@corellium/client-api/dist/model/SubscriberInvite.js +277 -0
  87. package/node_modules/@corellium/client-api/dist/model/Team.js +162 -0
  88. package/node_modules/@corellium/client-api/dist/model/TeamCreate.js +93 -0
  89. package/node_modules/@corellium/client-api/dist/model/TextInput.js +93 -0
  90. package/node_modules/@corellium/client-api/dist/model/Token.js +56 -19
  91. package/node_modules/@corellium/client-api/dist/model/TouchCurveInput.js +98 -0
  92. package/node_modules/@corellium/client-api/dist/model/TouchInput.js +89 -0
  93. package/node_modules/@corellium/client-api/dist/model/Trial.js +112 -0
  94. package/node_modules/@corellium/client-api/dist/model/TrialExtension.js +124 -0
  95. package/node_modules/@corellium/client-api/dist/model/TrialRequestMetadata.js +146 -0
  96. package/node_modules/@corellium/client-api/dist/model/TrialRequestOptions.js +156 -0
  97. package/node_modules/@corellium/client-api/dist/model/UpdateExtension.js +89 -0
  98. package/node_modules/@corellium/client-api/dist/model/User.js +170 -0
  99. package/node_modules/@corellium/client-api/dist/model/UserError.js +65 -22
  100. package/node_modules/@corellium/client-api/dist/model/V1CreateHookParameters.js +179 -0
  101. package/node_modules/@corellium/client-api/dist/model/V1LoadExtensionParameters.js +116 -0
  102. package/node_modules/@corellium/client-api/dist/model/V1SetStateBody.js +50 -18
  103. package/node_modules/@corellium/client-api/dist/model/ValidationError.js +157 -0
  104. package/node_modules/@corellium/client-api/dist/model/VolumeOptions.js +42 -21
  105. package/node_modules/@corellium/client-api/dist/model/VpnDefinition.js +45 -23
  106. package/node_modules/@corellium/client-api/dist/model/WebPlayerCreateSessionRequest.js +171 -0
  107. package/node_modules/@corellium/client-api/dist/model/WebPlayerSession.js +142 -0
  108. package/node_modules/@corellium/client-api/package.json +1 -1
  109. package/package.json +2 -2
  110. package/renovate.json +96 -0
  111. package/src/commands/login.js +6 -4
  112. package/src/commands/mast/constants.js +1 -2
  113. package/src/commands/mast/create-assessment.js +2 -3
  114. package/src/commands/mast/delete-assessment.js +2 -3
  115. package/src/commands/mast/download-report.js +4 -4
  116. package/src/commands/mast/get-assessment.js +2 -3
  117. package/src/commands/mast/get-assessments.js +2 -3
  118. package/src/commands/mast/start-monitor.js +2 -3
  119. package/src/commands/mast/stop-monitor.js +2 -3
  120. package/src/commands/mast/test.js +2 -3
  121. package/src/commands/mast/api-base-path.js +0 -21
@@ -4,42 +4,51 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
8
+ var _InstanceBootOptionsAdditionalTag = _interopRequireDefault(require("./InstanceBootOptionsAdditionalTag"));
10
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
10
+ 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); }
12
11
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
-
14
- 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); } }
15
-
12
+ 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, _toPropertyKey(descriptor.key), descriptor); } }
16
13
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
-
14
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
16
+ * Corellium API
17
+ * REST API to manage your virtual devices.
18
+ *
19
+ * The version of the OpenAPI document: 4.5.0-16775
20
+ *
21
+ *
22
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
+ * https://openapi-generator.tech
24
+ * Do not edit the class manually.
25
+ *
26
+ */
18
27
  /**
19
28
  * The InstanceBootOptions model module.
20
29
  * @module model/InstanceBootOptions
21
- * @version 0.1.0
30
+ * @version 0.3.2
22
31
  */
23
32
  var InstanceBootOptions = /*#__PURE__*/function () {
24
33
  /**
25
34
  * Constructs a new <code>InstanceBootOptions</code>.
35
+ *
26
36
  * @alias module:model/InstanceBootOptions
27
37
  */
28
38
  function InstanceBootOptions() {
29
39
  _classCallCheck(this, InstanceBootOptions);
30
-
31
40
  InstanceBootOptions.initialize(this);
32
41
  }
42
+
33
43
  /**
34
44
  * Initializes the fields of this object.
35
45
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
36
46
  * Only for internal use.
37
47
  */
38
-
39
-
40
48
  _createClass(InstanceBootOptions, null, [{
41
49
  key: "initialize",
42
50
  value: function initialize(obj) {}
51
+
43
52
  /**
44
53
  * Constructs a <code>InstanceBootOptions</code> from a plain JavaScript object, optionally creating a new instance.
45
54
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -47,88 +56,122 @@ var InstanceBootOptions = /*#__PURE__*/function () {
47
56
  * @param {module:model/InstanceBootOptions} obj Optional instance to populate.
48
57
  * @return {module:model/InstanceBootOptions} The populated <code>InstanceBootOptions</code> instance.
49
58
  */
50
-
51
59
  }, {
52
60
  key: "constructFromObject",
53
61
  value: function constructFromObject(data, obj) {
54
62
  if (data) {
55
63
  obj = obj || new InstanceBootOptions();
56
-
57
64
  if (data.hasOwnProperty('bootArgs')) {
58
65
  obj['bootArgs'] = _ApiClient["default"].convertToType(data['bootArgs'], 'String');
59
66
  }
60
-
61
67
  if (data.hasOwnProperty('restoreBootArgs')) {
62
68
  obj['restoreBootArgs'] = _ApiClient["default"].convertToType(data['restoreBootArgs'], 'String');
63
69
  }
64
-
65
70
  if (data.hasOwnProperty('udid')) {
66
71
  obj['udid'] = _ApiClient["default"].convertToType(data['udid'], 'String');
67
72
  }
68
-
69
73
  if (data.hasOwnProperty('ecid')) {
70
74
  obj['ecid'] = _ApiClient["default"].convertToType(data['ecid'], 'String');
71
75
  }
72
-
73
76
  if (data.hasOwnProperty('randomSeed')) {
74
77
  obj['randomSeed'] = _ApiClient["default"].convertToType(data['randomSeed'], 'String');
75
78
  }
76
-
77
79
  if (data.hasOwnProperty('pac')) {
78
80
  obj['pac'] = _ApiClient["default"].convertToType(data['pac'], 'Boolean');
79
81
  }
80
-
81
82
  if (data.hasOwnProperty('aprr')) {
82
83
  obj['aprr'] = _ApiClient["default"].convertToType(data['aprr'], 'Boolean');
83
84
  }
85
+ if (data.hasOwnProperty('additionalTags')) {
86
+ obj['additionalTags'] = _ApiClient["default"].convertToType(data['additionalTags'], [_InstanceBootOptionsAdditionalTag["default"]]);
87
+ }
84
88
  }
85
-
86
89
  return obj;
87
90
  }
88
- }]);
89
91
 
92
+ /**
93
+ * Validates the JSON data with respect to <code>InstanceBootOptions</code>.
94
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
95
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>InstanceBootOptions</code>.
96
+ */
97
+ }, {
98
+ key: "validateJSON",
99
+ value: function validateJSON(data) {
100
+ // ensure the json data is a string
101
+ if (data['bootArgs'] && !(typeof data['bootArgs'] === 'string' || data['bootArgs'] instanceof String)) {
102
+ throw new Error("Expected the field `bootArgs` to be a primitive type in the JSON string but got " + data['bootArgs']);
103
+ }
104
+ // ensure the json data is a string
105
+ if (data['restoreBootArgs'] && !(typeof data['restoreBootArgs'] === 'string' || data['restoreBootArgs'] instanceof String)) {
106
+ throw new Error("Expected the field `restoreBootArgs` to be a primitive type in the JSON string but got " + data['restoreBootArgs']);
107
+ }
108
+ // ensure the json data is a string
109
+ if (data['udid'] && !(typeof data['udid'] === 'string' || data['udid'] instanceof String)) {
110
+ throw new Error("Expected the field `udid` to be a primitive type in the JSON string but got " + data['udid']);
111
+ }
112
+ // ensure the json data is a string
113
+ if (data['ecid'] && !(typeof data['ecid'] === 'string' || data['ecid'] instanceof String)) {
114
+ throw new Error("Expected the field `ecid` to be a primitive type in the JSON string but got " + data['ecid']);
115
+ }
116
+ // ensure the json data is a string
117
+ if (data['randomSeed'] && !(typeof data['randomSeed'] === 'string' || data['randomSeed'] instanceof String)) {
118
+ throw new Error("Expected the field `randomSeed` to be a primitive type in the JSON string but got " + data['randomSeed']);
119
+ }
120
+ // ensure the json data is an array
121
+ if (!Array.isArray(data['additionalTags'])) {
122
+ throw new Error("Expected the field `additionalTags` to be an array in the JSON data but got " + data['additionalTags']);
123
+ }
124
+ return true;
125
+ }
126
+ }]);
90
127
  return InstanceBootOptions;
91
128
  }();
92
129
  /**
130
+ *
93
131
  * @member {String} bootArgs
94
132
  */
95
-
96
-
97
133
  InstanceBootOptions.prototype['bootArgs'] = undefined;
134
+
98
135
  /**
136
+ *
99
137
  * @member {String} restoreBootArgs
100
138
  */
101
-
102
139
  InstanceBootOptions.prototype['restoreBootArgs'] = undefined;
140
+
103
141
  /**
104
142
  * Boot udid
105
143
  * @member {String} udid
106
144
  */
107
-
108
145
  InstanceBootOptions.prototype['udid'] = undefined;
146
+
109
147
  /**
110
148
  * Assigned ECID
111
149
  * @member {String} ecid
112
150
  */
113
-
114
151
  InstanceBootOptions.prototype['ecid'] = undefined;
152
+
115
153
  /**
116
154
  * Random seed to provide to boot if any
117
155
  * @member {String} randomSeed
118
156
  */
119
-
120
157
  InstanceBootOptions.prototype['randomSeed'] = undefined;
158
+
121
159
  /**
122
160
  * Enable PAC
123
161
  * @member {Boolean} pac
124
162
  */
125
-
126
163
  InstanceBootOptions.prototype['pac'] = undefined;
164
+
127
165
  /**
128
166
  * Enable APRR
129
167
  * @member {Boolean} aprr
130
168
  */
131
-
132
169
  InstanceBootOptions.prototype['aprr'] = undefined;
170
+
171
+ /**
172
+ *
173
+ * @member {Array.<module:model/InstanceBootOptionsAdditionalTag>} additionalTags
174
+ */
175
+ InstanceBootOptions.prototype['additionalTags'] = undefined;
133
176
  var _default = InstanceBootOptions;
134
177
  exports["default"] = _default;
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
+ 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); }
10
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
+ 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, _toPropertyKey(descriptor.key), descriptor); } }
12
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
16
+ * Corellium API
17
+ * REST API to manage your virtual devices.
18
+ *
19
+ * The version of the OpenAPI document: 4.5.0-16775
20
+ *
21
+ *
22
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
+ * https://openapi-generator.tech
24
+ * Do not edit the class manually.
25
+ *
26
+ */
27
+ /**
28
+ * Enum class InstanceBootOptionsAdditionalTag.
29
+ * @enum {}
30
+ * @readonly
31
+ */
32
+ var InstanceBootOptionsAdditionalTag = /*#__PURE__*/function () {
33
+ function InstanceBootOptionsAdditionalTag() {
34
+ _classCallCheck(this, InstanceBootOptionsAdditionalTag);
35
+ /**
36
+ * value: "kalloc"
37
+ * @const
38
+ */
39
+ _defineProperty(this, "kalloc", "kalloc");
40
+ /**
41
+ * value: "gpu"
42
+ * @const
43
+ */
44
+ _defineProperty(this, "gpu", "gpu");
45
+ /**
46
+ * value: "no-keyboard"
47
+ * @const
48
+ */
49
+ _defineProperty(this, "no-keyboard", "no-keyboard");
50
+ /**
51
+ * value: "nodevmode"
52
+ * @const
53
+ */
54
+ _defineProperty(this, "nodevmode", "nodevmode");
55
+ /**
56
+ * value: "sep-cons-ext"
57
+ * @const
58
+ */
59
+ _defineProperty(this, "sep-cons-ext", "sep-cons-ext");
60
+ /**
61
+ * value: "iboot-jailbreak"
62
+ * @const
63
+ */
64
+ _defineProperty(this, "iboot-jailbreak", "iboot-jailbreak");
65
+ /**
66
+ * value: "llb-jailbreak"
67
+ * @const
68
+ */
69
+ _defineProperty(this, "llb-jailbreak", "llb-jailbreak");
70
+ /**
71
+ * value: "rom-jailbreak"
72
+ * @const
73
+ */
74
+ _defineProperty(this, "rom-jailbreak", "rom-jailbreak");
75
+ }
76
+ _createClass(InstanceBootOptionsAdditionalTag, null, [{
77
+ key: "constructFromObject",
78
+ value:
79
+ /**
80
+ * Returns a <code>InstanceBootOptionsAdditionalTag</code> enum value from a Javascript object name.
81
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
82
+ * @return {module:model/InstanceBootOptionsAdditionalTag} The enum <code>InstanceBootOptionsAdditionalTag</code> value.
83
+ */
84
+ function constructFromObject(object) {
85
+ return object;
86
+ }
87
+ }]);
88
+ return InstanceBootOptionsAdditionalTag;
89
+ }();
90
+ exports["default"] = InstanceBootOptionsAdditionalTag;
@@ -4,42 +4,50 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
9
+ 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); }
12
10
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
-
14
- 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); } }
15
-
11
+ 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, _toPropertyKey(descriptor.key), descriptor); } }
16
12
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
-
13
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
15
+ * Corellium API
16
+ * REST API to manage your virtual devices.
17
+ *
18
+ * The version of the OpenAPI document: 4.5.0-16775
19
+ *
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ *
25
+ */
18
26
  /**
19
27
  * The InstanceConsoleEndpoint model module.
20
28
  * @module model/InstanceConsoleEndpoint
21
- * @version 0.1.0
29
+ * @version 0.3.2
22
30
  */
23
31
  var InstanceConsoleEndpoint = /*#__PURE__*/function () {
24
32
  /**
25
33
  * Constructs a new <code>InstanceConsoleEndpoint</code>.
34
+ *
26
35
  * @alias module:model/InstanceConsoleEndpoint
27
36
  */
28
37
  function InstanceConsoleEndpoint() {
29
38
  _classCallCheck(this, InstanceConsoleEndpoint);
30
-
31
39
  InstanceConsoleEndpoint.initialize(this);
32
40
  }
41
+
33
42
  /**
34
43
  * Initializes the fields of this object.
35
44
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
36
45
  * Only for internal use.
37
46
  */
38
-
39
-
40
47
  _createClass(InstanceConsoleEndpoint, null, [{
41
48
  key: "initialize",
42
49
  value: function initialize(obj) {}
50
+
43
51
  /**
44
52
  * Constructs a <code>InstanceConsoleEndpoint</code> from a plain JavaScript object, optionally creating a new instance.
45
53
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -47,30 +55,39 @@ var InstanceConsoleEndpoint = /*#__PURE__*/function () {
47
55
  * @param {module:model/InstanceConsoleEndpoint} obj Optional instance to populate.
48
56
  * @return {module:model/InstanceConsoleEndpoint} The populated <code>InstanceConsoleEndpoint</code> instance.
49
57
  */
50
-
51
58
  }, {
52
59
  key: "constructFromObject",
53
60
  value: function constructFromObject(data, obj) {
54
61
  if (data) {
55
62
  obj = obj || new InstanceConsoleEndpoint();
56
-
57
63
  if (data.hasOwnProperty('url')) {
58
64
  obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
59
65
  }
60
66
  }
61
-
62
67
  return obj;
63
68
  }
64
- }]);
65
69
 
70
+ /**
71
+ * Validates the JSON data with respect to <code>InstanceConsoleEndpoint</code>.
72
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
73
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>InstanceConsoleEndpoint</code>.
74
+ */
75
+ }, {
76
+ key: "validateJSON",
77
+ value: function validateJSON(data) {
78
+ // ensure the json data is a string
79
+ if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
80
+ throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
81
+ }
82
+ return true;
83
+ }
84
+ }]);
66
85
  return InstanceConsoleEndpoint;
67
86
  }();
68
87
  /**
69
88
  * Console Websocket URL
70
89
  * @member {String} url
71
90
  */
72
-
73
-
74
91
  InstanceConsoleEndpoint.prototype['url'] = undefined;
75
92
  var _default = InstanceConsoleEndpoint;
76
93
  exports["default"] = _default;