@anduril-industries/lattice-sdk 4.12.0 → 4.13.0
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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/errors/ContentTooLargeError.js +1 -1
- package/dist/cjs/api/errors/InsufficientStorageError.js +1 -1
- package/dist/cjs/api/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/errors/RequestTimeoutError.js +1 -1
- package/dist/cjs/api/errors/TooManyRequestsError.js +1 -1
- package/dist/cjs/api/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/types/Color.d.ts +3 -3
- package/dist/cjs/api/types/GeoDetails.d.ts +1 -0
- package/dist/cjs/api/types/GeoVisualDetails.d.ts +10 -0
- package/dist/cjs/api/types/GeoVisualDetails.js +3 -0
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/errors/LatticeError.js +1 -1
- package/dist/cjs/errors/LatticeTimeoutError.js +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/errors/ContentTooLargeError.mjs +1 -1
- package/dist/esm/api/errors/InsufficientStorageError.mjs +1 -1
- package/dist/esm/api/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/errors/RequestTimeoutError.mjs +1 -1
- package/dist/esm/api/errors/TooManyRequestsError.mjs +1 -1
- package/dist/esm/api/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/types/Color.d.mts +3 -3
- package/dist/esm/api/types/GeoDetails.d.mts +1 -0
- package/dist/esm/api/types/GeoVisualDetails.d.mts +10 -0
- package/dist/esm/api/types/GeoVisualDetails.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/errors/LatticeError.mjs +1 -1
- package/dist/esm/errors/LatticeTimeoutError.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@anduril-industries/lattice-sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "4.
|
|
47
|
-
"User-Agent": "@anduril-industries/lattice-sdk/4.
|
|
46
|
+
"X-Fern-SDK-Version": "4.13.0",
|
|
47
|
+
"User-Agent": "@anduril-industries/lattice-sdk/4.13.0",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -48,7 +48,7 @@ class BadRequestError extends errors.LatticeError {
|
|
|
48
48
|
if (Error.captureStackTrace) {
|
|
49
49
|
Error.captureStackTrace(this, this.constructor);
|
|
50
50
|
}
|
|
51
|
-
this.name =
|
|
51
|
+
this.name = "BadRequestError";
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
exports.BadRequestError = BadRequestError;
|
|
@@ -48,7 +48,7 @@ class ContentTooLargeError extends errors.LatticeError {
|
|
|
48
48
|
if (Error.captureStackTrace) {
|
|
49
49
|
Error.captureStackTrace(this, this.constructor);
|
|
50
50
|
}
|
|
51
|
-
this.name =
|
|
51
|
+
this.name = "ContentTooLargeError";
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
exports.ContentTooLargeError = ContentTooLargeError;
|
|
@@ -48,7 +48,7 @@ class InsufficientStorageError extends errors.LatticeError {
|
|
|
48
48
|
if (Error.captureStackTrace) {
|
|
49
49
|
Error.captureStackTrace(this, this.constructor);
|
|
50
50
|
}
|
|
51
|
-
this.name =
|
|
51
|
+
this.name = "InsufficientStorageError";
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
exports.InsufficientStorageError = InsufficientStorageError;
|
|
@@ -48,7 +48,7 @@ class InternalServerError extends errors.LatticeError {
|
|
|
48
48
|
if (Error.captureStackTrace) {
|
|
49
49
|
Error.captureStackTrace(this, this.constructor);
|
|
50
50
|
}
|
|
51
|
-
this.name =
|
|
51
|
+
this.name = "InternalServerError";
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
exports.InternalServerError = InternalServerError;
|
|
@@ -48,7 +48,7 @@ class NotFoundError extends errors.LatticeError {
|
|
|
48
48
|
if (Error.captureStackTrace) {
|
|
49
49
|
Error.captureStackTrace(this, this.constructor);
|
|
50
50
|
}
|
|
51
|
-
this.name =
|
|
51
|
+
this.name = "NotFoundError";
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
exports.NotFoundError = NotFoundError;
|
|
@@ -48,7 +48,7 @@ class RequestTimeoutError extends errors.LatticeError {
|
|
|
48
48
|
if (Error.captureStackTrace) {
|
|
49
49
|
Error.captureStackTrace(this, this.constructor);
|
|
50
50
|
}
|
|
51
|
-
this.name =
|
|
51
|
+
this.name = "RequestTimeoutError";
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
exports.RequestTimeoutError = RequestTimeoutError;
|
|
@@ -48,7 +48,7 @@ class TooManyRequestsError extends errors.LatticeError {
|
|
|
48
48
|
if (Error.captureStackTrace) {
|
|
49
49
|
Error.captureStackTrace(this, this.constructor);
|
|
50
50
|
}
|
|
51
|
-
this.name =
|
|
51
|
+
this.name = "TooManyRequestsError";
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
exports.TooManyRequestsError = TooManyRequestsError;
|
|
@@ -48,7 +48,7 @@ class UnauthorizedError extends errors.LatticeError {
|
|
|
48
48
|
if (Error.captureStackTrace) {
|
|
49
49
|
Error.captureStackTrace(this, this.constructor);
|
|
50
50
|
}
|
|
51
|
-
this.name =
|
|
51
|
+
this.name = "UnauthorizedError";
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
exports.UnauthorizedError = UnauthorizedError;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export interface Color {
|
|
2
|
-
/** The amount of red in the color as a value in the interval [0,
|
|
2
|
+
/** The amount of red in the color as a value in the interval [0, 255]. */
|
|
3
3
|
red?: number | undefined;
|
|
4
|
-
/** The amount of green in the color as a value in the interval [0,
|
|
4
|
+
/** The amount of green in the color as a value in the interval [0, 255]. */
|
|
5
5
|
green?: number | undefined;
|
|
6
|
-
/** The amount of blue in the color as a value in the interval [0,
|
|
6
|
+
/** The amount of blue in the color as a value in the interval [0, 255]. */
|
|
7
7
|
blue?: number | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* The fraction of this color that should be applied to the pixel. That is,
|
|
@@ -6,6 +6,7 @@ export interface GeoDetails {
|
|
|
6
6
|
type?: GeoDetails.Type | undefined;
|
|
7
7
|
controlArea?: Lattice.ControlAreaDetails | undefined;
|
|
8
8
|
acm?: Lattice.AcmDetails | undefined;
|
|
9
|
+
visualDetails?: Lattice.GeoVisualDetails | undefined;
|
|
9
10
|
}
|
|
10
11
|
export declare namespace GeoDetails {
|
|
11
12
|
const Type: {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Lattice from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Details specific to displaying a geo-entity
|
|
4
|
+
*/
|
|
5
|
+
export interface GeoVisualDetails {
|
|
6
|
+
/** Describes the fill color of a geo-entity. */
|
|
7
|
+
fillColor?: Lattice.Color | undefined;
|
|
8
|
+
/** Describes the line color of a geo-entity. */
|
|
9
|
+
lineColor?: Lattice.Color | undefined;
|
|
10
|
+
}
|
|
@@ -61,6 +61,7 @@ export * from "./GeoPoint.js";
|
|
|
61
61
|
export * from "./GeoPolygon.js";
|
|
62
62
|
export * from "./GeoPolygonPosition.js";
|
|
63
63
|
export * from "./GeoShape.js";
|
|
64
|
+
export * from "./GeoVisualDetails.js";
|
|
64
65
|
export * from "./GoogleProtobufAny.js";
|
|
65
66
|
export * from "./GroupChild.js";
|
|
66
67
|
export * from "./GroupDetails.js";
|
|
@@ -77,6 +77,7 @@ __exportStar(require("./GeoPoint.js"), exports);
|
|
|
77
77
|
__exportStar(require("./GeoPolygon.js"), exports);
|
|
78
78
|
__exportStar(require("./GeoPolygonPosition.js"), exports);
|
|
79
79
|
__exportStar(require("./GeoShape.js"), exports);
|
|
80
|
+
__exportStar(require("./GeoVisualDetails.js"), exports);
|
|
80
81
|
__exportStar(require("./GoogleProtobufAny.js"), exports);
|
|
81
82
|
__exportStar(require("./GroupChild.js"), exports);
|
|
82
83
|
__exportStar(require("./GroupDetails.js"), exports);
|
|
@@ -10,7 +10,7 @@ class LatticeError extends Error {
|
|
|
10
10
|
if (Error.captureStackTrace) {
|
|
11
11
|
Error.captureStackTrace(this, this.constructor);
|
|
12
12
|
}
|
|
13
|
-
this.name =
|
|
13
|
+
this.name = "LatticeError";
|
|
14
14
|
this.statusCode = statusCode;
|
|
15
15
|
this.body = body;
|
|
16
16
|
this.rawResponse = rawResponse;
|
|
@@ -9,7 +9,7 @@ class LatticeTimeoutError extends Error {
|
|
|
9
9
|
if (Error.captureStackTrace) {
|
|
10
10
|
Error.captureStackTrace(this, this.constructor);
|
|
11
11
|
}
|
|
12
|
-
this.name =
|
|
12
|
+
this.name = "LatticeTimeoutError";
|
|
13
13
|
if ((opts === null || opts === void 0 ? void 0 : opts.cause) != null) {
|
|
14
14
|
this.cause = opts.cause;
|
|
15
15
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.
|
|
1
|
+
export declare const SDK_VERSION = "4.13.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@anduril-industries/lattice-sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "4.
|
|
10
|
-
"User-Agent": "@anduril-industries/lattice-sdk/4.
|
|
9
|
+
"X-Fern-SDK-Version": "4.13.0",
|
|
10
|
+
"User-Agent": "@anduril-industries/lattice-sdk/4.13.0",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export interface Color {
|
|
2
|
-
/** The amount of red in the color as a value in the interval [0,
|
|
2
|
+
/** The amount of red in the color as a value in the interval [0, 255]. */
|
|
3
3
|
red?: number | undefined;
|
|
4
|
-
/** The amount of green in the color as a value in the interval [0,
|
|
4
|
+
/** The amount of green in the color as a value in the interval [0, 255]. */
|
|
5
5
|
green?: number | undefined;
|
|
6
|
-
/** The amount of blue in the color as a value in the interval [0,
|
|
6
|
+
/** The amount of blue in the color as a value in the interval [0, 255]. */
|
|
7
7
|
blue?: number | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* The fraction of this color that should be applied to the pixel. That is,
|
|
@@ -6,6 +6,7 @@ export interface GeoDetails {
|
|
|
6
6
|
type?: GeoDetails.Type | undefined;
|
|
7
7
|
controlArea?: Lattice.ControlAreaDetails | undefined;
|
|
8
8
|
acm?: Lattice.AcmDetails | undefined;
|
|
9
|
+
visualDetails?: Lattice.GeoVisualDetails | undefined;
|
|
9
10
|
}
|
|
10
11
|
export declare namespace GeoDetails {
|
|
11
12
|
const Type: {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Lattice from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Details specific to displaying a geo-entity
|
|
4
|
+
*/
|
|
5
|
+
export interface GeoVisualDetails {
|
|
6
|
+
/** Describes the fill color of a geo-entity. */
|
|
7
|
+
fillColor?: Lattice.Color | undefined;
|
|
8
|
+
/** Describes the line color of a geo-entity. */
|
|
9
|
+
lineColor?: Lattice.Color | undefined;
|
|
10
|
+
}
|
|
@@ -61,6 +61,7 @@ export * from "./GeoPoint.mjs";
|
|
|
61
61
|
export * from "./GeoPolygon.mjs";
|
|
62
62
|
export * from "./GeoPolygonPosition.mjs";
|
|
63
63
|
export * from "./GeoShape.mjs";
|
|
64
|
+
export * from "./GeoVisualDetails.mjs";
|
|
64
65
|
export * from "./GoogleProtobufAny.mjs";
|
|
65
66
|
export * from "./GroupChild.mjs";
|
|
66
67
|
export * from "./GroupDetails.mjs";
|
|
@@ -61,6 +61,7 @@ export * from "./GeoPoint.mjs";
|
|
|
61
61
|
export * from "./GeoPolygon.mjs";
|
|
62
62
|
export * from "./GeoPolygonPosition.mjs";
|
|
63
63
|
export * from "./GeoShape.mjs";
|
|
64
|
+
export * from "./GeoVisualDetails.mjs";
|
|
64
65
|
export * from "./GoogleProtobufAny.mjs";
|
|
65
66
|
export * from "./GroupChild.mjs";
|
|
66
67
|
export * from "./GroupDetails.mjs";
|
|
@@ -7,7 +7,7 @@ export class LatticeError extends Error {
|
|
|
7
7
|
if (Error.captureStackTrace) {
|
|
8
8
|
Error.captureStackTrace(this, this.constructor);
|
|
9
9
|
}
|
|
10
|
-
this.name =
|
|
10
|
+
this.name = "LatticeError";
|
|
11
11
|
this.statusCode = statusCode;
|
|
12
12
|
this.body = body;
|
|
13
13
|
this.rawResponse = rawResponse;
|
|
@@ -6,7 +6,7 @@ export class LatticeTimeoutError extends Error {
|
|
|
6
6
|
if (Error.captureStackTrace) {
|
|
7
7
|
Error.captureStackTrace(this, this.constructor);
|
|
8
8
|
}
|
|
9
|
-
this.name =
|
|
9
|
+
this.name = "LatticeTimeoutError";
|
|
10
10
|
if ((opts === null || opts === void 0 ? void 0 : opts.cause) != null) {
|
|
11
11
|
this.cause = opts.cause;
|
|
12
12
|
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.
|
|
1
|
+
export declare const SDK_VERSION = "4.13.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.
|
|
1
|
+
export const SDK_VERSION = "4.13.0";
|