@chrt-inc/typescript-sdk 1.888.0 → 1.891.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 (148) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/trackingIntegrations/client/Client.d.ts +3 -0
  3. package/dist/cjs/api/resources/trackingIntegrations/client/Client.js +7 -2
  4. package/dist/cjs/api/resources/trackingIntegrations/resources/index.d.ts +1 -0
  5. package/dist/cjs/api/resources/trackingIntegrations/resources/index.js +2 -1
  6. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/Client.d.ts +29 -0
  7. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/Client.js +27 -0
  8. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/index.d.ts +1 -0
  9. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/index.js +2 -0
  10. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/index.d.ts +2 -0
  11. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/index.js +18 -0
  12. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.d.ts +93 -0
  13. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.js +328 -0
  14. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/index.d.ts +2 -0
  15. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/index.js +17 -0
  16. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/AssetsListV1Request.d.ts +21 -0
  17. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/AssetsListV1Request.js +5 -0
  18. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientUpdate1.d.ts +14 -0
  19. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientUpdate1.js +5 -0
  20. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.d.ts +2 -0
  21. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.js +2 -0
  22. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/index.d.ts +1 -0
  23. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/index.js +17 -0
  24. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/index.d.ts +6 -0
  25. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/index.js +45 -0
  26. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.d.ts +51 -0
  27. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.js +135 -0
  28. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/index.d.ts +2 -0
  29. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/index.js +17 -0
  30. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.d.ts +14 -0
  31. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.js +5 -0
  32. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.d.ts +1 -0
  33. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.js +2 -0
  34. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/index.d.ts +1 -0
  35. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/index.js +17 -0
  36. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.d.ts +62 -0
  37. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.js +197 -0
  38. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.d.ts +2 -0
  39. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.js +17 -0
  40. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.d.ts +21 -0
  41. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.js +5 -0
  42. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.d.ts +1 -0
  43. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.js +2 -0
  44. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.d.ts +1 -0
  45. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.js +17 -0
  46. package/dist/cjs/api/types/ReelablesAsset1.d.ts +22 -0
  47. package/dist/cjs/api/types/ReelablesAsset1.js +5 -0
  48. package/dist/cjs/api/types/ReelablesAssetListRes.d.ts +8 -0
  49. package/dist/cjs/api/types/ReelablesAssetListRes.js +5 -0
  50. package/dist/cjs/api/types/ReelablesAssetSortByEnum.d.ts +8 -0
  51. package/dist/cjs/api/types/ReelablesAssetSortByEnum.js +10 -0
  52. package/dist/cjs/api/types/ReelablesAssetSyncRes.d.ts +8 -0
  53. package/dist/cjs/api/types/ReelablesAssetSyncRes.js +5 -0
  54. package/dist/cjs/api/types/ReelablesDataPoint1.d.ts +12 -0
  55. package/dist/cjs/api/types/ReelablesDataPoint1.js +5 -0
  56. package/dist/cjs/api/types/ReelablesDataPointMetadata1.d.ts +6 -0
  57. package/dist/cjs/api/types/ReelablesDataPointMetadata1.js +5 -0
  58. package/dist/cjs/api/types/ReelablesLabel1.d.ts +9 -0
  59. package/dist/cjs/api/types/ReelablesLabel1.js +5 -0
  60. package/dist/cjs/api/types/ReelablesTimeseriesRes.d.ts +7 -0
  61. package/dist/cjs/api/types/ReelablesTimeseriesRes.js +5 -0
  62. package/dist/cjs/api/types/ReelablesWorkspace1.d.ts +13 -0
  63. package/dist/cjs/api/types/ReelablesWorkspace1.js +5 -0
  64. package/dist/cjs/api/types/ReelablesWorkspaceListRes.d.ts +8 -0
  65. package/dist/cjs/api/types/ReelablesWorkspaceListRes.js +5 -0
  66. package/dist/cjs/api/types/ReelablesWorkspaceSortByEnum.d.ts +4 -0
  67. package/dist/cjs/api/types/ReelablesWorkspaceSortByEnum.js +5 -0
  68. package/dist/cjs/api/types/ReelablesWorkspaceSyncRes.d.ts +9 -0
  69. package/dist/cjs/api/types/ReelablesWorkspaceSyncRes.js +5 -0
  70. package/dist/cjs/api/types/index.d.ts +12 -0
  71. package/dist/cjs/api/types/index.js +12 -0
  72. package/dist/cjs/version.d.ts +1 -1
  73. package/dist/cjs/version.js +1 -1
  74. package/dist/esm/Client.mjs +2 -2
  75. package/dist/esm/api/resources/trackingIntegrations/client/Client.d.mts +3 -0
  76. package/dist/esm/api/resources/trackingIntegrations/client/Client.mjs +5 -0
  77. package/dist/esm/api/resources/trackingIntegrations/resources/index.d.mts +1 -0
  78. package/dist/esm/api/resources/trackingIntegrations/resources/index.mjs +1 -0
  79. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/Client.d.mts +29 -0
  80. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/Client.mjs +23 -0
  81. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/index.d.mts +1 -0
  82. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/index.mjs +1 -0
  83. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/index.d.mts +2 -0
  84. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/index.mjs +2 -0
  85. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.d.mts +93 -0
  86. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.mjs +291 -0
  87. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/index.d.mts +2 -0
  88. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/index.mjs +1 -0
  89. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/AssetsListV1Request.d.mts +21 -0
  90. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/AssetsListV1Request.mjs +4 -0
  91. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientUpdate1.d.mts +14 -0
  92. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientUpdate1.mjs +4 -0
  93. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.d.mts +2 -0
  94. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.mjs +1 -0
  95. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/index.d.mts +1 -0
  96. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/index.mjs +1 -0
  97. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/index.d.mts +6 -0
  98. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/index.mjs +6 -0
  99. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.d.mts +51 -0
  100. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.mjs +98 -0
  101. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/index.d.mts +2 -0
  102. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/index.mjs +1 -0
  103. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.d.mts +14 -0
  104. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.mjs +4 -0
  105. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.d.mts +1 -0
  106. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.mjs +1 -0
  107. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/index.d.mts +1 -0
  108. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/index.mjs +1 -0
  109. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.d.mts +62 -0
  110. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.mjs +160 -0
  111. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.d.mts +2 -0
  112. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.mjs +1 -0
  113. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.d.mts +21 -0
  114. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.mjs +4 -0
  115. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.d.mts +1 -0
  116. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.mjs +1 -0
  117. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.d.mts +1 -0
  118. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.mjs +1 -0
  119. package/dist/esm/api/types/ReelablesAsset1.d.mts +22 -0
  120. package/dist/esm/api/types/ReelablesAsset1.mjs +4 -0
  121. package/dist/esm/api/types/ReelablesAssetListRes.d.mts +8 -0
  122. package/dist/esm/api/types/ReelablesAssetListRes.mjs +4 -0
  123. package/dist/esm/api/types/ReelablesAssetSortByEnum.d.mts +8 -0
  124. package/dist/esm/api/types/ReelablesAssetSortByEnum.mjs +7 -0
  125. package/dist/esm/api/types/ReelablesAssetSyncRes.d.mts +8 -0
  126. package/dist/esm/api/types/ReelablesAssetSyncRes.mjs +4 -0
  127. package/dist/esm/api/types/ReelablesDataPoint1.d.mts +12 -0
  128. package/dist/esm/api/types/ReelablesDataPoint1.mjs +4 -0
  129. package/dist/esm/api/types/ReelablesDataPointMetadata1.d.mts +6 -0
  130. package/dist/esm/api/types/ReelablesDataPointMetadata1.mjs +4 -0
  131. package/dist/esm/api/types/ReelablesLabel1.d.mts +9 -0
  132. package/dist/esm/api/types/ReelablesLabel1.mjs +4 -0
  133. package/dist/esm/api/types/ReelablesTimeseriesRes.d.mts +7 -0
  134. package/dist/esm/api/types/ReelablesTimeseriesRes.mjs +4 -0
  135. package/dist/esm/api/types/ReelablesWorkspace1.d.mts +13 -0
  136. package/dist/esm/api/types/ReelablesWorkspace1.mjs +4 -0
  137. package/dist/esm/api/types/ReelablesWorkspaceListRes.d.mts +8 -0
  138. package/dist/esm/api/types/ReelablesWorkspaceListRes.mjs +4 -0
  139. package/dist/esm/api/types/ReelablesWorkspaceSortByEnum.d.mts +4 -0
  140. package/dist/esm/api/types/ReelablesWorkspaceSortByEnum.mjs +4 -0
  141. package/dist/esm/api/types/ReelablesWorkspaceSyncRes.d.mts +9 -0
  142. package/dist/esm/api/types/ReelablesWorkspaceSyncRes.mjs +4 -0
  143. package/dist/esm/api/types/index.d.mts +12 -0
  144. package/dist/esm/api/types/index.mjs +12 -0
  145. package/dist/esm/version.d.mts +1 -1
  146. package/dist/esm/version.mjs +1 -1
  147. package/package.json +1 -1
  148. package/reference.md +476 -0
@@ -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 @@
1
+ export { type WorkspacesListV1Request } from "./WorkspacesListV1Request.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,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 ReelablesAsset1 {
6
+ _id: string;
7
+ asset_id: string;
8
+ created_at_timestamp?: string | null;
9
+ destination_geofence_location?: Chrt.LocationFeature | null;
10
+ destination_geofence_radius_miles?: number;
11
+ label?: Chrt.ReelablesLabel1 | null;
12
+ last_seen_at_location?: Chrt.LocationFeature | null;
13
+ last_seen_at_location_city?: string | null;
14
+ last_seen_at_location_large_city?: string | null;
15
+ last_seen_at_timestamp?: string | null;
16
+ name: string;
17
+ /** Must be a string starting with `org_` */
18
+ org_id: string;
19
+ schema_version: number;
20
+ synced_at_timestamp?: string | null;
21
+ workspace_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
+ import * as Chrt from "../index.js";
5
+ export interface ReelablesAssetListRes {
6
+ items: Chrt.ReelablesAsset1[];
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 ReelablesAssetSortByEnum = "asset_id" | "name";
5
+ export declare const ReelablesAssetSortByEnum: {
6
+ readonly AssetId: "asset_id";
7
+ readonly Name: "name";
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.ReelablesAssetSortByEnum = void 0;
7
+ exports.ReelablesAssetSortByEnum = {
8
+ AssetId: "asset_id",
9
+ Name: "name",
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 ReelablesAssetSyncRes {
6
+ synced_asset_count: number;
7
+ workspace: Chrt.ReelablesWorkspace1;
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,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface ReelablesDataPoint1 {
6
+ _id: string;
7
+ accuracy_meters?: number | null;
8
+ location: Chrt.LocationFeature;
9
+ metadata: Chrt.ReelablesDataPointMetadata1;
10
+ schema_version: number;
11
+ timestamp: 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,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ReelablesDataPointMetadata1 {
5
+ asset_id: string;
6
+ }
@@ -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 ReelablesLabel1 {
5
+ added_at_timestamp: string;
6
+ ble_id: number;
7
+ config__reporting_interval?: string | null;
8
+ nfc_id: string;
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 });
@@ -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 ReelablesTimeseriesRes {
6
+ data_points: Chrt.ReelablesDataPoint1[];
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,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ReelablesWorkspace1 {
5
+ _id: string;
6
+ assets_synced_at_timestamp?: string | null;
7
+ created_at_timestamp: string;
8
+ name: string;
9
+ /** Must be a string starting with `org_` */
10
+ org_id: string;
11
+ schema_version: number;
12
+ workspace_id: string;
13
+ }
@@ -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 ReelablesWorkspaceListRes {
6
+ items: Chrt.ReelablesWorkspace1[];
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,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ReelablesWorkspaceSortByEnum = "name";
@@ -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
+ import * as Chrt from "../index.js";
5
+ export interface ReelablesWorkspaceSyncRes {
6
+ created_count: number;
7
+ items: Chrt.ReelablesWorkspace1[];
8
+ updated_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 });
@@ -352,6 +352,18 @@ export * from "./Position3D.js";
352
352
  export * from "./ProFormaLineItem1.js";
353
353
  export * from "./RateSheetMapping1.js";
354
354
  export * from "./RateSheetMappingListRes.js";
355
+ export * from "./ReelablesAsset1.js";
356
+ export * from "./ReelablesAssetListRes.js";
357
+ export * from "./ReelablesAssetSortByEnum.js";
358
+ export * from "./ReelablesAssetSyncRes.js";
359
+ export * from "./ReelablesDataPoint1.js";
360
+ export * from "./ReelablesDataPointMetadata1.js";
361
+ export * from "./ReelablesLabel1.js";
362
+ export * from "./ReelablesTimeseriesRes.js";
363
+ export * from "./ReelablesWorkspace1.js";
364
+ export * from "./ReelablesWorkspaceListRes.js";
365
+ export * from "./ReelablesWorkspaceSortByEnum.js";
366
+ export * from "./ReelablesWorkspaceSyncRes.js";
355
367
  export * from "./ScanPayloadKindEnum.js";
356
368
  export * from "./ScheduleCalendarSpec.js";
357
369
  export * from "./ScheduleIntervalSpec.js";
@@ -368,6 +368,18 @@ __exportStar(require("./Position3D.js"), exports);
368
368
  __exportStar(require("./ProFormaLineItem1.js"), exports);
369
369
  __exportStar(require("./RateSheetMapping1.js"), exports);
370
370
  __exportStar(require("./RateSheetMappingListRes.js"), exports);
371
+ __exportStar(require("./ReelablesAsset1.js"), exports);
372
+ __exportStar(require("./ReelablesAssetListRes.js"), exports);
373
+ __exportStar(require("./ReelablesAssetSortByEnum.js"), exports);
374
+ __exportStar(require("./ReelablesAssetSyncRes.js"), exports);
375
+ __exportStar(require("./ReelablesDataPoint1.js"), exports);
376
+ __exportStar(require("./ReelablesDataPointMetadata1.js"), exports);
377
+ __exportStar(require("./ReelablesLabel1.js"), exports);
378
+ __exportStar(require("./ReelablesTimeseriesRes.js"), exports);
379
+ __exportStar(require("./ReelablesWorkspace1.js"), exports);
380
+ __exportStar(require("./ReelablesWorkspaceListRes.js"), exports);
381
+ __exportStar(require("./ReelablesWorkspaceSortByEnum.js"), exports);
382
+ __exportStar(require("./ReelablesWorkspaceSyncRes.js"), exports);
371
383
  __exportStar(require("./ScanPayloadKindEnum.js"), exports);
372
384
  __exportStar(require("./ScheduleCalendarSpec.js"), exports);
373
385
  __exportStar(require("./ScheduleIntervalSpec.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.888.0";
1
+ export declare const SDK_VERSION = "1.891.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.888.0";
4
+ exports.SDK_VERSION = "1.891.0";
@@ -21,8 +21,8 @@ export class ChrtClient {
21
21
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
22
22
  "X-Fern-Language": "JavaScript",
23
23
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
24
- "X-Fern-SDK-Version": "1.888.0",
25
- "User-Agent": "@chrt-inc/typescript-sdk/1.888.0",
24
+ "X-Fern-SDK-Version": "1.891.0",
25
+ "User-Agent": "@chrt-inc/typescript-sdk/1.891.0",
26
26
  "X-Fern-Runtime": core.RUNTIME.type,
27
27
  "X-Fern-Runtime-Version": core.RUNTIME.version,
28
28
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as environments from "../../../../environments.mjs";
5
5
  import * as core from "../../../../core/index.mjs";
6
+ import { Reelables } from "../resources/reelables/client/Client.mjs";
6
7
  import { Tive } from "../resources/tive/client/Client.mjs";
7
8
  export declare namespace TrackingIntegrations {
8
9
  interface Options {
@@ -17,7 +18,9 @@ export declare namespace TrackingIntegrations {
17
18
  }
18
19
  export declare class TrackingIntegrations {
19
20
  protected readonly _options: TrackingIntegrations.Options;
21
+ protected _reelables: Reelables | undefined;
20
22
  protected _tive: Tive | undefined;
21
23
  constructor(_options?: TrackingIntegrations.Options);
24
+ get reelables(): Reelables;
22
25
  get tive(): Tive;
23
26
  }
@@ -1,11 +1,16 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import { Reelables } from "../resources/reelables/client/Client.mjs";
4
5
  import { Tive } from "../resources/tive/client/Client.mjs";
5
6
  export class TrackingIntegrations {
6
7
  constructor(_options = {}) {
7
8
  this._options = _options;
8
9
  }
10
+ get reelables() {
11
+ var _a;
12
+ return ((_a = this._reelables) !== null && _a !== void 0 ? _a : (this._reelables = new Reelables(this._options)));
13
+ }
9
14
  get tive() {
10
15
  var _a;
11
16
  return ((_a = this._tive) !== null && _a !== void 0 ? _a : (this._tive = new Tive(this._options)));
@@ -1 +1,2 @@
1
+ export * as reelables from "./reelables/index.mjs";
1
2
  export * as tive from "./tive/index.mjs";
@@ -1 +1,2 @@
1
+ export * as reelables from "./reelables/index.mjs";
1
2
  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 { Assets } from "../resources/assets/client/Client.mjs";
7
+ import { Timeseries } from "../resources/timeseries/client/Client.mjs";
8
+ import { Workspaces } from "../resources/workspaces/client/Client.mjs";
9
+ export declare namespace Reelables {
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 Reelables {
21
+ protected readonly _options: Reelables.Options;
22
+ protected _assets: Assets | undefined;
23
+ protected _timeseries: Timeseries | undefined;
24
+ protected _workspaces: Workspaces | undefined;
25
+ constructor(_options?: Reelables.Options);
26
+ get assets(): Assets;
27
+ get timeseries(): Timeseries;
28
+ get workspaces(): Workspaces;
29
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import { Assets } from "../resources/assets/client/Client.mjs";
5
+ import { Timeseries } from "../resources/timeseries/client/Client.mjs";
6
+ import { Workspaces } from "../resources/workspaces/client/Client.mjs";
7
+ export class Reelables {
8
+ constructor(_options = {}) {
9
+ this._options = _options;
10
+ }
11
+ get assets() {
12
+ var _a;
13
+ return ((_a = this._assets) !== null && _a !== void 0 ? _a : (this._assets = new Assets(this._options)));
14
+ }
15
+ get timeseries() {
16
+ var _a;
17
+ return ((_a = this._timeseries) !== null && _a !== void 0 ? _a : (this._timeseries = new Timeseries(this._options)));
18
+ }
19
+ get workspaces() {
20
+ var _a;
21
+ return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Workspaces(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,93 @@
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 Assets {
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 Assets {
31
+ protected readonly _options: Assets.Options;
32
+ constructor(_options?: Assets.Options);
33
+ /**
34
+ * Refreshes and retrieves a Reelables asset by its external ID. | authz: min_org_role=operator | () -> (ReelablesAsset1)
35
+ *
36
+ * @param {string} assetId
37
+ * @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.trackingIntegrations.reelables.assets.getV1("asset_id")
43
+ */
44
+ getV1(assetId: string, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<Chrt.ReelablesAsset1>;
45
+ private __getV1;
46
+ /**
47
+ * Lists cached Reelables assets for a workspace. | authz: min_org_role=operator | () -> (ReelablesAssetListRes)
48
+ *
49
+ * @param {string} workspaceId
50
+ * @param {Chrt.trackingIntegrations.reelables.AssetsListV1Request} request
51
+ * @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
52
+ *
53
+ * @throws {@link Chrt.UnprocessableEntityError}
54
+ *
55
+ * @example
56
+ * await client.trackingIntegrations.reelables.assets.listV1("workspace_id", {
57
+ * sort_by: "asset_id",
58
+ * sort_order: "asc",
59
+ * page: 1,
60
+ * page_size: 1
61
+ * })
62
+ */
63
+ listV1(workspaceId: string, request?: Chrt.trackingIntegrations.reelables.AssetsListV1Request, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<Chrt.ReelablesAssetListRes>;
64
+ private __listV1;
65
+ /**
66
+ * Synchronizes all Reelables assets for a cached workspace. | authz: min_org_role=operator | () -> (ReelablesAssetSyncRes)
67
+ *
68
+ * @param {string} workspaceId
69
+ * @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
70
+ *
71
+ * @throws {@link Chrt.UnprocessableEntityError}
72
+ *
73
+ * @example
74
+ * await client.trackingIntegrations.reelables.assets.syncV1("workspace_id")
75
+ */
76
+ syncV1(workspaceId: string, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<Chrt.ReelablesAssetSyncRes>;
77
+ private __syncV1;
78
+ /**
79
+ * Updates a Reelables asset, applying name changes upstream before updating CHRT. | authz: min_org_role=operator | (ReelablesAssetClientUpdate1) -> (ReelablesAsset1)
80
+ *
81
+ * @param {string} assetId
82
+ * @param {Chrt.trackingIntegrations.reelables.ReelablesAssetClientUpdate1} request
83
+ * @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
84
+ *
85
+ * @throws {@link Chrt.UnprocessableEntityError}
86
+ *
87
+ * @example
88
+ * await client.trackingIntegrations.reelables.assets.updateV1("asset_id")
89
+ */
90
+ updateV1(assetId: string, request?: Chrt.trackingIntegrations.reelables.ReelablesAssetClientUpdate1, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<Chrt.ReelablesAsset1>;
91
+ private __updateV1;
92
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
93
+ }