Skip to content

Commit 8c95d8b

Browse files
committed
SDK regeneration
1 parent a690f46 commit 8c95d8b

File tree

7 files changed

+110
-84
lines changed

7 files changed

+110
-84
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
![](https://www.anduril.com/lattice-sdk/)
44

5+
[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fanduril%2Flattice-sdk-javascript)
56
[![npm shield](https://img.shields.io/npm/v/@anduril-industries/lattice-sdk)](https://www.npmjs.com/package/@anduril-industries/lattice-sdk)
67

7-
The Lattice SDK TypeScript library provides convenient access to the Lattice API from TypeScript.
8+
The Anduril TypeScript library provides convenient access to the Anduril API from TypeScript.
89

910
## Documentation
1011

@@ -626,3 +627,13 @@ const client = new LatticeClient({
626627
fetcher: // provide your implementation here
627628
});
628629
```
630+
631+
## Contributing
632+
633+
While we value open-source contributions to this SDK, this library is generated programmatically.
634+
Additions made directly to this library would have to be moved over to our generation code,
635+
otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
636+
a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
637+
an issue first to discuss with us!
638+
639+
On the other hand, contributions to the README are always very welcome!

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@anduril-industries/lattice-sdk",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"private": false,
55
"repository": "github:anduril/lattice-sdk-javascript",
66
"license": "See LICENSE",

src/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ export class LatticeClient {
4444
{
4545
"X-Fern-Language": "JavaScript",
4646
"X-Fern-SDK-Name": "@anduril-industries/lattice-sdk",
47-
"X-Fern-SDK-Version": "2.1.0",
48-
"User-Agent": "@anduril-industries/lattice-sdk/2.1.0",
47+
"X-Fern-SDK-Version": "2.2.0",
48+
"User-Agent": "@anduril-industries/lattice-sdk/2.2.0",
4949
"X-Fern-Runtime": core.RUNTIME.type,
5050
"X-Fern-Runtime-Version": core.RUNTIME.version,
5151
},

src/api/types/Entity.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ export interface Entity {
4141
* The expiry time must be in the future, but less than 30 days from the current time.
4242
*/
4343
expiryTime?: string;
44+
/**
45+
* Use noExpiry only when the entity contains information that should be available to other
46+
* tasks or integrations beyond its immediate operational context. For example, use noExpiry
47+
* for long-living geographical entities that maintain persistent relevance across multiple
48+
* operations or tasks.
49+
*/
50+
noExpiry?: boolean;
4451
/** Human-readable descriptions of what the entity is currently doing. */
4552
status?: Lattice.Status;
4653
/** Geospatial data related to the entity, including its position, kinematics, and orientation. */

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "2.1.0";
1+
export const SDK_VERSION = "2.2.0";

tests/wire/entities.test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ describe("Entities", () => {
1717
isLive: true,
1818
createdTime: "2024-01-15T09:30:00Z",
1919
expiryTime: "2024-01-15T09:30:00Z",
20+
noExpiry: true,
2021
status: { code: 1, message: "message", details: [{}] },
2122
location: {
2223
position: {
@@ -141,6 +142,7 @@ describe("Entities", () => {
141142
isLive: true,
142143
createdTime: "2024-01-15T09:30:00Z",
143144
expiryTime: "2024-01-15T09:30:00Z",
145+
noExpiry: true,
144146
status: {
145147
code: 1,
146148
message: "message",
@@ -391,6 +393,7 @@ describe("Entities", () => {
391393
isLive: true,
392394
createdTime: "2024-01-15T09:30:00Z",
393395
expiryTime: "2024-01-15T09:30:00Z",
396+
noExpiry: true,
394397
status: { code: 1, message: "message", details: [{}] },
395398
location: {
396399
position: {
@@ -514,6 +517,7 @@ describe("Entities", () => {
514517
isLive: true,
515518
createdTime: "2024-01-15T09:30:00Z",
516519
expiryTime: "2024-01-15T09:30:00Z",
520+
noExpiry: true,
517521
status: {
518522
code: 1,
519523
message: "message",
@@ -764,6 +768,7 @@ describe("Entities", () => {
764768
isLive: true,
765769
createdTime: "2024-01-15T09:30:00Z",
766770
expiryTime: "2024-01-15T09:30:00Z",
771+
noExpiry: true,
767772
status: { code: 1, message: "message", details: [{}] },
768773
location: {
769774
position: {
@@ -888,6 +893,7 @@ describe("Entities", () => {
888893
isLive: true,
889894
createdTime: "2024-01-15T09:30:00Z",
890895
expiryTime: "2024-01-15T09:30:00Z",
896+
noExpiry: true,
891897
status: {
892898
code: 1,
893899
message: "message",
@@ -1138,6 +1144,7 @@ describe("Entities", () => {
11381144
isLive: true,
11391145
createdTime: "2024-01-15T09:30:00Z",
11401146
expiryTime: "2024-01-15T09:30:00Z",
1147+
noExpiry: true,
11411148
status: { code: 1, message: "message", details: [{}] },
11421149
location: {
11431150
position: {
@@ -1261,6 +1268,7 @@ describe("Entities", () => {
12611268
isLive: true,
12621269
createdTime: "2024-01-15T09:30:00Z",
12631270
expiryTime: "2024-01-15T09:30:00Z",
1271+
noExpiry: true,
12641272
status: {
12651273
code: 1,
12661274
message: "message",

0 commit comments

Comments
 (0)