@anduril-industries/lattice-sdk 2.4.0 → 3.0.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.
Files changed (781) hide show
  1. package/README.md +15 -16
  2. package/dist/cjs/BaseClient.d.ts +26 -0
  3. package/dist/cjs/BaseClient.js +3 -0
  4. package/dist/cjs/Client.d.ts +4 -24
  5. package/dist/cjs/Client.js +9 -11
  6. package/dist/cjs/api/errors/BadRequestError.d.ts +1 -4
  7. package/dist/cjs/api/errors/BadRequestError.js +1 -3
  8. package/dist/cjs/api/errors/ContentTooLargeError.d.ts +1 -4
  9. package/dist/cjs/api/errors/ContentTooLargeError.js +1 -3
  10. package/dist/cjs/api/errors/InsufficientStorageError.d.ts +1 -4
  11. package/dist/cjs/api/errors/InsufficientStorageError.js +1 -3
  12. package/dist/cjs/api/errors/InternalServerError.d.ts +1 -4
  13. package/dist/cjs/api/errors/InternalServerError.js +1 -3
  14. package/dist/cjs/api/errors/NotFoundError.d.ts +1 -4
  15. package/dist/cjs/api/errors/NotFoundError.js +1 -3
  16. package/dist/cjs/api/errors/RequestTimeoutError.d.ts +1 -4
  17. package/dist/cjs/api/errors/RequestTimeoutError.js +1 -3
  18. package/dist/cjs/api/errors/TooManyRequestsError.d.ts +1 -4
  19. package/dist/cjs/api/errors/TooManyRequestsError.js +1 -3
  20. package/dist/cjs/api/errors/UnauthorizedError.d.ts +1 -4
  21. package/dist/cjs/api/errors/UnauthorizedError.js +1 -3
  22. package/dist/cjs/api/errors/index.d.ts +4 -4
  23. package/dist/cjs/api/errors/index.js +4 -4
  24. package/dist/cjs/api/index.d.ts +1 -1
  25. package/dist/cjs/api/index.js +1 -1
  26. package/dist/cjs/api/resources/entities/client/Client.d.ts +3 -22
  27. package/dist/cjs/api/resources/entities/client/Client.js +31 -33
  28. package/dist/cjs/api/resources/entities/client/index.d.ts +0 -1
  29. package/dist/cjs/api/resources/entities/client/requests/EntityEventRequest.d.ts +0 -3
  30. package/dist/cjs/api/resources/entities/client/requests/EntityEventRequest.js +1 -3
  31. package/dist/cjs/api/resources/entities/client/requests/EntityOverride.d.ts +1 -4
  32. package/dist/cjs/api/resources/entities/client/requests/EntityOverride.js +1 -3
  33. package/dist/cjs/api/resources/entities/client/requests/EntityStreamRequest.d.ts +0 -3
  34. package/dist/cjs/api/resources/entities/client/requests/EntityStreamRequest.js +1 -3
  35. package/dist/cjs/api/resources/entities/client/requests/index.d.ts +3 -3
  36. package/dist/cjs/api/resources/entities/index.d.ts +1 -1
  37. package/dist/cjs/api/resources/entities/index.js +1 -1
  38. package/dist/cjs/api/resources/entities/types/StreamEntitiesResponse.d.ts +1 -4
  39. package/dist/cjs/api/resources/entities/types/StreamEntitiesResponse.js +1 -3
  40. package/dist/cjs/api/resources/entity/types/Error_.d.ts +0 -3
  41. package/dist/cjs/api/resources/entity/types/Error_.js +1 -3
  42. package/dist/cjs/api/resources/index.d.ts +5 -5
  43. package/dist/cjs/api/resources/index.js +9 -9
  44. package/dist/cjs/api/resources/object/types/Error_.d.ts +0 -3
  45. package/dist/cjs/api/resources/object/types/Error_.js +1 -3
  46. package/dist/cjs/api/resources/objects/client/Client.d.ts +3 -22
  47. package/dist/cjs/api/resources/objects/client/Client.js +32 -34
  48. package/dist/cjs/api/resources/objects/client/index.d.ts +0 -1
  49. package/dist/cjs/api/resources/objects/client/requests/GetObjectRequest.d.ts +1 -4
  50. package/dist/cjs/api/resources/objects/client/requests/GetObjectRequest.js +1 -3
  51. package/dist/cjs/api/resources/objects/client/requests/ListObjectsRequest.d.ts +0 -3
  52. package/dist/cjs/api/resources/objects/client/requests/ListObjectsRequest.js +1 -3
  53. package/dist/cjs/api/resources/objects/client/requests/index.d.ts +2 -2
  54. package/dist/cjs/api/resources/objects/index.d.ts +1 -1
  55. package/dist/cjs/api/resources/objects/index.js +1 -1
  56. package/dist/cjs/api/resources/objects/types/GetObjectRequestAcceptEncoding.d.ts +1 -4
  57. package/dist/cjs/api/resources/objects/types/GetObjectRequestAcceptEncoding.js +1 -3
  58. package/dist/cjs/api/resources/task/types/Error_.d.ts +0 -3
  59. package/dist/cjs/api/resources/task/types/Error_.js +1 -3
  60. package/dist/cjs/api/resources/tasks/client/Client.d.ts +3 -22
  61. package/dist/cjs/api/resources/tasks/client/Client.js +26 -28
  62. package/dist/cjs/api/resources/tasks/client/index.d.ts +0 -1
  63. package/dist/cjs/api/resources/tasks/client/requests/AgentListener.d.ts +1 -4
  64. package/dist/cjs/api/resources/tasks/client/requests/AgentListener.js +1 -3
  65. package/dist/cjs/api/resources/tasks/client/requests/TaskCreation.d.ts +1 -4
  66. package/dist/cjs/api/resources/tasks/client/requests/TaskCreation.js +1 -3
  67. package/dist/cjs/api/resources/tasks/client/requests/TaskQuery.d.ts +2 -7
  68. package/dist/cjs/api/resources/tasks/client/requests/TaskQuery.js +2 -3
  69. package/dist/cjs/api/resources/tasks/client/requests/TaskStatusUpdate.d.ts +1 -4
  70. package/dist/cjs/api/resources/tasks/client/requests/TaskStatusUpdate.js +1 -3
  71. package/dist/cjs/api/resources/tasks/client/requests/index.d.ts +4 -4
  72. package/dist/cjs/api/types/AcmDetails.d.ts +1 -4
  73. package/dist/cjs/api/types/AcmDetails.js +1 -3
  74. package/dist/cjs/api/types/ActiveTarget.d.ts +1 -5
  75. package/dist/cjs/api/types/ActiveTarget.js +1 -3
  76. package/dist/cjs/api/types/Agent.d.ts +0 -3
  77. package/dist/cjs/api/types/Agent.js +1 -3
  78. package/dist/cjs/api/types/AgentRequest.d.ts +1 -4
  79. package/dist/cjs/api/types/AgentRequest.js +1 -3
  80. package/dist/cjs/api/types/Alert.d.ts +3 -8
  81. package/dist/cjs/api/types/Alert.js +2 -3
  82. package/dist/cjs/api/types/AlertCondition.d.ts +0 -3
  83. package/dist/cjs/api/types/AlertCondition.js +1 -3
  84. package/dist/cjs/api/types/Aliases.d.ts +1 -4
  85. package/dist/cjs/api/types/Aliases.js +1 -3
  86. package/dist/cjs/api/types/Allocation.d.ts +1 -4
  87. package/dist/cjs/api/types/Allocation.js +1 -3
  88. package/dist/cjs/api/types/AlternateId.d.ts +1 -4
  89. package/dist/cjs/api/types/AlternateId.js +1 -3
  90. package/dist/cjs/api/types/AngleOfArrival.d.ts +1 -4
  91. package/dist/cjs/api/types/AngleOfArrival.js +1 -3
  92. package/dist/cjs/api/types/Bandwidth.d.ts +0 -3
  93. package/dist/cjs/api/types/Bandwidth.js +1 -3
  94. package/dist/cjs/api/types/BandwidthRange.d.ts +1 -4
  95. package/dist/cjs/api/types/BandwidthRange.js +1 -3
  96. package/dist/cjs/api/types/CancelRequest.d.ts +1 -4
  97. package/dist/cjs/api/types/CancelRequest.js +1 -3
  98. package/dist/cjs/api/types/Classification.d.ts +1 -4
  99. package/dist/cjs/api/types/Classification.js +1 -3
  100. package/dist/cjs/api/types/ClassificationInformation.d.ts +2 -7
  101. package/dist/cjs/api/types/ClassificationInformation.js +2 -3
  102. package/dist/cjs/api/types/Color.d.ts +0 -3
  103. package/dist/cjs/api/types/Color.js +1 -3
  104. package/dist/cjs/api/types/CompleteRequest.d.ts +0 -3
  105. package/dist/cjs/api/types/CompleteRequest.js +1 -3
  106. package/dist/cjs/api/types/ComponentHealth.d.ts +3 -8
  107. package/dist/cjs/api/types/ComponentHealth.js +2 -3
  108. package/dist/cjs/api/types/ComponentMessage.d.ts +2 -7
  109. package/dist/cjs/api/types/ComponentMessage.js +2 -3
  110. package/dist/cjs/api/types/ContentIdentifier.d.ts +0 -3
  111. package/dist/cjs/api/types/ContentIdentifier.js +1 -3
  112. package/dist/cjs/api/types/ControlAreaDetails.d.ts +1 -4
  113. package/dist/cjs/api/types/ControlAreaDetails.js +1 -3
  114. package/dist/cjs/api/types/Correlation.d.ts +1 -4
  115. package/dist/cjs/api/types/Correlation.js +1 -3
  116. package/dist/cjs/api/types/CorrelationMembership.d.ts +1 -4
  117. package/dist/cjs/api/types/CorrelationMembership.js +1 -3
  118. package/dist/cjs/api/types/CorrelationMetadata.d.ts +4 -9
  119. package/dist/cjs/api/types/CorrelationMetadata.js +11 -3
  120. package/dist/cjs/api/types/CronWindow.d.ts +0 -3
  121. package/dist/cjs/api/types/CronWindow.js +1 -3
  122. package/dist/cjs/api/types/DecorrelatedAll.d.ts +1 -4
  123. package/dist/cjs/api/types/DecorrelatedAll.js +1 -3
  124. package/dist/cjs/api/types/DecorrelatedSingle.d.ts +1 -4
  125. package/dist/cjs/api/types/DecorrelatedSingle.js +1 -3
  126. package/dist/cjs/api/types/Decorrelation.d.ts +1 -4
  127. package/dist/cjs/api/types/Decorrelation.js +1 -3
  128. package/dist/cjs/api/types/Dimensions.d.ts +0 -3
  129. package/dist/cjs/api/types/Dimensions.js +1 -3
  130. package/dist/cjs/api/types/Echelon.d.ts +1 -4
  131. package/dist/cjs/api/types/Echelon.js +1 -3
  132. package/dist/cjs/api/types/EmitterNotation.d.ts +0 -3
  133. package/dist/cjs/api/types/EmitterNotation.js +1 -3
  134. package/dist/cjs/api/types/Entity.d.ts +1 -4
  135. package/dist/cjs/api/types/Entity.js +1 -3
  136. package/dist/cjs/api/types/EntityEvent.d.ts +2 -5
  137. package/dist/cjs/api/types/EntityEvent.js +1 -3
  138. package/dist/cjs/api/types/EntityEventResponse.d.ts +1 -4
  139. package/dist/cjs/api/types/EntityEventResponse.js +1 -3
  140. package/dist/cjs/api/types/EntityIdsSelector.d.ts +0 -3
  141. package/dist/cjs/api/types/EntityIdsSelector.js +1 -3
  142. package/dist/cjs/api/types/EntityStreamEvent.d.ts +1 -4
  143. package/dist/cjs/api/types/EntityStreamEvent.js +1 -3
  144. package/dist/cjs/api/types/EntityStreamHeartbeat.d.ts +1 -4
  145. package/dist/cjs/api/types/EntityStreamHeartbeat.js +1 -3
  146. package/dist/cjs/api/types/Enu.d.ts +0 -3
  147. package/dist/cjs/api/types/Enu.js +1 -3
  148. package/dist/cjs/api/types/ErrorEllipse.d.ts +0 -3
  149. package/dist/cjs/api/types/ErrorEllipse.js +1 -3
  150. package/dist/cjs/api/types/ExecuteRequest.d.ts +1 -4
  151. package/dist/cjs/api/types/ExecuteRequest.js +1 -3
  152. package/dist/cjs/api/types/FieldClassificationInformation.d.ts +1 -4
  153. package/dist/cjs/api/types/FieldClassificationInformation.js +1 -3
  154. package/dist/cjs/api/types/FieldOfView.d.ts +2 -5
  155. package/dist/cjs/api/types/FieldOfView.js +6 -3
  156. package/dist/cjs/api/types/Fixed.d.ts +1 -5
  157. package/dist/cjs/api/types/Fixed.js +1 -3
  158. package/dist/cjs/api/types/Frequency.d.ts +1 -4
  159. package/dist/cjs/api/types/Frequency.js +1 -3
  160. package/dist/cjs/api/types/FrequencyRange.d.ts +1 -4
  161. package/dist/cjs/api/types/FrequencyRange.js +1 -3
  162. package/dist/cjs/api/types/Fuel.d.ts +1 -4
  163. package/dist/cjs/api/types/Fuel.js +1 -3
  164. package/dist/cjs/api/types/GeoDetails.d.ts +2 -5
  165. package/dist/cjs/api/types/GeoDetails.js +1 -3
  166. package/dist/cjs/api/types/GeoEllipse.d.ts +0 -3
  167. package/dist/cjs/api/types/GeoEllipse.js +1 -3
  168. package/dist/cjs/api/types/GeoEllipsoid.d.ts +0 -3
  169. package/dist/cjs/api/types/GeoEllipsoid.js +1 -3
  170. package/dist/cjs/api/types/GeoLine.d.ts +1 -4
  171. package/dist/cjs/api/types/GeoLine.js +1 -3
  172. package/dist/cjs/api/types/GeoPoint.d.ts +1 -4
  173. package/dist/cjs/api/types/GeoPoint.js +1 -3
  174. package/dist/cjs/api/types/GeoPolygon.d.ts +1 -4
  175. package/dist/cjs/api/types/GeoPolygon.js +1 -3
  176. package/dist/cjs/api/types/GeoPolygonPosition.d.ts +1 -4
  177. package/dist/cjs/api/types/GeoPolygonPosition.js +1 -3
  178. package/dist/cjs/api/types/GeoShape.d.ts +1 -4
  179. package/dist/cjs/api/types/GeoShape.js +1 -3
  180. package/dist/cjs/api/types/GoogleProtobufAny.d.ts +0 -3
  181. package/dist/cjs/api/types/GoogleProtobufAny.js +1 -3
  182. package/dist/cjs/api/types/GroupChild.d.ts +1 -5
  183. package/dist/cjs/api/types/GroupChild.js +1 -3
  184. package/dist/cjs/api/types/GroupDetails.d.ts +1 -4
  185. package/dist/cjs/api/types/GroupDetails.js +1 -3
  186. package/dist/cjs/api/types/GroupParent.d.ts +1 -5
  187. package/dist/cjs/api/types/GroupParent.js +1 -3
  188. package/dist/cjs/api/types/Health.d.ts +5 -12
  189. package/dist/cjs/api/types/Health.js +3 -3
  190. package/dist/cjs/api/types/HeartbeatObject.d.ts +0 -3
  191. package/dist/cjs/api/types/HeartbeatObject.js +1 -3
  192. package/dist/cjs/api/types/HighValueTarget.d.ts +1 -4
  193. package/dist/cjs/api/types/HighValueTarget.js +1 -3
  194. package/dist/cjs/api/types/HighValueTargetMatch.d.ts +0 -3
  195. package/dist/cjs/api/types/HighValueTargetMatch.js +1 -3
  196. package/dist/cjs/api/types/Indicators.d.ts +0 -3
  197. package/dist/cjs/api/types/Indicators.js +1 -3
  198. package/dist/cjs/api/types/LineOfBearing.d.ts +1 -4
  199. package/dist/cjs/api/types/LineOfBearing.js +1 -3
  200. package/dist/cjs/api/types/LinearRing.d.ts +1 -4
  201. package/dist/cjs/api/types/LinearRing.js +1 -3
  202. package/dist/cjs/api/types/ListResponse.d.ts +1 -4
  203. package/dist/cjs/api/types/ListResponse.js +1 -3
  204. package/dist/cjs/api/types/Lla.d.ts +1 -4
  205. package/dist/cjs/api/types/Lla.js +6 -3
  206. package/dist/cjs/api/types/Location.d.ts +1 -4
  207. package/dist/cjs/api/types/Location.js +1 -3
  208. package/dist/cjs/api/types/LocationUncertainty.d.ts +1 -4
  209. package/dist/cjs/api/types/LocationUncertainty.js +1 -3
  210. package/dist/cjs/api/types/MeanKeplerianElements.d.ts +0 -3
  211. package/dist/cjs/api/types/MeanKeplerianElements.js +1 -3
  212. package/dist/cjs/api/types/Measurement.d.ts +0 -3
  213. package/dist/cjs/api/types/Measurement.js +1 -3
  214. package/dist/cjs/api/types/Media.d.ts +1 -4
  215. package/dist/cjs/api/types/Media.js +1 -3
  216. package/dist/cjs/api/types/MediaItem.d.ts +1 -4
  217. package/dist/cjs/api/types/MediaItem.js +1 -3
  218. package/dist/cjs/api/types/MergedFrom.d.ts +1 -5
  219. package/dist/cjs/api/types/MergedFrom.js +1 -3
  220. package/dist/cjs/api/types/MilStd2525C.d.ts +0 -3
  221. package/dist/cjs/api/types/MilStd2525C.js +1 -3
  222. package/dist/cjs/api/types/MilView.d.ts +3 -6
  223. package/dist/cjs/api/types/MilView.js +1 -3
  224. package/dist/cjs/api/types/Mode5.d.ts +2 -7
  225. package/dist/cjs/api/types/Mode5.js +2 -3
  226. package/dist/cjs/api/types/ModeS.d.ts +0 -3
  227. package/dist/cjs/api/types/ModeS.js +1 -3
  228. package/dist/cjs/api/types/NonPrimaryMembership.d.ts +1 -5
  229. package/dist/cjs/api/types/NonPrimaryMembership.js +1 -3
  230. package/dist/cjs/api/types/Ontology.d.ts +2 -7
  231. package/dist/cjs/api/types/Ontology.js +2 -3
  232. package/dist/cjs/api/types/Orbit.d.ts +1 -4
  233. package/dist/cjs/api/types/Orbit.js +1 -3
  234. package/dist/cjs/api/types/OrbitMeanElements.d.ts +1 -4
  235. package/dist/cjs/api/types/OrbitMeanElements.js +1 -3
  236. package/dist/cjs/api/types/OrbitMeanElementsMetadata.d.ts +3 -8
  237. package/dist/cjs/api/types/OrbitMeanElementsMetadata.js +2 -3
  238. package/dist/cjs/api/types/Override.d.ts +4 -9
  239. package/dist/cjs/api/types/Override.js +6 -3
  240. package/dist/cjs/api/types/Overrides.d.ts +1 -4
  241. package/dist/cjs/api/types/Overrides.js +1 -3
  242. package/dist/cjs/api/types/Owner.d.ts +0 -3
  243. package/dist/cjs/api/types/Owner.js +1 -3
  244. package/dist/cjs/api/types/PathMetadata.d.ts +1 -4
  245. package/dist/cjs/api/types/PathMetadata.js +1 -3
  246. package/dist/cjs/api/types/Payload.d.ts +1 -4
  247. package/dist/cjs/api/types/Payload.js +1 -3
  248. package/dist/cjs/api/types/PayloadConfiguration.d.ts +3 -8
  249. package/dist/cjs/api/types/PayloadConfiguration.js +2 -3
  250. package/dist/cjs/api/types/Payloads.d.ts +1 -4
  251. package/dist/cjs/api/types/Payloads.js +1 -3
  252. package/dist/cjs/api/types/Pose.d.ts +1 -4
  253. package/dist/cjs/api/types/Pose.js +1 -3
  254. package/dist/cjs/api/types/Position.d.ts +0 -3
  255. package/dist/cjs/api/types/Position.js +1 -3
  256. package/dist/cjs/api/types/PowerLevel.d.ts +0 -3
  257. package/dist/cjs/api/types/PowerLevel.js +1 -3
  258. package/dist/cjs/api/types/PowerSource.d.ts +5 -12
  259. package/dist/cjs/api/types/PowerSource.js +3 -3
  260. package/dist/cjs/api/types/PowerState.d.ts +1 -4
  261. package/dist/cjs/api/types/PowerState.js +1 -3
  262. package/dist/cjs/api/types/PrimaryCorrelation.d.ts +0 -3
  263. package/dist/cjs/api/types/PrimaryCorrelation.js +1 -3
  264. package/dist/cjs/api/types/PrimaryMembership.d.ts +1 -5
  265. package/dist/cjs/api/types/PrimaryMembership.js +1 -3
  266. package/dist/cjs/api/types/Principal.d.ts +1 -4
  267. package/dist/cjs/api/types/Principal.js +1 -3
  268. package/dist/cjs/api/types/ProjectedFrustum.d.ts +1 -4
  269. package/dist/cjs/api/types/ProjectedFrustum.js +1 -3
  270. package/dist/cjs/api/types/Provenance.d.ts +0 -3
  271. package/dist/cjs/api/types/Provenance.js +1 -3
  272. package/dist/cjs/api/types/PulseRepetitionInterval.d.ts +1 -4
  273. package/dist/cjs/api/types/PulseRepetitionInterval.js +1 -3
  274. package/dist/cjs/api/types/Quaternion.d.ts +0 -3
  275. package/dist/cjs/api/types/Quaternion.js +1 -3
  276. package/dist/cjs/api/types/RangeRings.d.ts +1 -4
  277. package/dist/cjs/api/types/RangeRings.js +1 -3
  278. package/dist/cjs/api/types/Relations.d.ts +1 -4
  279. package/dist/cjs/api/types/Relations.js +1 -3
  280. package/dist/cjs/api/types/Relationship.d.ts +1 -4
  281. package/dist/cjs/api/types/Relationship.js +1 -3
  282. package/dist/cjs/api/types/RelationshipType.d.ts +1 -4
  283. package/dist/cjs/api/types/RelationshipType.js +1 -3
  284. package/dist/cjs/api/types/Relationships.d.ts +1 -4
  285. package/dist/cjs/api/types/Relationships.js +1 -3
  286. package/dist/cjs/api/types/Replication.d.ts +0 -3
  287. package/dist/cjs/api/types/Replication.js +1 -3
  288. package/dist/cjs/api/types/RfConfiguration.d.ts +1 -4
  289. package/dist/cjs/api/types/RfConfiguration.js +1 -3
  290. package/dist/cjs/api/types/RouteDetails.d.ts +0 -3
  291. package/dist/cjs/api/types/RouteDetails.js +1 -3
  292. package/dist/cjs/api/types/ScanCharacteristics.d.ts +1 -4
  293. package/dist/cjs/api/types/ScanCharacteristics.js +1 -3
  294. package/dist/cjs/api/types/Schedule.d.ts +3 -8
  295. package/dist/cjs/api/types/Schedule.js +2 -3
  296. package/dist/cjs/api/types/Schedules.d.ts +1 -4
  297. package/dist/cjs/api/types/Schedules.js +1 -3
  298. package/dist/cjs/api/types/SecondaryCorrelation.d.ts +1 -4
  299. package/dist/cjs/api/types/SecondaryCorrelation.js +1 -3
  300. package/dist/cjs/api/types/Sensor.d.ts +4 -9
  301. package/dist/cjs/api/types/Sensor.js +2 -3
  302. package/dist/cjs/api/types/Sensors.d.ts +1 -4
  303. package/dist/cjs/api/types/Sensors.js +1 -3
  304. package/dist/cjs/api/types/Signal.d.ts +1 -4
  305. package/dist/cjs/api/types/Signal.js +1 -3
  306. package/dist/cjs/api/types/Status.d.ts +8 -11
  307. package/dist/cjs/api/types/Status.js +1 -3
  308. package/dist/cjs/api/types/Supplies.d.ts +1 -4
  309. package/dist/cjs/api/types/Supplies.js +1 -3
  310. package/dist/cjs/api/types/Symbology.d.ts +1 -4
  311. package/dist/cjs/api/types/Symbology.js +1 -3
  312. package/dist/cjs/api/types/System.d.ts +0 -3
  313. package/dist/cjs/api/types/System.js +1 -3
  314. package/dist/cjs/api/types/TMat2.d.ts +0 -3
  315. package/dist/cjs/api/types/TMat2.js +1 -3
  316. package/dist/cjs/api/types/TMat3.d.ts +0 -3
  317. package/dist/cjs/api/types/TMat3.js +1 -3
  318. package/dist/cjs/api/types/TargetPriority.d.ts +1 -4
  319. package/dist/cjs/api/types/TargetPriority.js +1 -3
  320. package/dist/cjs/api/types/Task.d.ts +1 -4
  321. package/dist/cjs/api/types/Task.js +1 -3
  322. package/dist/cjs/api/types/TaskCatalog.d.ts +1 -4
  323. package/dist/cjs/api/types/TaskCatalog.js +1 -3
  324. package/dist/cjs/api/types/TaskDefinition.d.ts +0 -3
  325. package/dist/cjs/api/types/TaskDefinition.js +1 -3
  326. package/dist/cjs/api/types/TaskEntity.d.ts +1 -4
  327. package/dist/cjs/api/types/TaskEntity.js +1 -3
  328. package/dist/cjs/api/types/TaskError.d.ts +3 -8
  329. package/dist/cjs/api/types/TaskError.js +2 -3
  330. package/dist/cjs/api/types/TaskQueryResults.d.ts +1 -4
  331. package/dist/cjs/api/types/TaskQueryResults.js +1 -3
  332. package/dist/cjs/api/types/TaskStatus.d.ts +3 -8
  333. package/dist/cjs/api/types/TaskStatus.js +2 -3
  334. package/dist/cjs/api/types/TaskVersion.d.ts +0 -3
  335. package/dist/cjs/api/types/TaskVersion.js +1 -3
  336. package/dist/cjs/api/types/Team.d.ts +1 -4
  337. package/dist/cjs/api/types/Team.js +1 -3
  338. package/dist/cjs/api/types/Threat.d.ts +0 -3
  339. package/dist/cjs/api/types/Threat.js +1 -3
  340. package/dist/cjs/api/types/Timestamp.d.ts +0 -3
  341. package/dist/cjs/api/types/Timestamp.js +1 -3
  342. package/dist/cjs/api/types/TleParameters.d.ts +0 -3
  343. package/dist/cjs/api/types/TleParameters.js +1 -3
  344. package/dist/cjs/api/types/Tracked.d.ts +1 -4
  345. package/dist/cjs/api/types/Tracked.js +1 -3
  346. package/dist/cjs/api/types/TrackedBy.d.ts +1 -4
  347. package/dist/cjs/api/types/TrackedBy.js +1 -3
  348. package/dist/cjs/api/types/TransponderCodes.d.ts +3 -8
  349. package/dist/cjs/api/types/TransponderCodes.js +2 -3
  350. package/dist/cjs/api/types/UInt32Range.d.ts +0 -3
  351. package/dist/cjs/api/types/UInt32Range.js +1 -3
  352. package/dist/cjs/api/types/User.d.ts +0 -3
  353. package/dist/cjs/api/types/User.js +1 -3
  354. package/dist/cjs/api/types/VisualDetails.d.ts +1 -4
  355. package/dist/cjs/api/types/VisualDetails.js +1 -3
  356. package/dist/cjs/api/types/index.d.ts +114 -114
  357. package/dist/cjs/api/types/index.js +114 -114
  358. package/dist/cjs/core/auth/AuthProvider.d.ts +1 -1
  359. package/dist/cjs/core/auth/BasicAuth.js +2 -1
  360. package/dist/cjs/core/fetcher/APIResponse.d.ts +1 -1
  361. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +1 -1
  362. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +2 -2
  363. package/dist/cjs/core/fetcher/Fetcher.d.ts +2 -2
  364. package/dist/cjs/core/fetcher/Fetcher.js +2 -1
  365. package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +1 -1
  366. package/dist/cjs/core/fetcher/getErrorResponseBody.js +2 -1
  367. package/dist/cjs/core/fetcher/getResponseBody.js +3 -3
  368. package/dist/cjs/core/fetcher/makeRequest.js +2 -2
  369. package/dist/cjs/core/fetcher/requestWithRetries.js +3 -3
  370. package/dist/cjs/core/file/file.d.ts +6 -1
  371. package/dist/cjs/core/file/file.js +25 -7
  372. package/dist/cjs/core/index.d.ts +5 -5
  373. package/dist/cjs/core/index.js +6 -6
  374. package/dist/cjs/core/pagination/Page.d.ts +1 -1
  375. package/dist/cjs/core/pagination/Pageable.d.ts +1 -1
  376. package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
  377. package/dist/cjs/core/url/encodePathParam.js +21 -0
  378. package/dist/cjs/core/url/index.d.ts +1 -0
  379. package/dist/cjs/core/url/index.js +3 -1
  380. package/dist/cjs/core/url/join.js +3 -3
  381. package/dist/cjs/environments.d.ts +0 -3
  382. package/dist/cjs/environments.js +1 -3
  383. package/dist/cjs/errors/LatticeError.d.ts +1 -4
  384. package/dist/cjs/errors/LatticeError.js +2 -4
  385. package/dist/cjs/errors/LatticeTimeoutError.d.ts +0 -3
  386. package/dist/cjs/errors/LatticeTimeoutError.js +1 -3
  387. package/dist/cjs/index.d.ts +2 -1
  388. package/dist/cjs/index.js +4 -4
  389. package/dist/cjs/version.d.ts +1 -1
  390. package/dist/cjs/version.js +1 -1
  391. package/dist/esm/BaseClient.d.mts +26 -0
  392. package/dist/esm/BaseClient.mjs +2 -0
  393. package/dist/esm/Client.d.mts +4 -24
  394. package/dist/esm/Client.mjs +6 -8
  395. package/dist/esm/api/errors/BadRequestError.d.mts +1 -4
  396. package/dist/esm/api/errors/BadRequestError.mjs +1 -3
  397. package/dist/esm/api/errors/ContentTooLargeError.d.mts +1 -4
  398. package/dist/esm/api/errors/ContentTooLargeError.mjs +1 -3
  399. package/dist/esm/api/errors/InsufficientStorageError.d.mts +1 -4
  400. package/dist/esm/api/errors/InsufficientStorageError.mjs +1 -3
  401. package/dist/esm/api/errors/InternalServerError.d.mts +1 -4
  402. package/dist/esm/api/errors/InternalServerError.mjs +1 -3
  403. package/dist/esm/api/errors/NotFoundError.d.mts +1 -4
  404. package/dist/esm/api/errors/NotFoundError.mjs +1 -3
  405. package/dist/esm/api/errors/RequestTimeoutError.d.mts +1 -4
  406. package/dist/esm/api/errors/RequestTimeoutError.mjs +1 -3
  407. package/dist/esm/api/errors/TooManyRequestsError.d.mts +1 -4
  408. package/dist/esm/api/errors/TooManyRequestsError.mjs +1 -3
  409. package/dist/esm/api/errors/UnauthorizedError.d.mts +1 -4
  410. package/dist/esm/api/errors/UnauthorizedError.mjs +1 -3
  411. package/dist/esm/api/errors/index.d.mts +4 -4
  412. package/dist/esm/api/errors/index.mjs +4 -4
  413. package/dist/esm/api/index.d.mts +1 -1
  414. package/dist/esm/api/index.mjs +1 -1
  415. package/dist/esm/api/resources/entities/client/Client.d.mts +3 -22
  416. package/dist/esm/api/resources/entities/client/Client.mjs +31 -33
  417. package/dist/esm/api/resources/entities/client/index.d.mts +0 -1
  418. package/dist/esm/api/resources/entities/client/requests/EntityEventRequest.d.mts +0 -3
  419. package/dist/esm/api/resources/entities/client/requests/EntityEventRequest.mjs +1 -3
  420. package/dist/esm/api/resources/entities/client/requests/EntityOverride.d.mts +1 -4
  421. package/dist/esm/api/resources/entities/client/requests/EntityOverride.mjs +1 -3
  422. package/dist/esm/api/resources/entities/client/requests/EntityStreamRequest.d.mts +0 -3
  423. package/dist/esm/api/resources/entities/client/requests/EntityStreamRequest.mjs +1 -3
  424. package/dist/esm/api/resources/entities/client/requests/index.d.mts +3 -3
  425. package/dist/esm/api/resources/entities/index.d.mts +1 -1
  426. package/dist/esm/api/resources/entities/index.mjs +1 -1
  427. package/dist/esm/api/resources/entities/types/StreamEntitiesResponse.d.mts +1 -4
  428. package/dist/esm/api/resources/entities/types/StreamEntitiesResponse.mjs +1 -3
  429. package/dist/esm/api/resources/entity/types/Error_.d.mts +0 -3
  430. package/dist/esm/api/resources/entity/types/Error_.mjs +1 -3
  431. package/dist/esm/api/resources/index.d.mts +5 -5
  432. package/dist/esm/api/resources/index.mjs +5 -5
  433. package/dist/esm/api/resources/object/types/Error_.d.mts +0 -3
  434. package/dist/esm/api/resources/object/types/Error_.mjs +1 -3
  435. package/dist/esm/api/resources/objects/client/Client.d.mts +3 -22
  436. package/dist/esm/api/resources/objects/client/Client.mjs +32 -34
  437. package/dist/esm/api/resources/objects/client/index.d.mts +0 -1
  438. package/dist/esm/api/resources/objects/client/requests/GetObjectRequest.d.mts +1 -4
  439. package/dist/esm/api/resources/objects/client/requests/GetObjectRequest.mjs +1 -3
  440. package/dist/esm/api/resources/objects/client/requests/ListObjectsRequest.d.mts +0 -3
  441. package/dist/esm/api/resources/objects/client/requests/ListObjectsRequest.mjs +1 -3
  442. package/dist/esm/api/resources/objects/client/requests/index.d.mts +2 -2
  443. package/dist/esm/api/resources/objects/index.d.mts +1 -1
  444. package/dist/esm/api/resources/objects/index.mjs +1 -1
  445. package/dist/esm/api/resources/objects/types/GetObjectRequestAcceptEncoding.d.mts +1 -4
  446. package/dist/esm/api/resources/objects/types/GetObjectRequestAcceptEncoding.mjs +1 -3
  447. package/dist/esm/api/resources/task/types/Error_.d.mts +0 -3
  448. package/dist/esm/api/resources/task/types/Error_.mjs +1 -3
  449. package/dist/esm/api/resources/tasks/client/Client.d.mts +3 -22
  450. package/dist/esm/api/resources/tasks/client/Client.mjs +26 -28
  451. package/dist/esm/api/resources/tasks/client/index.d.mts +0 -1
  452. package/dist/esm/api/resources/tasks/client/requests/AgentListener.d.mts +1 -4
  453. package/dist/esm/api/resources/tasks/client/requests/AgentListener.mjs +1 -3
  454. package/dist/esm/api/resources/tasks/client/requests/TaskCreation.d.mts +1 -4
  455. package/dist/esm/api/resources/tasks/client/requests/TaskCreation.mjs +1 -3
  456. package/dist/esm/api/resources/tasks/client/requests/TaskQuery.d.mts +2 -7
  457. package/dist/esm/api/resources/tasks/client/requests/TaskQuery.mjs +2 -3
  458. package/dist/esm/api/resources/tasks/client/requests/TaskStatusUpdate.d.mts +1 -4
  459. package/dist/esm/api/resources/tasks/client/requests/TaskStatusUpdate.mjs +1 -3
  460. package/dist/esm/api/resources/tasks/client/requests/index.d.mts +4 -4
  461. package/dist/esm/api/types/AcmDetails.d.mts +1 -4
  462. package/dist/esm/api/types/AcmDetails.mjs +1 -3
  463. package/dist/esm/api/types/ActiveTarget.d.mts +1 -5
  464. package/dist/esm/api/types/ActiveTarget.mjs +1 -3
  465. package/dist/esm/api/types/Agent.d.mts +0 -3
  466. package/dist/esm/api/types/Agent.mjs +1 -3
  467. package/dist/esm/api/types/AgentRequest.d.mts +1 -4
  468. package/dist/esm/api/types/AgentRequest.mjs +1 -3
  469. package/dist/esm/api/types/Alert.d.mts +3 -8
  470. package/dist/esm/api/types/Alert.mjs +2 -3
  471. package/dist/esm/api/types/AlertCondition.d.mts +0 -3
  472. package/dist/esm/api/types/AlertCondition.mjs +1 -3
  473. package/dist/esm/api/types/Aliases.d.mts +1 -4
  474. package/dist/esm/api/types/Aliases.mjs +1 -3
  475. package/dist/esm/api/types/Allocation.d.mts +1 -4
  476. package/dist/esm/api/types/Allocation.mjs +1 -3
  477. package/dist/esm/api/types/AlternateId.d.mts +1 -4
  478. package/dist/esm/api/types/AlternateId.mjs +1 -3
  479. package/dist/esm/api/types/AngleOfArrival.d.mts +1 -4
  480. package/dist/esm/api/types/AngleOfArrival.mjs +1 -3
  481. package/dist/esm/api/types/Bandwidth.d.mts +0 -3
  482. package/dist/esm/api/types/Bandwidth.mjs +1 -3
  483. package/dist/esm/api/types/BandwidthRange.d.mts +1 -4
  484. package/dist/esm/api/types/BandwidthRange.mjs +1 -3
  485. package/dist/esm/api/types/CancelRequest.d.mts +1 -4
  486. package/dist/esm/api/types/CancelRequest.mjs +1 -3
  487. package/dist/esm/api/types/Classification.d.mts +1 -4
  488. package/dist/esm/api/types/Classification.mjs +1 -3
  489. package/dist/esm/api/types/ClassificationInformation.d.mts +2 -7
  490. package/dist/esm/api/types/ClassificationInformation.mjs +2 -3
  491. package/dist/esm/api/types/Color.d.mts +0 -3
  492. package/dist/esm/api/types/Color.mjs +1 -3
  493. package/dist/esm/api/types/CompleteRequest.d.mts +0 -3
  494. package/dist/esm/api/types/CompleteRequest.mjs +1 -3
  495. package/dist/esm/api/types/ComponentHealth.d.mts +3 -8
  496. package/dist/esm/api/types/ComponentHealth.mjs +2 -3
  497. package/dist/esm/api/types/ComponentMessage.d.mts +2 -7
  498. package/dist/esm/api/types/ComponentMessage.mjs +2 -3
  499. package/dist/esm/api/types/ContentIdentifier.d.mts +0 -3
  500. package/dist/esm/api/types/ContentIdentifier.mjs +1 -3
  501. package/dist/esm/api/types/ControlAreaDetails.d.mts +1 -4
  502. package/dist/esm/api/types/ControlAreaDetails.mjs +1 -3
  503. package/dist/esm/api/types/Correlation.d.mts +1 -4
  504. package/dist/esm/api/types/Correlation.mjs +1 -3
  505. package/dist/esm/api/types/CorrelationMembership.d.mts +1 -4
  506. package/dist/esm/api/types/CorrelationMembership.mjs +1 -3
  507. package/dist/esm/api/types/CorrelationMetadata.d.mts +4 -9
  508. package/dist/esm/api/types/CorrelationMetadata.mjs +11 -3
  509. package/dist/esm/api/types/CronWindow.d.mts +0 -3
  510. package/dist/esm/api/types/CronWindow.mjs +1 -3
  511. package/dist/esm/api/types/DecorrelatedAll.d.mts +1 -4
  512. package/dist/esm/api/types/DecorrelatedAll.mjs +1 -3
  513. package/dist/esm/api/types/DecorrelatedSingle.d.mts +1 -4
  514. package/dist/esm/api/types/DecorrelatedSingle.mjs +1 -3
  515. package/dist/esm/api/types/Decorrelation.d.mts +1 -4
  516. package/dist/esm/api/types/Decorrelation.mjs +1 -3
  517. package/dist/esm/api/types/Dimensions.d.mts +0 -3
  518. package/dist/esm/api/types/Dimensions.mjs +1 -3
  519. package/dist/esm/api/types/Echelon.d.mts +1 -4
  520. package/dist/esm/api/types/Echelon.mjs +1 -3
  521. package/dist/esm/api/types/EmitterNotation.d.mts +0 -3
  522. package/dist/esm/api/types/EmitterNotation.mjs +1 -3
  523. package/dist/esm/api/types/Entity.d.mts +1 -4
  524. package/dist/esm/api/types/Entity.mjs +1 -3
  525. package/dist/esm/api/types/EntityEvent.d.mts +2 -5
  526. package/dist/esm/api/types/EntityEvent.mjs +1 -3
  527. package/dist/esm/api/types/EntityEventResponse.d.mts +1 -4
  528. package/dist/esm/api/types/EntityEventResponse.mjs +1 -3
  529. package/dist/esm/api/types/EntityIdsSelector.d.mts +0 -3
  530. package/dist/esm/api/types/EntityIdsSelector.mjs +1 -3
  531. package/dist/esm/api/types/EntityStreamEvent.d.mts +1 -4
  532. package/dist/esm/api/types/EntityStreamEvent.mjs +1 -3
  533. package/dist/esm/api/types/EntityStreamHeartbeat.d.mts +1 -4
  534. package/dist/esm/api/types/EntityStreamHeartbeat.mjs +1 -3
  535. package/dist/esm/api/types/Enu.d.mts +0 -3
  536. package/dist/esm/api/types/Enu.mjs +1 -3
  537. package/dist/esm/api/types/ErrorEllipse.d.mts +0 -3
  538. package/dist/esm/api/types/ErrorEllipse.mjs +1 -3
  539. package/dist/esm/api/types/ExecuteRequest.d.mts +1 -4
  540. package/dist/esm/api/types/ExecuteRequest.mjs +1 -3
  541. package/dist/esm/api/types/FieldClassificationInformation.d.mts +1 -4
  542. package/dist/esm/api/types/FieldClassificationInformation.mjs +1 -3
  543. package/dist/esm/api/types/FieldOfView.d.mts +2 -5
  544. package/dist/esm/api/types/FieldOfView.mjs +6 -3
  545. package/dist/esm/api/types/Fixed.d.mts +1 -5
  546. package/dist/esm/api/types/Fixed.mjs +1 -3
  547. package/dist/esm/api/types/Frequency.d.mts +1 -4
  548. package/dist/esm/api/types/Frequency.mjs +1 -3
  549. package/dist/esm/api/types/FrequencyRange.d.mts +1 -4
  550. package/dist/esm/api/types/FrequencyRange.mjs +1 -3
  551. package/dist/esm/api/types/Fuel.d.mts +1 -4
  552. package/dist/esm/api/types/Fuel.mjs +1 -3
  553. package/dist/esm/api/types/GeoDetails.d.mts +2 -5
  554. package/dist/esm/api/types/GeoDetails.mjs +1 -3
  555. package/dist/esm/api/types/GeoEllipse.d.mts +0 -3
  556. package/dist/esm/api/types/GeoEllipse.mjs +1 -3
  557. package/dist/esm/api/types/GeoEllipsoid.d.mts +0 -3
  558. package/dist/esm/api/types/GeoEllipsoid.mjs +1 -3
  559. package/dist/esm/api/types/GeoLine.d.mts +1 -4
  560. package/dist/esm/api/types/GeoLine.mjs +1 -3
  561. package/dist/esm/api/types/GeoPoint.d.mts +1 -4
  562. package/dist/esm/api/types/GeoPoint.mjs +1 -3
  563. package/dist/esm/api/types/GeoPolygon.d.mts +1 -4
  564. package/dist/esm/api/types/GeoPolygon.mjs +1 -3
  565. package/dist/esm/api/types/GeoPolygonPosition.d.mts +1 -4
  566. package/dist/esm/api/types/GeoPolygonPosition.mjs +1 -3
  567. package/dist/esm/api/types/GeoShape.d.mts +1 -4
  568. package/dist/esm/api/types/GeoShape.mjs +1 -3
  569. package/dist/esm/api/types/GoogleProtobufAny.d.mts +0 -3
  570. package/dist/esm/api/types/GoogleProtobufAny.mjs +1 -3
  571. package/dist/esm/api/types/GroupChild.d.mts +1 -5
  572. package/dist/esm/api/types/GroupChild.mjs +1 -3
  573. package/dist/esm/api/types/GroupDetails.d.mts +1 -4
  574. package/dist/esm/api/types/GroupDetails.mjs +1 -3
  575. package/dist/esm/api/types/GroupParent.d.mts +1 -5
  576. package/dist/esm/api/types/GroupParent.mjs +1 -3
  577. package/dist/esm/api/types/Health.d.mts +5 -12
  578. package/dist/esm/api/types/Health.mjs +3 -3
  579. package/dist/esm/api/types/HeartbeatObject.d.mts +0 -3
  580. package/dist/esm/api/types/HeartbeatObject.mjs +1 -3
  581. package/dist/esm/api/types/HighValueTarget.d.mts +1 -4
  582. package/dist/esm/api/types/HighValueTarget.mjs +1 -3
  583. package/dist/esm/api/types/HighValueTargetMatch.d.mts +0 -3
  584. package/dist/esm/api/types/HighValueTargetMatch.mjs +1 -3
  585. package/dist/esm/api/types/Indicators.d.mts +0 -3
  586. package/dist/esm/api/types/Indicators.mjs +1 -3
  587. package/dist/esm/api/types/LineOfBearing.d.mts +1 -4
  588. package/dist/esm/api/types/LineOfBearing.mjs +1 -3
  589. package/dist/esm/api/types/LinearRing.d.mts +1 -4
  590. package/dist/esm/api/types/LinearRing.mjs +1 -3
  591. package/dist/esm/api/types/ListResponse.d.mts +1 -4
  592. package/dist/esm/api/types/ListResponse.mjs +1 -3
  593. package/dist/esm/api/types/Lla.d.mts +1 -4
  594. package/dist/esm/api/types/Lla.mjs +6 -3
  595. package/dist/esm/api/types/Location.d.mts +1 -4
  596. package/dist/esm/api/types/Location.mjs +1 -3
  597. package/dist/esm/api/types/LocationUncertainty.d.mts +1 -4
  598. package/dist/esm/api/types/LocationUncertainty.mjs +1 -3
  599. package/dist/esm/api/types/MeanKeplerianElements.d.mts +0 -3
  600. package/dist/esm/api/types/MeanKeplerianElements.mjs +1 -3
  601. package/dist/esm/api/types/Measurement.d.mts +0 -3
  602. package/dist/esm/api/types/Measurement.mjs +1 -3
  603. package/dist/esm/api/types/Media.d.mts +1 -4
  604. package/dist/esm/api/types/Media.mjs +1 -3
  605. package/dist/esm/api/types/MediaItem.d.mts +1 -4
  606. package/dist/esm/api/types/MediaItem.mjs +1 -3
  607. package/dist/esm/api/types/MergedFrom.d.mts +1 -5
  608. package/dist/esm/api/types/MergedFrom.mjs +1 -3
  609. package/dist/esm/api/types/MilStd2525C.d.mts +0 -3
  610. package/dist/esm/api/types/MilStd2525C.mjs +1 -3
  611. package/dist/esm/api/types/MilView.d.mts +3 -6
  612. package/dist/esm/api/types/MilView.mjs +1 -3
  613. package/dist/esm/api/types/Mode5.d.mts +2 -7
  614. package/dist/esm/api/types/Mode5.mjs +2 -3
  615. package/dist/esm/api/types/ModeS.d.mts +0 -3
  616. package/dist/esm/api/types/ModeS.mjs +1 -3
  617. package/dist/esm/api/types/NonPrimaryMembership.d.mts +1 -5
  618. package/dist/esm/api/types/NonPrimaryMembership.mjs +1 -3
  619. package/dist/esm/api/types/Ontology.d.mts +2 -7
  620. package/dist/esm/api/types/Ontology.mjs +2 -3
  621. package/dist/esm/api/types/Orbit.d.mts +1 -4
  622. package/dist/esm/api/types/Orbit.mjs +1 -3
  623. package/dist/esm/api/types/OrbitMeanElements.d.mts +1 -4
  624. package/dist/esm/api/types/OrbitMeanElements.mjs +1 -3
  625. package/dist/esm/api/types/OrbitMeanElementsMetadata.d.mts +3 -8
  626. package/dist/esm/api/types/OrbitMeanElementsMetadata.mjs +2 -3
  627. package/dist/esm/api/types/Override.d.mts +4 -9
  628. package/dist/esm/api/types/Override.mjs +6 -3
  629. package/dist/esm/api/types/Overrides.d.mts +1 -4
  630. package/dist/esm/api/types/Overrides.mjs +1 -3
  631. package/dist/esm/api/types/Owner.d.mts +0 -3
  632. package/dist/esm/api/types/Owner.mjs +1 -3
  633. package/dist/esm/api/types/PathMetadata.d.mts +1 -4
  634. package/dist/esm/api/types/PathMetadata.mjs +1 -3
  635. package/dist/esm/api/types/Payload.d.mts +1 -4
  636. package/dist/esm/api/types/Payload.mjs +1 -3
  637. package/dist/esm/api/types/PayloadConfiguration.d.mts +3 -8
  638. package/dist/esm/api/types/PayloadConfiguration.mjs +2 -3
  639. package/dist/esm/api/types/Payloads.d.mts +1 -4
  640. package/dist/esm/api/types/Payloads.mjs +1 -3
  641. package/dist/esm/api/types/Pose.d.mts +1 -4
  642. package/dist/esm/api/types/Pose.mjs +1 -3
  643. package/dist/esm/api/types/Position.d.mts +0 -3
  644. package/dist/esm/api/types/Position.mjs +1 -3
  645. package/dist/esm/api/types/PowerLevel.d.mts +0 -3
  646. package/dist/esm/api/types/PowerLevel.mjs +1 -3
  647. package/dist/esm/api/types/PowerSource.d.mts +5 -12
  648. package/dist/esm/api/types/PowerSource.mjs +3 -3
  649. package/dist/esm/api/types/PowerState.d.mts +1 -4
  650. package/dist/esm/api/types/PowerState.mjs +1 -3
  651. package/dist/esm/api/types/PrimaryCorrelation.d.mts +0 -3
  652. package/dist/esm/api/types/PrimaryCorrelation.mjs +1 -3
  653. package/dist/esm/api/types/PrimaryMembership.d.mts +1 -5
  654. package/dist/esm/api/types/PrimaryMembership.mjs +1 -3
  655. package/dist/esm/api/types/Principal.d.mts +1 -4
  656. package/dist/esm/api/types/Principal.mjs +1 -3
  657. package/dist/esm/api/types/ProjectedFrustum.d.mts +1 -4
  658. package/dist/esm/api/types/ProjectedFrustum.mjs +1 -3
  659. package/dist/esm/api/types/Provenance.d.mts +0 -3
  660. package/dist/esm/api/types/Provenance.mjs +1 -3
  661. package/dist/esm/api/types/PulseRepetitionInterval.d.mts +1 -4
  662. package/dist/esm/api/types/PulseRepetitionInterval.mjs +1 -3
  663. package/dist/esm/api/types/Quaternion.d.mts +0 -3
  664. package/dist/esm/api/types/Quaternion.mjs +1 -3
  665. package/dist/esm/api/types/RangeRings.d.mts +1 -4
  666. package/dist/esm/api/types/RangeRings.mjs +1 -3
  667. package/dist/esm/api/types/Relations.d.mts +1 -4
  668. package/dist/esm/api/types/Relations.mjs +1 -3
  669. package/dist/esm/api/types/Relationship.d.mts +1 -4
  670. package/dist/esm/api/types/Relationship.mjs +1 -3
  671. package/dist/esm/api/types/RelationshipType.d.mts +1 -4
  672. package/dist/esm/api/types/RelationshipType.mjs +1 -3
  673. package/dist/esm/api/types/Relationships.d.mts +1 -4
  674. package/dist/esm/api/types/Relationships.mjs +1 -3
  675. package/dist/esm/api/types/Replication.d.mts +0 -3
  676. package/dist/esm/api/types/Replication.mjs +1 -3
  677. package/dist/esm/api/types/RfConfiguration.d.mts +1 -4
  678. package/dist/esm/api/types/RfConfiguration.mjs +1 -3
  679. package/dist/esm/api/types/RouteDetails.d.mts +0 -3
  680. package/dist/esm/api/types/RouteDetails.mjs +1 -3
  681. package/dist/esm/api/types/ScanCharacteristics.d.mts +1 -4
  682. package/dist/esm/api/types/ScanCharacteristics.mjs +1 -3
  683. package/dist/esm/api/types/Schedule.d.mts +3 -8
  684. package/dist/esm/api/types/Schedule.mjs +2 -3
  685. package/dist/esm/api/types/Schedules.d.mts +1 -4
  686. package/dist/esm/api/types/Schedules.mjs +1 -3
  687. package/dist/esm/api/types/SecondaryCorrelation.d.mts +1 -4
  688. package/dist/esm/api/types/SecondaryCorrelation.mjs +1 -3
  689. package/dist/esm/api/types/Sensor.d.mts +4 -9
  690. package/dist/esm/api/types/Sensor.mjs +2 -3
  691. package/dist/esm/api/types/Sensors.d.mts +1 -4
  692. package/dist/esm/api/types/Sensors.mjs +1 -3
  693. package/dist/esm/api/types/Signal.d.mts +1 -4
  694. package/dist/esm/api/types/Signal.mjs +1 -3
  695. package/dist/esm/api/types/Status.d.mts +8 -11
  696. package/dist/esm/api/types/Status.mjs +1 -3
  697. package/dist/esm/api/types/Supplies.d.mts +1 -4
  698. package/dist/esm/api/types/Supplies.mjs +1 -3
  699. package/dist/esm/api/types/Symbology.d.mts +1 -4
  700. package/dist/esm/api/types/Symbology.mjs +1 -3
  701. package/dist/esm/api/types/System.d.mts +0 -3
  702. package/dist/esm/api/types/System.mjs +1 -3
  703. package/dist/esm/api/types/TMat2.d.mts +0 -3
  704. package/dist/esm/api/types/TMat2.mjs +1 -3
  705. package/dist/esm/api/types/TMat3.d.mts +0 -3
  706. package/dist/esm/api/types/TMat3.mjs +1 -3
  707. package/dist/esm/api/types/TargetPriority.d.mts +1 -4
  708. package/dist/esm/api/types/TargetPriority.mjs +1 -3
  709. package/dist/esm/api/types/Task.d.mts +1 -4
  710. package/dist/esm/api/types/Task.mjs +1 -3
  711. package/dist/esm/api/types/TaskCatalog.d.mts +1 -4
  712. package/dist/esm/api/types/TaskCatalog.mjs +1 -3
  713. package/dist/esm/api/types/TaskDefinition.d.mts +0 -3
  714. package/dist/esm/api/types/TaskDefinition.mjs +1 -3
  715. package/dist/esm/api/types/TaskEntity.d.mts +1 -4
  716. package/dist/esm/api/types/TaskEntity.mjs +1 -3
  717. package/dist/esm/api/types/TaskError.d.mts +3 -8
  718. package/dist/esm/api/types/TaskError.mjs +2 -3
  719. package/dist/esm/api/types/TaskQueryResults.d.mts +1 -4
  720. package/dist/esm/api/types/TaskQueryResults.mjs +1 -3
  721. package/dist/esm/api/types/TaskStatus.d.mts +3 -8
  722. package/dist/esm/api/types/TaskStatus.mjs +2 -3
  723. package/dist/esm/api/types/TaskVersion.d.mts +0 -3
  724. package/dist/esm/api/types/TaskVersion.mjs +1 -3
  725. package/dist/esm/api/types/Team.d.mts +1 -4
  726. package/dist/esm/api/types/Team.mjs +1 -3
  727. package/dist/esm/api/types/Threat.d.mts +0 -3
  728. package/dist/esm/api/types/Threat.mjs +1 -3
  729. package/dist/esm/api/types/Timestamp.d.mts +0 -3
  730. package/dist/esm/api/types/Timestamp.mjs +1 -3
  731. package/dist/esm/api/types/TleParameters.d.mts +0 -3
  732. package/dist/esm/api/types/TleParameters.mjs +1 -3
  733. package/dist/esm/api/types/Tracked.d.mts +1 -4
  734. package/dist/esm/api/types/Tracked.mjs +1 -3
  735. package/dist/esm/api/types/TrackedBy.d.mts +1 -4
  736. package/dist/esm/api/types/TrackedBy.mjs +1 -3
  737. package/dist/esm/api/types/TransponderCodes.d.mts +3 -8
  738. package/dist/esm/api/types/TransponderCodes.mjs +2 -3
  739. package/dist/esm/api/types/UInt32Range.d.mts +0 -3
  740. package/dist/esm/api/types/UInt32Range.mjs +1 -3
  741. package/dist/esm/api/types/User.d.mts +0 -3
  742. package/dist/esm/api/types/User.mjs +1 -3
  743. package/dist/esm/api/types/VisualDetails.d.mts +1 -4
  744. package/dist/esm/api/types/VisualDetails.mjs +1 -3
  745. package/dist/esm/api/types/index.d.mts +114 -114
  746. package/dist/esm/api/types/index.mjs +114 -114
  747. package/dist/esm/core/auth/AuthProvider.d.mts +1 -1
  748. package/dist/esm/core/auth/BasicAuth.mjs +2 -1
  749. package/dist/esm/core/fetcher/APIResponse.d.mts +1 -1
  750. package/dist/esm/core/fetcher/BinaryResponse.d.mts +1 -1
  751. package/dist/esm/core/fetcher/EndpointSupplier.d.mts +2 -2
  752. package/dist/esm/core/fetcher/Fetcher.d.mts +2 -2
  753. package/dist/esm/core/fetcher/Fetcher.mjs +2 -1
  754. package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +1 -1
  755. package/dist/esm/core/fetcher/getErrorResponseBody.mjs +2 -1
  756. package/dist/esm/core/fetcher/getResponseBody.mjs +3 -3
  757. package/dist/esm/core/fetcher/makeRequest.mjs +2 -2
  758. package/dist/esm/core/fetcher/requestWithRetries.mjs +3 -3
  759. package/dist/esm/core/file/file.d.mts +6 -1
  760. package/dist/esm/core/file/file.mjs +24 -7
  761. package/dist/esm/core/index.d.mts +5 -5
  762. package/dist/esm/core/index.mjs +5 -5
  763. package/dist/esm/core/pagination/Page.d.mts +1 -1
  764. package/dist/esm/core/pagination/Pageable.d.mts +1 -1
  765. package/dist/esm/core/url/encodePathParam.d.mts +1 -0
  766. package/dist/esm/core/url/encodePathParam.mjs +18 -0
  767. package/dist/esm/core/url/index.d.mts +1 -0
  768. package/dist/esm/core/url/index.mjs +1 -0
  769. package/dist/esm/core/url/join.mjs +3 -3
  770. package/dist/esm/environments.d.mts +0 -3
  771. package/dist/esm/environments.mjs +1 -3
  772. package/dist/esm/errors/LatticeError.d.mts +1 -4
  773. package/dist/esm/errors/LatticeError.mjs +2 -4
  774. package/dist/esm/errors/LatticeTimeoutError.d.mts +0 -3
  775. package/dist/esm/errors/LatticeTimeoutError.mjs +1 -3
  776. package/dist/esm/index.d.mts +2 -1
  777. package/dist/esm/index.mjs +1 -1
  778. package/dist/esm/version.d.mts +1 -1
  779. package/dist/esm/version.mjs +1 -1
  780. package/package.json +5 -3
  781. package/reference.md +105 -107
package/README.md CHANGED
@@ -39,7 +39,7 @@ import { LatticeClient } from "@anduril-industries/lattice-sdk";
39
39
 
40
40
  const client = new LatticeClient({ token: "YOUR_TOKEN" });
41
41
  await client.entities.longPollEntityEvents({
42
- sessionToken: "sessionToken",
42
+ sessionToken: "sessionToken"
43
43
  });
44
44
  ```
45
45
 
@@ -91,39 +91,36 @@ await client.objects.uploadObject(new File(['binary data'], 'file.mp3'), ...);
91
91
  await client.objects.uploadObject(new ArrayBuffer(8), ...);
92
92
  await client.objects.uploadObject(new Uint8Array([0, 1, 2]), ...);
93
93
  ```
94
-
95
94
  The client accepts a variety of types for file upload parameters:
96
-
97
- - Stream types: `fs.ReadStream`, `stream.Readable`, and `ReadableStream`
98
- - Buffered types: `Buffer`, `Blob`, `File`, `ArrayBuffer`, `ArrayBufferView`, and `Uint8Array`
95
+ * Stream types: `fs.ReadStream`, `stream.Readable`, and `ReadableStream`
96
+ * Buffered types: `Buffer`, `Blob`, `File`, `ArrayBuffer`, `ArrayBufferView`, and `Uint8Array`
99
97
 
100
98
  ### Metadata
101
99
 
102
100
  You can configure metadata when uploading a file:
103
-
104
101
  ```typescript
105
102
  const file: Uploadable.WithMetadata = {
106
103
  data: createReadStream("path/to/file"),
107
- filename: "my-file", // optional
104
+ filename: "my-file", // optional
108
105
  contentType: "audio/mpeg", // optional
109
- contentLength: 1949, // optional
106
+ contentLength: 1949, // optional
110
107
  };
111
108
  ```
112
109
 
113
110
  Alternatively, you can upload a file directly from a file path:
114
-
115
111
  ```typescript
116
- const file: Uploadable.FromPath = {
112
+ const file : Uploadable.FromPath = {
117
113
  path: "path/to/file",
118
- filename: "my-file", // optional
119
- contentType: "audio/mpeg", // optional
120
- contentLength: 1949, // optional
114
+ filename: "my-file", // optional
115
+ contentType: "audio/mpeg", // optional
116
+ contentLength: 1949, // optional
121
117
  };
122
118
  ```
123
119
 
124
120
  The metadata is used to set the `Content-Length`, `Content-Type`, and `Content-Disposition` headers. If not provided, the client will attempt to determine them automatically.
125
121
  For example, `fs.ReadStream` has a `path` property which the SDK uses to retrieve the file size from the filesystem without loading it into memory.
126
122
 
123
+
127
124
  ## Binary Response
128
125
 
129
126
  You can consume binary data from endpoints using the `BinaryResponse` type which lets you choose how to consume the data:
@@ -138,7 +135,6 @@ const stream: ReadableStream<Uint8Array> = response.stream();
138
135
  // If you want to check if the response body has been used, you can use the following property.
139
136
  const bodyUsed = response.bodyUsed;
140
137
  ```
141
-
142
138
  <details>
143
139
  <summary>Save binary response to a file</summary>
144
140
 
@@ -526,7 +522,7 @@ const response = await client.objects.listObjects({
526
522
  prefix: "prefix",
527
523
  sinceTimestamp: "2024-01-15T09:30:00Z",
528
524
  pageToken: "pageToken",
529
- allObjectsInMesh: true,
525
+ allObjectsInMesh: true
530
526
  });
531
527
  for await (const item of response) {
532
528
  console.log(item);
@@ -537,7 +533,7 @@ let page = await client.objects.listObjects({
537
533
  prefix: "prefix",
538
534
  sinceTimestamp: "2024-01-15T09:30:00Z",
539
535
  pageToken: "pageToken",
540
- allObjectsInMesh: true,
536
+ allObjectsInMesh: true
541
537
  });
542
538
  while (page.hasNextPage()) {
543
539
  page = page.getNextPage();
@@ -626,8 +622,11 @@ console.log(rawResponse.headers['X-My-Header']);
626
622
 
627
623
  ### Runtime Compatibility
628
624
 
625
+
629
626
  The SDK works in the following runtimes:
630
627
 
628
+
629
+
631
630
  - Node.js 18+
632
631
  - Vercel
633
632
  - Cloudflare Workers
@@ -0,0 +1,26 @@
1
+ import type * as core from "./core/index.js";
2
+ import type * as environments from "./environments.js";
3
+ export interface BaseClientOptions {
4
+ environment?: core.Supplier<environments.LatticeEnvironment | string>;
5
+ /** Specify a custom URL to connect the client to. */
6
+ baseUrl?: core.Supplier<string>;
7
+ token?: core.Supplier<core.BearerToken | undefined>;
8
+ /** Additional headers to include in requests. */
9
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
10
+ /** The default maximum time to wait for a response in seconds. */
11
+ timeoutInSeconds?: number;
12
+ /** The default number of times to retry the request. Defaults to 2. */
13
+ maxRetries?: number;
14
+ }
15
+ export interface BaseRequestOptions {
16
+ /** The maximum time to wait for a response in seconds. */
17
+ timeoutInSeconds?: number;
18
+ /** The number of times to retry the request. Defaults to 2. */
19
+ maxRetries?: number;
20
+ /** A hook to abort the request. */
21
+ abortSignal?: AbortSignal;
22
+ /** Additional query string parameters to include in the request. */
23
+ queryParams?: Record<string, unknown>;
24
+ /** Additional headers to include in the request. */
25
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
26
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,31 +1,11 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "./environments.js";
5
- import * as core from "./core/index.js";
6
1
  import { Entities } from "./api/resources/entities/client/Client.js";
7
- import { Tasks } from "./api/resources/tasks/client/Client.js";
8
2
  import { Objects } from "./api/resources/objects/client/Client.js";
3
+ import { Tasks } from "./api/resources/tasks/client/Client.js";
4
+ import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
9
5
  export declare namespace LatticeClient {
10
- interface Options {
11
- environment?: core.Supplier<environments.LatticeEnvironment | string>;
12
- /** Specify a custom URL to connect the client to. */
13
- baseUrl?: core.Supplier<string>;
14
- token?: core.Supplier<core.BearerToken | undefined>;
15
- /** Additional headers to include in requests. */
16
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
6
+ interface Options extends BaseClientOptions {
17
7
  }
18
- interface RequestOptions {
19
- /** The maximum time to wait for a response in seconds. */
20
- timeoutInSeconds?: number;
21
- /** The number of times to retry the request. Defaults to 2. */
22
- maxRetries?: number;
23
- /** A hook to abort the request. */
24
- abortSignal?: AbortSignal;
25
- /** Additional query string parameters to include in the request. */
26
- queryParams?: Record<string, unknown>;
27
- /** Additional headers to include in the request. */
28
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
8
+ interface RequestOptions extends BaseRequestOptions {
29
9
  }
30
10
  }
31
11
  export declare class LatticeClient {
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
4
  if (k2 === undefined) k2 = k;
7
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -37,18 +35,18 @@ var __importStar = (this && this.__importStar) || (function () {
37
35
  })();
38
36
  Object.defineProperty(exports, "__esModule", { value: true });
39
37
  exports.LatticeClient = void 0;
40
- const core = __importStar(require("./core/index.js"));
41
- const headers_js_1 = require("./core/headers.js");
42
38
  const Client_js_1 = require("./api/resources/entities/client/Client.js");
43
- const Client_js_2 = require("./api/resources/tasks/client/Client.js");
44
- const Client_js_3 = require("./api/resources/objects/client/Client.js");
39
+ const Client_js_2 = require("./api/resources/objects/client/Client.js");
40
+ const Client_js_3 = require("./api/resources/tasks/client/Client.js");
41
+ const headers_js_1 = require("./core/headers.js");
42
+ const core = __importStar(require("./core/index.js"));
45
43
  class LatticeClient {
46
44
  constructor(_options = {}) {
47
45
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
48
46
  "X-Fern-Language": "JavaScript",
49
47
  "X-Fern-SDK-Name": "@anduril-industries/lattice-sdk",
50
- "X-Fern-SDK-Version": "2.4.0",
51
- "User-Agent": "@anduril-industries/lattice-sdk/2.4.0",
48
+ "X-Fern-SDK-Version": "3.0.0",
49
+ "User-Agent": "@anduril-industries/lattice-sdk/3.0.0",
52
50
  "X-Fern-Runtime": core.RUNTIME.type,
53
51
  "X-Fern-Runtime-Version": core.RUNTIME.version,
54
52
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -59,11 +57,11 @@ class LatticeClient {
59
57
  }
60
58
  get tasks() {
61
59
  var _a;
62
- return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_js_2.Tasks(this._options)));
60
+ return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_js_3.Tasks(this._options)));
63
61
  }
64
62
  get objects() {
65
63
  var _a;
66
- return ((_a = this._objects) !== null && _a !== void 0 ? _a : (this._objects = new Client_js_3.Objects(this._options)));
64
+ return ((_a = this._objects) !== null && _a !== void 0 ? _a : (this._objects = new Client_js_2.Objects(this._options)));
67
65
  }
68
66
  }
69
67
  exports.LatticeClient = LatticeClient;
@@ -1,8 +1,5 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
1
+ import type * as core from "../../core/index.js";
4
2
  import * as errors from "../../errors/index.js";
5
- import * as core from "../../core/index.js";
6
3
  export declare class BadRequestError extends errors.LatticeError {
7
4
  constructor(body?: unknown, rawResponse?: core.RawResponse);
8
5
  }
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
4
  if (k2 === undefined) k2 = k;
7
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,8 +1,5 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
1
+ import type * as core from "../../core/index.js";
4
2
  import * as errors from "../../errors/index.js";
5
- import * as core from "../../core/index.js";
6
3
  export declare class ContentTooLargeError extends errors.LatticeError {
7
4
  constructor(body?: unknown, rawResponse?: core.RawResponse);
8
5
  }
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
4
  if (k2 === undefined) k2 = k;
7
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,8 +1,5 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
1
+ import type * as core from "../../core/index.js";
4
2
  import * as errors from "../../errors/index.js";
5
- import * as core from "../../core/index.js";
6
3
  export declare class InsufficientStorageError extends errors.LatticeError {
7
4
  constructor(body?: unknown, rawResponse?: core.RawResponse);
8
5
  }
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
4
  if (k2 === undefined) k2 = k;
7
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,8 +1,5 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
1
+ import type * as core from "../../core/index.js";
4
2
  import * as errors from "../../errors/index.js";
5
- import * as core from "../../core/index.js";
6
3
  export declare class InternalServerError extends errors.LatticeError {
7
4
  constructor(body?: unknown, rawResponse?: core.RawResponse);
8
5
  }
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
4
  if (k2 === undefined) k2 = k;
7
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,8 +1,5 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
1
+ import type * as core from "../../core/index.js";
4
2
  import * as errors from "../../errors/index.js";
5
- import * as core from "../../core/index.js";
6
3
  export declare class NotFoundError extends errors.LatticeError {
7
4
  constructor(body?: unknown, rawResponse?: core.RawResponse);
8
5
  }
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
4
  if (k2 === undefined) k2 = k;
7
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,8 +1,5 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
1
+ import type * as core from "../../core/index.js";
4
2
  import * as errors from "../../errors/index.js";
5
- import * as core from "../../core/index.js";
6
3
  export declare class RequestTimeoutError extends errors.LatticeError {
7
4
  constructor(body?: unknown, rawResponse?: core.RawResponse);
8
5
  }
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
4
  if (k2 === undefined) k2 = k;
7
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,8 +1,5 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
1
+ import type * as core from "../../core/index.js";
4
2
  import * as errors from "../../errors/index.js";
5
- import * as core from "../../core/index.js";
6
3
  export declare class TooManyRequestsError extends errors.LatticeError {
7
4
  constructor(body?: unknown, rawResponse?: core.RawResponse);
8
5
  }
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
4
  if (k2 === undefined) k2 = k;
7
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,8 +1,5 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
1
+ import type * as core from "../../core/index.js";
4
2
  import * as errors from "../../errors/index.js";
5
- import * as core from "../../core/index.js";
6
3
  export declare class UnauthorizedError extends errors.LatticeError {
7
4
  constructor(body?: unknown, rawResponse?: core.RawResponse);
8
5
  }
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
4
  if (k2 === undefined) k2 = k;
7
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1,8 +1,8 @@
1
1
  export * from "./BadRequestError.js";
2
- export * from "./UnauthorizedError.js";
2
+ export * from "./ContentTooLargeError.js";
3
+ export * from "./InsufficientStorageError.js";
4
+ export * from "./InternalServerError.js";
3
5
  export * from "./NotFoundError.js";
4
6
  export * from "./RequestTimeoutError.js";
5
7
  export * from "./TooManyRequestsError.js";
6
- export * from "./InternalServerError.js";
7
- export * from "./ContentTooLargeError.js";
8
- export * from "./InsufficientStorageError.js";
8
+ export * from "./UnauthorizedError.js";
@@ -15,10 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./BadRequestError.js"), exports);
18
- __exportStar(require("./UnauthorizedError.js"), exports);
18
+ __exportStar(require("./ContentTooLargeError.js"), exports);
19
+ __exportStar(require("./InsufficientStorageError.js"), exports);
20
+ __exportStar(require("./InternalServerError.js"), exports);
19
21
  __exportStar(require("./NotFoundError.js"), exports);
20
22
  __exportStar(require("./RequestTimeoutError.js"), exports);
21
23
  __exportStar(require("./TooManyRequestsError.js"), exports);
22
- __exportStar(require("./InternalServerError.js"), exports);
23
- __exportStar(require("./ContentTooLargeError.js"), exports);
24
- __exportStar(require("./InsufficientStorageError.js"), exports);
24
+ __exportStar(require("./UnauthorizedError.js"), exports);
@@ -1,3 +1,3 @@
1
+ export * from "./errors/index.js";
1
2
  export * from "./resources/index.js";
2
3
  export * from "./types/index.js";
3
- export * from "./errors/index.js";
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./errors/index.js"), exports);
17
18
  __exportStar(require("./resources/index.js"), exports);
18
19
  __exportStar(require("./types/index.js"), exports);
19
- __exportStar(require("./errors/index.js"), exports);
@@ -1,29 +1,10 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../environments.js";
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
5
2
  import * as core from "../../../../core/index.js";
6
3
  import * as Lattice from "../../../index.js";
7
4
  export declare namespace Entities {
8
- interface Options {
9
- environment?: core.Supplier<environments.LatticeEnvironment | string>;
10
- /** Specify a custom URL to connect the client to. */
11
- baseUrl?: core.Supplier<string>;
12
- token?: core.Supplier<core.BearerToken | undefined>;
13
- /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
5
+ interface Options extends BaseClientOptions {
15
6
  }
16
- interface RequestOptions {
17
- /** The maximum time to wait for a response in seconds. */
18
- timeoutInSeconds?: number;
19
- /** The number of times to retry the request. Defaults to 2. */
20
- maxRetries?: number;
21
- /** A hook to abort the request. */
22
- abortSignal?: AbortSignal;
23
- /** Additional query string parameters to include in the request. */
24
- queryParams?: Record<string, unknown>;
25
- /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
7
+ interface RequestOptions extends BaseRequestOptions {
27
8
  }
28
9
  }
29
10
  /**
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
4
  if (k2 === undefined) k2 = k;
7
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -46,11 +44,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
46
44
  };
47
45
  Object.defineProperty(exports, "__esModule", { value: true });
48
46
  exports.Entities = void 0;
49
- const environments = __importStar(require("../../../../environments.js"));
50
- const core = __importStar(require("../../../../core/index.js"));
51
- const Lattice = __importStar(require("../../../index.js"));
52
47
  const headers_js_1 = require("../../../../core/headers.js");
48
+ const core = __importStar(require("../../../../core/index.js"));
49
+ const environments = __importStar(require("../../../../environments.js"));
53
50
  const errors = __importStar(require("../../../../errors/index.js"));
51
+ const Lattice = __importStar(require("../../../index.js"));
54
52
  /**
55
53
  * The Entities API
56
54
  */
@@ -81,8 +79,8 @@ class Entities {
81
79
  }
82
80
  __publishEntity(request, requestOptions) {
83
81
  return __awaiter(this, void 0, void 0, function* () {
84
- var _a, _b, _c;
85
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
82
+ var _a, _b, _c, _d, _e, _f, _g, _h;
83
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
86
84
  const _response = yield core.fetcher({
87
85
  url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LatticeEnvironment.Default, "api/v1/entities"),
88
86
  method: "PUT",
@@ -91,8 +89,8 @@ class Entities {
91
89
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
92
90
  requestType: "json",
93
91
  body: request,
94
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
95
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
92
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
93
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
96
94
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
97
95
  });
98
96
  if (_response.ok) {
@@ -145,15 +143,15 @@ class Entities {
145
143
  }
146
144
  __getEntity(entityId, requestOptions) {
147
145
  return __awaiter(this, void 0, void 0, function* () {
148
- var _a, _b, _c;
149
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
146
+ var _a, _b, _c, _d, _e, _f, _g, _h;
147
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
150
148
  const _response = yield core.fetcher({
151
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LatticeEnvironment.Default, `api/v1/entities/${encodeURIComponent(entityId)}`),
149
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LatticeEnvironment.Default, `api/v1/entities/${core.url.encodePathParam(entityId)}`),
152
150
  method: "GET",
153
151
  headers: _headers,
154
152
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
155
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
156
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
153
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
154
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
157
155
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
158
156
  });
159
157
  if (_response.ok) {
@@ -218,18 +216,18 @@ class Entities {
218
216
  }
219
217
  __overrideEntity(entityId_1, fieldPath_1) {
220
218
  return __awaiter(this, arguments, void 0, function* (entityId, fieldPath, request = {}, requestOptions) {
221
- var _a, _b, _c;
222
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
219
+ var _a, _b, _c, _d, _e, _f, _g, _h;
220
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
223
221
  const _response = yield core.fetcher({
224
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LatticeEnvironment.Default, `api/v1/entities/${encodeURIComponent(entityId)}/override/${encodeURIComponent(fieldPath)}`),
222
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LatticeEnvironment.Default, `api/v1/entities/${core.url.encodePathParam(entityId)}/override/${core.url.encodePathParam(fieldPath)}`),
225
223
  method: "PUT",
226
224
  headers: _headers,
227
225
  contentType: "application/json",
228
226
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
229
227
  requestType: "json",
230
228
  body: request,
231
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
232
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
229
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
230
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
233
231
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
234
232
  });
235
233
  if (_response.ok) {
@@ -287,15 +285,15 @@ class Entities {
287
285
  }
288
286
  __removeEntityOverride(entityId, fieldPath, requestOptions) {
289
287
  return __awaiter(this, void 0, void 0, function* () {
290
- var _a, _b, _c;
291
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
288
+ var _a, _b, _c, _d, _e, _f, _g, _h;
289
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
292
290
  const _response = yield core.fetcher({
293
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LatticeEnvironment.Default, `api/v1/entities/${encodeURIComponent(entityId)}/override/${encodeURIComponent(fieldPath)}`),
291
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LatticeEnvironment.Default, `api/v1/entities/${core.url.encodePathParam(entityId)}/override/${core.url.encodePathParam(fieldPath)}`),
294
292
  method: "DELETE",
295
293
  headers: _headers,
296
294
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
297
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
298
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
295
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
296
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
299
297
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
300
298
  });
301
299
  if (_response.ok) {
@@ -364,8 +362,8 @@ class Entities {
364
362
  }
365
363
  __longPollEntityEvents(request, requestOptions) {
366
364
  return __awaiter(this, void 0, void 0, function* () {
367
- var _a, _b, _c;
368
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
365
+ var _a, _b, _c, _d, _e, _f, _g, _h;
366
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
369
367
  const _response = yield core.fetcher({
370
368
  url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LatticeEnvironment.Default, "api/v1/entities/events"),
371
369
  method: "POST",
@@ -374,8 +372,8 @@ class Entities {
374
372
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
375
373
  requestType: "json",
376
374
  body: request,
377
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
378
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
375
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
376
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
379
377
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
380
378
  });
381
379
  if (_response.ok) {
@@ -426,8 +424,8 @@ class Entities {
426
424
  }
427
425
  __streamEntities() {
428
426
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
429
- var _a, _b, _c;
430
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
427
+ var _a, _b, _c, _d, _e, _f, _g, _h;
428
+ const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
431
429
  const _response = yield core.fetcher({
432
430
  url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LatticeEnvironment.Default, "api/v1/entities/stream"),
433
431
  method: "POST",
@@ -437,8 +435,8 @@ class Entities {
437
435
  requestType: "json",
438
436
  body: request,
439
437
  responseType: "sse",
440
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
441
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
438
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
439
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
442
440
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
443
441
  });
444
442
  if (_response.ok) {
@@ -1,2 +1 @@
1
- export {};
2
1
  export * from "./requests/index.js";