@nizam-os/dashboard-sdk 6.4.0 → 6.5.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 (35) hide show
  1. package/dist/Client.d.ts +3 -0
  2. package/dist/Client.js +8 -4
  3. package/dist/api/resources/index.d.ts +2 -0
  4. package/dist/api/resources/index.js +3 -1
  5. package/dist/api/resources/positions/client/Client.d.ts +73 -0
  6. package/dist/api/resources/positions/client/Client.js +266 -0
  7. package/dist/api/resources/positions/client/index.d.ts +1 -0
  8. package/dist/api/resources/positions/client/index.js +17 -0
  9. package/dist/api/resources/positions/client/requests/GetPositionsHeatmapRequest.d.ts +14 -0
  10. package/dist/api/resources/positions/client/requests/GetPositionsHeatmapRequest.js +3 -0
  11. package/dist/api/resources/positions/client/requests/ListPositionsRequest.d.ts +21 -0
  12. package/dist/api/resources/positions/client/requests/ListPositionsRequest.js +3 -0
  13. package/dist/api/resources/positions/client/requests/index.d.ts +2 -0
  14. package/dist/api/resources/positions/client/requests/index.js +2 -0
  15. package/dist/api/resources/positions/exports.d.ts +2 -0
  16. package/dist/api/resources/positions/exports.js +21 -0
  17. package/dist/api/resources/positions/index.d.ts +1 -0
  18. package/dist/api/resources/positions/index.js +17 -0
  19. package/dist/api/types/HeatmapCell.d.ts +18 -0
  20. package/dist/api/types/HeatmapCell.js +10 -0
  21. package/dist/api/types/ListResponseHeatmapCell.d.ts +27 -0
  22. package/dist/api/types/ListResponseHeatmapCell.js +11 -0
  23. package/dist/api/types/ListResponseOperatorPosition.d.ts +27 -0
  24. package/dist/api/types/ListResponseOperatorPosition.js +11 -0
  25. package/dist/api/types/ListResponsePosition.d.ts +27 -0
  26. package/dist/api/types/ListResponsePosition.js +11 -0
  27. package/dist/api/types/MqttToken.d.ts +12 -0
  28. package/dist/api/types/MqttToken.js +3 -0
  29. package/dist/api/types/OperatorPosition.d.ts +28 -0
  30. package/dist/api/types/OperatorPosition.js +10 -0
  31. package/dist/api/types/Position.d.ts +30 -0
  32. package/dist/api/types/Position.js +10 -0
  33. package/dist/api/types/index.d.ts +7 -0
  34. package/dist/api/types/index.js +7 -0
  35. package/package.json +1 -1
package/dist/Client.d.ts CHANGED
@@ -8,6 +8,7 @@ import { LookupsClient } from "./api/resources/lookups/client/Client.js";
8
8
  import { MembershipsClient } from "./api/resources/memberships/client/Client.js";
9
9
  import { OperatorsClient } from "./api/resources/operators/client/Client.js";
10
10
  import { OrganizationsClient } from "./api/resources/organizations/client/Client.js";
11
+ import { PositionsClient } from "./api/resources/positions/client/Client.js";
11
12
  import { RealtimeClient } from "./api/resources/realtime/client/Client.js";
12
13
  import { UsersClient } from "./api/resources/users/client/Client.js";
13
14
  import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
@@ -23,6 +24,7 @@ export declare class NizamDashboardClient {
23
24
  protected _activity: ActivityClient | undefined;
24
25
  protected _assets: AssetsClient | undefined;
25
26
  protected _assignments: AssignmentsClient | undefined;
27
+ protected _positions: PositionsClient | undefined;
26
28
  protected _invites: InvitesClient | undefined;
27
29
  protected _jobs: JobsClient | undefined;
28
30
  protected _lookups: LookupsClient | undefined;
@@ -36,6 +38,7 @@ export declare class NizamDashboardClient {
36
38
  get activity(): ActivityClient;
37
39
  get assets(): AssetsClient;
38
40
  get assignments(): AssignmentsClient;
41
+ get positions(): PositionsClient;
39
42
  get invites(): InvitesClient;
40
43
  get jobs(): JobsClient;
41
44
  get lookups(): LookupsClient;
package/dist/Client.js CHANGED
@@ -45,8 +45,9 @@ const Client_js_7 = require("./api/resources/lookups/client/Client.js");
45
45
  const Client_js_8 = require("./api/resources/memberships/client/Client.js");
46
46
  const Client_js_9 = require("./api/resources/operators/client/Client.js");
47
47
  const Client_js_10 = require("./api/resources/organizations/client/Client.js");
48
- const Client_js_11 = require("./api/resources/realtime/client/Client.js");
49
- const Client_js_12 = require("./api/resources/users/client/Client.js");
48
+ const Client_js_11 = require("./api/resources/positions/client/Client.js");
49
+ const Client_js_12 = require("./api/resources/realtime/client/Client.js");
50
+ const Client_js_13 = require("./api/resources/users/client/Client.js");
50
51
  const BaseClient_js_1 = require("./BaseClient.js");
51
52
  const core = __importStar(require("./core/index.js"));
52
53
  class NizamDashboardClient {
@@ -62,6 +63,9 @@ class NizamDashboardClient {
62
63
  get assignments() {
63
64
  return (this._assignments ?? (this._assignments = new Client_js_4.AssignmentsClient(this._options)));
64
65
  }
66
+ get positions() {
67
+ return (this._positions ?? (this._positions = new Client_js_11.PositionsClient(this._options)));
68
+ }
65
69
  get invites() {
66
70
  return (this._invites ?? (this._invites = new Client_js_5.InvitesClient(this._options)));
67
71
  }
@@ -72,7 +76,7 @@ class NizamDashboardClient {
72
76
  return (this._lookups ?? (this._lookups = new Client_js_7.LookupsClient(this._options)));
73
77
  }
74
78
  get users() {
75
- return (this._users ?? (this._users = new Client_js_12.UsersClient(this._options)));
79
+ return (this._users ?? (this._users = new Client_js_13.UsersClient(this._options)));
76
80
  }
77
81
  get activeOrganization() {
78
82
  return (this._activeOrganization ?? (this._activeOrganization = new Client_js_1.ActiveOrganizationClient(this._options)));
@@ -87,7 +91,7 @@ class NizamDashboardClient {
87
91
  return (this._organizations ?? (this._organizations = new Client_js_10.OrganizationsClient(this._options)));
88
92
  }
89
93
  get realtime() {
90
- return (this._realtime ?? (this._realtime = new Client_js_11.RealtimeClient(this._options)));
94
+ return (this._realtime ?? (this._realtime = new Client_js_12.RealtimeClient(this._options)));
91
95
  }
92
96
  /**
93
97
  * Make a passthrough request using the SDK's configured auth, retry, logging, etc.
@@ -17,6 +17,8 @@ export * from "./operators/client/requests/index.js";
17
17
  export * as operators from "./operators/index.js";
18
18
  export * from "./organizations/client/requests/index.js";
19
19
  export * as organizations from "./organizations/index.js";
20
+ export * from "./positions/client/requests/index.js";
21
+ export * as positions from "./positions/index.js";
20
22
  export * as realtime from "./realtime/index.js";
21
23
  export * from "./users/client/requests/index.js";
22
24
  export * as users from "./users/index.js";
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.users = exports.realtime = exports.organizations = exports.operators = exports.memberships = exports.lookups = exports.jobs = exports.invites = exports.assignments = exports.assets = exports.activity = exports.activeOrganization = void 0;
39
+ exports.users = exports.realtime = exports.positions = exports.organizations = exports.operators = exports.memberships = exports.lookups = exports.jobs = exports.invites = exports.assignments = exports.assets = exports.activity = exports.activeOrganization = void 0;
40
40
  __exportStar(require("./activeOrganization/client/requests/index.js"), exports);
41
41
  exports.activeOrganization = __importStar(require("./activeOrganization/index.js"));
42
42
  __exportStar(require("./activity/client/requests/index.js"), exports);
@@ -56,6 +56,8 @@ __exportStar(require("./operators/client/requests/index.js"), exports);
56
56
  exports.operators = __importStar(require("./operators/index.js"));
57
57
  __exportStar(require("./organizations/client/requests/index.js"), exports);
58
58
  exports.organizations = __importStar(require("./organizations/index.js"));
59
+ __exportStar(require("./positions/client/requests/index.js"), exports);
60
+ exports.positions = __importStar(require("./positions/index.js"));
59
61
  exports.realtime = __importStar(require("./realtime/index.js"));
60
62
  __exportStar(require("./users/client/requests/index.js"), exports);
61
63
  exports.users = __importStar(require("./users/index.js"));
@@ -0,0 +1,73 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
+ import * as core from "../../../../core/index.js";
4
+ import * as NizamDashboard from "../../../index.js";
5
+ export declare namespace PositionsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class PositionsClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<PositionsClient.Options>;
12
+ constructor(options: PositionsClient.Options);
13
+ /**
14
+ * Keyset-paginated track over a required [start, end) device-time window (max 31 days — the window drives partition pruning). Optionally narrowed to one operator.
15
+ *
16
+ * @param {NizamDashboard.ListPositionsRequest} request
17
+ * @param {PositionsClient.RequestOptions} requestOptions - Request-specific configuration.
18
+ *
19
+ * @throws {@link NizamDashboard.BadRequestError}
20
+ * @throws {@link NizamDashboard.UnauthorizedError}
21
+ * @throws {@link NizamDashboard.ForbiddenError}
22
+ * @throws {@link NizamDashboard.TooManyRequestsError}
23
+ * @throws {@link NizamDashboard.InternalServerError}
24
+ *
25
+ * @example
26
+ * await client.positions.listPositions({
27
+ * operator_id: "00000000-0000-0000-0000-000000000000",
28
+ * start: "2026-05-20T14:00:00Z",
29
+ * end: "2026-05-20T14:00:00Z",
30
+ * starting_after: "Y3Vyc29yX25leHRfMDFKNVE=",
31
+ * ending_before: "Y3Vyc29yX25leHRfMDFKNVE="
32
+ * })
33
+ */
34
+ listPositions(request: NizamDashboard.ListPositionsRequest, requestOptions?: PositionsClient.RequestOptions): core.HttpResponsePromise<NizamDashboard.ListResponsePosition>;
35
+ private __listPositions;
36
+ /**
37
+ * Live snapshot for initial map load and STOMP-reconnect reconciliation. Served from the Redis hot cache (positions fresher than ~60s); a cold cache falls back to the most recent recorded position per operator over the last 15 minutes. Unpaginated by design: the result is bounded by the fleet's currently-reporting operators.
38
+ *
39
+ * @param {PositionsClient.RequestOptions} requestOptions - Request-specific configuration.
40
+ *
41
+ * @throws {@link NizamDashboard.BadRequestError}
42
+ * @throws {@link NizamDashboard.UnauthorizedError}
43
+ * @throws {@link NizamDashboard.ForbiddenError}
44
+ * @throws {@link NizamDashboard.TooManyRequestsError}
45
+ * @throws {@link NizamDashboard.InternalServerError}
46
+ *
47
+ * @example
48
+ * await client.positions.listCurrentPositions()
49
+ */
50
+ listCurrentPositions(requestOptions?: PositionsClient.RequestOptions): core.HttpResponsePromise<NizamDashboard.ListResponseOperatorPosition>;
51
+ private __listCurrentPositions;
52
+ /**
53
+ * Counts recorded positions per H3 hex cell (resolution 9 ≈ 150 m or 11 ≈ 24 m) inside a `bbox` viewport over a device-time window (default: the last 24 hours). Cells are returned as hex strings — H3 indexes exceed the JavaScript safe-integer range. Unpaginated: bounded by the viewport's cell cover (max 4096 cells).
54
+ *
55
+ * @param {NizamDashboard.GetPositionsHeatmapRequest} request
56
+ * @param {PositionsClient.RequestOptions} requestOptions - Request-specific configuration.
57
+ *
58
+ * @throws {@link NizamDashboard.BadRequestError}
59
+ * @throws {@link NizamDashboard.UnauthorizedError}
60
+ * @throws {@link NizamDashboard.ForbiddenError}
61
+ * @throws {@link NizamDashboard.TooManyRequestsError}
62
+ * @throws {@link NizamDashboard.InternalServerError}
63
+ *
64
+ * @example
65
+ * await client.positions.getPositionsHeatmap({
66
+ * bbox: "<string>",
67
+ * start: "2026-05-20T14:00:00Z",
68
+ * end: "2026-05-20T14:00:00Z"
69
+ * })
70
+ */
71
+ getPositionsHeatmap(request: NizamDashboard.GetPositionsHeatmapRequest, requestOptions?: PositionsClient.RequestOptions): core.HttpResponsePromise<NizamDashboard.ListResponseHeatmapCell>;
72
+ private __getPositionsHeatmap;
73
+ }
@@ -0,0 +1,266 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.PositionsClient = void 0;
38
+ const BaseClient_js_1 = require("../../../../BaseClient.js");
39
+ const headers_js_1 = require("../../../../core/headers.js");
40
+ const core = __importStar(require("../../../../core/index.js"));
41
+ const environments = __importStar(require("../../../../environments.js"));
42
+ const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
43
+ const errors = __importStar(require("../../../../errors/index.js"));
44
+ const NizamDashboard = __importStar(require("../../../index.js"));
45
+ class PositionsClient {
46
+ constructor(options) {
47
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
48
+ }
49
+ /**
50
+ * Keyset-paginated track over a required [start, end) device-time window (max 31 days — the window drives partition pruning). Optionally narrowed to one operator.
51
+ *
52
+ * @param {NizamDashboard.ListPositionsRequest} request
53
+ * @param {PositionsClient.RequestOptions} requestOptions - Request-specific configuration.
54
+ *
55
+ * @throws {@link NizamDashboard.BadRequestError}
56
+ * @throws {@link NizamDashboard.UnauthorizedError}
57
+ * @throws {@link NizamDashboard.ForbiddenError}
58
+ * @throws {@link NizamDashboard.TooManyRequestsError}
59
+ * @throws {@link NizamDashboard.InternalServerError}
60
+ *
61
+ * @example
62
+ * await client.positions.listPositions({
63
+ * operator_id: "00000000-0000-0000-0000-000000000000",
64
+ * start: "2026-05-20T14:00:00Z",
65
+ * end: "2026-05-20T14:00:00Z",
66
+ * starting_after: "Y3Vyc29yX25leHRfMDFKNVE=",
67
+ * ending_before: "Y3Vyc29yX25leHRfMDFKNVE="
68
+ * })
69
+ */
70
+ listPositions(request, requestOptions) {
71
+ return core.HttpResponsePromise.fromPromise(this.__listPositions(request, requestOptions));
72
+ }
73
+ async __listPositions(request, requestOptions) {
74
+ const { operator_id: operatorId, start, end, limit, starting_after: startingAfter, ending_before: endingBefore, } = request;
75
+ const _queryParams = {
76
+ operator_id: operatorId,
77
+ start,
78
+ end,
79
+ limit,
80
+ starting_after: startingAfter,
81
+ ending_before: endingBefore,
82
+ };
83
+ const _authRequest = await this._options.authProvider.getAuthRequest();
84
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
85
+ const _response = await core.fetcher({
86
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
87
+ (await core.Supplier.get(this._options.environment)) ??
88
+ environments.NizamDashboardEnvironment.Production, "v1/fleet/positions"),
89
+ method: "GET",
90
+ headers: _headers,
91
+ queryString: core.url
92
+ .queryBuilder()
93
+ .addMany(_queryParams)
94
+ .mergeAdditional(requestOptions?.queryParams)
95
+ .build(),
96
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
97
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
98
+ abortSignal: requestOptions?.abortSignal,
99
+ fetchFn: this._options?.fetch,
100
+ logging: this._options.logging,
101
+ });
102
+ if (_response.ok) {
103
+ return { data: _response.body, rawResponse: _response.rawResponse };
104
+ }
105
+ if (_response.error.reason === "status-code") {
106
+ switch (_response.error.statusCode) {
107
+ case 400:
108
+ throw new NizamDashboard.BadRequestError(_response.error.body, _response.rawResponse);
109
+ case 401:
110
+ throw new NizamDashboard.UnauthorizedError(_response.error.body, _response.rawResponse);
111
+ case 403:
112
+ throw new NizamDashboard.ForbiddenError(_response.error.body, _response.rawResponse);
113
+ case 429:
114
+ throw new NizamDashboard.TooManyRequestsError(_response.error.body, _response.rawResponse);
115
+ case 500:
116
+ throw new NizamDashboard.InternalServerError(_response.error.body, _response.rawResponse);
117
+ default:
118
+ throw new errors.NizamDashboardError({
119
+ statusCode: _response.error.statusCode,
120
+ body: _response.error.body,
121
+ rawResponse: _response.rawResponse,
122
+ });
123
+ }
124
+ }
125
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/fleet/positions");
126
+ }
127
+ /**
128
+ * Live snapshot for initial map load and STOMP-reconnect reconciliation. Served from the Redis hot cache (positions fresher than ~60s); a cold cache falls back to the most recent recorded position per operator over the last 15 minutes. Unpaginated by design: the result is bounded by the fleet's currently-reporting operators.
129
+ *
130
+ * @param {PositionsClient.RequestOptions} requestOptions - Request-specific configuration.
131
+ *
132
+ * @throws {@link NizamDashboard.BadRequestError}
133
+ * @throws {@link NizamDashboard.UnauthorizedError}
134
+ * @throws {@link NizamDashboard.ForbiddenError}
135
+ * @throws {@link NizamDashboard.TooManyRequestsError}
136
+ * @throws {@link NizamDashboard.InternalServerError}
137
+ *
138
+ * @example
139
+ * await client.positions.listCurrentPositions()
140
+ */
141
+ listCurrentPositions(requestOptions) {
142
+ return core.HttpResponsePromise.fromPromise(this.__listCurrentPositions(requestOptions));
143
+ }
144
+ async __listCurrentPositions(requestOptions) {
145
+ const _authRequest = await this._options.authProvider.getAuthRequest();
146
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
147
+ const _response = await core.fetcher({
148
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
149
+ (await core.Supplier.get(this._options.environment)) ??
150
+ environments.NizamDashboardEnvironment.Production, "v1/fleet/positions/current"),
151
+ method: "GET",
152
+ headers: _headers,
153
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
154
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
155
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
156
+ abortSignal: requestOptions?.abortSignal,
157
+ fetchFn: this._options?.fetch,
158
+ logging: this._options.logging,
159
+ });
160
+ if (_response.ok) {
161
+ return {
162
+ data: _response.body,
163
+ rawResponse: _response.rawResponse,
164
+ };
165
+ }
166
+ if (_response.error.reason === "status-code") {
167
+ switch (_response.error.statusCode) {
168
+ case 400:
169
+ throw new NizamDashboard.BadRequestError(_response.error.body, _response.rawResponse);
170
+ case 401:
171
+ throw new NizamDashboard.UnauthorizedError(_response.error.body, _response.rawResponse);
172
+ case 403:
173
+ throw new NizamDashboard.ForbiddenError(_response.error.body, _response.rawResponse);
174
+ case 429:
175
+ throw new NizamDashboard.TooManyRequestsError(_response.error.body, _response.rawResponse);
176
+ case 500:
177
+ throw new NizamDashboard.InternalServerError(_response.error.body, _response.rawResponse);
178
+ default:
179
+ throw new errors.NizamDashboardError({
180
+ statusCode: _response.error.statusCode,
181
+ body: _response.error.body,
182
+ rawResponse: _response.rawResponse,
183
+ });
184
+ }
185
+ }
186
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/fleet/positions/current");
187
+ }
188
+ /**
189
+ * Counts recorded positions per H3 hex cell (resolution 9 ≈ 150 m or 11 ≈ 24 m) inside a `bbox` viewport over a device-time window (default: the last 24 hours). Cells are returned as hex strings — H3 indexes exceed the JavaScript safe-integer range. Unpaginated: bounded by the viewport's cell cover (max 4096 cells).
190
+ *
191
+ * @param {NizamDashboard.GetPositionsHeatmapRequest} request
192
+ * @param {PositionsClient.RequestOptions} requestOptions - Request-specific configuration.
193
+ *
194
+ * @throws {@link NizamDashboard.BadRequestError}
195
+ * @throws {@link NizamDashboard.UnauthorizedError}
196
+ * @throws {@link NizamDashboard.ForbiddenError}
197
+ * @throws {@link NizamDashboard.TooManyRequestsError}
198
+ * @throws {@link NizamDashboard.InternalServerError}
199
+ *
200
+ * @example
201
+ * await client.positions.getPositionsHeatmap({
202
+ * bbox: "<string>",
203
+ * start: "2026-05-20T14:00:00Z",
204
+ * end: "2026-05-20T14:00:00Z"
205
+ * })
206
+ */
207
+ getPositionsHeatmap(request, requestOptions) {
208
+ return core.HttpResponsePromise.fromPromise(this.__getPositionsHeatmap(request, requestOptions));
209
+ }
210
+ async __getPositionsHeatmap(request, requestOptions) {
211
+ const { h3_res: h3Res, bbox, start, end } = request;
212
+ const _queryParams = {
213
+ h3_res: h3Res,
214
+ bbox,
215
+ start: start != null ? start : undefined,
216
+ end: end != null ? end : undefined,
217
+ };
218
+ const _authRequest = await this._options.authProvider.getAuthRequest();
219
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
220
+ const _response = await core.fetcher({
221
+ url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
222
+ (await core.Supplier.get(this._options.environment)) ??
223
+ environments.NizamDashboardEnvironment.Production, "v1/fleet/positions/heatmap"),
224
+ method: "GET",
225
+ headers: _headers,
226
+ queryString: core.url
227
+ .queryBuilder()
228
+ .addMany(_queryParams)
229
+ .mergeAdditional(requestOptions?.queryParams)
230
+ .build(),
231
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
232
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
233
+ abortSignal: requestOptions?.abortSignal,
234
+ fetchFn: this._options?.fetch,
235
+ logging: this._options.logging,
236
+ });
237
+ if (_response.ok) {
238
+ return {
239
+ data: _response.body,
240
+ rawResponse: _response.rawResponse,
241
+ };
242
+ }
243
+ if (_response.error.reason === "status-code") {
244
+ switch (_response.error.statusCode) {
245
+ case 400:
246
+ throw new NizamDashboard.BadRequestError(_response.error.body, _response.rawResponse);
247
+ case 401:
248
+ throw new NizamDashboard.UnauthorizedError(_response.error.body, _response.rawResponse);
249
+ case 403:
250
+ throw new NizamDashboard.ForbiddenError(_response.error.body, _response.rawResponse);
251
+ case 429:
252
+ throw new NizamDashboard.TooManyRequestsError(_response.error.body, _response.rawResponse);
253
+ case 500:
254
+ throw new NizamDashboard.InternalServerError(_response.error.body, _response.rawResponse);
255
+ default:
256
+ throw new errors.NizamDashboardError({
257
+ statusCode: _response.error.statusCode,
258
+ body: _response.error.body,
259
+ rawResponse: _response.rawResponse,
260
+ });
261
+ }
262
+ }
263
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/fleet/positions/heatmap");
264
+ }
265
+ }
266
+ exports.PositionsClient = PositionsClient;
@@ -0,0 +1 @@
1
+ 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,14 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * bbox: "<string>",
5
+ * start: "2026-05-20T14:00:00Z",
6
+ * end: "2026-05-20T14:00:00Z"
7
+ * }
8
+ */
9
+ export interface GetPositionsHeatmapRequest {
10
+ h3_res?: number;
11
+ bbox: string;
12
+ start?: string;
13
+ end?: string;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * operator_id: "00000000-0000-0000-0000-000000000000",
5
+ * start: "2026-05-20T14:00:00Z",
6
+ * end: "2026-05-20T14:00:00Z",
7
+ * starting_after: "Y3Vyc29yX25leHRfMDFKNVE=",
8
+ * ending_before: "Y3Vyc29yX25leHRfMDFKNVE="
9
+ * }
10
+ */
11
+ export interface ListPositionsRequest {
12
+ operator_id?: string;
13
+ start: string;
14
+ end: string;
15
+ /** Page size. Default 20, maximum 100. Out-of-range values are silently clamped; the response body's `limit` field reflects what was applied. */
16
+ limit?: number;
17
+ /** Opaque cursor — return the page starting strictly after this entity in the sort order. Mutually exclusive with `ending_before`. */
18
+ starting_after?: string;
19
+ /** Opaque cursor — return the page ending strictly before this entity in the sort order. Mutually exclusive with `starting_after`. */
20
+ ending_before?: string;
21
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export type { GetPositionsHeatmapRequest } from "./GetPositionsHeatmapRequest.js";
2
+ export type { ListPositionsRequest } from "./ListPositionsRequest.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { PositionsClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.PositionsClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "PositionsClient", { enumerable: true, get: function () { return Client_js_1.PositionsClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1 @@
1
+ export * from "./client/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("./client/index.js"), exports);
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Aggregated position count for one H3 hex cell.
3
+ */
4
+ export interface HeatmapCell {
5
+ /** H3 cell index, lowercase hex (string — H3 indexes exceed the JS safe-integer range). */
6
+ h3_cell?: string | undefined;
7
+ /** H3 resolution of the cell (9 or 11). */
8
+ h3_res?: number | undefined;
9
+ /** Number of positions recorded in the cell over the window. */
10
+ count?: number | undefined;
11
+ object?: HeatmapCell.Object_ | undefined;
12
+ }
13
+ export declare namespace HeatmapCell {
14
+ const Object_: {
15
+ readonly HeatmapCell: "heatmap_cell";
16
+ };
17
+ type Object_ = (typeof Object_)[keyof typeof Object_];
18
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.HeatmapCell = void 0;
5
+ var HeatmapCell;
6
+ (function (HeatmapCell) {
7
+ HeatmapCell.Object_ = {
8
+ HeatmapCell: "heatmap_cell",
9
+ };
10
+ })(HeatmapCell || (exports.HeatmapCell = HeatmapCell = {}));
@@ -0,0 +1,27 @@
1
+ import type * as NizamDashboard from "../index.js";
2
+ /**
3
+ * Envelope for paginated list responses (Stripe-style cursor pagination).
4
+ */
5
+ export interface ListResponseHeatmapCell {
6
+ /** Object type discriminator (Stripe pattern). Always `list` for this envelope. */
7
+ object?: ListResponseHeatmapCell.Object_ | undefined;
8
+ /** Page of resources. Empty array when there are no matches. */
9
+ data?: NizamDashboard.HeatmapCell[] | undefined;
10
+ /** True when more pages exist; pass `next_cursor` as `?starting_after=` to fetch the next page. */
11
+ has_more?: boolean | undefined;
12
+ /** True when earlier pages exist; pass `prev_cursor` as `?ending_before=` to fetch the previous page. */
13
+ has_previous?: boolean | undefined;
14
+ /** Opaque cursor for the next page. `null` on the last page. */
15
+ next_cursor?: string | undefined;
16
+ /** Opaque cursor for the previous page. `null` on the first page. */
17
+ prev_cursor?: string | undefined;
18
+ /** Page size that produced this response. */
19
+ limit?: number | undefined;
20
+ }
21
+ export declare namespace ListResponseHeatmapCell {
22
+ /** Object type discriminator (Stripe pattern). Always `list` for this envelope. */
23
+ const Object_: {
24
+ readonly List: "list";
25
+ };
26
+ type Object_ = (typeof Object_)[keyof typeof Object_];
27
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListResponseHeatmapCell = void 0;
5
+ var ListResponseHeatmapCell;
6
+ (function (ListResponseHeatmapCell) {
7
+ /** Object type discriminator (Stripe pattern). Always `list` for this envelope. */
8
+ ListResponseHeatmapCell.Object_ = {
9
+ List: "list",
10
+ };
11
+ })(ListResponseHeatmapCell || (exports.ListResponseHeatmapCell = ListResponseHeatmapCell = {}));
@@ -0,0 +1,27 @@
1
+ import type * as NizamDashboard from "../index.js";
2
+ /**
3
+ * Envelope for paginated list responses (Stripe-style cursor pagination).
4
+ */
5
+ export interface ListResponseOperatorPosition {
6
+ /** Object type discriminator (Stripe pattern). Always `list` for this envelope. */
7
+ object?: ListResponseOperatorPosition.Object_ | undefined;
8
+ /** Page of resources. Empty array when there are no matches. */
9
+ data?: NizamDashboard.OperatorPosition[] | undefined;
10
+ /** True when more pages exist; pass `next_cursor` as `?starting_after=` to fetch the next page. */
11
+ has_more?: boolean | undefined;
12
+ /** True when earlier pages exist; pass `prev_cursor` as `?ending_before=` to fetch the previous page. */
13
+ has_previous?: boolean | undefined;
14
+ /** Opaque cursor for the next page. `null` on the last page. */
15
+ next_cursor?: string | undefined;
16
+ /** Opaque cursor for the previous page. `null` on the first page. */
17
+ prev_cursor?: string | undefined;
18
+ /** Page size that produced this response. */
19
+ limit?: number | undefined;
20
+ }
21
+ export declare namespace ListResponseOperatorPosition {
22
+ /** Object type discriminator (Stripe pattern). Always `list` for this envelope. */
23
+ const Object_: {
24
+ readonly List: "list";
25
+ };
26
+ type Object_ = (typeof Object_)[keyof typeof Object_];
27
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListResponseOperatorPosition = void 0;
5
+ var ListResponseOperatorPosition;
6
+ (function (ListResponseOperatorPosition) {
7
+ /** Object type discriminator (Stripe pattern). Always `list` for this envelope. */
8
+ ListResponseOperatorPosition.Object_ = {
9
+ List: "list",
10
+ };
11
+ })(ListResponseOperatorPosition || (exports.ListResponseOperatorPosition = ListResponseOperatorPosition = {}));
@@ -0,0 +1,27 @@
1
+ import type * as NizamDashboard from "../index.js";
2
+ /**
3
+ * Envelope for paginated list responses (Stripe-style cursor pagination).
4
+ */
5
+ export interface ListResponsePosition {
6
+ /** Object type discriminator (Stripe pattern). Always `list` for this envelope. */
7
+ object?: ListResponsePosition.Object_ | undefined;
8
+ /** Page of resources. Empty array when there are no matches. */
9
+ data?: NizamDashboard.Position[] | undefined;
10
+ /** True when more pages exist; pass `next_cursor` as `?starting_after=` to fetch the next page. */
11
+ has_more?: boolean | undefined;
12
+ /** True when earlier pages exist; pass `prev_cursor` as `?ending_before=` to fetch the previous page. */
13
+ has_previous?: boolean | undefined;
14
+ /** Opaque cursor for the next page. `null` on the last page. */
15
+ next_cursor?: string | undefined;
16
+ /** Opaque cursor for the previous page. `null` on the first page. */
17
+ prev_cursor?: string | undefined;
18
+ /** Page size that produced this response. */
19
+ limit?: number | undefined;
20
+ }
21
+ export declare namespace ListResponsePosition {
22
+ /** Object type discriminator (Stripe pattern). Always `list` for this envelope. */
23
+ const Object_: {
24
+ readonly List: "list";
25
+ };
26
+ type Object_ = (typeof Object_)[keyof typeof Object_];
27
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListResponsePosition = void 0;
5
+ var ListResponsePosition;
6
+ (function (ListResponsePosition) {
7
+ /** Object type discriminator (Stripe pattern). Always `list` for this envelope. */
8
+ ListResponsePosition.Object_ = {
9
+ List: "list",
10
+ };
11
+ })(ListResponsePosition || (exports.ListResponsePosition = ListResponsePosition = {}));
@@ -0,0 +1,12 @@
1
+ /**
2
+ * A short-lived MQTT publish credential for the position ingest broker.
3
+ */
4
+ export interface MqttToken {
5
+ /** JWT to present as the MQTT CONNECT password. The CONNECT username must be the operator id embedded in the token's operator_id claim. */
6
+ token?: string | undefined;
7
+ /** Seconds until the token expires. Re-mint before this elapses to stay connected. */
8
+ expires_in?: number | undefined;
9
+ /** The only topic this credential may publish to: nizam/{organizationId}/operators/{operatorId}/location. */
10
+ topic?: string | undefined;
11
+ object?: string | undefined;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,28 @@
1
+ /**
2
+ * The current position of one operator.
3
+ */
4
+ export interface OperatorPosition {
5
+ /** Operator id. */
6
+ operator_id?: string | undefined;
7
+ /** Latitude (WGS84). */
8
+ lat?: number | undefined;
9
+ /** Longitude (WGS84). */
10
+ lng?: number | undefined;
11
+ /** Direction of travel, compass degrees [0,360). */
12
+ heading?: number | undefined;
13
+ /** Course over ground, compass degrees [0,360). */
14
+ bearing?: number | undefined;
15
+ /** Ground speed, km/h. */
16
+ speed?: number | undefined;
17
+ /** Altitude above the WGS84 ellipsoid, metres. */
18
+ altitude?: number | undefined;
19
+ /** Device-time of the fix. */
20
+ captured_at?: string | undefined;
21
+ object?: OperatorPosition.Object_ | undefined;
22
+ }
23
+ export declare namespace OperatorPosition {
24
+ const Object_: {
25
+ readonly OperatorPosition: "operator_position";
26
+ };
27
+ type Object_ = (typeof Object_)[keyof typeof Object_];
28
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.OperatorPosition = void 0;
5
+ var OperatorPosition;
6
+ (function (OperatorPosition) {
7
+ OperatorPosition.Object_ = {
8
+ OperatorPosition: "operator_position",
9
+ };
10
+ })(OperatorPosition || (exports.OperatorPosition = OperatorPosition = {}));
@@ -0,0 +1,30 @@
1
+ /**
2
+ * One recorded GPS position of an operator.
3
+ */
4
+ export interface Position {
5
+ /** Position id. */
6
+ id?: string | undefined;
7
+ /** Operator the fix belongs to. */
8
+ operator_id?: string | undefined;
9
+ /** Latitude (WGS84). */
10
+ lat?: number | undefined;
11
+ /** Longitude (WGS84). */
12
+ lng?: number | undefined;
13
+ /** Direction of travel, compass degrees [0,360). */
14
+ heading?: number | undefined;
15
+ /** Course over ground toward the destination, compass degrees [0,360). */
16
+ bearing?: number | undefined;
17
+ /** Ground speed, km/h. */
18
+ speed?: number | undefined;
19
+ /** Altitude above the WGS84 ellipsoid, metres. */
20
+ altitude?: number | undefined;
21
+ /** Device-time the fix was captured (authoritative). */
22
+ recorded_at?: string | undefined;
23
+ object?: Position.Object_ | undefined;
24
+ }
25
+ export declare namespace Position {
26
+ const Object_: {
27
+ readonly Position: "position";
28
+ };
29
+ type Object_ = (typeof Object_)[keyof typeof Object_];
30
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Position = void 0;
5
+ var Position;
6
+ (function (Position) {
7
+ Position.Object_ = {
8
+ Position: "position",
9
+ };
10
+ })(Position || (exports.Position = Position = {}));
@@ -12,6 +12,7 @@ export * from "./CreateHumanOperatorRequest.js";
12
12
  export * from "./CreateOperatorRequest.js";
13
13
  export * from "./CreateTeleoperatedOperatorRequest.js";
14
14
  export * from "./Currency.js";
15
+ export * from "./HeatmapCell.js";
15
16
  export * from "./InternalUserUpdateRequest.js";
16
17
  export * from "./Invite.js";
17
18
  export * from "./Job.js";
@@ -22,17 +23,23 @@ export * from "./ListResponseAssetListItem.js";
22
23
  export * from "./ListResponseBusinessCategory.js";
23
24
  export * from "./ListResponseCountry.js";
24
25
  export * from "./ListResponseCurrency.js";
26
+ export * from "./ListResponseHeatmapCell.js";
25
27
  export * from "./ListResponseJob.js";
26
28
  export * from "./ListResponseLanguage.js";
27
29
  export * from "./ListResponseMembership.js";
30
+ export * from "./ListResponseOperatorPosition.js";
28
31
  export * from "./ListResponseOrganization.js";
32
+ export * from "./ListResponsePosition.js";
29
33
  export * from "./ListResponseTimezone.js";
30
34
  export * from "./ListResponseUserResource.js";
31
35
  export * from "./Membership.js";
32
36
  export * from "./MembershipChoice.js";
33
37
  export * from "./MembershipDriftResponse.js";
38
+ export * from "./MqttToken.js";
34
39
  export * from "./Operator.js";
40
+ export * from "./OperatorPosition.js";
35
41
  export * from "./Organization.js";
42
+ export * from "./Position.js";
36
43
  export * from "./ProblemDetail.js";
37
44
  export * from "./RealtimeTicket.js";
38
45
  export * from "./ReconcileResponse.js";
@@ -28,6 +28,7 @@ __exportStar(require("./CreateHumanOperatorRequest.js"), exports);
28
28
  __exportStar(require("./CreateOperatorRequest.js"), exports);
29
29
  __exportStar(require("./CreateTeleoperatedOperatorRequest.js"), exports);
30
30
  __exportStar(require("./Currency.js"), exports);
31
+ __exportStar(require("./HeatmapCell.js"), exports);
31
32
  __exportStar(require("./InternalUserUpdateRequest.js"), exports);
32
33
  __exportStar(require("./Invite.js"), exports);
33
34
  __exportStar(require("./Job.js"), exports);
@@ -38,17 +39,23 @@ __exportStar(require("./ListResponseAssetListItem.js"), exports);
38
39
  __exportStar(require("./ListResponseBusinessCategory.js"), exports);
39
40
  __exportStar(require("./ListResponseCountry.js"), exports);
40
41
  __exportStar(require("./ListResponseCurrency.js"), exports);
42
+ __exportStar(require("./ListResponseHeatmapCell.js"), exports);
41
43
  __exportStar(require("./ListResponseJob.js"), exports);
42
44
  __exportStar(require("./ListResponseLanguage.js"), exports);
43
45
  __exportStar(require("./ListResponseMembership.js"), exports);
46
+ __exportStar(require("./ListResponseOperatorPosition.js"), exports);
44
47
  __exportStar(require("./ListResponseOrganization.js"), exports);
48
+ __exportStar(require("./ListResponsePosition.js"), exports);
45
49
  __exportStar(require("./ListResponseTimezone.js"), exports);
46
50
  __exportStar(require("./ListResponseUserResource.js"), exports);
47
51
  __exportStar(require("./Membership.js"), exports);
48
52
  __exportStar(require("./MembershipChoice.js"), exports);
49
53
  __exportStar(require("./MembershipDriftResponse.js"), exports);
54
+ __exportStar(require("./MqttToken.js"), exports);
50
55
  __exportStar(require("./Operator.js"), exports);
56
+ __exportStar(require("./OperatorPosition.js"), exports);
51
57
  __exportStar(require("./Organization.js"), exports);
58
+ __exportStar(require("./Position.js"), exports);
52
59
  __exportStar(require("./ProblemDetail.js"), exports);
53
60
  __exportStar(require("./RealtimeTicket.js"), exports);
54
61
  __exportStar(require("./ReconcileResponse.js"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nizam-os/dashboard-sdk",
3
- "version": "6.4.0",
3
+ "version": "6.5.0",
4
4
  "description": "Nizam Dashboard API SDK for TypeScript / JavaScript.",
5
5
  "license": "MIT",
6
6
  "private": false,