@corellium/corellium-cli 1.3.4 → 1.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/coverage/cobertura-coverage.xml +1 -1
- package/coverage/lcov-report/index.html +1 -1
- package/node_modules/@corellium/client-api/README.md +177 -14
- package/node_modules/@corellium/client-api/dist/ApiClient.js +67 -138
- package/node_modules/@corellium/client-api/dist/api/CorelliumApi.js +4668 -905
- package/node_modules/@corellium/client-api/dist/index.js +469 -37
- package/node_modules/@corellium/client-api/dist/model/Address.js +158 -0
- package/node_modules/@corellium/client-api/dist/model/AgentApp.js +159 -0
- package/node_modules/@corellium/client-api/dist/model/AgentAppReadyResponse.js +112 -0
- package/node_modules/@corellium/client-api/dist/model/AgentAppStatus.js +102 -0
- package/node_modules/@corellium/client-api/dist/model/AgentAppsList.js +127 -0
- package/node_modules/@corellium/client-api/dist/model/AgentAppsStatusList.js +127 -0
- package/node_modules/@corellium/client-api/dist/model/AgentError.js +153 -0
- package/node_modules/@corellium/client-api/dist/model/AgentIcons.js +89 -0
- package/node_modules/@corellium/client-api/dist/model/AgentInstallBody.js +93 -0
- package/node_modules/@corellium/client-api/dist/model/AgentProfilesReturn.js +116 -0
- package/node_modules/@corellium/client-api/dist/model/AgentSystemAdbAuth.js +89 -0
- package/node_modules/@corellium/client-api/dist/model/AgentSystemGetPropBody.js +116 -0
- package/node_modules/@corellium/client-api/dist/model/AgentValueReturn.js +93 -0
- package/node_modules/@corellium/client-api/dist/model/AgreedAck.js +89 -0
- package/node_modules/@corellium/client-api/dist/model/ApiConflictError.js +61 -22
- package/node_modules/@corellium/client-api/dist/model/ApiError.js +64 -21
- package/node_modules/@corellium/client-api/dist/model/ApiInternalConsistencyError.js +144 -0
- package/node_modules/@corellium/client-api/dist/model/ApiNotFoundError.js +65 -23
- package/node_modules/@corellium/client-api/dist/model/ApiToken.js +55 -17
- package/node_modules/@corellium/client-api/dist/model/Bit.js +24 -14
- package/node_modules/@corellium/client-api/dist/model/BtraceEnableOptions.js +93 -0
- package/node_modules/@corellium/client-api/dist/model/Button.js +90 -0
- package/node_modules/@corellium/client-api/dist/model/CouponOptions.js +161 -0
- package/node_modules/@corellium/client-api/dist/model/CreateTeam.js +116 -0
- package/node_modules/@corellium/client-api/dist/model/CreatedBy.js +128 -0
- package/node_modules/@corellium/client-api/dist/model/Credentials.js +59 -19
- package/node_modules/@corellium/client-api/dist/model/DomainOptions.js +103 -0
- package/node_modules/@corellium/client-api/dist/model/Extension.js +167 -0
- package/node_modules/@corellium/client-api/dist/model/Features.js +260 -0
- package/node_modules/@corellium/client-api/dist/model/FileChanges.js +120 -0
- package/node_modules/@corellium/client-api/dist/model/Firmware.js +97 -46
- package/node_modules/@corellium/client-api/dist/model/GpioStateDefinition.js +55 -20
- package/node_modules/@corellium/client-api/dist/model/GpiosState.js +120 -0
- package/node_modules/@corellium/client-api/dist/model/GrantTrialRequestResponse.js +93 -0
- package/node_modules/@corellium/client-api/dist/model/Hook.js +211 -0
- package/node_modules/@corellium/client-api/dist/model/Image.js +99 -49
- package/node_modules/@corellium/client-api/dist/model/Instance.js +201 -71
- package/node_modules/@corellium/client-api/dist/model/InstanceAgentState.js +106 -0
- package/node_modules/@corellium/client-api/dist/model/InstanceBootOptions.js +72 -29
- package/node_modules/@corellium/client-api/dist/model/InstanceBootOptionsAdditionalTag.js +90 -0
- package/node_modules/@corellium/client-api/dist/model/InstanceConsoleEndpoint.js +34 -17
- package/node_modules/@corellium/client-api/dist/model/InstanceCreateOptions.js +126 -49
- package/node_modules/@corellium/client-api/dist/model/InstanceInput.js +181 -0
- package/node_modules/@corellium/client-api/dist/model/InstanceNetdumpState.js +115 -0
- package/node_modules/@corellium/client-api/dist/model/InstanceNetmonState.js +56 -16
- package/node_modules/@corellium/client-api/dist/model/InstanceReturn.js +55 -20
- package/node_modules/@corellium/client-api/dist/model/InstanceServices.js +35 -18
- package/node_modules/@corellium/client-api/dist/model/InstanceStartOptions.js +39 -17
- package/node_modules/@corellium/client-api/dist/model/InstanceState.js +52 -21
- package/node_modules/@corellium/client-api/dist/model/InstanceStopOptions.js +30 -17
- package/node_modules/@corellium/client-api/dist/model/InstanceUpgradeBody.js +129 -0
- package/node_modules/@corellium/client-api/dist/model/Invitation.js +115 -0
- package/node_modules/@corellium/client-api/dist/model/InviteRevokeParams.js +94 -0
- package/node_modules/@corellium/client-api/dist/model/InviteRevokeParamsIds.js +150 -0
- package/node_modules/@corellium/client-api/dist/model/Kcrange.js +106 -0
- package/node_modules/@corellium/client-api/dist/model/KernelTask.js +149 -0
- package/node_modules/@corellium/client-api/dist/model/KernelThread.js +115 -0
- package/node_modules/@corellium/client-api/dist/model/MediaPlayBody.js +106 -0
- package/node_modules/@corellium/client-api/dist/model/Model.js +97 -35
- package/node_modules/@corellium/client-api/dist/model/ModelSoftware.js +77 -28
- package/node_modules/@corellium/client-api/dist/model/NetdumpFilter.js +158 -0
- package/node_modules/@corellium/client-api/dist/model/PasswordChangeBody.js +146 -0
- package/node_modules/@corellium/client-api/dist/model/PasswordResetBody.js +146 -0
- package/node_modules/@corellium/client-api/dist/model/PatchInstanceOptions.js +182 -0
- package/node_modules/@corellium/client-api/dist/model/PeripheralsData.js +63 -33
- package/node_modules/@corellium/client-api/dist/model/Plan.js +106 -0
- package/node_modules/@corellium/client-api/dist/model/Project.js +77 -28
- package/node_modules/@corellium/client-api/dist/model/ProjectKey.js +206 -0
- package/node_modules/@corellium/client-api/dist/model/ProjectQuota.js +35 -21
- package/node_modules/@corellium/client-api/dist/model/ProjectSettings.js +35 -21
- package/node_modules/@corellium/client-api/dist/model/ProjectUsage.js +37 -23
- package/node_modules/@corellium/client-api/dist/model/ProxyConfig.js +116 -0
- package/node_modules/@corellium/client-api/dist/model/RateInfo.js +98 -0
- package/node_modules/@corellium/client-api/dist/model/ResetLinkBody.js +116 -0
- package/node_modules/@corellium/client-api/dist/model/Role.js +164 -0
- package/node_modules/@corellium/client-api/dist/model/RotateBody.js +140 -0
- package/node_modules/@corellium/client-api/dist/model/Snapshot.js +56 -32
- package/node_modules/@corellium/client-api/dist/model/SnapshotCreationOptions.js +54 -17
- package/node_modules/@corellium/client-api/dist/model/SnapshotStatus.js +37 -19
- package/node_modules/@corellium/client-api/dist/model/SubscriberInvite.js +277 -0
- package/node_modules/@corellium/client-api/dist/model/Team.js +162 -0
- package/node_modules/@corellium/client-api/dist/model/TeamCreate.js +93 -0
- package/node_modules/@corellium/client-api/dist/model/TextInput.js +93 -0
- package/node_modules/@corellium/client-api/dist/model/Token.js +56 -19
- package/node_modules/@corellium/client-api/dist/model/TouchCurveInput.js +98 -0
- package/node_modules/@corellium/client-api/dist/model/TouchInput.js +89 -0
- package/node_modules/@corellium/client-api/dist/model/Trial.js +112 -0
- package/node_modules/@corellium/client-api/dist/model/TrialExtension.js +124 -0
- package/node_modules/@corellium/client-api/dist/model/TrialRequestMetadata.js +146 -0
- package/node_modules/@corellium/client-api/dist/model/TrialRequestOptions.js +156 -0
- package/node_modules/@corellium/client-api/dist/model/UpdateExtension.js +89 -0
- package/node_modules/@corellium/client-api/dist/model/User.js +170 -0
- package/node_modules/@corellium/client-api/dist/model/UserError.js +65 -22
- package/node_modules/@corellium/client-api/dist/model/V1CreateHookParameters.js +179 -0
- package/node_modules/@corellium/client-api/dist/model/V1LoadExtensionParameters.js +116 -0
- package/node_modules/@corellium/client-api/dist/model/V1SetStateBody.js +50 -18
- package/node_modules/@corellium/client-api/dist/model/ValidationError.js +157 -0
- package/node_modules/@corellium/client-api/dist/model/VolumeOptions.js +42 -21
- package/node_modules/@corellium/client-api/dist/model/VpnDefinition.js +45 -23
- package/node_modules/@corellium/client-api/dist/model/WebPlayerCreateSessionRequest.js +171 -0
- package/node_modules/@corellium/client-api/dist/model/WebPlayerSession.js +142 -0
- package/node_modules/@corellium/client-api/package.json +1 -1
- package/package.json +2 -2
- package/renovate.json +96 -0
- package/src/commands/login.js +6 -4
- package/src/commands/mast/constants.js +1 -2
- package/src/commands/mast/create-assessment.js +2 -3
- package/src/commands/mast/delete-assessment.js +2 -3
- package/src/commands/mast/download-report.js +3 -4
- package/src/commands/mast/get-assessment.js +2 -3
- package/src/commands/mast/get-assessments.js +2 -3
- package/src/commands/mast/start-monitor.js +2 -3
- package/src/commands/mast/stop-monitor.js +2 -3
- package/src/commands/mast/test.js +2 -3
- package/src/commands/mast/api-base-path.js +0 -21
|
@@ -4,45 +4,56 @@ 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); }
|
|
10
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
11
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
12
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
12
13
|
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
|
-
|
|
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, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16
15
|
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
|
-
|
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
|
+
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); } /**
|
|
18
|
+
* Corellium API
|
|
19
|
+
* REST API to manage your virtual devices.
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 4.5.0-16775
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
18
29
|
/**
|
|
19
30
|
* The Image model module.
|
|
20
31
|
* @module model/Image
|
|
21
|
-
* @version 0.
|
|
32
|
+
* @version 0.3.2
|
|
22
33
|
*/
|
|
23
34
|
var Image = /*#__PURE__*/function () {
|
|
24
35
|
/**
|
|
25
36
|
* Constructs a new <code>Image</code>.
|
|
37
|
+
*
|
|
26
38
|
* @alias module:model/Image
|
|
27
39
|
* @param status {String}
|
|
28
40
|
*/
|
|
29
41
|
function Image(status) {
|
|
30
42
|
_classCallCheck(this, Image);
|
|
31
|
-
|
|
32
43
|
Image.initialize(this, status);
|
|
33
44
|
}
|
|
45
|
+
|
|
34
46
|
/**
|
|
35
47
|
* Initializes the fields of this object.
|
|
36
48
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
37
49
|
* Only for internal use.
|
|
38
50
|
*/
|
|
39
|
-
|
|
40
|
-
|
|
41
51
|
_createClass(Image, null, [{
|
|
42
52
|
key: "initialize",
|
|
43
53
|
value: function initialize(obj, status) {
|
|
44
54
|
obj['status'] = status;
|
|
45
55
|
}
|
|
56
|
+
|
|
46
57
|
/**
|
|
47
58
|
* Constructs a <code>Image</code> from a plain JavaScript object, optionally creating a new instance.
|
|
48
59
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
@@ -50,200 +61,239 @@ var Image = /*#__PURE__*/function () {
|
|
|
50
61
|
* @param {module:model/Image} obj Optional instance to populate.
|
|
51
62
|
* @return {module:model/Image} The populated <code>Image</code> instance.
|
|
52
63
|
*/
|
|
53
|
-
|
|
54
64
|
}, {
|
|
55
65
|
key: "constructFromObject",
|
|
56
66
|
value: function constructFromObject(data, obj) {
|
|
57
67
|
if (data) {
|
|
58
68
|
obj = obj || new Image();
|
|
59
|
-
|
|
60
69
|
if (data.hasOwnProperty('status')) {
|
|
61
70
|
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
|
|
62
71
|
}
|
|
63
|
-
|
|
64
72
|
if (data.hasOwnProperty('id')) {
|
|
65
73
|
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
|
66
74
|
}
|
|
67
|
-
|
|
68
75
|
if (data.hasOwnProperty('name')) {
|
|
69
76
|
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
70
77
|
}
|
|
71
|
-
|
|
72
78
|
if (data.hasOwnProperty('type')) {
|
|
73
79
|
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
|
|
74
80
|
}
|
|
75
|
-
|
|
76
81
|
if (data.hasOwnProperty('filename')) {
|
|
77
82
|
obj['filename'] = _ApiClient["default"].convertToType(data['filename'], 'String');
|
|
78
83
|
}
|
|
79
|
-
|
|
80
84
|
if (data.hasOwnProperty('uniqueid')) {
|
|
81
85
|
obj['uniqueid'] = _ApiClient["default"].convertToType(data['uniqueid'], 'String');
|
|
82
86
|
}
|
|
83
|
-
|
|
84
87
|
if (data.hasOwnProperty('size')) {
|
|
85
88
|
obj['size'] = _ApiClient["default"].convertToType(data['size'], 'Number');
|
|
86
89
|
}
|
|
87
|
-
|
|
88
90
|
if (data.hasOwnProperty('project')) {
|
|
89
91
|
obj['project'] = _ApiClient["default"].convertToType(data['project'], 'String');
|
|
90
92
|
}
|
|
91
|
-
|
|
92
93
|
if (data.hasOwnProperty('created_at')) {
|
|
93
94
|
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
|
|
94
95
|
}
|
|
95
|
-
|
|
96
96
|
if (data.hasOwnProperty('updated_at')) {
|
|
97
97
|
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
|
|
101
100
|
return obj;
|
|
102
101
|
}
|
|
103
|
-
}]);
|
|
104
102
|
|
|
103
|
+
/**
|
|
104
|
+
* Validates the JSON data with respect to <code>Image</code>.
|
|
105
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
106
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>Image</code>.
|
|
107
|
+
*/
|
|
108
|
+
}, {
|
|
109
|
+
key: "validateJSON",
|
|
110
|
+
value: function validateJSON(data) {
|
|
111
|
+
// check to make sure all required properties are present in the JSON string
|
|
112
|
+
var _iterator = _createForOfIteratorHelper(Image.RequiredProperties),
|
|
113
|
+
_step;
|
|
114
|
+
try {
|
|
115
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
116
|
+
var property = _step.value;
|
|
117
|
+
if (!data[property]) {
|
|
118
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
// ensure the json data is a string
|
|
122
|
+
} catch (err) {
|
|
123
|
+
_iterator.e(err);
|
|
124
|
+
} finally {
|
|
125
|
+
_iterator.f();
|
|
126
|
+
}
|
|
127
|
+
if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) {
|
|
128
|
+
throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
|
|
129
|
+
}
|
|
130
|
+
// ensure the json data is a string
|
|
131
|
+
if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
|
|
132
|
+
throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
|
|
133
|
+
}
|
|
134
|
+
// ensure the json data is a string
|
|
135
|
+
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
136
|
+
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
137
|
+
}
|
|
138
|
+
// ensure the json data is a string
|
|
139
|
+
if (data['type'] && !(typeof data['type'] === 'string' || data['type'] instanceof String)) {
|
|
140
|
+
throw new Error("Expected the field `type` to be a primitive type in the JSON string but got " + data['type']);
|
|
141
|
+
}
|
|
142
|
+
// ensure the json data is a string
|
|
143
|
+
if (data['filename'] && !(typeof data['filename'] === 'string' || data['filename'] instanceof String)) {
|
|
144
|
+
throw new Error("Expected the field `filename` to be a primitive type in the JSON string but got " + data['filename']);
|
|
145
|
+
}
|
|
146
|
+
// ensure the json data is a string
|
|
147
|
+
if (data['uniqueid'] && !(typeof data['uniqueid'] === 'string' || data['uniqueid'] instanceof String)) {
|
|
148
|
+
throw new Error("Expected the field `uniqueid` to be a primitive type in the JSON string but got " + data['uniqueid']);
|
|
149
|
+
}
|
|
150
|
+
// ensure the json data is a string
|
|
151
|
+
if (data['project'] && !(typeof data['project'] === 'string' || data['project'] instanceof String)) {
|
|
152
|
+
throw new Error("Expected the field `project` to be a primitive type in the JSON string but got " + data['project']);
|
|
153
|
+
}
|
|
154
|
+
return true;
|
|
155
|
+
}
|
|
156
|
+
}]);
|
|
105
157
|
return Image;
|
|
106
158
|
}();
|
|
159
|
+
Image.RequiredProperties = ["status"];
|
|
160
|
+
|
|
107
161
|
/**
|
|
162
|
+
*
|
|
108
163
|
* @member {String} status
|
|
109
164
|
*/
|
|
110
|
-
|
|
111
|
-
|
|
112
165
|
Image.prototype['status'] = undefined;
|
|
166
|
+
|
|
113
167
|
/**
|
|
114
168
|
* Image ID
|
|
115
169
|
* @member {String} id
|
|
116
170
|
*/
|
|
117
|
-
|
|
118
171
|
Image.prototype['id'] = undefined;
|
|
172
|
+
|
|
119
173
|
/**
|
|
174
|
+
*
|
|
120
175
|
* @member {String} name
|
|
121
176
|
*/
|
|
122
|
-
|
|
123
177
|
Image.prototype['name'] = undefined;
|
|
178
|
+
|
|
124
179
|
/**
|
|
125
180
|
* Type of image
|
|
126
181
|
* @member {module:model/Image.TypeEnum} type
|
|
127
182
|
*/
|
|
128
|
-
|
|
129
183
|
Image.prototype['type'] = undefined;
|
|
184
|
+
|
|
130
185
|
/**
|
|
186
|
+
*
|
|
131
187
|
* @member {String} filename
|
|
132
188
|
*/
|
|
133
|
-
|
|
134
189
|
Image.prototype['filename'] = undefined;
|
|
190
|
+
|
|
135
191
|
/**
|
|
192
|
+
*
|
|
136
193
|
* @member {String} uniqueid
|
|
137
194
|
*/
|
|
138
|
-
|
|
139
195
|
Image.prototype['uniqueid'] = undefined;
|
|
196
|
+
|
|
140
197
|
/**
|
|
198
|
+
*
|
|
141
199
|
* @member {Number} size
|
|
142
200
|
*/
|
|
143
|
-
|
|
144
201
|
Image.prototype['size'] = undefined;
|
|
202
|
+
|
|
145
203
|
/**
|
|
146
204
|
* project ID
|
|
147
205
|
* @member {String} project
|
|
148
206
|
*/
|
|
149
|
-
|
|
150
207
|
Image.prototype['project'] = undefined;
|
|
208
|
+
|
|
151
209
|
/**
|
|
152
210
|
* When Image was created
|
|
153
211
|
* @member {Date} created_at
|
|
154
212
|
*/
|
|
155
|
-
|
|
156
213
|
Image.prototype['created_at'] = undefined;
|
|
214
|
+
|
|
157
215
|
/**
|
|
158
216
|
* When Image was last updated
|
|
159
217
|
* @member {Date} updated_at
|
|
160
218
|
*/
|
|
161
|
-
|
|
162
219
|
Image.prototype['updated_at'] = undefined;
|
|
220
|
+
|
|
163
221
|
/**
|
|
164
222
|
* Allowed values for the <code>type</code> property.
|
|
165
223
|
* @enum {String}
|
|
166
224
|
* @readonly
|
|
167
225
|
*/
|
|
168
|
-
|
|
169
226
|
Image['TypeEnum'] = {
|
|
170
227
|
/**
|
|
171
228
|
* value: "fwbinary"
|
|
172
229
|
* @const
|
|
173
230
|
*/
|
|
174
231
|
"fwbinary": "fwbinary",
|
|
175
|
-
|
|
176
232
|
/**
|
|
177
233
|
* value: "kernel"
|
|
178
234
|
* @const
|
|
179
235
|
*/
|
|
180
236
|
"kernel": "kernel",
|
|
181
|
-
|
|
182
237
|
/**
|
|
183
238
|
* value: "devicetree"
|
|
184
239
|
* @const
|
|
185
240
|
*/
|
|
186
241
|
"devicetree": "devicetree",
|
|
187
|
-
|
|
188
242
|
/**
|
|
189
243
|
* value: "ramdisk"
|
|
190
244
|
* @const
|
|
191
245
|
*/
|
|
192
246
|
"ramdisk": "ramdisk",
|
|
193
|
-
|
|
194
247
|
/**
|
|
195
248
|
* value: "loaderfile"
|
|
196
249
|
* @const
|
|
197
250
|
*/
|
|
198
251
|
"loaderfile": "loaderfile",
|
|
199
|
-
|
|
200
252
|
/**
|
|
201
253
|
* value: "sepfw"
|
|
202
254
|
* @const
|
|
203
255
|
*/
|
|
204
256
|
"sepfw": "sepfw",
|
|
205
|
-
|
|
206
257
|
/**
|
|
207
258
|
* value: "seprom"
|
|
208
259
|
* @const
|
|
209
260
|
*/
|
|
210
261
|
"seprom": "seprom",
|
|
211
|
-
|
|
212
262
|
/**
|
|
213
263
|
* value: "bootrom"
|
|
214
264
|
* @const
|
|
215
265
|
*/
|
|
216
266
|
"bootrom": "bootrom",
|
|
217
|
-
|
|
218
267
|
/**
|
|
219
268
|
* value: "llb"
|
|
220
269
|
* @const
|
|
221
270
|
*/
|
|
222
271
|
"llb": "llb",
|
|
223
|
-
|
|
224
272
|
/**
|
|
225
273
|
* value: "iboot"
|
|
226
274
|
* @const
|
|
227
275
|
*/
|
|
228
276
|
"iboot": "iboot",
|
|
229
|
-
|
|
230
277
|
/**
|
|
231
278
|
* value: "ibootdata"
|
|
232
279
|
* @const
|
|
233
280
|
*/
|
|
234
281
|
"ibootdata": "ibootdata",
|
|
235
|
-
|
|
236
282
|
/**
|
|
237
283
|
* value: "fwpackage"
|
|
238
284
|
* @const
|
|
239
285
|
*/
|
|
240
286
|
"fwpackage": "fwpackage",
|
|
241
|
-
|
|
242
287
|
/**
|
|
243
288
|
* value: "partition"
|
|
244
289
|
* @const
|
|
245
290
|
*/
|
|
246
|
-
"partition": "partition"
|
|
291
|
+
"partition": "partition",
|
|
292
|
+
/**
|
|
293
|
+
* value: "backup"
|
|
294
|
+
* @const
|
|
295
|
+
*/
|
|
296
|
+
"backup": "backup"
|
|
247
297
|
};
|
|
248
298
|
var _default = Image;
|
|
249
299
|
exports["default"] = _default;
|