@deeptrekker/api-domain 1.0.54-x4-updates.5 → 1.0.54-x4-updates.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const API_VERSION = "1.0.54-x4-updates.
|
|
1
|
+
export declare const API_VERSION = "1.0.54-x4-updates.6";
|
|
@@ -104,12 +104,6 @@ export type X4SoftwareVersion = {
|
|
|
104
104
|
rollbackBuildDate?: string;
|
|
105
105
|
rollbackAvailable?: boolean;
|
|
106
106
|
};
|
|
107
|
-
/**
|
|
108
|
-
* Why the vehicle refused a software update or rollback request.
|
|
109
|
-
* @group X4
|
|
110
|
-
* @category Software Updates
|
|
111
|
-
*/
|
|
112
|
-
export type X4UpdateRefusalReason = "update-in-progress" | "rollback-in-progress" | "firmware-flashing" | "invalid-request" | "unavailable" | "refused";
|
|
113
107
|
/**
|
|
114
108
|
* The API setting a software update error came from.
|
|
115
109
|
* @group X4
|
|
@@ -118,8 +112,7 @@ export type X4UpdateRefusalReason = "update-in-progress" | "rollback-in-progress
|
|
|
118
112
|
export type X4UpdateErrorSource = "updateFetch" | "rollback" | "rollbackOs";
|
|
119
113
|
/**
|
|
120
114
|
* The error the vehicle sends when it refuses an `updateFetch`, `rollback` or
|
|
121
|
-
* `rollbackOs` request. `message` is for logs only
|
|
122
|
-
* Errors from other settings carry no `source`.
|
|
115
|
+
* `rollbackOs` request. `message` is for logs only. Errors from other settings carry no `source`.
|
|
123
116
|
* @group X4
|
|
124
117
|
* @category Software Updates
|
|
125
118
|
*/
|
|
@@ -127,5 +120,4 @@ export type X4UpdateError = {
|
|
|
127
120
|
code: number;
|
|
128
121
|
message: string;
|
|
129
122
|
source: X4UpdateErrorSource;
|
|
130
|
-
reason: X4UpdateRefusalReason;
|
|
131
123
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deeptrekker/api-domain",
|
|
3
|
-
"version": "1.0.54-x4-updates.
|
|
3
|
+
"version": "1.0.54-x4-updates.6",
|
|
4
4
|
"description": "A business domain of types and schemas that the Deep Trekker topside communicates with via an API.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|