@corellium/corellium-cli 1.3.4 → 1.3.6

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 +3 -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
@@ -0,0 +1,103 @@
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
+ var _TrialExtension = _interopRequireDefault(require("./TrialExtension"));
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
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); }
11
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
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); } }
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; }
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
+ * The DomainOptions model module.
29
+ * @module model/DomainOptions
30
+ * @version 0.3.2
31
+ */
32
+ var DomainOptions = /*#__PURE__*/function () {
33
+ /**
34
+ * Constructs a new <code>DomainOptions</code>.
35
+ *
36
+ * @alias module:model/DomainOptions
37
+ */
38
+ function DomainOptions() {
39
+ _classCallCheck(this, DomainOptions);
40
+ DomainOptions.initialize(this);
41
+ }
42
+
43
+ /**
44
+ * Initializes the fields of this object.
45
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
46
+ * Only for internal use.
47
+ */
48
+ _createClass(DomainOptions, null, [{
49
+ key: "initialize",
50
+ value: function initialize(obj) {}
51
+
52
+ /**
53
+ * Constructs a <code>DomainOptions</code> from a plain JavaScript object, optionally creating a new instance.
54
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
55
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
56
+ * @param {module:model/DomainOptions} obj Optional instance to populate.
57
+ * @return {module:model/DomainOptions} The populated <code>DomainOptions</code> instance.
58
+ */
59
+ }, {
60
+ key: "constructFromObject",
61
+ value: function constructFromObject(data, obj) {
62
+ if (data) {
63
+ obj = obj || new DomainOptions();
64
+ if (data.hasOwnProperty('totpRequired')) {
65
+ obj['totpRequired'] = _ApiClient["default"].convertToType(data['totpRequired'], 'Boolean');
66
+ }
67
+ if (data.hasOwnProperty('trialExtension')) {
68
+ obj['trialExtension'] = _TrialExtension["default"].constructFromObject(data['trialExtension']);
69
+ }
70
+ }
71
+ return obj;
72
+ }
73
+
74
+ /**
75
+ * Validates the JSON data with respect to <code>DomainOptions</code>.
76
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
77
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>DomainOptions</code>.
78
+ */
79
+ }, {
80
+ key: "validateJSON",
81
+ value: function validateJSON(data) {
82
+ // validate the optional field `trialExtension`
83
+ if (data['trialExtension']) {
84
+ // data not null
85
+ _TrialExtension["default"].validateJSON(data['trialExtension']);
86
+ }
87
+ return true;
88
+ }
89
+ }]);
90
+ return DomainOptions;
91
+ }();
92
+ /**
93
+ * if true, totp is required
94
+ * @member {Boolean} totpRequired
95
+ */
96
+ DomainOptions.prototype['totpRequired'] = undefined;
97
+
98
+ /**
99
+ * @member {module:model/TrialExtension} trialExtension
100
+ */
101
+ DomainOptions.prototype['trialExtension'] = undefined;
102
+ var _default = DomainOptions;
103
+ exports["default"] = _default;
@@ -0,0 +1,167 @@
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 _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
+ */
26
+ /**
27
+ * The Extension model module.
28
+ * @module model/Extension
29
+ * @version 0.3.2
30
+ */
31
+ var Extension = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>Extension</code>.
34
+ *
35
+ * @alias module:model/Extension
36
+ */
37
+ function Extension() {
38
+ _classCallCheck(this, Extension);
39
+ Extension.initialize(this);
40
+ }
41
+
42
+ /**
43
+ * Initializes the fields of this object.
44
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
45
+ * Only for internal use.
46
+ */
47
+ _createClass(Extension, null, [{
48
+ key: "initialize",
49
+ value: function initialize(obj) {}
50
+
51
+ /**
52
+ * Constructs a <code>Extension</code> from a plain JavaScript object, optionally creating a new instance.
53
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
54
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
55
+ * @param {module:model/Extension} obj Optional instance to populate.
56
+ * @return {module:model/Extension} The populated <code>Extension</code> instance.
57
+ */
58
+ }, {
59
+ key: "constructFromObject",
60
+ value: function constructFromObject(data, obj) {
61
+ if (data) {
62
+ obj = obj || new Extension();
63
+ if (data.hasOwnProperty('identifier')) {
64
+ obj['identifier'] = _ApiClient["default"].convertToType(data['identifier'], 'String');
65
+ }
66
+ if (data.hasOwnProperty('enabled')) {
67
+ obj['enabled'] = _ApiClient["default"].convertToType(data['enabled'], 'Boolean');
68
+ }
69
+ if (data.hasOwnProperty('createdAt')) {
70
+ obj['createdAt'] = _ApiClient["default"].convertToType(data['createdAt'], 'String');
71
+ }
72
+ if (data.hasOwnProperty('updatedAt')) {
73
+ obj['updatedAt'] = _ApiClient["default"].convertToType(data['updatedAt'], 'String');
74
+ }
75
+ if (data.hasOwnProperty('imageId')) {
76
+ obj['imageId'] = _ApiClient["default"].convertToType(data['imageId'], 'String');
77
+ }
78
+ if (data.hasOwnProperty('state')) {
79
+ obj['state'] = _ApiClient["default"].convertToType(data['state'], 'String');
80
+ }
81
+ if (data.hasOwnProperty('flavors')) {
82
+ obj['flavors'] = _ApiClient["default"].convertToType(data['flavors'], [Object]);
83
+ }
84
+ }
85
+ return obj;
86
+ }
87
+
88
+ /**
89
+ * Validates the JSON data with respect to <code>Extension</code>.
90
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
91
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>Extension</code>.
92
+ */
93
+ }, {
94
+ key: "validateJSON",
95
+ value: function validateJSON(data) {
96
+ // ensure the json data is a string
97
+ if (data['identifier'] && !(typeof data['identifier'] === 'string' || data['identifier'] instanceof String)) {
98
+ throw new Error("Expected the field `identifier` to be a primitive type in the JSON string but got " + data['identifier']);
99
+ }
100
+ // ensure the json data is a string
101
+ if (data['createdAt'] && !(typeof data['createdAt'] === 'string' || data['createdAt'] instanceof String)) {
102
+ throw new Error("Expected the field `createdAt` to be a primitive type in the JSON string but got " + data['createdAt']);
103
+ }
104
+ // ensure the json data is a string
105
+ if (data['updatedAt'] && !(typeof data['updatedAt'] === 'string' || data['updatedAt'] instanceof String)) {
106
+ throw new Error("Expected the field `updatedAt` to be a primitive type in the JSON string but got " + data['updatedAt']);
107
+ }
108
+ // ensure the json data is a string
109
+ if (data['imageId'] && !(typeof data['imageId'] === 'string' || data['imageId'] instanceof String)) {
110
+ throw new Error("Expected the field `imageId` to be a primitive type in the JSON string but got " + data['imageId']);
111
+ }
112
+ // ensure the json data is a string
113
+ if (data['state'] && !(typeof data['state'] === 'string' || data['state'] instanceof String)) {
114
+ throw new Error("Expected the field `state` to be a primitive type in the JSON string but got " + data['state']);
115
+ }
116
+ // ensure the json data is an array
117
+ if (!Array.isArray(data['flavors'])) {
118
+ throw new Error("Expected the field `flavors` to be an array in the JSON data but got " + data['flavors']);
119
+ }
120
+ return true;
121
+ }
122
+ }]);
123
+ return Extension;
124
+ }();
125
+ /**
126
+ * Identifier
127
+ * @member {String} identifier
128
+ */
129
+ Extension.prototype['identifier'] = undefined;
130
+
131
+ /**
132
+ * If true, instances requiring this extension can be created or started
133
+ * @member {Boolean} enabled
134
+ */
135
+ Extension.prototype['enabled'] = undefined;
136
+
137
+ /**
138
+ * Created Date in ISO-8601 format e.g. 2022-05-06T02:39:23.000Z
139
+ * @member {String} createdAt
140
+ */
141
+ Extension.prototype['createdAt'] = undefined;
142
+
143
+ /**
144
+ * Updated Date in ISO-8601 format e.g. 2022-05-06T02:39:23.000Z
145
+ * @member {String} updatedAt
146
+ */
147
+ Extension.prototype['updatedAt'] = undefined;
148
+
149
+ /**
150
+ * Image Id
151
+ * @member {String} imageId
152
+ */
153
+ Extension.prototype['imageId'] = undefined;
154
+
155
+ /**
156
+ * State
157
+ * @member {String} state
158
+ */
159
+ Extension.prototype['state'] = undefined;
160
+
161
+ /**
162
+ * Array of Flavor definitions
163
+ * @member {Array.<Object>} flavors
164
+ */
165
+ Extension.prototype['flavors'] = undefined;
166
+ var _default = Extension;
167
+ exports["default"] = _default;
@@ -0,0 +1,260 @@
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 _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
+ */
26
+ /**
27
+ * The Features model module.
28
+ * @module model/Features
29
+ * @version 0.3.2
30
+ */
31
+ var Features = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>Features</code>.
34
+ *
35
+ * @alias module:model/Features
36
+ */
37
+ function Features() {
38
+ _classCallCheck(this, Features);
39
+ Features.initialize(this);
40
+ }
41
+
42
+ /**
43
+ * Initializes the fields of this object.
44
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
45
+ * Only for internal use.
46
+ */
47
+ _createClass(Features, null, [{
48
+ key: "initialize",
49
+ value: function initialize(obj) {}
50
+
51
+ /**
52
+ * Constructs a <code>Features</code> from a plain JavaScript object, optionally creating a new instance.
53
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
54
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
55
+ * @param {module:model/Features} obj Optional instance to populate.
56
+ * @return {module:model/Features} The populated <code>Features</code> instance.
57
+ */
58
+ }, {
59
+ key: "constructFromObject",
60
+ value: function constructFromObject(data, obj) {
61
+ if (data) {
62
+ obj = obj || new Features();
63
+ if (data.hasOwnProperty('apps')) {
64
+ obj['apps'] = _ApiClient["default"].convertToType(data['apps'], 'Boolean');
65
+ }
66
+ if (data.hasOwnProperty('connect')) {
67
+ obj['connect'] = _ApiClient["default"].convertToType(data['connect'], 'Boolean');
68
+ }
69
+ if (data.hasOwnProperty('console')) {
70
+ obj['console'] = _ApiClient["default"].convertToType(data['console'], 'Boolean');
71
+ }
72
+ if (data.hasOwnProperty('coretrace')) {
73
+ obj['coretrace'] = _ApiClient["default"].convertToType(data['coretrace'], 'Boolean');
74
+ }
75
+ if (data.hasOwnProperty('deviceControl')) {
76
+ obj['deviceControl'] = _ApiClient["default"].convertToType(data['deviceControl'], 'Boolean');
77
+ }
78
+ if (data.hasOwnProperty('deviceDelete')) {
79
+ obj['deviceDelete'] = _ApiClient["default"].convertToType(data['deviceDelete'], 'Boolean');
80
+ }
81
+ if (data.hasOwnProperty('files')) {
82
+ obj['files'] = _ApiClient["default"].convertToType(data['files'], 'Boolean');
83
+ }
84
+ if (data.hasOwnProperty('frida')) {
85
+ obj['frida'] = _ApiClient["default"].convertToType(data['frida'], 'Boolean');
86
+ }
87
+ if (data.hasOwnProperty('images')) {
88
+ obj['images'] = _ApiClient["default"].convertToType(data['images'], 'Boolean');
89
+ }
90
+ if (data.hasOwnProperty('messaging')) {
91
+ obj['messaging'] = _ApiClient["default"].convertToType(data['messaging'], 'Boolean');
92
+ }
93
+ if (data.hasOwnProperty('netmon')) {
94
+ obj['netmon'] = _ApiClient["default"].convertToType(data['netmon'], 'Boolean');
95
+ }
96
+ if (data.hasOwnProperty('network')) {
97
+ obj['network'] = _ApiClient["default"].convertToType(data['network'], 'Boolean');
98
+ }
99
+ if (data.hasOwnProperty('portForwarding')) {
100
+ obj['portForwarding'] = _ApiClient["default"].convertToType(data['portForwarding'], 'Boolean');
101
+ }
102
+ if (data.hasOwnProperty('powerManagement')) {
103
+ obj['powerManagement'] = _ApiClient["default"].convertToType(data['powerManagement'], 'Boolean');
104
+ }
105
+ if (data.hasOwnProperty('profile')) {
106
+ obj['profile'] = _ApiClient["default"].convertToType(data['profile'], 'Boolean');
107
+ }
108
+ if (data.hasOwnProperty('sensors')) {
109
+ obj['sensors'] = _ApiClient["default"].convertToType(data['sensors'], 'Boolean');
110
+ }
111
+ if (data.hasOwnProperty('settings')) {
112
+ obj['settings'] = _ApiClient["default"].convertToType(data['settings'], 'Boolean');
113
+ }
114
+ if (data.hasOwnProperty('snapshots')) {
115
+ obj['snapshots'] = _ApiClient["default"].convertToType(data['snapshots'], 'Boolean');
116
+ }
117
+ if (data.hasOwnProperty('strace')) {
118
+ obj['strace'] = _ApiClient["default"].convertToType(data['strace'], 'Boolean');
119
+ }
120
+ if (data.hasOwnProperty('system')) {
121
+ obj['system'] = _ApiClient["default"].convertToType(data['system'], 'Boolean');
122
+ }
123
+ }
124
+ return obj;
125
+ }
126
+
127
+ /**
128
+ * Validates the JSON data with respect to <code>Features</code>.
129
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
130
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>Features</code>.
131
+ */
132
+ }, {
133
+ key: "validateJSON",
134
+ value: function validateJSON(data) {
135
+ return true;
136
+ }
137
+ }]);
138
+ return Features;
139
+ }();
140
+ /**
141
+ *
142
+ * @member {Boolean} apps
143
+ */
144
+ Features.prototype['apps'] = undefined;
145
+
146
+ /**
147
+ *
148
+ * @member {Boolean} connect
149
+ */
150
+ Features.prototype['connect'] = undefined;
151
+
152
+ /**
153
+ *
154
+ * @member {Boolean} console
155
+ */
156
+ Features.prototype['console'] = undefined;
157
+
158
+ /**
159
+ *
160
+ * @member {Boolean} coretrace
161
+ */
162
+ Features.prototype['coretrace'] = undefined;
163
+
164
+ /**
165
+ *
166
+ * @member {Boolean} deviceControl
167
+ */
168
+ Features.prototype['deviceControl'] = undefined;
169
+
170
+ /**
171
+ *
172
+ * @member {Boolean} deviceDelete
173
+ */
174
+ Features.prototype['deviceDelete'] = undefined;
175
+
176
+ /**
177
+ *
178
+ * @member {Boolean} files
179
+ */
180
+ Features.prototype['files'] = undefined;
181
+
182
+ /**
183
+ *
184
+ * @member {Boolean} frida
185
+ */
186
+ Features.prototype['frida'] = undefined;
187
+
188
+ /**
189
+ *
190
+ * @member {Boolean} images
191
+ */
192
+ Features.prototype['images'] = undefined;
193
+
194
+ /**
195
+ *
196
+ * @member {Boolean} messaging
197
+ */
198
+ Features.prototype['messaging'] = undefined;
199
+
200
+ /**
201
+ *
202
+ * @member {Boolean} netmon
203
+ */
204
+ Features.prototype['netmon'] = undefined;
205
+
206
+ /**
207
+ *
208
+ * @member {Boolean} network
209
+ */
210
+ Features.prototype['network'] = undefined;
211
+
212
+ /**
213
+ *
214
+ * @member {Boolean} portForwarding
215
+ */
216
+ Features.prototype['portForwarding'] = undefined;
217
+
218
+ /**
219
+ *
220
+ * @member {Boolean} powerManagement
221
+ */
222
+ Features.prototype['powerManagement'] = undefined;
223
+
224
+ /**
225
+ *
226
+ * @member {Boolean} profile
227
+ */
228
+ Features.prototype['profile'] = undefined;
229
+
230
+ /**
231
+ *
232
+ * @member {Boolean} sensors
233
+ */
234
+ Features.prototype['sensors'] = undefined;
235
+
236
+ /**
237
+ *
238
+ * @member {Boolean} settings
239
+ */
240
+ Features.prototype['settings'] = undefined;
241
+
242
+ /**
243
+ *
244
+ * @member {Boolean} snapshots
245
+ */
246
+ Features.prototype['snapshots'] = undefined;
247
+
248
+ /**
249
+ *
250
+ * @member {Boolean} strace
251
+ */
252
+ Features.prototype['strace'] = undefined;
253
+
254
+ /**
255
+ *
256
+ * @member {Boolean} system
257
+ */
258
+ Features.prototype['system'] = undefined;
259
+ var _default = Features;
260
+ exports["default"] = _default;