@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
@@ -0,0 +1,267 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
+ return new (P || (P = Promise))(function (resolve, reject) {
41
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
45
+ });
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.Timeseries = void 0;
49
+ const environments = __importStar(require("../../../../../../../../environments.js"));
50
+ const core = __importStar(require("../../../../../../../../core/index.js"));
51
+ const Chrt = __importStar(require("../../../../../../../index.js"));
52
+ const headers_js_1 = require("../../../../../../../../core/headers.js");
53
+ const errors = __importStar(require("../../../../../../../../errors/index.js"));
54
+ class Timeseries {
55
+ constructor(_options = {}) {
56
+ this._options = _options;
57
+ }
58
+ /**
59
+ * Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
60
+ *
61
+ * @param {Chrt.trackingIntegrations.tive.TimeseriesLastSeenV1Request} request
62
+ * @param {Timeseries.RequestOptions} requestOptions - Request-specific configuration.
63
+ *
64
+ * @throws {@link Chrt.UnprocessableEntityError}
65
+ *
66
+ * @example
67
+ * await client.trackingIntegrations.tive.timeseries.lastSeenV1({
68
+ * tive_shipment_id: "tive_shipment_id"
69
+ * })
70
+ */
71
+ lastSeenV1(request, requestOptions) {
72
+ return core.HttpResponsePromise.fromPromise(this.__lastSeenV1(request, requestOptions));
73
+ }
74
+ __lastSeenV1(request, requestOptions) {
75
+ return __awaiter(this, void 0, void 0, function* () {
76
+ var _a, _b, _c, _d;
77
+ const { tive_shipment_id: tiveShipmentId } = request;
78
+ const _queryParams = {};
79
+ _queryParams["tive_shipment_id"] = tiveShipmentId;
80
+ 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);
81
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
82
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "tracking_integrations/tive/timeseries/last_seen/v1"),
83
+ method: "GET",
84
+ headers: _headers,
85
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
86
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
87
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
88
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
89
+ });
90
+ if (_response.ok) {
91
+ return {
92
+ data: _response.body,
93
+ rawResponse: _response.rawResponse,
94
+ };
95
+ }
96
+ if (_response.error.reason === "status-code") {
97
+ switch (_response.error.statusCode) {
98
+ case 422:
99
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
100
+ default:
101
+ throw new errors.ChrtError({
102
+ statusCode: _response.error.statusCode,
103
+ body: _response.error.body,
104
+ rawResponse: _response.rawResponse,
105
+ });
106
+ }
107
+ }
108
+ switch (_response.error.reason) {
109
+ case "non-json":
110
+ throw new errors.ChrtError({
111
+ statusCode: _response.error.statusCode,
112
+ body: _response.error.rawBody,
113
+ rawResponse: _response.rawResponse,
114
+ });
115
+ case "timeout":
116
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking_integrations/tive/timeseries/last_seen/v1.");
117
+ case "unknown":
118
+ throw new errors.ChrtError({
119
+ message: _response.error.errorMessage,
120
+ rawResponse: _response.rawResponse,
121
+ });
122
+ }
123
+ });
124
+ }
125
+ /**
126
+ * Returns raw Tive data points for a shipment within the given time range. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveTimeseriesRes)
127
+ *
128
+ * @param {Chrt.trackingIntegrations.tive.TimeseriesDataPointsV1Request} request
129
+ * @param {Timeseries.RequestOptions} requestOptions - Request-specific configuration.
130
+ *
131
+ * @throws {@link Chrt.UnprocessableEntityError}
132
+ *
133
+ * @example
134
+ * await client.trackingIntegrations.tive.timeseries.dataPointsV1({
135
+ * tive_shipment_id: "tive_shipment_id",
136
+ * start_timestamp: "2024-01-15T09:30:00Z",
137
+ * end_timestamp: "2024-01-15T09:30:00Z"
138
+ * })
139
+ */
140
+ dataPointsV1(request, requestOptions) {
141
+ return core.HttpResponsePromise.fromPromise(this.__dataPointsV1(request, requestOptions));
142
+ }
143
+ __dataPointsV1(request, requestOptions) {
144
+ return __awaiter(this, void 0, void 0, function* () {
145
+ var _a, _b, _c, _d;
146
+ const { tive_shipment_id: tiveShipmentId, start_timestamp: startTimestamp, end_timestamp: endTimestamp, } = request;
147
+ const _queryParams = {};
148
+ _queryParams["tive_shipment_id"] = tiveShipmentId;
149
+ _queryParams["start_timestamp"] = startTimestamp;
150
+ _queryParams["end_timestamp"] = endTimestamp;
151
+ 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);
152
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
153
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "tracking_integrations/tive/timeseries/data_points/v1"),
154
+ method: "GET",
155
+ headers: _headers,
156
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
157
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
158
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
159
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
160
+ });
161
+ if (_response.ok) {
162
+ return { data: _response.body, rawResponse: _response.rawResponse };
163
+ }
164
+ if (_response.error.reason === "status-code") {
165
+ switch (_response.error.statusCode) {
166
+ case 422:
167
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
168
+ default:
169
+ throw new errors.ChrtError({
170
+ statusCode: _response.error.statusCode,
171
+ body: _response.error.body,
172
+ rawResponse: _response.rawResponse,
173
+ });
174
+ }
175
+ }
176
+ switch (_response.error.reason) {
177
+ case "non-json":
178
+ throw new errors.ChrtError({
179
+ statusCode: _response.error.statusCode,
180
+ body: _response.error.rawBody,
181
+ rawResponse: _response.rawResponse,
182
+ });
183
+ case "timeout":
184
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking_integrations/tive/timeseries/data_points/v1.");
185
+ case "unknown":
186
+ throw new errors.ChrtError({
187
+ message: _response.error.errorMessage,
188
+ rawResponse: _response.rawResponse,
189
+ });
190
+ }
191
+ });
192
+ }
193
+ /**
194
+ * Fetches new Tive tracker data points from the Tive API for a shipment and stores them in our timeseries collection. Uses a high-water-mark strategy with overlap dedup to prevent duplicate inserts. | authz: min_org_role=operator | () -> (TiveTimeseriesSyncRes)
195
+ *
196
+ * @param {Chrt.trackingIntegrations.tive.TimeseriesSyncV1Request} request
197
+ * @param {Timeseries.RequestOptions} requestOptions - Request-specific configuration.
198
+ *
199
+ * @throws {@link Chrt.UnprocessableEntityError}
200
+ *
201
+ * @example
202
+ * await client.trackingIntegrations.tive.timeseries.syncV1({
203
+ * tive_shipment_id: "tive_shipment_id"
204
+ * })
205
+ */
206
+ syncV1(request, requestOptions) {
207
+ return core.HttpResponsePromise.fromPromise(this.__syncV1(request, requestOptions));
208
+ }
209
+ __syncV1(request, requestOptions) {
210
+ return __awaiter(this, void 0, void 0, function* () {
211
+ var _a, _b, _c, _d;
212
+ const { tive_shipment_id: tiveShipmentId } = request;
213
+ const _queryParams = {};
214
+ _queryParams["tive_shipment_id"] = tiveShipmentId;
215
+ 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);
216
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
217
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "tracking_integrations/tive/timeseries/sync/v1"),
218
+ method: "POST",
219
+ headers: _headers,
220
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
221
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
222
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
223
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
224
+ });
225
+ if (_response.ok) {
226
+ return { data: _response.body, rawResponse: _response.rawResponse };
227
+ }
228
+ if (_response.error.reason === "status-code") {
229
+ switch (_response.error.statusCode) {
230
+ case 422:
231
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
232
+ default:
233
+ throw new errors.ChrtError({
234
+ statusCode: _response.error.statusCode,
235
+ body: _response.error.body,
236
+ rawResponse: _response.rawResponse,
237
+ });
238
+ }
239
+ }
240
+ switch (_response.error.reason) {
241
+ case "non-json":
242
+ throw new errors.ChrtError({
243
+ statusCode: _response.error.statusCode,
244
+ body: _response.error.rawBody,
245
+ rawResponse: _response.rawResponse,
246
+ });
247
+ case "timeout":
248
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /tracking_integrations/tive/timeseries/sync/v1.");
249
+ case "unknown":
250
+ throw new errors.ChrtError({
251
+ message: _response.error.errorMessage,
252
+ rawResponse: _response.rawResponse,
253
+ });
254
+ }
255
+ });
256
+ }
257
+ _getAuthorizationHeader() {
258
+ return __awaiter(this, void 0, void 0, function* () {
259
+ const bearer = yield core.Supplier.get(this._options.token);
260
+ if (bearer != null) {
261
+ return `Bearer ${bearer}`;
262
+ }
263
+ return undefined;
264
+ });
265
+ }
266
+ }
267
+ exports.Timeseries = Timeseries;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * tive_shipment_id: "tive_shipment_id",
8
+ * start_timestamp: "2024-01-15T09:30:00Z",
9
+ * end_timestamp: "2024-01-15T09:30:00Z"
10
+ * }
11
+ */
12
+ export interface TimeseriesDataPointsV1Request {
13
+ tive_shipment_id: string;
14
+ start_timestamp: string;
15
+ end_timestamp: string;
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * tive_shipment_id: "tive_shipment_id"
8
+ * }
9
+ */
10
+ export interface TimeseriesLastSeenV1Request {
11
+ tive_shipment_id: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * tive_shipment_id: "tive_shipment_id"
8
+ * }
9
+ */
10
+ export interface TimeseriesSyncV1Request {
11
+ tive_shipment_id: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export { type TimeseriesLastSeenV1Request } from "./TimeseriesLastSeenV1Request.js";
2
+ export { type TimeseriesDataPointsV1Request } from "./TimeseriesDataPointsV1Request.js";
3
+ export { type TimeseriesSyncV1Request } from "./TimeseriesSyncV1Request.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type OrderTypeaheadFieldEnum = "off_chrt_reference_id" | "short_id";
5
+ export declare const OrderTypeaheadFieldEnum: {
6
+ readonly OffChrtReferenceId: "off_chrt_reference_id";
7
+ readonly ShortId: "short_id";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.OrderTypeaheadFieldEnum = void 0;
7
+ exports.OrderTypeaheadFieldEnum = {
8
+ OffChrtReferenceId: "off_chrt_reference_id",
9
+ ShortId: "short_id",
10
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface OrderTypeaheadResult {
6
+ type: Chrt.OrderTypeaheadFieldEnum;
7
+ values: string[];
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface TiveDataPoint1 {
6
+ schema_version: number;
7
+ timestamp: string;
8
+ metadata: Chrt.TiveDataPointMetadata1;
9
+ location: Chrt.LocationFeature;
10
+ temperature_f?: number | null;
11
+ humidity?: number | null;
12
+ acceleration_g?: number | null;
13
+ acceleration_x?: number | null;
14
+ acceleration_y?: number | null;
15
+ acceleration_z?: number | null;
16
+ light?: number | null;
17
+ motion?: number | null;
18
+ battery?: number | null;
19
+ location_method?: string | null;
20
+ process_time?: string | null;
21
+ _id: string;
22
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TiveDataPointMetadata1 {
5
+ tive_shipment_id: string;
6
+ tive_device_id: string;
7
+ pytest?: boolean | null;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TiveDevice1 {
5
+ schema_version: number;
6
+ _id: string;
7
+ /** Must be a string starting with `org_` */
8
+ org_id: string;
9
+ tive_account_id: number;
10
+ tive_account_name: string;
11
+ tive_device_id: string;
12
+ tive_device_name: string;
13
+ tive_current_shipment_id?: string | null;
14
+ tive_current_public_shipment_id?: string | null;
15
+ chrt_created_at_timestamp: string;
16
+ chrt_updated_at_timestamp: string;
17
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface TiveDeviceListRes {
6
+ items: Chrt.TiveDevice1[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type TiveDeviceSortByEnum = "chrt_created_at_timestamp" | "chrt_updated_at_timestamp";
5
+ export declare const TiveDeviceSortByEnum: {
6
+ readonly ChrtCreatedAtTimestamp: "chrt_created_at_timestamp";
7
+ readonly ChrtUpdatedAtTimestamp: "chrt_updated_at_timestamp";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TiveDeviceSortByEnum = void 0;
7
+ exports.TiveDeviceSortByEnum = {
8
+ ChrtCreatedAtTimestamp: "chrt_created_at_timestamp",
9
+ ChrtUpdatedAtTimestamp: "chrt_updated_at_timestamp",
10
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TiveShipment1 {
5
+ schema_version: number;
6
+ _id: string;
7
+ /** Must be a string starting with `org_` */
8
+ org_id: string;
9
+ tive_device_object_id: string;
10
+ tive_shipment_id: string;
11
+ tive_public_shipment_id?: string | null;
12
+ tive_shipment_status?: Record<string, unknown>;
13
+ chrt_created_at_timestamp: string;
14
+ chrt_updated_at_timestamp: string;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface TiveShipmentListRes {
6
+ items: Chrt.TiveShipment1[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type TiveShipmentSortByEnum = "chrt_created_at_timestamp" | "chrt_updated_at_timestamp";
5
+ export declare const TiveShipmentSortByEnum: {
6
+ readonly ChrtCreatedAtTimestamp: "chrt_created_at_timestamp";
7
+ readonly ChrtUpdatedAtTimestamp: "chrt_updated_at_timestamp";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TiveShipmentSortByEnum = void 0;
7
+ exports.TiveShipmentSortByEnum = {
8
+ ChrtCreatedAtTimestamp: "chrt_created_at_timestamp",
9
+ ChrtUpdatedAtTimestamp: "chrt_updated_at_timestamp",
10
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface TiveTimeseriesRes {
6
+ data_points: Chrt.TiveDataPoint1[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TiveTimeseriesSyncRes {
5
+ total_fetched_from_tive: number;
6
+ skipped_no_location: number;
7
+ duplicates_filtered: number;
8
+ new_data_points_count: number;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });