@chrt-inc/typescript-sdk 1.594.0 → 1.601.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 (192) hide show
  1. package/dist/cjs/Client.d.ts +3 -0
  2. package/dist/cjs/Client.js +9 -4
  3. package/dist/cjs/api/resources/index.d.ts +1 -0
  4. package/dist/cjs/api/resources/index.js +2 -1
  5. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +18 -1
  6. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +74 -2
  7. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.ts +3 -0
  8. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.ts +16 -0
  9. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedTypeaheadV1Request.js +5 -0
  10. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/index.d.ts +1 -0
  11. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +2 -2
  12. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +1 -1
  13. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.ts +1 -1
  14. package/dist/cjs/api/resources/trackingIntegrations/client/Client.d.ts +23 -0
  15. package/dist/cjs/api/resources/trackingIntegrations/client/Client.js +17 -0
  16. package/dist/cjs/api/resources/trackingIntegrations/client/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/trackingIntegrations/client/index.js +2 -0
  18. package/dist/cjs/api/resources/trackingIntegrations/index.d.ts +2 -0
  19. package/dist/cjs/api/resources/trackingIntegrations/index.js +18 -0
  20. package/dist/cjs/api/resources/trackingIntegrations/resources/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/trackingIntegrations/resources/index.js +37 -0
  22. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/client/Client.d.ts +29 -0
  23. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/client/Client.js +27 -0
  24. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/client/index.d.ts +1 -0
  25. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/client/index.js +2 -0
  26. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/index.d.ts +2 -0
  27. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/index.js +18 -0
  28. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.d.ts +71 -0
  29. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.js +226 -0
  30. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/index.d.ts +2 -0
  31. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/index.js +17 -0
  32. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/DevicesGetV1Request.d.ts +12 -0
  33. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/DevicesGetV1Request.js +5 -0
  34. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/DevicesListV1Request.d.ts +33 -0
  35. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/DevicesListV1Request.js +5 -0
  36. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/index.d.ts +2 -0
  37. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/index.js +2 -0
  38. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/index.d.ts +1 -0
  39. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/index.js +17 -0
  40. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/index.d.ts +6 -0
  41. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/index.js +45 -0
  42. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.d.ts +71 -0
  43. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.js +226 -0
  44. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/index.d.ts +2 -0
  45. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/index.js +17 -0
  46. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/ShipmentsGetV1Request.d.ts +12 -0
  47. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/ShipmentsGetV1Request.js +5 -0
  48. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/ShipmentsListV1Request.d.ts +33 -0
  49. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/ShipmentsListV1Request.js +5 -0
  50. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/index.d.ts +2 -0
  51. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/index.js +2 -0
  52. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/index.d.ts +1 -0
  53. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/index.js +17 -0
  54. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.d.ts +81 -0
  55. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.js +267 -0
  56. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/index.d.ts +2 -0
  57. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/index.js +17 -0
  58. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.d.ts +16 -0
  59. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.js +5 -0
  60. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/TimeseriesLastSeenV1Request.d.ts +12 -0
  61. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/TimeseriesLastSeenV1Request.js +5 -0
  62. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/TimeseriesSyncV1Request.d.ts +12 -0
  63. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/TimeseriesSyncV1Request.js +5 -0
  64. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/index.d.ts +3 -0
  65. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/index.js +2 -0
  66. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/index.d.ts +1 -0
  67. package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/index.js +17 -0
  68. package/dist/cjs/api/types/OrderTypeaheadFieldEnum.d.ts +8 -0
  69. package/dist/cjs/api/types/OrderTypeaheadFieldEnum.js +10 -0
  70. package/dist/cjs/api/types/OrderTypeaheadResult.d.ts +8 -0
  71. package/dist/cjs/api/types/OrderTypeaheadResult.js +5 -0
  72. package/dist/cjs/api/types/TiveDataPoint1.d.ts +22 -0
  73. package/dist/cjs/api/types/TiveDataPoint1.js +5 -0
  74. package/dist/cjs/api/types/TiveDataPointMetadata1.d.ts +8 -0
  75. package/dist/cjs/api/types/TiveDataPointMetadata1.js +5 -0
  76. package/dist/cjs/api/types/TiveDevice1.d.ts +17 -0
  77. package/dist/cjs/api/types/TiveDevice1.js +5 -0
  78. package/dist/cjs/api/types/TiveDeviceListRes.d.ts +8 -0
  79. package/dist/cjs/api/types/TiveDeviceListRes.js +5 -0
  80. package/dist/cjs/api/types/TiveDeviceSortByEnum.d.ts +8 -0
  81. package/dist/cjs/api/types/TiveDeviceSortByEnum.js +10 -0
  82. package/dist/cjs/api/types/TiveShipment1.d.ts +15 -0
  83. package/dist/cjs/api/types/TiveShipment1.js +5 -0
  84. package/dist/cjs/api/types/TiveShipmentListRes.d.ts +8 -0
  85. package/dist/cjs/api/types/TiveShipmentListRes.js +5 -0
  86. package/dist/cjs/api/types/TiveShipmentSortByEnum.d.ts +8 -0
  87. package/dist/cjs/api/types/TiveShipmentSortByEnum.js +10 -0
  88. package/dist/cjs/api/types/TiveTimeseriesRes.d.ts +7 -0
  89. package/dist/cjs/api/types/TiveTimeseriesRes.js +5 -0
  90. package/dist/cjs/api/types/TiveTimeseriesSyncRes.d.ts +9 -0
  91. package/dist/cjs/api/types/TiveTimeseriesSyncRes.js +5 -0
  92. package/dist/cjs/api/types/index.d.ts +12 -0
  93. package/dist/cjs/api/types/index.js +12 -0
  94. package/dist/cjs/version.d.ts +1 -1
  95. package/dist/cjs/version.js +1 -1
  96. package/dist/esm/Client.d.mts +3 -0
  97. package/dist/esm/Client.mjs +7 -2
  98. package/dist/esm/api/resources/index.d.mts +1 -0
  99. package/dist/esm/api/resources/index.mjs +1 -0
  100. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +18 -1
  101. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +74 -2
  102. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.mts +3 -0
  103. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.mts +16 -0
  104. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedTypeaheadV1Request.mjs +4 -0
  105. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/index.d.mts +1 -0
  106. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +2 -2
  107. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +1 -1
  108. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.mts +1 -1
  109. package/dist/esm/api/resources/trackingIntegrations/client/Client.d.mts +23 -0
  110. package/dist/esm/api/resources/trackingIntegrations/client/Client.mjs +13 -0
  111. package/dist/esm/api/resources/trackingIntegrations/client/index.d.mts +1 -0
  112. package/dist/esm/api/resources/trackingIntegrations/client/index.mjs +1 -0
  113. package/dist/esm/api/resources/trackingIntegrations/index.d.mts +2 -0
  114. package/dist/esm/api/resources/trackingIntegrations/index.mjs +2 -0
  115. package/dist/esm/api/resources/trackingIntegrations/resources/index.d.mts +1 -0
  116. package/dist/esm/api/resources/trackingIntegrations/resources/index.mjs +1 -0
  117. package/dist/esm/api/resources/trackingIntegrations/resources/tive/client/Client.d.mts +29 -0
  118. package/dist/esm/api/resources/trackingIntegrations/resources/tive/client/Client.mjs +23 -0
  119. package/dist/esm/api/resources/trackingIntegrations/resources/tive/client/index.d.mts +1 -0
  120. package/dist/esm/api/resources/trackingIntegrations/resources/tive/client/index.mjs +1 -0
  121. package/dist/esm/api/resources/trackingIntegrations/resources/tive/index.d.mts +2 -0
  122. package/dist/esm/api/resources/trackingIntegrations/resources/tive/index.mjs +2 -0
  123. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.d.mts +71 -0
  124. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.mjs +189 -0
  125. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/index.d.mts +2 -0
  126. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/index.mjs +1 -0
  127. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/DevicesGetV1Request.d.mts +12 -0
  128. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/DevicesGetV1Request.mjs +4 -0
  129. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/DevicesListV1Request.d.mts +33 -0
  130. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/DevicesListV1Request.mjs +4 -0
  131. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/index.d.mts +2 -0
  132. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/index.mjs +1 -0
  133. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/index.d.mts +1 -0
  134. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/index.mjs +1 -0
  135. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/index.d.mts +6 -0
  136. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/index.mjs +6 -0
  137. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.d.mts +71 -0
  138. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.mjs +189 -0
  139. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/index.d.mts +2 -0
  140. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/index.mjs +1 -0
  141. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/ShipmentsGetV1Request.d.mts +12 -0
  142. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/ShipmentsGetV1Request.mjs +4 -0
  143. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/ShipmentsListV1Request.d.mts +33 -0
  144. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/ShipmentsListV1Request.mjs +4 -0
  145. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/index.d.mts +2 -0
  146. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/index.mjs +1 -0
  147. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/index.d.mts +1 -0
  148. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/index.mjs +1 -0
  149. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.d.mts +81 -0
  150. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.mjs +230 -0
  151. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/index.d.mts +2 -0
  152. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/index.mjs +1 -0
  153. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.d.mts +16 -0
  154. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.mjs +4 -0
  155. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/TimeseriesLastSeenV1Request.d.mts +12 -0
  156. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/TimeseriesLastSeenV1Request.mjs +4 -0
  157. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/TimeseriesSyncV1Request.d.mts +12 -0
  158. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/TimeseriesSyncV1Request.mjs +4 -0
  159. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/index.d.mts +3 -0
  160. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/index.mjs +1 -0
  161. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/index.d.mts +1 -0
  162. package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/index.mjs +1 -0
  163. package/dist/esm/api/types/OrderTypeaheadFieldEnum.d.mts +8 -0
  164. package/dist/esm/api/types/OrderTypeaheadFieldEnum.mjs +7 -0
  165. package/dist/esm/api/types/OrderTypeaheadResult.d.mts +8 -0
  166. package/dist/esm/api/types/OrderTypeaheadResult.mjs +4 -0
  167. package/dist/esm/api/types/TiveDataPoint1.d.mts +22 -0
  168. package/dist/esm/api/types/TiveDataPoint1.mjs +4 -0
  169. package/dist/esm/api/types/TiveDataPointMetadata1.d.mts +8 -0
  170. package/dist/esm/api/types/TiveDataPointMetadata1.mjs +4 -0
  171. package/dist/esm/api/types/TiveDevice1.d.mts +17 -0
  172. package/dist/esm/api/types/TiveDevice1.mjs +4 -0
  173. package/dist/esm/api/types/TiveDeviceListRes.d.mts +8 -0
  174. package/dist/esm/api/types/TiveDeviceListRes.mjs +4 -0
  175. package/dist/esm/api/types/TiveDeviceSortByEnum.d.mts +8 -0
  176. package/dist/esm/api/types/TiveDeviceSortByEnum.mjs +7 -0
  177. package/dist/esm/api/types/TiveShipment1.d.mts +15 -0
  178. package/dist/esm/api/types/TiveShipment1.mjs +4 -0
  179. package/dist/esm/api/types/TiveShipmentListRes.d.mts +8 -0
  180. package/dist/esm/api/types/TiveShipmentListRes.mjs +4 -0
  181. package/dist/esm/api/types/TiveShipmentSortByEnum.d.mts +8 -0
  182. package/dist/esm/api/types/TiveShipmentSortByEnum.mjs +7 -0
  183. package/dist/esm/api/types/TiveTimeseriesRes.d.mts +7 -0
  184. package/dist/esm/api/types/TiveTimeseriesRes.mjs +4 -0
  185. package/dist/esm/api/types/TiveTimeseriesSyncRes.d.mts +9 -0
  186. package/dist/esm/api/types/TiveTimeseriesSyncRes.mjs +4 -0
  187. package/dist/esm/api/types/index.d.mts +12 -0
  188. package/dist/esm/api/types/index.mjs +12 -0
  189. package/dist/esm/version.d.mts +1 -1
  190. package/dist/esm/version.mjs +1 -1
  191. package/package.json +1 -1
  192. package/reference.md +547 -3
@@ -149,6 +149,8 @@ export * from "./OrderDraftValidationResult.js";
149
149
  export * from "./OrderExpanded.js";
150
150
  export * from "./OrderSortByEnum.js";
151
151
  export * from "./OrderStatusEnum1.js";
152
+ export * from "./OrderTypeaheadFieldEnum.js";
153
+ export * from "./OrderTypeaheadResult.js";
152
154
  export * from "./OrdersDraftUpdateRes.js";
153
155
  export * from "./OrdersExpandedListRes.js";
154
156
  export * from "./OrdersNewDraftRes.js";
@@ -248,6 +250,16 @@ export * from "./TimeGranularity.js";
248
250
  export * from "./TimeWindow1.js";
249
251
  export * from "./TimezoneEnum.js";
250
252
  export * from "./TimezoneResponse.js";
253
+ export * from "./TiveDataPoint1.js";
254
+ export * from "./TiveDataPointMetadata1.js";
255
+ export * from "./TiveDevice1.js";
256
+ export * from "./TiveDeviceListRes.js";
257
+ export * from "./TiveDeviceSortByEnum.js";
258
+ export * from "./TiveShipment1.js";
259
+ export * from "./TiveShipmentListRes.js";
260
+ export * from "./TiveShipmentSortByEnum.js";
261
+ export * from "./TiveTimeseriesRes.js";
262
+ export * from "./TiveTimeseriesSyncRes.js";
251
263
  export * from "./TrackingDeviceTypeEnum1.js";
252
264
  export * from "./TrackingOrgScopeEnum.js";
253
265
  export * from "./TrackingSharingSettingsRes.js";
@@ -165,6 +165,8 @@ __exportStar(require("./OrderDraftValidationResult.js"), exports);
165
165
  __exportStar(require("./OrderExpanded.js"), exports);
166
166
  __exportStar(require("./OrderSortByEnum.js"), exports);
167
167
  __exportStar(require("./OrderStatusEnum1.js"), exports);
168
+ __exportStar(require("./OrderTypeaheadFieldEnum.js"), exports);
169
+ __exportStar(require("./OrderTypeaheadResult.js"), exports);
168
170
  __exportStar(require("./OrdersDraftUpdateRes.js"), exports);
169
171
  __exportStar(require("./OrdersExpandedListRes.js"), exports);
170
172
  __exportStar(require("./OrdersNewDraftRes.js"), exports);
@@ -264,6 +266,16 @@ __exportStar(require("./TimeGranularity.js"), exports);
264
266
  __exportStar(require("./TimeWindow1.js"), exports);
265
267
  __exportStar(require("./TimezoneEnum.js"), exports);
266
268
  __exportStar(require("./TimezoneResponse.js"), exports);
269
+ __exportStar(require("./TiveDataPoint1.js"), exports);
270
+ __exportStar(require("./TiveDataPointMetadata1.js"), exports);
271
+ __exportStar(require("./TiveDevice1.js"), exports);
272
+ __exportStar(require("./TiveDeviceListRes.js"), exports);
273
+ __exportStar(require("./TiveDeviceSortByEnum.js"), exports);
274
+ __exportStar(require("./TiveShipment1.js"), exports);
275
+ __exportStar(require("./TiveShipmentListRes.js"), exports);
276
+ __exportStar(require("./TiveShipmentSortByEnum.js"), exports);
277
+ __exportStar(require("./TiveTimeseriesRes.js"), exports);
278
+ __exportStar(require("./TiveTimeseriesSyncRes.js"), exports);
267
279
  __exportStar(require("./TrackingDeviceTypeEnum1.js"), exports);
268
280
  __exportStar(require("./TrackingOrgScopeEnum.js"), exports);
269
281
  __exportStar(require("./TrackingSharingSettingsRes.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.594.0";
1
+ export declare const SDK_VERSION = "1.601.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.594.0";
4
+ exports.SDK_VERSION = "1.601.0";
@@ -11,6 +11,7 @@ import { Integrations } from "./api/resources/integrations/client/Client.mjs";
11
11
  import { Notifications } from "./api/resources/notifications/client/Client.mjs";
12
12
  import { Shipping } from "./api/resources/shipping/client/Client.mjs";
13
13
  import { Tracking } from "./api/resources/tracking/client/Client.mjs";
14
+ import { TrackingIntegrations } from "./api/resources/trackingIntegrations/client/Client.mjs";
14
15
  import { Users } from "./api/resources/users/client/Client.mjs";
15
16
  export declare namespace ChrtClient {
16
17
  interface Options {
@@ -45,6 +46,7 @@ export declare class ChrtClient {
45
46
  protected _notifications: Notifications | undefined;
46
47
  protected _shipping: Shipping | undefined;
47
48
  protected _tracking: Tracking | undefined;
49
+ protected _trackingIntegrations: TrackingIntegrations | undefined;
48
50
  protected _users: Users | undefined;
49
51
  constructor(_options?: ChrtClient.Options);
50
52
  get orgs(): Orgs;
@@ -55,5 +57,6 @@ export declare class ChrtClient {
55
57
  get notifications(): Notifications;
56
58
  get shipping(): Shipping;
57
59
  get tracking(): Tracking;
60
+ get trackingIntegrations(): TrackingIntegrations;
58
61
  get users(): Users;
59
62
  }
@@ -11,14 +11,15 @@ import { Integrations } from "./api/resources/integrations/client/Client.mjs";
11
11
  import { Notifications } from "./api/resources/notifications/client/Client.mjs";
12
12
  import { Shipping } from "./api/resources/shipping/client/Client.mjs";
13
13
  import { Tracking } from "./api/resources/tracking/client/Client.mjs";
14
+ import { TrackingIntegrations } from "./api/resources/trackingIntegrations/client/Client.mjs";
14
15
  import { Users } from "./api/resources/users/client/Client.mjs";
15
16
  export class ChrtClient {
16
17
  constructor(_options = {}) {
17
18
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
18
19
  "X-Fern-Language": "JavaScript",
19
20
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
20
- "X-Fern-SDK-Version": "1.594.0",
21
- "User-Agent": "@chrt-inc/typescript-sdk/1.594.0",
21
+ "X-Fern-SDK-Version": "1.601.0",
22
+ "User-Agent": "@chrt-inc/typescript-sdk/1.601.0",
22
23
  "X-Fern-Runtime": core.RUNTIME.type,
23
24
  "X-Fern-Runtime-Version": core.RUNTIME.version,
24
25
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -55,6 +56,10 @@ export class ChrtClient {
55
56
  var _a;
56
57
  return ((_a = this._tracking) !== null && _a !== void 0 ? _a : (this._tracking = new Tracking(this._options)));
57
58
  }
59
+ get trackingIntegrations() {
60
+ var _a;
61
+ return ((_a = this._trackingIntegrations) !== null && _a !== void 0 ? _a : (this._trackingIntegrations = new TrackingIntegrations(this._options)));
62
+ }
58
63
  get users() {
59
64
  var _a;
60
65
  return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Users(this._options)));
@@ -6,6 +6,7 @@ export * as integrations from "./integrations/index.mjs";
6
6
  export * as notifications from "./notifications/index.mjs";
7
7
  export * as shipping from "./shipping/index.mjs";
8
8
  export * as tracking from "./tracking/index.mjs";
9
+ export * as trackingIntegrations from "./trackingIntegrations/index.mjs";
9
10
  export * as users from "./users/index.mjs";
10
11
  export * from "./orgs/client/requests/index.mjs";
11
12
  export * from "./utils/client/requests/index.mjs";
@@ -6,6 +6,7 @@ export * as integrations from "./integrations/index.mjs";
6
6
  export * as notifications from "./notifications/index.mjs";
7
7
  export * as shipping from "./shipping/index.mjs";
8
8
  export * as tracking from "./tracking/index.mjs";
9
+ export * as trackingIntegrations from "./trackingIntegrations/index.mjs";
9
10
  export * as users from "./users/index.mjs";
10
11
  export * from "./orgs/client/requests/index.mjs";
11
12
  export * from "./utils/client/requests/index.mjs";
@@ -45,7 +45,7 @@ export declare class Expanded {
45
45
  retrieveV1(orderRef: string, request: Chrt.OrderAndTaskGroupExpandedReq, requestOptions?: Expanded.RequestOptions): core.HttpResponsePromise<Chrt.OrderDraftExpanded>;
46
46
  private __retrieveV1;
47
47
  /**
48
- * Lists expanded draft orders for the organization with filtering, sorting, and pagination. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpandedListRes)
48
+ * Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpandedListRes)
49
49
  *
50
50
  * @param {Chrt.shipping.orderDrafts.ExpandedListV1Request} request
51
51
  * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
@@ -58,6 +58,7 @@ export declare class Expanded {
58
58
  * sort_order: "asc",
59
59
  * page: 1,
60
60
  * page_size: 1,
61
+ * search: "search",
61
62
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
62
63
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
63
64
  * body: {}
@@ -65,5 +66,21 @@ export declare class Expanded {
65
66
  */
66
67
  listV1(request: Chrt.shipping.orderDrafts.ExpandedListV1Request, requestOptions?: Expanded.RequestOptions): core.HttpResponsePromise<Chrt.OrderDraftExpandedListRes>;
67
68
  private __listV1;
69
+ /**
70
+ * Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex. Searches draft orders created by the caller's org. | authz: min_org_role=operator | () -> (list[OrderTypeaheadResult])
71
+ *
72
+ * @param {Chrt.shipping.orderDrafts.ExpandedTypeaheadV1Request} request
73
+ * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
74
+ *
75
+ * @throws {@link Chrt.UnprocessableEntityError}
76
+ *
77
+ * @example
78
+ * await client.shipping.orderDrafts.expanded.typeaheadV1({
79
+ * query: "query",
80
+ * limit: 1
81
+ * })
82
+ */
83
+ typeaheadV1(request: Chrt.shipping.orderDrafts.ExpandedTypeaheadV1Request, requestOptions?: Expanded.RequestOptions): core.HttpResponsePromise<Chrt.OrderTypeaheadResult[]>;
84
+ private __typeaheadV1;
68
85
  protected _getAuthorizationHeader(): Promise<string | undefined>;
69
86
  }
@@ -83,7 +83,7 @@ export class Expanded {
83
83
  });
84
84
  }
85
85
  /**
86
- * Lists expanded draft orders for the organization with filtering, sorting, and pagination. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpandedListRes)
86
+ * Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpandedListRes)
87
87
  *
88
88
  * @param {Chrt.shipping.orderDrafts.ExpandedListV1Request} request
89
89
  * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
@@ -96,6 +96,7 @@ export class Expanded {
96
96
  * sort_order: "asc",
97
97
  * page: 1,
98
98
  * page_size: 1,
99
+ * search: "search",
99
100
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
100
101
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
101
102
  * body: {}
@@ -107,7 +108,7 @@ export class Expanded {
107
108
  __listV1(request, requestOptions) {
108
109
  return __awaiter(this, void 0, void 0, function* () {
109
110
  var _a, _b, _c, _d, _e, _f;
110
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, body: _body, } = request;
111
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, body: _body, } = request;
111
112
  const _queryParams = {};
112
113
  if (sortBy !== undefined) {
113
114
  _queryParams["sort_by"] = sortBy;
@@ -121,6 +122,9 @@ export class Expanded {
121
122
  if (pageSize !== undefined) {
122
123
  _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
123
124
  }
125
+ if (search !== undefined) {
126
+ _queryParams["search"] = search;
127
+ }
124
128
  if (filterDraftStartedAtTimestampLte !== undefined) {
125
129
  _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
126
130
  }
@@ -172,6 +176,74 @@ export class Expanded {
172
176
  }
173
177
  });
174
178
  }
179
+ /**
180
+ * Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex. Searches draft orders created by the caller's org. | authz: min_org_role=operator | () -> (list[OrderTypeaheadResult])
181
+ *
182
+ * @param {Chrt.shipping.orderDrafts.ExpandedTypeaheadV1Request} request
183
+ * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
184
+ *
185
+ * @throws {@link Chrt.UnprocessableEntityError}
186
+ *
187
+ * @example
188
+ * await client.shipping.orderDrafts.expanded.typeaheadV1({
189
+ * query: "query",
190
+ * limit: 1
191
+ * })
192
+ */
193
+ typeaheadV1(request, requestOptions) {
194
+ return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
195
+ }
196
+ __typeaheadV1(request, requestOptions) {
197
+ return __awaiter(this, void 0, void 0, function* () {
198
+ var _a, _b, _c, _d, _e;
199
+ const { query, limit } = request;
200
+ const _queryParams = {};
201
+ _queryParams["query"] = query;
202
+ if (limit !== undefined) {
203
+ _queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
204
+ }
205
+ let _headers = mergeHeaders((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
206
+ const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
207
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "shipping/order_drafts/expanded/typeahead/v1"),
208
+ method: "GET",
209
+ headers: _headers,
210
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
211
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
212
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
213
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
214
+ });
215
+ if (_response.ok) {
216
+ return { data: _response.body, rawResponse: _response.rawResponse };
217
+ }
218
+ if (_response.error.reason === "status-code") {
219
+ switch (_response.error.statusCode) {
220
+ case 422:
221
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
222
+ default:
223
+ throw new errors.ChrtError({
224
+ statusCode: _response.error.statusCode,
225
+ body: _response.error.body,
226
+ rawResponse: _response.rawResponse,
227
+ });
228
+ }
229
+ }
230
+ switch (_response.error.reason) {
231
+ case "non-json":
232
+ throw new errors.ChrtError({
233
+ statusCode: _response.error.statusCode,
234
+ body: _response.error.rawBody,
235
+ rawResponse: _response.rawResponse,
236
+ });
237
+ case "timeout":
238
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/order_drafts/expanded/typeahead/v1.");
239
+ case "unknown":
240
+ throw new errors.ChrtError({
241
+ message: _response.error.errorMessage,
242
+ rawResponse: _response.rawResponse,
243
+ });
244
+ }
245
+ });
246
+ }
175
247
  _getAuthorizationHeader() {
176
248
  return __awaiter(this, void 0, void 0, function* () {
177
249
  const bearer = yield core.Supplier.get(this._options.token);
@@ -9,6 +9,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
9
9
  * sort_order: "asc",
10
10
  * page: 1,
11
11
  * page_size: 1,
12
+ * search: "search",
12
13
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
13
14
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
14
15
  * body: {}
@@ -20,6 +21,8 @@ export interface ExpandedListV1Request {
20
21
  sort_order?: Chrt.SortOrderEnum | null;
21
22
  page?: number | null;
22
23
  page_size?: number | null;
24
+ /** Full-text search query (searches order short_id and off_chrt_reference_id) */
25
+ search?: string | null;
23
26
  filter_draft_started_at_timestamp_lte?: string | null;
24
27
  filter_draft_started_at_timestamp_gte?: string | null;
25
28
  body: Chrt.OrderAndTaskGroupExpandedReq;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * query: "query",
8
+ * limit: 1
9
+ * }
10
+ */
11
+ export interface ExpandedTypeaheadV1Request {
12
+ /** Typeahead search query */
13
+ query: string;
14
+ /** Max results per field */
15
+ limit?: number | null;
16
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -1 +1,2 @@
1
1
  export { type ExpandedListV1Request } from "./ExpandedListV1Request.mjs";
2
+ export { type ExpandedTypeaheadV1Request } from "./ExpandedTypeaheadV1Request.mjs";
@@ -125,7 +125,7 @@ export declare class Expanded {
125
125
  listForShipperOperatorsV1(request: Chrt.shipping.orders.ExpandedListForShipperOperatorsV1Request, requestOptions?: Expanded.RequestOptions): core.HttpResponsePromise<Chrt.OrdersExpandedListRes>;
126
126
  private __listForShipperOperatorsV1;
127
127
  /**
128
- * Returns distinct order short_id values matching the query via case-insensitive regex. Searches non-draft orders visible to the caller's org. | authz: allowed_org_types=[forwarder, shipper], min_org_role=operator | () -> (list[str])
128
+ * Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex. Searches non-draft orders visible to the caller's org. | authz: allowed_org_types=[forwarder, shipper], min_org_role=operator | () -> (list[OrderTypeaheadResult])
129
129
  *
130
130
  * @param {Chrt.shipping.orders.ExpandedTypeaheadV1Request} request
131
131
  * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
@@ -138,7 +138,7 @@ export declare class Expanded {
138
138
  * limit: 1
139
139
  * })
140
140
  */
141
- typeaheadV1(request: Chrt.shipping.orders.ExpandedTypeaheadV1Request, requestOptions?: Expanded.RequestOptions): core.HttpResponsePromise<string[]>;
141
+ typeaheadV1(request: Chrt.shipping.orders.ExpandedTypeaheadV1Request, requestOptions?: Expanded.RequestOptions): core.HttpResponsePromise<Chrt.OrderTypeaheadResult[]>;
142
142
  private __typeaheadV1;
143
143
  protected _getAuthorizationHeader(): Promise<string | undefined>;
144
144
  }
@@ -438,7 +438,7 @@ export class Expanded {
438
438
  });
439
439
  }
440
440
  /**
441
- * Returns distinct order short_id values matching the query via case-insensitive regex. Searches non-draft orders visible to the caller's org. | authz: allowed_org_types=[forwarder, shipper], min_org_role=operator | () -> (list[str])
441
+ * Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex. Searches non-draft orders visible to the caller's org. | authz: allowed_org_types=[forwarder, shipper], min_org_role=operator | () -> (list[OrderTypeaheadResult])
442
442
  *
443
443
  * @param {Chrt.shipping.orders.ExpandedTypeaheadV1Request} request
444
444
  * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
@@ -11,6 +11,6 @@
11
11
  export interface ExpandedTypeaheadV1Request {
12
12
  /** Typeahead search query */
13
13
  query: string;
14
- /** Max results */
14
+ /** Max results per field */
15
15
  limit?: number | null;
16
16
  }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../environments.mjs";
5
+ import * as core from "../../../../core/index.mjs";
6
+ import { Tive } from "../resources/tive/client/Client.mjs";
7
+ export declare namespace TrackingIntegrations {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.ChrtEnvironment | 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>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ }
18
+ export declare class TrackingIntegrations {
19
+ protected readonly _options: TrackingIntegrations.Options;
20
+ protected _tive: Tive | undefined;
21
+ constructor(_options?: TrackingIntegrations.Options);
22
+ get tive(): Tive;
23
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import { Tive } from "../resources/tive/client/Client.mjs";
5
+ export class TrackingIntegrations {
6
+ constructor(_options = {}) {
7
+ this._options = _options;
8
+ }
9
+ get tive() {
10
+ var _a;
11
+ return ((_a = this._tive) !== null && _a !== void 0 ? _a : (this._tive = new Tive(this._options)));
12
+ }
13
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1 @@
1
+ export * as tive from "./tive/index.mjs";
@@ -0,0 +1 @@
1
+ export * as tive from "./tive/index.mjs";
@@ -0,0 +1,29 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments.mjs";
5
+ import * as core from "../../../../../../core/index.mjs";
6
+ import { Devices } from "../resources/devices/client/Client.mjs";
7
+ import { Shipments } from "../resources/shipments/client/Client.mjs";
8
+ import { Timeseries } from "../resources/timeseries/client/Client.mjs";
9
+ export declare namespace Tive {
10
+ interface Options {
11
+ environment?: core.Supplier<environments.ChrtEnvironment | 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>;
17
+ fetcher?: core.FetchFunction;
18
+ }
19
+ }
20
+ export declare class Tive {
21
+ protected readonly _options: Tive.Options;
22
+ protected _devices: Devices | undefined;
23
+ protected _shipments: Shipments | undefined;
24
+ protected _timeseries: Timeseries | undefined;
25
+ constructor(_options?: Tive.Options);
26
+ get devices(): Devices;
27
+ get shipments(): Shipments;
28
+ get timeseries(): Timeseries;
29
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import { Devices } from "../resources/devices/client/Client.mjs";
5
+ import { Shipments } from "../resources/shipments/client/Client.mjs";
6
+ import { Timeseries } from "../resources/timeseries/client/Client.mjs";
7
+ export class Tive {
8
+ constructor(_options = {}) {
9
+ this._options = _options;
10
+ }
11
+ get devices() {
12
+ var _a;
13
+ return ((_a = this._devices) !== null && _a !== void 0 ? _a : (this._devices = new Devices(this._options)));
14
+ }
15
+ get shipments() {
16
+ var _a;
17
+ return ((_a = this._shipments) !== null && _a !== void 0 ? _a : (this._shipments = new Shipments(this._options)));
18
+ }
19
+ get timeseries() {
20
+ var _a;
21
+ return ((_a = this._timeseries) !== null && _a !== void 0 ? _a : (this._timeseries = new Timeseries(this._options)));
22
+ }
23
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,71 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../../../environments.mjs";
5
+ import * as core from "../../../../../../../../core/index.mjs";
6
+ import * as Chrt from "../../../../../../../index.mjs";
7
+ export declare namespace Devices {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.ChrtEnvironment | 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>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ interface RequestOptions {
18
+ /** The maximum time to wait for a response in seconds. */
19
+ timeoutInSeconds?: number;
20
+ /** The number of times to retry the request. Defaults to 2. */
21
+ maxRetries?: number;
22
+ /** A hook to abort the request. */
23
+ abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
26
+ /** Additional headers to include in the request. */
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
28
+ }
29
+ }
30
+ export declare class Devices {
31
+ protected readonly _options: Devices.Options;
32
+ constructor(_options?: Devices.Options);
33
+ /**
34
+ * Lists Tive devices with filtering, sorting, and pagination. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDeviceListRes)
35
+ *
36
+ * @param {Chrt.trackingIntegrations.tive.DevicesListV1Request} request
37
+ * @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.trackingIntegrations.tive.devices.listV1({
43
+ * sort_by: "chrt_created_at_timestamp",
44
+ * sort_order: "asc",
45
+ * page: 1,
46
+ * page_size: 1,
47
+ * filter_tive_account_id: 1,
48
+ * filter_tive_device_id: "filter_tive_device_id",
49
+ * filter_chrt_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
50
+ * filter_chrt_created_at_timestamp_lte: "2024-01-15T09:30:00Z"
51
+ * })
52
+ */
53
+ listV1(request?: Chrt.trackingIntegrations.tive.DevicesListV1Request, requestOptions?: Devices.RequestOptions): core.HttpResponsePromise<Chrt.TiveDeviceListRes>;
54
+ private __listV1;
55
+ /**
56
+ * Retrieves a single Tive device by its ID. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDevice1)
57
+ *
58
+ * @param {Chrt.trackingIntegrations.tive.DevicesGetV1Request} request
59
+ * @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
60
+ *
61
+ * @throws {@link Chrt.UnprocessableEntityError}
62
+ *
63
+ * @example
64
+ * await client.trackingIntegrations.tive.devices.getV1({
65
+ * tive_device_id: "tive_device_id"
66
+ * })
67
+ */
68
+ getV1(request: Chrt.trackingIntegrations.tive.DevicesGetV1Request, requestOptions?: Devices.RequestOptions): core.HttpResponsePromise<Chrt.TiveDevice1>;
69
+ private __getV1;
70
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
71
+ }